org.drools.guvnor.client.widgets.wizards.assets.decisiontable
Class AbstractGuidedDecisionTableWizardPage

java.lang.Object
  extended by org.drools.guvnor.client.widgets.wizards.assets.decisiontable.AbstractGuidedDecisionTableWizardPage
All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget, WizardPage
Direct Known Subclasses:
ActionInsertFactFieldsPage, ActionSetFieldsPage, ColumnExpansionPage, FactPatternConstraintsPage, FactPatternsPage, SummaryPage

public abstract class AbstractGuidedDecisionTableWizardPage
extends Object
implements WizardPage

Base page for the guided Decision Table Wizard


Field Summary
protected static Constants constants
           
protected  com.google.gwt.user.client.ui.SimplePanel content
           
protected  NewAssetWizardContext context
           
protected  GuidedDecisionTable52 dtable
           
protected  com.google.gwt.event.shared.EventBus eventBus
           
protected static Images images
           
protected  SuggestionCompletionEngine sce
           
 
Constructor Summary
AbstractGuidedDecisionTableWizardPage(NewAssetWizardContext context, GuidedDecisionTable52 dtable, com.google.gwt.event.shared.EventBus eventBus, Validator validator)
           
 
Method Summary
 com.google.gwt.user.client.ui.Widget asWidget()
           
 Validator getValidator()
           
 void makeResult(GuidedDecisionTable52 dtable)
          When the Widget is finished a GuidedDecisionTable52 instance is passed to each page for enrichment.
 void setSuggestionCompletionEngine(SuggestionCompletionEngine sce)
           
 void stateChanged()
          Broadcast a change in state on a page
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.guvnor.client.widgets.wizards.WizardPage
getTitle, initialise, isComplete, prepareView
 

Field Detail

constants

protected static Constants constants

images

protected static Images images

content

protected com.google.gwt.user.client.ui.SimplePanel content

dtable

protected GuidedDecisionTable52 dtable

eventBus

protected com.google.gwt.event.shared.EventBus eventBus

context

protected NewAssetWizardContext context

sce

protected SuggestionCompletionEngine sce
Constructor Detail

AbstractGuidedDecisionTableWizardPage

public AbstractGuidedDecisionTableWizardPage(NewAssetWizardContext context,
                                             GuidedDecisionTable52 dtable,
                                             com.google.gwt.event.shared.EventBus eventBus,
                                             Validator validator)
Method Detail

asWidget

public com.google.gwt.user.client.ui.Widget asWidget()
Specified by:
asWidget in interface com.google.gwt.user.client.ui.IsWidget

setSuggestionCompletionEngine

public void setSuggestionCompletionEngine(SuggestionCompletionEngine sce)

getValidator

public Validator getValidator()

stateChanged

public void stateChanged()
Broadcast a change in state on a page


makeResult

public void makeResult(GuidedDecisionTable52 dtable)
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.

Parameters:
dtable -


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.