PTP
Release 7.0

org.eclipse.ptp.rdt.sync.core.listeners
Interface ISyncConfigListener


public interface ISyncConfigListener

Provides sync configuration callbacks. This allows clients to be notified of changes to sync configurations.

Since:
3.0

Method Summary
 void configAdded(org.eclipse.core.resources.IProject project, SyncConfig config)
          Notify listeners that a new sync configuration has been added.
 void configRemoved(org.eclipse.core.resources.IProject project, SyncConfig config)
          Notify listeners that a sync configuration has been removed.
 void configSelected(org.eclipse.core.resources.IProject project, SyncConfig newConfig, SyncConfig oldConfig)
          Notify listeners that the sync configuration selection has been changed changed from oldConfig to newConfig
 

Method Detail

configSelected

void configSelected(org.eclipse.core.resources.IProject project,
                    SyncConfig newConfig,
                    SyncConfig oldConfig)
Notify listeners that the sync configuration selection has been changed changed from oldConfig to newConfig

Parameters:
project - synchronized project
newConfig - new configuration
oldConfig - old configuration

configAdded

void configAdded(org.eclipse.core.resources.IProject project,
                 SyncConfig config)
Notify listeners that a new sync configuration has been added.

Parameters:
project - synchronized project
config - config that was added

configRemoved

void configRemoved(org.eclipse.core.resources.IProject project,
                   SyncConfig config)
Notify listeners that a sync configuration has been removed.

Parameters:
project - synchronized project
config - config that was removed

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.