Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Finding all the controls in a View
Finding all the controls in a View [message #1759799] Tue, 18 April 2017 14:47
Naveen Sabapathy is currently offline Naveen SabapathyFriend
Messages: 46
Registered: July 2016
I'm creating a View. The View contains a Combo control. Based on the selection in the Combo, I want to perform some operation in the View. How to access the between control and the View or vice versa. (I dont want to create any static access).

Code for combo control.
<control class="com.test.rac.actions.V4BPCColumnControlContribution"
Re: Finding all the controls in a View [message #1759821 is a reply to message #1759799] Tue, 18 April 2017 09:04 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 877
Registered: January 2012
Senior Member

So typically you'd have your control and view operate against a shared model object. You can obtain the model by various means such as an OSGi service, via the E4 Eclipse Context hierarchy (e.g., hosted in the window's context), or some other approach -- or combination.
Previous Topic:Removing contribution from the plugin
Next Topic:How to give eclipse RCP certification exam ?
Goto Forum:

Current Time: Sat Nov 28 17:12:02 GMT 2020

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

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

Back to the top