|
Eclipse PDE Release 3.8 |
|||||||||
| 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 String |
CODE
A library type indicating the library contains code. |
static String |
P_CONTENT_FILTERS
A name of the property that will be used to notify about changes in the content filters. |
static String |
P_EXPORTED
A name of the property that will be used to notify about changes of the "exported" field. |
static String |
P_PACKAGES
A name of the property that will be used to notify about changes in the content filters. |
static String |
P_TYPE
A name of the property that will be used to notify about of the 'type' field. |
static 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(String filter)
Export a particular package in a library. |
String[] |
getContentFilters()
Returns optional context filters that should be applied to calculate what classes to export from this library. |
String[] |
getPackages()
Returns optional package prefixes that can be used to make library lookup faster.. |
String |
getType()
Returns the type of this library. |
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(String filter)
Remove a package from the export list. |
void |
setContentFilters(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(String[] packages)
Sets the optional package prefixes for this library. |
void |
setType(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 String P_EXPORTED
static final String P_PACKAGES
static final String P_CONTENT_FILTERS
static final String P_TYPE
static final String CODE
static final String RESOURCE
| Method Detail |
|---|
String[] getContentFilters()
String[] getPackages()
boolean isExported()
boolean isFullyExported()
String getType()
CODE or RESOURCE.
void setContentFilters(String[] filters)
throws CoreException
filters - an array of filter strings
CoreException - if the model is not editable
void addContentFilter(String filter)
throws CoreException
filter - a package name
CoreException - if the model is not editable
void removeContentFilter(String filter)
throws CoreException
filter - a package name
CoreException - if the model is not editable
void setPackages(String[] packages)
throws CoreException
packages - an array of package prefixes
CoreException - if the model is not editable
void setExported(boolean value)
throws CoreException
value - whether the types in the library should be exported
CoreException - if the model is not editable
void setType(String type)
throws CoreException
CODE or RESOURCE.
type - The library type
CoreException - if the model is not editable.
|
Eclipse PDE Release 3.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.