Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Resize listeners
Resize listeners [message #672193] Fri, 20 May 2011 09:18 Go to next message
Ivan Raichs is currently offline Ivan RaichsFriend
Messages: 17
Registered: April 2011
Junior Member
Hello,

I've created a stand alone view and I don't want it to be resized by the user. I've thought that the best way to prevent it is getting and deleting/overriding the listener which changes the cursor to the resizeble one (<->).

Is there any way to do it?

By the way, the view is for the current Eclipse IDE, not for an Eclipse RCP.

Thanks in advanced!!!

Ivan RAICHS

Re: Resize listeners [message #672236 is a reply to message #672193] Fri, 20 May 2011 12:22 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

In general, you can't really. In the IDE, the user controls the size of the stacks. In a fixed perspective, they can't change the size, but they can open the view in another perspective and do it.

Your view can implement org.eclipse.ui.ISizeProvider. The perspective layouts will use this as a hint, especially for a stand-alone view. But its still a hint, not a guarantee. View need to be able to respond to their container resizing.

PW


Previous Topic:Unable to install a feature in Helios
Next Topic:How to set different author per different project?
Goto Forum:
  


Current Time: Fri Apr 26 17:06:34 GMT 2024

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

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

Back to the top