KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > google > gwt > dev > shell > Messages


1 /*
2  * Copyright 2006 Google Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5  * use this file except in compliance with the License. You may obtain a copy of
6  * the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.shell;
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.Message1StringArray;
22 import com.google.gwt.dev.util.msg.Message1ToString;
23
24 /**
25  * End-user messages related to the shell.
26  */

27 public final class Messages {
28
29   public static final Message1ToString TRACE_CHECKING_RULE = new Message1ToString(
30       TreeLogger.DEBUG, "Checking rule $0");
31
32   public static final Message0 TRACE_CONDITION_DID_NOT_MATCH = new Message0(
33       TreeLogger.DEBUG, "Condition was not satisfied");
34
35   public static final Message0 TRACE_CONDITION_MATCHED = new Message0(
36       TreeLogger.DEBUG, "Condition was satisfied");
37
38   public static final Message0 TRACE_RULE_DID_NOT_MATCH = new Message0(
39       TreeLogger.DEBUG, "Rule did not match");
40
41   public static final Message0 TRACE_RULE_MATCHED = new Message0(
42       TreeLogger.DEBUG, "Rule was a match and will be used");
43
44   public static final Message1String TRACE_TOPLEVEL_REBIND = new Message1String(
45       TreeLogger.DEBUG, "Rebinding $0");
46
47   public static final Message1String TRACE_TOPLEVEL_REBIND_RESULT = new Message1String(
48       TreeLogger.DEBUG, "Rebind result was $0");
49
50   public static final Message1StringArray UNABLE_TO_REBIND_DUE_TO_CYCLE_IN_RULES = new Message1StringArray(
51       TreeLogger.WARN,
52       "The deferred binding request failed due to a cycle in the applicable rules: $0");
53
54   // no instances
55
private Messages() {
56   }
57 }
58
Popular Tags