Subjdbc Plugin UI question [message #167171] |
Fri, 02 June 2006 16:51  |
Eclipse User |
|
|
|
Originally posted by: kevin.concurro.com
Hello,
I am using a modified version of the subjdbc plugin written by Jason
Weathersby. The problem I am running revolves around the fact that the
"Parameters" option doesn't show up in the UI when I am trying to create
data sets, so I am unable to add parameters to my datasets. In checking to
see if this is something caused by the work I did, I tested Jason's example
and get the same problem.
I have built Eclipse and using:
wtp-all-in-one-sdk-R-1.0.1-200602171228-win32
birt-report-framework-2_0_1
I have attached the plugins that I built using the Eclipse Plug-In
development, but the subjdbc plugin it is specific to the app I am working
with because I hardcoded the DS. (This will not effect the UI within the
Report Design Perspective though, it only means you won't be able to run
using JNDI within your BIRT Tomcat project)
If anyone else has encountered this problem, can you let me know how you
overcame it?
Thanks,
Kevin
|
|
|
Re: Subjdbc Plugin UI question [message #167198 is a reply to message #167171] |
Fri, 02 June 2006 18:39  |
Eclipse User |
|
|
|
Originally posted by: kevin.concurro.com
I was able to correct the error by looking at the jdbc.ui plugin. There were
two places where addsDataSetParametersPage = "true" is required.
Here is the correct plugin.xml, and I apologize for the formatting:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin id="org.eclipse.birt.report.data.oda.subjdbc.ui" name="Ui Plug-in"
version="1.0.0" provider-name="Concurro"
class=" org.eclipse.birt.report.data.oda.subjdbc.ui.plugin.SubjdbcUI Plugin ">
<runtime>
<library name="uisubjdbc.jar">
<export name="*"/>
</library>
</runtime>
<requires>
<import plugin="org.eclipse.birt.report.data.oda.jdbc.ui" />
<import plugin="org.eclipse.birt.core"/>
</requires>
<extension
point="org.eclipse.birt.report.designer.ui.odadatasource">
<odaDataSourceUI id="org.eclipse.birt.report.data.oda.subjdbc">
<newDataSourceWizard
class=" org.eclipse.birt.report.data.oda.jdbc.ui.wizards.JdbcDataSou rceWizard "/>
<dataSourceEditorPage
class=" org.eclipse.birt.report.data.oda.jdbc.ui.wizards.JdbcDataSou rcePage "
path="/"
displayName="Data source connection"
name=" org.eclipse.birt.report.data.oda.jdbc.ui.data-source-editor. connection "/>
</odaDataSourceUI>
<odaDataSetUI id="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet "
addsDataSetParametersPage = "true">
<dataSetEditorPage
class=" org.eclipse.birt.report.data.oda.jdbc.ui.editors.SQLDataSetE ditorPage "
path="/" displayName="Query"
name=" org.eclipse.birt.report.data.oda.jdbc.ui.data-set-editor-pag e1 "/>
</odaDataSetUI>
<odaDataSetUI id="org.eclipse.birt.report.data.oda.jdbc.SPSelectDataSet"
addsDataSetParametersPage = "true">
<dataSetEditorPage
class=" org.eclipse.birt.report.data.oda.jdbc.ui.editors.SQLDataSetE ditorPage "
path="/" displayName="Query"
name=" org.eclipse.birt.report.data.oda.jdbc.ui.data-set-editor-pag e1 " />
</odaDataSetUI>
</extension>
</plugin>
|
|
|
Powered by
FUDForum. Page generated in 0.47974 seconds