schema.detailPaneFactories.exsd Maven / Gradle / Ivy
The newest version!
This extension point allows clients to contribute custom renderings for the detail pane in the variables, registers, expressions, and breakpoints views (note that support for breakpoint view detail panes was added in 3.6). To contribute a custom detail pane, an implementation of <code>IDetailPaneFactory</code> is registered using this extension point. A detail pane factory creates an <code>IDetailPane</code> for each custom rendering (note that optional extensions have been added to detail panes via <code>IDetailPane2</code> and <code>IDetailPane3</code>).
<p>
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.
</p>
a fully qualified identifier of the target extension point
an optional identifier of the extension instance
an optional name of the extension instance
specifies a unique identifier for this factory
fully qualified name of a class that implements <code>org.eclipse.debug.ui.IDetailPaneFactory</code>
3.3
Following in an example of a detail pane factory extension with an expression that enables for selections containing exactly two Java variables:
<p>
<pre>
<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>
</pre>
</p>
Value of the attribute <b>class</b> must be a fully qualified name of a Java class that implements the interface <b>org.eclipse.debug.ui.IDetailPaneFactory</b>.
The debug platform contributes a detail pane factory providing a default text source viewer detail pane. The default detail pane displays textual details of a selected element based on the corresponding debug model presentation's implementation of <code>computeDetail(IValue value, IValueDetailListener listener)</code>.
Copyright (c) 2000, 2010 IBM Corporation and others.<br>
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
<a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/
SPDX-License-Identifier: EPL-2.0