Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Unfilled "Polygon Decoration"
Unfilled "Polygon Decoration" [message #53622] Fri, 22 September 2006 11:29 Go to next message
Eclipse UserFriend
Originally posted by: snej_NO-SPAM_.esuark.de

Hi again,

i have this figure definition for my polygon decoration:

<figures xsi:type="gmfgraph:PolylineDecoration"
name="UnfilledDiamond"
xorFill="false"
xorOutline="false">
<template/>
<template
x="-2"
y="2"/>
<template
x="-4"/>
<template
x="-2"
y="-2"/>
<template/>
</figures>


I tried all combinations of xorFill and xorOutline, but everytime there
is the line from the link going through my figure like this:

/\
------------
\/

Must i fill the diamond white so the line isn't there, or could i
prevent it from appearing?

I want this:

/\
----------
\/

regards
Jens K.
Re: Unfilled "Polygon Decoration" [message #53776 is a reply to message #53622] Fri, 22 September 2006 12:41 Go to previous message
Artem Tikhomirov is currently offline Artem TikhomirovFriend
Messages: 222
Registered: July 2009
Senior Member
The line crossing the decoration is the link itself.
Use PolygonDecoration and set fill=true.

Artem

"Jens Krause" <snej_NO-SPAM_@esuark.de> wrote in message
news:ef0hcb$b0h$1@utils.eclipse.org...
> Hi again,
>
> i have this figure definition for my polygon decoration:
>
> <figures xsi:type="gmfgraph:PolylineDecoration"
> name="UnfilledDiamond"
> xorFill="false"
> xorOutline="false">
> <template/>
> <template
> x="-2"
> y="2"/>
> <template
> x="-4"/>
> <template
> x="-2"
> y="-2"/>
> <template/>
> </figures>
>
>
> I tried all combinations of xorFill and xorOutline, but everytime there is
> the line from the link going through my figure like this:
>
> /\
> ------------
> \/
>
> Must i fill the diamond white so the line isn't there, or could i prevent
> it from appearing?
>
> I want this:
>
> /\
> ----------
> \/
>
> regards
> Jens K.
Previous Topic:Problem with setting multiple reference in properties view
Next Topic:Link Constraint with Java Expression causes Exception
Goto Forum:
  


Current Time: Sun Sep 08 03:27:28 GMT 2024

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

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

Back to the top