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

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.team.core.subscribers
Interface ISubscriberChangeEvent

All Known Implementing Classes:
SubscriberChangeEvent

public interface ISubscriberChangeEvent

A change event that describes a change in a resource that is or was supervised by a subscriber.

Since:
3.0
See Also:
ISubscriberChangeListener
Restriction:
Clients are not intended to implement. Instead subclass SubscriberChangeEvent.

Field Summary
static int NO_CHANGE
          Delta kind constant indicating that the resource has not been changed in any way
static int ROOT_ADDED
          Delta kind constant (bit mask) indicating that a team provider has been configured on the resource.
static int ROOT_REMOVED
          Delta kind constant (bit mask) indicating that a team provider has been de-configured on the resource.
static int SYNC_CHANGED
          Delta kind constant (bit mask) indicating that the synchronization state of a resource has changed.
 
Method Summary
 int getFlags ()
          Return the flags that describe the type of change.
  IResource getResource ()
          Return the resource whose state with respect to the subscriber has changed.
  Subscriber getSubscriber ()
          Return the subscriber to which this change event applies.
 

Field Detail

NO_CHANGE

static final int NO_CHANGE
Delta kind constant indicating that the resource has not been changed in any way

See Also:
IResourceDelta.getKind(), Constant Field Values

SYNC_CHANGED

static final int SYNC_CHANGED
Delta kind constant (bit mask) indicating that the synchronization state of a resource has changed.

See Also:
getFlags(), Constant Field Values

ROOT_ADDED

static final int ROOT_ADDED
Delta kind constant (bit mask) indicating that a team provider has been configured on the resource.

See Also:
getFlags(), Constant Field Values

ROOT_REMOVED

static final int ROOT_REMOVED
Delta kind constant (bit mask) indicating that a team provider has been de-configured on the resource.

See Also:
getFlags(), Constant Field Values
Method Detail

getFlags

int getFlags()
Return the flags that describe the type of change. The returned value should be ANDed with the change type flags to determine whether the change event is of a particular type. For example,
   if (event.getFlags() & ISubscriberChangeEvent.SYNC_CHANGED) {
      // the sync info for the resource has changed
   }
 

Returns:
the flags that describe the type of change

getResource

IResource getResource()
Return the resource whose state with respect to the subscriber has changed.

Returns:
the resource whose state with respect to the subscriber has changed

getSubscriber

Subscriber getSubscriber()
Return the subscriber to which this change event applies.

Returns:
the subscriber to which this change event applies

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