Obtain EditPart from View model od domain model element [message #480482] |
Mon, 17 August 2009 11:12 |
Eclipse User |
|
|
|
Originally posted by: ymanko.yahoo.com
Hello,
I couldn't find answer nowhere in documentation, so I must post this
(probably trivial) question here:
Can I and how can I obtain EditPart if I have just instance element of my
domain model or its View? If this is possible, it is probably done using
some methods that uses reflection, but couldn't find them.
Thanks for your time and help,
Yegor Manko
|
|
|
|
Re: Obtain EditPart from View model od domain model element [message #480546 is a reply to message #480492] |
Mon, 17 August 2009 15:18 |
Eclipse User |
|
|
|
Originally posted by: ymanko.yahoo.com
Thank you for your response.
Just small follow-up:
Do I need to subclass this class CrossReferenceAdapter, reimplement some
of its methods to react to changes and attach it to each view? Like:
view.eAdapters().add(new XXXCrossReferenceAdapter())
Or you thought of some other way of utilizing this class?
Thank you,
Yegor Manko
|
|
|
Powered by
FUDForum. Page generated in 0.03264 seconds