Test equality of original nodes.
Note that for subclasses of
FilterNode
, or filter nodes with non-default children,
the test reverts to object identity.
Note: if you wish that the
Index cookie works correctly on
filtered nodes and their subnodes, and you are subclassing
FilterNode
or
using non-default children, you will probably want to override this method to test
equality of the specified node with this filter node's original node; otherwise Move Up
and Move Down actions may be disabled.
Note though that it is often better to provide your own index cookie from a filter
node. Only then it is possible to change the number of children relative to the original.
And in many cases this is easier anyway, as for example with
DataFolder.Index
for data folders.