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

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.DebugVariable
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IValueModification, org.eclipse.debug.core.model.IVariable

public class DebugVariable
extends DebugElement
implements org.eclipse.debug.core.model.IVariable

MWE Debug Variable implementation
A variable has (beside the name) a DebugValue, that holds potential sub-variables.


Field Summary
 
Fields inherited from class org.eclipse.emf.mwe.internal.ui.debug.model.DebugElement
target
 
Constructor Summary
DebugVariable(DebugTarget target, VarValueTO varTO)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getReferenceTypeName()
           
 org.eclipse.debug.core.model.IValue getValue()
           
 DebugValue getValue0()
           
 boolean hasValueChanged()
           
 void setValue(org.eclipse.debug.core.model.IValue value)
           
 void setValue(java.lang.String expression)
           
 void setValue(VarValueTO varTO)
           
 boolean supportsValueModification()
           
 boolean verifyValue(org.eclipse.debug.core.model.IValue test)
           
 boolean verifyValue(java.lang.String expression)
           
 
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

DebugVariable

public DebugVariable(DebugTarget target,
                     VarValueTO varTO)
Method Detail

getName

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

getValue

public org.eclipse.debug.core.model.IValue getValue()
Specified by:
getValue in interface org.eclipse.debug.core.model.IVariable

getValue0

public DebugValue getValue0()

setValue

public void setValue(VarValueTO varTO)

setValue

public void setValue(java.lang.String expression)
Specified by:
setValue in interface org.eclipse.debug.core.model.IValueModification

setValue

public void setValue(org.eclipse.debug.core.model.IValue value)
Specified by:
setValue in interface org.eclipse.debug.core.model.IValueModification

getReferenceTypeName

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

supportsValueModification

public boolean supportsValueModification()
Specified by:
supportsValueModification in interface org.eclipse.debug.core.model.IValueModification

hasValueChanged

public boolean hasValueChanged()
Specified by:
hasValueChanged in interface org.eclipse.debug.core.model.IVariable

verifyValue

public boolean verifyValue(java.lang.String expression)
Specified by:
verifyValue in interface org.eclipse.debug.core.model.IValueModification

verifyValue

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