Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Displaying rulers with non-zero offsets
Displaying rulers with non-zero offsets [message #207588] Thu, 19 January 2006 01:22
Steve Baker is currently offline Steve BakerFriend
Messages: 4
Registered: July 2009
Junior Member
I'd like to have a ruler which has an origin fixed somewhere in the middle
of root figure - such as with this screenshot:
http://www.gimp.org/screenshots/macosx_screenshot1.png

My app will differ from this screenshot in that the grey area around the
image might also have other figures such as annotations.

The current ruler implementation doesn't seem to support setting an
arbitrary offset and I can't extend the implementation without first
duplicating a whole bunch of classes (namely, RulerComposite and every
org.eclipse.gef.internal.ui.rulers.* class it invokes).

So my options seem to be:
1. wait for an offset feature to be added to the rulers
2. wait for the rulers to be more pluggable so I can implement my own
behaviour
3. fork the ruler implementation for my own application

3. seems to be the best option for now until I know where rulers are
heading - but forking sucks.

cheers
Previous Topic:Multiple Anchor
Next Topic:how to Create Figure Programmatically in GraphicEditor
Goto Forum:
  


Current Time: Sat Apr 27 00:25:27 GMT 2024

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

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

Back to the top