Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Select objects in a View with async part 3
* We need to select objects with asyncExec if the EditorPart is closed * So we can do that safely from the calling method. * Add a safety measure in selectObjects() to check that the control is not null. It can be the case that a EditorPart is not created when 1. TreeSelectionSync is on 2. There are diagram model ref objects in Views 3. The Views are open in the editor are but not created yet 4. A View is then closed
- Loading branch information
Showing
3 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters