Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.ui.actions
Interface IWatchExpressionFactoryAdapter2


public interface IWatchExpressionFactoryAdapter2

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.

Since:
3.4

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

createWatchExpression


String createWatchExpression(
Object element)
                             throws 
CoreException
Creates and returns an expression for the specified variable which is used to created an IWatchExpression.

Parameters:
element - element a watch expression is required for
Returns:
text used to create a watch expression
Throws:
CoreException - if unable to create a watch expression

canCreateWatchExpression

boolean canCreateWatchExpression(
Object variable)
Returns whether a watch expression can be created for the specified variable.

Parameters:
variable - the specified variable
Returns:
whether an expression can be created
Throws:
CoreException - if unable to create a watch expression

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire