blob: b2e89bf49448c26bc8f89efaa5cddf75101fae82 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 THALES GLOBAL SERVICES and Others
* 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.emf.ecoretools.design.ui.editor;
import org.eclipse.emf.common.util.URI;
import org.eclipse.sirius.diagram.ui.tools.api.editor.AbstractSpecificDDiagramEditor;
/**
* Example specific editor.
*
* @author mchauvin
*/
public class EcoreEntitiesReadOnlyEditor extends AbstractSpecificDDiagramEditor {
public String getDiagramDescriptionName() {
return "Entities";
}
public URI getViewpointURI() {
return URI
.createURI("viewpoint:/org.eclipse.emf.ecoretools.design/Design");
}
public boolean isSessionStoredInWorkspace() {
return false;
}
}