Package org.antlr.xjlib.appkit.utils

Examples of org.antlr.xjlib.appkit.utils.XJFileChooser


    public Component getTabComponent() {
        return getContainer();
    }

    public void serializeSyntaxDiagram() {
        XJFileChooser fc = XJFileChooser.shared();
        if(fc.displaySaveDialog(window.getJavaContainer(), "txt", "XML representation", false)) {
            String[] args = new String[] { "-f", window.getFilePath(),
                    "-serialize", fc.getSelectedFilePath(), "-verbose"};
            try {
                org.antlr.works.Console.main(args);
            } catch (Exception e) {
                e.printStackTrace();
                XJAlert.display(window.getJavaContainer(), "Serialize Syntax Diagram", e.toString());
View Full Code Here

TOP

Related Classes of org.antlr.xjlib.appkit.utils.XJFileChooser

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.