Remove Tags Event

When using a DriverTag in AbstractDriver I can override the methods getAdress(), getDataType() and getValue(). GetValue is only called when a tag is subscribed int the designer; but I need to run some logic when the tag is unsubscribed in the designer. Is there a way to do that?

Not with the simple DriverTag abstraction you’re using.

You can do anything you want if your driver just implements the Driver interface, which will include adding a ModelChangeListener to the subscription model available via DriverContext.

edit: on second thought, you could probably still do that with what you’re currently using as well.

Yes I can. Thank you,