Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:20 Go to next message
Saurabh Mising name is currently offline Saurabh Mising nameFriend
Messages: 21
Registered: October 2010
Junior Member
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 16:20 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:RCP with C/C++ Editor
Next Topic:pass complex java-objects between viewers or plugins
Goto Forum:
  


Current Time: Thu Apr 25 16:45:00 GMT 2024

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

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

Back to the top