X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.layer0.utils%2Fsrc%2Forg%2Fsimantics%2Flayer0%2Futils%2Ftriggers%2FIActivation.java;h=5e87f56e8439c73b7f0e2a54f438d490c7e123e0;hp=e05392980473c1e8fc1d9e508ebd3edd3f688ee7;hb=refs%2Fchanges%2F38%2F238%2F2;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/triggers/IActivation.java b/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/triggers/IActivation.java index e05392980..5e87f56e8 100644 --- a/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/triggers/IActivation.java +++ b/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/triggers/IActivation.java @@ -1,27 +1,27 @@ -/******************************************************************************* - * 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; - -/** - * Token for trigger activation. Trigger is listened - * so long as there are one or more activations on it. - */ -public interface IActivation { - /** - * Disposes this activation. If the triggers referred - * by this activation do not contain more activations, - * they are stopped. - */ - void deactivate(); - - void runOnceAndDeactivate(); -} +/******************************************************************************* + * 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; + +/** + * Token for trigger activation. Trigger is listened + * so long as there are one or more activations on it. + */ +public interface IActivation { + /** + * Disposes this activation. If the triggers referred + * by this activation do not contain more activations, + * they are stopped. + */ + void deactivate(); + + void runOnceAndDeactivate(); +}