Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 22:09 Go to next message
Yves Prelot is currently offline Yves PrelotFriend
Messages: 13
Registered: September 2016
Junior Member
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 405 times)

[Updated on: Tue, 04 October 2016 22:11]

Report message to a moderator

Re: Common Navigator: icon & text overlap, no icon for subtree [message #1745091 is a reply to message #1745085] Wed, 05 October 2016 01: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 05:28 Go to previous messageGo to next message
Yves Prelot is currently offline Yves PrelotFriend
Messages: 13
Registered: September 2016
Junior Member
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 05:28 Go to previous messageGo to next message
Yves Prelot is currently offline Yves PrelotFriend
Messages: 13
Registered: September 2016
Junior Member
double post

[Updated on: Wed, 05 October 2016 05:29]

Report message to a moderator

Re: Common Navigator: icon & text overlap, no icon for subtree [message #1745135 is a reply to message #1745096] Wed, 05 October 2016 14: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 16:24 Go to previous messageGo to next message
Yves Prelot is currently offline Yves PrelotFriend
Messages: 13
Registered: September 2016
Junior Member
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 16: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 05:49 Go to previous message
Yves Prelot is currently offline Yves PrelotFriend
Messages: 13
Registered: September 2016
Junior Member
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 94 times)

[Updated on: Thu, 06 October 2016 06:05]

Report message to a moderator

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


Current Time: Tue Apr 16 22:44:24 GMT 2024

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

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

Back to the top