aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-gwt-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-11-09 17:44:08 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-11-12 09:51:10 +0100
commit28ea5343cecd54729ddf2bc4008a1220414e54ec (patch)
tree25cfed40aafaadc28fe879a356e2b656b5bd2f83 /sonar-gwt-api
parent226b0f2eb42bf9a7c6ace5f9aefcd63e83382d51 (diff)
downloadsonarqube-28ea5343cecd54729ddf2bc4008a1220414e54ec.tar.gz
sonarqube-28ea5343cecd54729ddf2bc4008a1220414e54ec.zip
Revert "SONAR-3945 - Delete unused file"
This reverts commit 75f0728f71c42182700d3608b128bd8772ad34a5.
Diffstat (limited to 'sonar-gwt-api')
-rw-r--r--sonar-gwt-api/src/main/java/org/sonar/gwt/ui/Loading.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/sonar-gwt-api/src/main/java/org/sonar/gwt/ui/Loading.java b/sonar-gwt-api/src/main/java/org/sonar/gwt/ui/Loading.java
new file mode 100644
index 00000000000..30285c61159
--- /dev/null
+++ b/sonar-gwt-api/src/main/java/org/sonar/gwt/ui/Loading.java
@@ -0,0 +1,33 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2008-2012 SonarSource
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * Sonar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
+ */
+package org.sonar.gwt.ui;
+
+import com.google.gwt.user.client.ui.Label;
+
+public class Loading extends Label {
+ public Loading() {
+ this("loading...");
+ }
+
+ public Loading(String text) {
+ setStyleName("loading");
+ setText(text);
+ }
+}