-/*******************************************************************************\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
-import java.util.function.Consumer;\r
-\r
-import org.simantics.browsing.ui.NodeContext;\r
-import org.simantics.browsing.ui.graph.impl.contributor.viewpoint.ContextInputCallbackViewpointContributorImpl;\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.exception.DatabaseException;\r
-\r
-abstract public class ContextInputCallbackViewpointContributor extends ContextInputCallbackViewpointContributorImpl {\r
-\r
- public ContextInputCallbackViewpointContributor() {\r
- super(Object.class);\r
- }\r
-\r
- public ContextInputCallbackViewpointContributor(Class<?> clazz) {\r
- super(clazz);\r
- }\r
-\r
- @Override\r
- abstract public void getContribution(ReadGraph graph, NodeContext context, Consumer<Collection<?>> callback) throws DatabaseException;\r
-\r
- @Override\r
- abstract public String getViewpointId();\r
-\r
-}\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.graph.contributor.viewpoint;
+
+import java.util.Collection;
+import java.util.function.Consumer;
+
+import org.simantics.browsing.ui.NodeContext;
+import org.simantics.browsing.ui.graph.impl.contributor.viewpoint.ContextInputCallbackViewpointContributorImpl;
+import org.simantics.db.ReadGraph;
+import org.simantics.db.exception.DatabaseException;
+
+abstract public class ContextInputCallbackViewpointContributor extends ContextInputCallbackViewpointContributorImpl {
+
+ public ContextInputCallbackViewpointContributor() {
+ super(Object.class);
+ }
+
+ public ContextInputCallbackViewpointContributor(Class<?> clazz) {
+ super(clazz);
+ }
+
+ @Override
+ abstract public void getContribution(ReadGraph graph, NodeContext context, Consumer<Collection<?>> callback) throws DatabaseException;
+
+ @Override
+ abstract public String getViewpointId();
+
+}
+
+
+