|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.model.DefaultDisplayable
oracle.ide.model.DefaultElement
oracle.jdeveloper.library.LibraryElement
oracle.jdeveloper.library.AbstractLibrary
oracle.jdeveloper.library.AddinLibrary
public final class AddinLibrary
Represents a library that was installed in an extension manifest's <libraries> hook.
This class is misnamed for historical reasons. It is not related to Addins.
Thread Safety: instances of this class are immutable, and can be used safely from multiple threads. A copy is taken of the (mutable) URLPath objects passed into the constructor, and these effectively immutable copies are always returned by getClassPath(), getSourcePath(), and getDocPath().
| Field Summary |
|---|
| Fields inherited from interface oracle.jdeveloper.library.JLibrary |
|---|
DEPLOYED_BY_DEFAULT_PROPERTY |
| Fields inherited from interface oracle.jdeveloper.library.Library |
|---|
LIBRARY_ID_PROPERTY, LIBRARY_NAME_PROPERTY |
| Fields inherited from interface oracle.jdeveloper.library.JPaths |
|---|
CLASSPATH_PROPERTY, DOCPATH_PROPERTY, ISLOCKED_PROPERTY, SOURCEPATH_PROPERTY |
| Constructor Summary | |
|---|---|
AddinLibrary(java.lang.String name, URLPath clsPath, URLPath srcPath, URLPath docPath, java.lang.Boolean deployed) |
|
AddinLibrary(java.lang.String name, URLPath clsPath, URLPath srcPath, URLPath docPath, java.lang.Boolean deployed, java.lang.Boolean forceExtInit, java.lang.String providerExtension) |
|
| Method Summary | |
|---|---|
URLPath |
getClassPath() |
JLibraryDefinition |
getDefaultLibraryDefinition()Deprecated. JDK based versions desupported. Use JLibrary directly. |
java.lang.Boolean |
getDeployedByDefault() |
URLPath |
getDocPath() |
boolean |
getForceExtensionInitialization()Gets whether or not the extension that provided the library should be initialized if the library is referenced |
javax.swing.Icon |
getIcon()This implementation returns a plain document icon. |
JLibraryDefinition |
getLibraryDefinition(VersionNumber jdkVer)Deprecated. JDK based versions desupported. Use JLibrary directly. |
java.lang.String |
getLongLabel()This implementation delegates to DefaultDisplayable.getShortLabel(). |
java.lang.String |
getName() |
java.lang.String |
getProviderExtensionId()Gets the id of the extension that provided this library may be null |
java.lang.String |
getShortLabel()This implementation returns a place-holder String. |
URLPath |
getSourcePath() |
void |
markDirty(boolean dirty)Marks the data with the specified dirty state. |
void |
setClassPath(URLPath clsPath) |
void |
setDefaultClassPath(URLPath clsPath)Deprecated. |
void |
setDefaultDocPath(URLPath docPath)Deprecated. |
void |
setDefaultSourcePath(URLPath srcPath)Deprecated. |
void |
setDeployedByDefault(java.lang.Boolean deployed) |
void |
setDocPath(URLPath docPath) |
void |
setLocked(boolean isLocked) |
void |
setName(java.lang.String name) |
void |
setSourcePath(URLPath srcPath) |
| Methods inherited from class oracle.jdeveloper.library.AbstractLibrary |
|---|
copyToImpl, equals, equalsImpl, equivalent, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getID, initFromLibrary, isDirty, isLocked |
| Methods inherited from class oracle.ide.model.DefaultElement |
|---|
getAttributes, getChildren, getData, mayHaveChildren |
| Methods inherited from class oracle.ide.model.DefaultDisplayable |
|---|
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 |
|---|
equivalent, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getID, initFromLibrary |
| Methods inherited from interface oracle.jdeveloper.library.JPaths |
|---|
isLocked |
| Methods inherited from interface oracle.ide.model.Displayable |
|---|
getToolTipText, toString |
| Constructor Detail |
|---|
public AddinLibrary(java.lang.String name,
URLPath clsPath,
URLPath srcPath,
URLPath docPath,
java.lang.Boolean deployed)
public AddinLibrary(java.lang.String name,
URLPath clsPath,
URLPath srcPath,
URLPath docPath,
java.lang.Boolean deployed,
java.lang.Boolean forceExtInit,
java.lang.String providerExtension)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface Librarypublic URLPath getClassPath()
getClassPath in interface JPathspublic URLPath getSourcePath()
getSourcePath in interface JPathspublic URLPath getDocPath()
getDocPath in interface JPaths
public java.lang.Boolean getDeployedByDefault()
throws AttributeMarker
getDeployedByDefault in interface JLibraryAttributeMarkerpublic java.lang.String getShortLabel()
DefaultDisplayableString.getShortLabel in interface DisplayablegetShortLabel in class AbstractLibraryDisplayable that can be shown to the user.Displayable.getShortLabel()public java.lang.String getLongLabel()
DefaultDisplayableDefaultDisplayable.getShortLabel().getLongLabel in interface DisplayablegetLongLabel in class DefaultDisplayableDisplayable that can be shown to the user.Displayable.getLongLabel()public javax.swing.Icon getIcon()
DefaultDisplayablegetIcon in interface DisplayablegetIcon in class AbstractLibraryIcon to be displayed for the Displayable.Displayable.getIcon()public JLibraryDefinition getDefaultLibraryDefinition()
getDefaultLibraryDefinition in interface JLibrarypublic JLibraryDefinition getLibraryDefinition(VersionNumber jdkVer)
getLibraryDefinition in interface JLibrarypublic void setDeployedByDefault(java.lang.Boolean deployed)
setDeployedByDefault in interface JLibraryjava.lang.UnsupportedOperationException - instances of this class are immutable.public 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 AbstractLibrarydirty - If true, sets the object as being dirty; if false, sets the object as being up-to-date.java.lang.UnsupportedOperationException - instances of this class are immutable.public void setClassPath(URLPath clsPath)
setClassPath in interface JPathssetClassPath in class AbstractLibraryjava.lang.UnsupportedOperationException - instances of this class are immutable.public void setDefaultClassPath(URLPath clsPath)
setDefaultClassPath in interface LibrarysetDefaultClassPath in class AbstractLibraryjava.lang.UnsupportedOperationException - instances of this class are immutable.public void setDefaultDocPath(URLPath docPath)
setDefaultDocPath in interface LibrarysetDefaultDocPath in class AbstractLibraryjava.lang.UnsupportedOperationException - instances of this class are immutable.public void setDefaultSourcePath(URLPath srcPath)
setDefaultSourcePath in interface LibrarysetDefaultSourcePath in class AbstractLibraryjava.lang.UnsupportedOperationException - instances of this class are immutable.public void setDocPath(URLPath docPath)
setDocPath in interface JPathssetDocPath in class AbstractLibraryjava.lang.UnsupportedOperationException - instances of this class are immutable.public void setLocked(boolean isLocked)
setLocked in interface JPathssetLocked in class AbstractLibraryjava.lang.UnsupportedOperationException - instances of this class are immutable.public void setName(java.lang.String name)
setName in interface LibrarysetName in class AbstractLibraryjava.lang.UnsupportedOperationException - instances of this class are immutable.public void setSourcePath(URLPath srcPath)
setSourcePath in interface JPathssetSourcePath in class AbstractLibraryjava.lang.UnsupportedOperationException - instances of this class are immutable.public boolean getForceExtensionInitialization()
public java.lang.String getProviderExtensionId()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||