Example for custom DataSourceWizard? [message #150399] |
Mon, 03 April 2006 13:45  |
Eclipse User |
|
|
|
Hi,
I'm trying to create a Custom DataSource, using an Custom DS Wizard. As
described here
htp://help.eclipse.org/help31/topic/org.eclipse.birt.doc/ref /ext/org_eclipse_birt_report_designer_ui_datasource.html
I added a extension Point org.eclipse.birt.report.designer.ui.odadatasource
to my plugin.xml, which extends the
org.eclipse.datatools.connectivity.oda.design.ui.wizards.New DataSourceWizard-class.
My new DS appears in the Report-Designer an my class is aso instantiated
when I press the "next" button, but nothing happens. Which methods do I have
to override, to get a Custom Page as the following?
I've overwritten
public void addCustomPages() {
addPage(new FolderSelectionWizardPage("Testpage1"));
}
Is there any sample, that helps me getting my effort working?
Am I on the wrong way and should I use an other extension point?
Thanks
Wolfgang
|
|
|
Re: Example for custom DataSourceWizard? [message #150564 is a reply to message #150399] |
Tue, 04 April 2006 05:29   |
Eclipse User |
|
|
|
In the flatfile.ui PlugIn, there is a FlatFileDataSourceConnectionWizard
class defined, but I can't find this class anywhere nether in the birt
project nor in the dtp, is this just a dummy?
<extension
point="org.eclipse.birt.report.designer.ui.odadatasource">
<odaDataSourceUI id="org.eclipse.datatools.connectivity.oda.flatfile">
<newDataSourceWizard
class=" org.eclipse.birt.report.data.oda.flatfile.ui.wizards.FlatFil eDataSourceConnectionWizard "/>
<dataSourceEditorPage
class=" org.eclipse.birt.report.data.oda.flatfile.ui.wizards.FolderS electionPage "
displayName="%datasource.selectfolder"
name="selectFolder"
path="/"/>
</odaDataSourceUI>
It seems that this file is not checked in to the cvs!
"Wolfgang Herr" <herr@tambas.at> schrieb im Newsbeitrag
news:e0rmvf$t9e$1@utils.eclipse.org...
> Hi,
>
> I'm trying to create a Custom DataSource, using an Custom DS Wizard. As
> described here
> htp://help.eclipse.org/help31/topic/org.eclipse.birt.doc/ref /ext/org_eclipse_birt_report_designer_ui_datasource.html
> I added a extension Point
> org.eclipse.birt.report.designer.ui.odadatasource to my plugin.xml, which
> extends the
> org.eclipse.datatools.connectivity.oda.design.ui.wizards.New DataSourceWizard-class.
>
> My new DS appears in the Report-Designer an my class is aso instantiated
> when I press the "next" button, but nothing happens. Which methods do I
> have to override, to get a Custom Page as the following?
> I've overwritten
>
> public void addCustomPages() {
> addPage(new FolderSelectionWizardPage("Testpage1"));
> }
>
> Is there any sample, that helps me getting my effort working?
>
> Am I on the wrong way and should I use an other extension point?
>
> Thanks
> Wolfgang
>
|
|
|
Re: Example for custom DataSourceWizard? [message #150783 is a reply to message #150564] |
Tue, 04 April 2006 17:12   |
Eclipse User |
|
|
|
What version of birt are you using?
If you are using 2.0.0 or 2.0.1 you should find this in CVS under the
source for the flatfile.ui plugin.
Jason
"Wolfgang Herr" <herr@tambas.at> wrote in message
news:e0te96$g6i$1@utils.eclipse.org...
> In the flatfile.ui PlugIn, there is a FlatFileDataSourceConnectionWizard
> class defined, but I can't find this class anywhere nether in the birt
> project nor in the dtp, is this just a dummy?
>
> <extension
> point="org.eclipse.birt.report.designer.ui.odadatasource">
> <odaDataSourceUI
> id="org.eclipse.datatools.connectivity.oda.flatfile">
> <newDataSourceWizard
> class=" org.eclipse.birt.report.data.oda.flatfile.ui.wizards.FlatFil eDataSourceConnectionWizard "/>
> <dataSourceEditorPage
>
> class=" org.eclipse.birt.report.data.oda.flatfile.ui.wizards.FolderS electionPage "
> displayName="%datasource.selectfolder"
> name="selectFolder"
> path="/"/>
> </odaDataSourceUI>
>
> It seems that this file is not checked in to the cvs!
>
>
> "Wolfgang Herr" <herr@tambas.at> schrieb im Newsbeitrag
> news:e0rmvf$t9e$1@utils.eclipse.org...
>> Hi,
>>
>> I'm trying to create a Custom DataSource, using an Custom DS Wizard. As
>> described here
>> htp://help.eclipse.org/help31/topic/org.eclipse.birt.doc/ref /ext/org_eclipse_birt_report_designer_ui_datasource.html
>> I added a extension Point
>> org.eclipse.birt.report.designer.ui.odadatasource to my plugin.xml, which
>> extends the
>> org.eclipse.datatools.connectivity.oda.design.ui.wizards.New DataSourceWizard-class.
>>
>> My new DS appears in the Report-Designer an my class is aso instantiated
>> when I press the "next" button, but nothing happens. Which methods do I
>> have to override, to get a Custom Page as the following?
>> I've overwritten
>>
>> public void addCustomPages() {
>> addPage(new FolderSelectionWizardPage("Testpage1"));
>> }
>>
>> Is there any sample, that helps me getting my effort working?
>>
>> Am I on the wrong way and should I use an other extension point?
>>
>> Thanks
>> Wolfgang
>>
>
>
|
|
|
Re: Example for custom DataSourceWizard? [message #150811 is a reply to message #150783] |
Wed, 05 April 2006 02:41   |
Eclipse User |
|
|
|
I've checked out the source form the head, seems to be the 2.1.0M5 Version
"Jason Weathersby" <jweathersby@actuate.com> schrieb im Newsbeitrag
news:e0unfp$fji$1@utils.eclipse.org...
> What version of birt are you using?
> If you are using 2.0.0 or 2.0.1 you should find this in CVS under the
> source for the flatfile.ui plugin.
>
> Jason
>
> "Wolfgang Herr" <herr@tambas.at> wrote in message
> news:e0te96$g6i$1@utils.eclipse.org...
>> In the flatfile.ui PlugIn, there is a FlatFileDataSourceConnectionWizard
>> class defined, but I can't find this class anywhere nether in the birt
>> project nor in the dtp, is this just a dummy?
>>
>> <extension
>> point="org.eclipse.birt.report.designer.ui.odadatasource">
>> <odaDataSourceUI
>> id="org.eclipse.datatools.connectivity.oda.flatfile">
>> <newDataSourceWizard
>> class=" org.eclipse.birt.report.data.oda.flatfile.ui.wizards.FlatFil eDataSourceConnectionWizard "/>
>> <dataSourceEditorPage
>>
>> class=" org.eclipse.birt.report.data.oda.flatfile.ui.wizards.FolderS electionPage "
>> displayName="%datasource.selectfolder"
>> name="selectFolder"
>> path="/"/>
>> </odaDataSourceUI>
>>
>> It seems that this file is not checked in to the cvs!
>>
>>
>> "Wolfgang Herr" <herr@tambas.at> schrieb im Newsbeitrag
>> news:e0rmvf$t9e$1@utils.eclipse.org...
>>> Hi,
>>>
>>> I'm trying to create a Custom DataSource, using an Custom DS Wizard. As
>>> described here
>>> htp://help.eclipse.org/help31/topic/org.eclipse.birt.doc/ref /ext/org_eclipse_birt_report_designer_ui_datasource.html
>>> I added a extension Point
>>> org.eclipse.birt.report.designer.ui.odadatasource to my plugin.xml,
>>> which extends the
>>> org.eclipse.datatools.connectivity.oda.design.ui.wizards.New DataSourceWizard-class.
>>>
>>> My new DS appears in the Report-Designer an my class is aso instantiated
>>> when I press the "next" button, but nothing happens. Which methods do I
>>> have to override, to get a Custom Page as the following?
>>> I've overwritten
>>>
>>> public void addCustomPages() {
>>> addPage(new FolderSelectionWizardPage("Testpage1"));
>>> }
>>>
>>> Is there any sample, that helps me getting my effort working?
>>>
>>> Am I on the wrong way and should I use an other extension point?
>>>
>>> Thanks
>>> Wolfgang
>>>
>>
>>
>
>
|
|
|
Re: Example for custom DataSourceWizard? [message #151146 is a reply to message #150811] |
Wed, 05 April 2006 12:10  |
Eclipse User |
|
|
|
ODA is changing for the 2.1 release. It will still support the 2.0.1 way of
building the GUI though.
You may want to checkout 2.0.1 or checkout the M5 version.
Jason
"Wolfgang Herr" <herr@tambas.at> wrote in message
news:e0vorj$1bv$1@utils.eclipse.org...
> I've checked out the source form the head, seems to be the 2.1.0M5 Version
>
>
> "Jason Weathersby" <jweathersby@actuate.com> schrieb im Newsbeitrag
> news:e0unfp$fji$1@utils.eclipse.org...
>> What version of birt are you using?
>> If you are using 2.0.0 or 2.0.1 you should find this in CVS under the
>> source for the flatfile.ui plugin.
>>
>> Jason
>>
>> "Wolfgang Herr" <herr@tambas.at> wrote in message
>> news:e0te96$g6i$1@utils.eclipse.org...
>>> In the flatfile.ui PlugIn, there is a FlatFileDataSourceConnectionWizard
>>> class defined, but I can't find this class anywhere nether in the birt
>>> project nor in the dtp, is this just a dummy?
>>>
>>> <extension
>>> point="org.eclipse.birt.report.designer.ui.odadatasource">
>>> <odaDataSourceUI
>>> id="org.eclipse.datatools.connectivity.oda.flatfile">
>>> <newDataSourceWizard
>>> class=" org.eclipse.birt.report.data.oda.flatfile.ui.wizards.FlatFil eDataSourceConnectionWizard "/>
>>> <dataSourceEditorPage
>>>
>>> class=" org.eclipse.birt.report.data.oda.flatfile.ui.wizards.FolderS electionPage "
>>> displayName="%datasource.selectfolder"
>>> name="selectFolder"
>>> path="/"/>
>>> </odaDataSourceUI>
>>>
>>> It seems that this file is not checked in to the cvs!
>>>
>>>
>>> "Wolfgang Herr" <herr@tambas.at> schrieb im Newsbeitrag
>>> news:e0rmvf$t9e$1@utils.eclipse.org...
>>>> Hi,
>>>>
>>>> I'm trying to create a Custom DataSource, using an Custom DS Wizard. As
>>>> described here
>>>> htp://help.eclipse.org/help31/topic/org.eclipse.birt.doc/ref /ext/org_eclipse_birt_report_designer_ui_datasource.html
>>>> I added a extension Point
>>>> org.eclipse.birt.report.designer.ui.odadatasource to my plugin.xml,
>>>> which extends the
>>>> org.eclipse.datatools.connectivity.oda.design.ui.wizards.New DataSourceWizard-class.
>>>>
>>>> My new DS appears in the Report-Designer an my class is aso
>>>> instantiated when I press the "next" button, but nothing happens. Which
>>>> methods do I have to override, to get a Custom Page as the following?
>>>> I've overwritten
>>>>
>>>> public void addCustomPages() {
>>>> addPage(new FolderSelectionWizardPage("Testpage1"));
>>>> }
>>>>
>>>> Is there any sample, that helps me getting my effort working?
>>>>
>>>> Am I on the wrong way and should I use an other extension point?
>>>>
>>>> Thanks
>>>> Wolfgang
>>>>
>>>
>>>
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.07123 seconds