|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.rse.ui.actions.SystemBaseAction
org.eclipse.rse.shells.ui.actions.SystemCommandAction
Launches a shell and/or runs a shell command, displaying the output in the Remote Shell view.
| Nested Class Summary | |
|---|---|
class |
SystemCommandAction.CommandDialog
The command dialog used when running a command. |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.rse.ui.actions.SystemBaseAction |
|---|
allowOnMultipleSelection, arrowCursor, helpId, selectionSensitive, shell, sSelection, traceSelections, traceTarget, viewer, waitCursor |
| 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 | |
|---|---|
SystemCommandAction(Shell parent)
Constructor for SystemCommandAction |
|
SystemCommandAction(Shell parent,
boolean isShell)
Constructor for SystemCommandAction |
|
SystemCommandAction(Shell parent,
boolean isShell,
IRemoteCmdSubSystem cmdSubSystem)
Constructor for SystemCommandAction |
|
SystemCommandAction(String title,
Shell parent,
boolean isShell,
IRemoteCmdSubSystem cmdSubSystem)
Constructor for SystemCommandAction |
|
SystemCommandAction(String title,
String tooltip,
ImageDescriptor descriptor,
Shell parent,
boolean isShell,
IRemoteCmdSubSystem cmdSubSystem)
Constructor for SystemCommandAction |
|
SystemCommandAction(String title,
String tooltip,
Shell parent,
boolean isShell,
IRemoteCmdSubSystem cmdSubSystem)
Constructor for SystemCommandAction |
|
| Method Summary | |
|---|---|
void |
run()
Runs the command action. |
void |
setSubSystem(IRemoteCmdSubSystem ss)
|
boolean |
updateSelection(IStructuredSelection selection)
Called when the selection changes in the systems view. |
| Methods inherited from class org.eclipse.jface.action.AbstractAction |
|---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.action.IAction |
|---|
addPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isHandled, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
| 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 command
public SystemCommandAction(Shell parent,
boolean isShell,
IRemoteCmdSubSystem cmdSubSystem)
parent - isShell - indication of whether this action launches a shell or runs a commandcmdSubSystem - the command subsystem to use if launching a shell
public SystemCommandAction(String title,
Shell parent,
boolean isShell,
IRemoteCmdSubSystem 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 shell
public SystemCommandAction(String title,
String tooltip,
Shell parent,
boolean isShell,
IRemoteCmdSubSystem 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 shell
public SystemCommandAction(String title,
String tooltip,
ImageDescriptor descriptor,
Shell parent,
boolean isShell,
IRemoteCmdSubSystem 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 shell| Method Detail |
public void setSubSystem(IRemoteCmdSubSystem ss)
public void run()
run in interface IActionrun in class SystemBaseActionAction.run()public boolean updateSelection(IStructuredSelection selection)
updateSelection in class SystemBaseActionselection - the current seleciton
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||