X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.editors.win32%2Fsrc%2Forg%2Fsimantics%2Feditors%2Fwin32%2Fole%2FVisioDefinition.java;h=a867e526721525b502662f0aea3cc4e5aff15022;hb=refs%2Fchanges%2F38%2F238%2F2;hp=72c3bae0d681bd60166c75d721aa462eb8824244;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.editors.win32/src/org/simantics/editors/win32/ole/VisioDefinition.java b/bundles/org.simantics.editors.win32/src/org/simantics/editors/win32/ole/VisioDefinition.java index 72c3bae0d..a867e5267 100644 --- a/bundles/org.simantics.editors.win32/src/org/simantics/editors/win32/ole/VisioDefinition.java +++ b/bundles/org.simantics.editors.win32/src/org/simantics/editors/win32/ole/VisioDefinition.java @@ -1,50 +1,50 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * 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: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.editors.win32.ole; - -import org.eclipse.swt.ole.win32.OleAutomation; -import org.eclipse.swt.ole.win32.OleClientSite; -import org.eclipse.swt.ole.win32.OleFrame; - -/** - * Visio documents - * - * @author Marko Luukkainen - * - */ -public class VisioDefinition implements EditorDefinition{ - - @Override - public OleController createController(OleFrame frame, OleClientSite site, OleAutomation auto) { - return null; - } - - @Override - public String getProgID() { - return null; //"Visio.Drawing" - } - - @Override - public boolean supportSuffix(String suffix) { - return suffix.equals("vsd"); - } - - @Override - public boolean useBrowser() { - return false; - } - - @Override - public boolean useFileInput() { - return true; - } -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * 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: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.editors.win32.ole; + +import org.eclipse.swt.ole.win32.OleAutomation; +import org.eclipse.swt.ole.win32.OleClientSite; +import org.eclipse.swt.ole.win32.OleFrame; + +/** + * Visio documents + * + * @author Marko Luukkainen + * + */ +public class VisioDefinition implements EditorDefinition{ + + @Override + public OleController createController(OleFrame frame, OleClientSite site, OleAutomation auto) { + return null; + } + + @Override + public String getProgID() { + return null; //"Visio.Drawing" + } + + @Override + public boolean supportSuffix(String suffix) { + return suffix.equals("vsd"); + } + + @Override + public boolean useBrowser() { + return false; + } + + @Override + public boolean useFileInput() { + return true; + } +}