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
* 
	 * @since 3.1
	 */
	public static final WAIT_FLAG WAIT_ACTIVE_ONLY= new WAIT_FLAG("wait active only"); 
	
	/**
	 * Wait flag indicating that a client requesting an AST
	 * only wants the already available shared AST.
	 * <p>
	 * No AST will be created by the AST provider.
	 * </p>
	 * 
	 * @since 3.1
	 */
	public static final WAIT_FLAG WAIT_NO= new WAIT_FLAG("don't wait"); 
	
	/**
	 * Tells whether this class is in debug mode.
	 * @since 3.0
	 */
	private static final boolean DEBUG= "true".equalsIgnoreCase(Platform.getDebugOption("org.eclipse.jdt.ui/debug/ASTProvider"));  
	
	/**
	 * Internal activation listener.
	 * 
	 * @since 3.0
	 */
	private class ActivationListener implements IPartListener2, IWindowListener {
		
		/*