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

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!!!


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.


Previous Topic:How to set different author per different project?
Next Topic:Chinese character display help
Goto Forum:

Current Time: Mon Apr 23 17:46:00 GMT 2018

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

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