Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to have several views which are not resizable?
How to have several views which are not resizable? [message #843954] Fri, 13 April 2012 14:38 Go to next message
Flavien Garcia is currently offline Flavien GarciaFriend
Messages: 3
Registered: April 2012
Junior Member
Hello,

I would like to have my different views (TableView, TreeView and TerminalView) not resizable. I try to use the method setFixed(true) which allow to forget to close the view but views can still be resizable.

Does anyone know how to do this?

Thanks
Re: How to have several views which are not resizable? [message #845798 is a reply to message #843954] Sun, 15 April 2012 12:36 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi Flavien,

AFAIK this is not possible with API. Not allowing to resize views goes
against the philosophy of Eclipse where the user is in control of the UI and
not the programmer.

Regards,

Wim


> Hello,
>
> I would like to have my different views (TableView, TreeView and
TerminalView) not resizable. I try to use the method setFixed(true) which
allow to forget to close the view but views can still be resizable.
>
> Does anyone know how to do this?
>
> Thanks
Re: How to have several views which are not resizable? [message #845804 is a reply to message #845798] Sun, 15 April 2012 12:39 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You can make your ViewParts implement the ISizeProvider interface but
I've never used this my own.

Tom

Am 15.04.12 14:36, schrieb Wim Jongman:
> Hi Flavien,
>
> AFAIK this is not possible with API. Not allowing to resize views goes
> against the philosophy of Eclipse where the user is in control of the UI and
> not the programmer.
>
> Regards,
>
> Wim
>
>
>> Hello,
>>
>> I would like to have my different views (TableView, TreeView and
> TerminalView) not resizable. I try to use the method setFixed(true) which
> allow to forget to close the view but views can still be resizable.
>>
>> Does anyone know how to do this?
>>
>> Thanks
Re: How to have several views which are not resizable? [message #845885 is a reply to message #845804] Sun, 15 April 2012 14:09 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Did not know this, thanks. But can it prevent resizing? Flavien please try
and report back.


http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fui%2FISizeProvider.html

Regards,

Wim


> You can make your ViewParts implement the ISizeProvider interface but
> I've never used this my own.
>
> Tom
>
> Am 15.04.12 14:36, schrieb Wim Jongman:
>> Hi Flavien,
>>
>> AFAIK this is not possible with API. Not allowing to resize views goes
>> against the philosophy of Eclipse where the user is in control of the UI
and
>> not the programmer.
>>
>> Regards,
>>
>> Wim
>>
>>
>>> Hello,
>>>
>>> I would like to have my different views (TableView, TreeView and
>> TerminalView) not resizable. I try to use the method setFixed(true) which
>> allow to forget to close the view but views can still be resizable.
>>>
>>> Does anyone know how to do this?
>>>
>>> Thanks
Previous Topic:A detached view with an action to launch a new view
Next Topic:Using show view within the perspective creation
Goto Forum:
  


Current Time: Fri Apr 19 08:33:13 GMT 2024

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

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

Back to the top