Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » dynamic viewpart
dynamic viewpart [message #465039] Sat, 03 December 2005 16:04 Go to next message
Eclipse User
Originally posted by: jkarlik.info.fundp.ac.be

Hello,

I m constructing a plugin to manage views and communication between
these views. So I have a class extending ViewPart. Is it possible to
instantiate, on a dynamic way, more than one view with the same plugin
class (extending ViewPart)? Actually, I would like to share a common
object between several views that i want to add to my plugin. Is it
possible?

thanks.
Re: dynamic viewpart [message #465041 is a reply to message #465039] Sat, 03 December 2005 20:35 Go to previous message
Haris Peco is currently offline Haris Peco
Messages: 1072
Registered: July 2009
Senior Member
karlik joachim wrote:

> Hello,
>
> I m constructing a plugin to manage views and communication between
> these views. So I have a class extending ViewPart. Is it possible to
> instantiate, on a dynamic way, more than one view with the same plugin
> class (extending ViewPart)? Actually, I would like to share a common
> object between several views that i want to add to my plugin. Is it
> possible?
>
> thanks.
yes. see allowMultiple in views extension point
Previous Topic:Computer
Next Topic:How can I get a children of some tree node?
Goto Forum:
  


Current Time: Sat Apr 19 18:28:34 EDT 2014

Powered by FUDForum. Page generated in 0.12572 seconds