X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.diagram%2Fsrc%2Forg%2Fsimantics%2Fdiagram%2Fsymbollibrary%2FISymbolManager.java;h=5a0ee2bb42a52b1fc84d68112d0691acbeff0e16;hb=86617be247efb3b904b3180d0569049aff232d75;hp=a21872959db4962e6298fc2be25275d78ff1faba;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/symbollibrary/ISymbolManager.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/symbollibrary/ISymbolManager.java index a21872959..5a0ee2bb4 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/symbollibrary/ISymbolManager.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/symbollibrary/ISymbolManager.java @@ -1,41 +1,41 @@ -/******************************************************************************* - * 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 eps); - - void removeEntryPoints(Collection eps); - -} +/******************************************************************************* + * 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 eps); + + void removeEntryPoints(Collection eps); + +}