Package org.objectstyle.wolips.ruleeditor.sorter

Examples of org.objectstyle.wolips.ruleeditor.sorter.TextSorter


     * 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);
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.ruleeditor.sorter.TextSorter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.