X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.utils.thread%2Fsrc%2Forg%2Fsimantics%2Futils%2Fthreads%2Fua%2FStateListener.java;h=6fdc213fe6369ea06382d3d8bfe4e54d150e24c4;hp=6484ee3335ada0279097f261af5b8d21f17d28c6;hb=refs%2Fchanges%2F38%2F238%2F2;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.utils.thread/src/org/simantics/utils/threads/ua/StateListener.java b/bundles/org.simantics.utils.thread/src/org/simantics/utils/threads/ua/StateListener.java index 6484ee333..6fdc213fe 100644 --- a/bundles/org.simantics.utils.thread/src/org/simantics/utils/threads/ua/StateListener.java +++ b/bundles/org.simantics.utils.thread/src/org/simantics/utils/threads/ua/StateListener.java @@ -1,31 +1,31 @@ -/******************************************************************************* - * 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.utils.threads.ua; - -/** - * Listener for state changes - * - * @author Toni Kalajainen (toni.kalajainen@vtt.fi) - */ -public interface StateListener { - - /** - * Call-back for state transition - * - * @param sender State monitor object - * @param oldState new state - * @param newState new state - */ - void onStateTransition(IStatefulObject sender, StateType oldState, StateType newState); - -} +/******************************************************************************* + * 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.utils.threads.ua; + +/** + * Listener for state changes + * + * @author Toni Kalajainen (toni.kalajainen@vtt.fi) + */ +public interface StateListener { + + /** + * Call-back for state transition + * + * @param sender State monitor object + * @param oldState new state + * @param newState new state + */ + void onStateTransition(IStatefulObject sender, StateType oldState, StateType newState); + +}