Home » Modeling » GMF (Graphical Modeling Framework) » No Application is generated
| | |
Re: No Application is generated [message #658586 is a reply to message #658543] |
Wed, 09 March 2011 07:23 |
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 10:29] Report message to a moderator
|
|
|
Re: No Application is generated [message #658634 is a reply to message #658586] |
Wed, 09 March 2011 10:40 |
Christophe Bouhier Messages: 937 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.
>
>
|
|
|
Goto Forum:
Current Time: Sat Oct 19 14:41:05 GMT 2024
Powered by FUDForum. Page generated in 0.02988 seconds
|