[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: finding dimensions of a view i.e. Console View

Haribabu wrote:
Hi All,

can any body tell me how programatically i can find the dimensions(height,width,x,y) of an active view i.e. Console View inside eclipse.

that's probably an eclipse.platform question, but there is no API with that information. You can find the dimensions of your own view when it is active, or hack into PartPane and maybe you can find the dimensions of the Composite it contains (that's the one that is passed into createPartControl(Composite)).


Later,
PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm