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.team.core.synchronize
Interface ISyncInfoTreeChangeEvent

All Superinterfaces:
ISyncInfoSetChangeEvent

public interface ISyncInfoTreeChangeEvent
extends ISyncInfoSetChangeEvent

This is a change event that provides access to changes in subtrees that contain the out-of-sync resources. It is the event type provided by SyncInfoTree when it notifies listeners of changes.

Since:
3.0

Method Summary
  IResource[] getAddedSubtreeRoots ()
          Returns the highest parent resources of all newly added elements available in this event by calling getAddedResources().
  IResource[] getRemovedSubtreeRoots ()
          Returns the highest parent resources of all newly removed elements available in this event by calling getRemovedResources().
 
Methods inherited from interface org.eclipse.team.core.synchronize. ISyncInfoSetChangeEvent
getAddedResources, getChangedResources, getRemovedResources, getSet
 

Method Detail

getAddedSubtreeRoots


IResource[] getAddedSubtreeRoots()
Returns the highest parent resources of all newly added elements available in this event by calling getAddedResources(). In other words, it returns the set of all parent containers that did not previously have descendants in the sync set but are direct children of containers that did previously have descendants in the set.

These roots are provided in order to allow listeners to optimize the reconciliation of hierarchical views of the SyncInfoSet contents.

Returns:
parents of all newly added elements or an empty list if this event doesn't contain added resources.

getRemovedSubtreeRoots


IResource[] getRemovedSubtreeRoots()
Returns the highest parent resources of all newly removed elements available in this event by calling getRemovedResources(). In other words, it returns the set of all parent containers that previously had descendants in the sync set but are direct children of containers that still have descendants in the set.

These roots are provided in order to allow listeners to optimize the reconciliation of hierarchical views of the SyncInfoSet contents.

Returns:
parents of all newly removed elements. or an empty list if this event doesn't contain added resources.

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