debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/UnifiedLaunchOptionsPage.java
changeset 993 df87e2d581e4
parent 969 b0dd389735fb
child 1013 83255eb26cdb
equal deleted inserted replaced
989:680482e5bad7 993:df87e2d581e4
    25 import org.eclipse.jface.layout.GridDataFactory;
    25 import org.eclipse.jface.layout.GridDataFactory;
    26 import org.eclipse.jface.layout.GridLayoutFactory;
    26 import org.eclipse.jface.layout.GridLayoutFactory;
    27 import org.eclipse.jface.wizard.WizardPage;
    27 import org.eclipse.jface.wizard.WizardPage;
    28 import org.eclipse.swt.SWT;
    28 import org.eclipse.swt.SWT;
    29 import org.eclipse.swt.widgets.Composite;
    29 import org.eclipse.swt.widgets.Composite;
       
    30 import org.eclipse.swt.widgets.Control;
    30 
    31 
    31 import com.nokia.cdt.internal.debug.launch.LaunchPlugin;
    32 import com.nokia.cdt.internal.debug.launch.LaunchPlugin;
    32 import com.nokia.cdt.internal.debug.launch.newwizard.IWizardSection.ISectionChangeListener;
    33 import com.nokia.cdt.internal.debug.launch.newwizard.IWizardSection.ISectionChangeListener;
    33 
    34 
    34 /**
    35 /**
   172 	/* (non-Javadoc)
   173 	/* (non-Javadoc)
   173 	 * @see com.nokia.cdt.internal.debug.launch.wizard2.IWizardSection.ISectionChangeListener#changed()
   174 	 * @see com.nokia.cdt.internal.debug.launch.wizard2.IWizardSection.ISectionChangeListener#changed()
   174 	 */
   175 	 */
   175 	public void changed() {
   176 	public void changed() {
   176 		validatePage();
   177 		validatePage();
       
   178 		Control control = getControl();
       
   179 		if (control != null && !control.isDisposed())
       
   180 			getWizard().getContainer().getShell().pack();
       
   181 
   177 	}
   182 	}
   178 }
   183 }