Multiple view but using the same View-class (RCP) [message #220206] |
Thu, 01 April 2004 14:35  |
Eclipse User |
|
|
|
Originally posted by: news.vadalus.com
Hi all,
Can anyone tell me whether it is possible to use multiple instances of
the same view class? I have a view which is repeated numerous times in
my perspective, this view is always the same class just showing
different information depending on the values passed to it (imagine a
directory viewer, for example, showing differnet dir views in the same
perspective).
However, I am not sure how I would represent this in the plugin.xml.
Has anyone else done this?
Thanks
|
|
|
|
Re: Multiple view but using the same View-class (RCP) [message #222403 is a reply to message #220237] |
Tue, 06 April 2004 06:36  |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Vadalus wrote:
> Just to clarify, I am not talking about something which would be solved
> using
>
> allowMultiple=true
>
> in the plugin.xml.
>
> I want each view to be initialized differently.
>
> Liam
>
>
>> Hi all,
>>
>> Can anyone tell me whether it is possible to use multiple instances of
>> the same view class? I have a view which is repeated numerous times in
>> my perspective, this view is always the same class just showing
>> different information depending on the values passed to it (imagine a
>> directory viewer, for example, showing differnet dir views in the same
>> perspective).
>>
>> However, I am not sure how I would represent this in the plugin.xml.
>>
>> Has anyone else done this?
>>
>> Thanks
You can use EditorPart which has an init method.
http://www.coconut-palm-software.com/the_visual_editor/eclip se_rcp
|
|
|
Powered by
FUDForum. Page generated in 0.10432 seconds