X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.eclipse.ui%2Fsrc%2Forg%2Fargeo%2Feclipse%2Fui%2Fjcr%2FJcrUiUtils.java;h=dd571ae6e75dd44437618029d949d879670f392f;hb=261af6b864de167e10eed1916f83035cca71d32f;hp=97930319205e3692a4ebc462e5897f9d4e1ea625;hpb=21a4ea1fb5380ce1dd763c1ea09067cdd2dfd0f3;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/jcr/JcrUiUtils.java b/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/jcr/JcrUiUtils.java index 979303192..dd571ae6e 100644 --- a/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/jcr/JcrUiUtils.java +++ b/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/jcr/JcrUiUtils.java @@ -15,7 +15,7 @@ import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.widgets.Table; -/** Utility methods to simplify UI development using eclipse and JCR. */ +/** Utility methods to simplify UI development using SWT (or RWT), jface and JCR. */ public class JcrUiUtils { /** @@ -28,7 +28,6 @@ public class JcrUiUtils { public static boolean setJcrProperty(Node node, String propName, int propertyType, Object value) { try { - // int propertyType = getPic().getProperty(propName).getType(); switch (propertyType) { case PropertyType.STRING: if ("".equals((String) value) @@ -93,7 +92,7 @@ public class JcrUiUtils { /** * Creates a new selection adapter in order to provide sorting abitily on a - * swt table that display a row list + * SWT Table that display a row list **/ public static SelectionAdapter getRowSelectionAdapter(final int index, final int propertyType, final String selectorName,