How to start learning Data Tool? [message #41939] |
Sat, 23 February 2008 18:57 |
Eclipse User |
|
|
|
Originally posted by: Iamindcs.gmail.com
Hello all.
I have to add a data module into my RCP to enable the rcp to be able to
connect to a sql database, read / write data.
I can write my own data module to do that by jdbc.
However, since I am now already in Eclipse platform and Data Tool seems
having a comprehensive functionality for database connection &
manipulation, I am wondering why I don't use Data Tool directly as the
data module in my RCP?
However, I found it is not that easy to learn Data Tool API. No good
tutorial (there are some for how to use Data Tool as a kind of
application, but what I need is for how to integrate Data Tool into my own
application).
I may not want the Data Tool UI for my RCP, I really want some low level
of Data Tool API and build the UI myself. Can someone give me some hints
on how to learn it or where to find a good tutorial of learning how to
integrate DT to my own application? I have seen the Eclipse documentation,
it only lists out all APIs but no tutorials.
Hope ppl can help me out.
thanks
Xinuo
|
|
|
Re: How to start learning Data Tool? [message #42158 is a reply to message #41939] |
Tue, 26 February 2008 21:43 |
Eclipse User |
|
|
|
Originally posted by: john.graham.sybase.com
Xinuo Chen wrote:
> Hello all.
> I have to add a data module into my RCP to enable the rcp to be able to
> connect to a sql database, read / write data.
> I can write my own data module to do that by jdbc.
> However, since I am now already in Eclipse platform and Data Tool seems
> having a comprehensive functionality for database connection &
> manipulation, I am wondering why I don't use Data Tool directly as the
> data module in my RCP?
> However, I found it is not that easy to learn Data Tool API. No good
> tutorial (there are some for how to use Data Tool as a kind of
> application, but what I need is for how to integrate Data Tool into my own
> application).
> I may not want the Data Tool UI for my RCP, I really want some low level
> of Data Tool API and build the UI myself. Can someone give me some hints
> on how to learn it or where to find a good tutorial of learning how to
> integrate DT to my own application? I have seen the Eclipse documentation,
> it only lists out all APIs but no tutorials.
> Hope ppl can help me out.
> thanks
> Xinuo
Hi Xinuo,
There's information about using/extending DTP spread around in various
sources. If you could give us more details about what you're trying to
accomplish, perhaps I can find a source for you.
Regards,
John Graham
Eclipse Data Tools Platform PMC Chair
|
|
|
Re: How to start learning Data Tool? [message #42653 is a reply to message #42158] |
Sun, 02 March 2008 22:31 |
Eclipse User |
|
|
|
Originally posted by: Iamindcs.gmail.com
Hello John
Thanks for your reply indeed
I do not have a clue for what exactly I need to learn for DT. However, I
can tell you what I need DT for in my RCP.
1. I need the whole UI set of Data Explorer. In my RCP, I need to
implement a data module (including the UI). I have to A. let my RCP
connect to a data source (database or csv file) through UI; B. read the
data from the data source; C. Manipulate the data inside my RCP (my own
way);
2. I do not need to write data back to the source, i.e., data source is
read-only.
What I wish to know is How to load the Data Explorer (that view in BIRT
application) to my RCP. How to inject my own code to DT to read the data
out of DT (once it reads the data from the data source) and put it into my
own RCP.
I have got to learn ODA from the Eclipse book of BIRT. Although I have
learnt ODA, it is not enough for me to realise the functions I want.
Please do give me a guide. Data Tool is very very good, so I really wish
to use it.
Thanks.
Xinuo
|
|
|
Re: How to start learning Data Tool? [message #42684 is a reply to message #42653] |
Sun, 02 March 2008 22:35 |
Eclipse User |
|
|
|
Originally posted by: Iamindcs.gmail.com
By the way, just for more clarification, I am not going to use DT inside
Eclipse or BIRT. I wish I could use DT's APIs and utilise the
functionalities of DT.
Thanks
Xinuo
|
|
|
|
Re: How to start learning Data Tool? [message #42748 is a reply to message #42653] |
Mon, 03 March 2008 14:39 |
Eclipse User |
|
|
|
Originally posted by: Iamindcs.gmail.com
For the UI of Data Tool, I mean I want to load the Database Explorer View
in my own RCP. I do not know how to do it.
After I load the Database Explorer View in my RCP, Users can connect to
database through Database Explorer and extract data from the source. Then
my code can get those data and do something else.
John, I can't find any information about how to do it. Most of the
existing resources are about how to use Database Explorer, not about how
to integrate the Database Explorer or Data Toll to developers' own RCPs.
Thanks
Xinuo
|
|
|
Re: How to start learning Data Tool? [message #590141 is a reply to message #41939] |
Tue, 26 February 2008 21:43 |
John Graham Messages: 183 Registered: July 2009 |
Senior Member |
|
|
Xinuo Chen wrote:
> Hello all.
> I have to add a data module into my RCP to enable the rcp to be able to
> connect to a sql database, read / write data.
> I can write my own data module to do that by jdbc.
> However, since I am now already in Eclipse platform and Data Tool seems
> having a comprehensive functionality for database connection &
> manipulation, I am wondering why I don't use Data Tool directly as the
> data module in my RCP?
> However, I found it is not that easy to learn Data Tool API. No good
> tutorial (there are some for how to use Data Tool as a kind of
> application, but what I need is for how to integrate Data Tool into my own
> application).
> I may not want the Data Tool UI for my RCP, I really want some low level
> of Data Tool API and build the UI myself. Can someone give me some hints
> on how to learn it or where to find a good tutorial of learning how to
> integrate DT to my own application? I have seen the Eclipse documentation,
> it only lists out all APIs but no tutorials.
> Hope ppl can help me out.
> thanks
> Xinuo
Hi Xinuo,
There's information about using/extending DTP spread around in various
sources. If you could give us more details about what you're trying to
accomplish, perhaps I can find a source for you.
Regards,
John Graham
Eclipse Data Tools Platform PMC Chair
|
|
|
Re: How to start learning Data Tool? [message #590351 is a reply to message #42158] |
Sun, 02 March 2008 22:31 |
Eclipse User |
|
|
|
Originally posted by: Iamindcs.gmail.com
Hello John
Thanks for your reply indeed
I do not have a clue for what exactly I need to learn for DT. However, I
can tell you what I need DT for in my RCP.
1. I need the whole UI set of Data Explorer. In my RCP, I need to
implement a data module (including the UI). I have to A. let my RCP
connect to a data source (database or csv file) through UI; B. read the
data from the data source; C. Manipulate the data inside my RCP (my own
way);
2. I do not need to write data back to the source, i.e., data source is
read-only.
What I wish to know is How to load the Data Explorer (that view in BIRT
application) to my RCP. How to inject my own code to DT to read the data
out of DT (once it reads the data from the data source) and put it into my
own RCP.
I have got to learn ODA from the Eclipse book of BIRT. Although I have
learnt ODA, it is not enough for me to realise the functions I want.
Please do give me a guide. Data Tool is very very good, so I really wish
to use it.
Thanks.
Xinuo
|
|
|
Re: How to start learning Data Tool? [message #590368 is a reply to message #42653] |
Sun, 02 March 2008 22:35 |
Eclipse User |
|
|
|
Originally posted by: Iamindcs.gmail.com
By the way, just for more clarification, I am not going to use DT inside
Eclipse or BIRT. I wish I could use DT's APIs and utilise the
functionalities of DT.
Thanks
Xinuo
|
|
|
|
Re: How to start learning Data Tool? [message #590397 is a reply to message #42653] |
Mon, 03 March 2008 14:39 |
Eclipse User |
|
|
|
Originally posted by: Iamindcs.gmail.com
For the UI of Data Tool, I mean I want to load the Database Explorer View
in my own RCP. I do not know how to do it.
After I load the Database Explorer View in my RCP, Users can connect to
database through Database Explorer and extract data from the source. Then
my code can get those data and do something else.
John, I can't find any information about how to do it. Most of the
existing resources are about how to use Database Explorer, not about how
to integrate the Database Explorer or Data Toll to developers' own RCPs.
Thanks
Xinuo
|
|
|
Powered by
FUDForum. Page generated in 0.02311 seconds