Problem setting placeholder for MyView [message #256542] |
Mon, 28 June 2004 19:35 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02452 seconds