| java.lang.Object org.eclipse.ui.internal.menus.PulldownDelegateWidgetProxy
PulldownDelegateWidgetProxy | final class PulldownDelegateWidgetProxy implements IWidget(Code) | |
A proxy for a
IWorkbenchWindowPulldownDelegate on a pulldown action
set action. This delays the class loading until the delegate is really asked
for information. Asking a proxy for anything (except disposing) will cause
the proxy to instantiate the proxied delegate.
This class is not intended for use outside of the
org.eclipse.ui.workbench plug-in.
since: 3.2 |
Constructor Summary | |
public | PulldownDelegateWidgetProxy(IConfigurationElement configurationElement, String delegateAttributeName, ParameterizedCommand command, IServiceLocator locator) Constructs a new instance of PulldownDelegateWidgetProxy
with all the information it needs to try to avoid loading until it is
needed. |
Method Summary | |
final public void | dispose() Passes the dipose on to the proxied handler, if it has been loaded. | 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 String | toString() |
PulldownDelegateWidgetProxy | public PulldownDelegateWidgetProxy(IConfigurationElement configurationElement, String delegateAttributeName, ParameterizedCommand command, IServiceLocator locator)(Code) | | Constructs a new instance of PulldownDelegateWidgetProxy
with all the information it needs to try to avoid loading until it is
needed.
Parameters: configurationElement - The configuration element from which the real class can beloaded at run-time; must not be null . Parameters: delegateAttributeName - The name of the attibute or element containing the delegate;must not be null . Parameters: command - The command to execute if this the pulldown is not shown; mustnot be null . Parameters: locator - A service locator from which a handler service can beretrieved; must not be null . |
dispose | final public void dispose()(Code) | | Passes the dipose on to the proxied handler, if it has been loaded.
|
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) | | |
|
|