ta.setEncoding(TableAdapter.DEFAULT);
}
}
- private static TableView instance = null;
private TabFolder tabs = null;
private Composite parent;
private Vector extensionVector;
if (tableName != null) {
tabItem.setText(bookmark.getName() + ":" + tableName);
} else {
- tabItem.setText(bookmark.getName() + ":" + adapter.getQuery());
+ tabItem.setText(bookmark.getName() + ": SQL");
+ tabItem.setToolTipText(bookmark.getName() + ":\n" + adapter.getQuery());
}
toolBar.getPrevious().setEnabled(adapter.hasPreviousPage());
}
public void createPartControl(Composite parent) {
- instance = this;
this.parent = parent;
initActions();
tabs = new TabFolder(parent, SWT.NONE);