Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Usage of DTP - Questions
Usage of DTP - Questions [message #650214] Sun, 23 January 2011 07:34 Go to next message
akoeck is currently offline akoeckFriend
Messages: 62
Registered: December 2010
Member
I want to use some features and components of DTP in my application. But I've got some question instead.

1.) First of all I want to use the Data Source Explorer, and it should display MySQL 5.5 databases,and local XML and CSV files. Can I achieve this by modifying the Data Source Explorer or do I have to build my own via Common Navigator Framework?

2.) The second question is, if I could get the components to work together with MySQL 5.5 with the correct JConnector?

3.) Where are the information about the databases like table names, primary key, constraints are saved, and could i write these information into my own model?

4.) How or where is the Database Connection saved, so that at start of the application the connection is already displayed in the DSE?
Re: Usage of DTP - Questions [message #650791 is a reply to message #650214] Wed, 26 January 2011 15:21 Go to previous messageGo to next message
akoeck is currently offline akoeckFriend
Messages: 62
Registered: December 2010
Member
Ok, most of that i could answer with the DTP FAQ.

But I have some new questions.
When I want to create a new Connection profile this wizard is opening. Can I modify this wizard so that only shows the databases I'm supporting?

Is there also a tutorial or something similar describing how to create my own driver and connection profile?

[Updated on: Wed, 26 January 2011 15:21]

Report message to a moderator

Re: Usage of DTP - Questions [message #650843 is a reply to message #650791] Wed, 26 January 2011 19:18 Go to previous messageGo to next message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
Registered: July 2009
Senior Member
Glad you found the FAQ. :)

You can't really modify the wizard, but you can uninstall the databases
you don't support. There really isn't a programmatic way to hide
databases so far as I know.

As for how to create your own driver template & connection profile,
check these links out:
http://stevenmcherry.wordpress.com/2009/04/24/programmatical ly-creating-dtp-driver-and-profile-definitions/
http://fitzdtp.blogspot.com/2008/06/how-do-you-add-your-own- custom-driver.html
http://fitzdtp.blogspot.com/2008/08/dtp-sqlite-support-conti nued-on-to.html
http://fitzdtp.blogspot.com/2008/08/creating-actual-sqlite-c onnection.html
http://fitzdtp.blogspot.com/2008/08/creating-sqlite-connecti on-profile-ui.html

Hope that helps!
--Fitz

akoeck@gmx.de wrote:
> Ok, most of that i could answer with the http://wiki.eclipse.org/DTP_FAQ
>
> But I hae some new questions.
> When I want to create a new Connection profile this wizard is opening.
> Can I modify this wizard so that only shows the databases I'm supporting?
>
> Is there also a tutorial or something similar describing how to create
> my own driver and connection profile?
Re: Usage of DTP - Questions [message #650942 is a reply to message #650843] Thu, 27 January 2011 09:10 Go to previous messageGo to next message
akoeck is currently offline akoeckFriend
Messages: 62
Registered: December 2010
Member
Thanks for your reply.

I found your blogentries yesterday already by myself. ;)

But what exactly do you mean with "uninstall the databases"?
How do I do this?

Am 26.01.2011 20:18, schrieb Brian Fitzpatrick:
> Glad you found the FAQ. :)
>
> You can't really modify the wizard, but you can uninstall the databases
> you don't support. There really isn't a programmatic way to hide
> databases so far as I know.
>
> As for how to create your own driver template & connection profile,
> check these links out:
> http://stevenmcherry.wordpress.com/2009/04/24/programmatical ly-creating-dtp-driver-and-profile-definitions/
>
> http://fitzdtp.blogspot.com/2008/06/how-do-you-add-your-own- custom-driver.html
>
> http://fitzdtp.blogspot.com/2008/08/dtp-sqlite-support-conti nued-on-to.html
> http://fitzdtp.blogspot.com/2008/08/creating-actual-sqlite-c onnection.html
> http://fitzdtp.blogspot.com/2008/08/creating-sqlite-connecti on-profile-ui.html
>
>
> Hope that helps!
> --Fitz
>
> akoeck@gmx.de wrote:
>> Ok, most of that i could answer with the http://wiki.eclipse.org/DTP_FAQ
>>
>> But I hae some new questions.
>> When I want to create a new Connection profile this wizard is opening.
>> Can I modify this wizard so that only shows the databases I'm supporting?
>>
>> Is there also a tutorial or something similar describing how to create
>> my own driver and connection profile?
Re: Usage of DTP - Questions [message #651627 is a reply to message #650942] Mon, 31 January 2011 23:11 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
Registered: July 2009
Senior Member
I mean uninstalling the plug-ins. Basically removing them from the
installation directory.

Alex K wrote:
> Thanks for your reply.
>
> I found your blogentries yesterday already by myself. ;)
>
> But what exactly do you mean with "uninstall the databases"?
> How do I do this?
Previous Topic:DerivedTable.queryTable not setted
Next Topic:Unable to create a new database connection in DSE
Goto Forum:
  


Current Time: Wed Apr 24 23:20:03 GMT 2024

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

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

Back to the top