Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable/src/org/eclipse/papyrus/sysml/nattable/manager/axis/AllocateAxisManager.java')
-rw-r--r--plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable/src/org/eclipse/papyrus/sysml/nattable/manager/axis/AllocateAxisManager.java108
1 files changed, 0 insertions, 108 deletions
diff --git a/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable/src/org/eclipse/papyrus/sysml/nattable/manager/axis/AllocateAxisManager.java b/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable/src/org/eclipse/papyrus/sysml/nattable/manager/axis/AllocateAxisManager.java
deleted file mode 100644
index 81e4e10f12d..00000000000
--- a/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable/src/org/eclipse/papyrus/sysml/nattable/manager/axis/AllocateAxisManager.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013 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
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.sysml.nattable.manager.axis;
-
-import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType;
-import org.eclipse.papyrus.sysml.allocations.Allocate;
-import org.eclipse.papyrus.sysml.allocations.AllocationsPackage;
-import org.eclipse.papyrus.sysml.service.types.element.SysMLElementTypes;
-import org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager;
-import org.eclipse.uml2.uml.Abstraction;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/**
- * Axis Manager for Allocate
- *
- * @author vl222926
- *
- */
-public class AllocateAxisManager extends AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager<Allocate> {
-
-
- /**
- *
- * @see org.eclipse.papyrus.infra.nattable.manager.axis.AbstractAxisManager#canCreateAxisElement(java.lang.String)
- *
- * @param elementId
- * @return
- */
- @Override
- public boolean canCreateAxisElement(final String elementId) {
- return ((ISpecializationType) SysMLElementTypes.ALLOCATE).getId().equals(elementId);
- }
-
- /**
- *
- * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#isInstanceOfRequiredStereotypeApplication(java.lang.Object)
- *
- * @param object
- * @return
- */
- @Override
- protected boolean isInstanceOfRequiredStereotypeApplication(Object object) {
- return object instanceof Allocate;
- }
-
-
- /**
- *
- * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeApplication(org.eclipse.uml2.uml.Element)
- *
- * @param el
- * @return
- */
- @Override
- protected Allocate getStereotypeApplication(final Element el) {
- return UMLUtil.getStereotypeApplication(el, Allocate.class);
- }
-
- /**
- *
- * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeBaseElement(org.eclipse.emf.ecore.EObject)
- *
- * @param stereotypeApplication
- * @return
- */
- @Override
- protected Element getStereotypeBaseElement(final Allocate stereotypeApplication) {
- return stereotypeApplication.getBase_Abstraction();
- }
-
-
- /**
- *
- * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeApplicationBasePropertyName()
- *
- * @return
- */
- @Override
- protected String getStereotypeApplicationBasePropertyName() {
- return AllocationsPackage.eINSTANCE.getAllocate_Base_Abstraction().getName();
- }
-
- /**
- *
- * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#isAllowedAsBaseElement(org.eclipse.uml2.uml.Element)
- *
- * @param element
- * @return
- */
- @Override
- protected boolean isAllowedAsBaseElement(Element element) {
- return element instanceof Abstraction;
- }
-
-
-}

Back to the top