Package com.qspin.qtaste.ui.tools

Examples of com.qspin.qtaste.ui.tools.HTMLDocumentLoader


                        return;
                    }
                    // re-generate the doc
                    parent.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
                    pScript.generateDoc();
                    HTMLDocumentLoader loader = new HTMLDocumentLoader();
                    HTMLDocument doc;
                    try {
                        File tcDoc = pScript.getTestcaseDoc();
                        if (tcDoc != null) {
                            doc = loader.loadDocument(tcDoc.toURI().toURL());
                            setTestCaseInfo(doc);
                        } else {
                            setTestCaseInfo(null);
                        }
                    } catch (MalformedURLException e1) {
View Full Code Here


    protected void setTestCaseDoc(final File f, final boolean activateSourceTab) {
        if (f == null) {
            testCasePane.setTestCaseInfo(null);
        } else {
            try {
                HTMLDocumentLoader loader = new HTMLDocumentLoader();
                HTMLDocument doc = loader.loadDocument(f.toURI().toURL());
                testCasePane.setTestCaseInfo(doc);
                if (activateSourceTab) {
                    testCasePane.getTabbedPane().setSelectedIndex(TestCasePane.DOC_INDEX);
                }
            } catch (IOException ex) {
View Full Code Here

TOP

Related Classes of com.qspin.qtaste.ui.tools.HTMLDocumentLoader

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.