Package | Description |
---|---|
org.eclipse.ptp.rdt.sync.core | |
org.eclipse.ptp.rdt.sync.core.listeners | |
org.eclipse.ptp.rdt.sync.core.services |
Modifier and Type | Method and Description |
---|---|
static SyncConfig |
SyncConfigManager.getActive(IProject project)
Get the active configuration for the project.
|
static SyncConfig |
SyncConfigManager.getConfig(IProject project,
String name)
Find a configuration by name
|
static SyncConfig[] |
SyncConfigManager.getConfigs(IProject project)
Get the sync configurations associated with the project
|
static SyncConfig |
SyncConfigManager.getLocalConfig(ISynchronizeService syncService)
Get a local sync config, really a config that does no sync'ing, for when the user wants to just work locally.
|
static SyncConfig |
SyncConfigManager.newConfig(String name,
String providerId,
IRemoteConnection conn,
String location) |
static SyncConfig |
SyncConfigManager.newConfig(String name,
String providerId,
String remoteServicesId,
String connName,
String location) |
Modifier and Type | Method and Description |
---|---|
static void |
SyncConfigManager.addConfig(IProject project,
SyncConfig config)
Add a new sync configuration to the project
|
int |
SyncConfig.compareTo(SyncConfig config) |
static URI |
SyncConfigManager.getSyncLocationURI(SyncConfig config,
IResource resource)
Get the synchronize location URI of the resource associated with the sync configuration.
|
static boolean |
SyncConfigManager.isActive(IProject project,
SyncConfig config)
Check if this config is active for the project.
|
static boolean |
SyncConfigManager.isLocal(SyncConfig config)
Return whether the config is local (no sync'ing is done)
This definition must agree with how local configs are created in
#getLocalConfig() . |
static boolean |
SyncConfigManager.isRemote(SyncConfig config)
Return whether the config is remote (sync'ing is done)
|
static void |
SyncConfigManager.removeConfig(IProject project,
SyncConfig config)
Remove the sync configuration from the project.
|
static void |
SyncConfigManager.setActive(IProject project,
SyncConfig config)
Set the active sync configuration for the project.
|
static void |
SyncConfigManager.updateConfigs(IProject project,
SyncConfig[] addedConfigs,
SyncConfig[] removedConfigs)
Batch update configurations for the project
|
static void |
SyncConfigManager.updateConfigs(IProject project,
SyncConfig[] addedConfigs,
SyncConfig[] removedConfigs)
Batch update configurations for the project
|
Modifier and Type | Method and Description |
---|---|
void |
ISyncConfigListener.configAdded(IProject project,
SyncConfig config)
Notify listeners that a new sync configuration has been added.
|
void |
ISyncConfigListener.configRemoved(IProject project,
SyncConfig config)
Notify listeners that a sync configuration has been removed.
|
void |
ISyncConfigListener.configSelected(IProject project,
SyncConfig newConfig,
SyncConfig oldConfig)
Notify listeners that the sync configuration selection has been changed changed from oldConfig to newConfig
|
Modifier and Type | Method and Description |
---|---|
void |
ISynchronizeService.checkout(IProject project,
SyncConfig syncConfig,
IPath[] paths)
Replace the current contents of the given paths with the previous versions in the repository
|
void |
ISynchronizeService.checkoutRemoteCopy(IProject project,
SyncConfig syncConfig,
IPath[] paths)
Replace the current contents of the given paths with the current local copies of the remote (not necessarily the same as what
is on the remote site).
|
Set<IPath> |
ISynchronizeService.getMergeConflictFiles(IProject project,
SyncConfig syncConfig)
Get the current list of merge-conflicted files for the passed project and build scenario
|
String[] |
ISynchronizeService.getMergeConflictParts(IProject project,
SyncConfig syncConfig,
IFile file)
Get the three parts of the merge-conflicted file (left, right, and ancestor, respectively)
|
void |
ISynchronizeService.setMergeAsResolved(IProject project,
SyncConfig syncConfig,
IPath[] paths)
Set the given file paths as resolved (merge conflict does not exist)
|
void |
ISynchronizeService.synchronize(IProject project,
SyncConfig syncConfig,
IResourceDelta delta,
IProgressMonitor monitor,
EnumSet<SyncFlag> syncFlags)
Perform synchronization
|
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.