| /** |
| * <copyright> |
| * |
| * Copyright (c) 2015 itemis and others. |
| * 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: |
| * itemis - Initial API and implementation |
| * |
| * </copyright> |
| */ |
| package org.eclipse.sphinx.emf.mwe.dynamic; |
| |
| import org.eclipse.emf.mwe2.runtime.workflow.IWorkflow; |
| import org.eclipse.emf.mwe2.runtime.workflow.IWorkflowContext; |
| |
| public interface IWorkflowHandler { |
| |
| /** |
| * Called before run begin. |
| */ |
| void preRun(IWorkflow workflow, IWorkflowContext context); |
| |
| /** |
| * Called after run is done. |
| */ |
| void postRun(IWorkflow workflow, IWorkflowContext context); |
| } |