X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.diagram%2Fsrc%2Forg%2Fsimantics%2Fdiagram%2Fsymbolcontribution%2FSymbolContributionFilter.java;h=e8b3d848cdfa877356b24aab435131f5e475690c;hb=e3f46ffc9d4a6930adc83ebb8e6730f19708cc94;hp=ad727fae90eb82c9e28a19aa19d7c45835ed6aa7;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/symbolcontribution/SymbolContributionFilter.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/symbolcontribution/SymbolContributionFilter.java index ad727fae9..e8b3d848c 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/symbolcontribution/SymbolContributionFilter.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/symbolcontribution/SymbolContributionFilter.java @@ -1,28 +1,28 @@ -/******************************************************************************* - * Copyright (c) 2013 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: - * Semantum Oy - initial API and implementation - *******************************************************************************/ -package org.simantics.diagram.symbolcontribution; - -import org.simantics.db.ReadGraph; -import org.simantics.db.Resource; -import org.simantics.db.exception.DatabaseException; - -/** - * @author Tuukka Lehtonen - */ -public interface SymbolContributionFilter { - - /* - * Diagram may also be null - */ - boolean accept(ReadGraph graph, Resource contribution, Resource filter, Resource diagram) throws DatabaseException; - -} +/******************************************************************************* + * Copyright (c) 2013 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: + * Semantum Oy - initial API and implementation + *******************************************************************************/ +package org.simantics.diagram.symbolcontribution; + +import org.simantics.db.ReadGraph; +import org.simantics.db.Resource; +import org.simantics.db.exception.DatabaseException; + +/** + * @author Tuukka Lehtonen + */ +public interface SymbolContributionFilter { + + /* + * Diagram may also be null + */ + boolean accept(ReadGraph graph, Resource contribution, Resource filter, Resource diagram) throws DatabaseException; + +}