[teiid-designer-dev] [Teiid-Designer/teiid-designer] f4bcae: Fixes error when trying to create data source in s...
Paul Richardson
p.g.richardson at redhat.com
Tue Jul 30 10:17:27 EDT 2013
Branch: refs/heads/master
Home: https://github.com/Teiid-Designer/teiid-designer
Commit: f4bcae5b262931739e6b750ecac06eb44daad99d
https://github.com/Teiid-Designer/teiid-designer/commit/f4bcae5b262931739e6b750ecac06eb44daad99d
Author: Paul Richardson <p.g.richardson at 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
More information about the teiid-designer-dev
mailing list