public void launchPreprocOperations(List<Operation> preprocOperations) {
		
		for (int i = 0; i < preprocOperations.size(); i++) {
			execTypes.add(preprocOperations.get(i));

			// Fisierul de input este pus in lista de parametri;

			((ComplexTypeParameter) preprocOperations.get(i).getParameter(
					"inputFile")).setAttribute("name", inputPath);

			executePreprocesing(preprocOperations.get(i));

			if (updateCheckBox.isSelected()) {
				for (int j = 0; j < operations.size(); j++) {
					// se face update cu noua valoare (cheia exista)

					((ComplexTypeParameter) operations.get(j).getParameter(
							"inputFile")).setAttribute("name", inputPath);

					// Executam operatia ca sa obtinem outputFile
					operations.get(j).execute();

					// construiesc noua imagine din calea obtinuta

					String path = ((ComplexTypeParameter) operations.get(j)
							.getParameter("outputFile")).getAttribute("name")
							.getValue();

					int width = imageScrollPane.getSize().width - 70;
					int height = 150;
					ImageIcon myPicture = null;
					Image image = ImageViewer.buildImage(path);

					// Inlocuiesc Label-ul din dreapta
					JLabel label = null;
					// Checkboxul j din vectorul allImages corespunde operatiei
					// j din operations
					JCheckBox item = allImages.get(j);

					label = labelList.get(item);
					image = ImageViewer.resize(image, label.getWidth(),
							label.getHeight());
					myPicture = new ImageIcon(image);

					label.setIcon(myPicture);

					// inlocuiesc calea in imageList
					imageList.put(item, path);

				}
				// fac refresh la JScrollPane
				imageScrollPane.revalidate();
				imageScrollPane.repaint();
			}
		}
	}