Displaying rulers with non-zero offsets [message #207588] |
Thu, 19 January 2006 01:22 |
Steve Baker 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
|
|
|
Powered by
FUDForum. Page generated in 0.03012 seconds