EGF Engine
Release 0.1.0

org.eclipse.egf.pde.emf.plugin.command
Class EmfExtensionFactory

java.lang.Object
  extended by org.eclipse.egf.pde.emf.plugin.command.EmfExtensionFactory

public class EmfExtensionFactory
extends Object

EMF extension commands factory.


Constructor Summary
EmfExtensionFactory()
           
 
Method Summary
static IPluginChangesCommand setEmfGeneratedPackageExtension(String uri_p, String packageClassName_p, String genModelPath_p)
          Create set EMF generated package extension command for given parameters.
static IPluginChangesCommand unsetEmfGeneratedPackageExtension(String uri_p)
          Create unset EMF 'generated_package' extension command for given URI.
static IPluginChangesCommand updateEmfGeneratedPackageExtension(String oldPackageUri_p, String newPackageUri_p)
          Create update EMF 'generated_package' extension for given URIs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmfExtensionFactory

public EmfExtensionFactory()
Method Detail

setEmfGeneratedPackageExtension

public static IPluginChangesCommand setEmfGeneratedPackageExtension(String uri_p,
                                                                    String packageClassName_p,
                                                                    String genModelPath_p)
Create set EMF generated package extension command for given parameters.

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.
Returns:

unsetEmfGeneratedPackageExtension

public static IPluginChangesCommand unsetEmfGeneratedPackageExtension(String uri_p)
Create unset EMF 'generated_package' extension command for given URI.

Parameters:
uri_p - An URI that uniquely identifies the Ecore package.
Returns:

updateEmfGeneratedPackageExtension

public static IPluginChangesCommand updateEmfGeneratedPackageExtension(String oldPackageUri_p,
                                                                       String newPackageUri_p)
Create update EMF 'generated_package' extension for given URIs.

Parameters:
oldPackageUri_p - The previous package URI.
newPackageUri_p - The new one.
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.