|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A value containing an indexed collection of variables - for example, an array.
The indexed collection value has been added to the debug model to support automatic partitioning of large arrays in the debug UI. Clients are not required to implement this interface for values representing indexed collections, however, doing so will provide enhanced display options in the debug UI.
Clients may implement this interface.
Method Summary | |
int |
getInitialOffset()
Returns the index of the first variable contained in this value. |
int |
getSize()
Returns the number of entries in this indexed collection. |
IVariable |
getVariable(int offset)
Returns the variable at the given offset in this collection. |
IVariable[] |
getVariables(int offset,
int length)
Returns a subset of the elements in this collection of variables as specified by the given offset and length. |
Methods inherited from interface org.eclipse.debug.core.model.IValue |
getReferenceTypeName, getValueString, getVariables, hasVariables, isAllocated |
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
getDebugTarget, getLaunch, getModelIdentifier |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Method Detail |
public IVariable getVariable(int offset) throws DebugException
offset
- zero based offset into this collection
DebugException
- if unable to retrieve the variable at the
given offsetpublic IVariable[] getVariables(int offset, int length) throws DebugException
offset
- beginning offset of the subset of elements to returnlength
- the number of elements to return
DebugException
- if unable to retrieve the variablespublic int getSize() throws DebugException
DebugException
- if unable to determine the number
of entries in this collectionpublic int getInitialOffset()
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.