Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Multiple views unlinked across perspectives
Multiple views unlinked across perspectives [message #3166] Wed, 14 May 2008 03:24 Go to next message
Glenn Gilbert is currently offline Glenn GilbertFriend
Messages: 2
Registered: July 2009
Junior Member
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 05:22 Go to previous message
Eclipse UserFriend
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 05:22 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Showing two editors (Horizontal or vertical split) programmatically
Next Topic:show view in Action.run( )
Goto Forum:
  


Current Time: Thu Nov 21 11:42:27 GMT 2024

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

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

Back to the top