Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » org.eclipse.draw2d.AbstractHintLayout questions
org.eclipse.draw2d.AbstractHintLayout questions [message #243043] Tue, 20 May 2008 21:46 Go to next message
Eclipse UserFriend
Originally posted by:

Hi everybody,

Im German and dont really understand this class. But I understand the
subclasses of it.
(BorderLayout, FlowLayout, ScrollPaneLayout, StackLayout, ToolbarLayout,

1. Which function does AbstractHintLayout layout have and what does the
sentense "The foundation for layout managers which are sensitive to
width and/or height hints. This class will cache preferred and minimum
sizes for a given set of hints." mean?

2. Mabye you can help me, if you explain one of these methods:

-Dimension calculateMinimumSize(IFigure container, int wHint, int hHint)
Calculates the minimum size using the given width and height

-Dimension getMinimumSize(IFigure container, int w, int h)
Returns the minimum size of the given figure.

-Dimension getPreferredSize(IFigure container, int w, int h)
Returns the preferred size of the given figure, using width
and height hints.

please help! ;)


Re: org.eclipse.draw2d.AbstractHintLayout questions [message #243121 is a reply to message #243043] Sat, 24 May 2008 21:05 Go to previous message
Eclipse UserFriend
Originally posted by:

Are there no answers or did I do sth wrong @posting this ?!
Previous Topic:[Announce] GEF 3.4.0RC1 is available
Next Topic:GEF commandStack
Goto Forum:

Current Time: Sun May 27 17:58:50 GMT 2018

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

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

Back to the top