Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Annotations
Annotations [message #454351] Thu, 24 August 2006 10:21 Go to next message
Eclipse UserFriend
Originally posted by: mpage.stanford.edu

I'm trying to add annotations/make them visible on a SourceViewer in a stand
alone jface/swt app. Does anyone know of an example or source that does
this? I can only find examples that are plugins.

Thanks,
matt
Re: Annotations [message #454382 is a reply to message #454351] Mon, 28 August 2006 04:49 Go to previous messageGo to next message
Eclipse UserFriend
Matt Page wrote:

>I'm trying to add annotations/make them visible on a SourceViewer in a stand
>alone jface/swt app. Does anyone know of an example or source that does
>this? I can only find examples that are plugins.
>
>
Take a look at org.eclipse.ui.texteditor.SourceViewerDecorationSupport

Dani

>Thanks,
>matt
>
>
>
>
Re: Annotations [message #466975 is a reply to message #454382] Thu, 26 April 2007 15:49 Go to previous messageGo to next message
Eclipse UserFriend
I see SourceViewerDecorationSupport takes an OverviewRuler in the
constructor. Does that mean it doesn't support VerticalRuler?

I too have a standalone jface/swt app and I'd like have a vertical ruler
along the editor that allows the user to double-click the ruler to annotate
a line (like setting a breakpoint in eclipse). Is this possible without
using all of RCP? Are there any example anywhere of doing something like
this?

Thanks,
John

"Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
news:ecuao2$ekl$1@utils.eclipse.org...
> Matt Page wrote:
>
>>I'm trying to add annotations/make them visible on a SourceViewer in a
>>stand alone jface/swt app. Does anyone know of an example or source that
>>does this? I can only find examples that are plugins.
>>
> Take a look at org.eclipse.ui.texteditor.SourceViewerDecorationSupport
>
> Dani
>
>>Thanks,
>>matt
>>
>>
Re: Annotations [message #466994 is a reply to message #466975] Fri, 27 April 2007 03:06 Go to previous message
Eclipse UserFriend
John Huss wrote:

>I see SourceViewerDecorationSupport takes an OverviewRuler in the
>constructor. Does that mean it doesn't support VerticalRuler?
>
>I too have a standalone jface/swt app and I'd like have a vertical ruler
>along the editor that allows the user to double-click the ruler to annotate
>a line (like setting a breakpoint in eclipse). Is this possible without
>using all of RCP? Are there any example anywhere of doing something like
>this?
>
>
If you don't use resource based stuff like markers you can use the
VerticalRuler or AnnotationRulerColumn and then define via
IAnnotationAccess which annotations are shown.

Dani

>Thanks,
>John
>
>"Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
>news:ecuao2$ekl$1@utils.eclipse.org...
>
>
>>Matt Page wrote:
>>
>>
>>
>>>I'm trying to add annotations/make them visible on a SourceViewer in a
>>>stand alone jface/swt app. Does anyone know of an example or source that
>>>does this? I can only find examples that are plugins.
>>>
>>>
>>>
>>Take a look at org.eclipse.ui.texteditor.SourceViewerDecorationSupport
>>
>>Dani
>>
>>
>>
>>>Thanks,
>>>matt
>>>
>>>
>>>
>>>
>
>
>
>
Previous Topic:How to view the outline and property sheet views in an RCP application?
Next Topic:Rcp on Web
Goto Forum:
  


Current Time: Thu May 22 00:35:34 EDT 2025

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

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

Back to the top