/**
  * @param parentShell
  * @param ecgModel the data mode
  * @param createNew <code>true</code> means create new console mode, else <code>false</code>
  * @param consoles all available consoles
  */
 public ConsoleConfigDialog(
     Shell parentShell, ECGModel ecgModel, boolean createNew, IConsole[] consoles) {
   super(parentShell);
   setShellStyle(getShellStyle() | SWT.RESIZE);
   this.ecgModelOrig = ecgModel;
   this.ecgModel = ecgModel.clone();
   this.createNew = createNew;
   this.consoles = consoles;
 }