Skip to main content



      Home
Home » Archived » BIRT » DataSet UI in 2.1 RC2
DataSet UI in 2.1 RC2 [message #158926] Sat, 06 May 2006 07:09 Go to next message
Eclipse UserFriend
Originally posted by: fleque.users.sf.net

Hi all,

I have a question concerning the DataSource and DataSet UI extension
points in 2.1 RC2. I've used extensions to
org.eclipse.birt.report.designer.ui.odadatasource with older versions of
BIRT to include custom DataSet UI into the ReportEditor. This still
works fine for RC2.
I've now tried to change this to the datatools plugins and extended
org.eclipse.datatools.connectivity.oda.design.ui.dataSource.
Unfortunately the pages contributed by the new extension point do not
show up in the DataSet Editor Dialog nor in the Property Editor View.

The extesion looks like this:
<extension

point="org.eclipse.datatools.connectivity.oda.design.ui.dataSource ">
<dataSourceUI
id="org.nightlabs.jfire.reporting.oda.jfs.JFSDriver">
</dataSourceUI>
<dataSetUI
id="org.nightlabs.jfire.reporting.oda.jfs.JFSDataSet"

initialPageId=" org.nightlabs.jfire.reporting.admin.oda.jfs.client.ui.JFireS criptRegistryItemWizardPage "
supportsInParameters="true"
supportsOutParameters="false">
<dataSetPage
displayName="JFire Script"
icon="icons/ReportingAdminPerspective.16x16.png"

id=" org.nightlabs.jfire.reporting.admin.oda.jfs.client.ui.JFireS criptRegistryItemWizardPage "
path="/"

wizardPageClass=" org.nightlabs.jfire.reporting.admin.oda.jfs.client.ui.JFireS criptRegistryItemWizardPage "/>
</dataSetUI>
</extension>

What could I have missed? I know that DataSet pages for the datatools
extension point have to subclass DataSetWizardPage and not BIRT's
AbstractPropertyPage and there are no complaints about non-loadable
classes or invalid extension definitions?

Any hints/comments appreciated.

Best regards
Alex
Re: DataSet UI in 2.1 RC2 [message #159677 is a reply to message #158926] Tue, 09 May 2006 14:57 Go to previous message
Eclipse UserFriend
Originally posted by: fleque.users.nospam.sourceforge.net

Hi all,

this was a rtf dtd question:

<!ELEMENT dataSetUI (dataSetWizard , dataSetPage+)>

says you have to have to register a dataSetWizard for your dataSetUI
extension, even if there is nothing to be done in the creation wizard
only in the edit wizard.

IMHO

<!ELEMENT dataSetUI (dataSetWizard? , dataSetPage+)>

would be a better solution. That way extendors could define pages for
the edit wizard only.

I did as the flatfile plugin and registered the base class itself as
DataSetWizard:

<dataSetWizard
class=" org.eclipse.datatools.connectivity.oda.design.ui.wizards.Dat aSetWizard "

windowTitle="JFS DataSet"/>

The wizard pages now appear in the edit wizard, but when creating the
DataSet the wizard get an exception when trying to display the
DataSetWizard registered. Something is still null that shouldn't

Regards Alex





Alexander Bieber wrote:
> Hi all,
>
> I have a question concerning the DataSource and DataSet UI extension
> points in 2.1 RC2. I've used extensions to
> org.eclipse.birt.report.designer.ui.odadatasource with older versions of
> BIRT to include custom DataSet UI into the ReportEditor. This still
> works fine for RC2.
> I've now tried to change this to the datatools plugins and extended
> org.eclipse.datatools.connectivity.oda.design.ui.dataSource.
> Unfortunately the pages contributed by the new extension point do not
> show up in the DataSet Editor Dialog nor in the Property Editor View.
>
> The extesion looks like this:
> <extension
>
> point="org.eclipse.datatools.connectivity.oda.design.ui.dataSource ">
> <dataSourceUI
> id="org.nightlabs.jfire.reporting.oda.jfs.JFSDriver">
> </dataSourceUI>
> <dataSetUI
> id="org.nightlabs.jfire.reporting.oda.jfs.JFSDataSet"
>
> initialPageId=" org.nightlabs.jfire.reporting.admin.oda.jfs.client.ui.JFireS criptRegistryItemWizardPage "
>
> supportsInParameters="true"
> supportsOutParameters="false">
> <dataSetPage
> displayName="JFire Script"
> icon="icons/ReportingAdminPerspective.16x16.png"
>
> id=" org.nightlabs.jfire.reporting.admin.oda.jfs.client.ui.JFireS criptRegistryItemWizardPage "
>
> path="/"
>
> wizardPageClass=" org.nightlabs.jfire.reporting.admin.oda.jfs.client.ui.JFireS criptRegistryItemWizardPage "/>
>
> </dataSetUI>
> </extension>
>
> What could I have missed? I know that DataSet pages for the datatools
> extension point have to subclass DataSetWizardPage and not BIRT's
> AbstractPropertyPage and there are no complaints about non-loadable
> classes or invalid extension definitions?
>
> Any hints/comments appreciated.
>
> Best regards
> Alex
>
Previous Topic:Lotus Notes
Next Topic:date parameters
Goto Forum:
  


Current Time: Tue Jul 15 23:42:20 EDT 2025

Powered by FUDForum. Page generated in 0.04861 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top