IDetailPaneFactory
is registered using this extension point. A detail pane factory creates an IDetailPane
for each custom rendering (note that optional extensions have been added to detail panes via IDetailPane2
and IDetailPane3
).
Views with detail panes allow users select from available detail panes via the context menu. All contributions to this extension point are checked agaist the current selection. A detail factory should provide an enablement expression to ensure lazy plug-in loading. A factory will only be instantiated if its expression evaluates to true for the current selection (see the example extension point for an example enablement expression). Each applicable factory is then consulted for the types of detail panes it can produce for the current selection.
<!ELEMENT extension (detailFactories)+>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT detailFactories (enablement?)>
<!ATTLIST detailFactories
id CDATA #REQUIRED
class CDATA #REQUIRED>
org.eclipse.debug.ui.IDetailPaneFactory
<extension point="org.eclipse.debug.ui.detailPaneFactories"> <detailFactories class="org.eclipse.temp.JavaTableDetailPaneFactory" name="javaTableDetailPaneFactory"> <enablement> <with variable="selection"> <count value="2"> </count> <iterate> <instanceof value="org.eclipse.jdt.debug.core.IJavaVariable"> </instanceof> </iterate> </with> </enablement> </detailFactories> </extension>
computeDetail(IValue value, IValueDetailListener listener)
.
Copyright (c) 2000, 2010 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