| /******************************************************************************* |
| * 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 v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Eike Stepper - initial API and implementation |
| * Edgar Mueller - change to IECPObserver |
| * Eugen Neufeld - JavaDoc |
| * |
| *******************************************************************************/ |
| package org.eclipse.emf.ecp.core.util.observer; |
| |
| import org.eclipse.emf.ecp.core.ECPProvider; |
| |
| /** |
| * This Observer is called to notify listeners about changes of providers. |
| * |
| * @author Eike Stepper |
| * @author Edgar Mueller |
| * @author Eugen Neufeld |
| * |
| */ |
| public interface IECPProvidersChangedObserver extends IECPObserver { |
| |
| /** |
| * This is called to indicate, that providers changed. Either a provider was added or removed. |
| * |
| * @param oldProviders provider before change |
| * @param newProviders providers after change |
| * @throws Exception thrown when something unexpected happens |
| */ |
| void providersChanged(ECPProvider[] oldProviders, ECPProvider[] newProviders) throws Exception; |
| |
| } |