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 09: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: Fri Aug 29 04:08:40 EDT 2014

Powered by FUDForum. Page generated in 0.02285 seconds