Package de.yaams.maker.programm.project

Examples of de.yaams.maker.programm.project.Project


    addInt(e, 3, 0);
    addInt(e, 4, 0);
    addInt(e, 5, 0);

    // build panel
    Project p = e.getYecl().getProject();

    FormComboBox c = CommandFormHelper.buildCodeIdChancer(e, I18N.t("Setze"), JavaHelper.numAry(317, 322), types);

    f.getHeader("basic").setColumn(4);
    f.addElement("basic.type", c);
View Full Code Here


  public static YaTab getTab(String id) {

    // build vars
    String uid;
    HashMap<String, String> parameter = new HashMap<String, String>();
    Project p = null;
    YaTab tab;

    // get id
    if (id.contains("#")) {
      uid = id.substring(0, id.indexOf("#"));
View Full Code Here

    addInt(e, 2, 0);
    addInt(e, 3, 0);
    addBoolean(e, 4, false);

    // build panel
    Project p = e.getYecl().getProject();

    FormComboBox c = CommandFormHelper.buildCodeIdChancer(e, I18N.t("Setze"), JavaHelper.numAry(331, 336), types);

    f.getHeader("basic").setColumn(4);
    f.addElement("basic.type", c);
View Full Code Here

  public void buildPanel(FormBuilder f, final EventCode e) {
    // check parameters
    addString(e, 2, "");

    // build panel
    Project p = e.getYecl().getProject();

    FormComboBox c = CommandFormHelper.buildCodeIdChancer(e, I18N.t("Setze"), new String[] { "320", "322" }, new String[] { "Name",
        "Grafik" });

    f.getHeader("basic").setColumn(4);
View Full Code Here

      @Override
      public void work(HashMap<String, Object> objects) {
        ArrayList<BasisListElement> eles = (ArrayList<BasisListElement>) objects.get("list");

        final Project project = (Project) objects.get("project");

        // right project?
        if (!RGSSProjectHelper.is(project, true, false)) {
          return;
        }
View Full Code Here

        // right tab?
        if (tab instanceof ProjectTab) {

          // has project?
          final Project p = ((ProjectTab) tab).getProject();
          if (!RGSSProjectHelper.is(p, true, true)) {
            return;
          }

          // add run button
View Full Code Here

    ExtentionManagement.add("rgssproject.hometag", new IExtension() {

      @Override
      public void work(HashMap<String, Object> objects) {

        final Project p = (Project) objects.get("project");
        int rgss = RGSSProjectHelper.getRGSSVersion(p);

        // right typ?
        if (!SystemUtils.IS_OS_WINDOWS || rgss < 1 || rgss > 2) {
          return;
        }

        // licence?
        if (rgss == 1 && !Setting.get("licence.xp", false) || rgss == 2 && !Setting.get("licence.vx", false)) {
          return;
        }

        final DockLinkPanel link = (DockLinkPanel) objects.get("link");

        // add
        if (rgss == 1) {
          link.addLink(I18N.t("Im RPG Maker XP öffnen"), "rpgxp", new AE() {

            @Override
            public void run() {
              // which type?
              SystemHelper.viewFile(new File(p.getPath(), "Game.rxproj"));

            }
          });
        }

        // add2
        if (rgss == 2) {
          link.addLink(I18N.t("Im RPG Maker VX öffnen"), "rpgvx", new AE() {

            @Override
            public void run() {
              // which type?
              SystemHelper.viewFile(new File(p.getPath(), "Game.vxproj"));

            }
          });
        }
View Full Code Here

    // add ex
    ExtentionManagement.add(Project.EXLOAD, new IExtension() {

      @Override
      public void work(HashMap<String, Object> objects) {
        Project p = (Project) objects.get("project");

        // add it
        if (!p.getObjects().containsKey("notes")) {
          p.addObjManager(new NoteObjManager(), "notes");
        }
      }
    });
  }
View Full Code Here

    // add ex
    ExtentionManagement.add(Project.EXLOAD, new IExtension() {

      @Override
      public void work(HashMap<String, Object> objects) {
        Project p = (Project) objects.get("project");

        // add it
        if ("diamant".equals(p.getTypeAsString()) && !p.getObjects().containsKey("tileset")) {
          p.addObjManager(new TilesetObjManager(), "tileset");
        }

        // add it
        if ("diamant".equals(p.getTypeAsString()) && !p.getObjects().containsKey("map")) {
          p.addObjManager(new MapsObjManager("Rätselkarten", "map"), "map");
        }

        // add it
        if ("diamant".equals(p.getTypeAsString()) && !p.getObjects().containsKey("tutorial")) {
          p.addObjManager(new MapsObjManager("Tutorialkarten", "tutorial"), "tutorial");
        }
      }
    });
  }
View Full Code Here

    // add ex
    ExtentionManagement.add(Project.EXLOAD, new IExtension() {

      @Override
      public void work(HashMap<String, Object> objects) {
        Project p = (Project) objects.get("project");

        // add it
        if ("quiz".equals(p.getTypeAsString()) && !p.getObjects().containsKey("quiz")) {
          p.addObjManager(new QuestionObjManager(), "quiz");
        }
      }
    });
  }
View Full Code Here

TOP

Related Classes of de.yaams.maker.programm.project.Project

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.