]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.graph/src/org/simantics/browsing/ui/graph/contributor/viewpoint/ViewpointContributor.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.browsing.ui.graph / src / org / simantics / browsing / ui / graph / contributor / viewpoint / ViewpointContributor.java
index 64f460edc56f103d4f30aa48cfe88e4ebf0c9058..4f51b342678d65cad256d85f6f3e51f17fbb2930 100644 (file)
@@ -1,39 +1,39 @@
-/*******************************************************************************\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.browsing.ui.graph.contributor.viewpoint;\r
-\r
-import java.util.Collection;\r
-\r
-import org.simantics.browsing.ui.BuiltinKeys;\r
-import org.simantics.browsing.ui.NodeContext;\r
-import org.simantics.browsing.ui.graph.impl.contributor.viewpoint.ViewpointContributorImpl;\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.exception.DatabaseException;\r
-\r
-/**\r
- * @param <T> defines the type of input a contributor can handle. Only if the\r
- *        {@link NodeContext} {@link BuiltinKeys#INPUT} constants is an instance\r
- *        of this class will this contributor be invoked.\r
- */\r
-abstract public class ViewpointContributor<T> extends ViewpointContributorImpl<T> {\r
-\r
-       public static final String STANDARD = "Standard";\r
-       \r
-    @Override\r
-    abstract public Collection<?> getContribution(ReadGraph graph, T input) throws DatabaseException;\r
-\r
-       @Override\r
-       public String getViewpointId() {\r
-               return STANDARD;\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.browsing.ui.graph.contributor.viewpoint;
+
+import java.util.Collection;
+
+import org.simantics.browsing.ui.BuiltinKeys;
+import org.simantics.browsing.ui.NodeContext;
+import org.simantics.browsing.ui.graph.impl.contributor.viewpoint.ViewpointContributorImpl;
+import org.simantics.db.ReadGraph;
+import org.simantics.db.exception.DatabaseException;
+
+/**
+ * @param <T> defines the type of input a contributor can handle. Only if the
+ *        {@link NodeContext} {@link BuiltinKeys#INPUT} constants is an instance
+ *        of this class will this contributor be invoked.
+ */
+abstract public class ViewpointContributor<T> extends ViewpointContributorImpl<T> {
+
+       public static final String STANDARD = "Standard";
+       
+    @Override
+    abstract public Collection<?> getContribution(ReadGraph graph, T input) throws DatabaseException;
+
+       @Override
+       public String getViewpointId() {
+               return STANDARD;
+       }
+       
 }
\ No newline at end of file