de.cau.cs.kieler.uml2
Class EditingUtil

java.lang.Object
  extended by de.cau.cs.kieler.uml2.EditingUtil

public final class EditingUtil
extends Object

Utility class for structure-based editing of the UML metamodel.

Rating red

Constructor Summary
EditingUtil()
           
 
Method Summary
static void setName(org.eclipse.uml2.uml.NamedElement namedElement, String name)
          Set the name of a named element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditingUtil

public EditingUtil()
Method Detail

setName

public static void setName(org.eclipse.uml2.uml.NamedElement namedElement,
                           String name)
Set the name of a named element. This is a workaround for Xtend cannot handle attributes of type String, but only EString.

Parameters:
namedElement - the named element to rename
name - the new name