blob: b94877d671bf0e2d0a3b5b3eb4cb697d6cbe83dd [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2005 IBM Corporation 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:
* IBM Corporation - Initial API and implementation
*******************************************************************************/
package org.eclipse.wst.internet.monitor.core.internal.provisional;
/**
* Listener for global changes affecting monitors.
* <p>
* Clients should implement this interface and register
* their listener via {@link MonitorCore#addMonitorListener(IMonitorListener)}.
* </p>
*
* @plannedfor 1.0
*/
public interface IMonitorListener {
/**
* Notification that the given monitor has been created (added to the
* global list of known monitors).
*
* @param monitor the newly-created monitor
*/
public void monitorAdded(IMonitor monitor);
/**
* Notification that the given monitor has been changed.
* Note that the monitor is never a working copy.
*
* @param monitor the monitor that has been changed
*/
public void monitorChanged(IMonitor monitor);
/**
* Notification that the given monitor has been deleted (removed
* from the global list of known monitors).
*
* @param monitor the monitor that has been deleted
*/
public void monitorRemoved(IMonitor monitor);
}