public interface IWatchExpressionFactoryAdapter2
The 'Create Watch Expression' action is enabled for an adaptable element
that have an associated IWatchExpressionFactoryAdapter2.
When a watch expression factory adapter is available for an element, the factory is
consulted to create a watch expression for that element.
Clients may implement this interface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreateWatchExpression(Object variable)
Returns whether a watch expression can be created for the specified variable.
|
String |
createWatchExpression(Object element)
Creates and returns an expression for the specified variable
which is used to created an
IWatchExpression. |
String createWatchExpression(Object element) throws CoreException
IWatchExpression.element - element a watch expression is required forCoreException - if unable to create a watch
expressionboolean canCreateWatchExpression(Object variable)
variable - the specified variable
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.