Extension SDK 10.1.2

oracle.ide.editor
Class AbstractFlatEditorAddin

java.lang.Object
  extended byoracle.ide.editor.AbstractFlatEditorAddin
All Implemented Interfaces:
Addin, EditorAddin, FlatEditorAddin, Module
Direct Known Subclasses:
AbstractConnectionEditorAddin, CodeEditorAddin

public abstract class AbstractFlatEditorAddin
extends java.lang.Object
implements FlatEditorAddin

The default implementation of FlatEditorAddin.


Constructor Summary
AbstractFlatEditorAddin()
           
 
Method Summary
 boolean canShutdown()
          inheritDoc
 java.lang.Object getAttribute(java.lang.Object key)
          inheritDoc
 float getEditorWeight(Element element)
          inheritDoc
 float ideVersion()
          inheritDoc
 void initialize()
          inheritDoc
 boolean isDefault()
          inheritDoc
 boolean isDuplicable()
          inheritDoc
 boolean restoreAtStartup()
          Determines if the document must be reloaded at startup.
 void shutdown()
          inheritDoc
 float version()
          inheritDoc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.ide.editor.EditorAddin
getEditorClass, getMenuSpecification
 

Constructor Detail

AbstractFlatEditorAddin

public AbstractFlatEditorAddin()
Method Detail

getEditorWeight

public float getEditorWeight(Element element)
inheritDoc

Specified by:
getEditorWeight in interface FlatEditorAddin
Parameters:
element -
Returns:

isDefault

public boolean isDefault()
inheritDoc

Specified by:
isDefault in interface EditorAddin
Returns:
true if this Addin should be treated as a default.

initialize

public void initialize()
inheritDoc

Specified by:
initialize in interface Addin
See Also:
AddinManager

shutdown

public void shutdown()
inheritDoc

Specified by:
shutdown in interface Addin

version

public float version()
inheritDoc

Specified by:
version in interface Addin
Returns:
the version number.

ideVersion

public float ideVersion()
inheritDoc

Specified by:
ideVersion in interface Addin
Returns:
the ide version number.

canShutdown

public boolean canShutdown()
inheritDoc

Specified by:
canShutdown in interface Addin

getAttribute

public java.lang.Object getAttribute(java.lang.Object key)
inheritDoc

Specified by:
getAttribute in interface FlatEditorAddin
Parameters:
key - one of the ATTRIBUTE_ constants.
Returns:
null

isDuplicable

public boolean isDuplicable()
inheritDoc

Specified by:
isDuplicable in interface FlatEditorAddin
Returns:
true if the editor can be duplicated.

restoreAtStartup

public boolean restoreAtStartup()
Description copied from interface: FlatEditorAddin
Determines if the document must be reloaded at startup. If any of the editors open on that document returns Boolean.FALSE, the document will not be restored when the user restarts the application.

Specified by:
restoreAtStartup in interface FlatEditorAddin

Extension SDK

 

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