There are many ways to find editors for a given input and to open an editor. This extension point will only work for those cases where the request was done via
org.eclipse.ui.ide.IDE or where the client code explicitly honors this extension point by calling one of the override methods in
org.eclipse.ui.ide.IDE. Main intent is to allow intercepting how editors are opened via the IDE UI like Open, Open With and Open Resource. This extension point does not affect the Compare editors.
Note: This extension point should only be used in cases where a product gets assembled with conflicting editor contribtions and where there is no other way to resolve those conflicts.
<!ELEMENT extension (editorAssociationOverride+)>
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT editorAssociationOverride EMPTY>
id CDATA #REQUIRED
class CDATA #REQUIRED>
<extension point="org.eclipse.ui.ide.editorAssociationOverride"> <editorAssociationOverride id="exampleOverride" class="example.ExampleOverride"> </editorAssociationOverride> </extension>
Copyright (c) 2012 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html