Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.actions
Interface ISystemDialogAction

All Superinterfaces:
ISystemAction
All Known Subinterfaces:
ISystemWizardAction
All Known Implementing Classes:
SystemBaseDialogAction, SystemBaseWizardAction, SystemFilterNewFilterPoolAction

public interface ISystemDialogAction
extends ISystemAction

Suggested interface for actions in popup menus of the remote systems explorer view, which put up dialogs.

See Also:
SystemBaseDialogAction

Field Summary
static String copyright
           
 
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 com.ibm.etools.systems.core.ui.actions.ISystemAction
allowOnMultipleSelection, getContextMenuGroup, getHelpContextId, getSelection, getShell, getViewer, isDummy, isSelectionSensitive, setContextMenuGroup, setHelp, setInputs, setSelection, setSelectionSensitive, setShell, setViewer
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Method Detail

setValue

public 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

public 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

public Object getValue()
Get the output of the dialog.


wasCancelled

public 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.


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.