idocumentchange.java

来自「Introduction to Sybase IQ.pdf」· Java 代码 · 共 42 行

JAVA
42
字号
/**************************************************************************** * 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.doc;import org.eclipse.ecf.sync.IModelChange;/** * Local document change.  Instances of this class represent * local changes to a replicated document.  *  * @since 2.1 */public interface IDocumentChange extends IModelChange {	/**	 * Get offset in document where change has or will occur.	 * @return int the offset	 */	public int getOffset();	/**	 * Get length of text that was replaced.  	 * @return length of replaced text	 */	public int getLengthOfReplacedText();	/**	 * Get the new text.	 * @return String text.  Will not return <code>null</code>, but	 * may return empty string.	 */	public String getText();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?