Guvnor web application Drools 6.0.0-SNAPSHOT

org.drools.guvnor.client.simulation
Class SimulationTestEditor

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.drools.guvnor.client.simulation.SimulationTestEditor
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, EditorWidget, SimulationTestEventHandler

public class SimulationTestEditor
extends com.google.gwt.user.client.ui.Composite
implements EditorWidget, SimulationTestEventHandler


Nested Class Summary
protected static interface SimulationTestEditor.SimulationTestEditorBinder
           
 
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
 
Field Summary
protected  com.google.gwt.user.client.ui.TabPanel pathTabPanel
           
protected  com.google.gwt.user.client.ui.PushButton runSimulationButton
           
protected  TimeLineWidget timeLineWidget
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
SimulationTestEditor(Asset asset)
           
SimulationTestEditor(Asset asset, RuleViewer ruleViewer, ClientFactory clientFactory, com.google.gwt.event.shared.EventBus eventBus)
           
 
Method Summary
 void addCommand(AbstractCommandModel command)
           
 void addPath()
           
 void addStep(SimulationPathModel path)
           
 void moveDownCommand(AbstractCommandModel command)
           
 void moveUpCommand(AbstractCommandModel command)
           
 void removeCommand(AbstractCommandModel command)
           
 void removePath(SimulationPathModel path)
           
 void removeStep(SimulationStepModel step)
           
protected  void runSimulation(com.google.gwt.event.dom.client.ClickEvent event)
           
 void selectPath(SimulationPathModel path)
           
 void selectStep(SimulationStepModel step)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 

Field Detail

runSimulationButton

@UiField
protected com.google.gwt.user.client.ui.PushButton runSimulationButton

pathTabPanel

@UiField
protected com.google.gwt.user.client.ui.TabPanel pathTabPanel

timeLineWidget

@UiField(provided=true)
protected TimeLineWidget timeLineWidget
Constructor Detail

SimulationTestEditor

public SimulationTestEditor(Asset asset,
                            RuleViewer ruleViewer,
                            ClientFactory clientFactory,
                            com.google.gwt.event.shared.EventBus eventBus)

SimulationTestEditor

public SimulationTestEditor(Asset asset)
Method Detail

addPath

public void addPath()
Specified by:
addPath in interface SimulationTestEventHandler

removePath

public void removePath(SimulationPathModel path)
Specified by:
removePath in interface SimulationTestEventHandler

selectPath

public void selectPath(SimulationPathModel path)

selectStep

public void selectStep(SimulationStepModel step)
Specified by:
selectStep in interface SimulationTestEventHandler

addStep

public void addStep(SimulationPathModel path)
Specified by:
addStep in interface SimulationTestEventHandler

removeStep

public void removeStep(SimulationStepModel step)
Specified by:
removeStep in interface SimulationTestEventHandler

addCommand

public void addCommand(AbstractCommandModel command)
Specified by:
addCommand in interface SimulationTestEventHandler

moveUpCommand

public void moveUpCommand(AbstractCommandModel command)
Specified by:
moveUpCommand in interface SimulationTestEventHandler

moveDownCommand

public void moveDownCommand(AbstractCommandModel command)
Specified by:
moveDownCommand in interface SimulationTestEventHandler

removeCommand

public void removeCommand(AbstractCommandModel command)
Specified by:
removeCommand in interface SimulationTestEventHandler

runSimulation

@UiHandler(value="runSimulationButton")
protected void runSimulation(com.google.gwt.event.dom.client.ClickEvent event)

Guvnor web application Drools 6.0.0-SNAPSHOT

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