Priya February 2016
Change the Part selection in RCP Application when Button click in different Part
In Eclipse RCP Application UI design of my project will be as below:
Part6 contains the button. If button click in Part6 should set the selection to Part1.
Can you please provide how to achieve the Part selection from different Part.
GGrec February 2016
Use an injected
EPartService where your button is, then pass the Part1's ID to the service to find the part:
final MPart part1 = partService.findPart("part1.id");
This snippet creates it if it wasn't there. TBH I don't really know if this grants focus or not.
greg-449 February 2016
partService.showPart("part id", PartState.ACTIVATE);
Asked in February 2016
Viewed 3,930 times
Answered 2 times
Leave an answer
Quote of the day: live life