Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Merging GMF with existing RCP product
Merging GMF with existing RCP product [message #193119] Tue, 17 June 2008 17:09 Go to next message
Auerliano is currently offline AuerlianoFriend
Messages: 149
Registered: July 2009
Senior Member
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?
Re: Merging GMF with existing RCP product [message #193270 is a reply to message #193119] Wed, 18 June 2008 11:44 Go to previous messageGo to next message
Eclipse UserFriend
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 #193341 is a reply to message #193270] Wed, 18 June 2008 20:17 Go to previous messageGo to next message
Artun Subasi is currently offline Artun SubasiFriend
Messages: 20
Registered: July 2009
Junior Member
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'?
>
Re: Merging GMF with existing RCP product [message #193373 is a reply to message #193341] Wed, 18 June 2008 23:43 Go to previous message
Eclipse UserFriend
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'?
>>
Previous Topic:Customizing messages of Java Audit Rules
Next Topic:How to rotate text
Goto Forum:
  


Current Time: Fri Apr 26 03:09:46 GMT 2024

Powered by FUDForum. Page generated in 0.02925 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top