blob: d8981f1d75a0cf2d4f2b930b979e5f2da9d8bd26 [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2006, 2009 IBM Corporation 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:
* IBM Corporation - initial API and implementation
****************************************************************************/
package org.eclipse.gmf.examples.runtime.diagram.geoshapes.internal.views.factories;
import org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.StandardDiagramViewFactory;
import org.eclipse.gmf.runtime.notation.MeasurementUnit;
public class GeoshapesDiagramViewFactory
extends StandardDiagramViewFactory {
/**
* Get the measurement unit to be set in pixels implying that that units
* stored in the notation file are identical to device pixels.
*/
protected MeasurementUnit getMeasurementUnit() {
return MeasurementUnit.PIXEL_LITERAL;
}
}