|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAction
com.ibm.etools.systems.core.ui.actions.SystemBaseAction
com.ibm.etools.systems.core.ui.compile.SystemCompileAction
This is the action for an individual compile command, either prompted or not prompted. The label for the action is simply the compile command's label. If promptable, then "..." is appended.
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
---|
allowOnMultipleSelection, arrowCursor, copyright, helpId, selectionSensitive, shell, sSelection, traceSelections, traceTarget, viewer, waitCursor |
Constructor Summary | |
---|---|
SystemCompileAction(Shell shell,
SystemCompileCommand compileCommand,
boolean isPrompt)
Constructor |
Method Summary | |
---|---|
protected boolean |
checkDirtyEditors()
|
boolean |
checkObjectType(Object selectedObject)
Intercept of parent method that is our opportunity to enable/disable this action, typically by interrogating the current selection, retrievable via getSelection. |
protected List |
getDirtyEditors()
|
protected ISystemEditableRemoteObject |
getEditableFor(IAdaptable selected)
|
void |
run()
Called by eclipse when the user selects this action. |
boolean |
updateSelection(IStructuredSelection selection)
Intercept of parent method that is our first opportunity to enable/disable this action, typically by interrogating the current selection, retrievable via getSelection. |
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
---|
allowOnMultipleSelection, getAdapter, getContextMenuGroup, getCurrentTreeView, getDescription, getFirstSelection, getHelpContextId, getLabel, getNextSelection, getRemoteAdapter, getSelection, getSelectionProvider, getShell, getShell, getString, getStringOrNull, getSystemConnection, getToolTip, getViewer, isDummy, isEnabled, isSelectionSensitive, issueTraceMessage, selectionChanged, setAvailableOffline, setBusyCursor, setContextMenuGroup, setDisplayCursor, setDisplayCursor, setHelp, setInputs, setSelection, setSelectionProvider, setSelectionSensitive, setShell, setSystemConnection, setTracing, setTracing, setViewer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
Constructor Detail |
public SystemCompileAction(Shell shell, SystemCompileCommand compileCommand, boolean isPrompt)
Method Detail |
public boolean updateSelection(IStructuredSelection selection)
For this compile action, we disable if we are not currently connected.
updateSelection
in class SystemBaseAction
public boolean checkObjectType(Object selectedObject)
For this compile action, we disable if we are not currently connected.
checkObjectType
in class SystemBaseAction
public void run()
run
in class SystemBaseAction
Action#run()
protected List getDirtyEditors()
protected ISystemEditableRemoteObject getEditableFor(IAdaptable selected)
protected boolean checkDirtyEditors()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |