KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > internal > ui > memory > IMemoryRenderingUpdater


1 /*******************************************************************************
2  * Copyright (c) 2005 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.internal.ui.memory;
13
14 import org.eclipse.debug.core.model.IMemoryBlockExtension;
15 import org.eclipse.debug.ui.memory.IMemoryRendering;
16
17
18 /**
19  * Represents an object that will manage the update of an IMemoryRendering
20  * based on connections. If the memory block implements this interface or returns
21  * an object of this type when getAdapter(...) is called, a rendering would
22  * call #supportsManagedUpdate to determine if it should handle and refresh
23  * upon a debug event.
24  *
25  * If the client wants to manage its own update, it would return true when
26  * #supportsManagedUpdate is called. The rendering will not get refreshed
27  * upon any debug events. Instead, the rendering will update when
28  * <code>IMemoryBlockConnection.update</code> is called.
29  *
30  * This interface is EXPERIMENTAL.
31  *
32  */

33 public interface IMemoryRenderingUpdater extends IMemoryBlockExtension {
34     
35     /**
36      * @return true if the updater will manage the update of a rendering
37      */

38     public boolean supportsManagedUpdate(IMemoryRendering rendering);
39
40 }
41
Popular Tags