blob: 0526f19270e31943d59332a48cb5e7f705664dc8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/*******************************************************************************
* Copyright (c) 2004, 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-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.core;
import org.eclipse.debug.core.model.IValue;
/**
* Provides logical structure types applicable to a raw implementation value
* from a debug model. Associated with a logical structure provider extension.
* <p>
* The following is an example of a logical structure provider extension:
* </p>
*
* <pre>
* <extension point="org.eclipse.debug.core.logicalStructureProviders">
* <logicalStructureProvider
* class="com.example.ExampleLogicalStructureProvider"
* modelIdentifier="com.example.debug.model">
* </logicalStructureProvider>
* </extension>
* </pre>
* <p>
* In the example above, the specified logical structure provider will be
* consulted for alternative logical structures for values from the
* <code>com.example.debug.model</code> debug model as they are displayed in the
* variables view.
* </p>
* <p>
* Clients contributing logical structure providers must implement this
* interface.
* </p>
*
* @since 3.1
* @see org.eclipse.debug.core.ILogicalStructureType
*/
public interface ILogicalStructureProvider {
/**
* Returns the logical structure types which are applicable to the given value.
*
* @param value value for which logical structure types are being requested
* @return the logical structure types which are applicable to the given value
*/
ILogicalStructureType[] getLogicalStructureTypes(IValue value);
}
|