@Test public void testShowComponentPalette() { authoringWorkbenchDocks.onLayoutEditorFocus(new LayoutEditorFocusEvent()); verify(uberfireDocks).add(authoringWorkbenchDocks.componentPaletteDock); verify(uberfireDocks).open(authoringWorkbenchDocks.componentPaletteDock); assertTrue(authoringWorkbenchDocks.componentPaletteEnabled); }
public void onLayoutEditorFocus(@Observes LayoutEditorFocusEvent event) { refreshWestDocks(true, componentPaletteDock); }
AuthoringWorkbenchDocks implements AuthoringEditorDock { public void onLayoutEditorFocus(@Observes LayoutEditorFocusEvent event) { refreshWestDocks(true, componentPaletteDock); } }
AuthoringWorkbenchDocks implements AuthoringEditorDock { public void onLayoutEditorFocus(@Observes LayoutEditorFocusEvent event) { refreshWestDocks(true, componentPaletteDock); } @Inject  AuthoringWorkbenchDocks(final UberfireDocks uberfireDocks,
                                   final ManagedInstance<WorkbenchDocksHandler> installedHandlers); }
AuthoringWorkbenchDocks implements AuthoringEditorDock { public void onLayoutEditorFocus(@Observes LayoutEditorFocusEvent event) { refreshWestDocks(true, componentPaletteDock); } @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 { public void onLayoutEditorFocus(@Observes LayoutEditorFocusEvent event) { refreshWestDocks(true, componentPaletteDock); } @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();  }