|
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.files.ui.actions.SystemCommandAction
Launches a shell and/or runs a shell command, displaying the output in the Remote Systems Commands view.
Nested Class Summary | |
---|---|
class |
SystemCommandAction.CommandDialog
The command dialog used when running a command. |
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 | |
---|---|
SystemCommandAction(Shell parent)
Constructor for SystemCommandAction |
|
SystemCommandAction(Shell parent,
boolean isShell)
Constructor for SystemCommandAction |
|
SystemCommandAction(Shell parent,
boolean isShell,
RemoteCmdSubSystem cmdSubSystem)
Constructor for SystemCommandAction |
|
SystemCommandAction(String title,
Shell parent,
boolean isShell,
RemoteCmdSubSystem cmdSubSystem)
Constructor for SystemCommandAction |
|
SystemCommandAction(String title,
String tooltip,
ImageDescriptor descriptor,
Shell parent,
boolean isShell,
RemoteCmdSubSystem cmdSubSystem)
Constructor for SystemCommandAction |
|
SystemCommandAction(String title,
String tooltip,
Shell parent,
boolean isShell,
RemoteCmdSubSystem cmdSubSystem)
Constructor for SystemCommandAction |
Method Summary | |
---|---|
void |
run()
Runs the command action. |
boolean |
updateSelection(IStructuredSelection selection)
Called when the selection changes in the systems view. |
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
---|
allowOnMultipleSelection, checkObjectType, 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 SystemCommandAction(Shell parent)
parent
- public SystemCommandAction(Shell parent, boolean isShell)
parent
- isShell
- indication of whether this action launches a shell or runs a commandpublic SystemCommandAction(Shell parent, boolean isShell, RemoteCmdSubSystem cmdSubSystem)
parent
- isShell
- indication of whether this action launches a shell or runs a commandcmdSubSystem
- the command subsystem to use if launching a shellpublic SystemCommandAction(String title, Shell parent, boolean isShell, RemoteCmdSubSystem cmdSubSystem)
title
- the title of the actionparent
- isShell
- indication of whether this action launches a shell or runs a commandcmdSubSystem
- the command subsystem to use if launching a shellpublic SystemCommandAction(String title, String tooltip, Shell parent, boolean isShell, RemoteCmdSubSystem cmdSubSystem)
title
- the title of the actiontooltip
- the tooltip for the actionparent
- isShell
- indication of whether this action launches a shell or runs a commandcmdSubSystem
- the command subsystem to use if launching a shellpublic SystemCommandAction(String title, String tooltip, ImageDescriptor descriptor, Shell parent, boolean isShell, RemoteCmdSubSystem cmdSubSystem)
title
- the title of the actiontooltip
- the tooltip for the actiondescriptor
- the image descriptor for the actionparent
- isShell
- indication of whether this action launches a shell or runs a commandcmdSubSystem
- the command subsystem to use if launching a shellMethod Detail |
public void run()
run
in class SystemBaseAction
Action#run()
public boolean updateSelection(IStructuredSelection selection)
updateSelection
in class SystemBaseAction
selection
- the current seleciton
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |