📄 imodelchange.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.sync;import org.eclipse.core.runtime.IAdaptable;/** * Model change interface. This super interface is * a 'tag' interface and does not define any methods. * See sub-interfaces that extend this interface. * * @since 2.1 */public interface IModelChange extends IAdaptable { /** * Apply the change to a model. Clients may use this method * to apply the change to a model of appropriate type (e.g. IDocument * for IDocumentChange). * * @param model the model to apply this change to. Must not be <code>null</code>. * Should be of type appropriate to the model. * * @throws ModelUpdateException thrown if model is <code>null</code>, of incorrect * type, or cannot be changed. */ public void applyToModel(Object model) throws ModelUpdateException; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -