ViewPart.createPartControl( ) [message #332250] |
Tue, 14 October 2008 13:57 |
Manuel Selva Messages: 189 Registered: July 2009 Location: Grenoble, France |
Senior Member |
|
|
Hi all,
Is there any way to get my View's "Size" inside the createPartControl()
method ?
In fact I want to access this information because the view display
information at a different granularity level depending on the available
space ...
After deep step inside Eclipse's internal code it seems to be impossible :
// the part should never be visible by default. It will be made visible
// by activation. This allows us to have views appear in tabs without
// becoming active by default.
control.setVisible(false);
My view is filled through the createPartControl( ) method and is made
visible after leaving this method only if the view has been asked for
activation.
Can anybody confirm ?
Thanks in advance
Manu
http://manuelselva.wordpress.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.04050 seconds