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

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

public class FactPatternsPage
extends AbstractGuidedDecisionTableWizardPage
implements FactPatternsPageView.Presenter, DuplicatePatternsEvent.Handler, FactPatternsDefinedEvent.Handler

A page for the guided Decision Table Wizard to define Fact Patterns


Field Summary
 
Fields inherited from class org.drools.guvnor.client.widgets.wizards.assets.decisiontable.AbstractGuidedDecisionTableWizardPage
constants, content, context, dtable, eventBus, images, sce
 
Constructor Summary
FactPatternsPage(NewAssetWizardContext context, GuidedDecisionTable52 dtable, com.google.gwt.event.shared.EventBus eventBus, Validator validator)
           
 
Method Summary
 String getTitle()
          Page title
 void initialise()
          Initialise the page with things that don't change between page visits
 boolean isComplete()
          Is the page completed
 boolean isPatternEvent(Pattern52 pattern)
           
 void onDuplicatePatterns(DuplicatePatternsEvent event)
           
 void onFactPatternsDefined(FactPatternsDefinedEvent event)
           
 void prepareView()
          Prepare the page before it is displayed with things that can change between page visits
 void signalRemovalOfPattern(Pattern52 pattern)
           
 
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
 
Methods inherited from interface org.drools.guvnor.client.widgets.wizards.assets.decisiontable.FactPatternsPageView.Presenter
stateChanged
 

Constructor Detail

FactPatternsPage

public FactPatternsPage(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:

onDuplicatePatterns

public void onDuplicatePatterns(DuplicatePatternsEvent event)
Specified by:
onDuplicatePatterns in interface DuplicatePatternsEvent.Handler

onFactPatternsDefined

public void onFactPatternsDefined(FactPatternsDefinedEvent event)
Specified by:
onFactPatternsDefined in interface FactPatternsDefinedEvent.Handler

isPatternEvent

public boolean isPatternEvent(Pattern52 pattern)
Specified by:
isPatternEvent in interface FactPatternsPageView.Presenter

signalRemovalOfPattern

public void signalRemovalOfPattern(Pattern52 pattern)
Specified by:
signalRemovalOfPattern in interface FactPatternsPageView.Presenter


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