Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Implement an Alert View(Implement an Alert View)
Implement an Alert View [message #634974] Mon, 25 October 2010 10:08 Go to next message
moley harey is currently offline moley hareyFriend
Messages: 23
Registered: July 2009
Junior Member
Hi folks,

I have an Eclipse RCP application and would like to implement an "Alert View" to show the list of error alerts coming from my server.

The idea would be to have a new view that is not attached to any perspective but can be launched separately in a new window and detached, docked etc... how can I do that?

I have seen this before, for example in the JCTerm plugin, how can I implement something like that?

[Updated on: Mon, 25 October 2010 10:08]

Report message to a moderator

Re: Implement an Alert View [message #634979 is a reply to message #634974] Mon, 25 October 2010 10:16 Go to previous messageGo to next message
moley harey is currently offline moley hareyFriend
Messages: 23
Registered: July 2009
Junior Member
Hello again, I have found the following:

"A sticky view is a view that stays open across perspective switches. Once open in one perspective, the sticky view remains open in all perspectives hosted in that Workbench window. This is true even for perspectives that do not define that view as part of their layout. "

So, it seems sticky views are the ones I need, is that right?
Re: Implement an Alert View [message #635128 is a reply to message #634974] Mon, 25 October 2010 16:37 Go to previous message
Laurent Marchal is currently offline Laurent MarchalFriend
Messages: 91
Registered: July 2009
Member
Hey,

A view is not attached to a perspective (a perspective is just an
organization of views) so you can open your view any time using
IWorkbenchPage#showView().

If it's a view then the user can detach it as a new window and dock it
back. so for all the features you want you don't need to do any
programming, eclipse does it for you. (just don't declare your view as
standalone.)

try and read the documentation, you should be able to dot it pretty easily.

Laurent Marchal.

Le 10/25/2010 05:08 AM, moley harey a écrit :
> Hi folks,
>
> I have an Eclipse RCP application and would like to implement an "Alert
> View" to show the list of error alerts coming from my server.
>
> The idea would be to have a new view that is not attached to any
> perspective but can be launched separately in a new window and detached,
> docked etc... how can I do that?
>
> I have seen this before, for example in the JCTerm plugin, how can I
> implement something like that?
Previous Topic:GradLayout set first two columns equal width to last two columns
Next Topic:WorkbenchWindowAdvisor question
Goto Forum:
  


Current Time: Fri Apr 26 07:38:24 GMT 2024

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

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

Back to the top