[CommonNavigator] Setting a IElementComparer [message #331607] |
Fri, 12 September 2008 12:01  |
Eclipse User |
|
|
|
Hi!
Is there a way to set ElementComparer for the CNF?
my situation is the following:
An editor is setting an Gef-graphicalViewer as SelectionProvider. This
viewer is posting EditParts as selections.
The CN shows the modelElements stored in the editParts. In order to enable
the linking between the editor an the common navigator the equals/hashcode
method of the two objects has to be identical. However, for various
business reasons I cannot change the eq/hc methods. Thus my idea was to
set an IElementComparer. However this doesn't seem to be supported by the
CNF.
Any ideas?
Best regards,
Bernd
|
|
|
|
Powered by
FUDForum. Page generated in 0.04363 seconds