|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
org.eclipse.ui.menus extension point.
Interface for trim controls that can be docked to the edge of a Workbench window using drag-and-drop.
Note: This interface is highly experimental, and will probably change
between M4 and M5. For example, it will support a "lifecycle" that allows the
ITrimManager to update its modifiers (like SWT.TOP or SWT.LEFT) so the
IWindowTrim can dispose and re-create its control. This will likely effect
methods like dock(int), getControl(),
getValidSides(), etc.
| Method Summary | |
|---|---|
void |
dock(int dropSide)
Deprecated. Called to notify the trim object that it has been docked on the given side of the layout |
Control |
getControl()
Deprecated. Returns the control representing this trim widget, or null if it has not yet been created. |
String |
getDisplayName()
Deprecated. Returns the (localized) display name for this trim. |
int |
getHeightHint()
Deprecated. Overrides the preferred height of the control (pixels). |
String |
getId()
Deprecated. Each piece of window trim must have a unique ID to participate fully as trim. |
int |
getValidSides()
Deprecated. Returns the set of sides that this trim can be docked onto. |
int |
getWidthHint()
Deprecated. Overrides the preferred width of the control (pixels). |
void |
handleClose()
Deprecated. This method is called when the trim UI has closed (hidden) the trim. |
boolean |
isCloseable()
Deprecated. Determines whether a particular trim can be 'closed' using the common Trim UI. |
boolean |
isResizeable()
Deprecated. If true, the control will be resized with the layout. |
| Method Detail |
public Control getControl()
public int getValidSides()
public void dock(int dropSide)
dropSide - the trim drop areapublic String getId()
public String getDisplayName()
public boolean isCloseable()
public void handleClose()
public int getWidthHint()
public int getHeightHint()
public boolean isResizeable()
true or false.
|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.