KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.debug.internal.core.memory;
13
14 import org.eclipse.debug.core.model.IMemoryBlock;
15
16 /**
17  * Listener for add memory / remove memory events.
18  * Implementer should add itself to IMemoryBlockManager to
19  * be notified of these events.
20  * @since 3.0
21  */

22 public interface IMemoryBlockListener {
23     
24     /**
25      * Called when a memory block is added.
26      * @param memory
27      */

28     void MemoryBlockAdded(IMemoryBlock memory);
29
30     /**
31      * Called when a memory block is removed.
32      * @param memory
33      */

34     void MemoryBlockRemoved(IMemoryBlock memory);
35     
36 }
37
Popular Tags