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

java.lang.Object
  extended by org.drools.guvnor.client.widgets.wizards.AbstractWizard<NewAssetWizardContext>
      extended by org.drools.guvnor.client.widgets.wizards.assets.AbstractNewAssetWizard<GuidedDecisionTable52>
          extended by org.drools.guvnor.client.widgets.wizards.assets.decisiontable.NewGuidedDecisionTableWizard
All Implemented Interfaces:
Wizard

public class NewGuidedDecisionTableWizard
extends AbstractNewAssetWizard<GuidedDecisionTable52>

Wizard for creating a Guided Decision Table


Field Summary
 
Fields inherited from class org.drools.guvnor.client.widgets.wizards.AbstractWizard
clientFactory, context, eventBus, presenter
 
Constructor Summary
NewGuidedDecisionTableWizard(ClientFactory clientFactory, com.google.gwt.event.shared.EventBus eventBus, NewAssetWizardContext context, WizardActivityView.Presenter presenter)
           
 
Method Summary
 void complete()
          The Wizard has been completed
 List<WizardPage> getPages()
          Provide a list of pages
 com.google.gwt.user.client.ui.Widget getPageWidget(int pageNumber)
          Return the widget for a particular page
 int getPreferredHeight()
          The preferred height of the page
 int getPreferredWidth()
          The preferred width of the page
 String getTitle()
          Provide a title
 boolean isComplete()
          Is the page complete; i.e. has all the necessary information for the page been captured.
 
Methods inherited from class org.drools.guvnor.client.widgets.wizards.assets.AbstractNewAssetWizard
createCheckedInCallback, createCreateAssetCallback, createSetContentCallback, openEditor, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewGuidedDecisionTableWizard

public NewGuidedDecisionTableWizard(ClientFactory clientFactory,
                                    com.google.gwt.event.shared.EventBus eventBus,
                                    NewAssetWizardContext context,
                                    WizardActivityView.Presenter presenter)
Method Detail

getTitle

public String getTitle()
Description copied from interface: Wizard
Provide a title

Returns:

getPages

public List<WizardPage> getPages()
Description copied from interface: Wizard
Provide a list of pages

Returns:

getPageWidget

public com.google.gwt.user.client.ui.Widget getPageWidget(int pageNumber)
Description copied from interface: Wizard
Return the widget for a particular page

Parameters:
pageNumber - The index of of the page
Returns:

getPreferredHeight

public int getPreferredHeight()
Description copied from interface: Wizard
The preferred height of the page

Returns:

getPreferredWidth

public int getPreferredWidth()
Description copied from interface: Wizard
The preferred width of the page

Returns:

isComplete

public boolean isComplete()
Description copied from interface: Wizard
Is the page complete; i.e. has all the necessary information for the page been captured. What constitutes necessary data is up to the Wizard implementation, but a login page might consider the User ID and Password as necessary.

Returns:
True if the page is considered complete

complete

public void complete()
Description copied from interface: Wizard
The Wizard has been completed



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