|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.cockpit.generator.GeneratorCustomizer
org.openbp.cockpit.generator.type.TypeCustomizer
public class TypeCustomizer
Customizer class for visual item generation.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_MEMBER_TYPE
Default member data type |
static java.lang.String |
MEMBER_PAGE
Data member page |
| Constructor Summary | |
|---|---|
TypeCustomizer()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
afterPageSequenceUpdate(GeneratorContext context,
GeneratorWizard wizard)
Template method that is called after the page sequence has been updated. |
static void |
clearPropertyBrowser(JaspiraWizardObjectPage page)
Clears the property browser. |
protected javax.swing.JButton |
createAddButton(GeneratorContext context,
JaspiraWizardObjectPage page)
Creates the 'Add member' button. |
static javax.swing.JButton |
createButton(ResourceCollection res,
java.lang.String resourceId)
Creates a button, retrieving the button text from the resource file. |
static javax.swing.JPanel |
createButtonPanel()
Creates the button panel. |
protected javax.swing.JButton |
createRemoveButton(GeneratorContext context,
JaspiraWizardObjectPage page)
Creates the 'Remove member' button. |
java.lang.Class |
getSettingsClass()
Returns the class of the generator settings used by this generator. |
java.lang.String |
getTemplateName(GeneratorContext context)
Gets template name. |
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. |
| Methods inherited from class org.openbp.cockpit.generator.GeneratorCustomizer |
|---|
beforePageSequenceUpdate, checkRequirements, createSettings, determineUniqueSuffix, evaluateFormat, getDependentSettingsClasses, getGenerator, 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 |
|---|
public static final java.lang.String MEMBER_PAGE
public static final java.lang.String DEFAULT_MEMBER_TYPE
| Constructor Detail |
|---|
public TypeCustomizer()
| Method Detail |
|---|
public java.lang.Class getSettingsClass()
getSettingsClass in class GeneratorCustomizer
public void afterPageSequenceUpdate(GeneratorContext context,
GeneratorWizard wizard)
afterPageSequenceUpdate in class GeneratorCustomizercontext - Contextwizard - Generator wizardpublic java.lang.String getTemplateName(GeneratorContext context)
getTemplateName in class GeneratorCustomizercontext - Generator context
public boolean hasResultPage(GeneratorContext context)
hasResultPage in class GeneratorCustomizercontext - Generator context
public void processWizardEvent(GeneratorContext context,
WizardEvent event)
processWizardEvent in class GeneratorCustomizercontext - Generator contextevent - Event to handlepublic static void clearPropertyBrowser(JaspiraWizardObjectPage page)
page - Page that contains the property browser
protected javax.swing.JButton createAddButton(GeneratorContext context,
JaspiraWizardObjectPage page)
page - Wizard page to add the button to
protected javax.swing.JButton createRemoveButton(GeneratorContext context,
JaspiraWizardObjectPage page)
page - Wizard page to add the button to
public static javax.swing.JButton createButton(ResourceCollection res,
java.lang.String resourceId)
res - ResourceresourceId - Id of the button text resource
public static javax.swing.JPanel createButtonPanel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||