Skip to main content



      Home
Home » Eclipse Projects » GEF » Implementing gridline-like functionality
Implementing gridline-like functionality [message #667148] Wed, 27 April 2011 02:22
Eclipse UserFriend
I would like to draw a background object that scrolls along with the canvas, very similar to rulers and gridlines in the GEF library. It's actually a menu-like window/toolbar drawn by the side which contains custom objects and controls. It also has custom gridlines which can be toggled.

I've tried using a scrollbar listener that redraws this object on scroll, but it doesn't play well with zoom(short of using a zoom listener), and flickers quite badly when scrolling. I've also tried drawing the custom gridline using a polyline(and similarly redrawing on scroll), but I have no idea how long I should extend this line.


Do you have any tips or tutorials to get me started?
Previous Topic:[ZEST] current status
Next Topic:Clipping of draw2d figures while using PrintFigureOperation
Goto Forum:
  


Current Time: Wed Apr 23 01:06:32 EDT 2025

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

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

Back to the top