Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » No Application is generated
No Application is generated [message #657368] Wed, 02 March 2011 10:04 Go to next message
akoeck is currently offline akoeck
Messages: 62
Registered: December 2010
Member
Somehow I got the strange behaviour, that the Application is not generated.
Everything is generated, but the package with the application, the perspective and so on is missing.

How can I get the application to be generated?
Re: No Application is generated [message #658454 is a reply to message #657368] Tue, 08 March 2011 10:16 Go to previous messageGo to next message
akoeck is currently offline akoeck
Messages: 62
Registered: December 2010
Member
I just want to ask if nobody knows why this could happen, or if somone already got the same problem.

I've tried it with 2 different Versions of GMF and on Helios and Galileo. But the application is not generated.
Re: No Application is generated [message #658543 is a reply to message #658454] Tue, 08 March 2011 16:38 Go to previous messageGo to next message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 897
Registered: July 2009
Senior Member
On 08-03-11 16:16, akoeck@gmx.de wrote:
> I just want to ask if nobody knows why this could happen, or if somone
> already got the same problem.
>
Hi,You provide no details about which actions lead to an unexpected
result. We could perhaps respond to your issue, with more information.
For a start, what is "the application", GMF will generate a diagram
plugin, which will either be RCP or a regular plugin. In case RCP is
selected when generating the .gmfgen file, there will be an IApplication
declaration in the plugin.


> I've tried it with 2 different Versions of GMF and on Helios and
> Galileo. But the application is not generated.
Re: No Application is generated [message #658586 is a reply to message #658543] Wed, 09 March 2011 02:23 Go to previous messageGo to next message
akoeck is currently offline akoeck
Messages: 62
Registered: December 2010
Member
Ok, I have seen my mistake. I have at first generated an RCP so the application package was just a leftover. So I thought that there must always be this package.

Christophe Bouhier wrote on Tue, 08 March 2011 16:38
On 08-03-11 16:16, akoeck@gmx.de wrote:
> I just want to ask if nobody knows why this could happen, or if somone
> already got the same problem.
>
Hi,You provide no details about which actions lead to an unexpected
result. We could perhaps respond to your issue, with more information.
For a start, what is "the application", GMF will generate a diagram
plugin, which will either be RCP or a regular plugin. In case RCP is
selected when generating the .gmfgen file, there will be an IApplication
declaration in the plugin.

> I've tried it with 2 different Versions of GMF and on Helios and
> Galileo. But the application is not generated.

[Updated on: Wed, 09 March 2011 05:29]

Report message to a moderator

Re: No Application is generated [message #658634 is a reply to message #658586] Wed, 09 March 2011 05:40 Go to previous message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 897
Registered: July 2009
Senior Member
On 09-03-11 08:23, akoeck@gmx.de wrote:
> I want to generate a plugin. In an earlier project I also got an package
> ending with application. In this package there was the ActionBarAdvisor,
> the Perspective, the WorkbenchAdvisor, the WorkbenchWindowAdvisor, the
> Application (implementation of IApplication) and wizard for file
> creation. But now this is not generated. Or is this all part of the RCP
> instead the Plug-In
Yes, with RCP, you will get the classes you mention. (Use the GMF
Dashboard, there is a checkbox for RCP, you'll find the dash board in
Window->Show View->General->GMF Dashboard).

if so, how do I run my Plug-In without the
> Application or a define the Perspective?

There a few options. (BTW, this is not a GMF specific question, but
generic Eclipse platform stuff).

- Right-click-> Run AS-> Eclipse App (This will launch a new eclipse,
with the target platform plugins + your plugin included, you will be
able to File->New and find your model diagram there).

- Create a simple "Hello world" RCP app, open de plugin definition
(MANIFEST.MF or Plugin.xml). Run the RCP app from the Plugin Overview
Tab. This will create a launch configuration. Goto the newly created
launch config. (Menu->Run->Run/Debug Configurations). Select your RCP
app config, go to the plugins tab, Check mark your Diagram plugin.

Note: A GMF diagram plugin, will assume dependency on eclipse.ide.
Normally an RCP app, will not have this dependency, so click "Add
required plugins" to make sure all your dependencies are added to the
launch config.

- You can create a product, and add all the plugins you want.

>
> Christophe Bouhier wrote on Tue, 08 March 2011 16:38
>> On 08-03-11 16:16, akoeck@gmx.de wrote:
>> > I just want to ask if nobody knows why this could happen, or if somone
>> > already got the same problem.
>> >
>> Hi,You provide no details about which actions lead to an unexpected
>> result. We could perhaps respond to your issue, with more information.
>> For a start, what is "the application", GMF will generate a diagram
>> plugin, which will either be RCP or a regular plugin. In case RCP is
>> selected when generating the .gmfgen file, there will be an
>> IApplication declaration in the plugin.
>>
>> > I've tried it with 2 different Versions of GMF and on Helios and
>> > Galileo. But the application is not generated.
>
>
Previous Topic:Why edges are not persisted when nodes are? How to change it?
Next Topic:Canvas with List-Compartment
Goto Forum:
  


Current Time: Fri Aug 01 22:37:31 EDT 2014

Powered by FUDForum. Page generated in 0.12433 seconds