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
/**
	 * Tells whether the given Java element is the one 
	 * reported as currently being reconciled.
	 * 
	 * @param javaElement the Java element
	 * @return <code>true</code> if reported as currently being reconciled
	 */
	private boolean isReconciling(IJavaElement javaElement) {
		synchronized (fReconcileLock) {
			return javaElement.equals(fReconcilingJavaElement) && fIsReconciling;		
		}
	}
	
	/**
	 * Creates a new compilation unit AST.
	 * 
	 * @param je the Java element for which to create the AST
	 * @param progressMonitor the progress monitor
	 * @return AST
	 */
	private CompilationUnit createAST(IJavaElement je, IProgressMonitor progressMonitor) {
		ASTParser parser = ASTParser.newParser(AST_LEVEL);
		parser.setResolveBindings(true);
		
		if (je.getElementType() == IJavaElement.COMPILATION_UNIT)
			parser.setSource((ICompilationUnit)je);
		else if (je.getElementType() == IJavaElement.CLASS_FILE)
			parser.setSource((IClassFile)je);
		
		if (progressMonitor != null && progressMonitor.isCanceled())