X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.diagram%2Fsrc%2Forg%2Fsimantics%2Fdiagram%2Fadapter%2FDisposableListenerAdapter.java;h=00c3f54f8b2cb9056f02fc17fccbff3a7ea7642a;hb=d11fef0101853949671492de5b49ea94892ced78;hp=ded62db359e50e6227702e49e62199c67c4d5349;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/DisposableListenerAdapter.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/DisposableListenerAdapter.java index ded62db35..00c3f54f8 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/DisposableListenerAdapter.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/DisposableListenerAdapter.java @@ -1,48 +1,48 @@ -/******************************************************************************* - * 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.diagram.adapter; - -import org.simantics.db.common.procedure.adapter.ListenerSupport; - -/** - * @author Antti Villberg - * - * @param - */ -public class DisposableListenerAdapter extends DisposableListener { - - private static final ListenerSupport DEFAULT = new ListenerSupport() { - - @Override - public boolean isDisposed() { - return false; - } - - @Override - public void exception(Throwable t) { - } - - }; - - public DisposableListenerAdapter(ListenerSupport support) { - super(support); - } - - public DisposableListenerAdapter() { - super(DEFAULT); - } - - @Override - public void execute(T result) { - } - +/******************************************************************************* + * 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.diagram.adapter; + +import org.simantics.db.common.procedure.adapter.ListenerSupport; + +/** + * @author Antti Villberg + * + * @param + */ +public class DisposableListenerAdapter extends DisposableListener { + + private static final ListenerSupport DEFAULT = new ListenerSupport() { + + @Override + public boolean isDisposed() { + return false; + } + + @Override + public void exception(Throwable t) { + } + + }; + + public DisposableListenerAdapter(ListenerSupport support) { + super(support); + } + + public DisposableListenerAdapter() { + super(DEFAULT); + } + + @Override + public void execute(T result) { + } + } \ No newline at end of file