org.openbp.cockpit.generator.process
Class ProcessCustomizer

java.lang.Object
  extended by org.openbp.cockpit.generator.GeneratorCustomizer
      extended by org.openbp.cockpit.generator.process.ProcessCustomizer

public class ProcessCustomizer
extends GeneratorCustomizer

Customizer class for process item generation.

Author:
Heiko Erhardt

Field Summary
static java.lang.String PROCESS_TYPE
          Generator property: Process type of the process
static java.lang.String SKIN_NAME
          Generator property: Skin name of the process
 
Constructor Summary
ProcessCustomizer()
          Default constructor.
 
Method Summary
 java.lang.Class getSettingsClass()
          Returns the class of the generator settings used by this generator.
 boolean hasResultPage(GeneratorContext context)
          Determines if the generator should display a result page.
 void processWizardEvent(GeneratorContext context, WizardEvent event)
          Processes a wizard event caused by a wizard page.
 void updateItemName(GeneratorContext context)
          Updates the name of the visual item.
 void updateItemStructure(GeneratorContext context)
          Updates the visual item before saving.
 
Methods inherited from class org.openbp.cockpit.generator.GeneratorCustomizer
afterPageSequenceUpdate, beforePageSequenceUpdate, checkRequirements, createSettings, determineUniqueSuffix, evaluateFormat, getDependentSettingsClasses, getGenerator, getTemplateName, loadSettings, performProcess, postProcess, preProcess, saveSettings, setGenerator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROCESS_TYPE

public static final java.lang.String PROCESS_TYPE
Generator property: Process type of the process

See Also:
Constant Field Values

SKIN_NAME

public static final java.lang.String SKIN_NAME
Generator property: Skin name of the process

See Also:
Constant Field Values
Constructor Detail

ProcessCustomizer

public ProcessCustomizer()
Default constructor.

Method Detail

getSettingsClass

public java.lang.Class getSettingsClass()
Returns the class of the generator settings used by this generator.

Overrides:
getSettingsClass in class GeneratorCustomizer
Returns:
The class or null if the generator does not require a settings object

hasResultPage

public boolean hasResultPage(GeneratorContext context)
Determines if the generator should display a result page.

Overrides:
hasResultPage in class GeneratorCustomizer
Parameters:
context - Generator context
Returns:
false by default

processWizardEvent

public void processWizardEvent(GeneratorContext context,
                               WizardEvent event)
Processes a wizard event caused by a wizard page.

Overrides:
processWizardEvent in class GeneratorCustomizer
Parameters:
context - Generator context
event - Event to handle

updateItemName

public void updateItemName(GeneratorContext context)
Updates the name of the visual item.

Parameters:
context - Generator context

updateItemStructure

public void updateItemStructure(GeneratorContext context)
Updates the visual item before saving.

Parameters:
context - Generator context


Copyright © 2011. All Rights Reserved.