Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

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

Field Summary
 
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
 
Method Summary
 void allowOnMultipleSelection (boolean allow)
          Is this action to be enabled or disabled when multiple items are selected.
  String getContextMenuGroup ()
          Get the context menu group this action is to go into, for popup menus.
  String getHelpContextId ()
          Get the help id for this action
  IStructuredSelection getSelection ()
          Retrieve selection as set by selectionChanged() or setSelection()
  Shell getShell ()
          Convenience method to get shell of parent window, as set via setShell.
  Viewer getViewer ()
          Get the Viewer that called this action.
 boolean isDummy ()
          Return if true if this is a dummy action
 boolean isSelectionSensitive ()
          Return whether this action is selection-sensitive.
 void setContextMenuGroup ( String group)
          Set the context menu group this action is to go into, for popup menus.
 void setHelp ( String id)
          Set the help id for the action
 void setInputs ( Shell shell, Viewer v, ISelection selection)
          An optimization for performance reasons that allows all inputs to be set in one call
 void setSelection ( ISelection selection)
          Sometimes we can't call selectionChanged() because we are not a selection provider.
 void setSelectionSensitive (boolean sensitive)
          Specify whether this action is selection-sensitive.
 void setShell ( Shell shell)
          Set shell of parent window.
 void setViewer ( Viewer v)
          Set the Viewer that called this action.
 
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
 
Methods inherited from interface org.eclipse.jface.viewers. ISelectionChangedListener
selectionChanged
 

Method Detail

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


RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire