org.drools.guvnor.client.widgets.drools.wizards.assets.decisiontable
Class ActionInsertFactFieldsPage
java.lang.Object
org.drools.guvnor.client.widgets.drools.wizards.assets.decisiontable.AbstractGuidedDecisionTableWizardPage
org.drools.guvnor.client.widgets.drools.wizards.assets.decisiontable.ActionInsertFactFieldsPage
- All Implemented Interfaces:
- com.google.gwt.event.shared.EventHandler, com.google.gwt.user.client.ui.IsWidget, ActionInsertFactFieldsPageView.Presenter, ActionInsertFactFieldsDefinedEvent.Handler, DuplicatePatternsEvent.Handler, WizardPage
public class ActionInsertFactFieldsPage
- extends AbstractGuidedDecisionTableWizardPage
- implements ActionInsertFactFieldsPageView.Presenter, DuplicatePatternsEvent.Handler, ActionInsertFactFieldsDefinedEvent.Handler
A page for the guided Decision Table Wizard to define new Facts and fields.
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 |
ActionInsertFactFieldsPage
public ActionInsertFactFieldsPage(NewAssetWizardContext context,
org.drools.ide.common.client.modeldriven.dt52.GuidedDecisionTable52 dtable,
com.google.gwt.event.shared.EventBus eventBus,
Validator validator)
getTitle
public String getTitle()
- Specified by:
getTitle in interface WizardPage
initialise
public void initialise()
- Specified by:
initialise in interface WizardPage
prepareView
public void prepareView()
- Specified by:
prepareView in interface WizardPage
isComplete
public boolean isComplete()
- Specified by:
isComplete in interface WizardPage
onDuplicatePatterns
public void onDuplicatePatterns(DuplicatePatternsEvent event)
- Specified by:
onDuplicatePatterns in interface DuplicatePatternsEvent.Handler
onActionInsertFactFieldsDefined
public void onActionInsertFactFieldsDefined(ActionInsertFactFieldsDefinedEvent event)
- Specified by:
onActionInsertFactFieldsDefined in interface ActionInsertFactFieldsDefinedEvent.Handler
addPattern
public void addPattern(ActionInsertFactFieldsPattern pattern)
- Specified by:
addPattern in interface ActionInsertFactFieldsPageView.Presenter
removePattern
public void removePattern(ActionInsertFactFieldsPattern pattern)
- Specified by:
removePattern in interface ActionInsertFactFieldsPageView.Presenter
selectPattern
public void selectPattern(ActionInsertFactFieldsPattern pattern)
- Specified by:
selectPattern in interface ActionInsertFactFieldsPageView.Presenter
makeResult
public void makeResult(org.drools.ide.common.client.modeldriven.dt52.GuidedDecisionTable52 dtable)
- 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.ide.common.client.modeldriven.dt52.GuidedDecisionTable52.TableFormat getTableFormat()
- Specified by:
getTableFormat in interface ActionInsertFactFieldsPageView.Presenter
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.