Java Code Examples for org.eclipse.core.resources.ISynchronizer

The following are top voted examples for showing how to use org.eclipse.core.resources.ISynchronizer. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: team-explorer-everywhere   File: ResourceDataManager.java   Source Code and License 5 votes vote down vote up
public ResourceDataManager(final ISynchronizer synchronizer) {
    Check.notNull(synchronizer, "synchronizer"); //$NON-NLS-1$
    this.synchronizer = synchronizer;

    /*
     * Synchronizers require partner registration before use. It's OK to
     * register the same partner multiple times.
     */
    this.synchronizer.add(SYNCHRONIZER_RESOURCE_DATA_PARTNER_QNAME);

    repositoryCoreEventsListener = new CoreEventsListener(this);
}
 
Example 2
Project: che   File: Workspace.java   Source Code and License 4 votes vote down vote up
@Override
public ISynchronizer getSynchronizer() {
  throw new UnsupportedOperationException();
}