Package biz.wolschon.finance.jgnucash.AbstractScriptablePlugin

Examples of biz.wolschon.finance.jgnucash.AbstractScriptablePlugin.ScriptEditorPanel


        }

        JDialog f = new JDialog(null,
                "new Script (" + getPluginName() + "-import waiting to resume)",
                ModalityType.APPLICATION_MODAL);
        ScriptEditorPanel editor = new ImportScriptEditorPanel(maxScriptnum, text,
                                                               date, value,
                                                               getMyProperties(), this);
        f.getContentPane().add(editor);
        f.pack();
        f.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
        f.setVisible(true);

        // if the script was saved, return it to be run
        if (!editor.wasCanceled()
                && getMyProperties().containsKey(
                        getPluginName() + SETTINGS_PREFIX_IMPORTSCRIPT_REGEXP + maxScriptnum)) {
            return maxScriptnum;
        }
        return null;
View Full Code Here

TOP

Related Classes of biz.wolschon.finance.jgnucash.AbstractScriptablePlugin.ScriptEditorPanel

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.