blob: 7ecc48d55453a77d7b3ed27fbdf93a32c6974a31 (
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
|
/*******************************************************************************
* Copyright (c) 2000, 2006 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.model;
import org.eclipse.core.runtime.CoreException;
/**
* A delegate that provides a value representing the logical structure of a raw
* implementation value from a debug model. Associated with a logical structure
* type extension.
* <p>
* Clients contributing logical structure types should implement this
* interface.
* </p>
* @since 3.0
* @see org.eclipse.debug.core.ILogicalStructureType
*/
public interface ILogicalStructureTypeDelegate {
/**
* Returns whether this structure type can provide a logical structure for
* the given value.
*
* @param value value for which a logical structure is being requested
* @return whether this structure type can provide a logical structure for
* the given value
*/
boolean providesLogicalStructure(IValue value);
/**
* Returns a value representing a logical structure of the given value.
*
* @param value value for which a logical structure is being requested
* @return value representing logical structure
* @throws CoreException if an exception occurs generating a logical
* structure
*/
IValue getLogicalStructure(IValue value) throws CoreException;
}
|