Project Explorer in RAP [message #825008] |
Tue, 20 March 2012 10:50 |
Bernhard Schäfer Messages: 5 Registered: March 2012 |
Junior Member |
|
|
Hello,
my question is if in general the Project Explorer is supported in RAP. For example the outline view works perfectly for me, but when I tried the the following code I receive this Error on startup:
"View descriptor not found: org.eclipse.ui.navigator.ProjectExplorer"
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(true);
layout.addPerspectiveShortcut(ID_PERSPECTIVE);
IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT, (float)0.1, layout.getEditorArea());
left.addView(IPageLayout.ID_PROJECT_EXPLORER);
IFolderLayout right = layout.createFolder("right", IPageLayout.RIGHT, (float)0.70, layout.getEditorArea());
right.addView(IPageLayout.ID_OUTLINE);
I tried to add the navigator plugin to the target platform, but this bundle requires org.eclipse.ui which requires jface and so on.
I am happy for any help here.
Thanks in advance.
Bernhard
|
|
|
Re: Project Explorer in RAP [message #825019 is a reply to message #825008] |
Tue, 20 March 2012 11:05 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Bernhard,
there is a RAP port of CNF in the incubator. See this bug for more details:
288761: CNF on RAP
https://bugs.eclipse.org/bugs/show_bug.cgi?id=288761
HTH,
Ivan
On 3/20/2012 12:50 PM, Bernhard Schäfer wrote:
> Hello,
>
> my question is if in general the Project Explorer is supported in RAP.
> For example the outline view works perfectly for me, but when I tried
> the the following code I receive this Error on startup:
> "View descriptor not found: org.eclipse.ui.navigator.ProjectExplorer"
>
>
> public void createInitialLayout(IPageLayout layout) {
> layout.setEditorAreaVisible(true);
> layout.addPerspectiveShortcut(ID_PERSPECTIVE);
>
> IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
> (float)0.1, layout.getEditorArea());
> left.addView(IPageLayout.ID_PROJECT_EXPLORER);
>
> IFolderLayout right = layout.createFolder("right",
> IPageLayout.RIGHT, (float)0.70, layout.getEditorArea());
> right.addView(IPageLayout.ID_OUTLINE);
>
>
> I tried to add the navigator plugin to the target platform, but this
> bundle requires org.eclipse.ui which requires jface and so on.
>
> I am happy for any help here.
>
> Thanks in advance.
> Bernhard
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01761 seconds