blob: 0f4eb4d4f77e3a76c30321d8f9328f22fbe99d78 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011-2013 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:
* Johannes Faltermeier - initial API and implementation
******************************************************************************/
package org.eclipse.emf.ecp.ui.tester;
import org.eclipse.emf.ecp.core.ECPProject;
import org.eclipse.emf.ecp.core.util.observer.ECPObserver;
/**
* Listener for changing the enablement of the save button.
*
* @author jfaltermeier
*
*/
public interface SaveButtonEnablementObserver extends ECPObserver {
/**
* Notify the listener to change the state of the save button.
*
* @param currentProject the project associated with the save button
* @param enableSaveButton whether to enable or disable the save button
*/
void notifyChangeButtonState(ECPProject currentProject, boolean enableSaveButton);
}