Lines Matching refs:swt
17 * Original code by the <a href="http://www.simidude.com/blog/2008/macify-a-swt-application-in-a-cross-platform-way/">CarbonUIEnhancer from Agynami</a>
20 * rather than 'link' to SWT cocoa, and finally modified to be usable by the SwtMenuBar project.
28 import org.eclipse.swt.SWT;
29 import org.eclipse.swt.internal.C;
30 import org.eclipse.swt.internal.Callback;
31 import org.eclipse.swt.widgets.Display;
32 import org.eclipse.swt.widgets.Event;
33 import org.eclipse.swt.widgets.Listener;
34 import org.eclipse.swt.widgets.Menu;
57 * If you don't use JFace in your application (SWT only), change the
59 * {@link org.eclipse.swt.widgets.Listener}s.
70 * Will be called on 32bit SWT.
78 * Will be called on 64bit SWT.
112 * @param display The SWT display. Must not be null.
144 Class<?> osCls = classForName("org.eclipse.swt.internal.cocoa.OS");
152 // Create an SWT Callback object that will invoke the actionProc method
159 SWT.error(SWT.ERROR_NO_MORE_CALLBACKS);
162 Class<?> nsMenuCls = classForName("org.eclipse.swt.internal.cocoa.NSMenu");
163 Class<?> nsMenuitemCls = classForName("org.eclipse.swt.internal.cocoa.NSMenuItem");
164 Class<?> nsStringCls = classForName("org.eclipse.swt.internal.cocoa.NSString");
165 Class<?> nsApplicationCls = classForName("org.eclipse.swt.internal.cocoa.NSApplication");