Branch: refs/heads/master
Home:
https://github.com/Teiid-Designer/teiid-designer
Commit: f4bcae5b262931739e6b750ecac06eb44daad99d
https://github.com/Teiid-Designer/teiid-designer/commit/f4bcae5b262931739...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2013-07-30 (Tue, 30 Jul 2013)
Changed paths:
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/connection/CreateDataSourceAction.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/connection/CreateDataSourceWizard.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/connection/TeiidDataSourceInfo.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/views/TeiidServerActionProvider.java
Log Message:
-----------
Fixes error when trying to create data source in servers view
* CreateDataSourceAction
* CreateDataSourceWizard
* Queries the connection provider whether the selection from the wizard
requires a password. However, it is possible for either a model resource
or a connection profile to be the wizard's selection whilst the other
object is null. Thus, it cannot be assumed that model resource has been
selected.
* Pushes requires password logic into wizard, which sets a flag depending
on its selection. Flag is stored in the TeiidDataSourceInfo.
* TeiidServerActionProvider
* Avoids duplicating the 'Create Data Source' action in the context menu