X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2FMonitorHandler.java;fp=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2FMonitorHandler.java;h=f5b8a47f06a1a561a7961bc6ec43485850858b2a;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=3439630e834de6e9442983d563cce3f19c136ea6;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db/src/org/simantics/db/MonitorHandler.java b/bundles/org.simantics.db/src/org/simantics/db/MonitorHandler.java index 3439630e8..f5b8a47f0 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/MonitorHandler.java +++ b/bundles/org.simantics.db/src/org/simantics/db/MonitorHandler.java @@ -1,37 +1,37 @@ -/******************************************************************************* - * 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.db; - -import org.simantics.db.service.SessionMonitorSupport; - -/** - * An interface provided by clients to {@link SessionMonitorSupport} to be able - * to receive notifications about changes in {@link Session} state variables. - * - *

- * The handler does not support specific notifications, it is only a general way - * of saying to clients that something has changed. - * - * @see MonitorContext - * @see SessionMonitorSupport - * @see SessionVariables - */ -public interface MonitorHandler { - - /** - * Some variables have changed in the monitored session. - * - * @param c a context that can be used to access the variables - */ - void valuesChanged(MonitorContext c); - -} +/******************************************************************************* + * 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.db; + +import org.simantics.db.service.SessionMonitorSupport; + +/** + * An interface provided by clients to {@link SessionMonitorSupport} to be able + * to receive notifications about changes in {@link Session} state variables. + * + *

+ * The handler does not support specific notifications, it is only a general way + * of saying to clients that something has changed. + * + * @see MonitorContext + * @see SessionMonitorSupport + * @see SessionVariables + */ +public interface MonitorHandler { + + /** + * Some variables have changed in the monitored session. + * + * @param c a context that can be used to access the variables + */ + void valuesChanged(MonitorContext c); + +}