blob: 874a4363696deca08b1371a0497e0d560ddfcc18 [file] [log] [blame]
/*******************************************************************************
* 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
*/
public boolean supportsManagedUpdate(IMemoryRendering rendering);
}