|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SystemBaseCopyAction com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseCopyAction com.ibm.etools.iseries.rse.ui.actions.QSYSCopyObjectAction
public class QSYSCopyObjectAction
Copy object action.
Field Summary | |
---|---|
protected Vector<String> |
copiedObjs
|
static String |
copyright
|
protected IQSYSObject |
firstSelection
|
protected ISelection |
previousSelection
|
protected IQSYSObject[] |
selectedObjects
|
protected IHost |
sourceConnection
|
protected String |
sourceLibrary
|
protected IQSYSLibrary |
targetLibrary
|
protected IQSYSObject |
targetObject
|
Constructor Summary | |
---|---|
QSYSCopyObjectAction(Shell parent)
Constructor. |
|
QSYSCopyObjectAction(Shell parent,
int mode)
Constructor. |
|
QSYSCopyObjectAction(Shell parent,
String label,
int mode)
Constructor. |
Method Summary | |
---|---|
protected String |
checkForCollision(Shell shell,
IProgressMonitor monitor,
Object targetContainer,
Object oldObject,
String oldName)
|
void |
copyComplete(String operation)
Called after all the copy/move operations end, be it successfully or not. |
protected Dialog |
createDialog(Shell shell)
Override of parent. |
protected boolean |
doCopy(Object targetContainer,
Object oldObject,
String newName,
IProgressMonitor monitor)
|
protected IQSYSObject |
getFirstSelectedObject()
Get the first selected ISeriesMember |
protected String[] |
getOldNames()
|
protected Object[] |
getOldObjects()
|
protected IQSYSObject[] |
getSelectedObjects()
Get the currently selected ISeriesObject objects |
protected Object |
getTargetContainer(Dialog dlg)
From the target-container dialog return the user-selected ISeriesObject target, or null if cancelled. |
protected SystemSimpleContentElement |
getTreeInitialSelection()
|
protected SystemSimpleContentElement |
getTreeModel()
|
SystemMessage |
isValid(IHost selectedConnection,
Object[] selectedObjects,
ISystemRemoteElementAdapter[] remoteAdaptersForSelectedObject)
The user has selected a remote object. |
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseCopyAction |
---|
getIBMiConnection, getObjectSubSystem, updateSelection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String copyright
protected IQSYSObject[] selectedObjects
protected ISelection previousSelection
protected String sourceLibrary
protected IQSYSObject targetObject
protected IQSYSObject firstSelection
protected IQSYSLibrary targetLibrary
protected IHost sourceConnection
protected Vector<String> copiedObjs
Constructor Detail |
---|
public QSYSCopyObjectAction(Shell parent)
parent
- Owning shellpublic QSYSCopyObjectAction(Shell parent, int mode)
parent
- Owning shellmode
- Either MODE_COPY or MODE_MOVE from this classpublic QSYSCopyObjectAction(Shell parent, String label, int mode)
parent
- label
- mode
- Method Detail |
---|
protected String checkForCollision(Shell shell, IProgressMonitor monitor, Object targetContainer, Object oldObject, String oldName)
protected boolean doCopy(Object targetContainer, Object oldObject, String newName, IProgressMonitor monitor) throws Exception
Exception
protected String[] getOldNames()
protected Object[] getOldObjects()
protected SystemSimpleContentElement getTreeInitialSelection()
protected SystemSimpleContentElement getTreeModel()
protected IQSYSObject[] getSelectedObjects()
protected Object getTargetContainer(Dialog dlg)
public void copyComplete(String operation)
protected Dialog createDialog(Shell shell)
protected IQSYSObject getFirstSelectedObject()
public SystemMessage isValid(IHost selectedConnection, Object[] selectedObjects, ISystemRemoteElementAdapter[] remoteAdaptersForSelectedObject)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |