ipropertyeditor.java

来自「SWT_designer安装软件」· Java 代码 · 共 30 行

JAVA
30
字号
package com.swtdesigner.api.swt.property.editor;

import com.swtdesigner.api.property.editor.IPropertyEditorSite;

/**
 * Abstract custom property editor.
 * 
 * @author scheglov_ke
 */
public interface IPropertyEditor {
	/**
	 * Initilizes property editor with site before first use.
	 * 
	 * @param site the site of property editor
	 */
	void initialize(IPropertyEditorSite site);
	/**
	 * Returns value from editor after editing (for example using custom dialog).
	 */
	Object getValue();
	/**
	 * Sets value to editor, for example to get Java source for this value.
	 */
	void setValue(Object value);
	/**
	 * Returns Java source for current value.
	 */
	String getJavaSource();
}

⌨️ 快捷键说明

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