Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Minimum/Maximum Width/Height for a View
Minimum/Maximum Width/Height for a View [message #332245] Tue, 14 October 2008 13:07 Go to next message
Marcelo Alcantara is currently offline Marcelo AlcantaraFriend
Messages: 48
Registered: July 2009
Member
Hi,

There is a way where I can limit the minimum and maximum size of a view? So
that the user cannot redimension it outside these ranges?

I could not find anywhere on the net and books.

Thanks,

Marcelo
Re: Minimum/Maximum Width/Height for a View [message #332247 is a reply to message #332245] Tue, 14 October 2008 13:36 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Marcelo Alcantara wrote:
> Hi,
>
> There is a way where I can limit the minimum and maximum size of a view? So
> that the user cannot redimension it outside these ranges?

Parts can implement ISizeProvider. Check out
http://www.eclipse.org/articles/Article-UI-Workbench/workben ch.html
section 3.3

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:add file to a project programmatically?
Next Topic:Requested console not displayed
Goto Forum:
  


Current Time: Sat Sep 14 14:28:48 GMT 2024

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

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

Back to the top