Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » getPropertyDescriptors not being called
getPropertyDescriptors not being called [message #71418] Sun, 29 October 2006 20:15
Eclipse UserFriend
Hello all,

Does anyone know what might prevent getPropertyDescriptors from being called
when a diagram is being run, while it gets called fine when the EMF editor
is being run? Here's a few details:

I have two classes, call them Branch and Division. Both have an attribute
called name. Branch originally had an edit/display mask of "{0} Branch" and
Division had no edit/display mask. At that point, everything was fine. I
deleted the edit/display mask for Branch so it would be consistent with
Division. That is the only thing I know of that is at all different about
these two.

Now, I can see the name attribute in either of them when running an EMF
editor, but I don't see the name attribute for Branch when running a GMF
diagram and clicking a Branch figure. Thinking something got "dirty"
someplace, I deleted gmfgen and the diagram project and regenerated all -
nothing. I've tried deleting the mapping for Branch and re-added it -
nothing. I have tried adding a second attribute to Branch - don't see
either of them. It's as though EMF is ignored for this diagram figure.
I've been fighting with this for two days and have gotten no-where.

I put a breakpoint in getPropertyDescriptors for both classes - it get's hit
when running editor project or diagram project for Division, yet only gets
called when running editor project for Branch. It doesn't even get called
when running the diagram project!

Does anyone know what could be causing this? It's driving me crazy! Thanks
for any help.
Previous Topic:exporting ecore diagrams to svg: how to link out of the document.
Next Topic:How to make diagram files survive plugin code regeneration?
Goto Forum:
  


Current Time: Sat May 10 05:52:07 EDT 2025

Powered by FUDForum. Page generated in 0.02849 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top