Modelers

org.topcased.modeler.commands
Class AbstractDocumentationResourcesCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by org.topcased.modeler.commands.AbstractDocumentationResourcesCommand
Direct Known Subclasses:
AddDocumentationResourcesCommand, RemoveDocumentationResourcesCommand

public abstract class AbstractDocumentationResourcesCommand
extends org.eclipse.gef.commands.Command

A class defining an abstract command for documentation resources. It offers methods to add and removes a map of resources from an EAnnotation. Describe the class here
Creation : 10 oct. 2005


Constructor Summary
protected AbstractDocumentationResourcesCommand(EModelElement element, java.util.Map resources)
          Constructor
 
Method Summary
protected  void addResources()
          Adds the registered map of resources to the EModelElement
protected  void removeResources()
          Removes the registered map of resources from the EModelElement
 
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canUndo, chain, dispose, execute, getDebugLabel, getLabel, redo, setDebugLabel, setLabel, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDocumentationResourcesCommand

protected AbstractDocumentationResourcesCommand(EModelElement element,
                                                java.util.Map resources)
Constructor

Parameters:
element - the modified model object
resources - the list of annotated ressources
Method Detail

addResources

protected void addResources()
Adds the registered map of resources to the EModelElement


removeResources

protected void removeResources()
Removes the registered map of resources from the EModelElement


Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.