KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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 package org.eclipse.debug.core.model;
12
13  
14 import org.eclipse.debug.core.DebugException;
15  
16 /**
17  * A register group is a group of registers that are
18  * assigned to a stack frame. Some debug architectures
19  * provide access to registers, and registers are often
20  * grouped logically. For example, a floating point
21  * register group.
22  * <p>
23  * Clients may implement this interface.
24  * </p>
25  * @since 2.0
26  */

27 public interface IRegisterGroup extends IDebugElement {
28     
29
30     /**
31      * Returns the name of this register group.
32      *
33      * @return this register group's name
34      * @exception DebugException if this method fails. Reasons include:
35      * <ul><li>Failure communicating with the debug target. The DebugException's
36      * status code contains the underlying exception responsible for
37      * the failure.</li>
38      */

39     public String JavaDoc getName() throws DebugException;
40     
41     /**
42      * Returns the registers in this register group.
43      *
44      * @return the registers in this register group
45      * @exception DebugException if this method fails. Reasons include:
46      * <ul><li>Failure communicating with the debug target. The DebugException's
47      * status code contains the underlying exception responsible for
48      * the failure.</li>
49      */

50     public IRegister[] getRegisters() throws DebugException;
51     
52     /**
53      * Returns whether this register group currently contains any registers.
54      *
55      * @return whether this register group currently contains any registers
56      * @exception DebugException if this method fails. Reasons include:
57      * <ul><li>Failure communicating with the debug target. The DebugException's
58      * status code contains the underlying exception responsible for
59      * the failure.</li>
60      */

61     public boolean hasRegisters() throws DebugException;
62
63 }
64
65
Popular Tags