|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.menus.AbstractTrimWidget
org.eclipse.ui.menus.AbstractWorkbenchTrimWidget
Extension for trim widgets contributed to the workbench.
The extension point handler will call the init
method to inform the contributed widgets as to which
workbench window they're currently being hosted in.
Constructor Summary | |
---|---|
AbstractWorkbenchTrimWidget()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.jface.menus.AbstractTrimWidget |
---|
dispose, fill, fill, fill, fill, fill |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.menus.IWidget |
---|
dispose, fill, fill, fill, fill |
Constructor Detail |
public AbstractWorkbenchTrimWidget()
Method Detail |
public void init(IWorkbenchWindow workbenchWindow)
getWorkbenchWindow
method.
init
in interface IWorkbenchWidget
workbenchWindow
- the current workbenchIWorkbenchWidget.init(org.eclipse.ui.IWorkbenchWindow)
public IWorkbenchWindow getWorkbenchWindow()
|
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.