X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=inline;f=bundles%2Forg.simantics.simulation%2Fsrc%2Forg%2Fsimantics%2Fsimulation%2Fmodel%2FExperimentLoadingCancelled.java;h=c24fb6e2a7a1b06022a3c1f0c96dd2470e55c588;hb=b4ad5dec5012b96765e6bb85f990500d2b376a96;hp=31166477e76df175fa27ca418382f4de399fc122;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.simulation/src/org/simantics/simulation/model/ExperimentLoadingCancelled.java b/bundles/org.simantics.simulation/src/org/simantics/simulation/model/ExperimentLoadingCancelled.java index 31166477e..c24fb6e2a 100644 --- a/bundles/org.simantics.simulation/src/org/simantics/simulation/model/ExperimentLoadingCancelled.java +++ b/bundles/org.simantics.simulation/src/org/simantics/simulation/model/ExperimentLoadingCancelled.java @@ -1,50 +1,50 @@ -/******************************************************************************* - * 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.simulation.model; - -/** - * Used in - * {@link IModel#loadExperiment(org.simantics.db.ReadGraph, org.simantics.db.Resource, org.simantics.simulation.project.IExperimentActivationListener)} - * to indicate that experiment activation has been cancelled in a controlled - * manner and that no errors should be issued to the user. - * - *
- * It is possible to provide a {@link Runnable} action through - * {@link #ExperimentLoadingCancelled(String, Runnable)} that will be executed. - * - * @author Tuukka Lehtonen - */ -public class ExperimentLoadingCancelled extends ExperimentLoadingFailed { - - private static final long serialVersionUID = -1465266288034655364L; - - public ExperimentLoadingCancelled() { - super(); - } - - public ExperimentLoadingCancelled(String arg0, Throwable arg1) { - super(arg0, arg1); - } - - public ExperimentLoadingCancelled(String arg0) { - super(arg0); - } - - public ExperimentLoadingCancelled(String arg0, Runnable helperAction) { - super(arg0, helperAction); - } - - public ExperimentLoadingCancelled(Throwable arg0) { - super(arg0); - } - -} +/******************************************************************************* + * 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.simulation.model; + +/** + * Used in + * {@link IModel#loadExperiment(org.simantics.db.ReadGraph, org.simantics.db.Resource, org.simantics.simulation.project.IExperimentActivationListener)} + * to indicate that experiment activation has been cancelled in a controlled + * manner and that no errors should be issued to the user. + * + *
+ * It is possible to provide a {@link Runnable} action through + * {@link #ExperimentLoadingCancelled(String, Runnable)} that will be executed. + * + * @author Tuukka Lehtonen + */ +public class ExperimentLoadingCancelled extends ExperimentLoadingFailed { + + private static final long serialVersionUID = -1465266288034655364L; + + public ExperimentLoadingCancelled() { + super(); + } + + public ExperimentLoadingCancelled(String arg0, Throwable arg1) { + super(arg0, arg1); + } + + public ExperimentLoadingCancelled(String arg0) { + super(arg0); + } + + public ExperimentLoadingCancelled(String arg0, Runnable helperAction) { + super(arg0, helperAction); + } + + public ExperimentLoadingCancelled(Throwable arg0) { + super(arg0); + } + +}