{
ic = ClassManager.getInstance().getPluginByName(((ImageBasedGPS)this.component).getImageCollector().getClass().getCanonicalName());
}
catch (EasyBotAppException e1)
{
throw new ComponentGUIException(e1.getMessage());
}
if (ic != null)
{
try
{
icGUI = (ImageCollectorGUI) ic.makeGUInstance(((ImageBasedGPS)component).getImageCollector());
Composite imageCollectorConfig = icGUI.getConfigPannel(gpsConfig, style);
GridData icLData = new GridData();
icLData.horizontalAlignment = GridData.FILL;
icLData.verticalAlignment = GridData.BEGINNING;
icLData.grabExcessHorizontalSpace=true;
icLData.grabExcessVerticalSpace=true;
icLData.horizontalSpan = 1;
imageCollectorConfig.setLayoutData(icLData);
}
catch (Exception e)
{
throw new ComponentGUIException( e.getMessage() );
}
}
{
webcamImage = new CLabel(gpsConfig, SWT.NONE);
GridData imageLData = new GridData();