本文整理了Java中org.eclipse.swt.widgets.FileDialog.error()
方法的一些代码示例,展示了FileDialog.error()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FileDialog.error()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.FileDialog
类名称:FileDialog
方法名:error
暂无
代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64
callback = new Callback(this, "_overwriteExistingFileCheck", 3);
long /*int*/ proc = callback.getAddress();
if (proc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS);
method = OS.class_getInstanceMethod(OS.class_NSSavePanel, OS.sel_overwriteExistingFileCheck);
if (method != 0) methodImpl = OS.method_setImplementation(method, proc);
delegate = (SWTPanelDelegate)new SWTPanelDelegate().alloc().init();
jniRef = OS.NewGlobalRef(this);
if (jniRef == 0) error(SWT.ERROR_NO_HANDLES);
OS.object_setInstanceVariable(delegate.id, Display.SWT_OBJECT, jniRef);
panel.setDelegate(delegate);
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
callback = new Callback (this, "OFNHookProc", 4); //$NON-NLS-1$
int /*long*/ lpfnHook = callback.getAddress ();
if (lpfnHook == 0) error (SWT.ERROR_NO_MORE_CALLBACKS);
struct.lpfnHook = lpfnHook;
struct.Flags |= OS.OFN_ENABLEHOOK;
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
if (handle == 0) error (SWT.ERROR_NO_HANDLES);
OS.gtk_window_set_modal (handle, true);
int /*long*/ group = OS.gtk_window_get_group(0);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
if (handle == 0) error (SWT.ERROR_NO_HANDLES);
OS.gtk_window_set_modal (handle, true);
long /*int*/ group = OS.gtk_window_get_group(0);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
if (handle == 0) error (SWT.ERROR_NO_HANDLES);
OS.gtk_window_set_modal (handle, true);
int /*long*/ group = OS.gtk_window_get_group(0);
内容来源于网络,如有侵权,请联系作者删除!