@Test public void testLoadHandlerReloadingDocks() { testLoadHandler(); handler.refresh(true, false); verify(uberfireDocks).hide(UberfireDockPosition.EAST, "authoring"); }
@Override public void hide() { if (componentPaletteEnabled) { uberfireDocks.remove(componentPaletteDock); componentPaletteEnabled = false; } uberfireDocks.hide(UberfireDockPosition.WEST, authoringPerspectiveIdentifier); projectExplorerEnabled = false; }
AuthoringWorkbenchDocks implements AuthoringEditorDock { @Override public void hide() { if (componentPaletteEnabled) { uberfireDocks.remove(componentPaletteDock); componentPaletteEnabled = false; } uberfireDocks.hide(UberfireDockPosition.WEST, authoringPerspectiveIdentifier); projectExplorerEnabled = false; } }
AuthoringWorkbenchDocks implements AuthoringEditorDock { @Override public void hide() { if (componentPaletteEnabled) { uberfireDocks.remove(componentPaletteDock); componentPaletteEnabled = false; } uberfireDocks.hide(UberfireDockPosition.WEST, authoringPerspectiveIdentifier); projectExplorerEnabled = false; } @Inject  AuthoringWorkbenchDocks(final UberfireDocks uberfireDocks,
                                   final ManagedInstance<WorkbenchDocksHandler> installedHandlers); }
AuthoringWorkbenchDocks implements AuthoringEditorDock { @Override public void hide() { if (componentPaletteEnabled) { uberfireDocks.remove(componentPaletteDock); componentPaletteEnabled = false; } uberfireDocks.hide(UberfireDockPosition.WEST, authoringPerspectiveIdentifier); projectExplorerEnabled = false; } @Inject  AuthoringWorkbenchDocks(final UberfireDocks uberfireDocks,
                                   final ManagedInstance<WorkbenchDocksHandler> installedHandlers); @PostConstruct void initialize(); @Override boolean isSetup(); void perspectiveChangeEvent(@Observes UberfireDockReadyEvent dockReadyEvent); @Override void setup(String authoringPerspectiveIdentifier,
                      PlaceRequest projectExplorerPlaceRequest); void setActiveHandler(WorkbenchDocksHandler handler); boolean isAuthoringActive(); @Override void hide(); @Override void show(); void expandProjectExplorer(); @Override void expandAuthoringDock(final UberfireDock dockToOpen); void onLayoutEditorFocus(@Observes LayoutEditorFocusEvent event); void onLayoutEditorClose(@Observes PlaceHiddenEvent event); @PreDestroy void clear(); }
AuthoringWorkbenchDocks implements AuthoringEditorDock { @Override public void hide() { if (componentPaletteEnabled) { uberfireDocks.remove(componentPaletteDock); componentPaletteEnabled = false; } uberfireDocks.hide(UberfireDockPosition.WEST, authoringPerspectiveIdentifier); projectExplorerEnabled = false; } @Inject  AuthoringWorkbenchDocks(final UberfireDocks uberfireDocks,
                                   final ManagedInstance<WorkbenchDocksHandler> installedHandlers); @PostConstruct void initialize(); @Override boolean isSetup(); void perspectiveChangeEvent(@Observes UberfireDockReadyEvent dockReadyEvent); @Override void setup(String authoringPerspectiveIdentifier,
                      PlaceRequest projectExplorerPlaceRequest); void setActiveHandler(WorkbenchDocksHandler handler); boolean isAuthoringActive(); @Override void hide(); @Override void show(); void expandProjectExplorer(); @Override void expandAuthoringDock(final UberfireDock dockToOpen); void onLayoutEditorFocus(@Observes LayoutEditorFocusEvent event); void onLayoutEditorClose(@Observes PlaceHiddenEvent event); @PreDestroy void clear();  }