|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.action.Action edu.stanford.hci.dtools.actions.OpenDeviceEditorAction
public class OpenDeviceEditorAction
Intuits from StatechartEditor to DeviceEditor, and opens the device editor.
This software is distributed under the BSD License.
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 | |
---|---|
OpenDeviceEditorAction(StatechartEditor chart,
org.eclipse.ui.IEditorInput part)
|
Method Summary | |
---|---|
static org.eclipse.core.resources.IFile |
getDeviceFileForCurrentStateChart(org.eclipse.ui.IEditorInput input)
Does some file manipulation to return an IFile which is the .dtd file associated with the d.tools file |
void |
run()
|
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, isEnabled, 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 |
Constructor Detail |
---|
public OpenDeviceEditorAction(StatechartEditor chart, org.eclipse.ui.IEditorInput part)
part
- the shapes editorMethod Detail |
---|
public static org.eclipse.core.resources.IFile getDeviceFileForCurrentStateChart(org.eclipse.ui.IEditorInput input)
public void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |