]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.common/src/org/simantics/browsing/ui/common/processors/ViewpointFactoryResolver.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.browsing.ui.common / src / org / simantics / browsing / ui / common / processors / ViewpointFactoryResolver.java
index 6df5756edf0b84fcb835057941095218ea174d5e..5f9e9b37fb296d69cd1b293af829646cf39fe429 100644 (file)
@@ -1,46 +1,46 @@
-/*******************************************************************************\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.common.processors;\r
-\r
-import org.simantics.browsing.ui.BuiltinKeys;\r
-import org.simantics.browsing.ui.NodeContext;\r
-import org.simantics.browsing.ui.common.EvaluatorData;\r
-import org.simantics.browsing.ui.common.EvaluatorData.Evaluator;\r
-import org.simantics.browsing.ui.common.EvaluatorData.EvaluatorTree;\r
-import org.simantics.browsing.ui.content.ViewpointFactory;\r
-\r
-/**\r
- * A query processor for resolving available {@link ViewpointFactory} instances\r
- * for a {@link NodeContext}.\r
- * \r
- * <p>\r
- * This implementation works completely based on the generic\r
- * {@link AbstractFactoryResolverQueryProcessor} and an {@link EvaluatorData}\r
- * which is used to guide the resolution. See\r
- * {@link AbstractFactoryResolverQueryProcessor} for an explanation of the\r
- * generic logic.\r
- * </p>\r
- * \r
- * @author Tuukka Lehtonen\r
- */\r
-public class ViewpointFactoryResolver extends AbstractFactoryResolverQueryProcessor<ViewpointFactory> {\r
-\r
-    public ViewpointFactoryResolver(EvaluatorData data) {\r
-        super(data, BuiltinKeys.VIEWPOINT_FACTORIES);\r
-    }\r
-\r
-    @Override\r
-    protected EvaluatorTree<ViewpointFactory> getEvaluatorTree(Evaluator evaluator) {\r
-        return evaluator.getViewpointTree();\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.browsing.ui.common.processors;
+
+import org.simantics.browsing.ui.BuiltinKeys;
+import org.simantics.browsing.ui.NodeContext;
+import org.simantics.browsing.ui.common.EvaluatorData;
+import org.simantics.browsing.ui.common.EvaluatorData.Evaluator;
+import org.simantics.browsing.ui.common.EvaluatorData.EvaluatorTree;
+import org.simantics.browsing.ui.content.ViewpointFactory;
+
+/**
+ * A query processor for resolving available {@link ViewpointFactory} instances
+ * for a {@link NodeContext}.
+ * 
+ * <p>
+ * This implementation works completely based on the generic
+ * {@link AbstractFactoryResolverQueryProcessor} and an {@link EvaluatorData}
+ * which is used to guide the resolution. See
+ * {@link AbstractFactoryResolverQueryProcessor} for an explanation of the
+ * generic logic.
+ * </p>
+ * 
+ * @author Tuukka Lehtonen
+ */
+public class ViewpointFactoryResolver extends AbstractFactoryResolverQueryProcessor<ViewpointFactory> {
+
+    public ViewpointFactoryResolver(EvaluatorData data) {
+        super(data, BuiltinKeys.VIEWPOINT_FACTORIES);
+    }
+
+    @Override
+    protected EvaluatorTree<ViewpointFactory> getEvaluatorTree(Evaluator evaluator) {
+        return evaluator.getViewpointTree();
+    }
+
+}