Guvnor web application Drools 6.0.0-SNAPSHOT

org.drools.guvnor.client.asseteditor.drools.standalone
Class TemporalAssetsMultiViewEditorMenuBarCreator

java.lang.Object
  extended by org.drools.guvnor.client.asseteditor.drools.standalone.TemporalAssetsMultiViewEditorMenuBarCreator
All Implemented Interfaces:
MultiViewEditorMenuBarCreator

public class TemporalAssetsMultiViewEditorMenuBarCreator
extends Object
implements MultiViewEditorMenuBarCreator

Creates a menu bar with 2 buttons: "Done" and "Cancel".


Constructor Summary
TemporalAssetsMultiViewEditorMenuBarCreator(com.google.gwt.user.client.Command doneCommand, com.google.gwt.user.client.Command cancelCommand)
           
 
Method Summary
 com.google.gwt.user.client.ui.MenuBar createMenuBar(MultiViewEditor editor, com.google.gwt.event.shared.EventBus eventBus)
          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
 

Constructor Detail

TemporalAssetsMultiViewEditorMenuBarCreator

public TemporalAssetsMultiViewEditorMenuBarCreator(com.google.gwt.user.client.Command doneCommand,
                                                   com.google.gwt.user.client.Command cancelCommand)
Method Detail

createMenuBar

public com.google.gwt.user.client.ui.MenuBar createMenuBar(MultiViewEditor editor,
                                                           com.google.gwt.event.shared.EventBus eventBus)
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:

Guvnor web application Drools 6.0.0-SNAPSHOT

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