@Test public void libraryResetsContextOnCloseTest() { perspective.onClose(); verify(projectContextChangeEvent).fire(new WorkspaceProjectContextChangeEvent()); }
@OnClose public void onClose() { projectContextChangeEvent.fire(new WorkspaceProjectContextChangeEvent()); }
LibraryPerspective { @OnClose public void onClose() { projectContextChangeEvent.fire(new WorkspaceProjectContextChangeEvent()); } }
LibraryPerspective { @OnClose public void onClose() { projectContextChangeEvent.fire(new WorkspaceProjectContextChangeEvent()); } LibraryPerspective(); @Inject  LibraryPerspective(final LibraryPlaces libraryPlaces,
                              final Event<WorkspaceProjectContextChangeEvent> projectContextChangeEvent); }
LibraryPerspective { @OnClose public void onClose() { projectContextChangeEvent.fire(new WorkspaceProjectContextChangeEvent()); } 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 { @OnClose public void onClose() { projectContextChangeEvent.fire(new WorkspaceProjectContextChangeEvent()); } 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();  }