Skip to main content



      Home
Home » Eclipse Projects » GEF » RulerFigure#setDPU
RulerFigure#setDPU [message #160987] Wed, 08 December 2004 08:27 Go to next message
Eclipse UserFriend
Hi!

How can I change the DPU of the RulerFigure? I want to display a ruler
which shows grid coordinates.

When looking into the source it seems that the ruler API is not ready
yet for adding custom rulers.

Thanks,
Gunnar
Re: RulerFigure#setDPU [message #161035 is a reply to message #160987] Wed, 08 December 2004 17:15 Go to previous messageGo to next message
Eclipse UserFriend
It's all hidden for now, since we don't want to commit that API.

We might expose RulerFigure's setInterval() method to RulerProvider to allow
for some more customization. Another option is to allow the RulerProvider
to provide the RulerFigure to be used. This would allow clients to have
customized RulerFigures. RulerFigure, of course, would still be internal
and its API subject to change.

What exactly do you need? Do you just want to set the interval? Or do you
not want to display any numbers?

"Gunnar Wagenknecht" <gunnar@wagenknecht.org> wrote in message
news:cp6vdp$uvc$1@www.eclipse.org...
> Hi!
>
> How can I change the DPU of the RulerFigure? I want to display a ruler
> which shows grid coordinates.
>
> When looking into the source it seems that the ruler API is not ready
> yet for adding custom rulers.
>
> Thanks,
> Gunnar
Re: RulerFigure#setDPU [message #161077 is a reply to message #161035] Thu, 09 December 2004 05:13 Go to previous message
Eclipse UserFriend
Pratik Shah schrieb:
> What exactly do you need? Do you just want to set the interval? Or do you
> not want to display any numbers?

I need to set a custom interval according to my grid size.

Cu, Gunnar
Previous Topic:implementing cut/copy/paste
Next Topic:How to create and edit a layer?
Goto Forum:
  


Current Time: Sat May 03 08:29:47 EDT 2025

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

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

Back to the top