org.drools.guvnor.client.widgets.wizards
Interface WizardActivityView

All Superinterfaces:
com.google.gwt.user.client.ui.IsWidget
All Known Implementing Classes:
WizardActivityViewImpl

public interface WizardActivityView
extends com.google.gwt.user.client.ui.IsWidget

View and Presenter definitions for the generic Wizard


Nested Class Summary
static interface WizardActivityView.Presenter
           
 
Method Summary
 void hide()
          Hide the Wizard
 void hideSavingIndicator()
          Hide the indicator that a save operation is in ro
 void selectPage(int page)
          Select a page
 void setBodyWidget(com.google.gwt.user.client.ui.Widget w)
          Set the Widget to display in the body panel of the generic Wizard
 void setCompletionStatus(boolean isComplete)
          The state (completed, not completed) of the whole Wizard has changed
 void setPageCompletionState(int pageIndex, boolean isComplete)
          The state (completed, not completed) of a page has changed.
 void setPageTitles(List<WizardPage> pages)
          The individual page titles
 void setPreferredHeight(int height)
          Set the body panel preferred height
 void setPreferredWidth(int width)
          Set the body panel preferred width
 void setPresenter(WizardActivityView.Presenter presenter)
          Set the Presenter for the View to callback to
 void setTitle(String title)
          The title for the Wizard
 void show()
          Show the Wizard
 void showCheckinError(String message)
          Show a message that a specified error occurred during the save
 void showDuplicateAssetNameError()
          Show a message that the asset is a duplicate and cannot be saved
 void showSavingIndicator()
          Show an indicator that a save operation is in progress
 void showUnspecifiedCheckinError()
          Show a message that an unspecified error occurred during the save
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 

Method Detail

setPresenter

void setPresenter(WizardActivityView.Presenter presenter)
Set the Presenter for the View to callback to

Parameters:
presenter -

show

void show()
Show the Wizard


setTitle

void setTitle(String title)
The title for the Wizard

Parameters:
title -

setPageTitles

void setPageTitles(List<WizardPage> pages)
The individual page titles

Parameters:
pages -

selectPage

void selectPage(int page)
Select a page

Parameters:
page -

setBodyWidget

void setBodyWidget(com.google.gwt.user.client.ui.Widget w)
Set the Widget to display in the body panel of the generic Wizard

Parameters:
w -

setPreferredHeight

void setPreferredHeight(int height)
Set the body panel preferred height

Parameters:
height -

setPreferredWidth

void setPreferredWidth(int width)
Set the body panel preferred width

Parameters:
width -

setPageCompletionState

void setPageCompletionState(int pageIndex,
                            boolean isComplete)
The state (completed, not completed) of a page has changed.

Parameters:
pageIndex -
isComplete -

setCompletionStatus

void setCompletionStatus(boolean isComplete)
The state (completed, not completed) of the whole Wizard has changed

Parameters:
isComplete -

showSavingIndicator

void showSavingIndicator()
Show an indicator that a save operation is in progress


hideSavingIndicator

void hideSavingIndicator()
Hide the indicator that a save operation is in ro


showDuplicateAssetNameError

void showDuplicateAssetNameError()
Show a message that the asset is a duplicate and cannot be saved


showUnspecifiedCheckinError

void showUnspecifiedCheckinError()
Show a message that an unspecified error occurred during the save


showCheckinError

void showCheckinError(String message)
Show a message that a specified error occurred during the save


hide

void hide()
Hide the Wizard



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