Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » perspectiveExtensions: views and placeholders
perspectiveExtensions: views and placeholders [message #467281] Wed, 02 May 2007 07:09 Go to next message
Eclipse UserFriend
Hi all,

I am wondering how I could implement the following use case: In my RCP app's initial perspective I want to create an initial layout: editor area visible and a placeholder for (unknown) views left to the editor area.

The problem is that declared perspectiveExtensions can only stack on existing views, but my main application bundle should not define any view. All views should be contributed by other bundles.

How could I specify a placeholder in my layout so that other views could stack on it? Is there a best practice to deal with my problem?

Thanx

Kai
Re: perspectiveExtensions: views and placeholders [message #467395 is a reply to message #467281] Thu, 03 May 2007 09:12 Go to previous message
Eclipse UserFriend
I found a solution:

IPlaceholderFolderLayout fl = layout.createPlaceholderFolder("com.siemens.ct.mp3m.ui.views ", IPageLayout.LEFT, 0.20f, IPageLayout.ID_EDITOR_AREA);

Using placeholder folders works with 3.2 and 3.3.

Kai
Previous Topic:Bundle-NativeCode and Macos
Next Topic:Can i add my own Images on IsharedImages Interface
Goto Forum:
  


Current Time: Fri May 16 02:16:44 EDT 2025

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

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

Back to the top