1 /*******************************************************************************
2 * Copyright (c) 2007 VTT Technical Research Centre of Finland and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * VTT Technical Research Centre of Finland - initial API and implementation
10 *******************************************************************************/
11 package org.simantics.maps.query;
14 * @author Tuukka Lehtonen
19 public interface IQueryListener<S, R> {
21 void queryComplete(Query<S, R> job, R result);
23 void queryFailed(Query<S, R> job, Exception error);
25 void queryCanceled(Query<S, R> job);