What is the hook of getting the button state from the
to the structure.
I understand the Filter interface from the API and implement it. I
understand the ActionPresentationData which is delivered by my filter
and the icon is shown in the structure viewer. But I don't know how to
get its checking state, which could be requested by isVisible in the filter.