01: /*
02: * Copyright 2006 Google Inc.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
05: * use this file except in compliance with the License. You may obtain a copy of
06: * the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13: * License for the specific language governing permissions and limitations under
14: * the License.
15: */
16: package com.google.gwt.dev.cfg;
17:
18: import com.google.gwt.core.ext.TreeLogger;
19: import com.google.gwt.dev.util.msg.Message0;
20: import com.google.gwt.dev.util.msg.Message1String;
21: import com.google.gwt.dev.util.msg.Message2ClassClass;
22:
23: /**
24: * User messages related to configuration.
25: */
26: class Messages {
27:
28: public static final Message2ClassClass INVALID_CLASS_DERIVATION = new Message2ClassClass(
29: TreeLogger.ERROR, "Class '$0' must derive from '$1'");
30:
31: public static final Message1String PROPERTY_NAME_INVALID = new Message1String(
32: TreeLogger.ERROR, "Invalid property name '$0'");
33:
34: public static final Message1String PROPERTY_NOT_FOUND = new Message1String(
35: TreeLogger.ERROR, "Property '$0' not found");
36:
37: public static final Message1String PROPERTY_VALUE_INVALID = new Message1String(
38: TreeLogger.ERROR, "Invalid property value '$0'");
39:
40: public static final Message0 PUBLIC_PATH_LOCATIONS = new Message0(
41: TreeLogger.TRACE, "Public resources found in...");
42:
43: public static final Message0 SOURCE_PATH_LOCATIONS = new Message0(
44: TreeLogger.TRACE, "Translatable source found in...");
45:
46: public static final Message1String UNABLE_TO_CREATE_OBJECT = new Message1String(
47: TreeLogger.ERROR, "Unable to create an instance of '$0'");
48:
49: public static final Message1String UNABLE_TO_LOAD_CLASS = new Message1String(
50: TreeLogger.ERROR, "Unable to load class '$0'");
51: }
|