/********************************************************************** * Copyright (c) 2003 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html  * * Contributors: * IBM - Initial API and implementation **********************************************************************/ package net.sourceforge.phpdt.monitor.ui.internal; import net.sourceforge.phpdt.monitor.core.IRequest; import net.sourceforge.phpdt.monitor.core.IRequestListener; import net.sourceforge.phpdt.monitor.ui.internal.view.MonitorView; /** * Open the monitor view if there is new activity. */ public class RequestListener implements IRequestListener { public void requestAdded(IRequest rr) { if (MonitorUIPlugin.getShowOnActivityPreference()) { MonitorView.open(rr); } } public void requestChanged(IRequest rr) { } public void requestRemoved(IRequest rr) { } }