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

public class AtlVariable extends AtlDebugElement implements org.eclipse.debug.core.model.IVariable
The ATL variable (for debug).
  • Field Details

  • 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 name
      value - the variable value
      atlDT - the debug target
      description - the variable description
  • Method Details

    • getValue

      public org.eclipse.debug.core.model.IValue getValue() throws org.eclipse.debug.core.DebugException
      Specified by:
      getValue in interface org.eclipse.debug.core.model.IVariable
      Throws:
      org.eclipse.debug.core.DebugException
      See Also:
      • IVariable.getValue()
    • getName

      public String getName() throws org.eclipse.debug.core.DebugException
      Specified by:
      getName in interface org.eclipse.debug.core.model.IVariable
      Throws:
      org.eclipse.debug.core.DebugException
      See Also:
      • IVariable.getName()
    • getReferenceTypeName

      public String getReferenceTypeName() throws org.eclipse.debug.core.DebugException
      Specified by:
      getReferenceTypeName in interface org.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 interface org.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 interface org.eclipse.debug.core.model.IDebugElement
      Overrides:
      getDebugTarget in class AtlDebugElement
      See Also:
    • getLaunch

      public org.eclipse.debug.core.ILaunch getLaunch()
      Specified by:
      getLaunch in interface org.eclipse.debug.core.model.IDebugElement
      Overrides:
      getLaunch in class AtlDebugElement
      See Also:
    • setValue

      public void setValue(String expression) throws org.eclipse.debug.core.DebugException
      Specified by:
      setValue in interface org.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 interface org.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 interface org.eclipse.debug.core.model.IValueModification
      See Also:
      • IValueModification.supportsValueModification()
    • verifyValue

      public boolean verifyValue(String expression) throws org.eclipse.debug.core.DebugException
      Specified by:
      verifyValue in interface org.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 interface org.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.