Class ChangeManagerAdapter

  • All Implemented Interfaces:
    ChangeManager

    public class ChangeManagerAdapter
    extends java.lang.Object
    implements ChangeManager
    Empty implementation for a ChangeManager.
    • Constructor Detail

      • ChangeManagerAdapter

        public ChangeManagerAdapter()
    • Method Detail

      • setChanged

        public void setChanged​(int type,
                               Address start,
                               Address end,
                               java.lang.Object oldValue,
                               java.lang.Object newValue)
        Description copied from interface: ChangeManager
        Mark the state of a Program as having changed and generate the event of the specified type. Any or all parameters may be null.
        Specified by:
        setChanged in interface ChangeManager
        Parameters:
        type - event type
        start - starting address that is affected by the event
        end - ending address that is affected by the event
        oldValue - original value or an Object that is related to the event
        newValue - new value or an Object that is related to the the event
      • setChanged

        public void setChanged​(int type,
                               java.lang.Object oldValue,
                               java.lang.Object newValue)
        Description copied from interface: ChangeManager
        Mark the state of a Program as having changed and generate the event of the specified type. Any or all parameters may be null.
        Specified by:
        setChanged in interface ChangeManager
        Parameters:
        type - event type
        oldValue - original value or an Object that is related to the event
        newValue - new value or an Object that is related to the the event
      • setObjChanged

        public void setObjChanged​(int type,
                                  Address addr,
                                  java.lang.Object affectedObj,
                                  java.lang.Object oldValue,
                                  java.lang.Object newValue)
        Description copied from interface: ChangeManager
        Mark the state of a Program as having changed and generate the event of the specified type. Any or all parameters may be null.
        Specified by:
        setObjChanged in interface ChangeManager
        Parameters:
        type - event type
        addr - program address affected
        affectedObj - object that is the subject of the event
        oldValue - original value or an Object that is related to the event
        newValue - new value or an Object that is related to the the event
      • setObjChanged

        public void setObjChanged​(int type,
                                  int subType,
                                  Address addr,
                                  java.lang.Object affectedObj,
                                  java.lang.Object oldValue,
                                  java.lang.Object newValue)
        Description copied from interface: ChangeManager
        Mark the state of a Program as having changed and generate the event of the specified type. Any or all parameters may be null.
        Specified by:
        setObjChanged in interface ChangeManager
        Parameters:
        type - event type
        subType - event sub-type
        addr - program address affected
        affectedObj - object that is the subject of the event
        oldValue - original value or an Object that is related to the event
        newValue - new value or an Object that is related to the the event
      • setObjChanged

        public void setObjChanged​(int type,
                                  AddressSetView addrSet,
                                  java.lang.Object affectedObj,
                                  java.lang.Object oldValue,
                                  java.lang.Object newValue)
        Description copied from interface: ChangeManager
        Mark the state of a Program as having changed and generate the event of the specified type. Any or all parameters may be null.
        Specified by:
        setObjChanged in interface ChangeManager
        Parameters:
        type - event type
        addrSet - set of program addresses affected
        affectedObj - object that is the subject of the event
        oldValue - original value or an Object that is related to the event
        newValue - new value or an Object that is related to the the event
      • setObjChanged

        public void setObjChanged​(int type,
                                  java.lang.Object affectedObj,
                                  java.lang.Object oldValue,
                                  java.lang.Object newValue)
        Description copied from interface: ChangeManager
        Mark the state of a Program as having changed and generate the event of the specified type. Any or all parameters may be null.
        Specified by:
        setObjChanged in interface ChangeManager
        Parameters:
        type - event type
        affectedObj - object that is the subject of the event
        oldValue - original value or an Object that is related to the event
        newValue - new value or an Object that is related to the the event
      • setObjChanged

        public void setObjChanged​(int type,
                                  int subType,
                                  java.lang.Object affectedObj,
                                  java.lang.Object oldValue,
                                  java.lang.Object newValue)
        Description copied from interface: ChangeManager
        Mark the state of a Program as having changed and generate the event of the specified type. Any or all parameters may be null.
        Specified by:
        setObjChanged in interface ChangeManager
        Parameters:
        type - event type
        subType - event sub-type
        affectedObj - object that is the subject of the event
        oldValue - original value or an Object that is related to the event
        newValue - new value or an Object that is related to the the event
      • setPropertyChanged

        public void setPropertyChanged​(java.lang.String propertyName,
                                       Address codeUnitAddr,
                                       java.lang.Object oldValue,
                                       java.lang.Object newValue)
        Description copied from interface: ChangeManager
        Mark the state of a Program as having changed and generate the DOCR_CODE_UNIT_PROPERTY_CHANGED event.
        Specified by:
        setPropertyChanged in interface ChangeManager
        Parameters:
        propertyName - name of property for the range that changed
        codeUnitAddr - address of the code unit with the property change
        oldValue - old value for the property
        newValue - new value for the property
      • setPropertyRangeRemoved

        public void setPropertyRangeRemoved​(java.lang.String propertyName,
                                            Address start,
                                            Address end)
        Description copied from interface: ChangeManager
        Mark the state of the Program as having changed and generate the DOCR_CODE_UNIT_PROPERTY_RANGE_REMOVED event.
        Specified by:
        setPropertyRangeRemoved in interface ChangeManager
        Parameters:
        propertyName - name of property for the range being removed
        start - start address of the range
        end - end address of the range
      • setRegisterValuesChanged

        public void setRegisterValuesChanged​(Register register,
                                             Address start,
                                             Address end)
        Description copied from interface: ChangeManager
        Notifies that register values have changed over the indicated address range.
        Specified by:
        setRegisterValuesChanged in interface ChangeManager
        Parameters:
        register - register value which was modified (a value of null indicates all registers affected or unknown)
        start - the start address for the range where values changed
        end - the end address (inclusive) for the range where values changed