|
Re: Merging GMF with existing RCP product [message #193270 is a reply to message #193119] |
Wed, 18 June 2008 11:44 |
Eclipse User |
|
|
|
Originally posted by: sa****.hotmail.com
Ali wrote:
> Hi,
> The RCP support in GMF works all fine when GMF application is in charge.
> However, when there is an existing RCP product (or application), what is
> the best way of merging GMF with this?
Maybe this acn clarify the question: Once a GMF diagram plugin is
generated, what's the best way of selecting the desired features, eg menu
or toolbar commands, and add them to an existing application class? The
aim is to re-use most of the already generated GMF UI contributions
without re-implementing them. In other words, how is it possible to create
our own 'customised lite GMF'?
|
|
|
|
Re: Merging GMF with existing RCP product [message #193373 is a reply to message #193341] |
Wed, 18 June 2008 23:43 |
Eclipse User |
|
|
|
Originally posted by: sa****.hotmail.com
Artun,
Thank you for your comments. The integration of GMF editor to the RCP
application is the easy step. But, I'm not sure about modifying plugin.xml
of GMF editor, as any changes in plugin.xml is lost after generating
diagram code--there is no '@generated NOT' for plugin.xml.
Is there any other ways of doing this? The gmfgen file does not seem to
have a full control over actions, eg, how to get rid of 'Open URI...' in
gmfgen?
-Ali
Artun Subasi wrote:
> Hi Ali
> Choose your main RCP application and click on Run as -> Open Run
> Dialog... Go to the plug-ins tab and select "plug-ins selected below
> only". Choose your generated GMF plug-ins and any other plug-ins that
> you want to use and click on Add Required Plug-ins. The GMF application
> should now be integrated in your RCP application.
> You can modify the plugin.xml file of the GMF application to customize
> its contributions.
> Regards,
> Artun
> Ali schrieb:
>> Ali wrote:
>>
>>> Hi,
>>
>>> The RCP support in GMF works all fine when GMF application is in
>>> charge. However, when there is an existing RCP product (or
>>> application), what is the best way of merging GMF with this?
>>
>>
>> Maybe this acn clarify the question: Once a GMF diagram plugin is
>> generated, what's the best way of selecting the desired features, eg
>> menu or toolbar commands, and add them to an existing application class?
>> The aim is to re-use most of the already generated GMF UI contributions
>> without re-implementing them. In other words, how is it possible to
>> create our own 'customised lite GMF'?
>>
|
|
|
Powered by
FUDForum. Page generated in 0.02925 seconds