我创建了一个对话框类:
myDailog extends Dialog
public myDailog (Shell parentShell, String tatgetEntity) {
super(parentShell)
}
@Override
protected Control createDialogArea(final Composite parent) {
final Composite body = (Composite) super.createDialogArea(parent);
...//some logic to create tableViewwer
}
我无法改变对话框大小的问题(拉伸窗口)。 我需要使用不同的对话框吗?
答案 0 :(得分:1)
答案 1 :(得分:1)
覆盖isResizable
的{{1}}方法:
org.eclipse.jface.dialogs.Dialog