edu.stanford.hci.dtools.actions
Class SetStartStateAction

java.lang.Object
  extended by org.eclipse.jface.action.Action
      extended by org.eclipse.gef.ui.actions.WorkbenchPartAction
          extended by org.eclipse.gef.ui.actions.SelectionAction
              extended by edu.stanford.hci.dtools.actions.SetStartStateAction
All Implemented Interfaces:
org.eclipse.gef.Disposable, org.eclipse.gef.ui.actions.UpdateAction, org.eclipse.jface.action.IAction

public class SetStartStateAction
extends org.eclipse.gef.ui.actions.SelectionAction
implements org.eclipse.gef.ui.actions.UpdateAction

Tells the run mode tracker to set the selected state as the start state

This software is distributed under the BSD License.

Author:
Bjoern Hartmann ( bjoern(AT)stanford.edu ), Michael Bernstein ( mbernst(AT)stanford.edu )

Field Summary
static java.lang.String START_STATE
           
 
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
SetStartStateAction(org.eclipse.ui.IWorkbenchPart part)
           
 
Method Summary
 void run()
           
 
Methods inherited from class org.eclipse.gef.ui.actions.SelectionAction
dispose, setSelectionProvider, update
 
Methods inherited from class org.eclipse.gef.ui.actions.WorkbenchPartAction
isEnabled, setLazyEnablementCalculation
 
Methods inherited from class org.eclipse.jface.action.Action
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.gef.ui.actions.UpdateAction
update
 

Field Detail

START_STATE

public static final java.lang.String START_STATE
See Also:
Constant Field Values
Constructor Detail

SetStartStateAction

public SetStartStateAction(org.eclipse.ui.IWorkbenchPart part)
Method Detail

run

public void run()
Specified by:
run in interface org.eclipse.jface.action.IAction
Overrides:
run in class org.eclipse.jface.action.Action