1 /*******************************************************************************
2 * Copyright (c) 2007, 2010 Association for Decentralized Information Management
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * VTT Technical Research Centre of Finland - initial API and implementation
11 *******************************************************************************/
12 package org.simantics.editors.win32.ole;
14 import org.eclipse.swt.ole.win32.OleAutomation;
15 import org.eclipse.swt.ole.win32.OleClientSite;
16 import org.eclipse.swt.ole.win32.OleFrame;
19 * PDFs are embedded using browser
21 * @author Marko Luukkainen <marko.luukkainen@vtt.fi>
24 public class PDF_Definition implements EditorDefinition {
27 public boolean useBrowser() {
32 public boolean useFileInput() {
37 public OleController createController(OleFrame frame, OleClientSite site, OleAutomation auto) {
42 public String getProgID() {
47 public boolean supportSuffix(String suffix) {
48 return suffix.equals("pdf");