|
||||||||||
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.CreateInstanceAction
public class CreateInstanceAction
An action for adding instances to the Object Bench.
Field Summary | |
---|---|
private static org.eclipse.jface.resource.ImageDescriptor |
disabledImg
|
private static org.eclipse.jface.resource.ImageDescriptor |
enabledImg
|
private org.eclipse.swt.widgets.Shell |
shell
|
private org.eclipse.jdt.core.IType |
type
|
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 | |
---|---|
CreateInstanceAction(org.eclipse.swt.widgets.Shell shell)
Creates a new action, tied to the given shell. |
|
CreateInstanceAction(org.eclipse.swt.widgets.Shell shell,
org.eclipse.jdt.core.IType type)
Creates a new action, tied to the given shell. |
Method Summary | |
---|---|
void |
run()
Runs the wizard for adding objects to the bench. |
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 static final org.eclipse.jface.resource.ImageDescriptor enabledImg
private static final org.eclipse.jface.resource.ImageDescriptor disabledImg
private final org.eclipse.jdt.core.IType type
private final org.eclipse.swt.widgets.Shell shell
Constructor Detail |
---|
public CreateInstanceAction(org.eclipse.swt.widgets.Shell shell)
shell
- The shell that will own the wizard.AddToObjectBenchWizard
public CreateInstanceAction(org.eclipse.swt.widgets.Shell shell, org.eclipse.jdt.core.IType type)
shell
- The shell that will own the wizard.type
- The class to begin the wizard with.AddToObjectBenchWizard
Method Detail |
---|
public void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
IAction.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |