+/*******************************************************************************\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