|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.action.Action
edu.wpi.ebob.actions.ExecuteMethodAction
public class ExecuteMethodAction
Field Summary | |
---|---|
private IMethod |
method
|
private static org.eclipse.swt.graphics.Point |
METHOD_ICON_SIZE
size of the method icons, based Eclipse User Interface Guidelines, section "Visual Design > Icon Overlays > Java Overlay". |
private IObject |
obj
|
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 | |
---|---|
ExecuteMethodAction(IMethod method,
IObject obj)
|
Method Summary | |
---|---|
private void |
refreshPropertiesView()
|
void |
run()
|
private void |
setImageDescriptor()
sets the image descriptor for this action based on the properties of the method. |
private void |
setText()
sets the name for this action based on the method. |
Methods inherited from class org.eclipse.jface.action.Action |
---|
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, 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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private IMethod method
private IObject obj
private static final org.eclipse.swt.graphics.Point METHOD_ICON_SIZE
Constructor Detail |
---|
public ExecuteMethodAction(IMethod method, IObject obj)
Method Detail |
---|
private void setText()
private void setImageDescriptor()
public void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
private void refreshPropertiesView()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |