How to extend RulerProvider [message #151814] |
Thu, 23 September 2004 10:04  |
Eclipse User |
|
|
|
Originally posted by: raymond.lai.spamfree.xml-asia.org
Hi all,
I would like to provide a ruler-kind-of thing aside my ViewPart. It seems
I should extend the RulerProvider class. However, I don't know how should
I extend it.
From the source code it said I should override
public Object getRuler()
but what kind of things should I build inside this method?
Is there any examples I can look into?
Thanks in advance,
Raymond
|
|
|
Re: How to extend RulerProvider [message #151886 is a reply to message #151814] |
Thu, 23 September 2004 22:22  |
Eclipse User |
|
|
|
Look at LogicRulerProvider in the logic example.
"Raymond" <raymond.lai@spamfree.xml-asia.org> wrote in message
news:ciu741$ano$1@eclipse.org...
> Hi all,
>
> I would like to provide a ruler-kind-of thing aside my ViewPart. It seems
> I should extend the RulerProvider class. However, I don't know how should
> I extend it.
>
> From the source code it said I should override
>
> public Object getRuler()
>
> but what kind of things should I build inside this method?
>
> Is there any examples I can look into?
>
> Thanks in advance,
> Raymond
>
|
|
|
Powered by
FUDForum. Page generated in 0.03415 seconds