| <!-- --> | |
| <!-- Copyright 2008 Google Inc. --> | |
| <!-- Licensed under the Apache License, Version 2.0 (the "License"); you --> | |
| <!-- may not use this file except in compliance with the License. You may --> | |
| <!-- may obtain a copy of the License at --> | |
| <!-- --> | |
| <!-- http://www.apache.org/licenses/LICENSE-2.0 --> | |
| <!-- --> | |
| <!-- Unless required by applicable law or agreed to in writing, software --> | |
| <!-- distributed under the License is distributed on an "AS IS" BASIS, --> | |
| <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or --> | |
| <!-- implied. License for the specific language governing permissions and --> | |
| <!-- limitations under the License. --> | |
| <!-- Adds debug ID support for UIObjects. --> | |
| <module> | |
| <inherits name="com.google.gwt.core.Core" /> | |
| <!-- Enable or disable the UIObject.ensureDebugID method --> | |
| <define-property name="gwt.enableDebugId" values="true, false"/> | |
| <!-- Default to enabled --> | |
| <set-property name="gwt.enableDebugId" value="true"/> | |
| <!-- Replace the DebugIdImpl --> | |
| <replace-with class="com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled"> | |
| <when-type-is class="com.google.gwt.user.client.ui.UIObject.DebugIdImpl"/> | |
| <when-property-is name="gwt.enableDebugId" value="true"/> | |
| </replace-with> | |
| <!-- Replace the DebugInfoImpl --> | |
| <replace-with class="com.google.gwt.debug.client.DebugInfo.DebugInfoImplEnabled"> | |
| <when-type-is class="com.google.gwt.debug.client.DebugInfo.DebugInfoImpl"/> | |
| <when-property-is name="gwt.enableDebugId" value="true"/> | |
| </replace-with> | |
| </module> |