|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Selection
A Selection represents a selection for the GUI.
Only instances of Selection may be used as values
of the workbench selection (see
UIProperty.WORKBENCH_SELECTION).
| Field Summary | |
|---|---|
static int |
DELETABLE
Capability flag indicating that this selection can be deleted by delete(boolean). |
static int |
HIERARCHICAL
Capability flag indicating that this selection is part of a hierarchical structure. |
static int |
TRANSFERABLE
Capability flag indicating that this selection can be converted to Transferable via toTransferable(boolean). |
| Fields inherited from interface de.grogra.util.Described |
|---|
ACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE |
| Method Summary | |
|---|---|
ComponentWrapper |
createPropertyEditorComponent()
Returns an editor component for the GUI. |
ComponentWrapper |
createPropertyEditorMenu()
Returns an editor menu component for the GUI. |
void |
delete(boolean includeChildren)
Deletes this selection. |
int |
getCapabilities()
Returns the capabilities of this selection. |
Context |
getContext()
|
java.awt.datatransfer.Transferable |
toTransferable(boolean includeChildren)
Converts this selection into Transferable for the
clipboard. |
| Methods inherited from interface de.grogra.util.Described |
|---|
getDescription |
| Field Detail |
|---|
static final int DELETABLE
delete(boolean).
static final int HIERARCHICAL
static final int TRANSFERABLE
Transferable via toTransferable(boolean).
| Method Detail |
|---|
ComponentWrapper createPropertyEditorComponent()
ComponentWrapper createPropertyEditorMenu()
void delete(boolean includeChildren)
DELETABLE.
includeChildren - true iff children in the hierarchy
shall be includedint getCapabilities()
TRANSFERABLE,
DELETABLE, HIERARCHICAL.
Context getContext()
java.awt.datatransfer.Transferable toTransferable(boolean includeChildren)
Transferable for the
clipboard. This method is only invoked if this selection
has the capability TRANSFERABLE.
includeChildren - true iff children in the hierarchy
shall be included
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||