Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » perspective not displayed
perspective not displayed [message #453113] Fri, 21 July 2006 22:38 Go to next message
Al Mising name is currently offline Al Mising nameFriend
Messages: 123
Registered: July 2009
Senior Member
I am trying to do a simple example using RCP.
The perspective is not being displayed. In particular
Perspective.createInitialLayout() is not being called.
I have set the id, name, and class in the workbench's perspective
extension point. What else do I need to do?

----------------------

package org.eclipsercp.hyperbola;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(false);
layout.addView(ContactsView.ID, IPageLayout.LEFT,
1.0f, layout.getEditorArea());
}
}
Re: perspective not displayed [message #453123 is a reply to message #453113] Sat, 22 July 2006 11:05 Go to previous messageGo to next message
Holger is currently offline HolgerFriend
Messages: 6
Registered: July 2009
Junior Member
Hi al,

please be so kind and give some more information about your environment.
Do you intend to run this perspective as addon to your eclipse environment
(you are developing in) or are you writing a standaline Rich Client
Application ??

Regards
Holger
Re: perspective not displayed [message #453137 is a reply to message #453123] Sun, 23 July 2006 13:46 Go to previous messageGo to next message
Al Mising name is currently offline Al Mising nameFriend
Messages: 123
Registered: July 2009
Senior Member
It is a standalone application
Re: perspective not displayed [message #453377 is a reply to message #453137] Thu, 27 July 2006 19:22 Go to previous messageGo to next message
Chris Gage is currently offline Chris GageFriend
Messages: 74
Registered: July 2009
Member
On Sun, 23 Jul 2006 13:46:49 +0000 (UTC), allelopath@hotmail.com (al)
wrote:

>It is a standalone application


I have seen exactly the same problem. Look at my post to the
1/27/2006 thread named "perspective CreateInitialLayout never called"

I think there must be an explanation, or it's a bug.

Chris Gage
Re: perspective not displayed [message #453379 is a reply to message #453137] Thu, 27 July 2006 19:39 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

al wrote:
> It is a standalone application
>

Create the RCP app from the Mail template ... it creates a perspective
and it show up ... what are you seeing differently?

Also, I thought the ratio could only go upt to 0.95f?

Later,
PW


Previous Topic:editor with toolbar
Next Topic:How to organize actions in plugin.xml
Goto Forum:
  


Current Time: Sun Oct 06 17:39:22 GMT 2024

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

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

Back to the top