Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Using DTP in RCP/Plugins
Using DTP in RCP/Plugins [message #35494] Sat, 25 August 2007 08:05 Go to next message
M. Bashir Al-Noimi is currently offline M. Bashir Al-NoimiFriend
Messages: 65
Registered: July 2009
Member
Hi folks,

I would like to use eclipse datatools inside my RCP project, so is there
anybody knows how i can do that?

I tried to add DataSourceExplorerNavigator ViewPart to my Perspective by
using the following code:

public void createInitialLayout(IPageLayout layout) {
addFastViews(layout);
layout.setEditorAreaVisible(false);
addPerspectiveShortcuts(layout);
addViewShortcuts(layout);

layout.addView(" org.eclipse.datatools.connectivity.DataSourceExplorerNavigat or ",

IPageLayout.TOP, 0.5f, layout.getEditorArea());
}

but when i launched the project, DataSourceExplorerNavigator ViewPart
didn't appear !



--
Best Regards تحياتي
Muhammad Bashir Al-Noimi محمد بشير النعيمي

My Blog مدونتي
http://hali-sy.com/
Re: Using DTP in RCP/Plugins [message #35628 is a reply to message #35494] Mon, 27 August 2007 18:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: brianf.sybase.com

Hi there!

Actually if you look at the o.e.datatools.connectivity.ui.dse plug-in,
there's a package org.eclipse.datatools.connectivity.ui.dse.dialogs that
includes a ProfileSelectionDialog class that shows how to use the
ProfileSelectionComposite class that should be able to host the DSE on a
page.

I honestly haven't played with the DSE in RCP though...

Has anyone else had any experience hosting the DSE in an RCP application?

--Brian Fitzpatrick
Sr. Software Engineer/DTP Connectivity
Sybase, Inc.

"M. Bashir Al-Noimi" <bashir.storm@gmail.com> wrote in message
news:faonsg$dd7$1@build.eclipse.org...
> Hi folks,
>
> I would like to use eclipse datatools inside my RCP project, so is there
> anybody knows how i can do that?
>
> I tried to add DataSourceExplorerNavigator ViewPart to my Perspective by
> using the following code:
>
> public void createInitialLayout(IPageLayout layout) {
> addFastViews(layout);
> layout.setEditorAreaVisible(false);
> addPerspectiveShortcuts(layout);
> addViewShortcuts(layout);
>
> layout.addView(" org.eclipse.datatools.connectivity.DataSourceExplorerNavigat or ",
> IPageLayout.TOP, 0.5f, layout.getEditorArea());
> }
>
> but when i launched the project, DataSourceExplorerNavigator ViewPart
> didn't appear !
>
>
>
> --
> Best Regards
Re: Using DTP in RCP/Plugins [message #35798 is a reply to message #35628] Thu, 30 August 2007 13:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: brianf.sybase.com

Also (just remembered this tidbit) check out John Graham's presentation from
the 2006 EclipseCon on using DTP in RCP clients...

http://www.eclipse.org/datatools/presentations/Data%20Tools% 20for%20Rich%20Clients.pdf

"Brian Fitzpatrick" <brianf@sybase.com> wrote in message
news:fav6hc$6op$1@build.eclipse.org...
> Hi there!
>
> Actually if you look at the o.e.datatools.connectivity.ui.dse plug-in,
> there's a package org.eclipse.datatools.connectivity.ui.dse.dialogs that
> includes a ProfileSelectionDialog class that shows how to use the
> ProfileSelectionComposite class that should be able to host the DSE on a
> page.
>
> I honestly haven't played with the DSE in RCP though...
>
> Has anyone else had any experience hosting the DSE in an RCP application?
>
> --Brian Fitzpatrick
> Sr. Software Engineer/DTP Connectivity
> Sybase, Inc.
>
> "M. Bashir Al-Noimi" <bashir.storm@gmail.com> wrote in message
> news:faonsg$dd7$1@build.eclipse.org...
>> Hi folks,
>>
>> I would like to use eclipse datatools inside my RCP project, so is there
>> anybody knows how i can do that?
>>
>> I tried to add DataSourceExplorerNavigator ViewPart to my Perspective by
>> using the following code:
>>
>> public void createInitialLayout(IPageLayout layout) {
>> addFastViews(layout);
>> layout.setEditorAreaVisible(false);
>> addPerspectiveShortcuts(layout);
>> addViewShortcuts(layout);
>>
>> layout.addView(" org.eclipse.datatools.connectivity.DataSourceExplorerNavigat or ",
>> IPageLayout.TOP, 0.5f, layout.getEditorArea());
>> }
>>
>> but when i launched the project, DataSourceExplorerNavigator ViewPart
>> didn't appear !
>>
>>
>>
>> --
>> Best Regards
Re: Using DTP in RCP/Plugins [message #35903 is a reply to message #35798] Fri, 31 August 2007 16:36 Go to previous message
Eclipse UserFriend
Originally posted by: john.graham.sybase.com

Thanks for the plug, Brian! :-)

I'd also take a look at the McAffer & Lemieux RCP book...

-- John Graham

Brian Fitzpatrick wrote:

> Also (just remembered this tidbit) check out John Graham's presentation from
> the 2006 EclipseCon on using DTP in RCP clients...

>
http://www.eclipse.org/datatools/presentations/Data%20Tools% 20for%20Rich%20Clients.pdf
Re: Using DTP in RCP/Plugins [message #587677 is a reply to message #35494] Mon, 27 August 2007 18:52 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 495
Registered: July 2009
Senior Member
Hi there!

Actually if you look at the o.e.datatools.connectivity.ui.dse plug-in,
there's a package org.eclipse.datatools.connectivity.ui.dse.dialogs that
includes a ProfileSelectionDialog class that shows how to use the
ProfileSelectionComposite class that should be able to host the DSE on a
page.

I honestly haven't played with the DSE in RCP though...

Has anyone else had any experience hosting the DSE in an RCP application?

--Brian Fitzpatrick
Sr. Software Engineer/DTP Connectivity
Sybase, Inc.

"M. Bashir Al-Noimi" <bashir.storm@gmail.com> wrote in message
news:faonsg$dd7$1@build.eclipse.org...
> Hi folks,
>
> I would like to use eclipse datatools inside my RCP project, so is there
> anybody knows how i can do that?
>
> I tried to add DataSourceExplorerNavigator ViewPart to my Perspective by
> using the following code:
>
> public void createInitialLayout(IPageLayout layout) {
> addFastViews(layout);
> layout.setEditorAreaVisible(false);
> addPerspectiveShortcuts(layout);
> addViewShortcuts(layout);
>
> layout.addView(" org.eclipse.datatools.connectivity.DataSourceExplorerNavigat or ",
> IPageLayout.TOP, 0.5f, layout.getEditorArea());
> }
>
> but when i launched the project, DataSourceExplorerNavigator ViewPart
> didn't appear !
>
>
>
> --
> Best Regards
Re: Using DTP in RCP/Plugins [message #587729 is a reply to message #35628] Thu, 30 August 2007 13:40 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 495
Registered: July 2009
Senior Member
Also (just remembered this tidbit) check out John Graham's presentation from
the 2006 EclipseCon on using DTP in RCP clients...

http://www.eclipse.org/datatools/presentations/Data%20Tools% 20for%20Rich%20Clients.pdf

"Brian Fitzpatrick" <brianf@sybase.com> wrote in message
news:fav6hc$6op$1@build.eclipse.org...
> Hi there!
>
> Actually if you look at the o.e.datatools.connectivity.ui.dse plug-in,
> there's a package org.eclipse.datatools.connectivity.ui.dse.dialogs that
> includes a ProfileSelectionDialog class that shows how to use the
> ProfileSelectionComposite class that should be able to host the DSE on a
> page.
>
> I honestly haven't played with the DSE in RCP though...
>
> Has anyone else had any experience hosting the DSE in an RCP application?
>
> --Brian Fitzpatrick
> Sr. Software Engineer/DTP Connectivity
> Sybase, Inc.
>
> "M. Bashir Al-Noimi" <bashir.storm@gmail.com> wrote in message
> news:faonsg$dd7$1@build.eclipse.org...
>> Hi folks,
>>
>> I would like to use eclipse datatools inside my RCP project, so is there
>> anybody knows how i can do that?
>>
>> I tried to add DataSourceExplorerNavigator ViewPart to my Perspective by
>> using the following code:
>>
>> public void createInitialLayout(IPageLayout layout) {
>> addFastViews(layout);
>> layout.setEditorAreaVisible(false);
>> addPerspectiveShortcuts(layout);
>> addViewShortcuts(layout);
>>
>> layout.addView(" org.eclipse.datatools.connectivity.DataSourceExplorerNavigat or ",
>> IPageLayout.TOP, 0.5f, layout.getEditorArea());
>> }
>>
>> but when i launched the project, DataSourceExplorerNavigator ViewPart
>> didn't appear !
>>
>>
>>
>> --
>> Best Regards
Re: Using DTP in RCP/Plugins [message #587765 is a reply to message #35798] Fri, 31 August 2007 16:36 Go to previous message
John Graham is currently offline John GrahamFriend
Messages: 183
Registered: July 2009
Senior Member
Thanks for the plug, Brian! :-)

I'd also take a look at the McAffer & Lemieux RCP book...

-- John Graham

Brian Fitzpatrick wrote:

> Also (just remembered this tidbit) check out John Graham's presentation from
> the 2006 EclipseCon on using DTP in RCP clients...

>
http://www.eclipse.org/datatools/presentations/Data%20Tools% 20for%20Rich%20Clients.pdf
Previous Topic:DTP Ganymede Requirements Call
Next Topic:Viewing Sybase ASE stored procedures
Goto Forum:
  


Current Time: Sat Dec 20 16:36:12 GMT 2014

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

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