Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.ide.externaltools
Class LazyExternalTool

java.lang.Object
  extended by oracle.ide.externaltools.ExternalTool
      extended by oracle.ide.externaltools.LazyExternalTool

All Implemented Interfaces:
Copyable

public class LazyExternalTool
extends ExternalTool

Field Summary

 

Fields inherited from class oracle.ide.externaltools.ExternalTool
AVAIL_ALWAYS, AVAIL_REGEXP, AVAIL_SELECTION, AVAIL_TYPES, INTEG_CODE_EDITOR_CONTEXT_MENU_ITEM, INTEG_MAIN_WINDOW_TOOLBAR_BUTTON, INTEG_NAVIGATOR_CONTEXT_MENU_ITEM, INTEG_NAVIGATOR_TOOLBAR_BUTTON, INTEG_TOOLS_MENU_ITEM

 

Constructor Summary
LazyExternalTool(HashStructure hash)
           

 

Method Summary
 java.lang.String getClassName()
           
 javax.swing.Icon getIconWhenRequired()
          If an external tool is displayed in the toolbar, an icon is required.
 ExternalTool getInstance()
           
 void run(ExternalToolManager manager, Context context)
          Invoke the external tool instance on the specified context.

 

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

 

Constructor Detail

LazyExternalTool

public LazyExternalTool(HashStructure hash)

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.