{
if (!webcamConfig.isDisposed())
webcamConfig.dispose();
ImageBasedGPS gps = (ImageBasedGPS) selectedGPS.makeIntance();
Simulation.getCurrent().setGps(gps);
GPSGUI gpsGUI = (GPSGUI) selectedGPS.makeGUInstance(gps);
webcamConfig = gpsGUI.getConfigPannel(composite2, composite2.getStyle());
GridData webcamConfigLData = new GridData();
webcamConfigLData.horizontalAlignment = GridData.FILL;
webcamConfigLData.verticalAlignment = GridData.BEGINNING;
webcamConfigLData.grabExcessVerticalSpace=true;
webcamConfigLData.horizontalSpan = 2;