@Test public void expandAuthoringDock() { final UberfireDock dockToOpen = mock(UberfireDock.class); authoringWorkbenchDocks.expandAuthoringDock(dockToOpen); verify(uberfireDocks).show(UberfireDockPosition.EAST, AUTHORING_PERSPECTIVE); verify(uberfireDocks).open(dockToOpen); }
@Override public void expandAuthoringDock(final UberfireDock dockToOpen) { uberfireDocks.show(UberfireDockPosition.EAST, authoringPerspectiveIdentifier); if (dockToOpen != null) { uberfireDocks.open(dockToOpen); } }
AuthoringWorkbenchDocks implements AuthoringEditorDock { @Override public void expandAuthoringDock(final UberfireDock dockToOpen) { uberfireDocks.show(UberfireDockPosition.EAST, authoringPerspectiveIdentifier); if (dockToOpen != null) { uberfireDocks.open(dockToOpen); } } }
AuthoringWorkbenchDocks implements AuthoringEditorDock { @Override public void expandAuthoringDock(final UberfireDock dockToOpen) { uberfireDocks.show(UberfireDockPosition.EAST, authoringPerspectiveIdentifier); if (dockToOpen != null) { uberfireDocks.open(dockToOpen); } } @Inject  AuthoringWorkbenchDocks(final UberfireDocks uberfireDocks,
                                   final ManagedInstance<WorkbenchDocksHandler> installedHandlers); }
AuthoringWorkbenchDocks implements AuthoringEditorDock { @Override public void expandAuthoringDock(final UberfireDock dockToOpen) { uberfireDocks.show(UberfireDockPosition.EAST, authoringPerspectiveIdentifier); if (dockToOpen != null) { uberfireDocks.open(dockToOpen); } } @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 expandAuthoringDock(final UberfireDock dockToOpen) { uberfireDocks.show(UberfireDockPosition.EAST, authoringPerspectiveIdentifier); if (dockToOpen != null) { uberfireDocks.open(dockToOpen); } } @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();  }