Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Perspective Extension Stack Views(Stack two views, under the given one)
Perspective Extension Stack Views [message #1062218] Thu, 06 June 2013 14:36
Leonid Ripeynih is currently offline Leonid Ripeynih
Messages: 107
Registered: February 2012
Senior Member
Hi, i'm experiencing the following problem with org.eclipse.ui.perspectiveExtensions.

What I'm doing is programmatically opening two views at some point in my application.
activePage.showView(View1.ID);
activePage.showView(View2.ID);


I'm using org.eclipse.ui.perspectiveExtensions to customize view locations:
<extension point="org.eclipse.ui.perspectiveExtensions">
  <perspectiveExtension targetID="my.perspective">
    <view 
	  closeable="true" 
	  id="my.view1" 
	  minimized="false" 
	  moveable="true" 
	  relationship="bottom" 
	  relative="org.eclipse.ui.navigator.ProjectExplorer" 
	  standalone="false" 
	  visible="false"/>
    <view 
	  closeable="true" 
	  id="my.view2" 
	  minimized="false" 
	  moveable="true" 
	  relationship="bottom" 
	  relative="org.eclipse.ui.navigator.ProjectExplorer" 
	  standalone="false" 
	  visible="false"/>
  </perspectiveExtension>
</extension>


What I'm trying to achive is that both view1 and view2 appears stacked up below project explorer. I've tried using my.view1 as a relative for my.view2, but it creates an empty part site below project explorer on startup.

Is there any way to fix it?
Previous Topic:How to listen theme change event ??
Next Topic:Urgent Help needed regarding CSS mechanism in rcp application
Goto Forum:
  


Current Time: Fri Oct 24 16:20:56 GMT 2014

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

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