| /***************************************************************************** |
| * |
| * Copyright (c) 2016 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: |
| * CEA LIST Initial API and implementation |
| * |
| *****************************************************************************/ |
| package org.eclipse.papyrus.moka.discreteevent.actions; |
| |
| import org.eclipse.papyrus.moka.discreteevent.Event; |
| |
| public abstract class Action { |
| |
| protected Event event ; |
| |
| public Event getEvent() { |
| return event; |
| } |
| |
| public void setEvent(Event event) { |
| this.event = event; |
| } |
| |
| public abstract void execute() ; |
| } |