| [news.eclipse.modeling.gmf] Re: problem customizing edit plugin, PropertyDescriptor |
Okay, could this be a GMF problem?
In case someone still reads this thread:
Regards, Jan
I observe that the property is set twice: First the correct value is set, and then it is immediately set to another value. This happens when I use the properties view of the GMF editor. When I use the tree editor's properties view, everything is fine!
I attached the two stacks of the first and the second (erroneous) call of the objects set method. Here is where the second differs from the first
...
PropertySheetViewer.applyEditorValue() line: 258 PropertySheetViewer.setInput(Object) line: 963 PropertySheetPage.refresh() line: 471 TggPropertySection(AdvancedPropertySection).refresh() line: 188 AdvancedPropertySection$1.run() line: 215 RunnableLock.run() line: 35 UISynchronizer(Synchronizer).runAsyncMessages(boolean) line: 133 Display.runAsyncMessages(boolean) line: 3800 Display.readAndDispatch() line: 3425 ...
I don't understand why GMF would be interfering here. Any why the second call of the set method only occurs when I type/filter the given choices (e.g. "EPack..." to find the class EPackage more quickly). Maybe anyone of you has an idea? Otherwise, I'll dig deeper myself when I find the time.
Thanks
Joel