001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: package org.netbeans.modules.uml.common;
043:
044: /**
045: * @author Embarcadero Technologies Inc.
046: *
047: *
048: */
049: /**
050: * Handles locale dependant error messages.
051: */
052: public interface ETStrings {
053:
054: StringResolver rb = new StringResolver(
055: "org.netbeans.modules.uml.common.nls.Bundle");
056:
057: /**
058: * General
059: */
060:
061: // Error id was not present in the resource bundle
062: MsgID E_CMN_UNKNOWN_MSGID = new MsgID("E_CMN_UNKNOWN_MSGID", rb);
063: // Error id was not present in the resource bundle
064: MsgID E_CMN_ACCESS_DENIED = new MsgID("E_CMN_ACCESS_DENIED", rb);
065: // An unexpected error occurred
066: MsgID E_CMN_UNEXPECTED_EXC = new MsgID("E_CMN_UNEXPECTED_EXC", rb);
067: // File does not exist
068: MsgID E_CMN_FILE_NO_EXIST = new MsgID("E_CMN_FILE_NO_EXIST", rb);
069: // Error writing file
070: MsgID E_CMN_WRITE_FILE = new MsgID("E_CMN_WRITE_FILE", rb);
071: // Directory does not exist
072: MsgID E_CMN_DIR_NO_EXIST = new MsgID("E_CMN_DIR_NO_EXIST", rb);
073: // Initializing system
074: MsgID D_CMN_INIT_START = new MsgID("D_CMN_INIT_START", rb);
075: // Initialize completed
076: MsgID D_CMN_INIT_DONE = new MsgID("D_CMN_INIT_DONE", rb);
077:
078: // Unknown action
079: MsgID E_CMN_UNKNOWN_ACTION = new MsgID("E_CMN_UNKNOWN_ACTION", rb);
080:
081: // Error cloning attributes
082: MsgID E_CMN_CLONE_ATTRIBUTES = new MsgID("E_CMN_CLONE_ATTRIBUTES",
083: rb);
084: // Instantiation Exception
085: MsgID E_CMN_CREATE_INSTANCE = new MsgID("E_CMN_CREATE_INSTANCE", rb);
086: // Illegal Access Exception
087: MsgID E_CMN_ILLEGAL_ACCESS = new MsgID("E_CMN_ILLEGAL_ACCESS", rb);
088: // Class Not Found Exception
089: MsgID E_CMN_CLASS_NOT_FOUND = new MsgID("E_CMN_CLASS_NOT_FOUND", rb);
090:
091: /**
092: * XML
093: */
094: // XML Directory was not set
095: MsgID E_CMN_XML_DIR_NOT_SET = new MsgID("E_CMN_XML_DIR_NOT_SET", rb);
096: // XML File was not set
097: MsgID E_CMN_XML_FILE_NOT_SET = new MsgID("E_CMN_XML_FILE_NOT_SET",
098: rb);
099: // Error occurred writing XML to the given stream
100: MsgID E_CMN_XML_WRITE = new MsgID("E_CMN_XML_WRITE", rb);
101: // Error occurred parsing XML
102: MsgID E_CMN_XML_PARSE = new MsgID("E_CMN_XML_PARSE", rb);
103:
104: /**
105: * Draw Engine
106: */
107:
108: MsgID E_ENG_INIT_FAILED = new MsgID("E_ENG_INIT_FAILED", rb);
109:
110: /**
111: * Compartments
112: */
113:
114: MsgID E_CMP_CREATE_FAILED = new MsgID("E_CMP_CREATE_FAILED", rb);
115:
116: }
|