oracle.jdeveloper.cm.dt.addin
Class AbstractConnectionEditor
java.lang.Object
oracle.ide.addin.AbstractView
oracle.ide.editor.AbstractEditor
oracle.jdeveloper.cm.dt.addin.AbstractConnectionEditor
- All Implemented Interfaces:
- Editor, Helpable, LayoutSelector, Observer, Subview, View
- public abstract class AbstractConnectionEditor
- extends AbstractEditor
AbstractConnectionEditor provides a base class that can be
used when creating new Editor implementations that work against a
database connection.
Methods inherited from class oracle.ide.editor.AbstractEditor |
addPreferredLayoutListener, getContext, getContext, getContextMenu, getDefaultFocusComponent, getDependentDocuments, getDisplayName, getEditorFrame, getPreferredLayoutBaseName, getPreferredLayoutMap, getPreferredLayoutURL, getTabDescription, getTabIcon, getTabLabel, getTitleLabel, getType, initializeActiveLayout, isReady, newId, onPreferredLayoutActivate, owner, removePreferredLayoutListener, setContext, setOwner, setPreferredLayoutBaseName, setPreferredLayoutMap, setPreferredLayoutURL, setType |
Methods inherited from class oracle.ide.addin.AbstractView |
activate, addViewListener, addViewSelectionListener, deactivate, fireViewActivated, fireViewClosed, fireViewDeactivated, fireViewSelectionChanged, getController, getHelpInfo, getId, getSelection, getToolbar, isVisible, loadToolbar, loadToolbar, removeViewListener, removeViewSelectionListener, setId, setOwner, show, updateTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractConnectionEditor
public AbstractConnectionEditor()
open
public void open()
- Opens the editor. Connects to the database if the connection has not
already been established.
- See Also:
Editor.setContext(oracle.ide.addin.Context)
close
public void close()
- Closes the editor.
- Specified by:
close
in interface Subview
- Overrides:
close
in class AbstractEditor
getGUI
public abstract java.awt.Component getGUI()
- Description copied from interface:
Subview
- Gets the view's root graphical user interface component
- Returns:
- the view's root graphical user interface component
update
public abstract void update(java.lang.Object observed,
UpdateMessage change)
- Description copied from interface:
Observer
- Notification message. Subjects call this method when they notify their
observers that the subjects state has changed.
- Parameters:
observed
- the subject whose state has changed.change
- what has changed.
getDatabase
public final Database getDatabase()
- Retrieves the
Database
object associated with this editor.
getDatabaseNode
public final DatabaseEditorNode getDatabaseNode()
getConnection
public final java.sql.Connection getConnection()
Copyright ©1997, 2003, Oracle. All rights reserved.