Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Zest: Use of setUseHashlookup(false)
Zest: Use of setUseHashlookup(false) [message #485900] Tue, 15 September 2009 13:56
Eclipse User
Originally posted by: eclipse.cs-dev.de

I've a problem, in the class AbstractStructuredGraphViewer are HashMaps
used. But my Objects changes his HashCode. After that, i got an exception.

Caused by: java.lang.NullPointerException
at
org.eclipse.zest.core.viewers.internal.AbstractStructuredGra phViewer.inputChanged(AbstractStructuredGraphViewer.java:496 )
at
org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:274)
at
org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1603)

If i switch the HashMaps to IdentityHashMap no more problem. Is there a
way to implement the method setUseHashlookup(false)?
Previous Topic:Custom ConnectionAnchor - How to set the connection points to the center of each side?
Next Topic:Zest: Patch for method fishEye and wrong container size
Goto Forum:
  


Current Time: Mon Sep 15 09:41:29 GMT 2014

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

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