X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.editors.win32%2Fsrc%2Forg%2Fsimantics%2Feditors%2Fwin32%2Fole%2FDWFDefinition.java;h=b2732f924968154a9f19dbded4b9e38783a046eb;hb=c514d4d064547c6bd0bf2b7c182e5f8c7e389c6c;hp=11c57960da30ec618540bd3d053a0473bba380d7;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.editors.win32/src/org/simantics/editors/win32/ole/DWFDefinition.java b/bundles/org.simantics.editors.win32/src/org/simantics/editors/win32/ole/DWFDefinition.java index 11c57960d..b2732f924 100644 --- a/bundles/org.simantics.editors.win32/src/org/simantics/editors/win32/ole/DWFDefinition.java +++ b/bundles/org.simantics.editors.win32/src/org/simantics/editors/win32/ole/DWFDefinition.java @@ -1,52 +1,52 @@ -/******************************************************************************* - * 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; - -/** - * DWF (Design Web Format) file. - * Embedding works with Autodesk Design Review 2009 - * - * - * @author Marko Luukkainen - * - */ -public class DWFDefinition implements EditorDefinition{ - - @Override - public OleController createController(OleFrame frame, OleClientSite site, OleAutomation auto) { - return null; - } - - @Override - public String getProgID() { - return null; //ADView.ADViewer - } - - @Override - public boolean supportSuffix(String suffix) { - return suffix.equals("dwf"); - } - - @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; + +/** + * DWF (Design Web Format) file. + * Embedding works with Autodesk Design Review 2009 + * + * + * @author Marko Luukkainen + * + */ +public class DWFDefinition implements EditorDefinition{ + + @Override + public OleController createController(OleFrame frame, OleClientSite site, OleAutomation auto) { + return null; + } + + @Override + public String getProgID() { + return null; //ADView.ADViewer + } + + @Override + public boolean supportSuffix(String suffix) { + return suffix.equals("dwf"); + } + + @Override + public boolean useBrowser() { + return false; + } + + @Override + public boolean useFileInput() { + return true; + } +}