]> source.dussan.org Git - sonarqube.git/commitdiff
Revert "SONAR-3945 - Delete unused file"
authorSimon Brandhof <simon.brandhof@gmail.com>
Fri, 9 Nov 2012 16:44:08 +0000 (17:44 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Mon, 12 Nov 2012 08:51:10 +0000 (09:51 +0100)
This reverts commit 75f0728f71c42182700d3608b128bd8772ad34a5.

sonar-gwt-api/src/main/java/org/sonar/gwt/ui/Loading.java [new file with mode: 0644]

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 (file)
index 0000000..30285c6
--- /dev/null
@@ -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);
+  }
+}