Package org.eclipse.pde.core.plugin
Interface IPluginImport
- 
- All Superinterfaces:
- IAdaptable,- IIdentifiable,- IMatchRules,- IPluginObject,- IPluginReference,- IWritable
 
 public interface IPluginImport extends IPluginObject, IPluginReference Objects that implement this interface represent references to required plug-ins.- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringP_OPTIONALA name of the property that will be used to notify about changes in the "optional" field.static StringP_REEXPORTEDA name of the property that will be used to notify about changes in the "reexported" field.- 
Fields inherited from interface org.eclipse.pde.core.IIdentifiableP_ID
 - 
Fields inherited from interface org.eclipse.pde.core.plugin.IMatchRulesCOMPATIBLE, EQUIVALENT, GREATER_OR_EQUAL, NONE, PERFECT, PREFIX, RULE_COMPATIBLE, RULE_EQUIVALENT, RULE_GREATER_OR_EQUAL, RULE_NAME_TABLE, RULE_PERFECT, RULE_PREFIX
 - 
Fields inherited from interface org.eclipse.pde.core.plugin.IPluginObjectP_NAME
 - 
Fields inherited from interface org.eclipse.pde.core.plugin.IPluginReferenceP_MATCH, P_VERSION
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisOptional()Tests whether this import is optional.booleanisReexported()Tests whether the imported plug-in is reexported for plug-ins that will use this plug-in.voidsetOptional(boolean value)Sets whether this import is optional.voidsetReexported(boolean value)Sets whether the libraries of the required plug-in will be reexported.- 
Methods inherited from interface org.eclipse.core.runtime.IAdaptablegetAdapter
 - 
Methods inherited from interface org.eclipse.pde.core.IIdentifiablegetId, setId
 - 
Methods inherited from interface org.eclipse.pde.core.plugin.IPluginObjectgetModel, getName, getParent, getPluginBase, getPluginModel, getResourceString, getTranslatedName, isInTheModel, isValid, setInTheModel, setName
 - 
Methods inherited from interface org.eclipse.pde.core.plugin.IPluginReferencegetMatch, getVersion, setMatch, setVersion
 
- 
 
- 
- 
- 
Field Detail- 
P_REEXPORTEDstatic final String P_REEXPORTED A name of the property that will be used to notify about changes in the "reexported" field.- See Also:
- Constant Field Values
 
 - 
P_OPTIONALstatic final String P_OPTIONAL A name of the property that will be used to notify about changes in the "optional" field.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
isReexportedboolean isReexported() Tests whether the imported plug-in is reexported for plug-ins that will use this plug-in.- Returns:
- true if the required plug-in libraries are reexported
 
 - 
isOptionalboolean isOptional() Tests whether this import is optional. Optional imports will not create an error condition when they cannot be resolved.- Returns:
- true if this import is optional
 
 - 
setReexportedvoid setReexported(boolean value) throws CoreExceptionSets whether the libraries of the required plug-in will be reexported. This method will throw a CoreException if the model is not editable.- Parameters:
- value- true if reexporting is desired
- Throws:
- CoreException- if the model is not editable
 
 - 
setOptionalvoid setOptional(boolean value) throws CoreExceptionSets whether this import is optional. Optional imports will not create an error condition when they cannot be resolved.- Parameters:
- value- true if import is optional
- Throws:
- CoreException- if the model is not editable
 
 
- 
 
-