Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.ide.ceditor
Class CodeEditorAddin

java.lang.Object
  extended by oracle.ide.editor.EditorAddin
      extended by oracle.ide.ceditor.CodeEditorAddin
All Implemented Interfaces:
Addin

public class CodeEditorAddin
extends EditorAddin

The CodeEditorAddin does the work of plugging in this code editor into the IDE Addin framework.


Field Summary
 
Fields inherited from class oracle.ide.editor.EditorAddin
ATTRIBUTE_NO_RECENT_FILE, ATTRIBUTE_RESTORABLE
 
Constructor Summary
CodeEditorAddin()
          Constructs the CodeEditorAddin instance.
 
Method Summary
 java.lang.Class getEditorClass()
          Gets the fully qualified class name of the Editor being registered.
 Navigable getEditorNavigable()
          Fetches the main Editor navigable that is the parent of all other editor settings.
 MenuSpec getMenuSpecification()
          Gets the menu specification for the editor.
 void initialize()
          This method is called by the IDE to request that the feature be initialized.
 boolean isDefault()
          Determine if the Editor registered by this addin is the default Editor.
 
Methods inherited from class oracle.ide.editor.EditorAddin
getAttribute, getEditorWeight, isDuplicable, restoreAtStartup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeEditorAddin

public CodeEditorAddin()
Constructs the CodeEditorAddin instance.

Method Detail

getEditorNavigable

public Navigable getEditorNavigable()
Fetches the main Editor navigable that is the parent of all other editor settings.

Returns:
the main editor Navigable

initialize

public void initialize()
This method is called by the IDE to request that the feature be initialized.

Specified by:
initialize in interface Addin
Overrides:
initialize in class EditorAddin
See Also:
AddinManager

isDefault

public boolean isDefault()
Determine if the Editor registered by this addin is the default Editor. The default Editor pops-up when the user double clicks on the node type associated with this Editor.

Overrides:
isDefault in class EditorAddin
Returns:
true if the Editor is the default Editor.

getEditorClass

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

Specified by:
getEditorClass in class EditorAddin
Returns:
the Editor's class

getMenuSpecification

public MenuSpec getMenuSpecification()
Gets the menu specification for the editor. This specification will be used to add a menu item to the View pulldown menu and to the node context menu.

Specified by:
getMenuSpecification in class EditorAddin
Returns:
a menu specification.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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