org.drools.guvnor.client.ruleeditor.standalone
Class TemporalAssetsMultiViewEditorMenuBarCreator
java.lang.Object
org.drools.guvnor.client.ruleeditor.standalone.TemporalAssetsMultiViewEditorMenuBarCreator
- All Implemented Interfaces:
- MultiViewEditorMenuBarCreator
public class TemporalAssetsMultiViewEditorMenuBarCreator
- extends Object
- implements MultiViewEditorMenuBarCreator
Creates a menu bar with 2 buttons: "Done" and "Cancel".
Method Summary |
com.google.gwt.user.client.ui.MenuBar |
createMenuBar(MultiViewEditor editor)
Creates a menu bar with 2 buttons: "Done" and "Cancel". |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemporalAssetsMultiViewEditorMenuBarCreator
public TemporalAssetsMultiViewEditorMenuBarCreator(com.google.gwt.user.client.Command doneCommand,
com.google.gwt.user.client.Command cancelCommand)
createMenuBar
public com.google.gwt.user.client.ui.MenuBar createMenuBar(MultiViewEditor editor)
- Creates a menu bar with 2 buttons: "Done" and "Cancel". Because this is
meant for temporal rules, this toolbar doesn't check-in any asset. The
buttons just call doneCommand and cancelCommand respectively.
- Specified by:
createMenuBar
in interface MultiViewEditorMenuBarCreator
- Parameters:
editor
-
- Returns:
Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.