|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 interface is not intended to be implemented by clients.
IPluginDescriptor.getRuntimeLibraries()
Field Summary | |
static String |
CODE
Constant string (value "code") indicating the code library type. |
static String |
RESOURCE
Constant string (value "resource") indicating the resource library type. |
Method Summary | |
String[] |
getContentFilters()
Returns the content filters, or null . |
IPath |
getPath()
Returns the path of this runtime library, relative to the installation location. |
String |
getType()
Returns this library's type. |
boolean |
isExported()
Returns whether the library is exported. |
boolean |
isFullyExported()
Returns whether this library is fully exported. |
Field Detail |
public static final String CODE
LibraryModel.CODE
,
Constant Field Valuespublic static final String RESOURCE
LibraryModel.RESOURCE
,
Constant Field ValuesMethod Detail |
public String[] getContentFilters()
null
.
Each content filter identifies a specific class, or
a group of classes, using a notation and matching rules
equivalent to Java import
declarations
(e.g., "java.io.File", or "java.io.*"). Returns null
if the library is not exported, or it is fully exported
(no filtering).
null if none
public IPath getPath()
IPluginDescriptor.getInstallURL()
public String getType()
CODE
and RESOURCE
.CODE
,
RESOURCE
public boolean isExported()
true
if the library is exported, false
if it is privatepublic boolean isFullyExported()
true
if the library is fully exported, and
false
if it is private or has filtered content
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |