com.ibm.etools.iseries.rse.ui.actions.tableview
Class ISeriesTableViewMoveUpLibraryAction
java.lang.Object
SystemBaseAction
com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseAction
com.ibm.etools.iseries.rse.ui.actions.QSYSAbstractLiblAction
com.ibm.etools.iseries.rse.ui.actions.QSYSMoveUpLibraryAction
com.ibm.etools.iseries.rse.ui.actions.tableview.ISeriesTableViewMoveUpLibraryAction
public class ISeriesTableViewMoveUpLibraryAction
- extends QSYSMoveUpLibraryAction
The action allows users to move the currently selected library up in the library list
from the Table view
Method Summary |
boolean |
checkObjectType(Object selectedObject)
Second and easiest opportunity to decide if the action should be enabled or not based
on the current selection. |
void |
run()
This is the method called when the user selects this action. |
void |
setTableView(ObjectTableView tableView)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
ISeriesTableViewMoveUpLibraryAction
public ISeriesTableViewMoveUpLibraryAction(Shell parent)
- Constructor
checkObjectType
public boolean checkObjectType(Object selectedObject)
- Second and easiest opportunity to decide if the action should be enabled or not based
on the current selection. Called by default implementation of updateSelection, once for
each item in the selection. If any call to this returns false, the action is disabled.
We only return true if the library's subtype ends in "-usr"
- Overrides:
checkObjectType
in class QSYSMoveUpLibraryAction
setTableView
public void setTableView(ObjectTableView tableView)
run
public void run()
- Description copied from class:
QSYSMoveUpLibraryAction
- This is the method called when the user selects this action.
- Overrides:
run
in class QSYSMoveUpLibraryAction
- See Also:
Action#run()
Copyright © 2011 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.