@Test public void testLibraryPlacesIsInitialized() throws Exception { perspective.onStartup(mock(PlaceRequest.class)); verify(libraryPlaces).init(any(LibraryPerspective.class)); }
@OnStartup public void onStartup(final PlaceRequest placeRequest) { this.refresh = Boolean.parseBoolean(placeRequest.getParameter("refresh", "true")); this.libraryPlaces.init(this); }
LibraryPerspective { @OnStartup public void onStartup(final PlaceRequest placeRequest) { this.refresh = Boolean.parseBoolean(placeRequest.getParameter("refresh", "true")); this.libraryPlaces.init(this); } }
LibraryPerspective { @OnStartup public void onStartup(final PlaceRequest placeRequest) { this.refresh = Boolean.parseBoolean(placeRequest.getParameter("refresh", "true")); this.libraryPlaces.init(this); } LibraryPerspective(); @Inject  LibraryPerspective(final LibraryPlaces libraryPlaces,
                              final Event<WorkspaceProjectContextChangeEvent> projectContextChangeEvent); }
LibraryPerspective { @OnStartup public void onStartup(final PlaceRequest placeRequest) { this.refresh = Boolean.parseBoolean(placeRequest.getParameter("refresh", "true")); this.libraryPlaces.init(this); } LibraryPerspective(); @Inject  LibraryPerspective(final LibraryPlaces libraryPlaces,
                              final Event<WorkspaceProjectContextChangeEvent> projectContextChangeEvent); @Perspective PerspectiveDefinition buildPerspective(); @OnStartup void onStartup(final PlaceRequest placeRequest); void perspectiveChangeEvent(@Observes PerspectiveChange event); @OnClose void onClose(); PanelDefinition getRootPanel(); }
LibraryPerspective { @OnStartup public void onStartup(final PlaceRequest placeRequest) { this.refresh = Boolean.parseBoolean(placeRequest.getParameter("refresh", "true")); this.libraryPlaces.init(this); } LibraryPerspective(); @Inject  LibraryPerspective(final LibraryPlaces libraryPlaces,
                              final Event<WorkspaceProjectContextChangeEvent> projectContextChangeEvent); @Perspective PerspectiveDefinition buildPerspective(); @OnStartup void onStartup(final PlaceRequest placeRequest); void perspectiveChangeEvent(@Observes PerspectiveChange event); @OnClose void onClose(); PanelDefinition getRootPanel();  }