|
org.eclipse.rse.ui.actions
Interface ISystemAction
-
All Superinterfaces:
-
IAction,
ISelectionChangedListener
-
All Known Subinterfaces:
-
ISystemDialogAction,
ISystemWizardAction
-
All Known Implementing Classes:
-
SystemBaseAction,
SystemBaseCopyAction,
SystemBaseDialogAction,
SystemBaseDummyAction,
SystemBaseSubMenuAction,
SystemBaseWizardAction,
SystemChangeFilterAction,
SystemCopyToClipboardAction,
SystemFilterAbstractFilterAction,
SystemFilterAbstractFilterPoolAction,
SystemFilterAbstractFilterPoolWizardAction,
SystemFilterAbstractFilterWizardAction,
SystemNewConnectionAction,
SystemNewFilterAction,
SystemPasteFromClipboardAction,
SystemRefreshAction,
SystemRefreshAllAction,
SystemSelectRemoteFileAction,
SystemSelectRemoteFolderAction,
SystemTablePrintAction
-
public interface ISystemAction
- extends
IAction,
ISelectionChangedListener
Suggested interface for actions in popup menus of the Remote System Explorer view.
While suggested, it is not required to implement this interface.
-
See Also:
-
SystemBaseAction
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
|
Methods inherited from interface org.eclipse.jface.action.
IAction
|
addPropertyChangeListener,
getAccelerator,
getActionDefinitionId,
getDescription,
getDisabledImageDescriptor,
getHelpListener,
getHoverImageDescriptor,
getId,
getImageDescriptor,
getMenuCreator,
getStyle,
getText,
getToolTipText,
isChecked,
isEnabled,
isHandled,
removePropertyChangeListener,
run,
runWithEvent,
setAccelerator,
setActionDefinitionId,
setChecked,
setDescription,
setDisabledImageDescriptor,
setEnabled,
setHelpListener,
setHoverImageDescriptor,
setId,
setImageDescriptor,
setMenuCreator,
setText,
setToolTipText
|
setHelp
void setHelp(
String id)
- Set the help id for the action
-
-
setContextMenuGroup
void setContextMenuGroup(
String group)
- Set the context menu group this action is to go into, for popup menus. If not set,
someone else will make this decision.
-
-
allowOnMultipleSelection
void allowOnMultipleSelection(boolean allow)
- Is this action to be enabled or disabled when multiple items are selected.
-
-
setSelectionSensitive
void setSelectionSensitive(boolean sensitive)
- Specify whether this action is selection-sensitive. The default is true.
This means the enabled state is tested and set when the selection is set.
-
-
setShell
void setShell(
Shell shell)
- Set shell of parent window. Remote System Explorer will call this.
-
-
setViewer
void setViewer(
Viewer v)
- Set the Viewer that called this action. It is good practice for viewers to call this
so actions can directly access them if needed.
-
-
setSelection
void setSelection(
ISelection selection)
- Sometimes we can't call selectionChanged() because we are not a selection provider.
In this case, use this to set the selection.
-
-
setInputs
void setInputs(
Shell shell,
Viewer v,
ISelection selection)
- An optimization for performance reasons that allows all inputs to be set in one call
-
-
getHelpContextId
String getHelpContextId()
- Get the help id for this action
-
-
getShell
Shell getShell()
- Convenience method to get shell of parent window, as set via setShell.
-
-
getViewer
Viewer getViewer()
- Get the Viewer that called this action. Not guaranteed to be set,
depends if that viewer called setViewer or not. SystemView does.
-
-
getSelection
IStructuredSelection getSelection()
- Retrieve selection as set by selectionChanged() or setSelection()
-
-
getContextMenuGroup
String getContextMenuGroup()
- Get the context menu group this action is to go into, for popup menus. By default is
null, meaning there is no recommendation
-
-
isSelectionSensitive
boolean isSelectionSensitive()
- Return whether this action is selection-sensitive. The default is true.
This means the enabled state is tested and set when the selection is set.
-
-
isDummy
boolean isDummy()
- Return if true if this is a dummy action
-
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.
|
|