sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool/src/com/nokia/s60tools/analyzetool/engine/IMemoryActivityModelChangeListener.java
author Matti Laitinen <matti.t.laitinen@nokia.com>
Tue, 24 Aug 2010 12:16:27 +0300
changeset 15 0367d2db2c06
parent 6 f65f740e69f9
permissions -rw-r--r--
AnalyzeTool Carbide extension 1.10.0

/*
 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
 * which accompanies this distribution, and is available
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
 *
 * Initial Contributors:
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
 *
 * Description:  Definitions for the class IMemoryActivityModelChangeListener
 *
 */
package com.nokia.s60tools.analyzetool.engine;

import com.nokia.s60tools.analyzetool.engine.statistic.ProcessInfo;

/**
 * 
 * A change listener for {@link IMemoryActivityModel}
 */
public interface IMemoryActivityModelChangeListener {

	/**
	 * callback when data has been added to the model and is ready to be used
	 */
	public void onProcessesAdded();

	/**
	 * callback when a process has been selected
	 * 
	 * @param processId
	 *            The ProcessInfo of the newly selected process
	 */
	public void onProcessSelected(ProcessInfo processId);
}