[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Iconified Decorations position (MDI revisited)?

See the posting below title "Simulated MDI" and this bug:

http://bugs.eclipse.org/bugs/show_bug.cgi?id=29891

Cheers,

Alun


Buddha wrote:

> OK, so there IS something similar to IFrame, called Decorations.

> So I create a Shell, put a Decorations in it, iconify the Decorations,
> then resize the Shell smaller, so the iconified Decorations is no longer
> visible.

> How can I find out the position of the iconified Decorations so I can move
> it? As far as I can tell, getBounds(), getSize() and getLocation() still
> return the old size and position of the Decorations, and changing the
> location just moves where the Decorations will be once it is de-iconified.

> What I am trying to do is find out the preferred size of the Shell client
> area, and add scrollbars as necessary.

> Is this class unfinished, or unimplemented on all platforms? When I
> initially asked about MDI, I was told it wasn't available, but it looks
> like Decorations is just was I was looking for.