|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.egf.pde.plugin.command.AbstractChangesCommand
org.eclipse.egf.pde.plugin.command.AbstractManifestChangesCommand
org.eclipse.egf.pde.internal.plugin.manifest.command.AbstractRequiredPluginsCommand
public abstract class AbstractRequiredPluginsCommand
Implement a command that deals with required plug-ins in the Require-Bundle property of the manifest file.
| Constructor Summary | |
|---|---|
AbstractRequiredPluginsCommand(String[] requiredPlugins_p)
Constructor. |
|
| Method Summary | |
|---|---|
void |
execute()
Performs changes on the underlying plug-in. |
protected List<IPluginImport> |
getExistingImports()
Return the existing imports. |
protected String[] |
getRequiredPlugins()
Get the required plug-ins. |
protected abstract void |
handleRequiredPlugin(String requiredPlugin_p,
IBundlePluginModel bundlePluginModel_p,
List<IPluginImport> existingPluginImports_p)
Handle a required plug-in contained in the array provided in the constructor. |
protected IPluginImport |
pluginImportExists(String pluginImportId_p,
List<IPluginImport> existingPluginImports_p)
Whether or not a plug-in import exists for specified id in given list of plug-in import. |
| Methods inherited from class org.eclipse.egf.pde.plugin.command.AbstractManifestChangesCommand |
|---|
getBundlePluginModel |
| Methods inherited from class org.eclipse.egf.pde.plugin.command.AbstractChangesCommand |
|---|
getPluginModelBase, setPluginModelBase |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractRequiredPluginsCommand(String[] requiredPlugins_p)
requiredPlugins_p - | Method Detail |
|---|
public void execute()
IPluginChangesCommand
execute in interface IPluginChangesCommandexecute in class AbstractManifestChangesCommandIPluginChangesCommand.execute()
protected abstract void handleRequiredPlugin(String requiredPlugin_p,
IBundlePluginModel bundlePluginModel_p,
List<IPluginImport> existingPluginImports_p)
requiredPlugin_p - bundlePluginModel_p - existingPluginImports_p -
protected IPluginImport pluginImportExists(String pluginImportId_p,
List<IPluginImport> existingPluginImports_p)
pluginImportId_p - existingPluginImports_p -
null means found.protected List<IPluginImport> getExistingImports()
protected String[] getRequiredPlugins()
|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.