org.drools.guvnor.client.asseteditor.drools
Class DefaultOryxMultiViewEditorMenuBarCreator
java.lang.Object
org.drools.guvnor.client.asseteditor.drools.DefaultOryxMultiViewEditorMenuBarCreator
- All Implemented Interfaces:
- MultiViewEditorMenuBarCreator
- Direct Known Subclasses:
- OryxMultiViewEditorMenuBarCreator
public class DefaultOryxMultiViewEditorMenuBarCreator
- extends Object
- implements MultiViewEditorMenuBarCreator
Default implementation for Oryx that includes "Save All Changes" button
Method Summary |
com.google.gwt.user.client.ui.MenuBar |
createMenuBar(MultiViewEditor editor,
com.google.gwt.event.shared.EventBus eventBus)
|
protected com.google.gwt.user.client.Command |
getAfterSaveCommand()
Method returning the command to be executed after the asset is persisted. |
protected com.google.gwt.user.client.Command |
getBeforeSaveCommand()
Method returning the command to be executed before the asset is persisted. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultOryxMultiViewEditorMenuBarCreator
public DefaultOryxMultiViewEditorMenuBarCreator()
createMenuBar
public com.google.gwt.user.client.ui.MenuBar createMenuBar(MultiViewEditor editor,
com.google.gwt.event.shared.EventBus eventBus)
- Specified by:
createMenuBar
in interface MultiViewEditorMenuBarCreator
getBeforeSaveCommand
protected com.google.gwt.user.client.Command getBeforeSaveCommand()
- Method returning the command to be executed before the asset is persisted.
This implementation returns null, meaning that no command needs to be
executed.
Subclasses of this class can overwrite this method to add a custom command.
- Returns:
getAfterSaveCommand
protected com.google.gwt.user.client.Command getAfterSaveCommand()
- Method returning the command to be executed after the asset is persisted.
This implementation returns null, meaning that no command needs to be
executed.
Subclasses of this class can overwrite this method to add a custom command.
- Returns:
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.