@Test public void testResolvePlaceRequest() { assertTrue(menusHelper.resolvePlaceRequest(HOME) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(LIBRARY) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(CONTENT_MANAGEMENT) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(PROVISIONING) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(SERVER_MANAGEMENT) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(CONTENT_MANAGEMENT) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(PROCESS_DEFINITIONS) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(PROCESS_INSTANCES) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(JOBS) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(EXECUTION_ERRORS) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(TASKS) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(PROCESS_DASHBOARD) instanceof DefaultPlaceRequest); assertTrue(menusHelper.resolvePlaceRequest(TASK_DASHBOARD) instanceof DefaultPlaceRequest); }
public PlaceRequest resolvePlaceRequest(String perspectiveId) { return new DefaultPlaceRequest(perspectiveId); }
DefaultWorkbenchFeaturesMenusHelper { public PlaceRequest resolvePlaceRequest(String perspectiveId) { return new DefaultPlaceRequest(perspectiveId); } }
DefaultWorkbenchFeaturesMenusHelper { public PlaceRequest resolvePlaceRequest(String perspectiveId) { return new DefaultPlaceRequest(perspectiveId); } DefaultWorkbenchFeaturesMenusHelper(); @Inject  DefaultWorkbenchFeaturesMenusHelper(SyncBeanManager iocManager,
                                               ActivityManager activityManager,
                                               PerspectiveManager perspectiveManager,
                                               Caller<AuthenticationService> authService,
                                               User identity,
                                               UserMenu userMenu,
                                               UtilityMenuBar utilityMenuBar,
                                               WorkbenchMegaMenuPresenter menuBar,
                                               AboutCommand aboutCommand,
                                               AuthorizationManager authorizationManager,
                                               SessionInfo sessionInfo,
                                               PlaceManager placeManager); }
DefaultWorkbenchFeaturesMenusHelper { public PlaceRequest resolvePlaceRequest(String perspectiveId) { return new DefaultPlaceRequest(perspectiveId); } DefaultWorkbenchFeaturesMenusHelper(); @Inject  DefaultWorkbenchFeaturesMenusHelper(SyncBeanManager iocManager,
                                               ActivityManager activityManager,
                                               PerspectiveManager perspectiveManager,
                                               Caller<AuthenticationService> authService,
                                               User identity,
                                               UserMenu userMenu,
                                               UtilityMenuBar utilityMenuBar,
                                               WorkbenchMegaMenuPresenter menuBar,
                                               AboutCommand aboutCommand,
                                               AuthorizationManager authorizationManager,
                                               SessionInfo sessionInfo,
                                               PlaceManager placeManager); List<? extends MenuItem> getHomeViews(); List<MenuItem> getAuthoringViews(); List<? extends MenuItem> getProcessManagementViews(); List<? extends MenuItem> getExtensionsViews(); void addRolesMenuItems(); void addGroupsMenuItems(); void addWorkbenchViewModeSwitcherMenuItem(); void addWorkbenchConfigurationMenuItem(); void addUtilitiesMenuItems(); void addUserMenuItems(); String getDefaultPerspectiveIdentifier(); List<PerspectiveActivity> getPerspectiveActivities(); List<MenuItem> getPerspectivesMenuItems(); List<Menus> getRoles(); List<Menus> getGroups(); TopLevelMenusBuilder<MenuBuilder> buildMenusFromNavTree(NavTree navTree); List<MenuItem> buildMenuItemsFromNavGroup(NavGroup navGroup); PlaceRequest resolvePlaceRequest(String perspectiveId); static native void redirect(String url); }
DefaultWorkbenchFeaturesMenusHelper { public PlaceRequest resolvePlaceRequest(String perspectiveId) { return new DefaultPlaceRequest(perspectiveId); } DefaultWorkbenchFeaturesMenusHelper(); @Inject  DefaultWorkbenchFeaturesMenusHelper(SyncBeanManager iocManager,
                                               ActivityManager activityManager,
                                               PerspectiveManager perspectiveManager,
                                               Caller<AuthenticationService> authService,
                                               User identity,
                                               UserMenu userMenu,
                                               UtilityMenuBar utilityMenuBar,
                                               WorkbenchMegaMenuPresenter menuBar,
                                               AboutCommand aboutCommand,
                                               AuthorizationManager authorizationManager,
                                               SessionInfo sessionInfo,
                                               PlaceManager placeManager); List<? extends MenuItem> getHomeViews(); List<MenuItem> getAuthoringViews(); List<? extends MenuItem> getProcessManagementViews(); List<? extends MenuItem> getExtensionsViews(); void addRolesMenuItems(); void addGroupsMenuItems(); void addWorkbenchViewModeSwitcherMenuItem(); void addWorkbenchConfigurationMenuItem(); void addUtilitiesMenuItems(); void addUserMenuItems(); String getDefaultPerspectiveIdentifier(); List<PerspectiveActivity> getPerspectiveActivities(); List<MenuItem> getPerspectivesMenuItems(); List<Menus> getRoles(); List<Menus> getGroups(); TopLevelMenusBuilder<MenuBuilder> buildMenusFromNavTree(NavTree navTree); List<MenuItem> buildMenuItemsFromNavGroup(NavGroup navGroup); PlaceRequest resolvePlaceRequest(String perspectiveId); static native void redirect(String url);  }