|
|
|
Re: images and gmf [message #810828 is a reply to message #810773] |
Thu, 01 March 2012 15:50 |
Svyatoslav Kovalsky Messages: 12 Registered: October 2011 |
Junior Member |
|
|
Hello!
The shortest way should be to introduce dedicated property of the semantic element,
and make figure dependent on the property (this was discussed on the forum and on the GMF wiki).
Than, a custom EditPolicy capable of handling GroupRequest of the REQ_OPEN type should be registered,
the EditPolicy should return ICommandProxy(SetValueCommand), which will change the semantic property.
You may check:
www eclipse org/forums/index.php/mv/tree/62604/
wiki eclipse org/GMF_Newsgroup_Q_and_A#How_can_I_synchronize_my_custom_figures_with_the_model.3F
Regards,
Svyatoslav Kovalsky
at Montages Think Tank, Prague, Czech Republic
Montages AG, Zürich, Switzerland
|
|
|
Powered by
FUDForum. Page generated in 0.02613 seconds