* 3) { //Priority setPriority(edittabletext.getText()); } Control old =
* editor.getEditor(); if (old != null) old.dispose(); } }); } } });
*/
// Create the columns
RuleEditor.createTableColumn(tableViewer, "Lhs", "Left Hand Side", new TextSorter(0), SWT.DOWN, true).chooseColumnForSorting();
RuleEditor.createTableColumn(tableViewer, "Rhs Key", "Right Hand Side Key", new TextSorter(1), SWT.UP, false);
RuleEditor.createTableColumn(tableViewer, "Rhs Value", "Right Hand Side Value", new TextSorter(2), SWT.UP, false);
RuleEditor.createTableColumn(tableViewer, "Priority", "Priority", new TextSorter(3), SWT.UP, false);
// TableColumn c1 = new TableColumn(table, SWT.LEFT, 0);
// c1.setText("Lhs");
// c1.pack();
// TableColumn c2 = new TableColumn(table, SWT.LEFT, 1);