Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Common Navigator: icon & text overlap, no icon for subtree
Common Navigator: icon & text overlap, no icon for subtree [message #1745085] Tue, 04 October 2016 18:09 Go to next message
Eclipse UserFriend
I am quite new to the eclipse RCP platform.
I am using Neon, and the RCP project is e4 based on the compatibility layer.

I have successfully added several components to my perspective (console, properties, problems, tasks, custom editor...) and I am now trying to improve the workspace tree.

This tree is based on the Common Navigator, and I followed in details the tutorial in the help section, as well as read a lot of documentation on the internet. My tree is functionnal, but with some caveats; I've been unsuccessfully searching for solutions.

1) Icon and Label overlap for most entries
2) I have no sign (+ or >) to show items that have subtrees; this is particularly annoying for entries that can both be edited and own a subtree.
3) I have no icon at the project level

index.php/fa/27301/0/

Any help is welcome.
  • Attachment: eclipse.png
    (Size: 3.27KB, Downloaded 449 times)

[Updated on: Tue, 04 October 2016 18:11] by Moderator

Re: Common Navigator: icon & text overlap, no icon for subtree [message #1745091 is a reply to message #1745085] Tue, 04 October 2016 21:22 Go to previous messageGo to next message
Eclipse UserFriend
That's pretty baffling. I'm going to guess: some variant of Linux with an older GTK3? Earlier builds of GTK3 are notoriously buggy. If so, try running with SWT_GTK3=0 in your environment to force SWT to use GTK2.

Brian.
Re: Common Navigator: icon & text overlap, no icon for subtree [message #1745095 is a reply to message #1745091] Wed, 05 October 2016 01:28 Go to previous messageGo to next message
Eclipse UserFriend
Hum, wrong guess....

Windows 10. I forgot to mention it.

Re: Common Navigator: icon & text overlap, no icon for subtree [message #1745096 is a reply to message #1745091] Wed, 05 October 2016 01:28 Go to previous messageGo to next message
Eclipse UserFriend
double post

[Updated on: Wed, 05 October 2016 01:29] by Moderator

Re: Common Navigator: icon & text overlap, no icon for subtree [message #1745135 is a reply to message #1745096] Wed, 05 October 2016 10:45 Go to previous messageGo to next message
Eclipse UserFriend
Check your logs -- it sounds like you have an exception being thrown somewhere that's throwing off SWT. You could also add exception breakpoints on SWTError and SWTException, just in case they're somehow being suppressed.

Brian.
Re: Common Navigator: icon & text overlap, no icon for subtree [message #1745142 is a reply to message #1745135] Wed, 05 October 2016 12:24 Go to previous messageGo to next message
Eclipse UserFriend
Done this: logs are mostly empty, no exception caught in the debugger (caught or uncaught)...

Would you have any other idea ?
Re: Common Navigator: icon & text overlap, no icon for subtree [message #1745143 is a reply to message #1745142] Wed, 05 October 2016 12:27 Go to previous messageGo to next message
Eclipse UserFriend
Can you post your code?
Re: Common Navigator: icon & text overlap, no icon for subtree [message #1745179 is a reply to message #1745143] Thu, 06 October 2016 01:49 Go to previous message
Eclipse UserFriend
I send you my current project.

Just copied from examples on the internet... nothing fancy: I'm just trying to lay down the framework which I believe I'll need later, replacing the examples code with my own.

I also noticed that the Perpective.java code was not invoked, Probably a problem due to my bad understanding of 3x over e4.
  • Attachment: rpg.7z
    (Size: 682.09KB, Downloaded 116 times)

[Updated on: Thu, 06 October 2016 02:05] by Moderator

Previous Topic:ViewPart is behaving different in same usecase
Next Topic:Challanges Implementing MVP
Goto Forum:
  


Current Time: Sun Jul 13 22:40:57 EDT 2025

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

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

Back to the top