|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.model.DefaultDisplayable
oracle.ide.model.DefaultElement
oracle.ide.model.DefaultFolder
oracle.jdeveloper.cm.dt.BaseConnections
The BaseConnections class is the base folder type for classes of
connections
This is a singleton class.
| Field Summary |
| Fields inherited from class oracle.ide.model.DefaultFolder |
_children |
| Fields inherited from interface oracle.ide.addin.Subject |
OBJECT_MODIFIED |
| Constructor Summary | |
BaseConnections()
|
|
| Method Summary | |
void |
attach(Observer observer)
Registers an observer interested in being notified when the internal state of the class implementing the Subject interface
changes. |
abstract ConnectionNode |
create(java.net.URL url)
|
void |
detach(Observer observer)
Unregisters an observer that is not interested anymore in being notified when the internal state of the class implementing the Subject
interface changes. |
Attributes |
getAttributes()
This method returns an Attributes object that encodes the
attributes of the Element. |
java.util.Iterator |
getChildren()
Part of the Element interface. |
abstract java.lang.String |
getConnectionClassName()
|
javax.swing.Icon |
getIcon()
Part of Element interface. |
java.lang.String |
getLongLabel()
Returns a long label that can be displayed to the user. |
abstract java.lang.String |
getShortLabel()
Returns a short label that can be displayed to the user. |
java.lang.String |
getToolTipText()
Returns the tool tip text to show when the mouse pointer pauses over a UI component that represents this Displayable. |
void |
notifyObservers(java.lang.Object observed,
UpdateMessage change)
Notifies all observers that the state of the subject has changed. |
| Methods inherited from class oracle.ide.model.DefaultFolder |
add, canAdd, canRemove, containsChild, copyToImpl, equalsImpl, mayHaveChildren, remove, removeAll, size |
| Methods inherited from class oracle.ide.model.DefaultElement |
getData |
| Methods inherited from class oracle.ide.model.DefaultDisplayable |
toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.ide.model.Data |
getData |
| Methods inherited from interface oracle.ide.model.Displayable |
toString |
| Constructor Detail |
public BaseConnections()
| Method Detail |
public abstract java.lang.String getShortLabel()
DisplayableString is considered
translatable and should therefore be placed in an appropriate
resource file. When possible, the returned label should be
reasonably short enough to show in the navigator or explorer
windows but long enough to clearly identify and distinguish the
Displayable.
getShortLabel in interface DisplayablegetShortLabel in class DefaultDisplayableDisplayable.getShortLabel()public abstract java.lang.String getConnectionClassName()
public abstract ConnectionNode create(java.net.URL url)
public java.lang.String getLongLabel()
DisplayableString is considered translatable
and should therefore be placed in an appropriate resource file.
The long label differs from the short label essentially on length.
Usually the long label will only be shown on-demand and in places
where horizontal space is more available. Examples are the status
bar and tooltips.
getLongLabel in interface DisplayablegetLongLabel in class DefaultDisplayableDisplayable.getLongLabel()public javax.swing.Icon getIcon()
DefaultFolderElement interface. The default implementation
returns null, which causes a default folder icon to be
used.
getIcon in interface DisplayablegetIcon in class DefaultFolderDisplayable.getIcon()public java.lang.String getToolTipText()
DisplayableDisplayable.
In many cases it may be appropriate for this method to return the
same value as Displayable.getLongLabel().
getToolTipText in interface DisplayablegetToolTipText in class DefaultDisplayableDisplayable.getToolTipText()public java.util.Iterator getChildren()
DefaultFolderElement interface. This implementation returns
an Iterator over the current list of children.
getChildren in interface ElementgetChildren in class DefaultFolderElement.getChildren()public void attach(Observer observer)
SubjectSubject interface
changes.
Implementors should do nothing when the same observer is added more
than once.
attach in interface Subjectobserver - the Observer interested in change notification
messages.public void detach(Observer observer)
SubjectSubject
interface changes.
Implementors should do nothing when the same observer is removed more
than once.
detach in interface Subjectobserver - the Observer disinterested in change
notification messages.
public void notifyObservers(java.lang.Object observed,
UpdateMessage change)
Subject
notifyObservers in interface Subjectobserved - the subject whose state has changed.change - what changed.public Attributes getAttributes()
ElementAttributes object that encodes the
attributes of the Element. Changing the attribute
settings on the return object changes the element attributes.
Subclasses should use their super class attributes object to
define their own attributes. This allows subclasses to
inherit their super class attributes. If a subclass does not
wish to inherit attributes, they should first call
getAttributes().clear() and define new attributes.
getAttributes in interface ElementgetAttributes in class DefaultElementElement.getAttributes()
|
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.