Package org.eclipse.ui.internal.intro.impl.html

Examples of org.eclipse.ui.internal.intro.impl.html.HTMLElement


        String content = null;

        if (page.isXHTMLPage())
            content = generateXHTMLPage(page, this);
        else {
            HTMLElement html = getHTMLGenerator().generateHTMLforPage(page,
                this);
            if (html != null) {
              IntroModelRoot root = getModel();
              if (root!=null) {
                Map props = root.getTheme()!=null?root.getTheme().getProperties():null;
                if (props!=null) {
                  String value = (String)props.get("standardSupport"); //$NON-NLS-1$
                  String doctype=null;
                  if ("strict".equalsIgnoreCase(value)) //$NON-NLS-1$
                    doctype = generateDoctype(true);
                  else if ("loose".equalsIgnoreCase(value)) //$NON-NLS-1$
                    doctype = generateDoctype(false);
                  if (doctype!=null)
                    content = doctype+html.toString();
                }
              }
              if (content==null)
                content = html.toString();
            }
        }


        if (content == null) {
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.intro.impl.html.HTMLElement

Copyright © 2018 www.massapicom. 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.