|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is an interface used by the actions SystemSelectRemoteFileAction and SystemSelectRemoteFolderAction actions classes (and the dialog and form used by these) and enable the dialog's OK button to be replaced with an Add button. When the user selects and object or presses Add, the caller is informed and able to display a resulting message in the dialog's message line,and affect the enabled state of the Add button.
If you call the enableAddButton method you must pass an object that implements this interface. The dialog will call you back when the user presses the Add button, so you can take appropriate action.
Field Summary | |
---|---|
static String |
Copyright
|
Method Summary | |
---|---|
Object |
addButtonPressed(SystemConnection selectedConnection,
IRemoteFile[] selectedObjects)
The user has pressed the Add button. |
Object |
okToEnableAddButton(SystemConnection selectedConnection,
IRemoteFile[] selectedObjects)
The user has selected a file or folder. |
Field Detail |
public static final String Copyright
Method Detail |
public Object addButtonPressed(SystemConnection selectedConnection, IRemoteFile[] selectedObjects)
If this action fails for some reason, or you wish to display a completion message, return message text that will be displayed in the dialog's message line. Else, return null.
public Object okToEnableAddButton(SystemConnection selectedConnection, IRemoteFile[] selectedObjects)
If so, return null. If not, return a string to display on the message line indicating why it is not valid, such as it already has been added.
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |