1 package com.quantum.view;
3 import org.eclipse.swt.layout.GridData;
4 import org.eclipse.swt.layout.GridLayout;
5 import org.eclipse.swt.widgets.Composite;
6 import org.eclipse.ui.part.ViewPart;
12 public class JDBCDriverView extends ViewPart {
14 private JDBCDriverTableViewer viewer;
16 public void createPartControl(Composite parent) {
17 GridLayout layout = new GridLayout();
18 layout.numColumns = 1;
19 parent.setLayout(layout);
20 this.viewer = new JDBCDriverTableViewer(parent);
21 this.viewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH));
24 public void setFocus() {
26 public void dispose() {
27 this.viewer.dispose();