protected DefaultAddAction createDefaultAction(final @ActionText String name, final Icon icon, final Type type) {
    return new ControlAddAction(name, name, icon) {
      @Override
      protected Type getElementType() {
        return type;
      }
    };
  }
protected DefaultAddAction createDefaultAction(final @ActionText String name, final Icon icon, final Type type)