Extension SDK 9.0.5

oracle.jdeveloper.cm.dt
Class DatabaseConnectionNode

java.lang.Object
  extended byoracle.ide.IdeSubject
      extended byoracle.jdeveloper.cm.dt.ConnectionNode
          extended byoracle.jdeveloper.cm.dt.DatabaseConnectionNode
All Implemented Interfaces:
Category, java.lang.Comparable, ConnectionBrowsable, Data, Dirtyable, Displayable, Document, Element, Folder, LazyLoadable, Locatable, Node, oracle.jdeveloper.cm.dt.browser.Refreshable, Subject

public class DatabaseConnectionNode
extends ConnectionNode


Field Summary
 
Fields inherited from interface oracle.ide.addin.Subject
OBJECT_MODIFIED
 
Fields inherited from interface oracle.ide.model.Category
UNDEFINED
 
Constructor Summary
DatabaseConnectionNode()
          Constructor.
DatabaseConnectionNode(java.net.URL url)
          Constructor.
 
Method Summary
 void close()
          Closes the ConnectionBrowsable interface.
protected  boolean isOpenThreaded()
          Indicates whether open() should be performed on another thread (with a dialog shown allowing the user to cancel).
 void open()
          Open the connection (connect via the ConnectionBrowser)
 
Methods inherited from class oracle.jdeveloper.cm.dt.ConnectionNode
add, canAdd, canRemove, compareTo, containsChild, ensureOpen, getAttributes, getCategory, getChildren, getClientProperty, getConnectionBrowser, getConnectionDescriptor, getConnectionName, getData, getIcon, getInputStream, getLongLabel, getShortLabel, getTimestamp, getToolTipText, getURL, isConnected, isDirty, isNew, isOpen, isReadOnly, markDirty, mayHaveChildren, putClientProperty, refresh, remove, removeAll, reopen, save, setConnected, setConnectionBrowser, setConnectionDescriptor, setConnectionName, setURL, size
 
Methods inherited from class oracle.ide.IdeSubject
attach, copy, detach, getObservers, notifyObservers, setObservers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.ide.model.Displayable
toString
 
Methods inherited from interface oracle.ide.addin.Subject
attach, detach, notifyObservers
 

Constructor Detail

DatabaseConnectionNode

public DatabaseConnectionNode(java.net.URL url)
Constructor.

Parameters:
url - unique url identifying this document.

DatabaseConnectionNode

public DatabaseConnectionNode()
Constructor.

Method Detail

isOpenThreaded

protected boolean isOpenThreaded()
Description copied from class: ConnectionNode
Indicates whether open() should be performed on another thread (with a dialog shown allowing the user to cancel). By default, Connection Nodes are not opened on another thread, but subclasses can override this method if the open() operation could potentially be a lengthy operation.

Overrides:
isOpenThreaded in class ConnectionNode

close

public void close()
Description copied from interface: ConnectionBrowsable
Closes the ConnectionBrowsable interface.

Specified by:
close in interface ConnectionBrowsable
Overrides:
close in class ConnectionNode

open

public void open()
Description copied from class: ConnectionNode
Open the connection (connect via the ConnectionBrowser)

Specified by:
open in interface Document
Overrides:
open in class ConnectionNode

Extension SDK

 

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