EGF Engine
Release 0.1.0

org.eclipse.egf.pde.internal.plugin.extension
Class MappingExtensionFactory

java.lang.Object
  extended by org.eclipse.egf.pde.internal.plugin.extension.MappingExtensionFactory
All Implemented Interfaces:
IMappingExtensionFactory

public class MappingExtensionFactory
extends Object
implements IMappingExtensionFactory

This factory creates commands to deal with mapping extension-point.


Method Summary
static MappingExtensionFactory getInstance()
          Get the unique instance.
 IPluginChangesCommand setMappingExtension(String mappingId_p, String mappingName_p, String path_p, String source_p, String target_p)
          Set an extension matching mapping extension-point for given parameters.
 IPluginChangesCommand unsetMappingExtension(String mappingId_p)
          Unset an extension matching mapping extension-point for given parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static MappingExtensionFactory getInstance()
Get the unique instance.

Returns:

setMappingExtension

public IPluginChangesCommand setMappingExtension(String mappingId_p,
                                                 String mappingName_p,
                                                 String path_p,
                                                 String source_p,
                                                 String target_p)
Description copied from interface: IMappingExtensionFactory
Set an extension matching mapping extension-point for given parameters.

Specified by:
setMappingExtension in interface IMappingExtensionFactory
Returns:
an IPluginChangesCommand instance that performs this change.
See Also:
IMappingExtensionFactory.setMappingExtension(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)

unsetMappingExtension

public IPluginChangesCommand unsetMappingExtension(String mappingId_p)
Description copied from interface: IMappingExtensionFactory
Unset an extension matching mapping extension-point for given parameters.

Specified by:
unsetMappingExtension in interface IMappingExtensionFactory
Returns:
an IPluginChangesCommand instance that performs this change.
See Also:
IMappingExtensionFactory.unsetMappingExtension(java.lang.String)

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.