EGF Engine
Release 0.1.0

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

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
All Implemented Interfaces:
IPluginChangesCommand
Direct Known Subclasses:
SetGeneratedPackageCommand, UnsetGeneratedPackageCommand, UpdateGeneratedPackageCommand

public abstract class AbstractGeneratedPackageCommand
extends AbstractExtensionChangesCommand

Base class to implement commands that deal with the org.eclipse.emf.ecore.generated_package extension in plug-ins.


Constructor Summary
AbstractGeneratedPackageCommand(String uri_p)
          Constructor.
 
Method Summary
protected  String getExtensionChildIdAttribute()
          Get the id attribute of the children for the extension.
protected  String getExtensionChildName()
          Get the node name of the children for the extension.
protected  String getExtensionPointId()
          Get the extension point id.
protected  String getUri()
          Get the URI.
 
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
execute, getPluginModelBase, setPluginModelBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractGeneratedPackageCommand

public AbstractGeneratedPackageCommand(String uri_p)
Constructor.

Parameters:
uri_p - An URI that uniquely identifies an Ecore package.
Method Detail

getExtensionChildName

protected String getExtensionChildName()
Description copied from class: AbstractExtensionChangesCommand
Get the node name of the children for the extension.

Specified by:
getExtensionChildName in class AbstractExtensionChangesCommand
Returns:
See Also:
AbstractExtensionChangesCommand.getExtensionChildName()

getExtensionPointId

protected String getExtensionPointId()
Description copied from class: AbstractExtensionChangesCommand
Get the extension point id.

Specified by:
getExtensionPointId in class AbstractExtensionChangesCommand
Returns:
See Also:
AbstractExtensionChangesCommand.getExtensionPointId()

getExtensionChildIdAttribute

protected String getExtensionChildIdAttribute()
Description copied from class: AbstractExtensionChangesCommand
Get the id attribute of the children for the extension.

Overrides:
getExtensionChildIdAttribute in class AbstractExtensionChangesCommand
Returns:
See Also:
AbstractExtensionChangesCommand.getExtensionChildIdAttribute()

getUri

protected String getUri()
Get the URI.

Returns:
a String that uniquely identifies an Ecore package.

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.