Now XEditorActionBarContributor use calculateVisible()