Examples of save()


Examples of net.br410bury.formats.BvhFormat.save()

    BvhFormat bvh = new BvhFormat();
    JFrame bvhframe = new JFrame("Test");
    BvhPanel bvhpanel = new BvhPanel(bvhframe, bvh);
   
    bvh.read("var/ex.bvh");
    bvh.save("var/test.bvh");
    bvh.read("var/swordplay.bvh");
   
    bvhframe.setLayout(new BorderLayout());
    bvhframe.add(bvhpanel);
    bvhframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
View Full Code Here

Examples of net.citizensnpcs.properties.Storage.save()

                local.setRaw(node.getPath(), node.getValue());
            } else {
                node.set(local.getRaw(node.getPath()));
            }
            loadedNodes.put(node.getName(), node);
            local.save();
        }
    }

    static {
        // citizens.yml
View Full Code Here

Examples of net.citizensnpcs.questers.Quester.save()

  @Override
  public void saveState(HumanNPC npc) {
    if (exists(npc)) {
      setEnabled(npc, npc.isType("quester"));
      Quester quester = npc.getType("quester");
      quester.save(profiles, npc.getUID());
    }
  }

  @Override
  public void setEnabled(HumanNPC npc, boolean value) {
View Full Code Here

Examples of net.citizensnpcs.questers.data.PlayerProfile.save()

            sender.sendMessage(ChatColor.GRAY + "Player already has a quest. Use the -f flag to force add the quest.");
            return;
        }
        profile.setProgress(new QuestProgress(args.getInteger(2), other, quest, System.currentTimeMillis()));
        if (other == null)
            profile.save();
        sender.sendMessage(ChatColor.GREEN + "Quest added.");
    }

    @Command(aliases = "quest", usage = "clear [player|*] [quest|*]", desc = "gives a quest to a player", modifiers = {
            "clear", "purge" }, min = 3, flags = "c")
View Full Code Here

Examples of net.coljac.pirates.CardDatabase.save()

        } else {
          System.out.println("Several results " + name);
        }

      }
      db.save();

    } catch (IOException e) {
      e.printStackTrace();
    }
View Full Code Here

Examples of net.datacrow.console.views.View.save()

            View view = parent.getCurrent();
            boolean saved = view.isChangesSaved();
           
            if (!saved && view.getCurrentTask() != null) {
                if (DcSwingUtilities.displayQuestion("msgNotSaved"))
                    view.save(false);
            }
           
            PollerTask poller = new PollerTask(this, DcResources.getText("lblFiltering"));
            poller.start();
           
View Full Code Here

Examples of net.datacrow.core.modules.ModuleJar.save()

    }

    private void save(XmlModule module, String filename) throws Exception {
        ModuleJar mj = new ModuleJar(module);
        mj.setFilename(filename);
        mj.save();
    }
   
    private XmlField getField(int index, Collection<XmlField> fields) {
        for (XmlField field : fields)
            if (field.getIndex() == index)
View Full Code Here

Examples of net.datacrow.core.resources.DcLanguageResource.save()

            String key = (String) tableTips.getValueAt(i, 0, true);
            String value = (String) tableTips.getValueAt(i, 1, true);
            resources.put(key, value);
        }
       
        resources.save();
    }
   
    private void setActiveTopic() {
        Dimension size = panelInput.getSize();
        selected = topicList.getSelectedIndex();
View Full Code Here

Examples of net.datacrow.settings.Settings.save()

                    definition.setRequired(field.getDefinition().isRequired());
                    definition.setLabel("");
                }
            }
            settings.set(DcRepository.ModuleSettings.stEnabled, Boolean.TRUE);
            settings.save();
           
            close();
        } catch (Exception e) {
            throw new WizardException(DcResources.getText("msgCouldNotWriteModuleFile", e.getMessage()));
        }
View Full Code Here

Examples of net.datacrow.util.DcImageIcon.save()

        } else {
            if (base64 != null) {
                icon = Utilities.base64ToImage(base64);
                String filename = DataCrow.iconsDir + ID + ".png";
                icon.setFilename(filename);
                icon.save();
            }
            icons.put(ID, icon);
        }
       
        if (icon != null && !icon.exists())
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.