X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.issues.common%2Fsrc%2Forg%2Fsimantics%2Fissues%2Fcommon%2FBatchIssueSource.java;h=89748cceb3e7d7cbf62225a95b7fba4124fd124d;hb=HEAD;hp=a6284fe5c459c2e3aa8e33292bdb8a5d28035c33;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.issues.common/src/org/simantics/issues/common/BatchIssueSource.java b/bundles/org.simantics.issues.common/src/org/simantics/issues/common/BatchIssueSource.java index a6284fe5c..89748cceb 100644 --- a/bundles/org.simantics.issues.common/src/org/simantics/issues/common/BatchIssueSource.java +++ b/bundles/org.simantics.issues.common/src/org/simantics/issues/common/BatchIssueSource.java @@ -1,38 +1,38 @@ -/******************************************************************************* - * 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.issues.common; - -import java.util.Map; -import java.util.Set; - -import org.eclipse.core.runtime.IProgressMonitor; -import org.simantics.db.Issue; -import org.simantics.db.ReadGraph; -import org.simantics.db.Resource; -import org.simantics.db.exception.DatabaseException; - -/** - * @author Tuukka Lehtonen - * @author Antti Villberg - */ -public interface BatchIssueSource { - - /** - * @param graph - * @param procedure - * @throws DatabaseException - */ - Map> run(IProgressMonitor monitor, ReadGraph graph, BatchIssueValidationContext context) throws DatabaseException; - - Resource getResource(); - -} +/******************************************************************************* + * 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.issues.common; + +import java.util.Map; +import java.util.Set; + +import org.eclipse.core.runtime.IProgressMonitor; +import org.simantics.db.Issue; +import org.simantics.db.ReadGraph; +import org.simantics.db.Resource; +import org.simantics.db.exception.DatabaseException; + +/** + * @author Tuukka Lehtonen + * @author Antti Villberg + */ +public interface BatchIssueSource { + + /** + * @param graph + * @param procedure + * @throws DatabaseException + */ + Map> run(IProgressMonitor monitor, ReadGraph graph, BatchIssueValidationContext context) throws DatabaseException; + + Resource getResource(); + +}