|
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 SystemBaseDialogAction com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseDialogAction com.ibm.etools.iseries.rse.ui.actions.QSYSCopyLibraryAction
public class QSYSCopyLibraryAction
The action that displays the Copy Library dialog. Note that copying a library is different from all other remote object copy actions:
Nested Class Summary | |
---|---|
protected class |
QSYSCopyLibraryAction.CopyLibraryJob
The job that changes object. |
Field Summary | |
---|---|
protected Cursor |
busyCursor
|
static String |
copyright
|
protected QSYSRemoteLibrary |
firstLibrary
|
protected int |
mode
|
static int |
MODE_COPY
|
static int |
MODE_MOVE
|
protected String[] |
newNames
|
protected ISelection |
previousSelection
|
protected Exception |
runException
|
protected QSYSRemoteLibrary[] |
selectedObjects
|
Constructor Summary | |
---|---|
QSYSCopyLibraryAction(Shell parent)
Constructor |
Method Summary | |
---|---|
boolean |
checkObjectType(Object selectedObject)
Called by SystemBaseAction when selection is set. |
protected Dialog |
createDialog(Shell shell)
Return the dialog to display. |
protected SystemMessage |
getCopyingMessage()
Get the generic "Copying..." or "Moving..." message |
protected SystemMessage |
getCopyingMessage(String oldName,
String newName)
Get the specific "Copying %1 to %2..." or "Moving %1 to %2..." message |
protected Object |
getDialogValue(Dialog dlg)
Required by parent. |
protected QSYSRemoteLibrary |
getFirstSelectedLibrary()
Get the first selected ISeriesLibrary |
protected QSYSRemoteLibrary[] |
getSelectedLibraries()
Get the currently selected ISeriesLibrary objects |
protected void |
showOperationCancelledMessage(Shell shell)
Show an error message when the user cancels the operation. |
protected void |
showOperationErrorMessage(Shell shell,
SystemMessageException exc)
Show an error message when the operation fails. |
protected void |
showOperationErrorMessage(Shell shell,
Throwable exc)
Show an error message when the operation fails. |
protected void |
showOperationMessage(Exception exc,
Shell shell)
Helper method to show an error message resulting from the attempted operation. |
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseDialogAction |
---|
getIBMiConnection, updateSelection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
public static final int MODE_COPY
public static final int MODE_MOVE
protected int mode
protected QSYSRemoteLibrary firstLibrary
protected QSYSRemoteLibrary[] selectedObjects
protected String[] newNames
protected Exception runException
protected Cursor busyCursor
protected ISelection previousSelection
Constructor Detail |
---|
public QSYSCopyLibraryAction(Shell parent)
Method Detail |
---|
public boolean checkObjectType(Object selectedObject)
protected Dialog createDialog(Shell shell)
protected Object getDialogValue(Dialog dlg)
protected QSYSRemoteLibrary[] getSelectedLibraries()
protected QSYSRemoteLibrary getFirstSelectedLibrary()
protected SystemMessage getCopyingMessage()
protected SystemMessage getCopyingMessage(String oldName, String newName)
protected void showOperationMessage(Exception exc, Shell shell)
protected void showOperationErrorMessage(Shell shell, Throwable exc)
protected void showOperationErrorMessage(Shell shell, SystemMessageException exc)
protected void showOperationCancelledMessage(Shell shell)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |