]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/PrimitiveQueryProcessor.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.browsing.ui / src / org / simantics / browsing / ui / PrimitiveQueryProcessor.java
index 049a92fafd75d26a4350ea6d036e7e190405c7bb..cde5f8d97dbe20376b5084191f884152b680cf7e 100644 (file)
@@ -1,35 +1,35 @@
-/*******************************************************************************\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;\r
-\r
-import org.simantics.browsing.ui.NodeContext.PrimitiveQueryKey;\r
-\r
-public interface PrimitiveQueryProcessor<T> {\r
-\r
-    /**\r
-     * Specifies the key object that is used to identify queries that this\r
-     * processor is capable of serving.\r
-     * \r
-     * @return the key object that uniquely represents the query that this\r
-     *         processor can respond to.\r
-     */\r
-    Object getIdentifier();\r
-\r
-    /**\r
-     * @param updater\r
-     * @param context\r
-     * @param key\r
-     * @return the result of the query\r
-     */\r
-    T query(PrimitiveQueryUpdater updater, NodeContext context, PrimitiveQueryKey<T> key);\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;
+
+import org.simantics.browsing.ui.NodeContext.PrimitiveQueryKey;
+
+public interface PrimitiveQueryProcessor<T> {
+
+    /**
+     * Specifies the key object that is used to identify queries that this
+     * processor is capable of serving.
+     * 
+     * @return the key object that uniquely represents the query that this
+     *         processor can respond to.
+     */
+    Object getIdentifier();
+
+    /**
+     * @param updater
+     * @param context
+     * @param key
+     * @return the result of the query
+     */
+    T query(PrimitiveQueryUpdater updater, NodeContext context, PrimitiveQueryKey<T> key);
+
+}