|
Eclipse PDE Release 3.6 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPluginLibrary
The class that implements this interface represents a reference to the library that is defined in the plug-in manifest.
Field Summary | |
---|---|
static java.lang.String |
CODE
A library type indicating the library contains code. |
static java.lang.String |
P_CONTENT_FILTERS
A name of the property that will be used to notify about changes in the content filters. |
static java.lang.String |
P_EXPORTED
A name of the property that will be used to notify about changes of the "exported" field. |
static java.lang.String |
P_PACKAGES
A name of the property that will be used to notify about changes in the content filters. |
static java.lang.String |
P_TYPE
A name of the property that will be used to notify about of the 'type' field. |
static java.lang.String |
RESOURCE
A library type indicating the library contains resource files. |
Fields inherited from interface org.eclipse.pde.core.plugin.IPluginObject |
---|
P_NAME |
Method Summary | |
---|---|
void |
addContentFilter(java.lang.String filter)
Export a particular package in a library. |
java.lang.String[] |
getContentFilters()
Returns optional context filters that should be applied to calculate what classes to export from this library. |
java.lang.String[] |
getPackages()
Returns optional package prefixes that can be used to make library lookup faster.. |
java.lang.String |
getType()
Returns a type of this library (CODE or RESOURCE) |
boolean |
isExported()
Returns true if this library contains types that will be visible to other plug-ins. |
boolean |
isFullyExported()
Returns true if all the types in this library will be visible to other plug-ins. |
void |
removeContentFilter(java.lang.String filter)
Remove a package from the export list. |
void |
setContentFilters(java.lang.String[] filters)
Sets the optional content filters for this library. |
void |
setExported(boolean value)
Sets whether types in this library will be visible to other plug-ins. |
void |
setPackages(java.lang.String[] packages)
Sets the optional package prefixes for this library. |
void |
setType(java.lang.String type)
Sets the library type. |
Methods inherited from interface org.eclipse.pde.core.plugin.IPluginObject |
---|
getModel, getName, getParent, getPluginBase, getPluginModel, getResourceString, getTranslatedName, isInTheModel, isValid, setInTheModel, setName |
Methods inherited from interface org.eclipse.pde.core.IWritable |
---|
write |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
---|
static final java.lang.String P_EXPORTED
static final java.lang.String P_PACKAGES
static final java.lang.String P_CONTENT_FILTERS
static final java.lang.String P_TYPE
static final java.lang.String CODE
static final java.lang.String RESOURCE
Method Detail |
---|
java.lang.String[] getContentFilters()
java.lang.String[] getPackages()
boolean isExported()
boolean isFullyExported()
java.lang.String getType()
void setContentFilters(java.lang.String[] filters) throws CoreException
filters
- an array of filter strings
CoreException
void addContentFilter(java.lang.String filter) throws CoreException
filter
- a package name
CoreException
void removeContentFilter(java.lang.String filter) throws CoreException
filter
- a package name
CoreException
void setPackages(java.lang.String[] packages) throws CoreException
packages
- an array of package prefixes
CoreException
void setExported(boolean value) throws CoreException
CoreException
void setType(java.lang.String type) throws CoreException
CoreException
- if the model is not editable.
|
Eclipse PDE Release 3.6 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.