public interface IPluginImport extends IPluginObject, IPluginReference
| Modifier and Type | Field and Description |
|---|---|
static String |
P_OPTIONAL
A name of the property that will be used to notify
about changes in the "optional" field.
|
static String |
P_REEXPORTED
A name of the property that will be used to notify
about changes in the "reexported" field.
|
P_NAMEP_MATCH, P_VERSIONP_IDCOMPATIBLE, EQUIVALENT, GREATER_OR_EQUAL, NONE, PERFECT, PREFIX, RULE_COMPATIBLE, RULE_EQUIVALENT, RULE_GREATER_OR_EQUAL, RULE_NAME_TABLE, RULE_PERFECT, RULE_PREFIX| Modifier and Type | Method and Description |
|---|---|
boolean |
isOptional()
Tests whether this import is optional.
|
boolean |
isReexported()
Tests whether the imported plug-in is reexported for
plug-ins that will use this plug-in.
|
void |
setOptional(boolean value)
Sets whether this import is optional.
|
void |
setReexported(boolean value)
Sets whether the libraries of the required plug-in will
be reexported.
|
getModel, getName, getParent, getPluginBase, getPluginModel, getResourceString, getTranslatedName, isInTheModel, isValid, setInTheModel, setNamegetAdaptergetMatch, getVersion, setMatch, setVersiongetId, setIdstatic final String P_REEXPORTED
static final String P_OPTIONAL
boolean isReexported()
boolean isOptional()
void setReexported(boolean value)
throws CoreException
value - true if reexporting is desiredCoreException - if the model is not editablevoid setOptional(boolean value)
throws CoreException
value - true if import is optionalCoreException - if the model is not editable
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.