Examples of WelcomeWidgetDescriptor


Examples of org.apache.openmeetings.web.user.dashboard.WelcomeWidgetDescriptor

    // register some widgets
    dashboardContext = new DashboardContext();
    dashboardContext.setDashboardPersiter(new UserDashboardPersister());
    WidgetRegistry widgetRegistry = dashboardContext.getWidgetRegistry();
    widgetRegistry.registerWidget(new PrivateRoomsWidgetDescriptor());
    widgetRegistry.registerWidget(new WelcomeWidgetDescriptor());
    widgetRegistry.registerWidget(new StartWidgetDescriptor());
    widgetRegistry.registerWidget(new RssWidgetDescriptor());
    // add dashboard context injector
    getComponentInstantiationListeners().add(new DashboardContextInjector(dashboardContext));
    DashboardSettings dashboardSettings = DashboardSettings.get();
View Full Code Here

Examples of org.apache.openmeetings.web.user.dashboard.WelcomeWidgetDescriptor

    dashboard = dashboardContext.getDashboardPersiter().load();
    if (dashboard == null) {
      dashboard = new DefaultDashboard("default", "Default");
     
      WidgetFactory widgetFactory = dashboardContext.getWidgetFactory();
      dashboard.addWidget(widgetFactory.createWidget(new WelcomeWidgetDescriptor()));
      dashboard.addWidget(widgetFactory.createWidget(new StartWidgetDescriptor()));
      ConfigurationDao cfgDao = getBean(ConfigurationDao.class);
      if (1 == cfgDao.getConfValue(CONFIG_DASHBOARD_SHOW_MYROOMS_KEY, Integer.class, "0")) {
        dashboard.addWidget(widgetFactory.createWidget(new PrivateRoomsWidgetDescriptor()));
      }
View Full Code Here

Examples of org.apache.openmeetings.web.user.dashboard.WelcomeWidgetDescriptor

    dashboard = dashboardContext.getDashboardPersiter().load();
    if (dashboard == null) {
      dashboard = new DefaultDashboard("default", "Default");
     
      WidgetFactory widgetFactory = dashboardContext.getWidgetFactory();
      dashboard.addWidget(widgetFactory.createWidget(new WelcomeWidgetDescriptor()));
      dashboard.addWidget(widgetFactory.createWidget(new StartWidgetDescriptor()));
      ConfigurationDao cfgDao = getBean(ConfigurationDao.class);
      if ("1".equals(cfgDao.getConfValue(CONFIG_DASHBOARD_SHOW_MYROOMS_KEY, Integer.class, "0"))) {
        dashboard.addWidget(widgetFactory.createWidget(new PrivateRoomsWidgetDescriptor()));
      }
View Full Code Here

Examples of org.apache.openmeetings.web.user.dashboard.WelcomeWidgetDescriptor

    // register some widgets
    dashboardContext = new DashboardContext();
    dashboardContext.setDashboardPersiter(new UserDashboardPersister());
    WidgetRegistry widgetRegistry = dashboardContext.getWidgetRegistry();
    widgetRegistry.registerWidget(new PrivateRoomsWidgetDescriptor());
    widgetRegistry.registerWidget(new WelcomeWidgetDescriptor());
    widgetRegistry.registerWidget(new StartWidgetDescriptor());
    widgetRegistry.registerWidget(new RssWidgetDescriptor());
    // add dashboard context injector
    getComponentInstantiationListeners().add(new DashboardContextInjector(dashboardContext));
    DashboardSettings dashboardSettings = DashboardSettings.get();
View Full Code Here

Examples of org.apache.openmeetings.web.user.dashboard.WelcomeWidgetDescriptor

    WidgetFactory widgetFactory = dashboardContext.getWidgetFactory();

    if (dashboard == null) {
      dashboard = new UserDashboard("default", "Default");

      dashboard.addWidget(widgetFactory.createWidget(new WelcomeWidgetDescriptor()));
      dashboard.addWidget(widgetFactory.createWidget(new StartWidgetDescriptor()));
      if (confShowMyRooms) {
        dashboard.addWidget(widgetFactory.createWidget(new MyRoomsWidgetDescriptor()));
      }
      if (confShowRss) {
View Full Code Here

Examples of org.apache.openmeetings.web.user.dashboard.WelcomeWidgetDescriptor

    // register some widgets
    dashboardContext = new DashboardContext();
    dashboardContext.setDashboardPersiter(new UserDashboardPersister());
    WidgetRegistry widgetRegistry = dashboardContext.getWidgetRegistry();
    widgetRegistry.registerWidget(new MyRoomsWidgetDescriptor());
    widgetRegistry.registerWidget(new WelcomeWidgetDescriptor());
    widgetRegistry.registerWidget(new StartWidgetDescriptor());
    widgetRegistry.registerWidget(new RssWidgetDescriptor());
    // add dashboard context injector
    getComponentInstantiationListeners().add(new DashboardContextInjector(dashboardContext));
    DashboardSettings dashboardSettings = DashboardSettings.get();
View Full Code Here

Examples of org.apache.openmeetings.web.user.dashboard.WelcomeWidgetDescriptor

    dashboard = dashboardContext.getDashboardPersiter().load();
    if (dashboard == null) {
      dashboard = new DefaultDashboard("default", "Default");
     
      WidgetFactory widgetFactory = dashboardContext.getWidgetFactory();
      dashboard.addWidget(widgetFactory.createWidget(new WelcomeWidgetDescriptor()));
      dashboard.addWidget(widgetFactory.createWidget(new StartWidgetDescriptor()));
      ConfigurationDao cfgDao = getBean(ConfigurationDao.class);
      if (1 == cfgDao.getConfValue(CONFIG_DASHBOARD_SHOW_MYROOMS_KEY, Integer.class, "0")) {
        dashboard.addWidget(widgetFactory.createWidget(new PrivateRoomsWidgetDescriptor()));
      }
View Full Code Here

Examples of org.apache.openmeetings.web.user.dashboard.WelcomeWidgetDescriptor

    // register some widgets
    dashboardContext = new DashboardContext();
    dashboardContext.setDashboardPersiter(new UserDashboardPersister());
    WidgetRegistry widgetRegistry = dashboardContext.getWidgetRegistry();
    widgetRegistry.registerWidget(new PrivateRoomsWidgetDescriptor());
    widgetRegistry.registerWidget(new WelcomeWidgetDescriptor());
    widgetRegistry.registerWidget(new StartWidgetDescriptor());
    widgetRegistry.registerWidget(new RssWidgetDescriptor());
    // add dashboard context injector
    getComponentInstantiationListeners().add(new DashboardContextInjector(dashboardContext));
    DashboardSettings dashboardSettings = DashboardSettings.get();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.