blob: 70a7a63f0fa05d735e8fbb7397e0edeb5c900c64 [file] [log] [blame]
/*******************************************************************************
* Copyright 2011 Chair for Applied Software Engineering,
* Technische Universitaet Muenchen.
* All rights reserved. This program and the accompanying materials
* are made available under the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
******************************************************************************/
package org.eclipse.emf.emfstore.server.eventmanager;
import org.eclipse.emf.emfstore.server.model.versioning.events.server.ServerEvent;
/**
* Interface in order to listen to the {@link EventManager}.
*
* @author wesendon
*/
public interface EMFStoreEventListener {
/**
* Called if an event has occured.
*
* @param event the event
* @return true if listener wants to stay registered. false if wants to be unregisterd
*/
boolean handleEvent(ServerEvent event);
}