|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteSelectionAddListener
This interface is used by the remote object selection dialogs when Add mode is enabled.
This interface allows you to listen generically for selection events on any remote object, and be called when the user selects something or presses. You can use instanceof to decide what was selected.
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.
Method Summary | |
---|---|
Object |
addButtonPressed(IHost selectedConnection,
Object[] selectedObjects)
The user has pressed the Add button. |
Object |
okToEnableAddButton(IHost selectedConnection,
Object[] selectedObjects)
The user has selected a remote object. |
Method Detail |
---|
Object okToEnableAddButton(IHost selectedConnection, Object[] selectedObjects)
selectedConnection
- The connection the object was selected inselectedObjects
- Will be a list of objects such as AS400Library or IRemoteFile. They are
resolved so that the remote adapter is not required.
Object addButtonPressed(IHost selectedConnection, Object[] selectedObjects)
selectedConnection
- The connection the object was selected inselectedObjects
- Will be a list of objects such as AS400Library or IRemoteFile. They are
resolved so that the remote adapter is not required.
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |