public void removeTemplatesVisibilityListener(TemplatesListVisibilityListener listener) {
    myVisibilityListeners.remove(listener);
  }
public void removeTemplatesVisibilityListener(TemplatesListVisibilityListener listener)