Examples of Theme


Examples of org.broadleafcommerce.common.site.domain.Theme

    @Override
    protected String computeResourceName(final TemplateProcessingParameters templateProcessingParameters) {
        String themePath = null;
   
        Theme theme = BroadleafRequestContext.getBroadleafRequestContext().getTheme();
        if (theme != null && theme.getPath() != null) {
            themePath = theme.getPath();
        }            

        checkInitialized();

        final String templateName = templateProcessingParameters.getTemplateName();
View Full Code Here

Examples of org.docx4j.dml.Theme

    Styles styles = (Styles)XmlUtils.unmarshalString(stylesXML)
    sdp.setJaxbElement(styles);

    // Theme part
    ThemePart themePart = new ThemePart();   
    Theme theme = (Theme)XmlUtils.unmarshalString(themeXML);     
    themePart.setJaxbElement(theme);
    mdp.addTargetPart(themePart);
   
    // Settings
    DocumentSettingsPart dsp = new DocumentSettingsPart();
View Full Code Here

Examples of org.eclipse.rap.rwt.internal.theme.Theme

      public InputStream getResourceAsStream( String resourceName ) throws IOException {
        return new ByteArrayInputStream( "".getBytes() );
      }
    };
    StyleSheet styleSheet = CssFileReader.readStyleSheet( "", resourceLoader );
    Theme theme = new Theme( themeId, "unknown", styleSheet );
    ApplicationContextImpl applicationContext = ContextProvider.getContext().getApplicationContext();
    environment.resetThemes();
    ThemeManager themeManager = applicationContext.getThemeManager();
    themeManager.registerTheme( theme );
  }
View Full Code Here

Examples of org.eclipse.rap.rwt.internal.theme.Theme

      public InputStream getResourceAsStream( String resourceName ) throws IOException {
        return new ByteArrayInputStream( "".getBytes() );
      }
    };
    StyleSheet styleSheet = CssFileReader.readStyleSheet( "", resourceLoader );
    Theme theme = new Theme( themeId, "unknown", styleSheet );
    ApplicationContextImpl applicationContext = ContextProvider.getContext().getApplicationContext();
    environment.resetThemes();
    ThemeManager themeManager = applicationContext.getThemeManager();
    themeManager.registerTheme( theme );
  }
View Full Code Here

Examples of org.eurekastreams.server.domain.Theme

        {
            person.setTheme(null);
        }
        else
        {
            person.setTheme(new Theme("", "", "", dto.getThemeCssFile(), "", "", "", ""));
        }

        TabGroup startTabGroup = new TabGroup();

        for (TabDTO tabDTO : dto.getTabDTOs())
View Full Code Here

Examples of org.fife.ui.rsyntaxtextarea.Theme

        // Creating XML editors tabbed pane
        final WebTabbedPane editorTabs = new WebTabbedPane ( TabbedPaneStyle.attached );
        editorsContainer = new WebPanel ( false, editorTabs );

        // Loading editor code theme
        final Theme theme = loadXmlEditorTheme ();

        // Parsing all related files
        final List<String> xmlContent = new ArrayList<String> ();
        final List<String> xmlNames = new ArrayList<String> ();
        final List<ResourceFile> xmlFiles = new ArrayList<ResourceFile> ();
View Full Code Here

Examples of org.flexdock.plaf.theme.Theme

            if( titlebarUIList.getSelectedValue() != null)
                p.setProperty(UIFactory.TITLEBAR_KEY, titlebarUIList.getSelectedValue().toString());
            if( buttonUIList.getSelectedValue() != null)
                p.setProperty(UIFactory.BUTTON_KEY, buttonUIList.getSelectedValue().toString());

            Theme theme = PlafManager.setCustomTheme("custom.theme", p);
            PlafManager.setPreferredTheme("custom.theme", true);
            themeInfo.update(theme);
            //PlafManager.installPreferredTheme();
        }
View Full Code Here

Examples of org.keycloak.freemarker.Theme

    }

    private void send(String subjectKey, String template, Map<String, Object> attributes) throws EmailException {
        try {
            ThemeProvider themeProvider = session.getProvider(ThemeProvider.class, "extending");
            Theme theme = themeProvider.getTheme(realm.getEmailTheme(), Theme.Type.EMAIL);

            String subject =  theme.getMessages().getProperty(subjectKey);
            String body = freeMarker.processTemplate(attributes, template, theme);

            send(subject, body);
        } catch (Exception e) {
            throw new EmailException("Failed to template email", e);
View Full Code Here

Examples of org.olat.core.gui.themes.Theme

  public Window(String name, WindowBackOfficeImpl wbackoffice) {
    super(name);
    this.wbackofficeImpl = wbackoffice;
    this.jsAndCssAdder = wbackoffice.createJSAndCSSAdder();
    // set default theme
    Theme myTheme = new Theme(Settings.getGuiThemeIdentifyer());
    setGuiTheme(myTheme);
  }
View Full Code Here

Examples of org.olat.core.gui.themes.Theme

    main.put("updatecontrol", jsc);
   
    // configure new message sound
    newMsgIcon.contextPut("iconsHolder", showNewMessageHolder);
   
    Theme guiTheme = getWindowControl().getWindowBackOffice().getWindow().getGuiTheme();
    String newMessageSoundURL = guiTheme.getBaseURI() + "/sounds/new_message.wav";
    File soundFile = new File(WebappHelper.getContextRoot() + "/themes/" + guiTheme.getIdentifyer() + "/sounds/new_message.wav");
    if (!soundFile.exists()) {
      // fallback to default theme when file does not exist in configured theme
      newMessageSoundURL = newMessageSoundURL.replace("/themes/" + guiTheme.getIdentifyer(), "/themes/default");
    }
    newMsgIcon.contextPut("newMessageSoundURL", newMessageSoundURL);

    notifieNewMsgPanel = new Panel("newMsgPanel");
    notifieNewMsgPanel.setContent(newMsgIcon);
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.