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 |
---|---|
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()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.