Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.view
Interface ISystemSelectAllTarget

All Known Implementing Classes:
SystemScratchpadView, SystemTableTreeView, SystemTableView, SystemTeamView, SystemView

public interface ISystemSelectAllTarget

This interface is implemented by all viewers that wish to support the global select all action. To do so, they implement this interface, then instantiate SystemCommonSelectAllAction, and call setGlobalActionHandler. See SystemViewPart for an example.


Field Summary
static String Copyright
           
 
Method Summary
 void doSelectAll(IStructuredSelection selection)
          When this action is run via Edit->Select All or via Ctrl+A, perform the select all action.
 boolean enableSelectAll(IStructuredSelection selection)
          Return true if select all should be enabled for the given object.
 

Field Detail

Copyright

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

enableSelectAll

public boolean enableSelectAll(IStructuredSelection selection)
Return true if select all should be enabled for the given object. For a tree view, you should return true if and only if the selected object has children. You can use the passed in selection or ignore it and query your own selection.


doSelectAll

public void doSelectAll(IStructuredSelection selection)
When this action is run via Edit->Select All or via Ctrl+A, perform the select all action. For a tree view, this should select all the children of the given selected object. You can use the passed in selected object or ignore it and query the selected object yourself.


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.