⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 icontentproposal.java

📁 jfa2ce 源码帮助开发人员更好的理解运用
💻 JAVA
字号:
/******************************************************************************* * Copyright (c) 2005, 2006 IBM Corporation 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: *     IBM Corporation - initial API and implementation *******************************************************************************/package org.eclipse.jface.fieldassist;/** * IContentProposal describes a content proposal to be shown. It consists of the * content that will be provided if the proposal is accepted, an optional label * used to describe the content to the user, and an optional description that * further elaborates the meaning of the proposal. *  * @since 3.2 */public interface IContentProposal {	/**	 * Return the content represented by this proposal.	 * 	 * @return the String content represented by this proposal.	 */	public String getContent();	/**	 * Return the integer position within the contents that the cursor should be	 * placed after the proposal is accepted.	 * 	 * @return the zero-based index position within the contents where the	 *         cursor should be placed after the proposal is accepted.	 */	public int getCursorPosition();	/**	 * Return the label used to describe this proposal.	 * 	 * @return the String label used to display the proposal. If	 *         <code>null</code>, then the content will be displayed as the	 *         label.	 */	public String getLabel();	/**	 * Return a description that describes this proposal.	 * 	 * @return the String label used to further the proposal. If	 *         <code>null</code>, then no description will be displayed.	 */	public String getDescription();}

⌨️ 快捷键说明

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