|
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 AddinEditorManager.register(oracle.ide.editor.EditorAddin, java.lang.Class[]),
DatabaseEditorNodepublic void shutdown()
AddinAddinManager 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 Addinpublic float version()
AddinAddin version number.
version in interface Addinpublic float ideVersion()
AddinAddin was implemented.
ideVersion in interface Addinpublic boolean canShutdown()
AddinAddinManager 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 Addinpublic boolean isDefault()
EditorAddin
isDefault in interface EditorAddinpublic final MenuSpec getMenuSpecification()
EditorAddin
getMenuSpecification in interface EditorAddinpublic abstract java.lang.Class getEditorClass()
EditorAddin
getEditorClass in interface EditorAddinprotected 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.