Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/deprecated-plugins/sysml.deprecated/org.eclipse.papyrus.sysml.diagram.blockdiagram/src/org/eclipse/papyrus/sysml/diagram/blockdiagram/edit/policies/BlockAttributeCompartmentItemSemanticEditPolicy.java')
-rw-r--r--deprecated/deprecated-plugins/sysml.deprecated/org.eclipse.papyrus.sysml.diagram.blockdiagram/src/org/eclipse/papyrus/sysml/diagram/blockdiagram/edit/policies/BlockAttributeCompartmentItemSemanticEditPolicy.java44
1 files changed, 0 insertions, 44 deletions
diff --git a/deprecated/deprecated-plugins/sysml.deprecated/org.eclipse.papyrus.sysml.diagram.blockdiagram/src/org/eclipse/papyrus/sysml/diagram/blockdiagram/edit/policies/BlockAttributeCompartmentItemSemanticEditPolicy.java b/deprecated/deprecated-plugins/sysml.deprecated/org.eclipse.papyrus.sysml.diagram.blockdiagram/src/org/eclipse/papyrus/sysml/diagram/blockdiagram/edit/policies/BlockAttributeCompartmentItemSemanticEditPolicy.java
deleted file mode 100644
index 1f5a890e931..00000000000
--- a/deprecated/deprecated-plugins/sysml.deprecated/org.eclipse.papyrus.sysml.diagram.blockdiagram/src/org/eclipse/papyrus/sysml/diagram/blockdiagram/edit/policies/BlockAttributeCompartmentItemSemanticEditPolicy.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 Atos Origin.
- *
- *
- * 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:
- * Atos Origin - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.diagram.blockdiagram.edit.policies;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
-import org.eclipse.papyrus.sysml.diagram.blockdiagram.edit.commands.PropertyCreateCommand;
-import org.eclipse.papyrus.sysml.diagram.blockdiagram.providers.SysmlElementTypes;
-
-/**
- * @generated
- */
-public class BlockAttributeCompartmentItemSemanticEditPolicy extends SysmlBaseItemSemanticEditPolicy {
-
- /**
- * @generated
- */
- public BlockAttributeCompartmentItemSemanticEditPolicy() {
- super(SysmlElementTypes.Block_2001);
- }
-
- /**
- * @generated
- */
- protected Command getCreateCommand(CreateElementRequest req) {
- if(SysmlElementTypes.Property_3001 == req.getElementType()) {
- return getGEFWrapper(new PropertyCreateCommand(req));
- }
- return super.getCreateCommand(req);
- }
-
-
-}

Back to the top