Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » fast view position
fast view position [message #328375] Fri, 23 May 2008 14:24 Go to next message
Chad is currently offline ChadFriend
Messages: 15
Registered: July 2009
Junior Member
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().getActiveWorkbenchWin dow().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
Re: fast view position [message #328535 is a reply to message #328375] Tue, 27 May 2008 13:03 Go to previous message
Chad is currently offline ChadFriend
Messages: 15
Registered: July 2009
Junior Member
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().getActiveWorkbenchWin dow().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
Previous Topic:Problems with launch configuration tab
Next Topic:Adding Listener to Process Editor in Business Modeler
Goto Forum:
  


Current Time: Mon Dec 30 17:14:51 GMT 2024

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

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

Back to the top