| Plug-in development [message #650889] |
Wed, 26 January 2011 22:38 |
Eclipse User |
|
|
|
Hi,
I'm helping to develop a plug-in for eclipse. We have 3 windows that open and should by default open along side the console, problems, tasks, etc. but instead open up with the text editor. A user can change this manually, but I would like the code to place it there by default.
I think I need to edit this part of the xml:
<extension
point="org.eclipse.ui.views">
<view
name="My Browser"
icon="icons/trident.gif"
category="org.eclipse.ptp.ui.views"
class="package.views.MyBrowser"
id="package.views.MyBrowser"
</view>
</extension>
and looking at examples I think I should insert two lines near the end:
<extension
point="org.eclipse.ui.views">
<view
name="My Browser"
icon="icons/trident.gif"
category="org.eclipse.ptp.ui.views"
class="package.views.MyBrowser"
id="package.views.MyBrowser"
relative="org.eclipse.gef.ui.console.ConsoleView"
relationship="right">
</view>
</extension>
but this doesn't change its default position. What xml command am I supposed to use, and where? Or is there some java code that sets this?
|
|
|
Powered by
FUDForum. Page generated in 0.08645 seconds