Greg Sheremeta has uploaded a new change for review.

Change subject: userportal, webadmin: rename SafeHtmlCellWithTooltip -> 
SafeHtmlCell
......................................................................

userportal, webadmin: rename SafeHtmlCellWithTooltip -> SafeHtmlCell

(Patch 4i of 12)

No logic changes. Just a rename.

Change-Id: I0b5d0a714ee5cfd91a2b6c718b906a5c46677a1f
Signed-off-by: Greg Sheremeta <[email protected]>
---
R 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/cell/SafeHtmlCell.java
M 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/header/ResizableHeader.java
M 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/header/ResizeableCheckboxHeader.java
M 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/resize/ColumnResizeCellTable.java
4 files changed, 9 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/14/38614/1

diff --git 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/cell/SafeHtmlCellWithTooltip.java
 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/cell/SafeHtmlCell.java
similarity index 86%
rename from 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/cell/SafeHtmlCellWithTooltip.java
rename to 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/cell/SafeHtmlCell.java
index 4e42869..6b9469d 100644
--- 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/cell/SafeHtmlCellWithTooltip.java
+++ 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/cell/SafeHtmlCell.java
@@ -11,13 +11,13 @@
  * This cell does not escape the (SafeHtml) value when rendering cell HTML, 
i.e. the value is considered to be 'safe'
  * already.
  */
-public class SafeHtmlCellWithTooltip extends AbstractCellWithTooltip<SafeHtml> 
{
+public class SafeHtmlCell extends AbstractCellWithTooltip<SafeHtml> {
 
-    public SafeHtmlCellWithTooltip() {
+    public SafeHtmlCell() {
         super(BrowserEvents.MOUSEOVER);
     }
 
-    public SafeHtmlCellWithTooltip(String... consumedEvents) {
+    public SafeHtmlCell(String... consumedEvents) {
         super(consumedEvents);
     }
 
diff --git 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/header/ResizableHeader.java
 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/header/ResizableHeader.java
index 53d5656..a31cac1 100644
--- 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/header/ResizableHeader.java
+++ 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/header/ResizableHeader.java
@@ -1,6 +1,6 @@
 package org.ovirt.engine.ui.common.widget.table.header;
 
-import org.ovirt.engine.ui.common.widget.table.cell.SafeHtmlCellWithTooltip;
+import org.ovirt.engine.ui.common.widget.table.cell.SafeHtmlCell;
 import org.ovirt.engine.ui.common.widget.table.resize.ColumnResizeHandler;
 import org.ovirt.engine.ui.common.widget.table.resize.HasResizableColumns;
 
@@ -109,7 +109,7 @@
      * @param table The table containing the header/column.
      */
     public ResizableHeader(SafeHtml text, Column<T, ?> column, 
HasResizableColumns<T> table, boolean applyStyle) {
-        this(text, column, table, new 
SafeHtmlCellWithTooltip(BrowserEvents.CLICK,
+        this(text, column, table, new SafeHtmlCell(BrowserEvents.CLICK,
                 BrowserEvents.MOUSEDOWN,
                 BrowserEvents.MOUSEMOVE,
                 BrowserEvents.MOUSEOVER), applyStyle);
diff --git 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/header/ResizeableCheckboxHeader.java
 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/header/ResizeableCheckboxHeader.java
index 438ffee..c9da30e 100644
--- 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/header/ResizeableCheckboxHeader.java
+++ 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/header/ResizeableCheckboxHeader.java
@@ -1,6 +1,6 @@
 package org.ovirt.engine.ui.common.widget.table.header;
 
-import org.ovirt.engine.ui.common.widget.table.cell.SafeHtmlCellWithTooltip;
+import org.ovirt.engine.ui.common.widget.table.cell.SafeHtmlCell;
 import org.ovirt.engine.ui.common.widget.table.resize.HasResizableColumns;
 
 import com.google.gwt.cell.client.Cell.Context;
@@ -16,7 +16,7 @@
 
     public ResizeableCheckboxHeader(CheckboxHeader checkboxHeader,
             Column<T, ?> column, HasResizableColumns<T> table) {
-        super(checkboxHeader.getTitle(), column, table, new 
SafeHtmlCellWithTooltip(
+        super(checkboxHeader.getTitle(), column, table, new SafeHtmlCell(
                 BrowserEvents.CLICK,
                 BrowserEvents.MOUSEDOWN,
                 BrowserEvents.MOUSEMOVE,
diff --git 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/resize/ColumnResizeCellTable.java
 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/resize/ColumnResizeCellTable.java
index 4284be9..a6dea6d 100644
--- 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/resize/ColumnResizeCellTable.java
+++ 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/resize/ColumnResizeCellTable.java
@@ -8,7 +8,7 @@
 
 import org.ovirt.engine.ui.common.CommonApplicationTemplates;
 import org.ovirt.engine.ui.common.system.ClientStorage;
-import org.ovirt.engine.ui.common.widget.table.cell.SafeHtmlCellWithTooltip;
+import org.ovirt.engine.ui.common.widget.table.cell.SafeHtmlCell;
 import org.ovirt.engine.ui.common.widget.table.column.EmptyColumn;
 import org.ovirt.engine.ui.common.widget.table.header.CheckboxHeader;
 import org.ovirt.engine.ui.common.widget.table.header.ResizableHeader;
@@ -184,7 +184,7 @@
     }
 
     Header<?> createSafeHtmlHeader(final SafeHtml text) {
-        return new Header<SafeHtml>(new SafeHtmlCellWithTooltip()) {
+        return new Header<SafeHtml>(new SafeHtmlCell()) {
             @Override
             public SafeHtml getValue() {
                 if (text != null && applyResizableHeaderStyle) {


-- 
To view, visit https://gerrit.ovirt.org/38614
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b5d0a714ee5cfd91a2b6c718b906a5c46677a1f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Sheremeta <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to