| java.lang.Object org.eclipse.ui.internal.WindowTrimProxy
WindowTrimProxy | public class WindowTrimProxy implements IWindowTrim(Code) | | A transition class for any control that wants to participate in the workbench
window trim. It must supply a unique ID so that it's position can be
saved/restored.
since: 3.2 |
Constructor Summary | |
public | WindowTrimProxy(Control c, String id, String displayName, int validSides) Create the trim proxy for a control. | public | WindowTrimProxy(Control c, String id, String displayName, int validSides, boolean resizeable) Create a trim proxy for a control. |
WindowTrimProxy | public WindowTrimProxy(Control c, String id, String displayName, int validSides)(Code) | | Create the trim proxy for a control.
Parameters: c - the trim control Parameters: id - an ID that it's known by Parameters: displayName - the NLS name, for use in created menus Parameters: validSides - bitwise or of valid sides See Also: WindowTrimProxy.getValidSides() |
WindowTrimProxy | public WindowTrimProxy(Control c, String id, String displayName, int validSides, boolean resizeable)(Code) | | Create a trim proxy for a control.
Parameters: c - Parameters: id - Parameters: displayName - Parameters: validSides - Parameters: resizeable - |
getControl | public Control getControl()(Code) | | |
getHeightHint | public int getHeightHint()(Code) | | |
getValidSides | public int getValidSides()(Code) | | |
getWidthHint | public int getWidthHint()(Code) | | |
handleClose | public void handleClose()(Code) | | |
isCloseable | public boolean isCloseable()(Code) | | |
isResizeable | public boolean isResizeable()(Code) | | |
setHeightHint | public void setHeightHint(int h)(Code) | | Update the height hint for this control.
Parameters: h - pixels, or SWT.DEFAULT |
setWidthHint | public void setWidthHint(int w)(Code) | | Update the width hint for this control.
Parameters: w - pixels, or SWT.DEFAULT |
|
|