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.core.resources
Interface IPathVariableChangeEvent


public interface IPathVariableChangeEvent

Describes a change in a path variable. The change may denote that a variable has been created, deleted or had its value changed.

Since:
2.1
See Also:
IPathVariableChangeListener
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Field Summary
static int VARIABLE_CHANGED
          Event type constant (value = 1) that denotes a value change .
static int VARIABLE_CREATED
          Event type constant (value = 2) that denotes a variable creation.
static int VARIABLE_DELETED
          Event type constant (value = 3) that denotes a variable deletion.
 
Method Summary
  Object getSource ()
          Returns an object identifying the source of this event.
 int getType ()
          Returns the type of event being reported.
  IPath getValue ()
          Returns the variable's current value.
  String getVariableName ()
          Returns the affected variable's name.
 

Field Detail

VARIABLE_CHANGED

static final int VARIABLE_CHANGED
Event type constant (value = 1) that denotes a value change .

See Also:
Constant Field Values

VARIABLE_CREATED

static final int VARIABLE_CREATED
Event type constant (value = 2) that denotes a variable creation.

See Also:
Constant Field Values

VARIABLE_DELETED

static final int VARIABLE_DELETED
Event type constant (value = 3) that denotes a variable deletion.

See Also:
Constant Field Values
Method Detail

getValue


IPath getValue()
Returns the variable's current value. If the event type is VARIABLE_CHANGED then it is the new value, if the event type is VARIABLE_CREATED then it is the new value, or if the event type is VARIABLE_DELETED then it will be null.

Returns:
the variable's current value, or null

getVariableName


String getVariableName()
Returns the affected variable's name.

Returns:
the affected variable's name

getSource


Object getSource()
Returns an object identifying the source of this event.

Returns:
an object identifying the source of this event
See Also:
EventObject

getType

int getType()
Returns the type of event being reported.

Returns:
one of the event type constants
See Also:
VARIABLE_CHANGED, VARIABLE_CREATED, VARIABLE_DELETED

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