Skip to main content



      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 10:36
Eclipse UserFriend
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:Branding plugin : Bundle localisation
Next Topic:Urgent Help needed regarding CSS mechanism in rcp application
Goto Forum:
  


Current Time: Fri Mar 28 06:36:53 EDT 2025

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

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

Back to the top