class NewResourcesMenu implements WorkspaceProjectContextChangeHandler {

    public List<MenuItem> getMenuItemsWithoutProject() {
        enableMenuItemsForContext();

        if ( projectMenuItem != null && items.contains( projectMenuItem ) ) {
            return items.subList( 1,
                                  items.size() );
        } else {
            return items;
        }
    }

    public  NewResourcesMenu();
    @Inject public  NewResourcesMenu( final SyncBeanManager iocBeanManager,
                             final NewResourcePresenter newResourcePresenter,
                             final WorkspaceProjectContext projectContext );

}