dynamic viewpart [message #465039] |
Sat, 03 December 2005 16:04  |
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07002 seconds