Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » view toolbar not show or in wrong place
view toolbar not show or in wrong place [message #329356] Fri, 20 June 2008 14:27 Go to next message
Eclipse UserFriend
I use commands and menus extensions to create a view's toolbar action. The
result confusing me. If I add the view using addView() method, the view's
toolbar is not shown up; if I add the view using addStandaloneView()
method, the view's toolbar is shown but it covers the view's content area
and some of my view content will not be shown. Can someone tell me how to
make the view's toolbar shown up and make it in right location?

thanks
hao
Re: view toolbar not show or in wrong place [message #329357 is a reply to message #329356] Fri, 20 June 2008 15:03 Go to previous messageGo to next message
Eclipse UserFriend
You mean IPageLayout#addView(*)? That's how most of the standard views
are added in eclipse, and they appear correctly with their toolbar.

1) reset your perspective to get the most accurate snapshot

2) are there any errors in your error log?
<runtime-workspace>/.metadata/.log

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Re: view toolbar not show or in wrong place [message #329358 is a reply to message #329357] Fri, 20 June 2008 16:06 Go to previous messageGo to next message
Eclipse UserFriend
Hi Paul,
>You mean IPageLayout#addView(*)? That's how most of the standard views are
>added in eclipse, and they appear correctly with their toolbar.

Yes. Using IPageLayout#addView(*) works fine now. But Using
IPageLayout#addStandaloneView(*) still get the Toolbar covering the view's
content.

thanks for your help
Re: view toolbar not show or in wrong place [message #329421 is a reply to message #329358] Mon, 23 June 2008 13:28 Go to previous message
Eclipse UserFriend
hao wrote:
> Yes. Using IPageLayout#addView(*) works fine now. But Using
> IPageLayout#addStandaloneView(*) still get the Toolbar covering the
> view's content.

Please open a bug at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI&short_desc=[Perspective]

Describe your usecase so that it can be reproduced (include a sample
plugin if possible)

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Previous Topic:debugger extensions not loading
Next Topic:Drop-down button in toolbar
Goto Forum:
  


Current Time: Thu May 08 13:29:43 EDT 2025

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

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

Back to the top