Package Core

Examples of Core.DataManager


        pileNodeValueIsChanged = false;
        pileDataValueIsChanged = false;
        manualEntry = true;
        mainForm = parent;
        numOfNodes = 1;
        dataManager = new DataManager(data);


    }
View Full Code Here


        openExistinLbl.setSelected(false);
    }//GEN-LAST:event_manualEntryLblActionPerformed

    private void nextBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_nextBtnActionPerformed
        data = new Data();
        DataManager dm = new DataManager(data);

        try {
            if (openExistinLbl.isSelected()) {

                if (filePath == null) {
                    throw new Exception("No File was Selected");
                }
                dm.importData(filePath);
                data = dm.getData();
                mainForm.setProjectPath(filePath);
                mainForm.changeTilte(filePath);
                finishDlg.setPreviousDialog(this);
                finishDlg.setMainForm(mainForm);
                this.setVisible(false);
                finishDlg.setVisible(true);
            }
            else {
                if (importExisitingLbl.isSelected()) {
                    if (filePath == null) {
                        throw new Exception("No File Was Selected");
                    }
                    dm.importData(filePath);
                    data = dm.getData();
                   
                   
                }
                this.setVisible(false);
                saveNfinDlg.setMainForm(mainForm);
View Full Code Here

TOP

Related Classes of Core.DataManager

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.