|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.core.runtime.model.PluginModelObject
org.eclipse.core.runtime.model.LibraryModel
A runtime library declared in a plug-in. Libraries contribute elements to the search path. These contributions are specified as a path to a directory or Jar file. This path is always considered to be relative to the containing plug-in.
Libraries are typed. The type is used to determine to which search path the library's
contribution should be added. The valid types are: CODE and
RESOURCE.
This class may be instantiated, or further subclassed.
| Field Summary | |
|---|---|
static String |
CODE
Deprecated. Constant string (value "code") indicating the code library type. |
static String |
RESOURCE
Deprecated. Constant string (value "resource") indicating the resource library type. |
| Constructor Summary | |
|---|---|
LibraryModel()
Deprecated. Creates a new library model in which all fields are null. |
|
| Method Summary | |
|---|---|
String[] |
getExports()
Deprecated. Returns this library's export mask. |
String[] |
getPackagePrefixes()
Deprecated. |
String |
getType()
Deprecated. Returns this library's type. |
boolean |
isExported()
Deprecated. Returns whether or not any of the code in this library is exported. |
boolean |
isFullyExported()
Deprecated. Returns whether or not all of the code in this library is exported. |
void |
setExports(String[] value)
Deprecated. Sets this library's export mask. |
void |
setPackagePrefixes(String[] value)
Deprecated. Sets this library's package prefixes to be the specified array or null. |
void |
setType(String value)
Deprecated. Sets this library's type. |
| Methods inherited from class org.eclipse.core.runtime.model.PluginModelObject |
|---|
assertIsWriteable, getName, getStartLine, isReadOnly, markReadOnly, setLocalizedName, setName, setStartLine, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String CODE
public static final String RESOURCE
| Constructor Detail |
public LibraryModel()
null.
| Method Detail |
public String[] getExports()
nullpublic String getType()
CODE and RESOURCE.CODE,
RESOURCEpublic boolean isExported()
public boolean isFullyExported()
public void setExports(String[] value)
value - this library's export mask. May be null.public void setType(String value)
CODE and RESOURCE.
The given type value is canonicalized before being set.
This object must not be read-only.
value - the type of this library.CODE,
RESOURCEpublic String[] getPackagePrefixes()
ILibrary.getPackagePrefixes()public void setPackagePrefixes(String[] value)
null.
value - the list of package prefixes for this library
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.