Bug 183579 Model need hold on DimensionConditionHandle and DimensionJoinConditionHandle signleton or overwrites the equals and hashcode method
The Dataset Joint Editor need join two Editparts which have the same model. But the DimensionConditionHandle and the DimensionJoinConditionHandle are create a new instance erery time when I get them. So model need hold on them signleton or overwrites the equals and hashcode method.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DimensionJoinConditionHandle.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.model.api;
import org.eclipse.birt.report.model.api.elements.structures.DimensionJoinCondition;
/**
 * Represents a dimension join condition in the DimensionCondition. It defines
 * two keys for the cube and hierarchy join, one is from cube and another is
 * from hierarchy.
 */
public class DimensionJoinConditionHandle extends StructureHandle