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.
Paul Webster Messages: 6859 Registered: July 2009 Location: Ottawa
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.