Package com.gi.desktop.maptool.dialog

Examples of com.gi.desktop.maptool.dialog.MapServiceConfDialog


    dialog.setVisible(true);
  }

  private MapServiceConfDialog getMapServiceConfDialog() {
    if (mapServiceConfDialog == null) {
      mapServiceConfDialog = new MapServiceConfDialog(this);
    }

    return mapServiceConfDialog;
  }
View Full Code Here


    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

TOP

Related Classes of com.gi.desktop.maptool.dialog.MapServiceConfDialog

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.