edu.stanford.hci.dtools.actions
Class CrossEditorAction

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.EditorPartAction
              extended by edu.stanford.hci.dtools.actions.CrossEditorAction
All Implemented Interfaces:
org.eclipse.gef.Disposable, org.eclipse.gef.ui.actions.UpdateAction, org.eclipse.jface.action.IAction
Direct Known Subclasses:
ExportDeviceAction

public abstract class CrossEditorAction
extends org.eclipse.gef.ui.actions.EditorPartAction

Action which transfers data from a device editor to a statechart or vice versa

This software is distributed under the BSD License.

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

Field Summary
 
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
CrossEditorAction(org.eclipse.ui.IEditorPart editor)
           
 
Method Summary
static org.eclipse.core.resources.IFile getStateChartFileForCurrentDevice()
          For additional fun, see OpenDeviceEditorAction.java
 void setPart(org.eclipse.ui.IEditorPart e)
          Updates the part that this action is attached to.
 
Methods inherited from class org.eclipse.gef.ui.actions.WorkbenchPartAction
dispose, isEnabled, setLazyEnablementCalculation, update
 
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, run, 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
 

Constructor Detail

CrossEditorAction

public CrossEditorAction(org.eclipse.ui.IEditorPart editor)
Method Detail

getStateChartFileForCurrentDevice

public static org.eclipse.core.resources.IFile getStateChartFileForCurrentDevice()
For additional fun, see OpenDeviceEditorAction.java

Returns:

setPart

public void setPart(org.eclipse.ui.IEditorPart e)
Updates the part that this action is attached to.

Parameters:
e - The new active IEditorPart