KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > core > IMemoryBlockListener


1 /*******************************************************************************
2  * Copyright (c) 2004, 2006 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
12 package org.eclipse.debug.core;
13
14 import org.eclipse.debug.core.model.IMemoryBlock;
15
16 /**
17  * A memory block listener is notified of the addition and removal
18  * of memory blocks with the memory block manager. Listeners must
19  * register with the memory block manager for notification.
20  * <p>
21  * Clients may implement this interface.
22  * </p>
23  * @since 3.1
24  */

25 public interface IMemoryBlockListener {
26     
27     /**
28      * Notification the given memory blocks have been added to the
29      * memory block manager.
30      *
31      * @param memory blocks added to the memory block manager
32      */

33     void memoryBlocksAdded(IMemoryBlock[] memory);
34
35     /**
36      * Notification the given memory blocks have been removed from
37      * the memory block manager.
38      *
39      * @param memory blocks removed from the memory block manager
40      */

41     void memoryBlocksRemoved(IMemoryBlock[] memory);
42     
43 }
44
Popular Tags