Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » ruler columns
ruler columns [message #325522] Wed, 20 February 2008 19:44 Go to next message
Eclipse UserFriend
I am looking for some help/examples on how to add a vertical ruler column
to the editor.
I have already tried extending the
"org.eclipse.ui.workbench.texteditor.rulerColumns", however,
in order for my column to work, I have to modify / add code
to AbstractDecoratedTextEditor to handle initilizing my
new column. This way sort of works(column shows up as expected), however,
I would like to avoid having to modify the org.eclipse code.


Is there a way to add a column without modifying the
org.eclipse.. code. (i.e. via just extending)??

thanks

Nick
Re: ruler columns [message #325532 is a reply to message #325522] Thu, 21 February 2008 03:52 Go to previous message
Eclipse UserFriend
Nick Preiser wrote:
> I am looking for some help/examples on how to add a vertical ruler
> column to the editor. I have already tried extending the
> "org.eclipse.ui.workbench.texteditor.rulerColumns", however, in order
> for my column to work, I have to modify / add code to
> AbstractDecoratedTextEditor to handle initilizing my
> new column. This way sort of works(column shows up as expected),
> however,
> I would like to avoid having to modify the org.eclipse code.
>
>
> Is there a way to add a column without modifying the org.eclipse..
> code. (i.e. via just extending)??
See org.eclipse.ui.workbench.texteditor.rulerColumns extension point.

Dani
>
> thanks
>
> Nick
Previous Topic:Classpath in Launchconfiguration
Next Topic:how to add scroll bars to a custom editor
Goto Forum:
  


Current Time: Mon Apr 28 02:58:49 EDT 2025

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

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

Back to the top