Class AtlValue
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.m2m.atl.debug.core.AtlDebugElement
-
- org.eclipse.m2m.atl.debug.core.adwp.AtlValue
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.debug.core.model.IDebugElement
,org.eclipse.debug.core.model.IValue
public class AtlValue extends AtlDebugElement implements org.eclipse.debug.core.model.IValue
ATL Value (for debug).
-
-
Field Summary
-
Fields inherited from class org.eclipse.m2m.atl.debug.core.AtlDebugElement
fTarget
-
-
Constructor Summary
Constructors Constructor Description AtlValue(Value value, ObjectReference asType, AtlDebugTarget atlDT)
Constructor.AtlValue(Value value, AtlDebugTarget atlDT)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.debug.core.model.IDebugTarget
getDebugTarget()
org.eclipse.debug.core.ILaunch
getLaunch()
java.lang.String
getReferenceTypeName()
Value
getValue()
Returns the ATL value.java.lang.String
getValueString()
org.eclipse.debug.core.model.IVariable[]
getVariables()
boolean
hasVariables()
boolean
isAllocated()
boolean
isContainer()
Returnstrue
if the value has variables orfalse
elsewhere.-
Methods inherited from class org.eclipse.m2m.atl.debug.core.AtlDebugElement
abort, getAdapter, getModelIdentifier
-
-
-
-
Constructor Detail
-
AtlValue
public AtlValue(Value value, ObjectReference asType, AtlDebugTarget atlDT)
Constructor.- Parameters:
value
- the valueatlDT
- the debug targetasType
- the reference
-
AtlValue
public AtlValue(Value value, AtlDebugTarget atlDT)
Constructor.- Parameters:
value
- the valueatlDT
- the debug target
-
-
Method Detail
-
getReferenceTypeName
public java.lang.String getReferenceTypeName() throws org.eclipse.debug.core.DebugException
- Specified by:
getReferenceTypeName
in interfaceorg.eclipse.debug.core.model.IValue
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
IValue.getReferenceTypeName()
-
getValueString
public java.lang.String getValueString() throws org.eclipse.debug.core.DebugException
- Specified by:
getValueString
in interfaceorg.eclipse.debug.core.model.IValue
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
IValue.getValueString()
-
isAllocated
public boolean isAllocated() throws org.eclipse.debug.core.DebugException
- Specified by:
isAllocated
in interfaceorg.eclipse.debug.core.model.IValue
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
IValue.isAllocated()
-
getVariables
public org.eclipse.debug.core.model.IVariable[] getVariables() throws org.eclipse.debug.core.DebugException
- Specified by:
getVariables
in interfaceorg.eclipse.debug.core.model.IValue
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
IValue.getVariables()
-
hasVariables
public boolean hasVariables() throws org.eclipse.debug.core.DebugException
- Specified by:
hasVariables
in interfaceorg.eclipse.debug.core.model.IValue
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
IValue.hasVariables()
-
getDebugTarget
public org.eclipse.debug.core.model.IDebugTarget getDebugTarget()
- Specified by:
getDebugTarget
in interfaceorg.eclipse.debug.core.model.IDebugElement
- Overrides:
getDebugTarget
in classAtlDebugElement
- See Also:
AtlDebugElement.getDebugTarget()
-
getLaunch
public org.eclipse.debug.core.ILaunch getLaunch()
- Specified by:
getLaunch
in interfaceorg.eclipse.debug.core.model.IDebugElement
- Overrides:
getLaunch
in classAtlDebugElement
- See Also:
AtlDebugElement.getLaunch()
-
getValue
public Value getValue()
Returns the ATL value.- Returns:
- the ATL value
-
isContainer
public boolean isContainer()
Returnstrue
if the value has variables orfalse
elsewhere.- Returns:
true
if the value has variables orfalse
elsewhere
-
-