Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/helper/advice/AssociationCompositeEditHelperAdvice.java')
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/helper/advice/AssociationCompositeEditHelperAdvice.java38
1 files changed, 0 insertions, 38 deletions
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/helper/advice/AssociationCompositeEditHelperAdvice.java b/plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/helper/advice/AssociationCompositeEditHelperAdvice.java
deleted file mode 100644
index 0dcd6e65d72..00000000000
--- a/plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/helper/advice/AssociationCompositeEditHelperAdvice.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * 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
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.service.types.helper.advice;
-
-import org.eclipse.uml2.uml.Association;
-import org.eclipse.uml2.uml.Classifier;
-import org.eclipse.uml2.uml.Property;
-
-/**
- * Edit helper advice for {@link Association} with "aggregation = composition" and navigable in one way (used for creation purpose only).
- */
-public class AssociationCompositeEditHelperAdvice extends AssociationNoneEditHelperAdvice {
-
- /**
- * <pre>
- * {@inheritDoc}
- *
- * The currently created {@link Association} is Composite (manage by super class):
- * it source {@link Property} aggregation is set to Composite kind.
- *
- * The currently created {@link Association} is bidirectional (navigable in both directions):
- * it source and target {@link Property} are owned by the {@link Classifier} (target and source end types),
- * this is handled by the super class.
- * </pre>
- */
- @Override
- protected void configureSourceProperty(Property sourceProperty) {
- sourceProperty.setIsComposite(true);
- }
-} \ No newline at end of file

Back to the top