2 * Created on 28-jul-2003
5 package com.quantum.view.tableview;
7 import com.quantum.Messages;
9 import org.eclipse.jface.action.Action;
10 import org.eclipse.swt.widgets.Table;
13 public final class SelectAllAction extends Action {
15 private final TableView view;
17 public SelectAllAction(TableView view) {
20 setText(Messages.getString(getClass(), "text"));
23 Table table = getTable();
29 private Table getTable() {
30 ResultSetViewer viewer = this.view.getSelectedResultSetViewer();
31 return viewer == null ? null : viewer.getTable();