org.eclipse.emf.mwe.internal.ui.debug.model
Class DebugValue

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.emf.mwe.internal.ui.debug.model.DebugElement
          extended by org.eclipse.emf.mwe.internal.ui.debug.model.DebugValue
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IValue

public class DebugValue
extends DebugElement
implements org.eclipse.debug.core.model.IValue

MWE Debug Value implementation
A DebugValue has (beside it's own String representation) a list of sub-variables.


Field Summary
 
Fields inherited from class org.eclipse.emf.mwe.internal.ui.debug.model.DebugElement
target
 
Constructor Summary
DebugValue(DebugTarget target, VarValueTO varTO)
           
 
Method Summary
 java.lang.String getDetailRep()
           
 java.lang.String getReferenceTypeName()
           
 java.lang.String getValueString()
           
 org.eclipse.debug.core.model.IVariable[] getVariables()
           
 int getVarTOId()
           
 boolean hasVariables()
           
 boolean isAllocated()
           
 boolean isDirty()
           
 void setDirty(boolean dirty)
           
 void setVarTO(VarValueTO varTO)
           
 
Methods inherited from class org.eclipse.emf.mwe.internal.ui.debug.model.DebugElement
getAdapter, getDebugModelManager, getDebugTarget, getDebugTarget0, getLaunch, getModelIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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

DebugValue

public DebugValue(DebugTarget target,
                  VarValueTO varTO)
Method Detail

setVarTO

public void setVarTO(VarValueTO varTO)

getVarTOId

public int getVarTOId()

isDirty

public boolean isDirty()

setDirty

public void setDirty(boolean dirty)

getReferenceTypeName

public java.lang.String getReferenceTypeName()
Specified by:
getReferenceTypeName in interface org.eclipse.debug.core.model.IValue

getValueString

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

getDetailRep

public java.lang.String getDetailRep()

isAllocated

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

hasVariables

public boolean hasVariables()
Specified by:
hasVariables in interface org.eclipse.debug.core.model.IValue

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