Home | History | Annotate | Download | only in internal

Lines Matching defs:object

54      * Class invoked via the Callback object to run the about and preferences
122 // This is our callback object whose 'actionProc' method will be called
133 // Schedule disposal of callback object
141 private void initialize(Object callbackObject)
152 // Create an SWT Callback object that will invoke the actionProc method
153 // of our internal callback Object.
156 Object object = getAddress.invoke(mProc3Args, (Object[]) null);
157 long proc3 = convertToLong(object);
169 // is a field of the Cocoa Display object and is already the target
172 object = invoke(osCls, "objc_lookUpClass", new Object[] {
175 long cls = convertToLong(object);
179 new Object[] {
184 new Object[] {
190 Object sharedApplication = invoke(nsApplicationCls, "sharedApplication");
191 Object mainMenu = invoke(sharedApplication, "mainMenu");
192 Object mainMenuItem = invoke(nsMenuCls, mainMenu, "itemAtIndex", new Object[] {
195 Object appMenu = invoke(mainMenuItem, "submenu");
198 Object aboutMenuItem =
199 invoke(nsMenuCls, appMenu, "itemAtIndex", new Object[] {
203 Object nsStr = invoke(nsStringCls, "stringWith", new Object[] {
206 invoke(nsMenuitemCls, aboutMenuItem, "setTitle", new Object[] {
212 Object quitMenuItem =
213 invoke(nsMenuCls, appMenu, "itemAtIndex", new Object[] {
216 Object nsStr = invoke(nsStringCls, "stringWith", new Object[] {
219 invoke(nsMenuitemCls, quitMenuItem, "setTitle", new Object[] {
225 Object prefMenuItem =
226 invoke(nsMenuCls, appMenu, "itemAtIndex", new Object[] {
229 invoke(nsMenuitemCls, prefMenuItem, "setEnabled", new Object[] {
240 new Object[] {
244 new Object[] {
252 Object object = invoke(osCls, "sel_registerName", new Object[] {
255 return convertToLong(object);
258 private long convertToLong(Object object) {
259 if (object instanceof Integer) {
260 Integer i = (Integer) object;
263 if (object instanceof Long) {
264 Long l = (Long) object;
270 private static Object wrapPointer(long value) {
279 private static Object invoke(Class<?> clazz, String methodName, Object[] args) {
283 private static Object invoke(Class<?> clazz, Object target, String methodName, Object[] args) {
315 private Object invoke(Class<?> cls, String methodName) {
316 return invoke(cls, methodName, (Class<?>[]) null, (Object[]) null);
319 private Object invoke(Class<?> cls, String methodName, Class<?>[] paramTypes,
320 Object... arguments) {
329 private Object invoke(Object obj, String methodName) {
330 return invoke(obj, methodName, (Class<?>[]) null, (Object[]) null);
333 private Object invoke(Object obj, String methodName, Class<?>[] paramTypes, Object... arguments) {