|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.cm.dt.addin.AbstractConnectionEditorAddin
The AbstractConnectionEditorAddin can be used as a base class for new
EditorAddin implementations that work with a DatabaseEditorNode
.
The SQL*Worksheet is an example of an editor based on AbstractConnectionEditorAddin
Constructor Summary | |
AbstractConnectionEditorAddin()
|
Method Summary | |
boolean |
canShutdown()
This method is invoked by the AddinManager before the IDE
terminates. |
abstract java.lang.Class |
getEditorClass()
Gets the fully qualified class name of the Editor being registered. |
MenuSpec |
getMenuSpecification()
Gets the menu specification of this Addin. |
protected abstract java.lang.Class |
getNodeClass()
|
protected abstract java.lang.String |
getNodeProtocol()
|
protected Wizard |
getWizard()
Retreives the Wizard instance that should be registered. |
float |
ideVersion()
This method is called to determine the ide version number for which this Addin was implemented. |
void |
initialize()
By default, AbstractConnectionEditorAddin registers itself with the EditorManager on DatabaseEditorNode instances. |
boolean |
isDefault()
true if this should be treated as a default for its supported element types. |
void |
shutdown()
This method is invoked by the AddinManager when the IDE
terminates. |
float |
version()
This method is called to determine the Addin version number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractConnectionEditorAddin()
Method Detail |
public void initialize()
DatabaseEditorNode
instances.
initialize
in interface Addin
EditorManager.register(oracle.ide.editor.EditorAddin, java.lang.Class[])
,
DatabaseEditorNode
public void shutdown()
Addin
AddinManager
when the IDE
terminates. Any non java resources (file handles, database connections,
etc) which are still being held by this Addin
should be
released by this method immediately. This method is not guaranteed to
be called, but on normal terminations of the IDE, this method will be
invoked.
shutdown
in interface Addin
public float version()
Addin
Addin
version number.
version
in interface Addin
public float ideVersion()
Addin
Addin
was implemented.
ideVersion
in interface Addin
public boolean canShutdown()
Addin
AddinManager
before the IDE
terminates. Addins should NOT use this method to release resources.
They should only use this method to give users the opportunity to
cancel the exit process if there is some process started by this
addin still running.
Implementations should return false
to cancel the shutdown
process.
canShutdown
in interface Addin
public boolean isDefault()
EditorAddin
isDefault
in interface EditorAddin
public final MenuSpec getMenuSpecification()
EditorAddin
getMenuSpecification
in interface EditorAddin
public abstract java.lang.Class getEditorClass()
EditorAddin
getEditorClass
in interface EditorAddin
protected Wizard getWizard()
null
if this addin is
not registering a Wizard on the Tools menu.protected abstract java.lang.Class getNodeClass()
protected abstract java.lang.String getNodeProtocol()
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.