Extension SDK 10.1.2

oracle.ide.editor
Interface EditorAddin

All Superinterfaces:
Addin, Module
All Known Subinterfaces:
FlatEditorAddin
All Known Implementing Classes:
AbstractFlatEditorAddin

public interface EditorAddin
extends Addin


Method Summary
 java.lang.Class getEditorClass()
          Gets the fully qualified class name of the Editor being registered.
 MenuSpec getMenuSpecification()
          Gets the menu specification of this Addin.
 boolean isDefault()
          true if this should be treated as a default for its supported element types.
 
Methods inherited from interface oracle.ide.addin.Addin
canShutdown, ideVersion, initialize, shutdown, version
 

Method Detail

getEditorClass

public java.lang.Class getEditorClass()
Gets the fully qualified class name of the Editor being registered.

Returns:
the Editor's class name

isDefault

public boolean isDefault()
true if this should be treated as a default for its supported element types. Default status might be considered during such actions as double clicking on an Element from the NavigatorWindow (i.e. open the default Editor).

Returns:
true if this Addin should be treated as a default.

getMenuSpecification

public MenuSpec getMenuSpecification()
Gets the menu specification of this Addin. This specification may be used to add a menu item to the main menu bar and/or to any context menu popped up in a NavigatorWindow.

Returns:
a menu specification.

Extension SDK

 

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