Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Views Manager??
Views Manager?? [message #253695] Thu, 17 June 2004 12:45 Go to next message
Eclipse UserFriend
Originally posted by: ebh2.wanadoo.fr

hi
i would like to know if it is possible to know if an active instance of a
view is running or not?
in fact i wrote a program that consist in 3 views that are refreshed by
another program. the problem is that when i close a view all the program
bugs.
also what i need is this :

each view when is launched register itself to the main program. if this
view is visible and is in accept mode the main program serves him
otherwise no.
i need also that even if the view is not visible that the data that the
main prog send to it have not to be lost.

to be more clear :
one of my views has a text area that display messages from an udp
connexion.
when the view is visible the message appears. but when i close the view
and reopen it there's no more messages displayed.

thanks....and sorry for my approximative english
Re: Views Manager?? [message #254245 is a reply to message #253695] Mon, 21 June 2004 10:44 Go to previous message
Eclipse UserFriend
Originally posted by: nick_edgar._no.spam.please_.ca.ibm.com

I would structure your plugin to have a view-independent model object
representing the log of messages from the UDP connection. Then the view,
when created, would obtain the current list of messages from the model, and
would register itself as a listener for further entries in the model. When
closed, the view would unhook its listener in its dispose() method.

Nick

"ebh" <ebh2@wanadoo.fr> wrote in message news:cashqc$pkm$1@eclipse.org...
> hi
> i would like to know if it is possible to know if an active instance of a
> view is running or not?
> in fact i wrote a program that consist in 3 views that are refreshed by
> another program. the problem is that when i close a view all the program
> bugs.
> also what i need is this :
>
> each view when is launched register itself to the main program. if this
> view is visible and is in accept mode the main program serves him
> otherwise no.
> i need also that even if the view is not visible that the data that the
> main prog send to it have not to be lost.
>
> to be more clear :
> one of my views has a text area that display messages from an udp
> connexion.
> when the view is visible the message appears. but when i close the view
> and reopen it there's no more messages displayed.
>
> thanks....and sorry for my approximative english
>
Previous Topic:Eclipse Help display
Next Topic:cvs connection!
Goto Forum:
  


Current Time: Wed Jun 04 10:40:44 EDT 2025

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

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

Back to the top