]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.utils.datastructures/src/org/simantics/utils/datastructures/hints/IHintTracker.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.utils.datastructures / src / org / simantics / utils / datastructures / hints / IHintTracker.java
index 48c7dd637db2f1e2c5ddfd37efcd148da0b69ff1..c80f46a66ffebfc997180bb7e2420ee9bfb89034 100644 (file)
@@ -1,51 +1,51 @@
-/*******************************************************************************\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.utils.datastructures.hints;\r
-\r
-/**\r
- * IHintTracker is an interface for tracking any hints of a single IHintContext.\r
- * \r
- * <p>\r
- * The main purpose of this interface is to enable very easy switching of the\r
- * tracked hint context. Only a call to the {@link #track(IHintContext)} method\r
- * is required. All hint listeners registered into the tracked will\r
- * automatically be switched to listen to the new context instead. Hint\r
- * listeners can be added or removed while tracking an IHintContext.\r
- * </p>\r
- * \r
- * <p>\r
- * Always be sure to {@link #untrack()} any IHintContext that you're tracking\r
- * after the tracker is no longer needed. Otherwise you will most likely have\r
- * invalid listeners within the tracked IHintContext resulting in erroneous\r
- * behavior.\r
- * </p>\r
- * \r
- * @author Tuukka Lehtonen\r
- */\r
-public interface IHintTracker extends IHintObservable {\r
-\r
-    /**\r
-     * Start tracking the specified IHintContext with all the listeners\r
-     * registered into this IHintObservable. Tracking of any previous\r
-     * IHintContext will be discontinued.\r
-     * \r
-     * @param ctx the new IHintContext to track\r
-     */\r
-    public void track(IHintContext ctx);\r
-    \r
-    /**\r
-     * A call to this method should have the same implications as a\r
-     * <code>track(null)</code> call.\r
-     */\r
-    void untrack();\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.utils.datastructures.hints;
+
+/**
+ * IHintTracker is an interface for tracking any hints of a single IHintContext.
+ * 
+ * <p>
+ * The main purpose of this interface is to enable very easy switching of the
+ * tracked hint context. Only a call to the {@link #track(IHintContext)} method
+ * is required. All hint listeners registered into the tracked will
+ * automatically be switched to listen to the new context instead. Hint
+ * listeners can be added or removed while tracking an IHintContext.
+ * </p>
+ * 
+ * <p>
+ * Always be sure to {@link #untrack()} any IHintContext that you're tracking
+ * after the tracker is no longer needed. Otherwise you will most likely have
+ * invalid listeners within the tracked IHintContext resulting in erroneous
+ * behavior.
+ * </p>
+ * 
+ * @author Tuukka Lehtonen
+ */
+public interface IHintTracker extends IHintObservable {
+
+    /**
+     * Start tracking the specified IHintContext with all the listeners
+     * registered into this IHintObservable. Tracking of any previous
+     * IHintContext will be discontinued.
+     * 
+     * @param ctx the new IHintContext to track
+     */
+    public void track(IHintContext ctx);
+    
+    /**
+     * A call to this method should have the same implications as a
+     * <code>track(null)</code> call.
+     */
+    void untrack();
+    
+}