ODA driver for Birt - wizard problem [message #21286] |
Fri, 15 September 2006 05:49  |
Eclipse User |
|
|
|
Originally posted by: screek.gmx.de
Hi,
I am currently implementing a driver to use a Tamino XML database as a data
source in Birt (similar to the xml data source, but I need to provide a
username and password). Bird recognizes my plugin and lists it as a data
source, but if I click on it, I can't proceed to the next page. My UI part
is not recognized somehow.
I have 2 packages:
- one for the database stuff using the
org.eclipse.datatools.connectivity.oda.dataSource extension point
- the other one for the UI using the
org.eclipse.datatools.connectivity.oda.design.ui.dataSource,
org.eclipse.datatools.connectivity.connectionProfile and
org.eclipse.ui.propertyPages extension points
What do I need the connectionProfile extension for? Wouldn't it be enough to
use the org.eclipse.datatools.connectivity.oda.design.ui.dataSource
extension? Also I am a bit confused about the newWizard extension element of
the connectionProfile extension and the newDataSourceWizard extension
element of the design.ui.dataSource extension.
I just started developing plugins last week, so perhaps I lack some
understanding for extension points, but I read tutorials, much
documentation, newsgroups and I tried to get it to work for a few days.
I would be very thankful if someone could try to explain me what I have to
do so that my Wizard Page is shown! In the attachment you can find my two
plugin.xml files (I renamed the plugin.xml file for the UI only to attach
both files)
Regards, Christian
Attachment: plugin_ui.xml
(Size: 2.69KB, Downloaded 251 times)
Attachment: plugin.xml
(Size: 3.05KB, Downloaded 381 times)
|
|
|
Re: ODA driver for Birt - wizard problem [message #21311 is a reply to message #21286] |
Fri, 15 September 2006 21:34   |
Eclipse User |
|
|
|
Christian,
In your ui plugin manifest, is the value of "%oda.data.source.id" specified in plugin.properties as
"plugin.oda.xql.dataSource", which is the value specified in your oda runtime plugin.xml ?
<extension
point="org.eclipse.datatools.connectivity.oda.design.ui.dataSource ">
<dataSourceUI id="%oda.data.source.id">
They must be the same to match the designer plugin to the runtime driver. The BIRT wizard's Next button is enabled
only if it finds a valid ODA designer that matches the selected ODA runtime driver.
>> What do I need the connectionProfile extension for?
The oda design-time framework adopts the connection profile framework for defining an ODA data source profile. It is
used for any DTP data source connection definition. The oda.design.ui.dataSource extension point is supplemental, and
specific to ODA data source connections.
Most custom ODA designers may likely want to use the default implementation for its connectionProfile extension, but
customize own wizard page(s).
The implementation class of the data source wizard is specified in the connectionProfile.newWizard.class attribute.
Supplemental specification, such as the starting wizard page for creating a new ODA data source design instance is
specified in the oda.design.ui.dataSource extension point.
Separately, if you only need to add a couple of data source properties to the BIRT oda.xml driver, instead of
implementing your own ODA driver, it might be more straight forward to implement the
org.eclipse.datatools.connectivity.oda.consumer.propertyProv ider extension point. See its schema reference doc for
more info.
Linda
|
|
|
Re: ODA driver for Birt - wizard problem [message #21595 is a reply to message #21311] |
Mon, 18 September 2006 08:06  |
Eclipse User |
|
|
|
Originally posted by: screek.gmx.de
Hi Linda,
thanks to your response I checked the "%oda.data.source.id" again and
encountered a spelling error ...
Regarding the Connection Profile I just recognized that it is possible to
create such a profile with Eclipse (New -> Connection Profiles -> Connection
Profile). In BIRT I did not see such a wizard, there you start right away
with the Data Source Wizard. Now it all makes sense.
Thank you very much!
Regards Christian
|
|
|
Re: ODA driver for Birt - wizard problem [message #582282 is a reply to message #21286] |
Fri, 15 September 2006 21:34  |
Eclipse User |
|
|
|
Christian,
In your ui plugin manifest, is the value of "%oda.data.source.id" specified in plugin.properties as
"plugin.oda.xql.dataSource", which is the value specified in your oda runtime plugin.xml ?
<extension
point="org.eclipse.datatools.connectivity.oda.design.ui.dataSource ">
<dataSourceUI id="%oda.data.source.id">
They must be the same to match the designer plugin to the runtime driver. The BIRT wizard's Next button is enabled
only if it finds a valid ODA designer that matches the selected ODA runtime driver.
>> What do I need the connectionProfile extension for?
The oda design-time framework adopts the connection profile framework for defining an ODA data source profile. It is
used for any DTP data source connection definition. The oda.design.ui.dataSource extension point is supplemental, and
specific to ODA data source connections.
Most custom ODA designers may likely want to use the default implementation for its connectionProfile extension, but
customize own wizard page(s).
The implementation class of the data source wizard is specified in the connectionProfile.newWizard.class attribute.
Supplemental specification, such as the starting wizard page for creating a new ODA data source design instance is
specified in the oda.design.ui.dataSource extension point.
Separately, if you only need to add a couple of data source properties to the BIRT oda.xml driver, instead of
implementing your own ODA driver, it might be more straight forward to implement the
org.eclipse.datatools.connectivity.oda.consumer.propertyProv ider extension point. See its schema reference doc for
more info.
Linda
|
|
|
Re: ODA driver for Birt - wizard problem [message #582327 is a reply to message #21311] |
Mon, 18 September 2006 08:06  |
Eclipse User |
|
|
|
Hi Linda,
thanks to your response I checked the "%oda.data.source.id" again and
encountered a spelling error ...
Regarding the Connection Profile I just recognized that it is possible to
create such a profile with Eclipse (New -> Connection Profiles -> Connection
Profile). In BIRT I did not see such a wizard, there you start right away
with the Data Source Wizard. Now it all makes sense.
Thank you very much!
Regards Christian
|
|
|
Powered by
FUDForum. Page generated in 0.05783 seconds