Skip navigation links
oracle.ide.externaltools
Class LazyExternalTool
java.lang.Object
oracle.ide.externaltools.ExternalTool
oracle.ide.externaltools.LazyExternalTool
- All Implemented Interfaces:
- Copyable
-
public class LazyExternalTool
- extends ExternalTool
Methods inherited from class oracle.ide.externaltools.ExternalTool |
copyTo, copyToImpl, equals, getAvailability, getAvailabilityExpression, getAvailableTypes, getCaption, getData, getIconURL, getIntegrationMask, getReloadBuffers, getScannerTag, getToolTipText, hashCode, hasIntegration, initializeExternalTool, setAvailability, setAvailabilityExpression, setAvailableTypes, setCaption, setData, setIconURL, setIntegrationMask, setReloadBuffers, setScannerTag, setToolTipText, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LazyExternalTool
public LazyExternalTool(HashStructure hash)
run
public void run(ExternalToolManager manager,
Context context)
throws ToolRunException
- Description copied from class:
ExternalTool
- Invoke the external tool instance on the specified context.
-
- Specified by:
run
in class ExternalTool
-
context
- the IDE context the tool was invoked in.
- Throws:
ToolRunException
- if the tool failed to run.
getClassName
public java.lang.String getClassName()
getIconWhenRequired
public javax.swing.Icon getIconWhenRequired()
- Description copied from class:
ExternalTool
- If an external tool is displayed in the toolbar, an icon is required. This method should return the icon to use for this external tool when no icon has been specified for the user, but the tool is present in the toolbar.
Subclasses may override this to provide a type specific default icon. This implementation returns a default document icon.
-
- Overrides:
getIconWhenRequired
in class ExternalTool
-
- Returns:
- an icon. Must not return null.
getInstance
public ExternalTool getInstance()
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.