| /******************************************************************************* |
| * Copyright (c) 2013 CEA LIST. |
| * 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: |
| * Cedric Dumoulin - cedric.dumoulin@lifl.fr |
| ******************************************************************************/ |
| package org.eclipse.papyrus.layers.runtime; |
| |
| import org.eclipse.emf.common.notify.Notification; |
| import org.eclipse.papyrus.layers.runtime.utils.TriggeredEventTraces; |
| |
| |
| /** |
| * A listener on {@link NotationDiagramRemovedFromResourceEventNotifier}. This listener trace events from |
| * the notifier. |
| * |
| * @author cedric dumoulin |
| * |
| */ |
| public class TraceNotationDiagramRemovedFromResourceEventListener implements INotationDiagramRemovedEventListener { |
| |
| public TriggeredEventTraces traces = new TriggeredEventTraces(); |
| |
| |
| @Override |
| public void diagramRemoved(Notification msg) { |
| traces.addTrace("diagramRemoved", msg); |
| |
| } |
| |
| } |