| /***************************************************************************** |
| * Copyright (c) 2011 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: |
| * |
| * CEA LIST - Initial API and implementation |
| * |
| *****************************************************************************/ |
| package org.eclipse.papyrus.sysml.diagram.internalblock.factory; |
| |
| import org.eclipse.gmf.runtime.diagram.ui.view.factories.DiagramViewFactory; |
| import org.eclipse.gmf.runtime.notation.MeasurementUnit; |
| |
| public class InternalBlockDiagramViewFactory extends DiagramViewFactory { |
| |
| // Start of user code Custom view Factory field |
| public static final String INTERNAL_VERSION = "0.9.1"; |
| |
| // End of user code |
| |
| /** |
| * {@inheritDoc} |
| */ |
| @Override |
| protected MeasurementUnit getMeasurementUnit() { |
| return MeasurementUnit.PIXEL_LITERAL; |
| } |
| } |