Package de.ailis.xadrian.dialogs

Examples of de.ailis.xadrian.dialogs.SaveComplexDialog


    /**
     * Prompts for a file name and saves the complex there.
     */
    public void saveAs()
    {
        final SaveComplexDialog dialog = SaveComplexDialog.getInstance();
        dialog.setSelectedFile(getSuggestedFile());
        File file = dialog.open();
        if (file != null)
        {
            // Add file extension if none present
            if (FileUtils.getExtension(file) == null)
                file = new File(file.getPath() + ".x3c");
View Full Code Here

TOP

Related Classes of de.ailis.xadrian.dialogs.SaveComplexDialog

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.