[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] fast view position
|
- From: cshowalter@xxxxxxxxxxxxx (Chad Showalter)
- Date: Fri, 23 May 2008 14:24:01 +0000 (UTC)
- Newsgroups: eclipse.platform
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
I want to be able to open a fastview programmatically so that it appears
at the bottom of the screen. I can only get it to open on the left.
In the platform.xml, I have:
<extension point="org.eclipse.ui.views">
<view
class="SummaryView"
id= "SummaryView"
name= "Summary View"/>
<view
category="category1"
allowMultiple="false"
class="DetailsView"
name="Details View"
id="DetailsView
</extension>
<perspectiveExtension targetID="Perspective">
<perspectiveShortcut id="Perspective"/>
<view
id="SummaryView"
relationship="top"
ratio=".50"
relative="org.eclipse.ui.editorss"
closeable="false"/>
<view
id="DetailsView"
relative="SummaryView"
relationship="fast"
ratio="0.5"
visible="true"/> </perspectiveExtension>
Then, in code:
(DetailsView)PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView("DetailsView");
The fastview opens on the left half of my screen. How can I make it
appear on the bottom instead? Thanks,
Chad