📄 identitysynchronizationstrategyfactory.java
字号:
/**************************************************************************** * Copyright (c) 2008 Composent, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Composent, Inc. - initial API and implementation *****************************************************************************/package org.eclipse.ecf.internal.sync.doc.identity;import org.eclipse.ecf.core.identity.ID;import org.eclipse.ecf.sync.IModelSynchronizationStrategy;import org.eclipse.ecf.sync.doc.IDocumentSynchronizationStrategyFactory;/** * */public class IdentitySynchronizationStrategyFactory implements IDocumentSynchronizationStrategyFactory { public static final String SYNCHSTRATEGY_PROVIDER = "org.eclipse.ecf.sync.doc.identity"; /* (non-Javadoc) * @see org.eclipse.ecf.sync.doc.IDocumentSynchronizationStrategyFactory#disposeSynchronizationStragety(org.eclipse.ecf.core.identity.ID) */ public void disposeSynchronizationStrategy(ID uniqueID) { } /* (non-Javadoc) * @see org.eclipse.ecf.sync.doc.IDocumentSynchronizationStrategyFactory#getSyncronizationStrategy(org.eclipse.ecf.core.identity.ID, boolean) */ public IModelSynchronizationStrategy createDocumentSynchronizationStrategy(ID uniqueID, boolean isInitiator) { return new IdentitySynchronizationStrategy(); } public void dispose() { }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -