|E4 way to react on part hide / show [message #1709423]
||Mon, 28 September 2015 11:07
|| Patrik Suzzi
Registered: June 2010
Location: Urdorf, Switzerland
I am an Eclipse E4 user, and I would like to know if there is a Best Practices for Eclipse4 on how to react to part hide & show.
This is my example:
I have two parts:
PartMaster : allows the user to select one element.
PartDetail : displays details of the element selected in Master.
Both these two parts are contained, in a container that can be hidden or displayed, depending on user interaction.
My scope is to react to part hide / show.
As example: when the user makes the two parts visible again, I want to re-select an element in PartMaster, and update the visualization in PartDetail.
To achieve this, need to execute a "selection" code, when PartMaster is displayed again.
So, my question is: what are the best practices on hook the display / hide events on an E4 Part ?
[Updated on: Tue, 29 September 2015 09:01]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01997 seconds