ArrayList<IReconcilingStrategy> arrayList = new ArrayList<IReconcilingStrategy>(
Arrays.asList(reconcilingStrategies));
arrayList.add(new ValidationReconcilingStrategy());
strategy.setReconcilingStrategies(arrayList
.toArray(new IReconcilingStrategy[arrayList.size()]));
JavaReconciler reconciler = new JavaReconciler(editor, strategy,
false);
reconciler.setIsAllowedToModifyDocument(false);
reconciler.setDelay(500);
return reconciler;
}
return null;
}