Package com.gi.engine.server.service

Examples of com.gi.engine.server.service.MapServiceDescFile


    return mapServiceConfDialog;
  }

  private void openMapServiceConfDialog() {
    MapServiceConfDialog dialog = getMapServiceConfDialog();
    MapServiceDescFile file = new MapServiceDescFile(this
        .getMapServiceDescFilePath());
    if (file.exists()) {
      dialog.loadMapServiceDesc(file);
    }
    dialog.setLocation(this.getX()+(this.getWidth() - dialog.getWidth()) / 2, this.getY()+(this
        .getHeight() - dialog.getHeight()) / 2);
    dialog.setVisible(true);
View Full Code Here


        }

        desc.setTileInfo(tileInfo);
      }

      MapServiceDescFile mapServiceDescFile = new MapServiceDescFile(app
          .getMapServiceDescFilePath());
      if (mapServiceDescFile.save(desc)) {
        JOptionPane.showMessageDialog(this, "Save Success!");
      }
    } catch (Exception e) {
      JOptionPane.showMessageDialog(this, "Error!");
    }
View Full Code Here

    String serviceDirAbsolutePath = ServiceManager.getMapServicesDir()
        .getAbsolutePath()
        + File.separator + realDirRelPath + File.separator;

    MapServiceDescFile mapServiceDescFile = new MapServiceDescFile(
        serviceDirAbsolutePath
            + ArchitectureUtil.MAP_SERVICE_DESC_FILE_NAME);
    mapServiceDesc = (MapServiceDesc) mapServiceDescFile.open();

    MapDescFile mapDescFile = new MapDescFile(serviceDirAbsolutePath
        + ArchitectureUtil.MAP_DESC_FILE_NAME);
    String password = mapServiceDesc.getPassword();
    if (password == null || "".equals(password.trim())) {
View Full Code Here

TOP

Related Classes of com.gi.engine.server.service.MapServiceDescFile

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.