Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to create a floating figure
How to create a floating figure [message #483340] Tue, 01 September 2009 08:52 Go to next message
Eclipse UserFriend
Originally posted by: jeroen.response.nl

Hi All,

I want to make a figure which is placed - for example a button - in the
bottom left corner, and it should stay there if i scroll the viewer in any
direction.

I just don't know where to start, if anyone could give me some pointers or
direct me to some example. I use the example of the digraph which was
distributed through a eclipseCon presentation and is also available from
the eclipse CVS.

It uses a freeform layout (Graph) on which graph nodes are (GraphNode) are
drawn.

Any help is greatly appriciated :-)

Kind regards,

Jeroen
Re: How to create a floating figure [message #484757 is a reply to message #483340] Wed, 09 September 2009 07:21 Go to previous messageGo to next message
Maciej Opiela is currently offline Maciej OpielaFriend
Messages: 2
Registered: September 2009
Junior Member
Hi,
I have the same problem. I have editor and I need one figure to be placed in the constatnt position within the editor area even during scrolling. Is there any nice and easy way to do this in GEF ?

Regards
Maciek
Re: How to create a floating figure [message #485081 is a reply to message #484757] Thu, 10 September 2009 13:53 Go to previous message
Maciej Opiela is currently offline Maciej OpielaFriend
Messages: 2
Registered: September 2009
Junior Member
I've found out that there are functions to set editor's viewport size - so theoretically I can place the figure I don't want to scroll in the area outside the scrollable viewport rectangle. The question is where in the code should I set this size? Has anyone tried this solution in practice? Please help Smile

Maciek
Previous Topic:Attempting to export/deploy an Eclipse plugin I created, Eclipse complains of ba
Next Topic:Custom ConnectionAnchor - How to set the connection points to the center of each side?
Goto Forum:
  


Current Time: Thu Mar 28 20:03:54 GMT 2024

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

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

Back to the top