public void setOnOpen(@NotNull Component component, @NotNull Runnable fillMenuProcedure) {
    this.myOnOpen = fillMenuProcedure;
    this.myComponent = component;
  }
public void setOnOpen(@NotNull Component component, @NotNull Runnable fillMenuProcedure)