Skip to main content



      Home
Home » Newcomers » Newcomers » Plug-in development(placement of the windows)
Plug-in development [message #650889] Wed, 26 January 2011 22:38
Eclipse UserFriend
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?
Previous Topic:Unable to compile class for JSP
Next Topic:Merging two different Perspectives
Goto Forum:
  


Current Time: Sat Nov 08 13:07:37 EST 2025

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

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

Back to the top