[teiid-designer-dev] [Teiid-Designer/teiid-designer] 545cc4: TEIIDDES-1929: Stricter policy on allowing deletio...
Paul Richardson
p.g.richardson at redhat.com
Mon Dec 2 10:34:32 EST 2013
Branch: refs/heads/master
Home: https://github.com/Teiid-Designer/teiid-designer
Commit: 545cc47c864a03c51cd357eb5b49f7220bcb0922
https://github.com/Teiid-Designer/teiid-designer/commit/545cc47c864a03c51cd357eb5b49f7220bcb0922
Author: Paul Richardson <p.g.richardson at redhat.com>
Date: 2013-12-02 (Mon, 02 Dec 2013)
Changed paths:
M plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/refactor/delete/DeleteResourcesRefactoring.java
Log Message:
-----------
TEIIDDES-1929: Stricter policy on allowing deletions with open editors
* When deleting, resources are unloaded and closed. This can lead to odd
updates to open editors
* Delete is the only refactoring to allow the operation whilst editors are
open. This is fine if an editor for the resource being deleted is open
since the editor gets closed anyway. However, it can be a problem for
related resource editors, especially if the delete is cancelled. The
resources are not reloaded and the editor never refreshed
* Check for open editors of related resources and just get the user to
close it first before proceeding.
More information about the teiid-designer-dev
mailing list