Package de.ailis.xadrian.data

Examples of de.ailis.xadrian.data.Complex


            final SelectGameDialog dialog = SelectGameDialog.getInstance();
            if (dialog.open() != Result.OK) return;
            game = dialog.getGame();
            if (dialog.isRemember()) config.setDefaultGame(game.getId());
        }
        createComplexTab(new ComplexEditor(new Complex(game)));
    }
View Full Code Here


     * @param templateCode
     *            The template code to import.
     */
    public void importFromTemplateCode(final String templateCode)
    {
        final Complex complex = Complex.fromTemplateCode(templateCode);
        final ComplexEditor editor = new ComplexEditor(complex);
        createLoadedComplexTab(editor);
    }
View Full Code Here

        try
        {
            final SAXReader reader = new SAXReader();
            final Document document = reader.read(file);
            final Complex complex = Complex.fromXML(document);
            complex.setName(FileUtils.getNameWithoutExt(file));
            editor = new ComplexEditor(complex, file);
            createLoadedComplexTab(editor);
        }
        catch (final DocumentException e)
        {
View Full Code Here

TOP

Related Classes of de.ailis.xadrian.data.Complex

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.