Interface DecisionTableColumnPlugin
-
- All Known Subinterfaces:
HasDefaultValuesPage
- All Known Implementing Classes:
ActionRetractFactPlugin,ActionSetFactPlugin,ActionWorkItemPlugin,ActionWorkItemSetFieldPlugin,AttributeColumnPlugin,BaseDecisionTableColumnPlugin,BRLActionColumnPlugin,BRLConditionColumnPlugin,ConditionColumnPlugin,MetaDataColumnPlugin
public interface DecisionTableColumnPluginPlugin API for the column wizard (Guided Decision Table Editor). All plugins made through this interface will appear automatically in the column wizard.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDecisionTableColumnPlugin.TypePlugin type for the column wizard.
-
Field Summary
Fields Modifier and Type Field Description static DecisionTableColumnPluginDEFAULTEmpty default plugin.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleangenerateColumn()Creates the column when the Wizard completes.StringgetIdentifier()Retrieves the plugin unique identifier.org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52getOriginalColumnConfig52()Retrieves the original pattern without any update.org.drools.workbench.models.guided.dtable.shared.model.Pattern52getOriginalPattern52()Retrieves the original column without any update.List<org.uberfire.ext.widgets.core.client.wizards.WizardPage>getPages()Retrieves the list of subsequent pages required for the "Type" selected in the first page of the Wizard.StringgetTitle()Retrieves the text that will be shown to Users in the "Type Selection List" on the first page of the Wizard.DecisionTableColumnPlugin.TypegetType()Retrieves the plugin type.voidinit(NewGuidedDecisionTableColumnWizard wizard)Sets the plugin up with the wizard instance.BooleanisNewColumn()Represents the current plugin operation.voidsetOriginalColumnConfig52(org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52 originalColumnConfig52)Sets the original pattern (required when the plugin is updating a column).voidsetOriginalPattern52(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 originalPattern52)Sets the original column (required when the plugin is updating a column).
-
-
-
Field Detail
-
DEFAULT
static final DecisionTableColumnPlugin DEFAULT
Empty default plugin.
-
-
Method Detail
-
init
void init(NewGuidedDecisionTableColumnWizard wizard)
Sets the plugin up with the wizard instance.- Parameters:
wizard- Has the presenter which represents the active decision table. Must not be null.
-
getTitle
String getTitle()
Retrieves the text that will be shown to Users in the "Type Selection List" on the first page of the Wizard.
-
getPages
List<org.uberfire.ext.widgets.core.client.wizards.WizardPage> getPages()
Retrieves the list of subsequent pages required for the "Type" selected in the first page of the Wizard.
-
generateColumn
Boolean generateColumn()
Creates the column when the Wizard completes.- Returns:
- 'true' when the Wizard was successful, otherwise 'false'.
-
getIdentifier
String getIdentifier()
Retrieves the plugin unique identifier.- Returns:
- A String representing the identifier (usually something as 'class.getSimpleName()').
-
getType
DecisionTableColumnPlugin.Type getType()
Retrieves the plugin type.- Returns:
- A enum representing the Type.
-
isNewColumn
Boolean isNewColumn()
Represents the current plugin operation.- Returns:
- `true` when the plugin is creating a new column, and `false` when the plugin is updating an existing column.
-
getOriginalPattern52
org.drools.workbench.models.guided.dtable.shared.model.Pattern52 getOriginalPattern52()
Retrieves the original column without any update.
-
setOriginalPattern52
void setOriginalPattern52(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 originalPattern52)
Sets the original column (required when the plugin is updating a column).
-
getOriginalColumnConfig52
org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52 getOriginalColumnConfig52()
Retrieves the original pattern without any update.
-
setOriginalColumnConfig52
void setOriginalColumnConfig52(org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52 originalColumnConfig52)
Sets the original pattern (required when the plugin is updating a column).
-
-