Extension SDK 9.0.5

oracle.jdeveloper.ceditor
Class CodeEditorAddin

java.lang.Object
  extended byoracle.ide.editor.AbstractFlatEditorAddin
      extended byoracle.jdeveloper.ceditor.CodeEditorAddin
All Implemented Interfaces:
Addin, EditorAddin, FlatEditorAddin, Module

public class CodeEditorAddin
extends AbstractFlatEditorAddin

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


Constructor Summary
CodeEditorAddin()
          Constructs the CodeEditorAddin instance.
 
Method Summary
 boolean canShutdown()
          This method is called by the IDE to confirm that the ide can shutdown.
 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.
 float ideVersion()
          inheritDoc
 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.
 void shutdown()
          inheritDoc
 float version()
          inheritDoc
 
Methods inherited from class oracle.ide.editor.AbstractFlatEditorAddin
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 AbstractFlatEditorAddin

shutdown

public void shutdown()
Description copied from class: AbstractFlatEditorAddin
inheritDoc

Specified by:
shutdown in interface Addin
Overrides:
shutdown in class AbstractFlatEditorAddin

canShutdown

public boolean canShutdown()
This method is called by the IDE to confirm that the ide can shutdown.

Specified by:
canShutdown in interface Addin
Overrides:
canShutdown in class AbstractFlatEditorAddin

version

public float version()
Description copied from class: AbstractFlatEditorAddin
inheritDoc

Specified by:
version in interface Addin
Overrides:
version in class AbstractFlatEditorAddin

ideVersion

public float ideVersion()
Description copied from class: AbstractFlatEditorAddin
inheritDoc

Specified by:
ideVersion in interface Addin
Overrides:
ideVersion in class AbstractFlatEditorAddin

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.

Specified by:
isDefault in interface EditorAddin
Overrides:
isDefault in class AbstractFlatEditorAddin
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.

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.

Returns:
a menu specification.

Extension SDK

 

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