final Shell shell = PlatformUI.getWorkbench().getDisplay().getActiveShell();
final SimilarCodeDetectionInputDialog inputd = new SimilarCodeDetectionInputDialog(
shell, "Similar code detection...");
inputd.open();
simScore = inputd.getSimScore();
minFreq = inputd.getMinFreq();
minLen = inputd.getMinLen();
onlyInFile = inputd.onlyinFile();