本文整理汇总了Java中org.openide.DialogDescriptor.getNotificationLineSupport方法的典型用法代码示例。如果您正苦于以下问题:Java DialogDescriptor.getNotificationLineSupport方法的具体用法?Java DialogDescriptor.getNotificationLineSupport怎么用?Java DialogDescriptor.getNotificationLineSupport使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.openide.DialogDescriptor
的用法示例。
在下文中一共展示了DialogDescriptor.getNotificationLineSupport方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: attachDialogDisplayer
import org.openide.DialogDescriptor; //导入方法依赖的package包/类
/** For gaining access to DialogDisplayer instance to manage
* warning messages
*/
private void attachDialogDisplayer(DialogDescriptor dd) {
nls = dd.getNotificationLineSupport();
if (nls == null) {
nls = dd.createNotificationLineSupport();
}
}
示例2: attachDialogDisplayer
import org.openide.DialogDescriptor; //导入方法依赖的package包/类
void attachDialogDisplayer(DialogDescriptor dd) {
this.dd = dd;
dd.setValid(false);
nls = dd.getNotificationLineSupport();
if (nls == null) {
nls = dd.createNotificationLineSupport();
}
}
示例3: attachDialogDisplayer
import org.openide.DialogDescriptor; //导入方法依赖的package包/类
/** For gaining access to DialogDisplayer instance to manage
* warning messages
*/
public void attachDialogDisplayer(DialogDescriptor dd) {
nls = dd.getNotificationLineSupport();
if (nls == null) {
nls = dd.createNotificationLineSupport();
}
}
示例4: setDescriptor
import org.openide.DialogDescriptor; //导入方法依赖的package包/类
private void setDescriptor(DialogDescriptor descriptor) {
this.descriptor = descriptor;
this.statusLine = descriptor.getNotificationLineSupport();
updateState();
}
示例5: setDlgDescriptor
import org.openide.DialogDescriptor; //导入方法依赖的package包/类
public void setDlgDescriptor(DialogDescriptor dlgDescriptor) {
this.dlgDescriptor = dlgDescriptor;
this.notSupport = dlgDescriptor.getNotificationLineSupport();
}