Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.actions
Class QSYSMoveMemberAction

java.lang.Object
  extended by SystemBaseCopyAction
      extended by com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseCopyAction
          extended by com.ibm.etools.iseries.rse.ui.actions.QSYSAbstractMemberAction
              extended by com.ibm.etools.iseries.rse.ui.actions.QSYSMoveMemberAction

public class QSYSMoveMemberAction
extends QSYSAbstractMemberAction


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSAbstractMemberAction
copiedObjs, firstSelection, previousSelection, selectedMembers, sourceConnection, sourceLibraryFile, targetFile
 
Constructor Summary
QSYSMoveMemberAction(Shell shell)
          Constructor
QSYSMoveMemberAction(Shell parent, int mode)
           
QSYSMoveMemberAction(Shell parent, String label, int mode)
           
 
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 com.ibm.etools.iseries.rse.ui.actions.QSYSAbstractMemberAction
checkForCollision, createDialog, getFirstSelectedMember, getOldNames, getOldObjects, getSelectedMembers, getTargetContainer, getTreeInitialSelection, getTreeModel, updateSelection
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseCopyAction
getIBMiConnection, getObjectSubSystem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright
Constructor Detail

QSYSMoveMemberAction

public QSYSMoveMemberAction(Shell shell)
Constructor


QSYSMoveMemberAction

public QSYSMoveMemberAction(Shell parent,
                            int mode)

QSYSMoveMemberAction

public QSYSMoveMemberAction(Shell parent,
                            String label,
                            int mode)
Method Detail

doCopy

protected boolean doCopy(Object targetContainer,
                         Object oldObject,
                         String newName,
                         IProgressMonitor monitor)
                  throws Exception
Throws:
Exception

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 QSYSAbstractMemberAction

isValid

public SystemMessage isValid(IHost selectedConnection,
                             Object[] selectedObjects,
                             ISystemRemoteElementAdapter[] remoteAdaptersForSelectedObjects)
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 QSYSAbstractMemberAction

Rational Developer for Power Systems Software
V7.6

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.