package kiyut.sketsa.api.symbollibrary;

import org.openide.util.Lookup;

/** If an instance of this class is in the Lookup
 * then the SymbolLibrary window opens.
 *
 * @author Kiyut
 */
public interface SymbolLibrary {

    /** Add Symbols to library
     * @param symbolLibrary SymbolLibrary
     */
    public void addSymbol(Symbol symbol);
    
    /** Remove the specifed symbol from the library
     * @param symbol the Symbol to be removed
     * @return true if success, otherwise false
     */
    public boolean removeSymbol(Symbol symbol);
    
}
