private final int totalSize;
private ProgressDialog progressDialog;
public GraphControllerBatchWorker(final GraphController controller, final GraphModel model, final boolean osmDefaultValues, final boolean filterDuplicateEdges) {
progressDialog = new ProgressDialog(null, "Updating graphics ...");
progressDialog.setIconImage(ResourceLoader.createIconFromLocalResource(getClass().getClassLoader(), "globe-32x32.png").getImage());
this.controller = controller;
this.model = model;
this.osmDefaultValues = osmDefaultValues;