Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Listening problem: treeview as service provider and three listener views in the same folder layout
icon4.gif  Listening problem: treeview as service provider and three listener views in the same folder layout [message #556190] Tue, 31 August 2010 09:18
Nguyen  is currently offline Nguyen Friend
Messages: 1
Registered: August 2010
Junior Member
Hi,

I have a view part containing a tree viewer, which works as a service provider.

getSite().setSelectionProvider(myTreeViewer);


When the user selects a node in the tree, the details of this node should be shown in three other listener views in the same folder layout.

getSite().getWorkbenchWindow().getSelectionService().addSelectionListener(mySelectionListenerViewPart);


Only two views, which are activated first, can listen for the selection. The third one does not listen anything. Never mind which two of them I activate first.

It just happens by the first selection in the tree.

Thanks for help,
Nguyen

[Updated on: Tue, 31 August 2010 09:20]

Report message to a moderator

Previous Topic:Support dropins in RCP?
Next Topic:Detached view and perspective change
Goto Forum:
  


Current Time: Fri Apr 19 20:32:44 GMT 2024

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

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

Back to the top