@Dependent public class ActionWorkItemPlugin extends BaseDecisionTableColumnPlugin implements HasWorkItemPage, HasAdditionalInfoPage
DecisionTableColumnPlugin.Type
presenter, wizard
DEFAULT
Constructor and Description |
---|
ActionWorkItemPlugin(AdditionalInfoPage<ActionWorkItemPlugin> additionalInfoPage,
WorkItemPage workItemPage,
javax.enterprise.event.Event<org.uberfire.ext.widgets.core.client.wizards.WizardPageStatusChangeEvent> changeEvent,
org.jboss.errai.ui.client.local.spi.TranslationService translationService) |
Modifier and Type | Method and Description |
---|---|
org.drools.workbench.models.guided.dtable.shared.model.ActionWorkItemCol52 |
editingCol() |
void |
forEachWorkItem(BiConsumer<String,String> biConsumer) |
Boolean |
generateColumn()
Creates the column when the Wizard completes.
|
String |
getHeader() |
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 the Wizard.
|
String |
getTitle()
Retrieves the text that will be shown to Users in the "Type Selection List" on the first page of the Wizard.
|
DecisionTableColumnPlugin.Type |
getType()
Retrieves the plugin type.
|
String |
getWorkItem() |
org.drools.workbench.models.datamodel.workitems.PortableWorkDefinition |
getWorkItemDefinition() |
void |
init(NewGuidedDecisionTableColumnWizard wizard)
Sets the plugin up with the wizard instance.
|
Boolean |
isWorkItemSet() |
void |
setHeader(String header) |
void |
setInsertLogical(Boolean value) |
void |
setUpdate(Boolean value) |
void |
setWorkItem(String workItem) |
void |
setWorkItemPageAsCompleted() |
boolean |
showLogicallyInsert() |
boolean |
showUpdateEngineWithChanges() |
fireChangeEvent, getIdentifier, getPresenter, onClose, translate
@Inject public ActionWorkItemPlugin(AdditionalInfoPage<ActionWorkItemPlugin> additionalInfoPage, WorkItemPage workItemPage, javax.enterprise.event.Event<org.uberfire.ext.widgets.core.client.wizards.WizardPageStatusChangeEvent> changeEvent, org.jboss.errai.ui.client.local.spi.TranslationService translationService)
public String getTitle()
DecisionTableColumnPlugin
getTitle
in interface DecisionTableColumnPlugin
public List<org.uberfire.ext.widgets.core.client.wizards.WizardPage> getPages()
DecisionTableColumnPlugin
getPages
in interface DecisionTableColumnPlugin
public void init(NewGuidedDecisionTableColumnWizard wizard)
DecisionTableColumnPlugin
init
in interface DecisionTableColumnPlugin
init
in class BaseDecisionTableColumnPlugin
wizard
- Has the presenter which represents the active decision table. Must not be null.public String getWorkItem()
getWorkItem
in interface HasWorkItemPage
public void setWorkItem(String workItem)
setWorkItem
in interface HasWorkItemPage
public org.drools.workbench.models.guided.dtable.shared.model.ActionWorkItemCol52 editingCol()
editingCol
in interface HasAdditionalInfoPage
editingCol
in interface HasWorkItemPage
public String getHeader()
getHeader
in interface HasAdditionalInfoPage
public void setHeader(String header)
setHeader
in interface HasAdditionalInfoPage
public Boolean isWorkItemSet()
isWorkItemSet
in interface HasWorkItemPage
public org.drools.workbench.models.datamodel.workitems.PortableWorkDefinition getWorkItemDefinition()
getWorkItemDefinition
in interface HasWorkItemPage
public void forEachWorkItem(BiConsumer<String,String> biConsumer)
forEachWorkItem
in interface HasWorkItemPage
public void setWorkItemPageAsCompleted()
setWorkItemPageAsCompleted
in interface HasWorkItemPage
public void setInsertLogical(Boolean value)
setInsertLogical
in interface HasAdditionalInfoPage
public void setUpdate(Boolean value)
setUpdate
in interface HasAdditionalInfoPage
public boolean showUpdateEngineWithChanges()
showUpdateEngineWithChanges
in interface HasAdditionalInfoPage
public boolean showLogicallyInsert()
showLogicallyInsert
in interface HasAdditionalInfoPage
public Boolean generateColumn()
DecisionTableColumnPlugin
generateColumn
in interface DecisionTableColumnPlugin
public DecisionTableColumnPlugin.Type getType()
DecisionTableColumnPlugin
getType
in interface DecisionTableColumnPlugin
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.