Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Is it possible to put node figure above connection line?
Is it possible to put node figure above connection line? [message #127623] Fri, 16 April 2004 09:48 Go to next message
Eclipse UserFriend
Originally posted by: mail4alex.263.net

eg. put Primary layer on top of Connection layer
Re: Is it possible to put node figure above connection line? [message #127716 is a reply to message #127623] Fri, 16 April 2004 14:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Yes, but you would have to make the primary layer transparent, but still
have it return true for containsPoint().
"Alex.zhang" <mail4alex@263.net> wrote in message
news:6iav70heb1qh96t1533889p7bmtec1go14@4ax.com...
> eg. put Primary layer on top of Connection layer
Re: Is it possible to put node figure above connection line? [message #128017 is a reply to message #127716] Tue, 20 April 2004 06:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mail4alex.263.net

I overwrite ScalableFreeformRootEditPart.createPrintableLayers(){
FreeformLayeredPane layeredPane = new
FreeformLayeredPane();
layeredPane.add(new ConnectionLayer(),
CONNECTION_LAYER);
FreeformLayer layer=new FreeformLayer();
layer.setOpaque(false);
layeredPane.add(layer, PRIMARY_LAYER);
return layeredPane;
}

in my editor,i can't see any connection.

why??

>Yes, but you would have to make the primary layer transparent, but still
>have it return true for containsPoint().
>"Alex.zhang" <mail4alex@263.net> wrote in message
>news:6iav70heb1qh96t1533889p7bmtec1go14@4ax.com...
>> eg. put Primary layer on top of Connection layer
>
Re: Is it possible to put node figure above connection line? [message #128159 is a reply to message #128017] Tue, 20 April 2004 21:13 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

the contents editpart's figure is still opaque.

"Alex.zhang" <mail4alex@263.net> wrote in message
news:6lg980hh2fpfss94389pdnponahaeieqs4@4ax.com...
> I overwrite ScalableFreeformRootEditPart.createPrintableLayers(){
> FreeformLayeredPane layeredPane = new
> FreeformLayeredPane();
> layeredPane.add(new ConnectionLayer(),
> CONNECTION_LAYER);
> FreeformLayer layer=new FreeformLayer();
> layer.setOpaque(false);
> layeredPane.add(layer, PRIMARY_LAYER);
> return layeredPane;
> }
>
> in my editor,i can't see any connection.
>
> why??
>
> >Yes, but you would have to make the primary layer transparent, but still
> >have it return true for containsPoint().
> >"Alex.zhang" <mail4alex@263.net> wrote in message
> >news:6iav70heb1qh96t1533889p7bmtec1go14@4ax.com...
> >> eg. put Primary layer on top of Connection layer
> >
>
Previous Topic:Outline problems
Next Topic:snap to grid and connection bend points?
Goto Forum:
  


Current Time: Wed Jul 03 12:25:14 GMT 2024

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

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

Back to the top