Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/deprecated-plugins/uml.deprecated/org.eclipse.papyrus.tabbedproperties.uml/generated/org/eclipse/papyrus/tabbedproperties/uml/components/ReceiveSignalEventPropertiesEditionComponent.java')
-rw-r--r--deprecated/deprecated-plugins/uml.deprecated/org.eclipse.papyrus.tabbedproperties.uml/generated/org/eclipse/papyrus/tabbedproperties/uml/components/ReceiveSignalEventPropertiesEditionComponent.java102
1 files changed, 0 insertions, 102 deletions
diff --git a/deprecated/deprecated-plugins/uml.deprecated/org.eclipse.papyrus.tabbedproperties.uml/generated/org/eclipse/papyrus/tabbedproperties/uml/components/ReceiveSignalEventPropertiesEditionComponent.java b/deprecated/deprecated-plugins/uml.deprecated/org.eclipse.papyrus.tabbedproperties.uml/generated/org/eclipse/papyrus/tabbedproperties/uml/components/ReceiveSignalEventPropertiesEditionComponent.java
deleted file mode 100644
index 52e94327a1e..00000000000
--- a/deprecated/deprecated-plugins/uml.deprecated/org.eclipse.papyrus.tabbedproperties.uml/generated/org/eclipse/papyrus/tabbedproperties/uml/components/ReceiveSignalEventPropertiesEditionComponent.java
+++ /dev/null
@@ -1,102 +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.components;
-
-// Start of user code for imports
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
-import org.eclipse.emf.eef.runtime.impl.components.ComposedPropertiesEditionComponent;
-import org.eclipse.papyrus.tabbedproperties.uml.parts.ReceiveSignalEventPropertiesEditionPart;
-import org.eclipse.papyrus.tabbedproperties.uml.parts.UMLViewsRepository;
-import org.eclipse.uml2.uml.ReceiveSignalEvent;
-
-// End of user code
-
-/**
- * @author <a href="mailto:jerome.benois@obeo.fr">Jerome Benois</a>
- */
-public class ReceiveSignalEventPropertiesEditionComponent extends ComposedPropertiesEditionComponent {
-
- /**
- * The Base part
- */
- private ReceiveSignalEventPropertiesEditionPart basePart;
-
- /**
- * The ReceiveSignalEventBasePropertiesEditionComponent sub component
- */
- protected ReceiveSignalEventBasePropertiesEditionComponent receiveSignalEventBasePropertiesEditionComponent;
-
- /**
- * The ElementPropertiesEditionComponent sub component
- */
- protected ElementPropertiesEditionComponent elementPropertiesEditionComponent;
-
- /**
- * Parameterized constructor
- *
- * @param receiveSignalEvent
- * the EObject to edit
- */
- public ReceiveSignalEventPropertiesEditionComponent(EObject receiveSignalEvent, String editing_mode) {
- super(editing_mode);
- if(receiveSignalEvent instanceof ReceiveSignalEvent) {
- receiveSignalEventBasePropertiesEditionComponent = new ReceiveSignalEventBasePropertiesEditionComponent(receiveSignalEvent, editing_mode);
- addSubComponent(receiveSignalEventBasePropertiesEditionComponent);
- elementPropertiesEditionComponent = new ElementPropertiesEditionComponent(receiveSignalEvent, editing_mode);
- addSubComponent(elementPropertiesEditionComponent);
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.eef.runtime.impl.components.ComposedPropertiesEditionComponent# getPropertiesEditionPart(int, java.lang.String)
- */
- public IPropertiesEditionPart getPropertiesEditionPart(int kind, String key) {
- if("Base".equals(key)) {
- basePart = (ReceiveSignalEventPropertiesEditionPart)receiveSignalEventBasePropertiesEditionComponent.getPropertiesEditionPart(kind, key);
- return (IPropertiesEditionPart)basePart;
- }
- return super.getPropertiesEditionPart(kind, key);
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.eef.runtime.impl.components.ComposedPropertiesEditionComponent# setPropertiesEditionPart(java.lang.Class, int,
- * org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart)
- */
- public void setPropertiesEditionPart(java.lang.Class key, int kind, IPropertiesEditionPart propertiesEditionPart) {
- if(UMLViewsRepository.ReceiveSignalEvent.class == key) {
- super.setPropertiesEditionPart(key, kind, propertiesEditionPart);
- basePart = (ReceiveSignalEventPropertiesEditionPart)propertiesEditionPart;
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.eef.runtime.impl.components.ComposedPropertiesEditionComponent #initPart(java.lang.Class, int,
- * org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.resource.ResourceSet)
- */
- public void initPart(java.lang.Class key, int kind, EObject element, ResourceSet allResource) {
- if(key == UMLViewsRepository.ReceiveSignalEvent.class) {
- super.initPart(key, kind, element, allResource);
- }
- if(key == UMLViewsRepository.Comments.class) {
- super.initPart(key, kind, element, allResource);
-
- }
- }
-}

Back to the top