Class ActionRetractFactPlugin
- java.lang.Object
-
- org.drools.workbench.screens.guided.dtable.client.wizard.column.plugins.commons.BaseDecisionTableColumnPlugin
-
- org.drools.workbench.screens.guided.dtable.client.wizard.column.plugins.ActionRetractFactPlugin
-
- All Implemented Interfaces:
HasAdditionalInfoPage,DecisionTableColumnPlugin
@Dependent public class ActionRetractFactPlugin extends BaseDecisionTableColumnPlugin implements HasAdditionalInfoPage
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.workbench.screens.guided.dtable.client.wizard.column.plugins.commons.DecisionTableColumnPlugin
DecisionTableColumnPlugin.Type
-
-
Field Summary
-
Fields inherited from class org.drools.workbench.screens.guided.dtable.client.wizard.column.plugins.commons.BaseDecisionTableColumnPlugin
presenter, wizard
-
Fields inherited from interface org.drools.workbench.screens.guided.dtable.client.wizard.column.plugins.commons.DecisionTableColumnPlugin
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description ActionRetractFactPlugin(PatternToDeletePage patternToDeletePage, AdditionalInfoPage additionalInfoPage, javax.enterprise.event.Event<org.uberfire.ext.widgets.core.client.wizards.WizardPageStatusChangeEvent> changeEvent, org.jboss.errai.ui.client.local.spi.TranslationService translationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.drools.workbench.models.guided.dtable.shared.model.ActionRetractFactCol52editingCol()BooleangenerateColumn()Creates the column when the Wizard completes.Set<String>getAlreadyUsedColumnHeaders()StringgetEditingColStringValue()StringgetHeader()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.booleanisHideColumn()booleanisLogicallyInsert()BooleanisPatternToDeletePageCompleted()booleanisUpdateEngine()voidsetEditingColStringValue(String pattern)voidsetHeader(String header)voidsetHideColumn(boolean hideColumn)voidsetInsertLogical(Boolean value)voidsetPatternToDeletePageAsCompleted()voidsetUpdate(Boolean value)booleanshowLogicallyInsert()booleanshowUpdateEngineWithChanges()-
Methods inherited from class org.drools.workbench.screens.guided.dtable.client.wizard.column.plugins.commons.BaseDecisionTableColumnPlugin
fireChangeEvent, getIdentifier, getOriginalColumnConfig52, getOriginalPattern52, getPresenter, isNewColumn, onClose, setOriginalColumnConfig52, setOriginalPattern52, translate
-
-
-
-
Constructor Detail
-
ActionRetractFactPlugin
@Inject public ActionRetractFactPlugin(PatternToDeletePage patternToDeletePage, AdditionalInfoPage additionalInfoPage, javax.enterprise.event.Event<org.uberfire.ext.widgets.core.client.wizards.WizardPageStatusChangeEvent> changeEvent, org.jboss.errai.ui.client.local.spi.TranslationService translationService)
-
-
Method Detail
-
init
public void init(NewGuidedDecisionTableColumnWizard wizard)
Description copied from interface:DecisionTableColumnPluginSets the plugin up with the wizard instance.- Specified by:
initin interfaceDecisionTableColumnPlugin- Overrides:
initin classBaseDecisionTableColumnPlugin- Parameters:
wizard- Has the presenter which represents the active decision table. Must not be null.
-
getTitle
public String getTitle()
Description copied from interface:DecisionTableColumnPluginRetrieves the text that will be shown to Users in the "Type Selection List" on the first page of the Wizard.- Specified by:
getTitlein interfaceDecisionTableColumnPlugin
-
getPages
public List<org.uberfire.ext.widgets.core.client.wizards.WizardPage> getPages()
Description copied from interface:DecisionTableColumnPluginRetrieves the list of subsequent pages required for the "Type" selected in the first page of the Wizard.- Specified by:
getPagesin interfaceDecisionTableColumnPlugin
-
generateColumn
public Boolean generateColumn()
Description copied from interface:DecisionTableColumnPluginCreates the column when the Wizard completes.- Specified by:
generateColumnin interfaceDecisionTableColumnPlugin- Returns:
- 'true' when the Wizard was successful, otherwise 'false'.
-
editingCol
public org.drools.workbench.models.guided.dtable.shared.model.ActionRetractFactCol52 editingCol()
- Specified by:
editingColin interfaceHasAdditionalInfoPage
-
getHeader
public String getHeader()
- Specified by:
getHeaderin interfaceHasAdditionalInfoPage
-
setHeader
public void setHeader(String header)
- Specified by:
setHeaderin interfaceHasAdditionalInfoPage
-
getAlreadyUsedColumnHeaders
public Set<String> getAlreadyUsedColumnHeaders()
- Specified by:
getAlreadyUsedColumnHeadersin interfaceHasAdditionalInfoPage
-
isHideColumn
public boolean isHideColumn()
- Specified by:
isHideColumnin interfaceHasAdditionalInfoPage
-
setHideColumn
public void setHideColumn(boolean hideColumn)
- Specified by:
setHideColumnin interfaceHasAdditionalInfoPage
-
setInsertLogical
public void setInsertLogical(Boolean value)
- Specified by:
setInsertLogicalin interfaceHasAdditionalInfoPage
-
setUpdate
public void setUpdate(Boolean value)
- Specified by:
setUpdatein interfaceHasAdditionalInfoPage
-
showUpdateEngineWithChanges
public boolean showUpdateEngineWithChanges()
- Specified by:
showUpdateEngineWithChangesin interfaceHasAdditionalInfoPage
-
showLogicallyInsert
public boolean showLogicallyInsert()
- Specified by:
showLogicallyInsertin interfaceHasAdditionalInfoPage
-
isLogicallyInsert
public boolean isLogicallyInsert()
- Specified by:
isLogicallyInsertin interfaceHasAdditionalInfoPage
-
isUpdateEngine
public boolean isUpdateEngine()
- Specified by:
isUpdateEnginein interfaceHasAdditionalInfoPage
-
getEditingColStringValue
public String getEditingColStringValue()
-
setEditingColStringValue
public void setEditingColStringValue(String pattern)
-
setPatternToDeletePageAsCompleted
public void setPatternToDeletePageAsCompleted()
-
isPatternToDeletePageCompleted
public Boolean isPatternToDeletePageCompleted()
-
getType
public DecisionTableColumnPlugin.Type getType()
Description copied from interface:DecisionTableColumnPluginRetrieves the plugin type.- Specified by:
getTypein interfaceDecisionTableColumnPlugin- Returns:
- A enum representing the Type.
-
-