]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/widgets/impl/WidgetSupport.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.browsing.ui.swt / src / org / simantics / browsing / ui / swt / widgets / impl / WidgetSupport.java
index d08f05879b8187c0230d7fab1c744657586cc8dc..bdfea568a0469bebc0a773da2539289de1a4aeb3 100644 (file)
@@ -1,55 +1,55 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2012 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.swt.widgets.impl;\r
-\r
-import org.eclipse.jface.resource.ResourceManager;\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.exception.DatabaseException;\r
-\r
-public interface WidgetSupport {\r
-\r
-       /**\r
-        * The key for {@link #setParameter(String, Object)} used to associate a\r
-        * {@link ResourceManager} instance with this widget support context.\r
-        * Widgets that need to load resources (fonts, colors or images) need this.\r
-        */\r
-       public static final String RESOURCE_MANAGER = "resourceManager";\r
-\r
-       public static final Object NO_INPUT = new Object();\r
-       \r
-       /*\r
-        * The widget is set to receive input updates from this support\r
-        */\r
-       void register(Widget widget);\r
-       /*\r
-        * Updates will start only after this call\r
-        */\r
-       void finish();\r
-       /*\r
-        * Force update of widget\r
-        */\r
-       void update(Widget widget);\r
-       /*\r
-        * Force update of all widgets\r
-        */\r
-       void update();\r
-       /*\r
-        * Query current input\r
-        */\r
-       <T> T getInput();\r
-       \r
-       <T> T getParameter(String key);\r
-       void setParameter(String key, Object value);\r
-       \r
-       <T> T getInput(ReadGraph graph) throws DatabaseException;\r
-       \r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2012 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.swt.widgets.impl;
+
+import org.eclipse.jface.resource.ResourceManager;
+import org.simantics.db.ReadGraph;
+import org.simantics.db.exception.DatabaseException;
+
+public interface WidgetSupport {
+
+       /**
+        * The key for {@link #setParameter(String, Object)} used to associate a
+        * {@link ResourceManager} instance with this widget support context.
+        * Widgets that need to load resources (fonts, colors or images) need this.
+        */
+       public static final String RESOURCE_MANAGER = "resourceManager";
+
+       public static final Object NO_INPUT = new Object();
+       
+       /*
+        * The widget is set to receive input updates from this support
+        */
+       void register(Widget widget);
+       /*
+        * Updates will start only after this call
+        */
+       void finish();
+       /*
+        * Force update of widget
+        */
+       void update(Widget widget);
+       /*
+        * Force update of all widgets
+        */
+       void update();
+       /*
+        * Query current input
+        */
+       <T> T getInput();
+       
+       <T> T getParameter(String key);
+       void setParameter(String key, Object value);
+       
+       <T> T getInput(ReadGraph graph) throws DatabaseException;
+       
+}