findModel(IProject project) Returns the plug-in model corresponding to the given project, or null
if the project does not represent a plug-in project or if it contains a manifest file
that is malformed or missing vital information.
getActiveModels() Returns all plug-ins and fragments in the workspace as well as all plug-ins and fragments that are
checked on the Target Platform preference page.
getActiveModels(boolean includeFragments) Returns all plug-ins and (possibly) fragments in the workspace as well as all plug-ins and (possibly)
fragments that are checked on the Target Platform preference page.
getAllModels() Returns all plug-ins and fragments in the workspace as well as all target plug-ins and fragments, regardless
whether or not they are checked or not on the Target Platform preference page.
getAllModels(boolean includeFragments) Returns all plug-ins and (possibly) fragments in the workspace as well as all plug-ins
and (possibly) fragments, regardless whether or not they are
checked on the Target Platform preference page.
Returns a model entry containing all workspace and target plug-ins by the given ID
Parameters: id - the plug-in ID a model entry containing all workspace and target plug-ins by the given ID
Returns the plug-in model for the best match plug-in with the given ID.
A null value is returned if no such bundle is found in the workspace or target platform.
A workspace plug-in is always preferably returned over a target plug-in.
A plug-in that is checked/enabled on the Target Platform preference page is always
preferably returned over a target plug-in that is unchecked/disabled.
In the case of a tie among workspace plug-ins or among target plug-ins,
the plug-in with the highest version is returned.
In the case of a tie among more than one suitable plug-in that have the same version,
one of those plug-ins is randomly returned.
Parameters: id - the plug-in ID the plug-in model for the best match plug-in with the given ID
Returns the plug-in model corresponding to the given project, or null
if the project does not represent a plug-in project or if it contains a manifest file
that is malformed or missing vital information.
Parameters: project - the project a plug-in model corresponding to the project or null if the projectis not a plug-in project
Returns a plug-in model associated with the given bundle description
Parameters: desc - the bundle description a plug-in model associated with the given bundle description or nullif none exists
Returns all plug-ins and (possibly) fragments in the workspace as well as all plug-ins and (possibly)
fragments that are checked on the Target Platform preference page.
If a workspace plug-in/fragment has the same ID as a target plug-in, the target counterpart
is skipped and not included.
The returned result includes fragments only if includeFragments
is set to true
Parameters: includeFragments - a boolean indicating if fragments are desired in the returnedresult all plug-ins and (possibly) fragments in the workspace as well as all plug-ins and (possibly) fragments that are checked on the Target Platform preference page.
Returns all plug-ins and fragments in the workspace as well as all target plug-ins and fragments, regardless
whether or not they are checked or not on the Target Platform preference page.
If a workspace plug-in/fragment has the same ID as a target plug-in, the target counterpart
is skipped and not included.
Equivalent to getAllModels(true)
all plug-ins and fragments in the workspace as well as all target plug-ins and fragments, regardless whether or not they are checked on the Target Platform preference page.
Returns all plug-ins and (possibly) fragments in the workspace as well as all plug-ins
and (possibly) fragments, regardless whether or not they are
checked on the Target Platform preference page.
If a workspace plug-in/fragment has the same ID as a target plug-in/fragment, the target counterpart
is skipped and not included.
The returned result includes fragments only if includeFragments
is set to true
Parameters: includeFragments - a boolean indicating if fragments are desired in the returnedresult ll plug-ins and (possibly) fragments in the workspace as well as all plug-ins and (possibly) fragments, regardless whether or not they arechecked on the Target Platform preference page.
Returns true if neither the workspace nor target contains plug-ins;
false otherwise.
true if neither the workspace nor target contains plug-ins;false otherwise.