Bug 84862 Advanced syntax highlighting
Is it possible to change ASTProvider.ActivationListener.isJavaEditor() method to be more open for subclasses of CompilationUnitEditor? I know, that it is not API, but SWT Designer and VE use it and, becase their have ID different than two hardcoded in isJavaEditor(), advanced syntax is not highlighted after changes. May be some solution using "instanceof" or "getAdapter()"?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java
return null;
		try {
			CompilationUnit root= (CompilationUnit)parser.createAST(progressMonitor);
			
			ASTNodes.setFlagsToAST(root, ASTNode.PROTECT);
			return root;
		} catch (IllegalStateException ex) {
			return null;
		}
	}
		
	/**
	 * Disposes this AST provider.
	 */
	public void dispose() {
		
		fWorkbench.removeWindowListener(fActivationListener);
		fActivationListener= null;
		
		disposeAST();
		
		synchronized (fWaitLock) {
			fWaitLock.notify();
		}
	}
	
	/*
	 * @see org.eclipse.jdt.internal.ui.text.java.IJavaReconcilingListener#reconciled(org.eclipse.jdt.core.dom.CompilationUnit)
	 */
	void reconciled(CompilationUnit ast, IJavaElement javaElement) {