public void setMenuProvider(final IMenuProvider provider) {
    menuProvider = provider;
  }
This method must be called after batch updating of registers.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/JRegisterView/JRegisterView.java