Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » About TrimLayout and layouting in general
About TrimLayout and layouting in general [message #448800] Wed, 03 May 2006 02:45 Go to next message
Eclipse UserFriend
I am extending createWindowContents() on WorkbenchWindowAdvisor and I
wonder why the TrimLayout class which is in use by the Eclipse Platform
is not available (restricted access). I am using now a GridLayout to
arrange my components, but I have the feeling that using TrimLayout
class would be way better. What would you think is the recommended
layout to use in a RCP application?
Re: About TrimLayout and layouting in general [message #448826 is a reply to message #448800] Wed, 03 May 2006 17:23 Go to previous message
Eclipse UserFriend
Mario Ortegon wrote:
> I am extending createWindowContents() on WorkbenchWindowAdvisor and I
> wonder why the TrimLayout class which is in use by the Eclipse Platform
> is not available (restricted access). I am using now a GridLayout to
> arrange my components, but I have the feeling that using TrimLayout
> class would be way better. What would you think is the recommended
> layout to use in a RCP application?

We tend to keep classes internal unless we need to push the into API ...
ex, TrimLayout was rewritten in 3.2, has a different class heirarchy and
some of the methods work differently than they use to.

A grid layout with Sashes or SashFroms would give you a fair bit of
resizable functionality.

One of the main thing TrimLayout gives you is the ability to move things
from the stop to the bottom, or from the left to the right (like the
fast view bar).

Later,
PW
Previous Topic:Extending Double-Click
Next Topic:[RCP-JBOSS Embedded server] java.class.path problem
Goto Forum:
  


Current Time: Sun Aug 31 05:55:00 EDT 2025

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

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

Back to the top