Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » poligon decorator
poligon decorator [message #33949] Wed, 30 August 2006 07:42 Go to next message
Eclipse UserFriend
Originally posted by: orlando.opencanarias.com

Hi all!

Is there any way to make a Polyline Conection work with a Polygon
Decoration rather than with the standard Polyline Decoration? So far
I've got a cicle decorator for a Polyline Conection by modifying
directly java souce code; just wondering whether there is any way to
have the GMF engine generate the complete code for a Polygon Decoration
(let's say a cirle) associated to a Polyline Conection!

Many thanks!

Orlando.
Re: poligon decorator [message #34028 is a reply to message #33949] Wed, 30 August 2006 07:56 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Circle seems to be the only example of decoration that need not have a
custom painting code to be rotatable.
I can not imagine any other sample of decoration that is not polyline-based
but can be reasonably generated.

Probably we may support CircleDecoration directly, but it is ver simple to
write once and reuse using gmfgraph.CustomDecoration.

Regards,
Michael

"Orlando" <orlando@opencanarias.com> wrote in message
news:ed3tit$lki$1@utils.eclipse.org...
> Hi all!
>
> Is there any way to make a Polyline Conection work with a Polygon
> Decoration rather than with the standard Polyline Decoration? So far I've
> got a cicle decorator for a Polyline Conection by modifying directly java
> souce code; just wondering whether there is any way to have the GMF engine
> generate the complete code for a Polygon Decoration (let's say a cirle)
> associated to a Polyline Conection!
>
> Many thanks!
>
> Orlando.
Re: poligon decorator [message #34185 is a reply to message #34028] Wed, 30 August 2006 08:44 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

Hello!

Michael Golubev wrote:
> Hi,
>
> Circle seems to be the only example of decoration that need not have a
> custom painting code to be rotatable.
> I can not imagine any other sample of decoration that is not polyline-based
> but can be reasonably generated.

Image and text )))

>
> Probably we may support CircleDecoration directly, but it is ver simple to
> write once and reuse using gmfgraph.CustomDecoration.
>
> Regards,
> Michael
>
> "Orlando" <orlando@opencanarias.com> wrote in message
> news:ed3tit$lki$1@utils.eclipse.org...
>> Hi all!
>>
>> Is there any way to make a Polyline Conection work with a Polygon
>> Decoration rather than with the standard Polyline Decoration? So far I've
>> got a cicle decorator for a Polyline Conection by modifying directly java
>> souce code; just wondering whether there is any way to have the GMF engine
>> generate the complete code for a Polygon Decoration (let's say a cirle)
>> associated to a Polyline Conection!
>>
>> Many thanks!
>>
>> Orlando.
>
>
Previous Topic:Links between Connections
Next Topic:How can I refresh the figure without reopening the editor
Goto Forum:
  


Current Time: Wed Jun 18 12:29:57 EDT 2025

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

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

Back to the top