X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.layer0.utils%2Fsrc%2Forg%2Fsimantics%2Flayer0%2Futils%2Ftriggers%2FITrigger.java;h=1bb6d20de172b7c2b59ea3fb7eba2e445aa0e82f;hb=aaa0aa90d9fdfc8350e36da4e0629c3f5916f68c;hp=d6a08ac94e050de91791c0667f20fa5cb0661819;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/triggers/ITrigger.java b/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/triggers/ITrigger.java index d6a08ac94..1bb6d20de 100644 --- a/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/triggers/ITrigger.java +++ b/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/triggers/ITrigger.java @@ -1,26 +1,26 @@ -/******************************************************************************* - * 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.layer0.utils.triggers; - -import org.simantics.db.request.Read; - - -/** - * A trigger creates a graph modification, when some condition in the - * graph is satisfied. It may assume that the graph is not modified - * between returning the Modification and performing it. - * Thus Modification that is executed should always be (re)queried in - * write transaction. - */ -public interface ITrigger extends Read { - -} +/******************************************************************************* + * 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.layer0.utils.triggers; + +import org.simantics.db.request.Read; + + +/** + * A trigger creates a graph modification, when some condition in the + * graph is satisfied. It may assume that the graph is not modified + * between returning the Modification and performing it. + * Thus Modification that is executed should always be (re)queried in + * write transaction. + */ +public interface ITrigger extends Read { + +}