| Package | Description |
|---|---|
| org.eclipse.ptp.rdt.sync.core | |
| org.eclipse.ptp.rdt.sync.core.listeners |
| Modifier and Type | Method and Description |
|---|---|
static SyncConfig |
SyncConfigManager.getActive(org.eclipse.core.resources.IProject project)
Get the active configuration for the project.
|
static SyncConfig |
SyncConfigManager.getConfig(org.eclipse.core.resources.IProject project,
java.lang.String name)
Find a configuration by name
|
static SyncConfig[] |
SyncConfigManager.getConfigs(org.eclipse.core.resources.IProject project)
Get the sync configurations associated with the project
|
static SyncConfig |
SyncConfigManager.getLocalConfig(java.lang.String syncServiceId)
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(java.lang.String name,
java.lang.String providerId,
IRemoteConnection conn,
java.lang.String location) |
static SyncConfig |
SyncConfigManager.newConfig(java.lang.String name,
java.lang.String providerId,
java.lang.String remoteServicesId,
java.lang.String connName,
java.lang.String location) |
| Modifier and Type | Method and Description |
|---|---|
static void |
SyncConfigManager.addConfig(org.eclipse.core.resources.IProject project,
SyncConfig config)
Add a new sync configuration to the project
|
int |
SyncConfig.compareTo(SyncConfig config) |
static java.net.URI |
SyncConfigManager.getSyncLocationURI(SyncConfig config,
org.eclipse.core.resources.IResource resource)
Get the synchronize location URI of the resource associated with the sync configuration.
|
static boolean |
SyncConfigManager.isActive(org.eclipse.core.resources.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(org.eclipse.core.resources.IProject project,
SyncConfig config)
Remove the sync configuration from the project.
|
static void |
SyncConfigManager.setActive(org.eclipse.core.resources.IProject project,
SyncConfig config)
Set the active sync configuration for the project.
|
static void |
SyncConfigManager.updateConfigs(org.eclipse.core.resources.IProject project,
SyncConfig[] addedConfigs,
SyncConfig[] removedConfigs)
Batch update configurations for the project
|
static void |
SyncConfigManager.updateConfigs(org.eclipse.core.resources.IProject project,
SyncConfig[] addedConfigs,
SyncConfig[] removedConfigs)
Batch update configurations for the project
|
| Modifier and Type | Method and Description |
|---|---|
void |
ISyncConfigListener.configAdded(org.eclipse.core.resources.IProject project,
SyncConfig config)
Notify listeners that a new sync configuration has been added.
|
void |
ISyncConfigListener.configRemoved(org.eclipse.core.resources.IProject project,
SyncConfig config)
Notify listeners that a sync configuration has been removed.
|
void |
ISyncConfigListener.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
|
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.