/** * Creates a new comment reconcile strategy. * * @param viewer the source viewer * @param spellingService the spelling service to use */ public SpellingReconcileStrategy(ISourceViewer viewer, SpellingService spellingService) { Assert.isNotNull(viewer); Assert.isNotNull(spellingService); fViewer= viewer; fSpellingService= spellingService; fSpellingContext= new SpellingContext(); fSpellingContext.setContentType(getContentType()); }
/** * Creates a new comment reconcile strategy. * * @param viewer the source viewer * @param spellingService the spelling service to use */ public SpellingReconcileStrategy(ISourceViewer viewer, SpellingService spellingService) { Assert.isNotNull(viewer); Assert.isNotNull(spellingService); fViewer= viewer; fSpellingService= spellingService; fSpellingContext= new SpellingContext(); fSpellingContext.setContentType(getContentType()); }
/** * Creates a new comment reconcile strategy. * * @param viewer the source viewer * @param spellingService the spelling service to use */ public SpellingReconcileStrategy(ISourceViewer viewer, SpellingService spellingService) { Assert.isNotNull(viewer); Assert.isNotNull(spellingService); fViewer= viewer; fSpellingService= spellingService; fSpellingContext= new SpellingContext(); fSpellingContext.setContentType(getContentType()); }