Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » How to use it in my RCP app?
How to use it in my RCP app? [message #648745] Fri, 14 January 2011 11:49 Go to next message
Michael  is currently offline Michael Friend
Messages: 5
Registered: June 2010
Junior Member
Hey guys!

I'm working on a RCP application which has to come with some functionalities to manage connection profiles to DB2 servers. Since it's way to much overhead to write all the stuff myself, I though it should be possible to use DTP as a Plugin to my RCP Project to use the wizards and stuff.

But where do I start? I'm pretty new with Eclipse development and kind of lost here... How do I use the DTP from my Java code?

Regards,
Michael
Re: How to use it in my RCP app? [message #649137 is a reply to message #648745] Mon, 17 January 2011 21:27 Go to previous messageGo to next message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
Registered: July 2009
Senior Member
Hi Michael...

One place to start is with the FAQ... http://wiki.eclipse.org/DTP_FAQ

I did a presentation a year ago that has some info on using DTP in RCP
as well -
http://www.slideshare.net/bfitzpat/dtp-in-the-real-world-dtp -in-rcp

Hope that helps. We haven't done a whole lot with DTP in RCP to be
honest. It comes up now and again.

Good luck! If you have additional specific questions, feel free to post
them as well and we'll see what we can help with.

--Fitz

Michael wrote:
> Hey guys!
>
> I'm working on a RCP application which has to come with some
> functionalities to manage connection profiles to DB2 servers. Since it's
> way to much overhead to write all the stuff myself, I though it should
> be possible to use DTP as a Plugin to my RCP Project to use the wizards
> and stuff.
>
> But where do I start? I'm pretty new with Eclipse development and kind
> of lost here... How do I use the DTP from my Java code?
>
> Regards,
> Michael
Re: How to use it in my RCP app? [message #649140 is a reply to message #649137] Mon, 17 January 2011 21:35 Go to previous messageGo to next message
Michael  is currently offline Michael Friend
Messages: 5
Registered: June 2010
Junior Member
Thanks for the note Smile

I already googled it up and found your presentation.

To be more precise: is there a way to use the wizards from the DTP Plug-in to bring that functionality to my app without having to code them myself?
Re: How to use it in my RCP app? [message #649308 is a reply to message #649140] Tue, 18 January 2011 16:56 Go to previous messageGo to next message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
Registered: July 2009
Senior Member
Well, the easiest way is to simply import the plug-ins you want. Most of
the Connectivity plug-ins are what you'll need for the wizards and such.
And then just include the Enablement plug-ins you want or need in
addition to the basic stuff.

Michael wrote:
> Thanks for the note :)
>
> I already googled it up and found your presentation.
>
> To be more precise: is there a way to use the wizards from the DTP
> Plug-in to bring that functionality to my app without having to code
> them myself?
Re: How to use it in my RCP app? [message #649415 is a reply to message #649308] Wed, 19 January 2011 07:57 Go to previous message
Michael  is currently offline Michael Friend
Messages: 5
Registered: June 2010
Junior Member
Figured that much, but I still have no idea how to call any of the wizards or dialogs Sad

Let's say I wanted to use the database connection wizard to add a new database in my application. How do I do that?

[quote title=Brian Fitzpatrick wrote on Tue, 18 January 2011 11:56]Well, the easiest way is to simply import the plug-ins you want. Most of
the Connectivity plug-ins are what you'll need for the wizards and such.
And then just include the Enablement plug-ins you want or need in
addition to the basic stuff.
Previous Topic:Drag n Drop tables
Next Topic:Newbie: Problem with DSE and PostgreSQL 8.4 [SOLVED]
Goto Forum:
  


Current Time: Sat Mar 30 07:39:10 GMT 2024

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

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

Back to the top