|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.action.Action org.eclipse.gef.ui.actions.WorkbenchPartAction org.eclipse.gef.ui.actions.EditorPartAction edu.stanford.hci.dtools.actions.RunModeAction
public class RunModeAction
Toggles run mode
This software is distributed under the BSD License.
Field Summary | |
---|---|
static java.lang.String |
RUN_MODE
|
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 | |
---|---|
RunModeAction(org.eclipse.ui.IEditorPart part)
|
Method Summary | |
---|---|
void |
run()
Toggles run mode in a binary fashion (on/off) |
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, 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 |
Field Detail |
---|
public static java.lang.String RUN_MODE
Constructor Detail |
---|
public RunModeAction(org.eclipse.ui.IEditorPart part)
part
- the shapes editorMethod Detail |
---|
public void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
public void setPart(org.eclipse.ui.IEditorPart e)
e
- The new active IEditorPart
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |