X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.eclipse.ui%2Fsrc%2Forg%2Fargeo%2Feclipse%2Fui%2Futils%2FViewerUtils.java;h=3c029d35040cb3cfb9733f11396920df071837e5;hb=95cb03bd2c79197f2bd333b6881101128313cd39;hp=56766917dc976a313db9ea8f729aad05a0672bed;hpb=d190f16d959392d923be5c43fd947fb4aa180376;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/utils/ViewerUtils.java b/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/utils/ViewerUtils.java index 56766917d..3c029d350 100644 --- a/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/utils/ViewerUtils.java +++ b/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/utils/ViewerUtils.java @@ -41,8 +41,8 @@ public class ViewerUtils { } /** - * Creates a TableViewerColumn for the given viewer. For the time being, we - * do not support movable columns. + * Creates a TableViewerColumn for the given viewer. For the time being, we do + * not support movable columns. */ public static TableViewerColumn createTableViewerColumn(TableViewer parent, String name, int style, int width) { TableViewerColumn tvc = new TableViewerColumn(parent, style); @@ -53,9 +53,14 @@ public class ViewerUtils { return tvc; } + // public static TableViewerColumn createTableViewerColumn(TableViewer parent, + // Localized name, int style, int width) { + // return createTableViewerColumn(parent, name.lead(), style, width); + // } + /** - * Creates a TreeViewerColumn for the given viewer. For the time being, we - * do not support movable columns. + * Creates a TreeViewerColumn for the given viewer. For the time being, we do + * not support movable columns. */ public static TreeViewerColumn createTreeViewerColumn(TreeViewer parent, String name, int style, int width) { TreeViewerColumn tvc = new TreeViewerColumn(parent, style);