| java.lang.Object org.eclipse.ui.internal.menus.WidgetProxy
WidgetProxy | final class WidgetProxy implements IWorkbenchWidget(Code) | |
A proxy for a widget that has been defined in XML. This delays the class
loading until the widget is really asked to fill a menu collection. Asking
the widget for anything will instantiate the class.
since: 3.2 |
Constructor Summary | |
public | WidgetProxy(IConfigurationElement configurationElement, String widgetAttributeName) Constructs a new instance of WidgetProxy with all the
information it needs to try to load the class at a later point in time. |
Method Summary | |
final public void | dispose() | final public void | fill(Composite parent) | final public void | fill(CoolBar parent, int index) | final public void | fill(Menu parent, int index) | final public void | fill(ToolBar parent, int index) | final public void | fill(Composite parent, int oldSide, int newSide) Convenience method that allows the trim layout manager to
inform widgets if they have changed locations. | public void | init(IWorkbenchWindow workbenchWindow) | final public String | toString() |
WidgetProxy | public WidgetProxy(IConfigurationElement configurationElement, String widgetAttributeName)(Code) | | Constructs a new instance of WidgetProxy with all the
information it needs to try to load the class at a later point in time.
Parameters: configurationElement - The configuration element from which the real class can beloaded at run-time; must not be null . Parameters: widgetAttributeName - The name of the attibute or element containing the widgetexecutable extension; must not be null . |
dispose | final public void dispose()(Code) | | |
fill | final public void fill(Composite parent)(Code) | | |
fill | final public void fill(CoolBar parent, int index)(Code) | | |
fill | final public void fill(Menu parent, int index)(Code) | | |
fill | final public void fill(ToolBar parent, int index)(Code) | | |
fill | final public void fill(Composite parent, int oldSide, int newSide)(Code) | | Convenience method that allows the trim layout manager to
inform widgets if they have changed locations. If the IWidget
implementation does not support the method then we default
to using the simpler fill(final Composite parent) .
Parameters: parent - The composite to create the controls in Parameters: oldSide - The side the trim was previously displayed on Parameters: newSide - The new side that the trim will be displayed on |
|
|