diff options
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/provisional/IRepositionableMemoryRendering2.java')
-rw-r--r-- | debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/provisional/IRepositionableMemoryRendering2.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/provisional/IRepositionableMemoryRendering2.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/provisional/IRepositionableMemoryRendering2.java new file mode 100644 index 00000000000..5e70df39868 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/provisional/IRepositionableMemoryRendering2.java @@ -0,0 +1,39 @@ +/******************************************************************************* + * Copyright (c) 2010 Freescale Semiconductor 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: + * Freescale Semiconductor - Initial API + *******************************************************************************/ +package org.eclipse.cdt.debug.ui.provisional; + +import java.math.BigInteger; + +import org.eclipse.debug.core.DebugException; +import org.eclipse.debug.ui.memory.IRepositionableMemoryRendering; + +/** + * An extension to the platform's repositionable rendering interface. + */ +public interface IRepositionableMemoryRendering2 extends IRepositionableMemoryRendering { + + /** + * Position the rendering to the given address. + * + * @param address + * the address to go to + * @param expression + * if the goto address originated as an expression, then this is + * that expression. Null if n/a. <i>This is for informational + * purposes only</i>. Implementation should behave just as if + * {@link IRepositionableMemoryRendering#goToAddress(BigInteger)} + * had been called .</b> + * @throws DebugException + * when there is a problem repositioning the rendering to the + * address + */ + public abstract void goToAddress(BigInteger address, String expression) throws DebugException; +} |