|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.PopupPanel
org.drools.guvnor.client.common.Popup
org.drools.guvnor.client.widgets.wizards.WizardActivityViewImpl
public class WizardActivityViewImpl
The generic Wizard view implementation
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel |
---|
com.google.gwt.user.client.ui.PopupPanel.PositionCallback |
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Nested classes/interfaces inherited from interface org.drools.guvnor.client.widgets.wizards.WizardActivityView |
---|
WizardActivityView.Presenter |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
Field Summary | |
---|---|
protected com.google.gwt.user.client.ui.SimplePanel |
body
|
protected com.google.gwt.user.client.ui.Button |
btnFinish
|
protected com.google.gwt.user.client.ui.Button |
btnNext
|
protected com.google.gwt.user.client.ui.Button |
btnPrevious
|
protected com.google.gwt.user.client.ui.VerticalPanel |
sideBar
|
protected com.google.gwt.user.client.ui.SimplePanel |
sideBarContainer
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
WizardActivityViewImpl(com.google.gwt.event.shared.EventBus eventBus)
|
Method Summary | |
---|---|
void |
btnCancelClick(com.google.gwt.event.dom.client.ClickEvent event)
|
void |
btnFinishClick(com.google.gwt.event.dom.client.ClickEvent event)
|
void |
btnNextClick(com.google.gwt.event.dom.client.ClickEvent event)
|
void |
btnPreviousClick(com.google.gwt.event.dom.client.ClickEvent event)
|
com.google.gwt.user.client.ui.Widget |
getContent()
|
void |
hideSavingIndicator()
Hide the indicator that a save operation is in ro |
void |
selectPage(int pageNumber)
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 |
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 class org.drools.guvnor.client.common.Popup |
---|
setAfterCloseEvent, setAfterShow, setPopupPosition, show |
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel |
---|
addAutoHidePartner, addCloseHandler, addPopupListener, center, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidget, setWidth, showRelativeTo |
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
---|
add, getWidget, iterator, remove, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
---|
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.drools.guvnor.client.widgets.wizards.WizardActivityView |
---|
hide, setTitle, show |
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget |
---|
asWidget |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Field Detail |
---|
@UiField protected com.google.gwt.user.client.ui.VerticalPanel sideBar
@UiField protected com.google.gwt.user.client.ui.SimplePanel sideBarContainer
@UiField protected com.google.gwt.user.client.ui.SimplePanel body
@UiField protected com.google.gwt.user.client.ui.Button btnNext
@UiField protected com.google.gwt.user.client.ui.Button btnPrevious
@UiField protected com.google.gwt.user.client.ui.Button btnFinish
Constructor Detail |
---|
public WizardActivityViewImpl(com.google.gwt.event.shared.EventBus eventBus)
Method Detail |
---|
public com.google.gwt.user.client.ui.Widget getContent()
getContent
in class Popup
public void setPresenter(WizardActivityView.Presenter presenter)
WizardActivityView
setPresenter
in interface WizardActivityView
public void setPageTitles(List<WizardPage> pages)
WizardActivityView
setPageTitles
in interface WizardActivityView
@UiHandler(value="btnCancel") public void btnCancelClick(com.google.gwt.event.dom.client.ClickEvent event)
@UiHandler(value="btnFinish") public void btnFinishClick(com.google.gwt.event.dom.client.ClickEvent event)
@UiHandler(value="btnNext") public void btnNextClick(com.google.gwt.event.dom.client.ClickEvent event)
@UiHandler(value="btnPrevious") public void btnPreviousClick(com.google.gwt.event.dom.client.ClickEvent event)
public void selectPage(int pageNumber)
WizardActivityView
selectPage
in interface WizardActivityView
public void setBodyWidget(com.google.gwt.user.client.ui.Widget w)
WizardActivityView
setBodyWidget
in interface WizardActivityView
public void setPreferredHeight(int height)
WizardActivityView
setPreferredHeight
in interface WizardActivityView
public void setPreferredWidth(int width)
WizardActivityView
setPreferredWidth
in interface WizardActivityView
public void setPageCompletionState(int pageIndex, boolean isComplete)
WizardActivityView
setPageCompletionState
in interface WizardActivityView
public void setCompletionStatus(boolean isComplete)
WizardActivityView
setCompletionStatus
in interface WizardActivityView
public void showSavingIndicator()
WizardActivityView
showSavingIndicator
in interface WizardActivityView
public void hideSavingIndicator()
WizardActivityView
hideSavingIndicator
in interface WizardActivityView
public void showDuplicateAssetNameError()
WizardActivityView
showDuplicateAssetNameError
in interface WizardActivityView
public void showUnspecifiedCheckinError()
WizardActivityView
showUnspecifiedCheckinError
in interface WizardActivityView
public void showCheckinError(String message)
WizardActivityView
showCheckinError
in interface WizardActivityView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |