From 9b7b4b1265c2361c64b6377fc13aabbec51b4499 Mon Sep 17 00:00:00 2001 From: Jani Laakso Date: Thu, 20 Sep 2007 08:02:06 +0000 Subject: [PATCH] Refactoring for new package convention. svn changeset:2348/svn branch:trunk --- .../itmill/toolkit/terminal/gwt/client/ui/ContextMenu.java | 6 +++--- .../itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java | 4 ++-- src/com/itmill/toolkit/terminal/gwt/client/ui/ITree.java | 2 +- .../itmill/toolkit/terminal/gwt/client/ui/TreeAction.java | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/ContextMenu.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/ContextMenu.java index e8160e70df..f3f1600046 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/ContextMenu.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/ContextMenu.java @@ -8,7 +8,7 @@ import com.google.gwt.user.client.ui.PopupPanel; public class ContextMenu extends PopupPanel { - private IActionOwner actionOwner; + private ActionOwner actionOwner; private CMenuBar menu = new CMenuBar(); @@ -29,7 +29,7 @@ public class ContextMenu extends PopupPanel { * Sets the element from which to build menu * @param ao */ - public void setActionOwner(IActionOwner ao) { + public void setActionOwner(ActionOwner ao) { this.actionOwner = ao; } @@ -56,7 +56,7 @@ public class ContextMenu extends PopupPanel { } } - public void showAt(IActionOwner ao, int left, int top) { + public void showAt(ActionOwner ao, int left, int top) { setActionOwner(ao); showAt(left, top); } diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java index a3bd26cce3..3729cbfa4d 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java @@ -1059,7 +1059,7 @@ public class IScrollTable extends Composite implements ITable, ScrollListener { } } - public class TableHead extends Panel implements IActionOwner { + public class TableHead extends Panel implements ActionOwner { private static final int WRAPPER_WIDTH = 9000; @@ -1678,7 +1678,7 @@ public class IScrollTable extends Composite implements ITable, ScrollListener { } - public class IScrollTableRow extends Panel implements IActionOwner { + public class IScrollTableRow extends Panel implements ActionOwner { Vector childWidgets = new Vector(); private boolean selected = false; diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/ITree.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/ITree.java index e6334c3fe5..04b220e69d 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/ITree.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/ITree.java @@ -156,7 +156,7 @@ public class ITree extends Tree implements Paintable { } - private class TreeNode extends TreeItem implements IActionOwner { + private class TreeNode extends TreeItem implements ActionOwner { String key; diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/TreeAction.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/TreeAction.java index f2e283da3d..1d630893a2 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/TreeAction.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/TreeAction.java @@ -9,11 +9,11 @@ public class TreeAction extends Action { String targetKey = ""; String actionKey = ""; - public TreeAction(IActionOwner owner) { + public TreeAction(ActionOwner owner) { super(owner); } - public TreeAction(IActionOwner owner, String target, String action) { + public TreeAction(ActionOwner owner, String target, String action) { this(owner); this.targetKey = target; this.actionKey = action; -- 2.39.5