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

java.lang.Object
  extended by org.drools.guvnor.client.widgets.wizards.assets.decisiontable.AbstractGuidedDecisionTableWizardPage
      extended by org.drools.guvnor.client.widgets.wizards.assets.decisiontable.ColumnExpansionPage
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.google.gwt.user.client.ui.IsWidget, ColumnExpansionPageView.Presenter, ConditionsDefinedEvent.Handler, WizardPage

public class ColumnExpansionPage
extends AbstractGuidedDecisionTableWizardPage
implements ColumnExpansionPageView.Presenter, ConditionsDefinedEvent.Handler

A page for the guided Decision Table Wizard to define which columns will be expanded when the Decision Table is generated


Field Summary
 
Fields inherited from class org.drools.guvnor.client.widgets.wizards.assets.decisiontable.AbstractGuidedDecisionTableWizardPage
constants, content, context, dtable, eventBus, images, sce
 
Constructor Summary
ColumnExpansionPage(NewAssetWizardContext context, GuidedDecisionTable52 dtable, com.google.gwt.event.shared.EventBus eventBus, Validator validator)
           
 
Method Summary
 List<ConditionCol52> getColumnsToExpand()
           
 String getTitle()
          Page title
 void initialise()
          Initialise the page with things that don't change between page visits
 boolean isComplete()
          Is the page completed
 void onConditionsDefined(ConditionsDefinedEvent event)
           
 void prepareView()
          Prepare the page before it is displayed with things that can change between page visits
 void setColumnsToExpand(List<ConditionCol52> columns)
           
 
Methods inherited from class org.drools.guvnor.client.widgets.wizards.assets.decisiontable.AbstractGuidedDecisionTableWizardPage
asWidget, getValidator, makeResult, setSuggestionCompletionEngine, stateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnExpansionPage

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

getTitle

public String getTitle()
Description copied from interface: WizardPage
Page title

Specified by:
getTitle in interface WizardPage
Returns:

initialise

public void initialise()
Description copied from interface: WizardPage
Initialise the page with things that don't change between page visits

Specified by:
initialise in interface WizardPage

prepareView

public void prepareView()
Description copied from interface: WizardPage
Prepare the page before it is displayed with things that can change between page visits

Specified by:
prepareView in interface WizardPage

isComplete

public boolean isComplete()
Description copied from interface: WizardPage
Is the page completed

Specified by:
isComplete in interface WizardPage
Returns:

onConditionsDefined

public void onConditionsDefined(ConditionsDefinedEvent event)
Specified by:
onConditionsDefined in interface ConditionsDefinedEvent.Handler

setColumnsToExpand

public void setColumnsToExpand(List<ConditionCol52> columns)
Specified by:
setColumnsToExpand in interface ColumnExpansionPageView.Presenter

getColumnsToExpand

public List<ConditionCol52> getColumnsToExpand()


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