[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Re: fast view position
|
- From: cshowalter@xxxxxxxxxxxxx (Chad Showalter)
- Date: Tue, 27 May 2008 13:03:38 +0000 (UTC)
- Newsgroups: eclipse.platform
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
I've asked the question below in several different ways on this newsgroup
and eclipse.platform.rcp... and haven't received any feedback.
I'd appreciate some feedback on this, even if it's just a push in the
right direction or an opinion that what I'm trying to do is impossible.
I'll be glad to clarify the question if its unclear.
Thanks,
Chad
*************************************
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