[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: Custom code after initialization (Short question)

hi ed,

maybe it would be worth it executing the EditHelper for the root/canvas element?

should I file a feature request?

-stefan

Ed Merks wrote:
Tomas,

This sounds like purely a GMF question so I've added the GMF newsgroup to the "to" list of the reply so it can be answered there.


Tomas Zijdemans wrote:
Hi all :)

I'm trying to execute some model specific code after a diagram has been initialized (add some elements that always should be present at startup). I've experimented with the constructor of the diagram element, but this constructor gets called many times at startup, and my code should only be run once per diagram. Where should I rather put my code?


Best Regards,

Tomas Zijdemans