Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » org.eclipse.ui.workbench.texteditor.rulerColumns extension point
org.eclipse.ui.workbench.texteditor.rulerColumns extension point [message #465242] Mon, 26 March 2007 16:58 Go to next message
Sana is currently offline SanaFriend
Messages: 2
Registered: July 2009
Junior Member
Hello,

Can someone help me to understand how to use the new
"org.eclipse.ui.workbench.texteditor.rulerColumns" extension point (in
Eclipse 3.3M)? I have looked at the example (and pretty much copied it in
my code), but my new Ruler Bar doesn't appear in the editor. Can someone
send me a sample?

Thanks,
Sana
Re: org.eclipse.ui.workbench.texteditor.rulerColumns extension point [message #465257 is a reply to message #465242] Tue, 27 March 2007 06:57 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Sana wrote:

> Hello,
>
> Can someone help me to understand how to use the new
> "org.eclipse.ui.workbench.texteditor.rulerColumns" extension point (in
> Eclipse 3.3M)? I have looked at the example (and pretty much copied
> it in my code), but my new Ruler Bar doesn't appear in the editor.
> Can someone send me a sample?

Take a look in the SDK on how it's used. I also suggest to switch to M6
as the API has been improved and finalized by now.

Dani

>
> Thanks,
> Sana
>
Re: org.eclipse.ui.workbench.texteditor.rulerColumns extension point [message #465752 is a reply to message #465257] Wed, 04 April 2007 15:13 Go to previous messageGo to next message
Sana is currently offline SanaFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

I've looked in the SDK (and switched to M6) but am still confused.

I have added a new RulerColumn class that implements
IContributedRulerColumn but when I run the application it does not work
because I do not know what to put in the columnCreated() method (or any
other method for that matter). Do you think you could point me in the
right direction or maybe send me an example? I’d really appreciate it.

Thanks,
Sana
Re: org.eclipse.ui.workbench.texteditor.rulerColumns extension point [message #465837 is a reply to message #465752] Tue, 10 April 2007 07:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hkaest.mro.man.de

You can extend the abstract class AbstractContributedRulerColumn.
Or take it as a blueprint.

See
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ui.work bench.texteditor/src/org/eclipse/ui/texteditor/rulers/Abstra ctContributedRulerColumn.java?view=log

--harald

"Sana" <sana@siliconoptix.com> schrieb im Newsbeitrag
news:1e465defd96e75eeeaef6a1291b87050$1@www.eclipse.org...
> Hi,
>
> I've looked in the SDK (and switched to M6) but am still confused.
>
> I have added a new RulerColumn class that implements
> IContributedRulerColumn but when I run the application it does not work
> because I do not know what to put in the columnCreated() method (or any
> other method for that matter). Do you think you could point me in the
> right direction or maybe send me an example? I
Re: org.eclipse.ui.workbench.texteditor.rulerColumns extension point [message #465854 is a reply to message #465837] Tue, 10 April 2007 12:35 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Harald Kaestel-Baumgartner wrote:

>You can extend the abstract class AbstractContributedRulerColumn.
>Or take it as a blueprint.
>
>
And look what its subclasses in the SDK do.

Dani

>See
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ui.work bench.texteditor/src/org/eclipse/ui/texteditor/rulers/Abstra ctContributedRulerColumn.java?view=log
>
>--harald
>
>"Sana" <sana@siliconoptix.com> schrieb im Newsbeitrag
>news:1e465defd96e75eeeaef6a1291b87050$1@www.eclipse.org...
>
>
>>Hi,
>>
>>I've looked in the SDK (and switched to M6) but am still confused.
>>
>>I have added a new RulerColumn class that implements
>>IContributedRulerColumn but when I run the application it does not work
>>because I do not know what to put in the columnCreated() method (or any
>>other method for that matter). Do you think you could point me in the
>>right direction or maybe send me an example? I’d really appreciate it.
>>
>>Thanks,
>>Sana
>>
>>
>>
>
>
>
>
>
Previous Topic:synchronizing editors
Next Topic:Minimize Editors in one perspective?
Goto Forum:
  


Current Time: Thu Apr 25 07:09:59 GMT 2024

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

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

Back to the top