KickJava   Java API By Example, From Geeks To Geeks.

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


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
15
16
17 /**
18  * Rendering listeners listen for add/removal events from IMemoryRenderingManager.
19  * Implementors should add itself to IMemoryRenderingManager
20  * @since 3.0
21  */

22 public interface IMemoryRenderingListener
23 {
24     /**
25      * This function is called when a new rendering is added.
26      * @param memory
27      * @param renderingId
28      */

29     void MemoryBlockRenderingAdded(IMemoryRendering rendering);
30
31     /**
32      * Fired when a memory rendering is removed.
33      * @param memory
34      */

35     void MemoryBlockRenderingRemoved(IMemoryRendering rendering);
36 }
37
Popular Tags