diff options
Diffstat (limited to 'plugins/org.eclipse.wst.common.emfworkbench.integration/src/org/eclipse/wst/common/internal/emfworkbench/integration/LooseComposedEditModel.java')
-rw-r--r-- | plugins/org.eclipse.wst.common.emfworkbench.integration/src/org/eclipse/wst/common/internal/emfworkbench/integration/LooseComposedEditModel.java | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/plugins/org.eclipse.wst.common.emfworkbench.integration/src/org/eclipse/wst/common/internal/emfworkbench/integration/LooseComposedEditModel.java b/plugins/org.eclipse.wst.common.emfworkbench.integration/src/org/eclipse/wst/common/internal/emfworkbench/integration/LooseComposedEditModel.java deleted file mode 100644 index f9a5f82a2..000000000 --- a/plugins/org.eclipse.wst.common.emfworkbench.integration/src/org/eclipse/wst/common/internal/emfworkbench/integration/LooseComposedEditModel.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2003, 2004 IBM Corporation and others. - * 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.common.internal.emfworkbench.integration; - -import org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext; - - -/** - * @author Administrator - */ -public class LooseComposedEditModel extends ComposedEditModel { - - public LooseComposedEditModel(String editModelID, EMFWorkbenchContext context) { - super(editModelID, context); - - } - - public EditModel.Reference addChild(EditModel editModel) { - getChildren().add(editModel); - Reference ref = editModel.getReference(); - getChildrenMap().put(ref, editModel); - return ref; - } - - public void removeChild(EditModel editModel) { - getChildren().remove(editModel); - getChildrenMap().remove(editModel.getReference()); - } -}
\ No newline at end of file |