X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fservice%2FGraphChangeListenerSupport.java;h=11e4157d1080ce6ab036355ec4e298666249d2f8;hp=a4c63cb8401e334ff175c572fd00c328b5a77ffc;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.db/src/org/simantics/db/service/GraphChangeListenerSupport.java b/bundles/org.simantics.db/src/org/simantics/db/service/GraphChangeListenerSupport.java index a4c63cb84..11e4157d1 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/service/GraphChangeListenerSupport.java +++ b/bundles/org.simantics.db/src/org/simantics/db/service/GraphChangeListenerSupport.java @@ -1,32 +1,32 @@ -/******************************************************************************* - * 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.service; - -import org.simantics.db.Session; -import org.simantics.db.event.ChangeListener; - -/** - * A listener added to a Session for receiving notifications for completed - * write transactions. - * - * @see GraphChangeEvent - * @see Session - */ -public interface GraphChangeListenerSupport { - - void addListener(ChangeListener l); - void removeListener(ChangeListener l); - - void addMetadataListener(ChangeListener l); - void removeMetadataListener(ChangeListener l); - -} +/******************************************************************************* + * 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.service; + +import org.simantics.db.Session; +import org.simantics.db.event.ChangeListener; + +/** + * A listener added to a Session for receiving notifications for completed + * write transactions. + * + * @see GraphChangeEvent + * @see Session + */ +public interface GraphChangeListenerSupport { + + void addListener(ChangeListener l); + void removeListener(ChangeListener l); + + void addMetadataListener(ChangeListener l); + void removeMetadataListener(ChangeListener l); + +}