📄 ipropertyeditor.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -