| 
| Multiple views unlinked across perspectives [message #3166] | Tue, 13 May 2008 23:24  |  | 
| Eclipse User  |  |  |  |  | Hi all, 
 I've got two perspectives and there is a view (with a table) that I need
 two instances of.
 Consider this:
 The view in perspective 1(View A) implements ISelectionListener, and loads
 data from 'customer.id' provided by the ISelectionProvider (ie the
 TableViewer) in another view in perspective 1 (View B).
 I now want to add another instance of view A in perspective 2, and have it
 updated by a customer.id provided by a different view (View C). I don't
 want view A in perspective 1 to update.
 
 Does that make sense?
 Any ideas?
 Thanks
 |  |  |  | 
| 
| Re: Multiple views unlinked across perspectives [message #5976 is a reply to message #3166] | Thu, 12 June 2008 01:22  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: annamalai.ancitconsulting.com 
 Now not really sure ... but looks like you wanna open two instances of the
 same view ... if that is the case you need to use primaryID, secondaryID
 funda in showView method found in your activePage of the workbenchWindow.
 
 "Glenn Gilbert" <glenn.gilbert@contact-energy.co.nz> wrote in message
 news:82f12ab022f483cd6dcf712b0d08c640$1@www.eclipse.org...
 > Hi all,
 >
 > I've got two perspectives and there is a view (with a table) that I need
 > two instances of.
 > Consider this: The view in perspective 1(View A) implements
 > ISelectionListener, and loads data from 'customer.id' provided by the
 > ISelectionProvider (ie the TableViewer) in another view in perspective 1
 > (View B).
 > I now want to add another instance of view A in perspective 2, and have it
 > updated by a customer.id provided by a different view (View C). I don't
 > want view A in perspective 1 to update.
 >
 > Does that make sense? Any ideas?
 > Thanks
 >
 |  |  |  | 
| 
| Re: Multiple views unlinked across perspectives [message #568797 is a reply to message #3166] | Thu, 12 June 2008 01:22  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: annamalai.ancitconsulting.com 
 Now not really sure ... but looks like you wanna open two instances of the
 same view ... if that is the case you need to use primaryID, secondaryID
 funda in showView method found in your activePage of the workbenchWindow.
 
 "Glenn Gilbert" <glenn.gilbert@contact-energy.co.nz> wrote in message
 news:82f12ab022f483cd6dcf712b0d08c640$1@www.eclipse.org...
 > Hi all,
 >
 > I've got two perspectives and there is a view (with a table) that I need
 > two instances of.
 > Consider this: The view in perspective 1(View A) implements
 > ISelectionListener, and loads data from 'customer.id' provided by the
 > ISelectionProvider (ie the TableViewer) in another view in perspective 1
 > (View B).
 > I now want to add another instance of view A in perspective 2, and have it
 > updated by a customer.id provided by a different view (View C). I don't
 > want view A in perspective 1 to update.
 >
 > Does that make sense? Any ideas?
 > Thanks
 >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.72617 seconds