KickJava   Java API By Example, From Geeks To Geeks.

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


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 import org.eclipse.debug.core.DebugException;
15 import org.eclipse.debug.core.model.IDebugElement;
16 import org.eclipse.debug.core.model.IMemoryBlockRetrieval;
17
18
19 /**
20  * Extended capabilites for memory block retrieval.
21  * @since 3.0
22  */

23 public interface IExtendedMemoryBlockRetrieval extends IMemoryBlockRetrieval {
24     
25     /**
26      * Retrieves a memory block.
27      *
28      * @param expression - expression to be evalutated to an address, evaluation context can be retrieved
29      * from the selected debug element
30      * @param selected - selected debug element from Debug View
31      * @return
32      * @throws DebugException
33      */

34     
35     public IExtendedMemoryBlock getExtendedMemoryBlock(String JavaDoc expression, IDebugElement selected) throws DebugException;
36
37     /**
38      * @return the string to be used in place of this memory content when bytes
39      * are not available.
40      * Return null if the byte is available.
41      */

42     public String JavaDoc getPaddedString();
43
44 }
45
Popular Tags