SearchResultsPage.class );
configuration.addPageConfiguration( page );
}
private void createGlobalActions( UIConfiguration configuration ) {
ActionConfiguration action = new ActionConfiguration( BookSearchAction.class.getName(),
BookSearchAction.class );
action.setImage( getImage( IMAGE_ACTION_SEARCH ) );
action.setTitle( "Search" );
action.setPlacementPriority( PlacementPriority.HIGH );
configuration.addActionConfiguration( action );
action = new ActionConfiguration( SettingsAction.class.getName(), SettingsAction.class );
action.setPlacementPriority( PlacementPriority.LOW );
action.setImage( getImage( IMAGE_ACTION_SETTINGS ) );
action.setTitle( "Settings" );
configuration.addActionConfiguration( action );
}