@Override public void setActiveTab(ILaunchConfigurationTab tab) { if (activeTab != null) { activeTab.deactivated(workingCopy); activeTab.getControl().dispose(); } activeTab = tab; if (activeTab != null) { launchConfigArea.setRedraw(false); configNameText.setVisible(true); activeTab.createControl(launchConfigArea); // GridDataFactory.swtDefaults().grab(true, false).align(SWT.FILL, // SWT.BEGINNING).applyTo( // activeTab.getControl()); launchConfigArea.setContent(activeTab.getControl()); activeTab.getControl().setSize(activeTab.getControl().computeSize(SWT.DEFAULT, SWT.DEFAULT)); configUI.layout(true); activeTab.activated(workingCopy); launchConfigArea.setRedraw(true); } else { configNameText.setVisible(false); } updateButtons(); updateMessage(); }