This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
if (look != null) look.attachTo(substitute);
}
/** Supports equals with represented Object.
* This is required by Move[Down|Up]Action. Look at FilterNode.equals, for same requirement.
* @param obj something to compare to this node or its represented Object.
* @return true if this node is equal to parameter or node's represented Object is the same as the parameter.
*/
public boolean equals (Object obj) {
if ( obj == null ) {
return false;
if ( super.equals (obj) ) {
return true;
return getRepresentedObject().equals (obj)
|| obj.equals (getRepresentedObject());
// Additional methods for LookNode -----------------------------------------