]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.editors.win32/src/org/simantics/editors/win32/ole/PreviewDefinition.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.editors.win32 / src / org / simantics / editors / win32 / ole / PreviewDefinition.java
index 428f5a2073fb43158553abcbed2ef28bcd465dcd..07ca83d0fcfb244502df8a6fc64c81240efa6d26 100644 (file)
@@ -1,58 +1,58 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.editors.win32.ole;\r
-\r
-import org.eclipse.swt.ole.win32.OleAutomation;\r
-import org.eclipse.swt.ole.win32.OleClientSite;\r
-import org.eclipse.swt.ole.win32.OleFrame;\r
-\r
-/**\r
- * Embedding for Windows Picture and Fax Preview\r
- * \r
- * @author Marko Luukkainen <marko.luukkainen@vtt.fi>\r
- *\r
- */\r
-public class PreviewDefinition implements EditorDefinition{\r
-       \r
-       @Override\r
-       public OleController createController(OleFrame frame, OleClientSite site,\r
-                       OleAutomation auto) {\r
-               return new PreviewController(frame,site,auto);\r
-       }\r
-       \r
-       @Override\r
-       public String getProgID() {\r
-               return "Preview.Preview";\r
-       }\r
-       \r
-       @Override\r
-       public boolean supportSuffix(String suffix) {\r
-               if (suffix.equals("png"))\r
-                       return true;\r
-               if (suffix.equals("jpg"))\r
-                       return true;\r
-               if (suffix.equals("bmp"))\r
-                       return true;\r
-               return false;\r
-       }\r
-       \r
-       @Override\r
-       public boolean useBrowser() {\r
-               return false;\r
-       }\r
-       \r
-       @Override\r
-       public boolean useFileInput() {\r
-               return false;\r
-       }\r
-\r
-}\r
+/*******************************************************************************
+ * 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;
+
+/**
+ * Embedding for Windows Picture and Fax Preview
+ * 
+ * @author Marko Luukkainen <marko.luukkainen@vtt.fi>
+ *
+ */
+public class PreviewDefinition implements EditorDefinition{
+       
+       @Override
+       public OleController createController(OleFrame frame, OleClientSite site,
+                       OleAutomation auto) {
+               return new PreviewController(frame,site,auto);
+       }
+       
+       @Override
+       public String getProgID() {
+               return "Preview.Preview";
+       }
+       
+       @Override
+       public boolean supportSuffix(String suffix) {
+               if (suffix.equals("png"))
+                       return true;
+               if (suffix.equals("jpg"))
+                       return true;
+               if (suffix.equals("bmp"))
+                       return true;
+               return false;
+       }
+       
+       @Override
+       public boolean useBrowser() {
+               return false;
+       }
+       
+       @Override
+       public boolean useFileInput() {
+               return false;
+       }
+
+}