If already an entry was selected, we attempt to find the selected entry in the table and re-select it. This is useful after a merge or after a file has been re-opened. If the last selected entry is not visible in the new selection, we select the first entry in the table. This triggers a SelectionChangedEvent on the TableSelectionListener and will open an editor for the selected element.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.