Can I define two View Extensions with different IDs and same class [message #688277] |
Fri, 24 June 2011 06:20  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03612 seconds