EGF Engine
Release 0.1.0

org.eclipse.egf.pde.emf.internal.plugin.command
Class SetGeneratedPackageCommand

java.lang.Object
  extended by org.eclipse.egf.pde.plugin.command.AbstractChangesCommand
      extended by org.eclipse.egf.pde.plugin.command.AbstractExtensionChangesCommand
          extended by org.eclipse.egf.pde.emf.internal.plugin.command.AbstractGeneratedPackageCommand
              extended by org.eclipse.egf.pde.emf.internal.plugin.command.SetGeneratedPackageCommand
All Implemented Interfaces:
IPluginChangesCommand

public class SetGeneratedPackageCommand
extends AbstractGeneratedPackageCommand

Implement a command that sets the org.eclipse.emf.ecore.generated_package extension in plug-ins.


Constructor Summary
SetGeneratedPackageCommand(String uri_p, String packageClassName_p, String genModelPath_p)
          Constructor.
 
Method Summary
 void execute()
          Performs changes on the underlying plug-in.
 
Methods inherited from class org.eclipse.egf.pde.emf.internal.plugin.command.AbstractGeneratedPackageCommand
getExtensionChildIdAttribute, getExtensionChildName, getExtensionPointId, getUri
 
Methods inherited from class org.eclipse.egf.pde.plugin.command.AbstractExtensionChangesCommand
createExtension, createExtensionElementChild, getElement, getExtensionElementFromUniqueExtension, getExtensionElementFromUniqueExtension, getExtensionElementWithId, getExtensionElementWithNodeName, getExtensions, getExtensions, getFirstExtensionElement, removeExtension, removeExtensionElementChild, setDescription, setSingleChild
 
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

SetGeneratedPackageCommand

public SetGeneratedPackageCommand(String uri_p,
                                  String packageClassName_p,
                                  String genModelPath_p)
Constructor.

Parameters:
uri_p - An URI that uniquely identifies an Ecore package.
packageClassName_p - A fully qualified Java class name of the generated package interface.
genModelPath_p - A plug-in relative URI to the genmodel file for the package.
Method Detail

execute

public void execute()
Description copied from interface: IPluginChangesCommand
Performs changes on the underlying plug-in.

Specified by:
execute in interface IPluginChangesCommand
Overrides:
execute in class AbstractChangesCommand
See Also:
AbstractChangesCommand.execute()

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.