]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.diagram/src/org/simantics/diagram/symbollibrary/ISymbolManager.java
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / bundles / org.simantics.diagram / src / org / simantics / diagram / symbollibrary / ISymbolManager.java
index a21872959db4962e6298fc2be25275d78ff1faba..5a0ee2bb42a52b1fc84d68112d0691acbeff0e16 100644 (file)
@@ -1,41 +1,41 @@
-/*******************************************************************************\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.diagram.symbollibrary;\r
-\r
-import java.util.Collection;\r
-\r
-import org.simantics.project.IProject;\r
-import org.simantics.project.IProjectService;\r
-import org.simantics.utils.datastructures.disposable.IDisposable;\r
-import org.simantics.utils.datastructures.hints.IHintContext.Key;\r
-import org.simantics.utils.datastructures.hints.IHintContext.KeyOf;\r
-\r
-public interface ISymbolManager extends IDisposable, IProjectService {\r
-\r
-    /**\r
-     * A key for storing an ISymbolManager in an IHintContext. This is used with\r
-     * {@link IProject}.\r
-     */\r
-    Key KEY_SYMBOL_MANAGER = new KeyOf(ISymbolManager.class);\r
-\r
-    /**\r
-     * A key for storing a collection of {@link ISymbolGroup} instances in a\r
-     * IHintContext. This is used with IProject. Its value is managed by an\r
-     * ISymbolManager.\r
-     */\r
-    Key KEY_SYMBOL_GROUPS = new KeyOf(Collection.class, "SYMBOL_GROUPS");\r
-\r
-    void addEntryPoints(Collection<ISymbolGroup> eps);\r
-\r
-    void removeEntryPoints(Collection<ISymbolGroup> eps);\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.diagram.symbollibrary;
+
+import java.util.Collection;
+
+import org.simantics.project.IProject;
+import org.simantics.project.IProjectService;
+import org.simantics.utils.datastructures.disposable.IDisposable;
+import org.simantics.utils.datastructures.hints.IHintContext.Key;
+import org.simantics.utils.datastructures.hints.IHintContext.KeyOf;
+
+public interface ISymbolManager extends IDisposable, IProjectService {
+
+    /**
+     * A key for storing an ISymbolManager in an IHintContext. This is used with
+     * {@link IProject}.
+     */
+    Key KEY_SYMBOL_MANAGER = new KeyOf(ISymbolManager.class);
+
+    /**
+     * A key for storing a collection of {@link ISymbolGroup} instances in a
+     * IHintContext. This is used with IProject. Its value is managed by an
+     * ISymbolManager.
+     */
+    Key KEY_SYMBOL_GROUPS = new KeyOf(Collection.class, "SYMBOL_GROUPS");
+
+    void addEntryPoints(Collection<ISymbolGroup> eps);
+
+    void removeEntryPoints(Collection<ISymbolGroup> eps);
+
+}