Change Edit Policies of Ruler's Guides [message #163657] |
Wed, 12 January 2005 09:19 |
Eclipse User |
|
|
|
Originally posted by: alain.origlia.impika.com
Hi all,
I want to display the position of a ruler's guide when it is selected or
dragged. Is it possible to change the guide selection and drag edit policies
to provide such a feature?
Thank you,
Alain
|
|
|
|
Re: Change Edit Policies of Ruler's Guides [message #163767 is a reply to message #163736] |
Wed, 12 January 2005 21:17 |
Eclipse User |
|
|
|
Originally posted by: alain.origlia.impika.com
Yes in the status bar. I need this feature because it's quite difficult to
set a guide to a wanted position without knowing exactly what its current
position is.
I have already added a RulerChangeListener which displays in the status bar
the position where a guide has been created and where a guide has been moved
but I have not found any listener to a dragging event.
I think I have to deal with the selection edit policy of the GuideEditParts
but I don't know how to do.
Thanks
"Pratik Shah" <ppshah@us.ibm.com> a
|
|
|
Re: Change Edit Policies of Ruler's Guides [message #163789 is a reply to message #163736] |
Thu, 13 January 2005 07:27 |
Eclipse User |
|
|
|
Originally posted by: wjancz.\/\/asko.pl(change \/\/ with w)
> Where do you want to display it? Status bar? Or in a pop-up near the
guide
> being dragged? Or some other way?
What to do if i would like to display a tooltip with position near the guide
being dragged ???
...::WojT::..
|
|
|
|
|
Re: Change Edit Policies of Ruler's Guides [message #163955 is a reply to message #163838] |
Fri, 14 January 2005 09:35 |
Eclipse User |
|
|
|
Originally posted by: alain.origlia.impika.com
Thank you very much. It works fine.
Now I can update the status bar when a guide is created, deleted or moved.
A last question: do you know how can I get the position of a guide when it
just has been selected in the ruler before any move?
Thanks
"Pratik Shah" <ppshah@us.ibm.com> a
|
|
|
Powered by
FUDForum. Page generated in 0.02209 seconds