本文整理了Java中org.eclipse.jface.dialogs.ErrorDialog.createDialogArea()
方法的一些代码示例,展示了ErrorDialog.createDialogArea()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ErrorDialog.createDialogArea()
方法的具体详情如下:
包路径:org.eclipse.jface.dialogs.ErrorDialog
类名称:ErrorDialog
方法名:createDialogArea
[英]This implementation of the Dialog
framework method creates and lays out a composite. Subclasses that require a different dialog area may either override this method, or call the super
implementation and add controls to the created composite. Note: Since 3.4, the created composite no longer grabs excess vertical space. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=72489. If the old behavior is desired by subclasses, get the returned composite's layout data and set grabExcessVerticalSpace to true.
[中]Dialog
框架方法的这个实现创建并布局了一个组合。需要不同对话框区域的子类可以重写此方法,或者调用super
实现并向创建的组合添加控件。注意:从3.4开始,创建的组合不再占用多余的垂直空间。看见https://bugs.eclipse.org/bugs/show_bug.cgi?id=72489.如果子类需要旧的行为,则获取返回的组合的布局数据,并将grabExcessVerticalSpace设置为true。
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface
@Override
protected Control createDialogArea(Composite parent) {
Control area = super.createDialogArea(parent);
createStatusList((Composite) area);
return area;
}
代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.jface
protected Control createDialogArea(Composite parent) {
Control area = super.createDialogArea(parent);
createStatusList((Composite) area);
return area;
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface
@Override
protected Control createDialogArea(Composite parent) {
Control area = super.createDialogArea(parent);
createStatusList((Composite) area);
return area;
}
代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.runtime
@Override
protected Control createDialogArea(Composite parent) {
Control area = super.createDialogArea(parent);
createDropDownList((Composite) area);
return area;
}
代码示例来源:origin: org.eclipse/org.eclipse.jdt.debug.ui
protected Control createDialogArea(Composite parent) {
Composite dialogComposite= (Composite) super.createDialogArea(parent);
dialogComposite.setFont(parent.getFont());
setToggleButton(createCheckButton(dialogComposite, fToggleMessage));
getToggleButton().setSelection(!fStore.getBoolean(fPreferenceKey));
applyDialogFont(dialogComposite);
return dialogComposite;
}
内容来源于网络,如有侵权,请联系作者删除!