RSE
Release 3.4

org.eclipse.rse.ui.actions
Interface ISystemDialogAction

All Superinterfaces:
IAction, ISelectionChangedListener, ISystemAction
All Known Subinterfaces:
ISystemWizardAction
All Known Implementing Classes:
SystemBaseCopyAction, SystemBaseDialogAction, SystemBaseWizardAction, SystemChangeFilterAction, SystemFilterAbstractFilterAction, SystemFilterAbstractFilterPoolAction, SystemFilterAbstractFilterPoolWizardAction, SystemFilterAbstractFilterWizardAction, SystemNewConnectionAction, SystemNewFilterAction, SystemSelectRemoteFileAction, SystemSelectRemoteFolderAction

public interface ISystemDialogAction
extends ISystemAction

Suggested interface for actions in popup menus of the Remote System Explorer view, which put up dialogs.

See Also:
SystemBaseDialogAction

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
 Object getValue()
          Get the output of the dialog.
 void setProcessAllSelections(boolean all)
          If this action supports allowOnMultipleSelection, then whether the action is to be invoked once per selected item (false), or once for all selected items (true)
 void setValue(Object value)
          Set the value used as input to the dialog.
 boolean wasCancelled()
          Returns true if the user cancelled the dialog.
 
Methods inherited from interface org.eclipse.rse.ui.actions.ISystemAction
allowOnMultipleSelection, getContextMenuGroup, getHelpContextId, getSelection, getShell, getViewer, isDummy, isSelectionSensitive, setContextMenuGroup, setHelp, setInputs, setSelection, setSelectionSensitive, setShell, setViewer
 
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

setValue

void setValue(Object value)
Set the value used as input to the dialog. Usually for update mode. This is an alternative to selectionChanged or setSelection, as typically it is the selection that is used as the input to the dialog.


setProcessAllSelections

void setProcessAllSelections(boolean all)
If this action supports allowOnMultipleSelection, then whether the action is to be invoked once per selected item (false), or once for all selected items (true)


getValue

Object getValue()
Get the output of the dialog.


wasCancelled

boolean wasCancelled()
Returns true if the user cancelled the dialog. The default way to guess at this is to test if the output from getDialogValue was null or not. Override if you need to refine this.


RSE
Release 3.4

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