Implement an Alert View [message #634974] |
Mon, 25 October 2010 06:08  |
Eclipse User |
|
|
|
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 06:08] by Moderator
|
|
|
|
Re: Implement an Alert View [message #635128 is a reply to message #634974] |
Mon, 25 October 2010 12:37  |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.03176 seconds