Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Implementing gridline-like functionality
Implementing gridline-like functionality [message #667148] Wed, 27 April 2011 06:22
oinkl is currently offline oinklFriend
Messages: 17
Registered: September 2010
Junior Member
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: Sat Apr 27 02:22:26 GMT 2024

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

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

Back to the top