public abstract class ToolboxPlugIn extends AbstractPlugIn
| Constructor and Description |
|---|
ToolboxPlugIn() |
| Modifier and Type | Method and Description |
|---|---|
void |
createMainMenuItem(String[] menuPath,
Icon icon,
WorkbenchContext context)
Creates a menu item with a checkbox beside it that appears when the toolbox
is visible.
|
boolean |
execute(PlugInContext context)
Toolbox subclasses can override this method to implement their
own behaviour when the plug-in is called.
|
ToolboxDialog |
getToolbox(WorkbenchContext context) |
protected abstract void |
initializeToolbox(ToolboxDialog toolbox) |
createName, execute, execute, getName, initialize, isRollingBackInvalidEdits, reportNothingToUndoYet, toActionListener, toStringpublic ToolboxDialog getToolbox(WorkbenchContext context)
protected abstract void initializeToolbox(ToolboxDialog toolbox)
public boolean execute(PlugInContext context) throws Exception
execute in interface PlugInexecute in class AbstractPlugInException - if a problem occurs during plug-in executionThreadedPlugInpublic void createMainMenuItem(String[] menuPath, Icon icon, WorkbenchContext context) throws Exception
icon - null to leave unspecifiedExceptionCopyright © 2015. All rights reserved.