Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Can I define two View Extensions with different IDs and same class(When i define the view, I have to configure the views extension point.)
Can I define two View Extensions with different IDs and same class [message #688277] Fri, 24 June 2011 06:20 Go to next message
Eclipse UserFriend
In the view's extension point, i specify the view class and the veiw ID.
Can i have two views(Extensions in the plugin.xml ) which have different view IDs but same view class?
In other words, can two extension points for View have the same view class and different VIew ID?

Is it a good practice to do this? We are facing a situation where we think this is a solution but we do not know what is the impact of this approach.

Please share your thoughts on this approach.

Thanks,
Saurabh
Re: Can I define two View Extensions with different IDs and same class [message #688413 is a reply to message #688277] Fri, 24 June 2011 12:20 Go to previous message
Eclipse UserFriend
Saurabh,

I don't think that's a problem, but will the two different instances of
the same class behave differently in some way? I.e., what's the goal?


Saurabh wrote:
> In the view's extension point, i specify the view class and the veiw ID.
> Can i have two views(Extensions in the plugin.xml ) which have
> different view IDs but same view class?
> In other words, can two extension points for View have the same view
> class and different VIew ID?
>
> Is it a good practice to do this? We are facing a situation where we
> think this is a solution but we do not know what is the impact of this
> approach.
>
> Please share your thoughts on this approach.
>
> Thanks,
> Saurabh
Previous Topic:RCP with C/C++ Editor
Next Topic:pass complex java-objects between viewers or plugins
Goto Forum:
  


Current Time: Sun Aug 31 19:16:59 EDT 2025

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

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

Back to the top