📄 ibuttonpropertyeditor.java
字号:
package com.swtdesigner.api.swt.property.editor;
import org.eclipse.swt.graphics.Image;
/**
* Property editor marker that can respond on "..." button click, for example
* open some dialog. You can combine this interface with ITextPropertyEditor for
* read only text with "..." button.
*
* @author scheglov_ke
*/
public interface IButtonPropertyEditor {
/**
* Returns image that should be displayed on button.
*/
Image getButtonImage();
/**
* Designer calls this method when user clicks on button.
* You can show here dialog using Shell returned by property editor site.
*/
boolean onButtonClick();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -