Examples of save()


Examples of net.sf.joafip.store.service.heaprecordable.HeapRecordableManager.save()

    recordableManager.attach(storeHeader);
    assertEquals("must be first record",
        StoreForTest.IDENTIFIER_FOR_STORE_HEADER,
        storeHeader.getDataRecordIdentifier());
    storeHeader.setStateHaveChanged();
    recordableManager.save();
    dataManager.flush();

    final ClassInfoFactory classInfoFactory = new ClassInfoFactory(1);
    classInfoFactory.setConversionManager(new ConversionManager(
        classInfoFactory));
View Full Code Here

Examples of net.sf.jpluck.jxl.JXL.save()

                site.appendChild(name);
                name.appendChild(dom.createTextNode("default"));
                site.appendChild(dom.createElement("uri"));               
                defaultDocument = jxl.add(site);
                try {
                    jxl.save(new File(getDefaultJXLPath()));
                } catch (IOException e) {
                    defaultDocument = null;
                    throw e;
                }
            }
View Full Code Here

Examples of net.sf.rej.files.Project.save()

        try {
      Archive archive = Archive.createNew(archiveFile);
      Project project = new Project();
      project.setFile(archiveFile);
      project.setFileSet(archive);
      project.save();
      openProject(project);
    } catch (Exception e) {
      handleException(e);
    }
    }
View Full Code Here

Examples of net.sf.robocode.ui.gfx.GraphicsState.save()

      }

      // Save the graphics state
      GraphicsState gfxState = new GraphicsState();

      gfxState.save(g);

      g.setClip(null);
      g.setComposite(AlphaComposite.SrcAtop);

      IGraphicsProxy gfxProxy = getRobotGraphics(robotIndex);
View Full Code Here

Examples of net.sourceforge.coffea.uml2.model.creation.ModelServiceBuilder.save()

      // We get the package location to have the absolute URL
      IPath res = element.getResource().getLocation();
      String path = res.toOSString();
      // We save documents from the processed elements to the package
      // URL
      builder.save(
          path,
          builder.getCoffeeName(),
          new SubProgressMonitor(monitor, 3)
      );
      lastSourceWorkbenchWindow = null;
View Full Code Here

Examples of net.sourceforge.coffea.uml2tools.diagram.creation.ClassDiagramBuilder.save()

      // We get the package location to have the absolute URL
      IPath res = element.getResource().getLocation();
      String path = res.toOSString();
      // We save documents from the processed elements to the package
      // URL
      builder.save(
          path,
          builder.getCoffeeName(),
          new SubProgressMonitor(monitor, 3)
      );
      lastSourceWorkbenchWindow = null;
View Full Code Here

Examples of net.sourceforge.fullsync.ProfileManager.save()

      MessageBox mb = new MessageBox(getShell(), SWT.ICON_QUESTION | SWT.YES | SWT.NO);
      mb.setText(Messages.getString("MainWindow.Confirmation")); //$NON-NLS-1$
      mb.setMessage(Messages.getString("MainWindow.Do_You_Want_To_Delete_Profile") + " " + p.getName() + " ?"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
      if (mb.open() == SWT.YES) {
        profileManager.removeProfile(p);
        profileManager.save();
      }
    }
  }

  protected void toolItemScheduleWidgedSelected(SelectionEvent evt) {
View Full Code Here

Examples of net.sourceforge.fullsync.impl.ConfigurationPreferences.save()

          GuiController guiController = new GuiController(preferences, profileManager, sync);
          guiController.startGui(line.hasOption('m'));

          if (!line.hasOption('P') && !preferences.getHelpShown() && (null == System.getProperty("net.sourceforge.fullsync.skipHelp"))) {
            preferences.setHelpShown(true);
            preferences.save();
            File f = new File("docs/manual/manual.html");
            if (f.exists()) {
              GuiController.launchProgram(f.getAbsolutePath());
            }
          }
View Full Code Here

Examples of net.sourceforge.ganttproject.io.GPSaver.save()

    public void write() throws IOException {
        GPSaver saver = myParserFactory.newSaver();
        byte[] buffer;
        try {
            ByteArrayOutputStream bufferStream = new ByteArrayOutputStream();
            saver.save(bufferStream);
            bufferStream.flush();
            buffer = bufferStream.toByteArray();
        }
        catch (IOException e) {
          getUIFacade().showErrorDialog(e);
View Full Code Here

Examples of net.sourceforge.ganttproject.io.GanttCSVExport.save()

    // TODO Auto-generated method stub
    if (!outputFile.exists()) {
      outputFile.createNewFile();
    }
    GanttCSVExport legacyExporter = new GanttCSVExport(myProject, myOptions.getCSVOptions());
    legacyExporter.save(new FileOutputStream(outputFile));
        finalizationJob.run(new File[] {outputFile});
  }

  public String proposeFileExtension() {
    return FILE_EXTENSIONS[0];
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.