@PostConstruct
  public void setupNavBarDock() {
    dock =
        new UberfireDock(
                UberfireDockPosition.WEST,
                "ADJUST",
                new DefaultPlaceRequest(PreferencesCentralNavBarScreen.IDENTIFIER),
                IDENTIFIER)
            .withLabel(
                translationService.format(Constants.PreferencesCentralPerspective_Preferences))
            .withSize(420);

    uberfireDocks.add(dock);
  }
 public void perspectiveChangeEvent(@Observes UberfireDockReadyEvent dockReadyEvent) {
   if (dockReadyEvent.getCurrentPerspective().equals(IDENTIFIER)) {
     uberfireDocks.expand(dock);
   }
 }