]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/model/ReportFactory.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / modelBrowser / model / ReportFactory.java
index 57a252cd85db93c805cd18a429b8da9751b183a1..5fc9540ad7d065f72f6f4d6c6aae5f4781b2b288 100644 (file)
@@ -1,54 +1,54 @@
-/*******************************************************************************\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.modeling.ui.modelBrowser.model;\r
-\r
-import java.util.Collection;\r
-import java.util.Collections;\r
-\r
-import org.eclipse.jface.resource.ImageDescriptor;\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Statement;\r
-import org.simantics.db.WriteGraph;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.modeling.ui.Activator;\r
-\r
-@Deprecated\r
-public class ReportFactory extends StatementPredicateNode {\r
-\r
-    public ReportFactory(ReadGraph g, Statement statement) {\r
-        super(statement);\r
-    }\r
-\r
-    @Override\r
-    public Collection<?> getChildren(ReadGraph g) {\r
-        return Collections.emptyList();\r
-    }\r
-\r
-    @Override\r
-    public ImageDescriptor getImage(ReadGraph g) {\r
-        return Activator.QUERY_ICON;\r
-    }\r
-\r
-//    @Override\r
-//    public void open() {\r
-//        try {\r
-//            WorkbenchUtils.openEditor(WikiEditor.EDITOR_ID, new ResourceEditorInput(WikiEditor.EDITOR_ID, new ResourceArray(statement.getSubject(), statement.getPredicate())));\r
-//        } catch (PartInitException e) {\r
-//            e.printStackTrace();\r
-//        }\r
-//    }\r
-\r
-    @Override\r
-    public void handleDelete(WriteGraph graph) throws DatabaseException {\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.modeling.ui.modelBrowser.model;
+
+import java.util.Collection;
+import java.util.Collections;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.simantics.db.ReadGraph;
+import org.simantics.db.Statement;
+import org.simantics.db.WriteGraph;
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.modeling.ui.Activator;
+
+@Deprecated
+public class ReportFactory extends StatementPredicateNode {
+
+    public ReportFactory(ReadGraph g, Statement statement) {
+        super(statement);
+    }
+
+    @Override
+    public Collection<?> getChildren(ReadGraph g) {
+        return Collections.emptyList();
+    }
+
+    @Override
+    public ImageDescriptor getImage(ReadGraph g) {
+        return Activator.QUERY_ICON;
+    }
+
+//    @Override
+//    public void open() {
+//        try {
+//            WorkbenchUtils.openEditor(WikiEditor.EDITOR_ID, new ResourceEditorInput(WikiEditor.EDITOR_ID, new ResourceArray(statement.getSubject(), statement.getPredicate())));
+//        } catch (PartInitException e) {
+//            e.printStackTrace();
+//        }
+//    }
+
+    @Override
+    public void handleDelete(WriteGraph graph) throws DatabaseException {
+    }
+
+}