| /***************************************************************************** |
| * Copyright (c) 2015 CEA LIST 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: |
| * CEA LIST - Initial API and implementation |
| * |
| *****************************************************************************/ |
| |
| package org.eclipse.papyrus.moka.service; |
| |
| import org.eclipse.debug.core.ILaunch; |
| import org.eclipse.emf.ecore.EObject; |
| |
| public interface IMokaService { |
| |
| // Let any service know the model on which the current execution is focused |
| // Users are not intended to call directly this operation. It is automatically |
| // called as soon as the execution begin |
| public void init(ILaunch launcher, EObject modelElement); |
| |
| // Let any service release all its resources when the execution terminates |
| // Users are not intended to call directly this operation. It is automatically |
| // called as soon as the execution terminates |
| public void dispose(); |
| } |