ibuttonpropertyeditor.java
来自「SWT_designer安装软件」· Java 代码 · 共 23 行
JAVA
23 行
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 + =
减小字号Ctrl + -
显示快捷键?