Skip to content

Package: ECPProjectOpenClosedObserver

ECPProjectOpenClosedObserver

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2013 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Eugen Neufeld - initial API and implementation
13: *
14: *******************************************************************************/
15: package org.eclipse.emf.ecp.core.util.observer;
16:
17: import org.eclipse.emf.ecp.core.ECPProject;
18:
19: /**
20: * This Observer is notified when a project is closed or opened.
21: *
22: * @author Eugen Neufeld
23: *
24: */
25: public interface ECPProjectOpenClosedObserver extends ECPObserver {
26:         /**
27:          * This is called when a project is opened or closed.
28:          *
29:          * @param project the {@link ECPProject} that changed
30:          * @param opened whether it was opened or closed
31:          */
32:         void projectChanged(ECPProject project, boolean opened);
33: }