Skip to content

Commit

Permalink
[462311] Remove Movida related code.
Browse files Browse the repository at this point in the history
All the Movida related code has been removed on Sirius master. This
commit fixes the compilation error that will occur the next time Capella
will consume the Sirius Nightly.

Bug: 462311
Change-Id: Id71bf347c019cd5b8b82b8ba52450a9d68f17757
Signed-off-by: Florian Barbin <florian.barbin@obeo.fr>
  • Loading branch information
florianbarbin committed Feb 8, 2018
1 parent 71ea06e commit c7cf68a
Showing 1 changed file with 1 addition and 8 deletions.
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2008, 2017 THALES GLOBAL SERVICES.
* Copyright (c) 2008, 2018 THALES GLOBAL SERVICES.
* 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
Expand Down Expand Up @@ -31,9 +31,6 @@
import org.eclipse.emf.transaction.TransactionalEditingDomain;
import org.eclipse.sirius.business.api.session.Session;
import org.eclipse.sirius.business.api.session.factory.SessionFactory;
import org.eclipse.sirius.business.internal.movida.Movida;
import org.eclipse.sirius.business.internal.movida.registry.ViewpointRegistry;
import org.eclipse.sirius.business.internal.movida.registry.ViewpointURIConverter;
import org.eclipse.sirius.business.internal.session.SessionFactoryImpl;
import org.eclipse.sirius.business.internal.session.danalysis.DAnalysisSessionImpl;
import org.eclipse.sirius.viewpoint.DAnalysis;
Expand All @@ -55,10 +52,6 @@ public class SiriusSessionFactory extends SessionFactoryImpl implements SessionF
*/
@Override
protected void configureDomain(TransactionalEditingDomain transactionalEditingDomain, URI sessionResourceUri) {
if (Movida.isEnabled()) {
transactionalEditingDomain.getResourceSet().setURIConverter(new ViewpointURIConverter(
(ViewpointRegistry) org.eclipse.sirius.business.api.componentization.ViewpointRegistry.getInstance()));
}
}

@Override
Expand Down

0 comments on commit c7cf68a

Please sign in to comment.