]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser2/contributions/SubscriptionLabeler.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / modelBrowser2 / contributions / SubscriptionLabeler.java
index 74aed0a730f7207ca0eaba2c7a75e1a2085437b0..5f67b2a1d7a33a8b8ec893cdde5a4e9584efd304 100644 (file)
@@ -1,32 +1,32 @@
-/*******************************************************************************\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.modelBrowser2.contributions;\r
-\r
-import java.util.Map;\r
-\r
-import org.simantics.browsing.ui.graph.contributor.labeler.ColumnLabelerContributor;\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.modeling.ui.modelBrowser2.label.SubscriptionLabelRule;\r
-import org.simantics.modeling.ui.modelBrowser2.model.SubscriptionNode;\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- */\r
-public class SubscriptionLabeler extends ColumnLabelerContributor<SubscriptionNode> {\r
-\r
-    @Override\r
-    public Map<String, String> getLabel(ReadGraph graph, SubscriptionNode node) throws DatabaseException {\r
-        return SubscriptionLabelRule.get().getLabel(graph, node.resource);\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.modelBrowser2.contributions;
+
+import java.util.Map;
+
+import org.simantics.browsing.ui.graph.contributor.labeler.ColumnLabelerContributor;
+import org.simantics.db.ReadGraph;
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.modeling.ui.modelBrowser2.label.SubscriptionLabelRule;
+import org.simantics.modeling.ui.modelBrowser2.model.SubscriptionNode;
+
+/**
+ * @author Tuukka Lehtonen
+ */
+public class SubscriptionLabeler extends ColumnLabelerContributor<SubscriptionNode> {
+
+    @Override
+    public Map<String, String> getLabel(ReadGraph graph, SubscriptionNode node) throws DatabaseException {
+        return SubscriptionLabelRule.get().getLabel(graph, node.resource);
+    }
+
+}