@Test public void testActivateTechView() throws Exception { verify( changedEvent, never() ).fire( any( ActiveOptionsChangedEvent.class ) ); options.activateTechView(); verify( changedEvent ).fire( any( ActiveOptionsChangedEvent.class ) ); assertTrue( options.isTechnicalViewActive() ); assertFalse( options.isBusinessViewActive() ); }
public void activateTechView() { options.remove( Option.BUSINESS_CONTENT ); options.add( Option.TECHNICAL_CONTENT ); activeContextOptionsChangedEvent.fire( new ActiveOptionsChangedEvent() ); }
ActiveContextOptions { public void activateTechView() { options.remove( Option.BUSINESS_CONTENT ); options.add( Option.TECHNICAL_CONTENT ); activeContextOptionsChangedEvent.fire( new ActiveOptionsChangedEvent() ); } }
ActiveContextOptions { public void activateTechView() { options.remove( Option.BUSINESS_CONTENT ); options.add( Option.TECHNICAL_CONTENT ); activeContextOptionsChangedEvent.fire( new ActiveOptionsChangedEvent() ); } @Inject  ActiveContextOptions( final Caller<ExplorerService> explorerService,
                                 final Event<ActiveOptionsChangedEvent> activeContextOptionsChangedEvent ); }
ActiveContextOptions { public void activateTechView() { options.remove( Option.BUSINESS_CONTENT ); options.add( Option.TECHNICAL_CONTENT ); activeContextOptionsChangedEvent.fire( new ActiveOptionsChangedEvent() ); } @Inject  ActiveContextOptions( final Caller<ExplorerService> explorerService,
                                 final Event<ActiveOptionsChangedEvent> activeContextOptionsChangedEvent ); ActiveOptions getOptions(); boolean canShowTag(); boolean isBusinessViewActive(); boolean isTechnicalViewActive(); boolean isTreeNavigatorVisible(); void init( final PlaceRequest placeRequest,
                      final Command completeCommand ); void load( final Command configCommand ); void activateBusinessView(); void activateTechView(); boolean isBreadCrumbNavigationVisible(); void activateBreadCrumbNavigation(); void activateTreeViewNavigation(); void activateTagFiltering(); void disableTagFiltering(); boolean areHiddenFilesVisible(); boolean isHeaderNavigationHidden(); }
ActiveContextOptions { public void activateTechView() { options.remove( Option.BUSINESS_CONTENT ); options.add( Option.TECHNICAL_CONTENT ); activeContextOptionsChangedEvent.fire( new ActiveOptionsChangedEvent() ); } @Inject  ActiveContextOptions( final Caller<ExplorerService> explorerService,
                                 final Event<ActiveOptionsChangedEvent> activeContextOptionsChangedEvent ); ActiveOptions getOptions(); boolean canShowTag(); boolean isBusinessViewActive(); boolean isTechnicalViewActive(); boolean isTreeNavigatorVisible(); void init( final PlaceRequest placeRequest,
                      final Command completeCommand ); void load( final Command configCommand ); void activateBusinessView(); void activateTechView(); boolean isBreadCrumbNavigationVisible(); void activateBreadCrumbNavigation(); void activateTreeViewNavigation(); void activateTagFiltering(); void disableTagFiltering(); boolean areHiddenFilesVisible(); boolean isHeaderNavigationHidden();  }