1 /******************************************************************************* 2 * Copyright (c) 2000, 2005 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.update.configuration; 12 13 /** 14 * Local site change listener. 15 * <p> 16 * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to 17 * change significantly before reaching stability. It is being made available at this early stage to solicit feedback 18 * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken 19 * (repeatedly) as the API evolves. 20 * </p> 21 * @since 2.0 22 */ 23 public interface ILocalSiteChangedListener { 24 25 /** 26 * Indicates the current configuration has changed. 27 * 28 * @param configuration the current cunfiguration 29 * @since 2.0 30 * <p> 31 * <b>Note:</b> This method is part of an interim API that is still under development and expected to 32 * change significantly before reaching stability. It is being made available at this early stage to solicit feedback 33 * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken 34 * (repeatedly) as the API evolves. 35 * </p> 36 */ 37 public void currentInstallConfigurationChanged(IInstallConfiguration configuration); 38 39 /** 40 * Indicates the specified configuration was removed. 41 * 42 * @param configuration the configuration 43 * @since 2.0 44 * <p> 45 * <b>Note:</b> This method is part of an interim API that is still under development and expected to 46 * change significantly before reaching stability. It is being made available at this early stage to solicit feedback 47 * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken 48 * (repeatedly) as the API evolves. 49 * </p> 50 */ 51 public void installConfigurationRemoved(IInstallConfiguration configuration); 52 } 53