⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drawingtoolrenderexception.java

📁 OpenMap是一个基于JavaBeansTM的开发工具包。利用OpenMap你就能够快速构建用于访问legacy数据库的应用程序与applets。OpenMap提供了允许用户查看和操作地理空间信息的
💻 JAVA
字号:
/*
 *  File: DrawingToolRenderException.java
 *  OptiMetrics, Inc.
 *  2107 Laurel Bush Road - Suite 209
 *  Bel Air, MD 21015
 *  (410)569 - 6081
 */
package com.bbn.openmap.dataAccess.shape;

import javax.swing.JOptionPane;

/**
 * Used to throw an exception when OMGraphics are not rendered as
 * OMGraphicConstants.RENDERTYPE_LATLON in EsriShapeExport and its
 * subclasses.
 */
public class DrawingToolRenderException extends Exception {

    /**
     * Displays a JOtionPane Message Dialog informing the user that
     * any Drawing Tool graphics not rendered in LAT/LON will not be
     * exported.
     */
    public static void notifyUserOfNonLatLonGraphics(int count) {
        String errMsg = "All Drawing Tool Graphics must be rendered as LAT/LON \nto be exported as ESRI shape files. \n\n"
                + count
                + " graphic"
                + (count > 1 ? "s" : "")
                + " not rendered in LAT/LON will not be exported.";
        String title = "Exporting Error";
        JOptionPane.showMessageDialog(null,
                errMsg,
                title,
                JOptionPane.ERROR_MESSAGE);
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -