X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.common%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fcommon%2Fprocedure%2Fsingle%2FSingleSetAsyncListenerDelegate.java;h=aaf70425fd6ca1c466e912881ebe98a009b3f270;hb=ad864a5ed509612375e2a904422e18287dfd5cc5;hp=3dae7de5e375ffe4ed5c318333ba7e63b3278da6;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.common/src/org/simantics/db/common/procedure/single/SingleSetAsyncListenerDelegate.java b/bundles/org.simantics.db.common/src/org/simantics/db/common/procedure/single/SingleSetAsyncListenerDelegate.java index 3dae7de5e..aaf70425f 100644 --- a/bundles/org.simantics.db.common/src/org/simantics/db/common/procedure/single/SingleSetAsyncListenerDelegate.java +++ b/bundles/org.simantics.db.common/src/org/simantics/db/common/procedure/single/SingleSetAsyncListenerDelegate.java @@ -1,35 +1,35 @@ -/******************************************************************************* - * 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.common.procedure.single; - -import org.simantics.db.AsyncReadGraph; -import org.simantics.db.common.procedure.adapter.AsyncListenerSupport; - -abstract public class SingleSetAsyncListenerDelegate extends SingleSetAsyncListener { - - final private AsyncListenerSupport support; - - public SingleSetAsyncListenerDelegate(AsyncListenerSupport support) { - this.support = support; - } - - @Override - final public void exception(AsyncReadGraph graph, Throwable throwable) { - support.exception(graph, throwable); - } - - @Override - final public boolean isDisposed() { - return support.isDisposed(); - } - -} +/******************************************************************************* + * 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.common.procedure.single; + +import org.simantics.db.AsyncReadGraph; +import org.simantics.db.common.procedure.adapter.AsyncListenerSupport; + +abstract public class SingleSetAsyncListenerDelegate extends SingleSetAsyncListener { + + final private AsyncListenerSupport support; + + public SingleSetAsyncListenerDelegate(AsyncListenerSupport support) { + this.support = support; + } + + @Override + final public void exception(AsyncReadGraph graph, Throwable throwable) { + support.exception(graph, throwable); + } + + @Override + final public boolean isDisposed() { + return support.isDisposed(); + } + +}