Extension SDK

oracle.jdeveloper.library
Class AbstractDerivedLibrary

java.lang.Object
  extended byoracle.ide.model.DefaultDisplayable
      extended byoracle.ide.model.DefaultElement
          extended byoracle.ide.model.DataElement
              extended byoracle.jdeveloper.library.AbstractLibrary
                  extended byoracle.jdeveloper.library.AbstractDerivedLibrary
All Implemented Interfaces:
Copyable, Data, Dependable, DerivedLibrary, Dirtyable, Displayable, Element, Library, Observer, SubDirtyable, Subject
Direct Known Subclasses:
ProjectLibrary

public abstract class AbstractDerivedLibrary
extends AbstractLibrary
implements DerivedLibrary, Observer

AbstractDerivedLibrary 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
AbstractDerivedLibrary()
          Default constructor.
 
Method Summary
protected  void checkPropertyChange(java.lang.String property, java.lang.String newProperty, java.util.Map properties, java.util.List output)
          Checks if the property is in the properties Map.
protected  void copyToImpl(AbstractDerivedLibrary copy)
           
 boolean equals(java.lang.Object o)
           
protected  boolean equalsImpl(AbstractDerivedLibrary other)
           
protected  void firePropertiesChanged(java.util.List pList)
          Fires a property a property change event using this object as the subject.
 java.lang.String getName()
           
 Element getSource()
          Returns the actual object on which the dependency is based.
 Folder getSourceOwner()
          Returns the Folder containing the source Element.
 java.net.URL getSourceOwnerURL()
           
 java.net.URL getSourceURL()
           
protected  boolean isPropertyChange(UpdateMessage change)
          Returns true if the update message is a PROPERTY_SET message.
 void setDefaultClassPath(URLPath clsPath)
           
 void setDefaultDocPath(URLPath docPath)
           
 void setDefaultSourcePath(URLPath srcPath)
           
 void setSourceOwnerURL(java.net.URL url)
           
 void setSourceURL(java.net.URL url)
           
 
Methods inherited from class oracle.jdeveloper.library.AbstractLibrary
attach, copyToImpl, detach, equalsImpl, getOwner, getShortLabel, isDirty, isLocked, markDirty, notifyObservers, setLocked, setName, setOwner
 
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, isLocked, setLocked, setName
 
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, getShortLabel, getToolTipText, toString
 
Methods inherited from interface oracle.ide.util.Copyable
copyTo
 
Methods inherited from interface oracle.ide.model.SubDirtyable
setOwner
 
Methods inherited from interface oracle.ide.model.Dirtyable
isDirty, markDirty
 
Methods inherited from interface oracle.ide.addin.Subject
attach, detach, notifyObservers
 
Methods inherited from interface oracle.ide.model.Dependable
getDependencies
 
Methods inherited from interface oracle.ide.addin.Observer
update
 

Constructor Detail

AbstractDerivedLibrary

public AbstractDerivedLibrary()
Default constructor. Required for JavaBean status.

Method Detail

getSourceURL

public java.net.URL getSourceURL()
Specified by:
getSourceURL in interface DerivedLibrary

setSourceURL

public void setSourceURL(java.net.URL url)
Specified by:
setSourceURL in interface DerivedLibrary

getSourceOwnerURL

public java.net.URL getSourceOwnerURL()
Specified by:
getSourceOwnerURL in interface DerivedLibrary

setSourceOwnerURL

public void setSourceOwnerURL(java.net.URL url)
Specified by:
setSourceOwnerURL in interface DerivedLibrary

getName

public java.lang.String getName()
                         throws TransientMarker
Specified by:
getName in interface Library
Overrides:
getName in class AbstractLibrary
Throws:
TransientMarker

setDefaultSourcePath

public void setDefaultSourcePath(URLPath srcPath)
Specified by:
setDefaultSourcePath in interface Library

setDefaultClassPath

public void setDefaultClassPath(URLPath clsPath)
Specified by:
setDefaultClassPath in interface Library

setDefaultDocPath

public void setDefaultDocPath(URLPath docPath)
Specified by:
setDefaultDocPath in interface Library

getSource

public Element getSource()
Description copied from interface: Dependable
Returns the actual object on which the dependency is based.

Specified by:
getSource in interface Dependable

getSourceOwner

public Folder getSourceOwner()
Description copied from interface: Dependable
Returns the Folder containing the source Element.

Specified by:
getSourceOwner in interface Dependable

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class AbstractLibrary

equalsImpl

protected final boolean equalsImpl(AbstractDerivedLibrary other)

copyToImpl

protected final void copyToImpl(AbstractDerivedLibrary copy)

checkPropertyChange

protected void checkPropertyChange(java.lang.String property,
                                   java.lang.String newProperty,
                                   java.util.Map properties,
                                   java.util.List output)
Checks if the property is in the properties Map. If it is, it adds a PropertyChangeEvent to the output List with the newProperty name.


firePropertiesChanged

protected void firePropertiesChanged(java.util.List pList)
Fires a property a property change event using this object as the subject.


isPropertyChange

protected boolean isPropertyChange(UpdateMessage change)
Returns true if the update message is a PROPERTY_SET message.


Extension SDK

 

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