Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.architecture/src-gen/org/eclipse/papyrus/robotml/diagram/architecture/provider/ArchitectureDiagramViewProvider.java')
-rw-r--r--extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.architecture/src-gen/org/eclipse/papyrus/robotml/diagram/architecture/provider/ArchitectureDiagramViewProvider.java43
1 files changed, 0 insertions, 43 deletions
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.architecture/src-gen/org/eclipse/papyrus/robotml/diagram/architecture/provider/ArchitectureDiagramViewProvider.java b/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.architecture/src-gen/org/eclipse/papyrus/robotml/diagram/architecture/provider/ArchitectureDiagramViewProvider.java
deleted file mode 100644
index f7975186639..00000000000
--- a/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.architecture/src-gen/org/eclipse/papyrus/robotml/diagram/architecture/provider/ArchitectureDiagramViewProvider.java
+++ /dev/null
@@ -1,43 +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:
- * Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.robotml.diagram.architecture.provider;
-
-import static org.eclipse.papyrus.infra.core.Activator.log;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.gmf.runtime.diagram.core.providers.AbstractViewProvider;
-import org.eclipse.gmf.runtime.diagram.core.services.view.CreateDiagramViewOperation;
-import org.eclipse.papyrus.robotml.diagram.architecture.edit.part.ArchitectureDiagramEditPart;
-import org.eclipse.papyrus.robotml.diagram.architecture.factory.ArchitectureDiagramViewFactory;
-
-public class ArchitectureDiagramViewProvider extends AbstractViewProvider {
-
- @Override
- protected boolean provides(CreateDiagramViewOperation operation) {
-
- if(ArchitectureDiagramEditPart.DIAGRAM_ID.equals(operation.getSemanticHint())) {
- return true;
- }
-
- return false;
- }
-
- @Override
- protected Class<?> getDiagramViewClass(IAdaptable semanticAdapter, String diagramKind) {
- if(ArchitectureDiagramEditPart.DIAGRAM_ID.equals(diagramKind)) {
- return ArchitectureDiagramViewFactory.class;
- }
-
- log.error(new Exception("Could not create View."));
- return null;
- }
-}

Back to the top