/** Initialize the panel. */ private void init() { // ------------------------------ // Set layout for the SashForm // ------------------------------ GridLayout gridLayout = new GridLayout(); this.setLayout(gridLayout); gridLayout.numColumns = 1; gridLayout.marginLeft = 20; GridData gridData = new GridData(GridData.FILL_BOTH); this.setLayoutData(gridData); // Init the symbol arrays from bindings this.bindingListInput = new BindingTableInput(createBindingList(originalBindingList)); // ---------------------------------- // Create the Table Viewer Panel // ---------------------------------- createTableViewerPanel(this); // Initialize the message area at the top of the dialog datatypeReconcilerDialog.setTitle(Messages.datatypeReconciler_statusTitle); updateMessageArea(); // Listen for TableSelection from the Tables bindingTableViewer.addSelectionChangedListener(this); selectFirstTypeConflict(); bindingListInput.datatypeChanged(); }
/** Initialize the panel. */ private void init() { // ------------------------------ // Set layout for the SashForm // ------------------------------ GridLayout gridLayout = new GridLayout(); this.setLayout(gridLayout); gridLayout.numColumns = 1; gridLayout.marginLeft = 20; GridData gridData = new GridData(GridData.FILL_BOTH); this.setLayoutData(gridData); // Init the symbol arrays from bindings this.bindingList = createBindingList(originalBindingList); // ---------------------------------- // Create the Table Viewer Panel // ---------------------------------- createTableViewerPanel(this); // ------------------------------------------ // Create Attribute and SQL Control Panels // ------------------------------------------ createControlsPanel(this); // -------------------------------------------------- // Init the weighting for the top and bottom panels // -------------------------------------------------- int[] wts = {5, 8}; this.setWeights(wts); // Initialize the message area at the top of the dialog datatypeReconcilerDialog.setTitle(DIALOG_STATUS_TITLE); updateMessageArea(); // Listen for TableSelection from the Tables tableViewer.addSelectionChangedListener(this); selectFirstTypeConflict(); }