Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Problem setting placeholder for MyView
Problem setting placeholder for MyView [message #256542] Mon, 28 June 2004 23:35
S Dix is currently offline S DixFriend
Messages: 43
Registered: July 2009
Member
Hi,

I am trying to place my plugin on top of the ProblemView. I have added a
perspective extension for JavaPerspective

This is the part of plugin.xml file

<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension targetID="org.eclipse.jdt.ui.JavaPerspective">
<view id="com.ap.plugins.eclipse3.views.MyView"
relative="org.eclipse.ui.views.ProblemView"
relationship="top" ratio="1.0" visible="false"/>
</perspectiveExtension>
</extension>
<extension point="org.eclipse.ui.views">
<category name="MyViews" id="plugins.eclipse3.myviews" />
<view
name="MyView"
icon="images/myview_16.gif"
category="plugins.eclipse3.myviews"
class="com.ap.plugins.eclipse3.views.MyView"
id="com.ap.plugins.eclipse3.views.MyView" />
</extension>

This is the code snippet for showing my view

workbenchPage.setEditorAreaVisible(false);
workbenchPage.showView(viewId, null, IWorkbenchPage.VIEW_VISIBLE);


I assume that bcos I am setting the EditorArea as false MyView will take
the entire available area on top of the Problems View. But that does not
seem to be happening instead MyView gets stacked with the ProblemView. I
assume this is the default placeholder for all the views.

Am I missing something.

Any help appreciated
Previous Topic:Classpath in RCP program woes
Next Topic:3.0 core dumps on Mandrake 10,.0
Goto Forum:
  


Current Time: Sun Jun 30 13:57:55 GMT 2024

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

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

Back to the top