[Solved] View listen to combobox selection [message #890235] |
Thu, 21 June 2012 14:39  |
Ted Mosby Messages: 9 Registered: April 2012 |
Junior Member |
|
|
Hi
I wanted to know if a view can listen to a combobox selection of a comboxbox in another view?
In my RCP application i have two views. One view with a tree and a combobox, and a second view with a tabfolder. The second view inplements the org.eclipse.ui.ISelectionListener interface.
I used
getSite().getPage().addSelectionListener(View1.ID, (ISelectionListener) this); to register the view as a selection listener to the workbenchpage.
I want to add a tabitem to the tabfolder when the selection of the combobox changes. How can i register the second view as a listener for the combobox? Is this even possible?
Greetings
Ted
[Updated on: Fri, 13 July 2012 07:32] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03156 seconds