Contributions that are meant to be shipped with the product as the standard support should be marked as default
. This way, it is possible to override the support with another contribution that is not marked as default
. Note however that only one support can be active at any point in time. In case of multiple default and/or non-default contributions, the result is non-deterministic.
<!ELEMENT extension (support+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT support EMPTY>
<!ATTLIST support
class CDATA #REQUIRED
default (true | false) "false">
org.eclipse.ui.browser.AbstractWorkbenchBrowserSupport
.false
. When workbench encounters two extensions, it will pick a non-default over a default one.<extension point="org.eclipse.ui.browserSupport"> <support default="true" class="com.example.xyz.MyBrowserSupport"> </support> </extension>
org.eclipse.ui.browser.AbstractWorkbenchBrowserSupport
.
Copyright (c) 2005 IBM Corporation and others.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which accompanies
this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0