public abstract class AbstractWorkbenchTrimWidget extends AbstractTrimWidget implements IWorkbenchWidget
init
method to inform the contributed widgets as to which
workbench window they're currently being hosted in.| Constructor and Description |
|---|
AbstractWorkbenchTrimWidget() |
| Modifier and Type | Method and Description |
|---|---|
Point |
getPreferredSize() |
IWorkbenchWindow |
getWorkbenchWindow()
Convenience method to get the IWorkbenchWindow that is
hosting this widget.
|
void |
init(IWorkbenchWindow workbenchWindow)
Define the IWorkbenchWindow that this trim is being hosted in.
|
dispose, fill, fill, fill, fill, fillpublic void init(IWorkbenchWindow workbenchWindow)
getWorkbenchWindow method.init in interface IWorkbenchWidgetworkbenchWindow - the current workbenchIWorkbenchWidget.init(org.eclipse.ui.IWorkbenchWindow)public IWorkbenchWindow getWorkbenchWindow()
public Point getPreferredSize()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.