blob: 31133624be44b7077626bd631455d9bb48cec290 [file] [log] [blame]
/*******************************************************************************
* <copyright>
*
* Copyright (c) 2005, 2010 SAP AG.
* 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:
* SAP AG - initial API, implementation and documentation
*
* </copyright>
*
*******************************************************************************/
package org.eclipse.graphiti.export.batik;
import org.eclipse.graphiti.ui.internal.services.GraphitiUiInternal;
import org.eclipse.swt.widgets.Display;
public class Util {
private static Util util = new Util();
public static Util getInstance() {
return util;
}
public Display getDisplay() {
return GraphitiUiInternal.getWorkbenchService().getShell().getDisplay();
}
}