Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » View blank initially
View blank initially [message #282059] Thu, 03 March 2005 16:23 Go to next message
Eclipse UserFriend
Originally posted by: adamh.us.ibm.com

I have a view that is added using the org.eclipse.ui.perspectiveExtensions
extension. When I set the relationship to "stack", my controls are not
displayed unless I maximize the view. But if I set the relationship to
"left" or "right" the view displays fine.

Can anyone lend some insight as to what I may be doing wrong?

<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.myorg.browserPerspective">
<view id="org.myorg.xicbrowserView"
relative="org.myorg.browserView"
relationship="stack"
closeable="false"/>
</perspectiveExtension>
</extension>

<extension
point="org.eclipse.ui.views">
<category
name="%viewsName"
id="com.ibm.commerce.telesales.ui.impl">
</category>
<view
name="browser"
icon="icons/full/eview16/webbrowser_view.gif"
category="org.myorg.ui.impl"
class="org.myorg.views.webbrowser.XICWebBrowserView"
id="org.myorg.xicbrowserView"
allowMultiple="true">
</view>
</extension>
Re: View blank initially [message #282083 is a reply to message #282059] Fri, 04 March 2005 01:57 Go to previous message
Eclipse UserFriend
Originally posted by: andrew_simon0.lycos.com

It seems like the size of your controls is not being set properly and when
the view is maximized their size gets set and they become visible.



Adam Hoover wrote:

> I have a view that is added using the org.eclipse.ui.perspectiveExtensions
> extension. When I set the relationship to "stack", my controls are not
> displayed unless I maximize the view. But if I set the relationship to
> "left" or "right" the view displays fine.

> Can anyone lend some insight as to what I may be doing wrong?

> <extension
> point="org.eclipse.ui.perspectiveExtensions">
> <perspectiveExtension
> targetID="org.myorg.browserPerspective">
> <view id="org.myorg.xicbrowserView"
> relative="org.myorg.browserView"
> relationship="stack"
> closeable="false"/>
> </perspectiveExtension>
> </extension>

> <extension
> point="org.eclipse.ui.views">
> <category
> name="%viewsName"
> id="com.ibm.commerce.telesales.ui.impl">
> </category>
> <view
> name="browser"
> icon="icons/full/eview16/webbrowser_view.gif"
> category="org.myorg.ui.impl"
> class="org.myorg.views.webbrowser.XICWebBrowserView"
> id="org.myorg.xicbrowserView"
> allowMultiple="true">
> </view>
> </extension>
Previous Topic:How To use Code Formatter.
Next Topic:Class cast from ISelection to IStructuredSelection in IObjectActionDelegate.selectionChanged()
Goto Forum:
  


Current Time: Thu Jun 05 01:15:57 EDT 2025

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

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

Back to the top