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

java.lang.Object
  extended by org.drools.guvnor.client.widgets.drools.wizards.assets.decisiontable.AbstractGuidedDecisionTableWizardPage
      extended by org.drools.guvnor.client.widgets.drools.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.drools.wizards.assets.decisiontable.AbstractGuidedDecisionTableWizardPage
constants, content, context, dtable, eventBus, images, NEW_FACT_PREFIX, sce
 
Constructor Summary
ColumnExpansionPage(NewAssetWizardContext context, org.drools.ide.common.client.modeldriven.dt52.GuidedDecisionTable52 dtable, com.google.gwt.event.shared.EventBus eventBus, Validator validator)
           
 
Method Summary
 List<org.drools.ide.common.client.modeldriven.dt52.ConditionCol52> getColumnsToExpand()
           
 String getTitle()
           
 void initialise()
           
 boolean isComplete()
           
 void onConditionsDefined(ConditionsDefinedEvent event)
           
 void prepareView()
           
 void setColumnsToExpand(List<org.drools.ide.common.client.modeldriven.dt52.ConditionCol52> columns)
           
 
Methods inherited from class org.drools.guvnor.client.widgets.drools.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,
                           org.drools.ide.common.client.modeldriven.dt52.GuidedDecisionTable52 dtable,
                           com.google.gwt.event.shared.EventBus eventBus,
                           Validator validator)
Method Detail

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

onConditionsDefined

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

setColumnsToExpand

public void setColumnsToExpand(List<org.drools.ide.common.client.modeldriven.dt52.ConditionCol52> columns)
Specified by:
setColumnsToExpand in interface ColumnExpansionPageView.Presenter

getColumnsToExpand

public List<org.drools.ide.common.client.modeldriven.dt52.ConditionCol52> getColumnsToExpand()


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