Package org.eclipse.m2m.atl.debug.core
Class AtlVariable
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.m2m.atl.debug.core.AtlDebugElement
org.eclipse.m2m.atl.debug.core.AtlVariable
- 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
The ATL variable (for debug).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
attribute type.static final int
model element type.static final int
atl local variable type.static final int
reference type.static final int
supertype type.static final int
unknown type.Fields inherited from class org.eclipse.m2m.atl.debug.core.AtlDebugElement
fTarget
-
Constructor Summary
ConstructorsConstructorDescriptionAtlVariable
(String name, org.eclipse.debug.core.model.IValue value, AtlDebugTarget atlDT, int description) Creates an atl variable. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.debug.core.model.IDebugTarget
int
Returns the superType.int
Return the idVariable.org.eclipse.debug.core.ILaunch
getName()
org.eclipse.debug.core.model.IValue
getValue()
boolean
void
void
setValue
(org.eclipse.debug.core.model.IValue value) boolean
boolean
verifyValue
(String expression) boolean
verifyValue
(org.eclipse.debug.core.model.IValue value) Methods inherited from class org.eclipse.m2m.atl.debug.core.AtlDebugElement
abort, getAdapter, 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.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getModelIdentifier
-
Field Details
-
UNKNOWN
public static final int UNKNOWNunknown type.- See Also:
-
LOCALVARIABLE
public static final int LOCALVARIABLEatl local variable type.- See Also:
-
REFERENCE
public static final int REFERENCEreference type.- See Also:
-
ATTRIBUTE
public static final int ATTRIBUTEattribute type.- See Also:
-
SUPERTYPE
public static final int SUPERTYPEsupertype type.- See Also:
-
ELEMENT
public static final int ELEMENTmodel element type.- See Also:
-
-
Constructor Details
-
AtlVariable
public AtlVariable(String name, org.eclipse.debug.core.model.IValue value, AtlDebugTarget atlDT, int description) Creates an atl variable.- Parameters:
name
- the variable namevalue
- the variable valueatlDT
- the debug targetdescription
- the variable description
-
-
Method Details
-
getValue
public org.eclipse.debug.core.model.IValue getValue() throws org.eclipse.debug.core.DebugException- Specified by:
getValue
in interfaceorg.eclipse.debug.core.model.IVariable
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
-
IVariable.getValue()
-
getName
- Specified by:
getName
in interfaceorg.eclipse.debug.core.model.IVariable
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
-
IVariable.getName()
-
getReferenceTypeName
- Specified by:
getReferenceTypeName
in interfaceorg.eclipse.debug.core.model.IVariable
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
-
IVariable.getReferenceTypeName()
-
hasValueChanged
public boolean hasValueChanged() throws org.eclipse.debug.core.DebugException- Specified by:
hasValueChanged
in interfaceorg.eclipse.debug.core.model.IVariable
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
-
IVariable.hasValueChanged()
-
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:
-
getLaunch
public org.eclipse.debug.core.ILaunch getLaunch()- Specified by:
getLaunch
in interfaceorg.eclipse.debug.core.model.IDebugElement
- Overrides:
getLaunch
in classAtlDebugElement
- See Also:
-
setValue
- Specified by:
setValue
in interfaceorg.eclipse.debug.core.model.IValueModification
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
-
IValueModification.setValue(java.lang.String)
-
setValue
public void setValue(org.eclipse.debug.core.model.IValue value) throws org.eclipse.debug.core.DebugException - Specified by:
setValue
in interfaceorg.eclipse.debug.core.model.IValueModification
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
-
IValueModification.setValue(org.eclipse.debug.core.model.IValue)
-
supportsValueModification
public boolean supportsValueModification()- Specified by:
supportsValueModification
in interfaceorg.eclipse.debug.core.model.IValueModification
- See Also:
-
IValueModification.supportsValueModification()
-
verifyValue
- Specified by:
verifyValue
in interfaceorg.eclipse.debug.core.model.IValueModification
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
-
IValueModification.verifyValue(java.lang.String)
-
verifyValue
public boolean verifyValue(org.eclipse.debug.core.model.IValue value) throws org.eclipse.debug.core.DebugException - Specified by:
verifyValue
in interfaceorg.eclipse.debug.core.model.IValueModification
- Throws:
org.eclipse.debug.core.DebugException
- See Also:
-
IValueModification.verifyValue(org.eclipse.debug.core.model.IValue)
-
getDescription
public int getDescription()Returns the superType.- Returns:
- the superType
-
getIdVariable
public int getIdVariable()Return the idVariable.- Returns:
- the idVariable.
-