Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GridEnabled but not displayed ?
GridEnabled but not displayed ? [message #144656] Tue, 27 July 2004 18:46 Go to next message
Eclipse UserFriend
Hi,

I would like to copy the "show grid" action from the Logical Example to my
application but when I click the menu item nothing is displayed.
Nevertheless, the refreshGridLayer method is really called from the
FreeFormEditPart (from ScrollingEditPartViewer) with the property
correctly set up (the property event is correctly fired). I put a
breakpoint in this method and everything seems ok.... Is it a problem of
color ?

Does anyone have an idea ?

Stephane.
Re: GridEnabled but not displayed ? [message #144666 is a reply to message #144656] Tue, 27 July 2004 20:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Maybe the contents is opaque, and paints over the grid. Try setting opaque
to false.

"Stephane fournier" <stephane.fournier@netcourrier.com> wrote in message
news:ce67tm$m2f$1@eclipse.org...
> Hi,
>
> I would like to copy the "show grid" action from the Logical Example to my
> application but when I click the menu item nothing is displayed.
> Nevertheless, the refreshGridLayer method is really called from the
> FreeFormEditPart (from ScrollingEditPartViewer) with the property
> correctly set up (the property event is correctly fired). I put a
> breakpoint in this method and everything seems ok.... Is it a problem of
> color ?
>
> Does anyone have an idea ?
>
> Stephane.
>
>
>
>
Re: GridEnabled but not displayed ? [message #144683 is a reply to message #144666] Tue, 27 July 2004 20:58 Go to previous messageGo to next message
Eclipse UserFriend
Is Opaque set to false in the logical example ? Because, my application is
based on it.

Stephane.

Randy Hudson wrote:

> Maybe the contents is opaque, and paints over the grid. Try setting opaque
> to false.

> "Stephane fournier" <stephane.fournier@netcourrier.com> wrote in message
> news:ce67tm$m2f$1@eclipse.org...
> > Hi,
> >
> > I would like to copy the "show grid" action from the Logical Example to my
> > application but when I click the menu item nothing is displayed.
> > Nevertheless, the refreshGridLayer method is really called from the
> > FreeFormEditPart (from ScrollingEditPartViewer) with the property
> > correctly set up (the property event is correctly fired). I put a
> > breakpoint in this method and everything seems ok.... Is it a problem of
> > color ?
> >
> > Does anyone have an idea ?
> >
> > Stephane.
> >
> >
> >
> >
Re: GridEnabled but not displayed ? [message #145036 is a reply to message #144666] Wed, 28 July 2004 18:33 Go to previous message
Eclipse UserFriend
Thank you, you were rigth.

Randy Hudson wrote:

> Maybe the contents is opaque, and paints over the grid. Try setting opaque
> to false.

> "Stephane fournier" <stephane.fournier@netcourrier.com> wrote in message
> news:ce67tm$m2f$1@eclipse.org...
> > Hi,
> >
> > I would like to copy the "show grid" action from the Logical Example to my
> > application but when I click the menu item nothing is displayed.
> > Nevertheless, the refreshGridLayer method is really called from the
> > FreeFormEditPart (from ScrollingEditPartViewer) with the property
> > correctly set up (the property event is correctly fired). I put a
> > breakpoint in this method and everything seems ok.... Is it a problem of
> > color ?
> >
> > Does anyone have an idea ?
> >
> > Stephane.
> >
> >
> >
> >
Previous Topic:Update all child figures when adding new one?
Next Topic:SWT Windows with SWT Widgets and GEF Figures.
Goto Forum:
  


Current Time: Mon Feb 10 09:23:38 GMT 2025

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

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

Back to the top