Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to extend RulerProvider
How to extend RulerProvider [message #151814] Thu, 23 September 2004 10:04 Go to next message
Eclipse UserFriend
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 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
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
>
Previous Topic:TreeViewer Plugin
Next Topic:Rhombus with centered text
Goto Forum:
  


Current Time: Thu Mar 28 10:55:01 GMT 2024

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

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

Back to the top