public interface IWatchExpressionFactoryAdapter
The 'Create Watch Expression' action is enabled for instances of
IVariable
that have an associated
IWatchExpressionDelegate
registered
for that debug model.
When a watch expression factory adapter is available for a variable, the factory is
consulted to create a watch expression for that variable. When no adapter is provided,
the watch expression is generated based on the variable's name.
Also see the optional interface IWatchExpressionFactoryAdapterExtension
.
Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
String |
createWatchExpression(IVariable variable)
Creates and returns an expression for the specified variable
which is used to created an
IWatchExpression . |
String createWatchExpression(IVariable variable) throws CoreException
IWatchExpression
.variable
- variable a watch expression is required forCoreException
- if unable to create a watch
expression
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.