|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An optional adapter used to create a watch expression for a selected element.
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.
Method Summary | |
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 . |
Method Detail |
public String createWatchExpression(Object element) throws CoreException
IWatchExpression
.
element
- element a watch expression is required for
CoreException
- if unable to create a watch
expressionpublic boolean canCreateWatchExpression(Object variable)
variable
- the specified variable
CoreException
- if unable to create a watch
expression
|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.