Examples of save()


Examples of net.sourceforge.marathon.util.FileHandler.save()


    public File save() {
        try {
            FileHandler fileHandler = (FileHandler) editor.getData("filehandler");
            File file = fileHandler.save(editor.getText(), editor.getComponent(), "");
            if (file != null) {
                editor.clearUndo();
                editor.setData("filename", fileHandler.getCurrentFile().getName());
            }
            updateView();
View Full Code Here

Examples of net.sourceforge.peers.Config.save()

                JOptionPane.showMessageDialog(this, e.getMessage());
                logger.error("sip uri syntax issue", e);
                return;
            }
        }
        config.save();
        unregistering = false;
        if (password != null && password.length > 0) {
            Runnable runnable = new Runnable() {
                public void run() {
                    try {
View Full Code Here

Examples of net.sourceforge.processdash.ev.EVSnapshot.Metadata.save()

            // retrieve the edited values and save the changes
            String newName = userValues[0];
            if (newName.length() > 0)
                snap.setName(newName);
            snap.setComment(userValues[1]);
            snap.save(data);

            // alert the list model so it can redraw the given item
            snapshotModel.set(selIdx, snap);
        }
    }
View Full Code Here

Examples of net.sourceforge.processdash.ev.EVTaskList.save()

        if (newName != null) {
            EVTaskList taskList = EVTaskList.openExisting
                (taskListName, dash.getData(), dash.getHierarchy(),
                 dash.getCache(), false);
            if (taskList != null)
                taskList.save(newName);
            refreshList();
            dialog.toFront();
        }
    }
View Full Code Here

Examples of net.sourceforge.processdash.ev.EVTaskListRollup.save()

            // create the new task list, and add the current list to it.
            EVTaskListRollup rollup = new EVTaskListRollup
                (newName, data, hierarchy, cache, false);
            rollup.addTask(TaskScheduleCollaborationWizard.this.taskListName,
                           data, hierarchy, cache, false);
            rollup.save();
            rollup = null;

            // display the results screen.
            rollupTaskListName = newName;
            showResultsScreen(ROLLUP, NO_PASSWORD);
View Full Code Here

Examples of net.sourceforge.rtf.document.RTFDocument.save()

         * 8. Put Context
         */
        putContext(rtfTemplate.getContext());
        if (saveTransformedDocument) {
            RTFDocument transformedDocument = rtfTemplate.transform();
            transformedDocument.save(new File(rtfTransformedDocumentOutput));
        }

        /**
         * 9. Merge template and context
         */
 
View Full Code Here

Examples of net.sourceforge.squirrel_sql.fw.xml.XMLBeanWriter.save()

  {
    File prefsFile = new ApplicationFiles().getUserPreferencesFile();
    try
    {
      XMLBeanWriter wtr = new XMLBeanWriter(this);
      wtr.save(prefsFile);
    }
    catch (Exception ex)
    {
      s_log.error(s_stringMgr.getString("SquirrelPreferences.error.writing",
                        prefsFile.getPath()), ex);
View Full Code Here

Examples of net.sourceforge.syncyoursecrets.gui.rcp.model.PWListContentProvider.save()

    View view = (View) page.findView(View.ID);

    PWListContentProvider contentProvider = (PWListContentProvider) view
        .getContentProvider();
    try {
      contentProvider.save();

    } catch (Exception e) {
      e.printStackTrace();
      MessageDialog.openError(shell, "Cannot save file to file", e
          .getMessage());
View Full Code Here

Examples of net.sourceforge.syncyoursecrets.gui.rcp.model.list.PWListContentProvider.save()

    PWListContentProvider contentProvider = (PWListContentProvider) view
        .getContentProvider();
    try {

      contentProvider.save();
      MessageDialog.showInfoMessage("File successfully saved",
          "File saved", logger);
    } catch (SysGenericException e) {
      String msg = "Cannot save file to file " + e.getMessage();
      MessageDialog.showExpectedErrorMessage(msg, logger, e);
View Full Code Here

Examples of net.visualillusionsent.utils.PropertiesFile.save()

        if (!plugin_cfg_cache.containsKey(plugin)) {
            plugin_cfg_cache.put(plugin, new HashMap<String, PropertiesFile>());
        }
        if (!plugin_cfg_cache.get(plugin).containsKey(filepath)) {
            PropertiesFile file = new PropertiesFile(filepath);
            file.save();

            plugin_cfg_cache.get(plugin).put(filepath, file);
        }
        return plugin_cfg_cache.get(plugin).get(filepath);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.