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
}
	
	private void activeJavaEditorChanged(IWorkbenchPart editor) {
		IJavaElement javaElement= null;
		if (editor instanceof JavaEditor)
			javaElement= ((JavaEditor)editor).getInputJavaElement();
		
		synchronized (this) {
			fActiveEditor= editor;
			fActiveJavaElement= javaElement;
		}
		
		if (DEBUG)
			System.out.println(getThreadName() + " - " + DEBUG_PREFIX + "active editor is: " + toString(javaElement)); 
		synchronized (fReconcileLock) {
			if (fIsReconciling && !fReconcilingJavaElement.equals(javaElement)) {
				fIsReconciling= false;
				fReconcilingJavaElement= null;
			}
		}
		cache(null, javaElement);
	}
	/**
	 * Returns whether the given compilation unit AST is
	 * cached by this AST provided.
	 * 
	 * @param ast the compilation unit AST
	 * @return <code>true</code> if the given AST is the cached one
	 */
	public boolean isCached(CompilationUnit ast) {