EGF Engine
Release 0.1.0

org.eclipse.egf.pde.pattern.plugin.command
Class PatternExtensionFactory

java.lang.Object
  extended by org.eclipse.egf.pde.pattern.plugin.command.PatternExtensionFactory

public class PatternExtensionFactory
extends Object

Pattern commands factory.
Created commands perform plug-in changes in the extension section.


Constructor Summary
PatternExtensionFactory()
           
 
Method Summary
static IPluginChangesCommand setPatternExtension(String patternShortId_p, String patternName_p, String definition_p)
          Create a set pattern extension command for given parameters.
static IPluginChangesCommand setPatternLibraryExtension(String patternLibraryFullId_p, String libraryName_p, String productionOrchestration_p, String runtimeOrchestration_p)
          Create a set pattern library extension command for given parameters.
static IPluginChangesCommand unsetPatternExtension(String patternShortId_p)
          Create an unset pattern extension command for given parameters.
static IPluginChangesCommand unsetPatternLibraryExtension(String patternLibraryFullId_p)
          Create an unset pattern library extension command for given parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternExtensionFactory

public PatternExtensionFactory()
Method Detail

setPatternExtension

public static IPluginChangesCommand setPatternExtension(String patternShortId_p,
                                                        String patternName_p,
                                                        String definition_p)
Create a set pattern extension command for given parameters.

Parameters:
patternShortId_p - Pattern full id as defined by the pattern plug-in.
patternName_p -
definition_p - the relative path in the workspace to the ecore file that defines the pattern.
Returns:

unsetPatternExtension

public static IPluginChangesCommand unsetPatternExtension(String patternShortId_p)
Create an unset pattern extension command for given parameters.

Parameters:
patternShortId_p - Pattern full id as defined by the pattern plug-in.
Returns:

setPatternLibraryExtension

public static IPluginChangesCommand setPatternLibraryExtension(String patternLibraryFullId_p,
                                                               String libraryName_p,
                                                               String productionOrchestration_p,
                                                               String runtimeOrchestration_p)
Create a set pattern library extension command for given parameters.

Parameters:
patternLibraryFullId_p - Pattern library full id as defined by the pattern plug-in.
libraryName_p -
productionOrchestration_p -
runtimeOrchestration_p -
Returns:

unsetPatternLibraryExtension

public static IPluginChangesCommand unsetPatternLibraryExtension(String patternLibraryFullId_p)
Create an unset pattern library extension command for given parameters.

Parameters:
patternLibraryFullId_p - Pattern library full id as defined by the pattern plug-in.
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.