|
IBM DB2 UDB Plugin Interface for Extending the Control Center |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The MultiSelectable interface is to be used by implementers of CCMenuAction to specify when a plugin menu item should appear in a menu.
Some actions can apply when multiple objects of the same type are selected at
the same time. If your CCMenuAction
applies when multiple
objects are selected, implement this interface.
CCMenuAction
Field Summary | |
---|---|
static int |
MULTI_HANDLE_FOCUSED
The action is available only if the object is selected and has focus. |
static int |
MULTI_HANDLE_MULTI
The action is available if it can be performed against all the selected objects. |
static int |
MULTI_HANDLE_NONE
The action is available only if the object containing this action is selected. |
static int |
MULTI_HANDLE_ONE
The action is available if it can be performed against all the selected objects. |
Method Summary | |
---|---|
int |
getSelectionMode()
Specifies when and on which objects this action applies. |
Field Detail |
public static final int MULTI_HANDLE_NONE
public static final int MULTI_HANDLE_ONE
public static final int MULTI_HANDLE_MULTI
Note: This selection mode is discouraged in the Control Center user interface.
public static final int MULTI_HANDLE_FOCUSED
Method Detail |
public int getSelectionMode()
|
IBM DB2 UDB Plugin Interface for Extending the Control Center |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(C)Copyright IBM Corp. 2002, 2004. All rights reserved.
Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.