@Override
public void selectionChanged(IAction action, ISelection selection) {
IEditorActionDelegate participant = getParticipant();
if (participant != null) {
participant.selectionChanged(action, selection);
}
}
protected IEditorActionDelegate getParticipant() {
if (registered != null) {