]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/views/ResultListView.java
Add support for combo box in editing parameters.
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.ui / src / main / java / org / argeo / slc / client / ui / views / ResultListView.java
index d49d67026942d3677def6753bf882df44fb25b26..837456d5bc36c9c5bccfe3a557b1f846b1f7bfdc 100644 (file)
@@ -32,7 +32,6 @@ import org.eclipse.jface.viewers.TableViewer;
 import org.eclipse.jface.viewers.Viewer;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Menu;
 import org.eclipse.swt.widgets.Table;
@@ -91,15 +90,17 @@ public class ResultListView extends ViewPart {
 
        protected Table createTable(Composite parent) {
                int style = SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL
-                               | SWT.FULL_SELECTION | SWT.HIDE_SELECTION;
+                               | SWT.FULL_SELECTION;
+               // does not function with RAP, commented for the moment being
+               // | SWT.HIDE_SELECTION;
 
                Table table = new Table(parent, style);
                // table.addMouseListener(new RightClickListener());
-               //GridData gridData = new GridData(GridData.FILL_BOTH);
-               //gridData.grabExcessVerticalSpace = true;
-               //gridData.grabExcessHorizontalSpace = true;
-               //gridData.horizontalSpan = 3;
-               //table.setLayoutData(gridData);
+               // GridData gridData = new GridData(GridData.FILL_BOTH);
+               // gridData.grabExcessVerticalSpace = true;
+               // gridData.grabExcessHorizontalSpace = true;
+               // gridData.horizontalSpan = 3;
+               // table.setLayoutData(gridData);
 
                table.setLinesVisible(true);
                table.setHeaderVisible(true);