Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Retrieving parent Composite from ViewPart(JFace ViewPart)
icon6.gif  Retrieving parent Composite from ViewPart [message #506088] Tue, 05 January 2010 22:25 Go to next message
Janusz Dalecki is currently offline Janusz DaleckiFriend
Messages: 63
Registered: January 2010
Location: Sydney
Member
After ViewPart createPartControl is called (passing to me parent Composite) is there any way of retrieving either the parent Composite that was passed to my createPartControl or the part control that I have created inside createPartControl (that is I would like to retrieve this outside of createPartControl method) or I have to store part control that I have created in createPartControl
Re: Retrieving parent Composite from ViewPart [message #506195 is a reply to message #506088] Wed, 06 January 2010 14:02 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You have to store the parent (or what you created under it) in your part
to get it 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/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Working of Cell Modifier
Next Topic:Databinding a list to a ListViewer on selection
Goto Forum:
  


Current Time: Fri Apr 26 17:49:40 GMT 2024

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

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

Back to the top