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, fill
public void init(IWorkbenchWindow workbenchWindow)
getWorkbenchWindow
method.init
in interface IWorkbenchWidget
workbenchWindow
- the current workbenchIWorkbenchWidget.init(org.eclipse.ui.IWorkbenchWindow)
public IWorkbenchWindow getWorkbenchWindow()
public Point getPreferredSize()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.