Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TEIIDDES-1776: Be far less aggressive with closing editors
* The TeiidServerManager is responsible for closing all editors on startup since the default server version is assigned (so changed from null to the restored version). * Adds in a RESTORING state which can be checked by the closeEditors function to avoid closing any editors on startup * Instead of closing all editors, try and find the resource associated with each editor and if the resource's parent project has a modelling nature then close the editor. This should confine closures to just modelling diagrams. * DiagramEditorInput * May be called and be used for displaying a model, in which case implement adaption into an eclipse resource so that it too close be closed if required.
- Loading branch information
Paul Richardson
committed
Jul 16, 2013
1 parent
83f70c0
commit 8ad6142
Showing
2 changed files
with
50 additions
and
8 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