org.drools.workbench.screens.guided.dtable.client.wizard.pages
Class ActionSetFieldsPage
java.lang.Object
org.drools.workbench.screens.guided.dtable.client.wizard.pages.AbstractGuidedDecisionTableWizardPage
org.drools.workbench.screens.guided.dtable.client.wizard.pages.ActionSetFieldsPage
- All Implemented Interfaces:
- com.google.gwt.user.client.ui.IsWidget, ActionSetFieldsPageView.Presenter, org.kie.uberfire.client.wizards.WizardPage
@Dependent
public class ActionSetFieldsPage
- extends AbstractGuidedDecisionTableWizardPage
- implements ActionSetFieldsPageView.Presenter
A page for the guided Decision Table Wizard to define Actions setting fields
on previously bound patterns. This page does not use the GuidedDecisionTable
model directly; instead maintaining its own Pattern-to-Action associations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionSetFieldsPage
public ActionSetFieldsPage()
getTitle
public String getTitle()
- Specified by:
getTitle
in interface org.kie.uberfire.client.wizards.WizardPage
initialise
public void initialise()
- Specified by:
initialise
in interface org.kie.uberfire.client.wizards.WizardPage
prepareView
public void prepareView()
- Specified by:
prepareView
in interface org.kie.uberfire.client.wizards.WizardPage
isComplete
public void isComplete(org.uberfire.client.callbacks.Callback<Boolean> callback)
- Specified by:
isComplete
in interface org.kie.uberfire.client.wizards.WizardPage
onPatternRemoved
public void onPatternRemoved(@Observes
PatternRemovedEvent event)
onDuplicatePatterns
public void onDuplicatePatterns(@Observes
DuplicatePatternsEvent event)
onActionSetFieldsDefined
public void onActionSetFieldsDefined(@Observes
ActionSetFieldsDefinedEvent event)
selectPattern
public void selectPattern(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 pattern)
- Specified by:
selectPattern
in interface ActionSetFieldsPageView.Presenter
makeResult
public void makeResult(org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model)
- Description copied from class:
AbstractGuidedDecisionTableWizardPage
- When the Widget is finished a GuidedDecisionTable52 instance is passed to
each page for enrichment. Some pages are able to work on this instance
directly (i.e. the model is suitable for direct use in the page, such as
FactPatternsPage) however others maintain their own representation of the
model that must be copied into the GuidedDecisionTable52.
- Overrides:
makeResult
in class AbstractGuidedDecisionTableWizardPage
getTableFormat
public org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52.TableFormat getTableFormat()
- Specified by:
getTableFormat
in interface ActionSetFieldsPageView.Presenter
hasEnums
public boolean hasEnums(org.drools.workbench.models.guided.dtable.shared.model.ActionSetFieldCol52 selectedAction)
- Specified by:
hasEnums
in interface ActionSetFieldsPageView.Presenter
assertDefaultValue
public void assertDefaultValue(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 selectedPattern,
org.drools.workbench.models.guided.dtable.shared.model.ActionSetFieldCol52 selectedAction)
- Specified by:
assertDefaultValue
in interface ActionSetFieldsPageView.Presenter
stateChanged
public void stateChanged()
- Specified by:
stateChanged
in interface ActionSetFieldsPageView.Presenter
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.