Custom Figures in different plugin [message #89882] |
Fri, 05 January 2007 17:16  |
Eclipse User |
|
|
|
Originally posted by: martin.tauber.t-online.de
It's me again :-)
I have greated custom figures which I packed into a seperate plugin. Now
when I create the figures code I always have to modify the MANIFEST.MF
file. (BTW also for the generated diagram code). Is there a way to avoid
this?
Regards
Martin
|
|
|
|
|
|
|
|
|
|
Re: Custom Figures in different plugin [message #92724 is a reply to message #92559] |
Mon, 15 January 2007 08:44  |
Eclipse User |
|
|
|
Originally posted by: fbfd.NOSPAMarcor.de
Ok, I had to recreate the GMF Generator Model.
Lot's of magic involved as usual..
On Mon, 15 Jan 2007 10:15:31 +0100, Fabian <fbfd@NOSPAMarcor.de>
wrote:
>
>Hi,
>
>I also have a question regarding the Figures plug-in.
>Using the described action I generated a plug-in that contains all the
>figures. However, when I generate the editor code, it still creates
>EditParts that contain internal Figure subclasses and the figures of
>the Figures plug-in are not used.
>I also changed the "implementation bundle" property of the Figures
>gallery so that it matches the name of the Figures plug-in.
>
>What am I doing wrong?
>
>Any hints to documentation that I may have missed are also welcome.
>
>Kind regards,
>Fabian
>
>On Mon, 08 Jan 2007 11:34:14 +0100, tobias <tobk@gmx.de> wrote:
>
>>Martin wrote:
>>
>>> It's me again :-)
>>>
>>> I have greated custom figures which I packed into a seperate plugin. Now
>>> when I create the figures code I always have to modify the MANIFEST.MF
>>> file. (BTW also for the generated diagram code). Is there a way to avoid
>>> this?
>>>
>>> Regards
>>> Martin
>>
>>You can use the gmfgraph-file's "Generate Figures Plugin" action to change
>>all figures to custom figures being implemented in a seperate plugin
>>instead of in the edit parts. If you do not want to have this done
>>automatically try setting the attributes
>> name="GeneratedGallery"
>> implementationBundle="BASEPACKAGENAME.figures"
>>in the first figures-element in the gmfgraph's xml code (that one containing
>>all the other figures).
>>
>>Hope this helps.
>>tobias
|
|
|
Powered by
FUDForum. Page generated in 0.07638 seconds