Skip to content

Commit

Permalink
added button for sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonalv committed Sep 8, 2010
1 parent b151c1e commit 820bf14
Showing 1 changed file with 13 additions and 0 deletions.
Expand Up @@ -187,6 +187,19 @@ public void fixedCellSelected(int col, int row, int statemask) {

}
});

final Button sortByCvButton = new Button(composite, SWT.NONE |
SWT.TOGGLE);
sortByCvButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(final SelectionEvent e) {
//TODO: Claes do stuff here
}
});
final FormData fd_sortByCvButton = new FormData();
fd_sortByCvButton.bottom = new FormAttachment(markAsOutlierButton, 0, SWT.BOTTOM);
fd_sortByCvButton.right = new FormAttachment(table, 0, SWT.RIGHT);
sortByCvButton.setLayoutData(fd_sortByCvButton);
sortByCvButton.setText("Sort by CV%");
}

@Override
Expand Down

0 comments on commit 820bf14

Please sign in to comment.