com.ibm.etools.iseries.rse.ui.actions
Class QSYSMoveObjectAction
java.lang.Object
SystemBaseCopyAction
com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseCopyAction
com.ibm.etools.iseries.rse.ui.actions.QSYSCopyObjectAction
com.ibm.etools.iseries.rse.ui.actions.QSYSMoveObjectAction
public class QSYSMoveObjectAction
- extends QSYSCopyObjectAction
Move selected objects action.
Method Summary |
void |
copyComplete(String operation)
Called after all the copy/move operations end, be it successfully or not. |
protected boolean |
doCopy(Object targetContainer,
Object oldObject,
String newName,
IProgressMonitor monitor)
|
SystemMessage |
isValid(IHost selectedConnection,
Object[] selectedObjects,
ISystemRemoteElementAdapter[] remoteAdaptersForSelectedObjects)
The user has selected a remote object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static String copyright
QSYSMoveObjectAction
public QSYSMoveObjectAction(Shell parent)
- Constructor.
- Parameters:
parent
-
doCopy
protected boolean doCopy(Object targetContainer,
Object oldObject,
String newName,
IProgressMonitor monitor)
throws Exception
- Overrides:
doCopy
in class QSYSCopyObjectAction
- Parameters:
monitor
- Usually not neededtargetContainer
- will be the ISeriesLibrary object selected to move intooldObject
- will be the ISeriesObject object currently being movednewName
- will be the new name to give the oldObject on move
- Throws:
Exception
- See Also:
SystemBaseCopyAction#doCopy(IProgressMonitor, Object, String, String)
isValid
public SystemMessage isValid(IHost selectedConnection,
Object[] selectedObjects,
ISystemRemoteElementAdapter[] remoteAdaptersForSelectedObjects)
- Description copied from class:
QSYSCopyObjectAction
- The user has selected a remote object. Return null if OK is to be enabled, or a SystemMessage
if it is not to be enabled. The message will be displayed on the message line.
- Overrides:
isValid
in class QSYSCopyObjectAction
copyComplete
public void copyComplete(String operation)
- Called after all the copy/move operations end, be it successfully or not.
Your opportunity to display completion or do post-copy selections/refreshes
- Overrides:
copyComplete
in class QSYSCopyObjectAction
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.