preferencepage.jvt
来自「SWT_designer安装软件」· JVT 代码 · 共 37 行
JVT
37 行
import
org.eclipse.jface.preference.PreferencePage
org.eclipse.swt.SWT
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Control
org.eclipse.ui.IWorkbench
org.eclipse.ui.IWorkbenchPreferencePage
method
/**
* Create the preference page
*/
public %TypeName% () {
super();
}
method
/**
* Create contents of the preference page
* @param parent
*/
@Override
public Control createContents(Composite parent) {
Composite container = new Composite(parent, SWT.NULL);
%SWTContainerLayout%
return container;
}
method
/**
* Initialize the preference page
*/
public void init(IWorkbench workbench) {
// Initialize the preference page
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?