|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.externaltools.ExternalToolManager
Manages external tools in JDeveloper. You can obtain an instance of this class via the JNDI namespace "jdeveloper/external-tool-manager", or using the static getExternalToolManager() method.
Constructor Summary | |
ExternalToolManager()
|
Method Summary | |
abstract void |
addExternalTool(ExternalTool tool)
Programmatically add an external tool. |
abstract java.util.Iterator |
getAllExternalTools()
Get all defined external tools. |
static ExternalToolManager |
getExternalToolManager()
Convenience method to obtain the ExternalToolManager. |
abstract java.util.Iterator |
getExternalToolsByType(ExternalToolType type)
Get all defined external tools of a particular type. |
abstract MacroRegistry |
getMacroRegistry()
Get the macro registry. |
abstract int |
getRegisteredTypeCount()
Return the number of registered types. |
abstract java.util.Iterator |
getRegisteredTypes()
Get all registered external tool types. |
ExternalToolType |
getType(ExternalTool tool)
Get the type of the specified external tool |
abstract ExternalTool |
invokeCreateWizard(java.awt.Component parent,
ExternalToolType type)
Invoke the Define External Tool wizard programmatically. |
abstract boolean |
invokeEditDialog(java.awt.Component parent,
ExternalTool tool)
Invoke the Edit External Tool dialog programmatically. |
abstract void |
registerType(ExternalToolType type)
Register a custom external tool type with the manager. |
abstract void |
removeExternalTool(ExternalTool tool)
Remove an existing external tool. |
abstract void |
unregisterType(ExternalToolType type)
Unregister a custom external tool type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExternalToolManager()
Method Detail |
public static final ExternalToolManager getExternalToolManager()
public abstract MacroRegistry getMacroRegistry()
public abstract void registerType(ExternalToolType type)
type
- the external tool type to register.public abstract void unregisterType(ExternalToolType type)
type
- the external tool type to unregister.public abstract int getRegisteredTypeCount()
public abstract java.util.Iterator getRegisteredTypes()
public abstract java.util.Iterator getAllExternalTools()
public abstract java.util.Iterator getExternalToolsByType(ExternalToolType type)
type
- the type of external tool to get
public abstract void addExternalTool(ExternalTool tool)
tool
- the tool to add.public abstract void removeExternalTool(ExternalTool tool)
tool
- the tool to remove.public abstract ExternalTool invokeCreateWizard(java.awt.Component parent, ExternalToolType type)
parent
- a component for parenting the wizard on.type
- an external tool type. If specified, the first page of
the wizard will not be displayed, and the user will only be able to
create a tool of the specified type. If null, the first page of the
wizard will allow the user to choose which type of tool to create.
public abstract boolean invokeEditDialog(java.awt.Component parent, ExternalTool tool)
parent
- a component for parenting the wizard on.tool
- the tool to edit. This tool must already exist and be
registered with the tool manager. On return, if the user clicked OK,
the specified tool will have been modified to
public ExternalToolType getType(ExternalTool tool)
tool
- the tool to get the type of
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.