Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » Re: Custom marker views in a Riena application
Re: Custom marker views in a Riena application [message #586582] Wed, 28 July 2010 00:52 Go to next message
Denis Roy is currently offline Denis RoyFriend
Messages: 484
Registered: October 2004
Location: Ottawa, Ontario, Canada
Senior Member

Hi,

It seems that your message did not get propagated to our NNTP newsgroups, so I'm re-quoting it here to make sure it reaches the audience.

Christian Kesselheim wrote on Thu, 15 July 2010 11:28
> Hello everybody,
>
> does anyone know an easy way to embed a custom marker view (something similar to "org.eclipse.ui.views.ProblemView" in Eclipse itself) into an existing Riena RCP application. That view should display the list of validation messages for all Ridgets of the currently active controller/view (or perhaps even those of the parent module and all its submodules).
>
> Following the approach outlined under http://blog.eclipse-tips.com/2008/11/creating-custom-marker- view.html, we've bumped into the problem that...
>
>
> ...the existing marker view facilities of Eclipse seem to require the Eclipse resource abstraction (i.e. IResource) to be used.
> ...we currently don't know how to display an existing Eclipse view part underneath the submodule view & within the main application shell driven by Riena (non-detached, that is).
>
>
> Perhaps someone here has had similar requirements in the past? How did you address them in your Riena application?
>
> Thanks & Regards,
>
> Chris



--
Denis Roy
Eclipse Webmaster -- webmasterAeclipse,org


Denis Roy
Eclipse Webmaster -- webmaster@eclipse.org
Re: Custom marker views in a Riena application [message #586603 is a reply to message #586582] Wed, 28 July 2010 18:10 Go to previous message
Elias Volanakis is currently offline Elias VolanakisFriend
Messages: 43
Registered: July 2009
Member
Hi Christian,

sorry for the slow reply - your message got stuck somewhere and did not
show up in the newsgroup for a while.

Regarding markers: Riena's Markers and Eclipse Resource Markers are two
different things. So reusing the ProblemView would not help.

If you write your own code you may find the code in
AbstractMessageMarkerViewer and subclasses interesting. Riena has some
*MarkerViewers to display marker feedback in tooltips / statusline /
dialogs. See MessageMarkerSubModule{View,Controller} for usage examples.
Maybe another variant could display marker feedback in a Table, similar
to the way the ProblemView does it.

Regarding adding additional views to Riena within one sub application:
this is not something we support at the moment. Please add your input to
the bug below (or open a new one). If you want to experiment yourself,
you can try modifying TitlelessStackPresentation and/or
ApplicationViewAdvisor#createWindowContents(...).

Bug 270213: Investigate having an always visible composite / view inside
the sub application
http://bugs.eclipse.org/270213

Kind regards,
Elias.

On 7/27/2010 17:52, Denis Roy (Eclipse) wrote:
> Hi,
>
> It seems that your message did not get propagated to our NNTP
> newsgroups, so I'm re-quoting it here to make sure it reaches the audience.
> Christian Kesselheim wrote on Thu, 15 July 2010 11:28
>> Hello everybody,
>>
>> does anyone know an easy way to embed a custom marker view (something
>> similar to "org.eclipse.ui.views.ProblemView" in Eclipse itself) into
>> an existing Riena RCP application. That view should display the list
>> of validation messages for all Ridgets of the currently active
>> controller/view (or perhaps even those of the parent module and all
>> its submodules).
>>
>> Following the approach outlined under
>> http://blog.eclipse-tips.com/2008/11/creating-custom-marker-
>> view.html, we've bumped into the problem that...
>>
>>
>> ...the existing marker view facilities of Eclipse seem to require the
>> Eclipse resource abstraction (i.e. IResource) to be used.
>> ...we currently don't know how to display an existing Eclipse view
>> part underneath the submodule view & within the main application shell
>> driven by Riena (non-detached, that is).
>>
>>
>> Perhaps someone here has had similar requirements in the past? How did
>> you address them in your Riena application?
>>
>> Thanks & Regards,
>>
>> Chris
>
>
>
Previous Topic:Two questions about Treetable
Next Topic:ISaveable vs. Riena: Why supporting the Eclipse Jobs API might not be enough
Goto Forum:
  


Current Time: Fri Apr 19 22:11:47 GMT 2024

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

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

Back to the top