|
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.DataElement
oracle.jdeveloper.library.AbstractLibrary
AbstractLibrary class.
| Field Summary |
| Fields inherited from interface oracle.jdeveloper.library.Library |
LIBRARY_NAME_PROPERTY |
| Fields inherited from interface oracle.ide.addin.Subject |
OBJECT_MODIFIED |
| Constructor Summary | |
AbstractLibrary()
Default constructor. |
|
| 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. |
protected void |
copyToImpl(AbstractLibrary copy)
|
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. |
boolean |
equals(java.lang.Object o)
|
protected boolean |
equalsImpl(AbstractLibrary other)
|
java.lang.String |
getName()
|
protected Dirtyable |
getOwner()
|
java.lang.String |
getShortLabel()
Returns a short label that can be displayed to the user. |
boolean |
isDirty()
True if the data in the object has been modified. |
boolean |
isLocked()
|
void |
markDirty(boolean dirty)
Marks the data with the specified dirty state. |
void |
notifyObservers(java.lang.Object subject,
UpdateMessage change)
Notifies all observers that the state of the subject has changed. |
void |
setLocked(boolean isLocked)
|
void |
setName(java.lang.String name)
|
void |
setOwner(Dirtyable owner)
This method should be called to set the document in which a SubDirtyable implementation will be persisted. |
| Methods inherited from class oracle.ide.model.DefaultElement |
getAttributes, getChildren, getData, mayHaveChildren |
| Methods inherited from class oracle.ide.model.DefaultDisplayable |
getIcon, getLongLabel, getToolTipText, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.jdeveloper.library.Library |
getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath |
| Methods inherited from interface oracle.ide.model.Element |
getAttributes, getChildren, mayHaveChildren |
| Methods inherited from interface oracle.ide.model.Data |
getData |
| Methods inherited from interface oracle.ide.model.Displayable |
getIcon, getLongLabel, getToolTipText, toString |
| Methods inherited from interface oracle.ide.util.Copyable |
copyTo |
| Constructor Detail |
public AbstractLibrary()
| Method Detail |
public java.lang.String getName()
getName in interface Librarypublic void setName(java.lang.String name)
setName in interface Librarypublic boolean isLocked()
isLocked in interface Librarypublic void setLocked(boolean isLocked)
setLocked in interface Librarypublic void markDirty(boolean dirty)
DirtyablemarkDirty(...) instead of
setDirty(...) so that the JavaBeans
Introspector will not
mistakenly identify "dirty" as a JavaBean property.
markDirty in interface DirtyablemarkDirty in class DataElementpublic boolean isDirty()
Dirtyable
isDirty in interface DirtyableisDirty in class DataElementpublic void setOwner(Dirtyable owner)
SubDirtyableSubDirtyable implementation will be persisted.
setOwner in interface SubDirtyableowner - The Dirtyable object in which this
SubDirtyable will be saved.
public void notifyObservers(java.lang.Object subject,
UpdateMessage change)
Subject
notifyObservers in interface Subjectsubject - the subject whose state has changed.change - what changed.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 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 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()protected final void copyToImpl(AbstractLibrary copy)
protected Dirtyable getOwner()
public boolean equals(java.lang.Object o)
protected final boolean equalsImpl(AbstractLibrary other)
|
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.