Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » MDI forms with SWT
MDI forms with SWT [message #445249] Fri, 29 October 2004 15:45 Go to next message
Eclipse UserFriend
Originally posted by: James.Corbett.CCRA-ADRC.GC.CA

Good day all:

OK, I am at a cross roads... I've spent a few hours on the Google site
looking for references / examples of how to create a MDI project with SWT
or JFACe... Essentially all that I have found is threads to the affect
that MDI forms were not availible in Eclipse versions before 3.0. Equally
so, there is not much if any in the way of mention in regards to such
forms in the later releases. Is it possible to create such projects? If
so, could some one point me towards an example.

Many thanks in advance.

J.
Re: MDI forms with SWT [message #445257 is a reply to message #445249] Fri, 29 October 2004 18:50 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Honest to goodness true MDI is a Windows and OS/2 only concept. Shells
within shells are not really possible on platforms like Linux that have a
Window manager. The Macintosh user interface is already MDI-like (a single
menu bar, internal windows that don't have a menu bar). So, supporting MDI
in SWT means emulating it everywhere but Windows. Given that Microsoft
itself is abandoning MDI as a UI paradigm, implementing MDI is low priority.

The MDI that Eclipse is not true native Windows MDI. It is written using
ViewForm, key listeners and Tracker. Ask on eclipse.platform for details.

"Jim Corbett" <James.Corbett@CCRA-ADRC.GC.CA> wrote in message
news:cltoim$30q$1@eclipse.org...
> Good day all:
>
> OK, I am at a cross roads... I've spent a few hours on the Google site
> looking for references / examples of how to create a MDI project with SWT
> or JFACe... Essentially all that I have found is threads to the affect
> that MDI forms were not availible in Eclipse versions before 3.0. Equally
> so, there is not much if any in the way of mention in regards to such
> forms in the later releases. Is it possible to create such projects? If
> so, could some one point me towards an example.
>
> Many thanks in advance.
>
> J.
>
Re: MDI forms with SWT [message #445259 is a reply to message #445249] Sat, 30 October 2004 03:31 Go to previous message
Emmanuel Okyere is currently offline Emmanuel OkyereFriend
Messages: 18
Registered: July 2009
Junior Member
Hello Jim,

You can also take a look at the Decorations class, but AFAIK it is frowned-upon to even create instances of it; and be prepared for some unexpected results with it, especially when your parent Shell is resized and such; search for bug #29891 for more info

HTH,
Emmanuel

> Good day all:
>
> OK, I am at a cross roads... I've spent a few hours on the Google site
> looking for references / examples of how to create a MDI project with
> SWT or JFACe... Essentially all that I have found is threads to the
> affect that MDI forms were not availible in Eclipse versions before
> 3.0. Equally so, there is not much if any in the way of mention in
> regards to such forms in the later releases. Is it possible to create
> such projects? If so, could some one point me towards an example.
>
> Many thanks in advance.
>
> J.
>
Previous Topic:Catch KeyEvents
Next Topic:Image Fill
Goto Forum:
  


Current Time: Tue Apr 23 12:31:21 GMT 2024

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

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

Back to the top