|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.externaltools.ExternalToolType
public abstract class ExternalToolType
A type of external tool. To define a new type of external tool, subclass this class providing your own implementations of: - createExternalTool() - getOptionsPages() Then register your implementation declaratively in your extension's extension.xml with the externaltools trigger hook Note that the following methods are provided in this abstract class to satisfy the Displayable interface but these implementations will not be called. Instead the implementation in LazyExternalToolType will be used because that will be used to wrap each declaratively registered implementation. - getShortLabel() - getLongLabel() - getToolTipText() - getIcon()
Constructor Summary | |
---|---|
ExternalToolType()
|
Method Summary | |
---|---|
ExternalTool |
createExternalTool()
Note: this method should not be overridden by declarative implementations |
java.lang.String |
getClassName()
Note: this method should not be overridden by declarative implementations |
java.net.URL |
getDefaultIconURL(ExternalTool tool)
Get the default icon URL to use for the specified external tool of this type. |
javax.swing.Icon |
getIcon()
Note: this method should not be overridden by declarative implementations |
java.lang.String |
getId()
Gets an id that uniquely identifies this external tool type. |
java.lang.String |
getLongLabel()
Note: this method should not be overridden by declarative implementations |
abstract ExternalToolOptionsPage[] |
getOptionsPages()
Get the options page(s) for this external tool type. |
java.lang.String |
getShortLabel()
Note: this method should not be overridden by declarative implementations |
java.lang.String |
getToolTipText()
Note: this method should not be overridden by declarative implementations |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.ide.model.Displayable |
---|
toString |
Constructor Detail |
---|
public ExternalToolType()
Method Detail |
---|
public abstract ExternalToolOptionsPage[] getOptionsPages()
public java.net.URL getDefaultIconURL(ExternalTool tool)
tool
- an external tool to get the default icon for, guaranteed to
be a tool created by the createExternalTool() method of this
interface.
java.lang.NullPointerException
- if tool is null.
java.lang.IllegalArgumentException
- if tool is not a tool handled
by this type.public java.lang.String getId()
public javax.swing.Icon getIcon()
getIcon
in interface Displayable
Icon
to be displayed for the
Displayable
.public java.lang.String getLongLabel()
getLongLabel
in interface Displayable
Displayable
that
can be shown to the user.public java.lang.String getShortLabel()
getShortLabel
in interface Displayable
Displayable
that can be shown to the user.public java.lang.String getToolTipText()
getToolTipText
in interface Displayable
Displayable
.public java.lang.String getClassName()
public ExternalTool createExternalTool()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |