]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.simulation/src/org/simantics/simulation/project/IExperimentActivationListener.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.simulation / src / org / simantics / simulation / project / IExperimentActivationListener.java
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
8  *\r
9  * Contributors:\r
10  *     VTT Technical Research Centre of Finland - initial API and implementation\r
11  *******************************************************************************/\r
12 package org.simantics.simulation.project;\r
13 \r
14 import org.eclipse.core.runtime.IProgressMonitor;\r
15 import org.eclipse.core.runtime.IStatus;\r
16 import org.simantics.simulation.experiment.IExperiment;\r
17 \r
18 public interface IExperimentActivationListener {\r
19 \r
20     /**\r
21      * Called if the experiment activation produces messages that need to be\r
22      * logged.\r
23      */\r
24     void onMessage(IStatus message);\r
25 \r
26     void onExperimentActivated(IExperiment experiment);\r
27 \r
28     void onFailure(Throwable e);\r
29 \r
30     IProgressMonitor getProgressMonitor();\r
31 \r
32 }\r