|
Re: Using DTP in RCP/Plugins [message #35628 is a reply to message #35494] |
Mon, 27 August 2007 18:52 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03555 seconds