diff options
Diffstat (limited to 'autotools/org.eclipse.linuxtools.cdt.autotools/src/org/eclipse/linuxtools/cdt/autotools/ui/properties/IPropertyChangeManager.java')
-rw-r--r-- | autotools/org.eclipse.linuxtools.cdt.autotools/src/org/eclipse/linuxtools/cdt/autotools/ui/properties/IPropertyChangeManager.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/autotools/org.eclipse.linuxtools.cdt.autotools/src/org/eclipse/linuxtools/cdt/autotools/ui/properties/IPropertyChangeManager.java b/autotools/org.eclipse.linuxtools.cdt.autotools/src/org/eclipse/linuxtools/cdt/autotools/ui/properties/IPropertyChangeManager.java new file mode 100644 index 0000000000..65b4fada2d --- /dev/null +++ b/autotools/org.eclipse.linuxtools.cdt.autotools/src/org/eclipse/linuxtools/cdt/autotools/ui/properties/IPropertyChangeManager.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2007 Red Hat Inc. + * 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: + * Red Hat Inc. - initial API and implementation + *******************************************************************************/ +package org.eclipse.linuxtools.cdt.autotools.ui.properties; + +import org.eclipse.core.resources.IProject; + +public interface IPropertyChangeManager { + + /** + * Add a project property listener for given project. + * + * @param project the project to which the listener is interested + * @param listener the listener to notify + */ + void addProjectPropertyListener(IProject project, IProjectPropertyListener listener); + + /** + * Remove a project property listener. + * + * @param listener the listener to remove + */ + void removeProjectPropertyListener(IProject project, IProjectPropertyListener listener); + + /** + * Notify all listeners of project that a property has changed. + * + * @param project the project for which the property has changed + * @param property the property that has changed + */ + void notifyPropertyListeners(IProject project, String property); + +} |