KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > core > model > IMemoryBlockRetrievalExtension


1 /*******************************************************************************
2  * Copyright (c) 2004, 2006 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.core.model;
13
14 import org.eclipse.debug.core.DebugException;
15
16
17 /**
18  * Extended capabilities for memory block retrieval. Supports the retrieval
19  * of memory blocks based on an expression and context.
20  *
21  * @since 3.1
22  */

23 public interface IMemoryBlockRetrievalExtension extends IMemoryBlockRetrieval {
24     
25     /**
26      * Retrieves and returns a memory block.
27      *
28      * @param expression expression to be evaluated to an address
29      * @param context context for evaluating the expression. This is typically
30      * a debug element.
31      * @return a memory block based on the given expression and context
32      * @throws DebugException if unable to retrieve the specified memory
33      */

34     
35     public IMemoryBlockExtension getExtendedMemoryBlock(String JavaDoc expression, Object JavaDoc context) throws DebugException;
36 }
37
Popular Tags