Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » relative placing of views of different plugins(perspectiveextension views)
relative placing of views of different plugins [message #655991] Wed, 23 February 2011 16:37 Go to next message
Christian Eugster is currently offline Christian EugsterFriend
Messages: 203
Registered: July 2009
Location: St. Gallen Switzerland
Senior Member
hi,

i have a rcp application with several plugins, say plugin COURSE and plugin PERSON. The plugin PERSON has a perspective, to which the plugin COURSE contributes a view. The plugin COURSE is dependent on the plugin PERSON. The plugin PERSON contributes a view to the same perspective too. The relatives of the parts is as following:

the view of plugin COURSE is placed left to the editor area
the view of plugin PERSON ist placed top of the COURSE plugin.

When I start the application with both plugins the layout is as intended, but if I start it only with the plugin PERSON, the person view is place to the right of the editor area, obviously because it does not find the view it depends on relatively.

I want the person view always place left to the editor area. The other way around, setting the view PERSON left to the editor area and the view course bottom to the person view does not work either, obviously the course view is placed first to the person view.

How can I solve that problem?

Thanks a lot!
Re: relative placing of views of different plugins [message #656025 is a reply to message #655991] Wed, 23 February 2011 19:28 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 02/23/2011 11:38 AM, Christian Eugster wrote:
> I want the person view always place left to the editor area. The other
> way around, setting the view PERSON left to the editor area and the view
> course bottom to the person view does not work either, obviously the
> course view is placed first to the person view.

Sorry, this doesn't make sense. You can create a perspective and place
the person view to the left of the editor area. Then your course plugin
can add itself above, below, or stacked with the person view.

Later,
PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
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:[commands] Counterpart of activateHandler for dynamic menus?
Next Topic:load jar files created with tbc
Goto Forum:
  


Current Time: Thu Apr 25 20:09:46 GMT 2024

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

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

Back to the top