|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.cm.dt.addin.AbstractConnectionEditorWizard
AbstractConnectionEditorWizard
provides a base Wizard implementation that can be used when creating new Editors for database connections.
When invoked, AbstractConnectionEditorWizard
instances will prompt the user for a connection to use. An editor will then be opened on this connection.
Constructor Summary | |
protected |
AbstractConnectionEditorWizard(java.lang.Class editorClass, java.lang.String protocol) Creates a new instance. |
Method Summary | |
javax.swing.Icon |
getIcon() Gets the Icon to use in the Object Gallery and Navigator views. |
java.lang.String |
getMenuLabel() Provides the menu label used by this Wizard. |
abstract MenuSpec |
getMenuSpecification() Provides the menu specification used by this Wizard. |
java.lang.String |
getName() Provides the human readable name of this Wizard. |
boolean |
invoke(Context context, java.lang.String[] params) Invokes the object, usually called by the IDE. |
boolean |
isAvailable(Context context) Called when the sensitivity of the menu item that opens this wizard must be determined. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.ide.addin.Wizard |
toString |
Constructor Detail |
protected AbstractConnectionEditorWizard(java.lang.Class editorClass, java.lang.String protocol)
editorClass
- The class of the EditorAddin associated with this wizard.Method Detail |
public final java.lang.String getName()
Wizard
getName
in interface Wizard
public final java.lang.String getMenuLabel()
Wizard
null
.getMenuLabel
in interface Wizard
null
if no label is desired.public abstract MenuSpec getMenuSpecification()
Wizard
If this Wizard is not invokable from the "Tools" menu, return null
.
getMenuSpecification
in interface Wizard
null
if no label is required.public boolean isAvailable(Context context)
Wizard
isAvailable
in interface Wizard
context
- The Context
to use when invoking this Wizard
.true
if the wizard can be invoked, or false
otherwise.public final javax.swing.Icon getIcon()
Wizard
Icon
to use in the Object Gallery and Navigator views.
Note: If this Wizard is not intended to be accessed from the ObjectGallery, the Wizard may return null
.
getIcon
in interface Wizard
Icon
to be displayed in the ObjectGallery and Navigator.public boolean invoke(Context context, java.lang.String[] params)
Invokable
invoke
in interface Invokable
context
- the context of the invocation.params
- optional arguments from the invokertrue
if the invocation was successful, false
if it failed, or was aborted.Context
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.