Thanks for helping Alex,
but the Thing is, that it has to be dinamicly. This means that I have
the properties for an Element on external .ecore file. I read this
file and then decide how many Palette Entries should I create. I.e. we
have "MyElement" and we have a Palette Entry for unspecified
"MyElement", but from the external .ecore file, we read that we have
there "MyElement" with set properties.In this case we can have i.e. 10
different "MyElements" with different properties and for this 10
"MyElements" we have 10 different Palette Entries. The parsing from
the file is already done. I distinguish every Element and I'm at the
point where I have to create Pelette Entry, which itself has to have a
proper Create Tool.So the problem now is how GMF will work with a
Creation Factory which I have written. My Creation Factory can read
the properties and the getNewObject() Method gives back the Element
from the external .ecore whit set properties. As I have seen GMF
passes only "IElementType"s and than decides which Element should EMF
create.
I'll be very thankful if somebody can help me with an advice or something
Cheers!
Martin