[Teiid-Designer/teiid-designer] 545cc4: TEIIDDES-1929: Stricter policy on allowing deletio...
by Paul Richardson
Branch: refs/heads/master
Home: https://github.com/Teiid-Designer/teiid-designer
Commit: 545cc47c864a03c51cd357eb5b49f7220bcb0922
https://github.com/Teiid-Designer/teiid-designer/commit/545cc47c864a03c51...
Author: Paul Richardson <p.g.richardson(a)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.
11 years, 1 month
[Teiid-Designer/teiid-designer] 1515a6: JBIDE-16133: Provide better feedback for incorrect...
by Paul Richardson
Branch: refs/heads/master
Home: https://github.com/Teiid-Designer/teiid-designer
Commit: 1515a65ee2e702f1a028c0c4b7ca2270e7fe2cd6
https://github.com/Teiid-Designer/teiid-designer/commit/1515a65ee2e702f1a...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2013-12-02 (Mon, 02 Dec 2013)
Changed paths:
M plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/server/editor/TeiidServerEditor.java
M plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/content/TeiidErrorNode.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/DqpPlugin.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/TeiidParentServerListener.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/TeiidServer.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/adapter/JBoss7ServerUtil.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/adapter/JBossServerUtil.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/adapter/TeiidServerAdapterFactory.java
M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/i18n.properties
Log Message:
-----------
JBIDE-16133: Provide better feedback for incorrect admin password
* JBoss[7]ServerUtil
* TeiidServerAdapterFactory
* Rather than catching JBoss exceptions (may be caused by incorrect
security credentials) throw them instead and force UI components to
catch and process them
* TeiidServer
* Better handle exceptions thrown when failing to connect to teiid instance
* TeiidServerEditor
* TeiidParentServerListener
* Rather than just logging exceptions thrown when initialising the teiid
instance, get the exception back to the user
* DqpPlugin
* API for handling exceptions by displaying them using an ErrorDialog
* This is not ideal given that the DqpPlugin is technically a non-UI
plugin despite depending on org.eclipse.ui.
* At some point, this needs refactoring to set a UI provider for displaying
exceptions in the UI.
11 years, 1 month