Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Fwd: Re: display problem of TreeMapper
Fwd: Re: display problem of TreeMapper [message #1338578] Wed, 07 May 2014 09:24 Go to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

On 05/06/2014 02:55 PM, Jingang Zhou wrote:
> Hi,

Hi,

> I use the latest TreeMapper widget, but found the mappings is not
> displayed after I setInput(leftProvider, rightProvider, mappings) (the
> mappings is not null), which force me to expand all the treeitems
> manually to make the mappings show. I debugged the source code of
> treeMapper and found that the treeMapper use the testFindItem method to
> find mapping elements, but this methods always return null. So, how to
> solve this problem?

This seems to be a bug or a limitation in the TreeMapper, most likely
because a specific behaviour of your content provider or tree. It's not
obvious to figure out what's wrong with this description.
Can you please open a bug on bugs.eclipse.org and attach to the report a
very minimal piece of code that allows to reproduce the issue? Even
better, do you think you could write a simple JUnit test case to
highlight this issue?

Cheers,
--
Mickael Istria
My job: http://www.jboss.org/tools
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: Fwd: Re: display problem of TreeMapper [message #1368058 is a reply to message #1338578] Tue, 20 May 2014 02:07 Go to previous messageGo to next message
Jingang Zhou is currently offline Jingang ZhouFriend
Messages: 57
Registered: December 2010
Member
I am sorry for relying you so late.

I have created a bug report at https://bugs.eclipse.org/bugs/show_bug.cgi?id=435236 with pictures showing the problem and java file to reproduce it. hope this helps.

Best regards.

Jingang Zhou.
Re: Fwd: Re: display problem of TreeMapper [message #1369197 is a reply to message #1368058] Tue, 20 May 2014 13:19 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

On 05/20/2014 04:07 AM, Robin Zhou wrote:
> I am sorry for relying you so late.
>
> I have created a bug report at
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=435236 with pictures
> showing the problem and java file to reproduce it. hope this helps.

Thanks. I'll try to find some time to look at it soon.
In the meantime, you can maybe try to debug that by yourself. You can
view source at
http://git.eclipse.org/c/nebula/org.eclipse.nebula.git/tree/widgets/treemapper
.. The Gerrit repo URL is can be found at
https://git.eclipse.org/r/#/admin/projects/nebula/org.eclipse.nebula
--
Mickael Istria
My job: http://www.jboss.org/tools
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Previous Topic:Nebula Grid: How can we resize grid columns programmatically to expand to show full content
Next Topic:display problem of TreeMapper
Goto Forum:
  


Current Time: Thu Dec 12 23:46:32 GMT 2024

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

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

Back to the top