| [news.eclipse.tools.gef] Re: Custom view and ... ?? |
I'm afraid I don't know what you mean. Perhaps someone else has a clue?
M.
That's the whole problem. You can't have direct reference to a model in View. When element in Editor was selected SelectionListener call selectionChange() in View object. Then using a IAdaptable (EditPart implements IAdaptable) i retrive data from EditPart as an Object of IMyProperties. Then I'm passing this object to the Viewer and I have this data displeyed in a View.
How to do this other way around, how to set data??