1 /*******************************************************************************
\r
2 * Copyright (c) 2007, 2010 Association for Decentralized Information Management
\r
3 * in Industry THTH ry.
\r
4 * All rights reserved. This program and the accompanying materials
\r
5 * are made available under the terms of the Eclipse Public License v1.0
\r
6 * which accompanies this distribution, and is available at
\r
7 * http://www.eclipse.org/legal/epl-v10.html
\r
10 * VTT Technical Research Centre of Finland - initial API and implementation
\r
11 *******************************************************************************/
\r
12 package org.simantics.simulation.model;
\r
16 * {@link IModel#loadExperiment(org.simantics.db.ReadGraph, org.simantics.db.Resource, org.simantics.simulation.project.IExperimentActivationListener)}
\r
17 * to indicate that experiment activation has been cancelled in a controlled
\r
18 * manner and that no errors should be issued to the user.
\r
21 * It is possible to provide a {@link Runnable} action through
\r
22 * {@link #ExperimentLoadingCancelled(String, Runnable)} that will be executed.
\r
24 * @author Tuukka Lehtonen
\r
26 public class ExperimentLoadingCancelled extends ExperimentLoadingFailed {
\r
28 private static final long serialVersionUID = -1465266288034655364L;
\r
30 public ExperimentLoadingCancelled() {
\r
34 public ExperimentLoadingCancelled(String arg0, Throwable arg1) {
\r
38 public ExperimentLoadingCancelled(String arg0) {
\r
42 public ExperimentLoadingCancelled(String arg0, Runnable helperAction) {
\r
43 super(arg0, helperAction);
\r
46 public ExperimentLoadingCancelled(Throwable arg0) {
\r