blob: fa8283c92ce0cb8354b0a390376ad8a69e4c1fae [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011-2012 EclipseSource Muenchen GmbH and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* wesendon - initial API and implementation
*
*******************************************************************************/
package org.eclipse.emf.ecp.internal.core.util.observer;
import org.eclipse.emf.ecp.core.util.observer.ECPObserver;
/**
* An observer with a priority. The higher the number the more important is the observer.
*
* @author wesendon
*/
public interface ECPPrioritizedIObserver extends ECPObserver {
/**
* Returns the priority of this observer. The higher the number returned
* by this method, the more likely it is that this observer is notified before
* others.
*
* @return the priority of this observer
*/
int getPriority();
}