diff options
Diffstat (limited to 'deprecated/deprecated-plugins/uml.deprecated/org.eclipse.papyrus.tabbedproperties.uml/generated/org/eclipse/papyrus/tabbedproperties/uml/providers/BehaviorExecutionSpecificationPropertiesEditionProvider.java')
1 files changed, 0 insertions, 65 deletions
diff --git a/deprecated/deprecated-plugins/uml.deprecated/org.eclipse.papyrus.tabbedproperties.uml/generated/org/eclipse/papyrus/tabbedproperties/uml/providers/BehaviorExecutionSpecificationPropertiesEditionProvider.java b/deprecated/deprecated-plugins/uml.deprecated/org.eclipse.papyrus.tabbedproperties.uml/generated/org/eclipse/papyrus/tabbedproperties/uml/providers/BehaviorExecutionSpecificationPropertiesEditionProvider.java deleted file mode 100644 index bde16a57007..00000000000 --- a/deprecated/deprecated-plugins/uml.deprecated/org.eclipse.papyrus.tabbedproperties.uml/generated/org/eclipse/papyrus/tabbedproperties/uml/providers/BehaviorExecutionSpecificationPropertiesEditionProvider.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 Obeo. - * 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: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.papyrus.tabbedproperties.uml.providers; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; -import org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionProvider; -import org.eclipse.papyrus.tabbedproperties.uml.components.BehaviorExecutionSpecificationBasePropertiesEditionComponent; -import org.eclipse.papyrus.tabbedproperties.uml.components.BehaviorExecutionSpecificationPropertiesEditionComponent; -import org.eclipse.papyrus.tabbedproperties.uml.components.ElementPropertiesEditionComponent; -import org.eclipse.uml2.uml.BehaviorExecutionSpecification; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * @author <a href="mailto:jerome.benois@obeo.fr">Jerome Benois</a> - */ -public class BehaviorExecutionSpecificationPropertiesEditionProvider implements IPropertiesEditionProvider { - - /** - * {@inheritDoc} - * - * @see org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionProvider#provides(org.eclipse.emf.ecore.EObject) - */ - public boolean provides(EObject eObject) { - return (eObject instanceof BehaviorExecutionSpecification) && (UMLPackage.eINSTANCE.getBehaviorExecutionSpecification() == eObject.eClass()); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionProvider#getPropertiesEditionComponent(org.eclipse.emf.ecore.EObject, - * java.lang.String) - */ - public IPropertiesEditionComponent getPropertiesEditionComponent(EObject eObject, String editing_mode) { - if(eObject instanceof BehaviorExecutionSpecification) { - return new BehaviorExecutionSpecificationPropertiesEditionComponent(eObject, editing_mode); - } - return null; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionProvider#getPropertiesEditionComponent(org.eclipse.emf.ecore.EObject, - * java.lang.String, java.lang.String) - */ - public IPropertiesEditionComponent getPropertiesEditionComponent(EObject eObject, String editing_mode, String part) { - if(eObject instanceof BehaviorExecutionSpecification) { - if(BehaviorExecutionSpecificationBasePropertiesEditionComponent.BASE_PART.equals(part)) - return new BehaviorExecutionSpecificationBasePropertiesEditionComponent(eObject, editing_mode); - if(ElementPropertiesEditionComponent.COMMENTS_PART.equals(part)) - return new ElementPropertiesEditionComponent(eObject, editing_mode); - } - return null; - } - -} |