EGF Engine
Release 0.1.0

org.eclipse.egf.pde.internal.plugin.manifest.command
Class AbstractExportedPackagesCommand

java.lang.Object
  extended by org.eclipse.egf.pde.plugin.command.AbstractChangesCommand
      extended by org.eclipse.egf.pde.plugin.command.AbstractManifestChangesCommand
          extended by org.eclipse.egf.pde.internal.plugin.manifest.command.AbstractExportedPackagesCommand
All Implemented Interfaces:
IPluginChangesCommand
Direct Known Subclasses:
SetExportedPackagesCommand, UnsetExportedPackagesCommand

public class AbstractExportedPackagesCommand
extends AbstractManifestChangesCommand


Constructor Summary
AbstractExportedPackagesCommand(String[] exportedPackages_p)
          Constructor.
 
Method Summary
protected  List<String> getExistingPackages(IBundle bundle_p)
          Return the existing exported packages.
protected  String getExportedPackageHeader(IBundle bundle_p)
          Get the exported package header.
protected  String[] getExportedPackages()
          Get considered exported packages as an array of String.
protected  String getValue(String[] exportedPackages_p)
          Return the exported packages as one String.
 
Methods inherited from class org.eclipse.egf.pde.plugin.command.AbstractManifestChangesCommand
execute, 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

AbstractExportedPackagesCommand

public AbstractExportedPackagesCommand(String[] exportedPackages_p)
Constructor.

Parameters:
exportedPackages_p -
Method Detail

getExportedPackages

protected String[] getExportedPackages()
Get considered exported packages as an array of String.

Returns:

getExistingPackages

protected List<String> getExistingPackages(IBundle bundle_p)
Return the existing exported packages.

Parameters:
bundle_p -
Returns:
a not null list.

getValue

protected String getValue(String[] exportedPackages_p)
Return the exported packages as one String.

Parameters:
exportedPackages_p -
Returns:

getExportedPackageHeader

protected String getExportedPackageHeader(IBundle bundle_p)
Get the exported package header.

Parameters:
bundle_p -
Returns:

EGF Engine
Release 0.1.0

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.