All Implemented Interfaces:
This CreateElementCallback display a CreateDialog to the user that allows setting initial Values for the newly
Author: Clemens Elflein
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
( afterCreateElement Object newElement)
Gets called after a new element was added to the domain model.
( beforeCreateElement Object newElement)
Gets called after the new Element has been added to the containment tree.
org.eclipse.emf.ecore.EObject newObject) initElement
before the new object has been added to containment tree.
Methods inherited from class java.lang.
Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void initElement(org.eclipse.emf.ecore.EObject parent,
before the new object has been added to containment tree. Users may make changes to the
newObject inside this method only. Changing the passed parent or reachable classes in any way might cause
unwanted side effects. The future parent is passed to this method for read only reasons in order to perform all
necessary init tasks.
parent - the future parent
reference - the parent reference
newObject - the newly created EObject, which should be initialized.
public boolean beforeCreateElement(
Gets called after the new Element has been added to the containment tree. This method may be used to allow the
user to modify the newly created element or to allow the user canceling the add.
newElement - The new element
true if the element should be kept in the containment tree,
false if it should
be removed again
Copyright © 2019. All rights reserved.