Swing JDesktopPane/JInternalFrame conunterpart in SWT?? [message #436328] |
Tue, 18 May 2004 07:38 |
Eclipse User |
|
|
|
Originally posted by: Mikle_Galutin.gmx.de
Hallo, All
Is anyone know how to achieve Swing JDesktopPane/JInternalFrame
functionality in SWT/JFace? Only similar i have found is IWorkbenchPage.
But it is not clear how (if it actually possible) to use it in
standalone application.
I will be appreciated for hints.
Thanks in advance,
Mikhail Galyutin.
|
|
|
|
|
Re: Swing JDesktopPane/JInternalFrame conunterpart in SWT?? [message #436462 is a reply to message #436406] |
Wed, 19 May 2004 06:28 |
Eclipse User |
|
|
|
Originally posted by: Mikle_Galutin.gmx.de
Hi,
Great library. Unfortunately, I do not plan to limit supported
platforms. Anyway, thanks a lot.
Alun wrote:
> I believe MDI is supposed to show up in SWT at some point.
>
> In the meantime, if you're happy limiting yourself to Windows platforms
> you can use my implementation of MDI:
>
> http://www.eadfrith.org/swt
>
> Cheers,
>
> Alun
>
>
> Mikhail Galyutin wrote:
>
>
>>Hallo, All
>
>
>
>>Is anyone know how to achieve Swing JDesktopPane/JInternalFrame
>>functionality in SWT/JFace? Only similar i have found is IWorkbenchPage.
>>But it is not clear how (if it actually possible) to use it in
>>standalone application.
>
>
>>I will be appreciated for hints.
>
>
>>Thanks in advance,
>
>
>>Mikhail Galyutin.
>
>
>
|
|
|
Re: Swing JDesktopPane/JInternalFrame conunterpart in SWT?? [message #436463 is a reply to message #436371] |
Wed, 19 May 2004 06:34 |
Eclipse User |
|
|
|
Originally posted by: Mikle_Galutin.gmx.de
Thank you for your answer.
RCP is a great thing, but it forces to use eclipse runtime model.
In my case that means a lot of redesign.
Anyway, thanks for the tip.
Mikhail.
Henning Rogge wrote:
> Mikhail Galyutin wrote:
>
>> Hallo, All
>>
>>
>> Is anyone know how to achieve Swing JDesktopPane/JInternalFrame
>> functionality in SWT/JFace? Only similar i have found is IWorkbenchPage.
>> But it is not clear how (if it actually possible) to use it in
>> standalone application.
>
>
> Just use the rich client platform ( RCP ) of Eclipse, you can use the
> view/editor system like the standard IDE too.
>
> Henning Rogge
|
|
|
|
Re: Swing JDesktopPane/JInternalFrame conunterpart in SWT?? [message #436467 is a reply to message #436464] |
Wed, 19 May 2004 07:50 |
Eclipse User |
|
|
|
Originally posted by: Mikle_Galutin.gmx.de
Henning Rogge wrote:
> Mikhail Galyutin wrote:
>
>> Thank you for your answer.
>>
>> RCP is a great thing, but it forces to use eclipse runtime model.
>> In my case that means a lot of redesign.
>
>
> You could forget the eclipse plugin model and start your application
> from the WorkbenchAdvisor... that way you have an eclipse framework in
> the background and don't need to make your application compatible to the
> plugin model. Maybe this could be a sollution for you.
>
> Henning Rogge.
I am not shure I know what you mean.
How can I start WorkbenchAdvisor? What have I put in static void main,
or have I still to use org.eclipse.core.launcher.Main?
Thanks,
Mikhail.
|
|
|
Re: Swing JDesktopPane/JInternalFrame conunterpart in SWT?? [message #436552 is a reply to message #436328] |
Wed, 19 May 2004 09:50 |
Eclipse User |
|
|
|
Originally posted by: Mikle_Galutin.gmx.de
Hi,
I think I have found a solution: CTabFilder and CTabFolderListener.
If you are listening on itemClosed, then the Close button will be
displayed on a tab. This is exactly mechanism EditorWorkbook uses for
visualisation.
Many thanks to Alun and Henning Rogge for replays.
Mikhail
|
|
|
|
Powered by
FUDForum. Page generated in 0.03676 seconds