Esempio n. 1
0
 /*
  * Calls registered compilers
  * (non-Javadoc)
  * @see org.eclipse.jface.text.reconciler.IReconcilingStrategy#reconcile(org.eclipse.jface.text.reconciler.DirtyRegion, org.eclipse.jface.text.IRegion)
  */
 public void reconcile(DirtyRegion dirtyRegion, IRegion subRegion) {
   if (file != null) {
     for (ICompiler compiler : Activator.getRegisteredCompilers()) {
       if (compiler.canCompile(file)) {
         compiler.compile(document, dirtyRegion, subRegion, file);
       }
     }
   }
 }
Esempio n. 2
0
 /*
  * Calls registered compilers
  * (non-Javadoc)
  * @see org.eclipse.jface.text.reconciler.IReconcilingStrategyExtension#initialReconcile()
  */
 public void initialReconcile() {
   if (file != null) {
     for (ICompiler compiler : Activator.getRegisteredCompilers()) {
       if (compiler.canCompile(file)) {
         compiler.compile(document, null, null, file);
       }
     }
   }
 }
Esempio n. 3
0
 /*
  * Calls the registered compilers
  * (non-Javadoc)
  * @see org.eclipse.jface.text.reconciler.IReconcilingStrategy#reconcile(org.eclipse.jface.text.IRegion)
  */
 public void reconcile(IRegion region) {
   if (file != null) {
     for (ICompiler compiler : Activator.getRegisteredCompilers()) {
       if (compiler.canCompile(file)) {
         compiler.compile(document, null, region, file);
       }
     }
   }
 }