Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » anti-alias not set by default for connections
anti-alias not set by default for connections [message #222833] Thu, 26 March 2009 09:19 Go to next message
Thomas Beyer is currently offline Thomas BeyerFriend
Messages: 47
Registered: July 2009
Member
Hello,

I am working with GMF 2.2.0 M6 and ran into trouble with connections.
Give that the corresponding figure inherits from PolylineConnectionEx
.... up to Shape, the default value for anti-alias is always SWT.Default, -1.
So all my connections are drawn without anti-alias - which looks very
awkward.

The only thing I could do was setting explicitely setAntialias(SWT.ON);
in the Constructor of my connection figures inside the EditParts.
My preference is set to use anti-aliasing, though.

What else could I do, other than overriding the generated code for all
my connections?

TIA & regards

Thomas
Re: anti-alias not set by default for connections [message #223372 is a reply to message #222833] Mon, 30 March 2009 17:05 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Thomas,

On the link Appearance property tab I can see "Smoothness" group - looks
like this setting is tending to override antialiasing settings...

-----------------
Alex Shatalin
Re: anti-alias not set by default for connections [message #223513 is a reply to message #223372] Tue, 31 March 2009 09:51 Go to previous messageGo to next message
Thomas Beyer is currently offline Thomas BeyerFriend
Messages: 47
Registered: July 2009
Member
Hello Alex,

should I raise a Bug-Report for this issue or is it adresses already?

Regards
Thomas

Am 30.03.2009 19:05, schrieb Alex Shatalin:
> Hello Thomas,
>
> On the link Appearance property tab I can see "Smoothness" group - looks
> like this setting is tending to override antialiasing settings...
> -----------------
> Alex Shatalin
>
>
Re: anti-alias not set by default for connections [message #223548 is a reply to message #223513] Tue, 31 March 2009 10:24 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Thomas,

> should I raise a Bug-Report for this issue or is it adresses already?
Looks like it was designed this way in GMF runtime. So, you can file a request
to clarify this issue.


-----------------
Alex Shatalin
Previous Topic:How to modify the icon of an element?
Next Topic:browse code source of a GMF application
Goto Forum:
  


Current Time: Thu Apr 25 09:09:51 GMT 2024

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

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

Back to the top