Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4e4f0093aaac48150a869496be86c6e7c8da0225 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*******************************************************************************
 * Copyright (c) 2005 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

package org.eclipse.debug.internal.ui.memory;

import org.eclipse.debug.core.model.IMemoryBlockExtension;
import org.eclipse.debug.ui.memory.IMemoryRendering;


/**
 * Represents an object that will manage the update of an IMemoryRendering
 * based on connections.  If the memory block implements this interface or returns
 * an object of this type when getAdapter(...) is called, a rendering would
 * call #supportsManagedUpdate to determine if it should handle and refresh
 * upon a debug event.
 *
 * If the client wants to manage its own update, it would return true when
 * #supportsManagedUpdate is called.  The rendering will not get refreshed
 * upon any debug events.  Instead, the rendering will update when
 * <code>IMemoryBlockConnection.update</code> is called.
 *
 * This interface is EXPERIMENTAL.
 *
 */
public interface IMemoryRenderingUpdater extends IMemoryBlockExtension {

	/**
	 * @return true if the updater will manage the update of a rendering
	 */
	boolean supportsManagedUpdate(IMemoryRendering rendering);

}

Back to the top