com.pvx.ooadide.launchers.debug.model
Class PVXArrayValue

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.debug.core.model.DebugElement
          extended by com.pvx.ooadide.launchers.debug.model.PVXDebugElement
              extended by com.pvx.ooadide.launchers.debug.model.PVXVariable
                  extended by com.pvx.ooadide.launchers.debug.model.PVXArrayValue
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IIndexedValue, org.eclipse.debug.core.model.IValue, org.eclipse.debug.core.model.IValueModification, org.eclipse.debug.core.model.IVariable

public class PVXArrayValue
extends PVXVariable
implements org.eclipse.debug.core.model.IIndexedValue


Field Summary
 
Fields inherited from class com.pvx.ooadide.launchers.debug.model.PVXVariable
TYPE_NUMERIC, TYPE_STRING
 
Constructor Summary
PVXArrayValue(PVXStackFrame frame, java.lang.String name, int size, int dimBase)
           
 
Method Summary
 int getInitialOffset()
           
 int getSize()
           
 java.lang.String getValueString()
           
 org.eclipse.debug.core.model.IVariable getVariable(int offset)
           
 org.eclipse.debug.core.model.IVariable[] getVariables()
           
 org.eclipse.debug.core.model.IVariable[] getVariables(int offset, int length)
           
 boolean hasVariables()
           
 boolean isAllocated()
           
 
Methods inherited from class com.pvx.ooadide.launchers.debug.model.PVXVariable
getName, getReferenceTypeName, getValue, hasValueChanged, setValue, setValue, supportsValueModification, verifyValue, verifyValue
 
Methods inherited from class com.pvx.ooadide.launchers.debug.model.PVXDebugElement
getModelIdentifier, sendRequest
 
Methods inherited from class org.eclipse.debug.core.model.DebugElement
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getDebugTarget, getLaunch
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.debug.core.model.IValue
getReferenceTypeName
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

PVXArrayValue

public PVXArrayValue(PVXStackFrame frame,
                     java.lang.String name,
                     int size,
                     int dimBase)
Method Detail

getInitialOffset

public int getInitialOffset()
Specified by:
getInitialOffset in interface org.eclipse.debug.core.model.IIndexedValue

getSize

public int getSize()
            throws org.eclipse.debug.core.DebugException
Specified by:
getSize in interface org.eclipse.debug.core.model.IIndexedValue
Throws:
org.eclipse.debug.core.DebugException

getVariable

public org.eclipse.debug.core.model.IVariable getVariable(int offset)
                                                   throws org.eclipse.debug.core.DebugException
Specified by:
getVariable in interface org.eclipse.debug.core.model.IIndexedValue
Throws:
org.eclipse.debug.core.DebugException

getVariables

public org.eclipse.debug.core.model.IVariable[] getVariables(int offset,
                                                             int length)
                                                      throws org.eclipse.debug.core.DebugException
Specified by:
getVariables in interface org.eclipse.debug.core.model.IIndexedValue
Throws:
org.eclipse.debug.core.DebugException

getValueString

public java.lang.String getValueString()
                                throws org.eclipse.debug.core.DebugException
Specified by:
getValueString in interface org.eclipse.debug.core.model.IValue
Throws:
org.eclipse.debug.core.DebugException

getVariables

public org.eclipse.debug.core.model.IVariable[] getVariables()
                                                      throws org.eclipse.debug.core.DebugException
Specified by:
getVariables in interface org.eclipse.debug.core.model.IValue
Throws:
org.eclipse.debug.core.DebugException

hasVariables

public boolean hasVariables()
                     throws org.eclipse.debug.core.DebugException
Specified by:
hasVariables in interface org.eclipse.debug.core.model.IValue
Overrides:
hasVariables in class PVXVariable
Throws:
org.eclipse.debug.core.DebugException

isAllocated

public boolean isAllocated()
                    throws org.eclipse.debug.core.DebugException
Specified by:
isAllocated in interface org.eclipse.debug.core.model.IValue
Throws:
org.eclipse.debug.core.DebugException