Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Marquee Selection Not Drawing
Marquee Selection Not Drawing [message #54609] Tue, 14 January 2003 04:29 Go to next message
Chris Keller is currently offline Chris KellerFriend
Messages: 7
Registered: July 2009
Junior Member
The marquee selection tool for the logic example doesn't draw correctly on a
white background. The problem appers to be that the
org.eclipse.draw2d.FigureUtilities static method makeGhostShape is calling
setFillXOR(true), but not calling setOutlineXOR(true) when I add the call to
setOutlineXOR(true) the marquee selection draws correctly. Here is the
updated makeGhostShape method:

public static Shape makeGhostShape(Shape s){
s.setBackgroundColor(ghostFillColor);
s.setFillXOR(true);
s.setOutlineXOR(true);
return s;
}
Re: Marquee Selection Not Drawing [message #54636 is a reply to message #54609] Tue, 14 January 2003 04:41 Go to previous messageGo to next message
Eric Bordeau is currently offline Eric BordeauFriend
Messages: 259
Registered: July 2009
Senior Member
Which build are you using? This was fixed about a month and a half ago.


Chris Keller wrote:
> The marquee selection tool for the logic example doesn't draw correctly on a
> white background. The problem appers to be that the
> org.eclipse.draw2d.FigureUtilities static method makeGhostShape is calling
> setFillXOR(true), but not calling setOutlineXOR(true) when I add the call to
> setOutlineXOR(true) the marquee selection draws correctly. Here is the
> updated makeGhostShape method:
>
> public static Shape makeGhostShape(Shape s){
> s.setBackgroundColor(ghostFillColor);
> s.setFillXOR(true);
> s.setOutlineXOR(true);
> return s;
> }
>
>
Re: Marquee Selection Not Drawing [message #54663 is a reply to message #54636] Tue, 14 January 2003 04:56 Go to previous message
Chris Keller is currently offline Chris KellerFriend
Messages: 7
Registered: July 2009
Junior Member
I had downloaded from latest Build 2.0, not from the current Integration
builds. I checked the CVS repository right after I sent the original
message and you are right it was fixed and checked in on 12/19/02.

I'll give it a go with the latest Integration Builds. Have they been pretty
stable? I noticed that no build was available under Current Stable Builds?

"Eric Bordeau" <ebordeau@us.ibm.com> wrote in message
news:b003g6$i05$1@rogue.oti.com...
> Which build are you using? This was fixed about a month and a half ago.
>
>
> Chris Keller wrote:
> > The marquee selection tool for the logic example doesn't draw correctly
on a
> > white background. The problem appers to be that the
> > org.eclipse.draw2d.FigureUtilities static method makeGhostShape is
calling
> > setFillXOR(true), but not calling setOutlineXOR(true) when I add the
call to
> > setOutlineXOR(true) the marquee selection draws correctly. Here is the
> > updated makeGhostShape method:
> >
> > public static Shape makeGhostShape(Shape s){
> > s.setBackgroundColor(ghostFillColor);
> > s.setFillXOR(true);
> > s.setOutlineXOR(true);
> > return s;
> > }
> >
> >
>
Previous Topic:cvs repository location for GEF
Next Topic:Draw2D Enhancements
Goto Forum:
  


Current Time: Sat Jul 13 00:20:09 GMT 2024

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

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

Back to the top