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:GEP Installation Problem in FlashBuilder
Goto Forum:

Current Time: Wed Jun 20 19:11:48 GMT 2018

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

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

Back to the top