Resize listeners [message #672193] |
Fri, 20 May 2011 05:18  |
Eclipse User |
|
|
|
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 08:22  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04449 seconds