Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP Views
RCP Views [message #511611] Tue, 02 February 2010 09:29 Go to next message
Hisham  is currently offline Hisham Friend
Messages: 2
Registered: February 2010
Junior Member
Hello,

I am new to RCP and I have a questio regarding RCP Views and how do they actually get displayed.

I noticed that the views are getting displayed inside CTabFolders. However the RCP View Composite is not a child of the corresponding CTabFolder. Moreover when I invoke the function "getContorl" on the RCP View CTabItem I got null.

So my question is how is the binding between the RCP View Composite and the RCP View CTabFolder and CTabItem occuring?

Thanks alot for you help...
Re: RCP Views [message #511623 is a reply to message #511611] Tue, 02 February 2010 10:29 Go to previous messageGo to next message
Hisham  is currently offline Hisham Friend
Messages: 2
Registered: February 2010
Junior Member
does someone have any idea about this issue?

Thanks...
Re: RCP Views [message #512046 is a reply to message #511611] Wed, 03 February 2010 17:52 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

The Composite that passed into createPartControl(*) is a child of the
shell (or shell client area). View stacks are basically a big shell game.

org.eclipse.ui.internal.presentations.PaneFolder,
org.eclipse.swt.custom.CTabFolder, org.eclipse.swt.custom.ViewForm, and
org.eclipse.ui.internal.presentations.util.ProxyControl work together to
fit the view contents to the size of the stack CTabFolder.

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:status bar injected into DAO
Next Topic:Form toolbar usage issue
Goto Forum:
  


Current Time: Fri Apr 19 01:21:25 GMT 2024

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

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

Back to the top