diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org')
200 files changed, 0 insertions, 20479 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Lock.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Lock.java deleted file mode 100644 index 7712dd0f6a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Lock.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal; - -/** - * Instances of this represent a recursive monitor. Note that this - * is an empty implementation which does not actually perform locking. - */ -public class Lock { - -/** - * Locks the monitor and returns the lock count. If - * the lock is owned by another thread, wait until - * the lock is released. - * - * @return the lock count - */ -public int lock() { - return 0; -} - -/** - * Unlocks the monitor. If the current thread is not - * the monitor owner, do nothing. - */ -public void unlock() { -} -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Platform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Platform.java deleted file mode 100755 index ef6bfb1040..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Platform.java +++ /dev/null @@ -1,17 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal; - -public class Platform { - -public static final String PLATFORM = "cocoa"; //$NON-NLS-1$ -public static final Lock lock = new Lock (); -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras deleted file mode 100644 index dc4462bf2f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras +++ /dev/null @@ -1,4752 +0,0 @@ -<?xml version="1.0" encoding="UTF8"?> -<signatures swt_gen="mixed"> - <constant name="NSAccessibilityButtonRole" swt_gen="true"></constant> - <constant name="NSAccessibilityCheckBoxRole" swt_gen="true"></constant> - <constant name="NSAccessibilityChildrenAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityColumnRole" swt_gen="true"></constant> - <constant name="NSAccessibilityComboBoxRole" swt_gen="true"></constant> - <constant name="NSAccessibilityConfirmAction" swt_gen="true"></constant> - <constant name="NSAccessibilityContentsAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityDescriptionAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityDialogSubrole" swt_gen="true"></constant> - <constant name="NSAccessibilityEnabledAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityExpandedAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityFloatingWindowSubrole" swt_gen="true"></constant> - <constant name="NSAccessibilityFocusedAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityFocusedUIElementChangedNotification" swt_gen="true"></constant> - <constant name="NSAccessibilityGridRole" swt_gen="true"></constant> - <constant name="NSAccessibilityGroupRole" swt_gen="true"></constant> - <constant name="NSAccessibilityHelpAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityHelpTagRole" swt_gen="true"></constant> - <constant name="NSAccessibilityHorizontalOrientationValue" swt_gen="true"></constant> - <constant name="NSAccessibilityHorizontalScrollBarAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityImageRole" swt_gen="true"></constant> - <constant name="NSAccessibilityIncrementorRole" swt_gen="true"></constant> - <constant name="NSAccessibilityInsertionPointLineNumberAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityLabelValueAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityLineForIndexParameterizedAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityLinkRole" swt_gen="true"></constant> - <constant name="NSAccessibilityLinkTextAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityListRole" swt_gen="true"></constant> - <constant name="NSAccessibilityMaxValueAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityMenuBarRole" swt_gen="true"></constant> - <constant name="NSAccessibilityMenuButtonRole" swt_gen="true"></constant> - <constant name="NSAccessibilityMenuItemRole" swt_gen="true"></constant> - <constant name="NSAccessibilityMenuRole" swt_gen="true"></constant> - <constant name="NSAccessibilityMinValueAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityNextContentsAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityNumberOfCharactersAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityOrientationAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityOutlineRole" swt_gen="true"></constant> - <constant name="NSAccessibilityOutlineRowSubrole" swt_gen="true"></constant> - <constant name="NSAccessibilityParentAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityPopUpButtonRole" swt_gen="true"></constant> - <constant name="NSAccessibilityPositionAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityPressAction" swt_gen="true"></constant> - <constant name="NSAccessibilityPreviousContentsAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityProgressIndicatorRole" swt_gen="true"></constant> - <constant name="NSAccessibilityRTFForRangeParameterizedAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityRadioButtonRole" swt_gen="true"></constant> - <constant name="NSAccessibilityRadioGroupRole" swt_gen="true"></constant> - <constant name="NSAccessibilityRangeForIndexParameterizedAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityRangeForLineParameterizedAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityRangeForPositionParameterizedAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityRoleAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityRoleDescriptionAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityRowRole" swt_gen="true"></constant> - <constant name="NSAccessibilityScrollAreaRole" swt_gen="true"></constant> - <constant name="NSAccessibilityScrollBarRole" swt_gen="true"></constant> - <constant name="NSAccessibilitySelectedAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilitySelectedChildrenAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilitySelectedChildrenChangedNotification" swt_gen="true"></constant> - <constant name="NSAccessibilitySelectedTextAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilitySelectedTextChangedNotification" swt_gen="true"></constant> - <constant name="NSAccessibilitySelectedTextRangeAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilitySelectedTextRangesAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityServesAsTitleForUIElementsAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilitySizeAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilitySliderRole" swt_gen="true"></constant> - <constant name="NSAccessibilitySortButtonRole" swt_gen="true"></constant> - <constant name="NSAccessibilitySplitterRole" swt_gen="true"></constant> - <constant name="NSAccessibilityStandardWindowSubrole" swt_gen="true"></constant> - <constant name="NSAccessibilityStaticTextRole" swt_gen="true"></constant> - <constant name="NSAccessibilityStringForRangeParameterizedAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityStyleRangeForIndexParameterizedAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilitySubroleAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilitySystemDialogSubrole" swt_gen="true"></constant> - <constant name="NSAccessibilityTabGroupRole" swt_gen="true"></constant> - <constant name="NSAccessibilityTableRole" swt_gen="true"></constant> - <constant name="NSAccessibilityTableRowSubrole" swt_gen="true"></constant> - <constant name="NSAccessibilityTabsAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityTextAreaRole" swt_gen="true"></constant> - <constant name="NSAccessibilityTextFieldRole" swt_gen="true"></constant> - <constant name="NSAccessibilityTextLinkSubrole" swt_gen="true"></constant> - <constant name="NSAccessibilityTitleAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityTitleUIElementAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityToolbarRole" swt_gen="true"></constant> - <constant name="NSAccessibilityTopLevelUIElementAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityUnknownRole" swt_gen="true"></constant> - <constant name="NSAccessibilityUnknownSubrole" swt_gen="true"></constant> - <constant name="NSAccessibilityValueAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityValueChangedNotification" swt_gen="true"></constant> - <constant name="NSAccessibilityValueDescriptionAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityValueIndicatorRole" swt_gen="true"></constant> - <constant name="NSAccessibilityVerticalOrientationValue" swt_gen="true"></constant> - <constant name="NSAccessibilityVerticalScrollBarAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityVisibleCharacterRangeAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityVisibleChildrenAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityWindowAttribute" swt_gen="true"></constant> - <constant name="NSAccessibilityWindowRole" swt_gen="true"></constant> - <constant name="NSApplicationDidChangeScreenParametersNotification" swt_gen="true"></constant> - <constant name="NSBackgroundColorAttributeName" swt_gen="true"></constant> - <constant name="NSBaselineOffsetAttributeName" swt_gen="true"></constant> - <constant name="NSCalibratedRGBColorSpace" swt_gen="true"></constant> - <constant name="NSDeviceRGBColorSpace" swt_gen="true"></constant> - <constant name="NSDeviceResolution" swt_gen="true"></constant> - <constant name="NSDragPboard" swt_gen="true"></constant> - <constant name="NSEventTrackingRunLoopMode" swt_gen="true"></constant> - <constant name="NSFilenamesPboardType" swt_gen="true"></constant> - <constant name="NSFontAttributeName" swt_gen="true"></constant> - <constant name="NSForegroundColorAttributeName" swt_gen="true"></constant> - <constant name="NSHTMLPboardType" swt_gen="true"></constant> - <constant name="NSLinkAttributeName" swt_gen="true"></constant> - <constant name="NSObliquenessAttributeName" swt_gen="true"></constant> - <constant name="NSParagraphStyleAttributeName" swt_gen="true"></constant> - <constant name="NSPrintAllPages" swt_gen="true"></constant> - <constant name="NSPrintCopies" swt_gen="true"></constant> - <constant name="NSPrintFirstPage" swt_gen="true"></constant> - <constant name="NSPrintJobDisposition" swt_gen="true"></constant> - <constant name="NSPrintLastPage" swt_gen="true"></constant> - <constant name="NSPrintMustCollate" swt_gen="true"></constant> - <constant name="NSPrintPreviewJob" swt_gen="true"></constant> - <constant name="NSPrintSaveJob" swt_gen="true"></constant> - <constant name="NSPrintSavePath" swt_gen="true"></constant> - <constant name="NSPrintScalingFactor" swt_gen="true"></constant> - <constant name="NSPrintSpoolJob" swt_gen="true"></constant> - <constant name="NSRTFPboardType" swt_gen="true"></constant> - <constant name="NSStrikethroughColorAttributeName" swt_gen="true"></constant> - <constant name="NSStrikethroughStyleAttributeName" swt_gen="true"></constant> - <constant name="NSStringPboardType" swt_gen="true"></constant> - <constant name="NSStrokeWidthAttributeName" swt_gen="true"></constant> - <constant name="NSSystemColorsDidChangeNotification" swt_gen="true"></constant> - <constant name="NSTIFFPboardType" swt_gen="true"></constant> - <constant name="NSToolbarCustomizeToolbarItemIdentifier" swt_gen="true"></constant> - <constant name="NSToolbarDidRemoveItemNotification" swt_gen="true"></constant> - <constant name="NSToolbarFlexibleSpaceItemIdentifier" swt_gen="true"></constant> - <constant name="NSToolbarPrintItemIdentifier" swt_gen="true"></constant> - <constant name="NSToolbarSeparatorItemIdentifier" swt_gen="true"></constant> - <constant name="NSToolbarShowColorsItemIdentifier" swt_gen="true"></constant> - <constant name="NSToolbarShowFontsItemIdentifier" swt_gen="true"></constant> - <constant name="NSToolbarSpaceItemIdentifier" swt_gen="true"></constant> - <constant name="NSToolbarWillAddItemNotification" swt_gen="true"></constant> - <constant name="NSURLPboardType" swt_gen="true"></constant> - <constant name="NSUnderlineColorAttributeName" swt_gen="true"></constant> - <constant name="NSUnderlineStyleAttributeName" swt_gen="true"></constant> - <constant name="NSViewGlobalFrameDidChangeNotification" swt_gen="true"></constant> - <enum name="NSAlertFirstButtonReturn" swt_gen="true"></enum> - <enum name="NSAlertSecondButtonReturn" swt_gen="true"></enum> - <enum name="NSAlertThirdButtonReturn" swt_gen="true"></enum> - <enum name="NSAlphaFirstBitmapFormat" swt_gen="true"></enum> - <enum name="NSAlphaNonpremultipliedBitmapFormat" swt_gen="true"></enum> - <enum name="NSAlternateKeyMask" swt_gen="true"></enum> - <enum name="NSApplicationDefined" swt_gen="true"></enum> - <enum name="NSAtTop" swt_gen="true"></enum> - <enum name="NSBackingStoreBuffered" swt_gen="true"></enum> - <enum name="NSBackspaceCharacter" swt_gen="true"></enum> - <enum name="NSBevelLineJoinStyle" swt_gen="true"></enum> - <enum name="NSBezelBorder" swt_gen="true"></enum> - <enum name="NSBoldFontMask" swt_gen="true"></enum> - <enum name="NSBorderlessWindowMask" swt_gen="true"></enum> - <enum name="NSBottomTabsBezelBorder" swt_gen="true"></enum> - <enum name="NSBoxCustom" swt_gen="true"></enum> - <enum name="NSBoxSeparator" swt_gen="true"></enum> - <enum name="NSButtLineCapStyle" swt_gen="true"></enum> - <enum name="NSCancelButton" swt_gen="true"></enum> - <enum name="NSCarriageReturnCharacter" swt_gen="true"></enum> - <enum name="NSCenterTextAlignment" swt_gen="true"></enum> - <enum name="NSClockAndCalendarDatePickerStyle" swt_gen="true"></enum> - <enum name="NSClosableWindowMask" swt_gen="true"></enum> - <enum name="NSClosePathBezierPathElement" swt_gen="true"></enum> - <enum name="NSCommandKeyMask" swt_gen="true"></enum> - <enum name="NSCompositeClear" swt_gen="true"></enum> - <enum name="NSCompositeCopy" swt_gen="true"></enum> - <enum name="NSCompositeSourceOver" swt_gen="true"></enum> - <enum name="NSCompositeXOR" swt_gen="true"></enum> - <enum name="NSControlKeyMask" swt_gen="true"></enum> - <enum name="NSCriticalAlertStyle" swt_gen="true"></enum> - <enum name="NSCurveToBezierPathElement" swt_gen="true"></enum> - <enum name="NSDeleteCharacter" swt_gen="true"></enum> - <enum name="NSDeviceIndependentModifierFlagsMask" swt_gen="true"></enum> - <enum name="NSDragOperationCopy" swt_gen="true"></enum> - <enum name="NSDragOperationDelete" swt_gen="true"></enum> - <enum name="NSDragOperationEvery" swt_gen="true"></enum> - <enum name="NSDragOperationLink" swt_gen="true"></enum> - <enum name="NSDragOperationMove" swt_gen="true"></enum> - <enum name="NSDragOperationNone" swt_gen="true"></enum> - <enum name="NSEnterCharacter" swt_gen="true"></enum> - <enum name="NSEvenOddWindingRule" swt_gen="true"></enum> - <enum name="NSFileHandlingPanelOKButton" swt_gen="true"></enum> - <enum name="NSFlagsChanged" swt_gen="true"></enum> - <enum name="NSFocusRingTypeNone" swt_gen="true"></enum> - <enum name="NSHelpFunctionKey" swt_gen="true"></enum> - <enum name="NSHelpKeyMask" swt_gen="true"></enum> - <enum name="NSHourMinuteDatePickerElementFlag" swt_gen="true"></enum> - <enum name="NSHourMinuteSecondDatePickerElementFlag" swt_gen="true"></enum> - <enum name="NSImageAbove" swt_gen="true"></enum> - <enum name="NSImageAlignCenter" swt_gen="true"></enum> - <enum name="NSImageAlignLeft" swt_gen="true"></enum> - <enum name="NSImageAlignRight" swt_gen="true"></enum> - <enum name="NSImageCacheNever" swt_gen="true"></enum> - <enum name="NSImageInterpolationDefault" swt_gen="true"></enum> - <enum name="NSImageInterpolationHigh" swt_gen="true"></enum> - <enum name="NSImageInterpolationLow" swt_gen="true"></enum> - <enum name="NSImageInterpolationNone" swt_gen="true"></enum> - <enum name="NSImageLeft" swt_gen="true"></enum> - <enum name="NSImageOnly" swt_gen="true"></enum> - <enum name="NSImageOverlaps" swt_gen="true"></enum> - <enum name="NSInformationalAlertStyle" swt_gen="true"></enum> - <enum name="NSItalicFontMask" swt_gen="true"></enum> - <enum name="NSJustifiedTextAlignment" swt_gen="true"></enum> - <enum name="NSKeyDown" swt_gen="true"></enum> - <enum name="NSKeyUp" swt_gen="true"></enum> - <enum name="NSLandscapeOrientation" swt_gen="true"></enum> - <enum name="NSLeftMouseDown" swt_gen="true"></enum> - <enum name="NSLeftMouseDownMask" swt_gen="true"></enum> - <enum name="NSLeftMouseDragged" swt_gen="true"></enum> - <enum name="NSLeftMouseDraggedMask" swt_gen="true"></enum> - <enum name="NSLeftMouseUp" swt_gen="true"></enum> - <enum name="NSLeftMouseUpMask" swt_gen="true"></enum> - <enum name="NSLeftTabStopType" swt_gen="true"></enum> - <enum name="NSLeftTextAlignment" swt_gen="true"></enum> - <enum name="NSLineBreakByClipping" swt_gen="true"></enum> - <enum name="NSLineBreakByWordWrapping" swt_gen="true"></enum> - <enum name="NSLineToBezierPathElement" swt_gen="true"></enum> - <enum name="NSMiniaturizableWindowMask" swt_gen="true"></enum> - <enum name="NSMiterLineJoinStyle" swt_gen="true"></enum> - <enum name="NSMixedState" swt_gen="true"></enum> - <enum name="NSMomentaryLightButton" swt_gen="true"></enum> - <enum name="NSMouseEntered" swt_gen="true"></enum> - <enum name="NSMouseExited" swt_gen="true"></enum> - <enum name="NSMouseMoved" swt_gen="true"></enum> - <enum name="NSMoveToBezierPathElement" swt_gen="true"></enum> - <enum name="NSNewlineCharacter" swt_gen="true"></enum> - <enum name="NSNoBorder" swt_gen="true"></enum> - <enum name="NSNoImage" swt_gen="true"></enum> - <enum name="NSNoTitle" swt_gen="true"></enum> - <enum name="NSNonZeroWindingRule" swt_gen="true"></enum> - <enum name="NSOffState" swt_gen="true"></enum> - <enum name="NSOnState" swt_gen="true"></enum> - <enum name="NSOpenGLPFAAccumSize" swt_gen="true"></enum> - <enum name="NSOpenGLPFAAlphaSize" swt_gen="true"></enum> - <enum name="NSOpenGLPFAColorSize" swt_gen="true"></enum> - <enum name="NSOpenGLPFADepthSize" swt_gen="true"></enum> - <enum name="NSOpenGLPFADoubleBuffer" swt_gen="true"></enum> - <enum name="NSOpenGLPFASampleBuffers" swt_gen="true"></enum> - <enum name="NSOpenGLPFASamples" swt_gen="true"></enum> - <enum name="NSOpenGLPFAStencilSize" swt_gen="true"></enum> - <enum name="NSOpenGLPFAStereo" swt_gen="true"></enum> - <enum name="NSOtherMouseDown" swt_gen="true"></enum> - <enum name="NSOtherMouseDragged" swt_gen="true"></enum> - <enum name="NSOtherMouseUp" swt_gen="true"></enum> - <enum name="NSOutlineViewDropOnItemIndex" swt_gen="true"></enum> - <enum name="NSPageDownFunctionKey" swt_gen="true"></enum> - <enum name="NSPageUpFunctionKey" swt_gen="true"></enum> - <enum name="NSPortraitOrientation" swt_gen="true"></enum> - <enum name="NSPrintPanelShowsPageSetupAccessory" swt_gen="true"></enum> - <enum name="NSProgressIndicatorPreferredThickness" swt_gen="true"></enum> - <enum name="NSPushOnPushOffButton" swt_gen="true"></enum> - <enum name="NSRadioButton" swt_gen="true"></enum> - <enum name="NSRegularControlSize" swt_gen="true"></enum> - <enum name="NSResizableWindowMask" swt_gen="true"></enum> - <enum name="NSRightMouseDown" swt_gen="true"></enum> - <enum name="NSRightMouseDragged" swt_gen="true"></enum> - <enum name="NSRightMouseUp" swt_gen="true"></enum> - <enum name="NSRightTextAlignment" swt_gen="true"></enum> - <enum name="NSRoundLineCapStyle" swt_gen="true"></enum> - <enum name="NSRoundLineJoinStyle" swt_gen="true"></enum> - <enum name="NSRoundedBezelStyle" swt_gen="true"></enum> - <enum name="NSScaleNone" swt_gen="true"></enum> - <enum name="NSScrollWheel" swt_gen="true"></enum> - <enum name="NSScrollerDecrementLine" swt_gen="true"></enum> - <enum name="NSScrollerDecrementPage" swt_gen="true"></enum> - <enum name="NSScrollerIncrementLine" swt_gen="true"></enum> - <enum name="NSScrollerIncrementPage" swt_gen="true"></enum> - <enum name="NSScrollerKnob" swt_gen="true"></enum> - <enum name="NSShadowlessSquareBezelStyle" swt_gen="true"></enum> - <enum name="NSShiftKeyMask" swt_gen="true"></enum> - <enum name="NSSmallControlSize" swt_gen="true"></enum> - <enum name="NSSquareLineCapStyle" swt_gen="true"></enum> - <enum name="NSStatusWindowLevel" swt_gen="true"></enum> - <enum name="NSSwitchButton" swt_gen="true"></enum> - <enum name="NSSystemDefined" swt_gen="true"></enum> - <enum name="NSTabCharacter" swt_gen="true"></enum> - <enum name="NSTableColumnNoResizing" swt_gen="true"></enum> - <enum name="NSTableColumnUserResizingMask" swt_gen="true"></enum> - <enum name="NSTableViewDropAbove" swt_gen="true"></enum> - <enum name="NSTableViewDropOn" swt_gen="true"></enum> - <enum name="NSTableViewNoColumnAutoresizing" swt_gen="true"></enum> - <enum name="NSTextFieldAndStepperDatePickerStyle" swt_gen="true"></enum> - <enum name="NSTitledWindowMask" swt_gen="true"></enum> - <enum name="NSUnderlineStyleDouble" swt_gen="true"></enum> - <enum name="NSUnderlineStyleNone" swt_gen="true"></enum> - <enum name="NSUnderlineStyleSingle" swt_gen="true"></enum> - <enum name="NSUnderlineStyleThick" swt_gen="true"></enum> - <enum name="NSViewHeightSizable" swt_gen="true"></enum> - <enum name="NSViewWidthSizable" swt_gen="true"></enum> - <enum name="NSWarningAlertStyle" swt_gen="true"></enum> - <enum name="NSWindowAbove" swt_gen="true"></enum> - <enum name="NSWindowBelow" swt_gen="true"></enum> - <enum name="NSYearMonthDatePickerElementFlag" swt_gen="true"></enum> - <enum name="NSYearMonthDayDatePickerElementFlag" swt_gen="true"></enum> - <function name="NSAccessibilityActionDescription" swt_gen="true"> - <arg name="action" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSAccessibilityPostNotification" swt_gen="true"> - <arg name="element" swt_gen="true"></arg> - <arg name="notification" swt_gen="true"></arg> - </function> - <function name="NSAccessibilityRaiseBadArgumentException" swt_gen="true"> - <arg name="element" swt_gen="true"></arg> - <arg name="attribute" swt_gen="true"></arg> - <arg name="value" swt_gen="true"></arg> - </function> - <function name="NSAccessibilityRoleDescription" swt_gen="true"> - <arg name="role" swt_gen="true"></arg> - <arg name="subrole" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSAccessibilityRoleDescriptionForUIElement" swt_gen="true"> - <arg name="element" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSAccessibilityUnignoredAncestor" swt_gen="true"> - <arg name="element" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSAccessibilityUnignoredChildren" swt_gen="true"> - <arg name="originalChildren" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSAccessibilityUnignoredChildrenForOnlyChild" swt_gen="true"> - <arg name="originalChild" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSAccessibilityUnignoredDescendant" swt_gen="true"> - <arg name="element" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSBeep" swt_gen="true"></function> - <function name="NSBitsPerPixelFromDepth" swt_gen="true"> - <arg name="depth" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSCopyBits" swt_gen="true"> - <arg name="srcGState" swt_gen="true"></arg> - <arg name="srcRect" swt_gen="true"></arg> - <arg name="destPoint" swt_gen="true"></arg> - </function> - <function name="NSNumberOfColorComponents" swt_gen="true"> - <arg name="colorSpaceName" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <class name="NSATSTypesetter" swt_superclass="NSTypesetter"> - </class> - <class name="NSActionCell" swt_gen="mixed" swt_superclass="NSCell"> - <method selector="action" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAction:" swt_gen="true"> - <arg name="aSelector" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTarget:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="target" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSAffineTransform" swt_gen="mixed"> - <method selector="concat" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithTransform:" swt_gen="true"> - <arg name="transform" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSAffineTransform"></retval> - </method> - <method selector="invert" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="prependTransform:" swt_gen="true"> - <arg name="transform" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="rotateByDegrees:" swt_gen="true"> - <arg name="angle" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="scaleXBy:yBy:" swt_gen="true"> - <arg name="scaleX" swt_gen="true"></arg> - <arg name="scaleY" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="set" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setTransformStruct:" swt_gen="true"> - <arg name="transformStruct" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="transform" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="transformPoint:" swt_gen="true"> - <arg name="aPoint" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="transformSize:" swt_gen="true"> - <arg name="aSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="transformStruct" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="translateXBy:yBy:" swt_gen="true"> - <arg name="deltaX" swt_gen="true"></arg> - <arg name="deltaY" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSAlert" swt_gen="mixed"> - <method selector="addButtonWithTitle:" swt_gen="true"> - <arg name="title" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:" swt_gen="true"> - <arg name="window" swt_gen="true"></arg> - <arg name="delegate" swt_gen="true"></arg> - <arg name="didEndSelector" swt_gen="true"></arg> - <arg name="contextInfo" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="runModal" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAlertStyle:" swt_gen="true"> - <arg name="style" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMessageText:" swt_gen="true"> - <arg name="messageText" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="window" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSWindow"></retval> - </method> - </class> - <class name="NSApplication" swt_gen="mixed" swt_superclass="NSResponder"> - <method selector="activateIgnoringOtherApps:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:" swt_gen="true"> - <arg name="sheet" swt_gen="true"></arg> - <arg name="docWindow" swt_gen="true"></arg> - <arg name="modalDelegate" swt_gen="true"></arg> - <arg name="didEndSelector" swt_gen="true"></arg> - <arg name="contextInfo" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="currentEvent" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="endSheet:returnCode:" swt_gen="true"> - <arg name="sheet" swt_gen="true"></arg> - <arg name="returnCode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="finishLaunching" swt_gen="true" swt_gen_super_msgSend="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="hide:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="hideOtherApplications:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="isActive" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isRunning" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="keyWindow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="mainMenu" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="nextEventMatchingMask:untilDate:inMode:dequeue:" swt_gen="true" swt_gen_super_msgSend="true"> - <arg name="mask" swt_gen="true"></arg> - <arg name="expiration" swt_gen="true"></arg> - <arg name="mode" swt_gen="true"></arg> - <arg name="deqFlag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="orderFrontStandardAboutPanel:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="orderedWindows" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="postEvent:atStart:" swt_gen="true"> - <arg name="event" swt_gen="true"></arg> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="run" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="runModalForWindow:" swt_gen="true"> - <arg name="theWindow" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="sendEvent:" swt_gen="true" swt_gen_super_msgSend="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setApplicationIconImage:" swt_gen="true"> - <arg name="image" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDelegate:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMainMenu:" swt_gen="true"> - <arg name="aMenu" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setServicesMenu:" swt_gen="true"> - <arg name="aMenu" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="sharedApplication" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="stop:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="terminate:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="unhideAllApplications:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="windows" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSArrayController" swt_superclass="NSObjectController"> - </class> - <class name="NSAttributedString" swt_gen="mixed"> - <method class_method="true" selector="attributedStringWithAttachment:" swt_gen="true"> - <arg name="attachment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="attributesAtIndex:longestEffectiveRange:inRange:" swt_gen="true"> - <arg name="location" swt_gen="true"></arg> - <arg name="range" swt_gen="true"></arg> - <arg name="rangeLimit" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="doubleClickAtIndex:" swt_gen="true"> - <arg name="location" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="drawAtPoint:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="drawInRect:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithString:attributes:" swt_gen="true"> - <arg name="str" swt_gen="true"></arg> - <arg name="attrs" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSAttributedString"></retval> - </method> - <method selector="nextWordFromIndex:forward:" swt_gen="true"> - <arg name="location" swt_gen="true"></arg> - <arg name="isForward" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="size" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSBezierPath" swt_gen="mixed"> - <method selector="addClip" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="appendBezierPath:" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:" swt_gen="true"> - <arg name="center" swt_gen="true"></arg> - <arg name="radius" swt_gen="true"></arg> - <arg name="startAngle" swt_gen="true"></arg> - <arg name="endAngle" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:clockwise:" swt_gen="true"> - <arg name="center" swt_gen="true"></arg> - <arg name="radius" swt_gen="true"></arg> - <arg name="startAngle" swt_gen="true"></arg> - <arg name="endAngle" swt_gen="true"></arg> - <arg name="clockwise" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="appendBezierPathWithGlyphs:count:inFont:" swt_gen="true"> - <arg name="glyphs" swt_gen="true"></arg> - <arg name="count" swt_gen="true"></arg> - <arg name="font" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="appendBezierPathWithOvalInRect:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="appendBezierPathWithRect:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="appendBezierPathWithRoundedRect:xRadius:yRadius:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <arg name="xRadius" swt_gen="true"></arg> - <arg name="yRadius" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="bezierPath" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="bezierPathByFlatteningPath" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="bezierPathWithRect:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="bounds" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="closePath" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="containsPoint:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="controlPointBounds" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="currentPoint" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="curveToPoint:controlPoint1:controlPoint2:" swt_gen="true"> - <arg name="endPoint" swt_gen="true"></arg> - <arg name="controlPoint1" swt_gen="true"></arg> - <arg name="controlPoint2" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="defaultFlatness" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="elementAtIndex:associatedPoints:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <arg name="points" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="elementCount" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="fill" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="fillRect:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="isEmpty" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="lineToPoint:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="moveToPoint:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="removeAllPoints" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setClip" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="setDefaultFlatness:" swt_gen="true"> - <arg name="flatness" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLineCapStyle:" swt_gen="true"> - <arg name="lineCapStyle" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLineDash:count:phase:" swt_gen="true"> - <arg name="pattern" swt_gen="true" swt_java_type="float[]" swt_java_type64="double[]"></arg> - <arg name="count" swt_gen="true"></arg> - <arg name="phase" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLineJoinStyle:" swt_gen="true"> - <arg name="lineJoinStyle" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLineWidth:" swt_gen="true"> - <arg name="lineWidth" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMiterLimit:" swt_gen="true"> - <arg name="miterLimit" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setWindingRule:" swt_gen="true"> - <arg name="windingRule" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="stroke" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="strokeRect:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="transformUsingAffineTransform:" swt_gen="true"> - <arg name="transform" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSBitmapImageRep" swt_gen="mixed" swt_superclass="NSImageRep"> - <method selector="TIFFRepresentation" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="bitmapData" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="bitmapFormat" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="bitsPerPixel" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="bytesPerPlane" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="bytesPerRow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="colorAtX:y:" swt_gen="true"> - <arg name="x" swt_gen="true"></arg> - <arg name="y" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="getBitmapDataPlanes:" swt_gen="true"> - <arg name="data" swt_gen="true" swt_java_type="int[]" swt_java_type64="long[]"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="imageRepWithData:" swt_gen="true"> - <arg name="data" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:" swt_gen="true"> - <arg name="planes" swt_gen="true"></arg> - <arg name="width" swt_gen="true"></arg> - <arg name="height" swt_gen="true"></arg> - <arg name="bps" swt_gen="true"></arg> - <arg name="spp" swt_gen="true"></arg> - <arg name="alpha" swt_gen="true"></arg> - <arg name="isPlanar" swt_gen="true"></arg> - <arg name="colorSpaceName" swt_gen="true"></arg> - <arg name="bitmapFormat" swt_gen="true"></arg> - <arg name="rBytes" swt_gen="true"></arg> - <arg name="pBits" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSBitmapImageRep"></retval> - </method> - <method selector="initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:" swt_gen="true"> - <arg name="planes" swt_gen="true"></arg> - <arg name="width" swt_gen="true"></arg> - <arg name="height" swt_gen="true"></arg> - <arg name="bps" swt_gen="true"></arg> - <arg name="spp" swt_gen="true"></arg> - <arg name="alpha" swt_gen="true"></arg> - <arg name="isPlanar" swt_gen="true"></arg> - <arg name="colorSpaceName" swt_gen="true"></arg> - <arg name="rBytes" swt_gen="true"></arg> - <arg name="pBits" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSBitmapImageRep"></retval> - </method> - <method selector="initWithFocusedViewRect:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSBitmapImageRep"></retval> - </method> - <method selector="isPlanar" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="numberOfPlanes" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="samplesPerPixel" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSBox" swt_gen="mixed" swt_superclass="NSView"> - <method selector="borderWidth" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="contentView" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSView"></retval> - </method> - <method selector="contentViewMargins" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setBorderType:" swt_gen="true"> - <arg name="aType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBorderWidth:" swt_gen="true"> - <arg name="borderWidth" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBoxType:" swt_gen="true"> - <arg name="boxType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setContentView:" swt_gen="true"> - <arg name="aView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setContentViewMargins:" swt_gen="true"> - <arg name="offsetSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFillColor:" swt_gen="true"> - <arg name="fillColor" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTitle:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTitleFont:" swt_gen="true"> - <arg name="fontObj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTitlePosition:" swt_gen="true"> - <arg name="aPosition" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="sizeToFit" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="titleCell" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSCell"></retval> - </method> - <method selector="titleFont" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSBrowser" swt_superclass="NSControl"> - </class> - <class name="NSBrowserCell" swt_gen="mixed" swt_superclass="NSCell"> - <method selector="highlightColorInView:" swt_gen="true"> - <arg name="controlView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLeaf:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSBundle" swt_gen="mixed"> - <method class_method="true" selector="loadNibFile:externalNameTable:withZone:" swt_gen="true"> - <arg name="fileName" swt_gen="true"></arg> - <arg name="context" swt_gen="true"></arg> - <arg name="zone" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSButton" swt_gen="mixed" swt_superclass="NSControl"> - <method selector="attributedTitle" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAllowsMixedState:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAttributedTitle:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBezelStyle:" swt_gen="true"> - <arg name="bezelStyle" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBordered:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setButtonType:" swt_gen="true"> - <arg name="aType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setImage:" swt_gen="true"> - <arg name="image" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setImagePosition:" swt_gen="true"> - <arg name="aPosition" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setKeyEquivalent:" swt_gen="true"> - <arg name="charCode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setState:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTitle:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="state" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSButtonCell" swt_gen="mixed" swt_superclass="NSActionCell"> - <method selector="drawImage:withFrame:inView:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> - <arg name="image" swt_gen="true"></arg> - <arg name="frame" swt_gen="true"></arg> - <arg name="controlView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBackgroundColor:" swt_gen="true"> - <arg name="color" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setButtonType:" swt_gen="true"> - <arg name="aType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setImagePosition:" swt_gen="true"> - <arg name="aPosition" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="title" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSCIImageRep" swt_superclass="NSImageRep"> - </class> - <class name="NSCachedImageRep" swt_superclass="NSImageRep"> - </class> - <class name="NSCell" swt_gen="mixed"> - <method selector="attributedStringValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="cellSize" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="cellSizeForBounds:" swt_gen="true"> - <arg name="aRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="drawInteriorWithFrame:inView:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> - <arg name="cellFrame" swt_gen="true"></arg> - <arg name="controlView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="drawWithExpansionFrame:inView:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="cellFrame" swt_gen="true"></arg> - <arg name="view" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="drawWithFrame:inView:" swt_gen_custom_callback="true"> - <arg name="cellFrame"></arg> - <arg name="controlView"></arg> - <retval></retval> - </method> - <method selector="drawingRectForBounds:" swt_gen="true"> - <arg name="theRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="expansionFrameWithFrame:inView:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> - <arg name="cellFrame" swt_gen="true"></arg> - <arg name="view" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="font" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="highlightColorWithFrame:inView:" swt_gen="true"> - <arg name="cellFrame" swt_gen="true"></arg> - <arg name="controlView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="hitTestForEvent:inRect:ofView:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="event" swt_gen="true"></arg> - <arg name="cellFrame" swt_gen="true"></arg> - <arg name="controlView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="image" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="imageRectForBounds:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="theRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="isEnabled" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isHighlighted" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="nextState" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAlignment:" swt_gen="true"> - <arg name="mode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAllowsMixedState:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAttributedStringValue:" swt_gen="true"> - <arg name="obj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setControlSize:" swt_gen="true"> - <arg name="size" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setEnabled:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFont:" swt_gen="true"> - <arg name="fontObj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFormatter:" swt_gen="true"> - <arg name="newFormatter" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHighlighted:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setImage:" swt_gen="true"> - <arg name="image" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLineBreakMode:" swt_gen="true"> - <arg name="mode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setObjectValue:" swt_gen="true"> - <arg name="obj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setScrollable:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTitle:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setWraps:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="title" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="titleRectForBounds:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> - <arg name="theRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="wraps" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSClipView" swt_gen="mixed" swt_superclass="NSView"> - <method selector="copiesOnScroll" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="documentCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="scrollToPoint:" swt_gen="true"> - <arg name="newOrigin" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setCopiesOnScroll:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDocumentCursor:" swt_gen="true"> - <arg name="anObj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDrawsBackground:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSCollectionView" swt_superclass="NSView"> - </class> - <class name="NSColor" swt_gen="mixed"> - <method selector="alphaComponent" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="alternateSelectedControlColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="alternateSelectedControlTextColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="blackColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="blueComponent" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="clearColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="colorUsingColorSpace:" swt_gen="true"> - <arg name="space" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="colorUsingColorSpaceName:" swt_gen="true"> - <arg name="colorSpace" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="colorWithDeviceRed:green:blue:alpha:" swt_gen="true"> - <arg name="red" swt_gen="true"></arg> - <arg name="green" swt_gen="true"></arg> - <arg name="blue" swt_gen="true"></arg> - <arg name="alpha" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="colorWithPatternImage:" swt_gen="true"> - <arg name="image" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="controlBackgroundColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="controlDarkShadowColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="controlHighlightColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="controlLightHighlightColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="controlShadowColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="controlTextColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="disabledControlTextColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="getComponents:" swt_gen="true"> - <arg name="components" swt_gen="true" swt_java_type="float[]" swt_java_type64="double[]"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="greenComponent" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="numberOfComponents" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="redComponent" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="secondarySelectedControlColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="selectedControlColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="selectedControlTextColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="selectedTextBackgroundColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="selectedTextColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="set" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setFill" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setStroke" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="textBackgroundColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="textColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="windowBackgroundColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="windowFrameColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="windowFrameTextColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSColorPanel" swt_gen="mixed" swt_superclass="NSPanel"> - <method selector="color" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setColor:" swt_gen="true"> - <arg name="color" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="sharedColorPanel" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSColorSpace" swt_gen="mixed"> - <method class_method="true" selector="deviceRGBColorSpace" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSColorWell" swt_superclass="NSControl"> - </class> - <class name="NSComboBox" swt_gen="mixed" swt_superclass="NSTextField"> - <method selector="addItemWithObjectValue:" swt_gen="true"> - <arg name="object" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="deselectItemAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="indexOfSelectedItem" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="insertItemWithObjectValue:atIndex:" swt_gen="true"> - <arg name="object" swt_gen="true"></arg> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="itemObjectValueAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="numberOfItems" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="numberOfVisibleItems" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="removeAllItems" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="removeItemAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="selectItemAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setNumberOfVisibleItems:" swt_gen="true"> - <arg name="visibleItems" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSComboBoxCell" swt_gen="mixed" swt_superclass="NSTextFieldCell"> - <method selector="objectValues" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSControl" swt_gen="mixed" swt_superclass="NSView"> - <method selector="abortEditing" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="action" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="cell" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSCell"></retval> - </method> - <method class_method="true" selector="cellClass" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="currentEditor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="doubleValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="font" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isEnabled" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="sendAction:to:" swt_gen="true"> - <arg name="theAction" swt_gen="true"></arg> - <arg name="theTarget" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAction:" swt_gen="true"> - <arg name="aSelector" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAlignment:" swt_gen="true"> - <arg name="mode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setCell:" swt_gen="true"> - <arg name="aCell" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="setCellClass:" swt_gen="true"> - <arg name="factoryId" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDoubleValue:" swt_gen="true"> - <arg name="aDouble" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setEnabled:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFont:" swt_gen="true"> - <arg name="fontObj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFormatter:" swt_gen="true"> - <arg name="newFormatter" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setStringValue:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTarget:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="sizeToFit" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="stringValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="target" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSCursor" swt_gen="mixed"> - <method class_method="true" selector="IBeamCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="arrowCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="crosshairCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="currentCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithImage:hotSpot:" swt_gen="true"> - <arg name="newImage" swt_gen="true"></arg> - <arg name="aPoint" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSCursor"></retval> - </method> - <method class_method="true" selector="pointingHandCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="pop" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="push" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="resizeDownCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="resizeLeftCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="resizeLeftRightCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="resizeRightCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="resizeUpCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="resizeUpDownCursor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="set" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="setHiddenUntilMouseMoves:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setOnMouseEntered:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSDatePicker" swt_gen="mixed" swt_superclass="NSControl"> - <method selector="dateValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setBackgroundColor:" swt_gen="true"> - <arg name="color" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDatePickerElements:" swt_gen="true"> - <arg name="elementFlags" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDatePickerStyle:" swt_gen="true"> - <arg name="newStyle" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDateValue:" swt_gen="true"> - <arg name="newStartDate" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDrawsBackground:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTextColor:" swt_gen="true"> - <arg name="color" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSDatePickerCell" swt_superclass="NSActionCell"> - </class> - <class name="NSDictionaryController" swt_superclass="NSArrayController"> - </class> - <class name="NSDrawer" swt_superclass="NSResponder"> - </class> - <class name="NSEPSImageRep" swt_superclass="NSImageRep"> - </class> - <class name="NSEvent" swt_gen="mixed"> - <method selector="CGEvent" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="buttonNumber" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="characters" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="charactersIgnoringModifiers" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="clickCount" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="deltaX" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="deltaY" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:" swt_gen="true"> - <arg name="type" swt_gen="true"></arg> - <arg name="location" swt_gen="true"></arg> - <arg name="flags" swt_gen="true"></arg> - <arg name="time" swt_gen="true"></arg> - <arg name="wNum" swt_gen="true"></arg> - <arg name="context" swt_gen="true"></arg> - <arg name="eNum" swt_gen="true"></arg> - <arg name="tNum" swt_gen="true"></arg> - <arg name="data" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="keyCode" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="locationInWindow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="modifierFlags" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="mouseLocation" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:" swt_gen="true"> - <arg name="type" swt_gen="true"></arg> - <arg name="location" swt_gen="true"></arg> - <arg name="flags" swt_gen="true"></arg> - <arg name="time" swt_gen="true"></arg> - <arg name="wNum" swt_gen="true"></arg> - <arg name="context" swt_gen="true"></arg> - <arg name="subtype" swt_gen="true"></arg> - <arg name="d1" swt_gen="true"></arg> - <arg name="d2" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="timestamp" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="type" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="window" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSFileWrapper" swt_gen="mixed"> - <method selector="setIcon:" swt_gen="true"> - <arg name="icon" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSFont" swt_gen="mixed"> - <method selector="ascender" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="controlContentFontOfSize:" swt_gen="true"> - <arg name="fontSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="descender" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="familyName" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="fontName" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="fontWithName:size:" swt_gen="true"> - <arg name="fontName" swt_gen="true"></arg> - <arg name="fontSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="leading" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="pointSize" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="smallSystemFontSize" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="systemFontOfSize:" swt_gen="true"> - <arg name="fontSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="systemFontSize" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="systemFontSizeForControlSize:" swt_gen="true"> - <arg name="controlSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSFontManager" swt_gen="mixed"> - <method selector="availableFontFamilies" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="availableFonts" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="availableMembersOfFontFamily:" swt_gen="true"> - <arg name="fam" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertFont:toHaveTrait:" swt_gen="true"> - <arg name="fontObj" swt_gen="true"></arg> - <arg name="trait" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="fontWithFamily:traits:weight:size:" swt_gen="true"> - <arg name="family" swt_gen="true"></arg> - <arg name="traits" swt_gen="true"></arg> - <arg name="weight" swt_gen="true"></arg> - <arg name="size" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="sharedFontManager" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="traitsOfFont:" swt_gen="true"> - <arg name="fontObj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="weightOfFont:" swt_gen="true"> - <arg name="fontObj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSFontPanel" swt_gen="mixed" swt_superclass="NSPanel"> - <method selector="panelConvertFont:" swt_gen="true"> - <arg name="fontObj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setPanelFont:isMultiple:" swt_gen="true"> - <arg name="fontObj" swt_gen="true"></arg> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="sharedFontPanel" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSForm" swt_superclass="NSMatrix"> - </class> - <class name="NSFormCell" swt_superclass="NSActionCell"> - </class> - <class name="NSGradient" swt_gen="mixed"> - <method selector="drawFromPoint:toPoint:options:" swt_gen="true"> - <arg name="startingPoint" swt_gen="true"></arg> - <arg name="endingPoint" swt_gen="true"></arg> - <arg name="options" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="drawInRect:angle:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <arg name="angle" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithStartingColor:endingColor:" swt_gen="true"> - <arg name="startingColor" swt_gen="true"></arg> - <arg name="endingColor" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSGradient"></retval> - </method> - </class> - <class name="NSGraphicsContext" swt_gen="mixed"> - <method class_method="true" selector="currentContext" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="flushGraphics" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="graphicsContextWithBitmapImageRep:" swt_gen="true"> - <arg name="bitmapRep" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="graphicsContextWithGraphicsPort:flipped:" swt_gen="true"> - <arg name="graphicsPort" swt_gen="true"></arg> - <arg name="initialFlippedState" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="graphicsContextWithWindow:" swt_gen="true"> - <arg name="window" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="graphicsPort" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="imageInterpolation" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isDrawingToScreen" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="restoreGraphicsState" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="restoreGraphicsState" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="saveGraphicsState" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="saveGraphicsState" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setCompositingOperation:" swt_gen="true"> - <arg name="operation" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="setCurrentContext:" swt_gen="true"> - <arg name="context" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setImageInterpolation:" swt_gen="true"> - <arg name="interpolation" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setPatternPhase:" swt_gen="true"> - <arg name="phase" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setShouldAntialias:" swt_gen="true"> - <arg name="antialias" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="shouldAntialias" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSImage" swt_gen="mixed"> - <method selector="TIFFRepresentation" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="addRepresentation:" swt_gen="true"> - <arg name="imageRep" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="bestRepresentationForDevice:" swt_gen="true"> - <arg name="deviceDescription" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="drawAtPoint:fromRect:operation:fraction:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <arg name="fromRect" swt_gen="true"></arg> - <arg name="op" swt_gen="true"></arg> - <arg name="delta" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="drawInRect:fromRect:operation:fraction:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <arg name="fromRect" swt_gen="true"></arg> - <arg name="op" swt_gen="true"></arg> - <arg name="delta" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="imageNamed:" swt_gen="true"> - <arg name="name" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSImage"></retval> - </method> - <method selector="initByReferencingFile:" swt_gen="true"> - <arg name="fileName" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSImage"></retval> - </method> - <method selector="initWithContentsOfFile:" swt_gen="true"> - <arg name="fileName" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSImage"></retval> - </method> - <method selector="initWithData:" swt_gen="true"> - <arg name="data" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithSize:" swt_gen="true"> - <arg name="aSize" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSImage"></retval> - </method> - <method selector="lockFocus" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="removeRepresentation:" swt_gen="true"> - <arg name="imageRep" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="representations" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setCacheMode:" swt_gen="true"> - <arg name="mode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setSize:" swt_gen="true"> - <arg name="aSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="size" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="unlockFocus" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSImageCell" swt_superclass="NSCell"> - </class> - <class name="NSImageRep" swt_gen="mixed"> - <method selector="bitsPerSample" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="colorSpaceName" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="drawInRect:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="hasAlpha" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="pixelsHigh" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="pixelsWide" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAlpha:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSImageView" swt_gen="mixed" swt_superclass="NSControl"> - <method selector="image" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setImage:" swt_gen="true"> - <arg name="newImage" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setImageAlignment:" swt_gen="true"> - <arg name="newAlign" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setImageScaling:" swt_gen="true"> - <arg name="newScaling" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSInputManager" swt_gen="mixed"> - <method class_method="true" selector="currentInputManager" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="handleMouseEvent:" swt_gen="true"> - <arg name="theMouseEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="wantsToHandleMouseEvents" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSLayoutManager" swt_gen="mixed"> - <method selector="addTemporaryAttribute:value:forCharacterRange:" swt_gen="true"> - <arg name="attrName" swt_gen="true"></arg> - <arg name="value" swt_gen="true"></arg> - <arg name="charRange" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="addTextContainer:" swt_gen="true"> - <arg name="container" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="boundingRectForGlyphRange:inTextContainer:" swt_gen="true"> - <arg name="glyphRange" swt_gen="true"></arg> - <arg name="container" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="characterIndexForGlyphAtIndex:" swt_gen="true"> - <arg name="glyphIndex" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="defaultBaselineOffsetForFont:" swt_gen="true"> - <arg name="theFont" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="defaultLineHeightForFont:" swt_gen="true"> - <arg name="theFont" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="drawBackgroundForGlyphRange:atPoint:" swt_gen="true"> - <arg name="glyphsToShow" swt_gen="true"></arg> - <arg name="origin" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="drawGlyphsForGlyphRange:atPoint:" swt_gen="true"> - <arg name="glyphsToShow" swt_gen="true"></arg> - <arg name="origin" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="getGlyphs:range:" swt_gen="true"> - <arg name="glyphArray" swt_gen="true"></arg> - <arg name="glyphRange" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="getGlyphsInRange:glyphs:characterIndexes:glyphInscriptions:elasticBits:bidiLevels:" swt_gen="true"> - <arg name="glyphRange" swt_gen="true"></arg> - <arg name="glyphBuffer" swt_gen="true"></arg> - <arg name="charIndexBuffer" swt_gen="true"></arg> - <arg name="inscribeBuffer" swt_gen="true"></arg> - <arg name="elasticBuffer" swt_gen="true"></arg> - <arg name="bidiLevelBuffer" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="glyphIndexForCharacterAtIndex:" swt_gen="true"> - <arg name="charIndex" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <arg name="container" swt_gen="true"></arg> - <arg name="partialFraction" swt_gen="true" swt_java_type="float[]" swt_java_type64="double[]"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="glyphRangeForCharacterRange:actualCharacterRange:" swt_gen="true"> - <arg name="charRange" swt_gen="true"></arg> - <arg name="actualCharRange" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="glyphRangeForTextContainer:" swt_gen="true"> - <arg name="container" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="lineFragmentUsedRectForGlyphAtIndex:effectiveRange:" swt_gen="true"> - <arg name="glyphIndex" swt_gen="true"></arg> - <arg name="effectiveGlyphRange" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="lineFragmentUsedRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:" swt_gen="true"> - <arg name="glyphIndex" swt_gen="true"></arg> - <arg name="effectiveGlyphRange" swt_gen="true"></arg> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="locationForGlyphAtIndex:" swt_gen="true"> - <arg name="glyphIndex" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="numberOfGlyphs" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="rectArrayForCharacterRange:withinSelectedCharacterRange:inTextContainer:rectCount:" swt_gen="true"> - <arg name="charRange" swt_gen="true"></arg> - <arg name="selCharRange" swt_gen="true"></arg> - <arg name="container" swt_gen="true"></arg> - <arg name="rectCount" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="removeTemporaryAttribute:forCharacterRange:" swt_gen="true"> - <arg name="attrName" swt_gen="true"></arg> - <arg name="charRange" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBackgroundLayoutEnabled:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLineFragmentRect:forGlyphRange:usedRect:" swt_gen="true"> - <arg name="fragmentRect" swt_gen="true"></arg> - <arg name="glyphRange" swt_gen="true"></arg> - <arg name="usedRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTextStorage:" swt_gen="true"> - <arg name="textStorage" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="typesetter" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="usedRectForTextContainer:" swt_gen="true"> - <arg name="container" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSLevelIndicator" swt_superclass="NSControl"> - </class> - <class name="NSLevelIndicatorCell" swt_superclass="NSActionCell"> - </class> - <class name="NSMatrix" swt_superclass="NSControl"> - </class> - <class name="NSMenu" swt_gen="mixed"> - <method selector="addItem:" swt_gen="true"> - <arg name="newItem" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="addItemWithTitle:action:keyEquivalent:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <arg name="aSelector" swt_gen="true"></arg> - <arg name="charCode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="cancelTracking" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="indexOfItemWithTarget:andAction:" swt_gen="true"> - <arg name="target" swt_gen="true"></arg> - <arg name="actionSelector" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithTitle:" swt_gen="true"> - <arg name="aTitle" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSMenu"></retval> - </method> - <method selector="insertItem:atIndex:" swt_gen="true"> - <arg name="newItem" swt_gen="true"></arg> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="itemArray" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="itemAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="numberOfItems" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="popUpContextMenu:withEvent:forView:" swt_gen="true"> - <arg name="menu" swt_gen="true"></arg> - <arg name="event" swt_gen="true"></arg> - <arg name="view" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="removeItem:" swt_gen="true"> - <arg name="item" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="removeItemAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAutoenablesItems:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDelegate:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setSubmenu:forItem:" swt_gen="true"> - <arg name="aMenu" swt_gen="true"></arg> - <arg name="anItem" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTitle:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSMenuItem" swt_gen="mixed"> - <method selector="initWithTitle:action:keyEquivalent:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <arg name="aSelector" swt_gen="true"></arg> - <arg name="charCode" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSMenuItem"></retval> - </method> - <method selector="isHidden" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="keyEquivalent" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="keyEquivalentModifierMask" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="separatorItem" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAction:" swt_gen="true"> - <arg name="aSelector" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setEnabled:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHidden:" swt_gen="true"> - <arg name="hidden" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setImage:" swt_gen="true"> - <arg name="menuImage" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setKeyEquivalent:" swt_gen="true"> - <arg name="aKeyEquivalent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setKeyEquivalentModifierMask:" swt_gen="true"> - <arg name="mask" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMenu:" swt_gen="true"> - <arg name="menu" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setState:" swt_gen="true"> - <arg name="state" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setSubmenu:" swt_gen="true"> - <arg name="submenu" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTarget:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTitle:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="state" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="submenu" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="title" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSMenuItemCell" swt_superclass="NSButtonCell"> - </class> - <class name="NSMutableAttributedString" swt_gen="mixed" swt_superclass="NSAttributedString"> - <method selector="appendAttributedString:" swt_gen="true"> - <arg name="attrString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="mutableString" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="replaceCharactersInRange:withString:" swt_gen="true"> - <arg name="range" swt_gen="true"></arg> - <arg name="str" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSMutableParagraphStyle" swt_gen="mixed" swt_superclass="NSParagraphStyle"> - <method selector="addTabStop:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAlignment:" swt_gen="true"> - <arg name="alignment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDefaultTabInterval:" swt_gen="true"> - <arg name="aFloat" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFirstLineHeadIndent:" swt_gen="true"> - <arg name="aFloat" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLineBreakMode:" swt_gen="true"> - <arg name="mode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLineSpacing:" swt_gen="true"> - <arg name="aFloat" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTabStops:" swt_gen="true"> - <arg name="array" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSNibOutletConnector" swt_superclass="NSNibConnector"> - </class> - <class name="NSObject" swt_gen="mixed"> - <method selector="accessibilityAttributeValue:forParameter:" swt_gen="true" swt_gen_super_msgSend="true"> - <arg name="attribute" swt_gen="true"></arg> - <arg name="parameter" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="accessibilitySetOverrideValue:forAttribute:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <arg name="attribute" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="draggedImage:endedAt:operation:" swt_gen="true" swt_gen_super_msgSend="true"> - <arg name="image" swt_gen="true"></arg> - <arg name="screenPoint" swt_gen="true"></arg> - <arg name="operation" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="draggingDestinationWindow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="draggingLocation" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="draggingPasteboard" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="draggingSourceOperationMask" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSObjectController" swt_superclass="NSController"> - </class> - <class name="NSOpenGLContext" swt_gen="mixed"> - <method class_method="true" selector="clearCurrentContext" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="clearDrawable" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="currentContext" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="flushBuffer" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithFormat:shareContext:" swt_gen="true"> - <arg name="format" swt_gen="true"></arg> - <arg name="share" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSOpenGLContext"></retval> - </method> - <method selector="makeCurrentContext" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setView:" swt_gen="true"> - <arg name="view" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="update" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="view" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSOpenGLPixelFormat" swt_gen="mixed"> - <method selector="getValues:forAttribute:forVirtualScreen:" swt_gen="true"> - <arg name="vals" swt_gen="true" swt_java_type="int[]" swt_java_type64="long[]"></arg> - <arg name="attrib" swt_gen="true"></arg> - <arg name="screen" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithAttributes:" swt_gen="true"> - <arg name="attribs" swt_gen="true" swt_java_type="int[]"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSOpenGLView" swt_superclass="NSView"> - </class> - <class name="NSOpenPanel" swt_gen="mixed" swt_superclass="NSSavePanel"> - <method selector="filenames" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="openPanel" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAllowsMultipleSelection:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setCanChooseDirectories:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setCanChooseFiles:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSOutlineView" swt_gen="mixed" swt_superclass="NSTableView"> - <method selector="collapseItem:" swt_gen="true"> - <arg name="item" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="collapseItem:collapseChildren:" swt_gen="true"> - <arg name="item" swt_gen="true"></arg> - <arg name="collapseChildren" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="expandItem:" swt_gen="true"> - <arg name="item" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="expandItem:expandChildren:" swt_gen="true" swt_gen_super_msgSend="true"> - <arg name="item" swt_gen="true"></arg> - <arg name="expandChildren" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="frameOfOutlineCellAtRow:" swt_gen="true"> - <arg name="row" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="indentationPerLevel" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isItemExpanded:" swt_gen="true"> - <arg name="item" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="itemAtRow:" swt_gen="true"> - <arg name="row" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="levelForItem:" swt_gen="true"> - <arg name="item" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="outlineTableColumn" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="reloadItem:reloadChildren:" swt_gen="true"> - <arg name="item" swt_gen="true"></arg> - <arg name="reloadChildren" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="rowForItem:" swt_gen="true"> - <arg name="item" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAutoresizesOutlineColumn:" swt_gen="true"> - <arg name="resize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAutosaveExpandedItems:" swt_gen="true"> - <arg name="save" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDropItem:dropChildIndex:" swt_gen="true"> - <arg name="item" swt_gen="true"></arg> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setOutlineTableColumn:" swt_gen="true"> - <arg name="outlineTableColumn" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSPDFImageRep" swt_superclass="NSImageRep"> - </class> - <class name="NSPICTImageRep" swt_superclass="NSImageRep"> - </class> - <class name="NSPanel" swt_gen="mixed" swt_superclass="NSWindow"> - <method selector="setWorksWhenModal:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="worksWhenModal" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSParagraphStyle" swt_gen="mixed"> - <method selector="alignment" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="tabStops" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSPasteboard" swt_gen="mixed"> - <method selector="addTypes:owner:" swt_gen="true"> - <arg name="newTypes" swt_gen="true"></arg> - <arg name="newOwner" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="availableTypeFromArray:" swt_gen="true"> - <arg name="types" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="dataForType:" swt_gen="true"> - <arg name="dataType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="declareTypes:owner:" swt_gen="true"> - <arg name="newTypes" swt_gen="true"></arg> - <arg name="newOwner" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="generalPasteboard" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="pasteboardWithName:" swt_gen="true"> - <arg name="name" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="propertyListForType:" swt_gen="true"> - <arg name="dataType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setData:forType:" swt_gen="true"> - <arg name="data" swt_gen="true"></arg> - <arg name="dataType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setPropertyList:forType:" swt_gen="true"> - <arg name="plist" swt_gen="true"></arg> - <arg name="dataType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setString:forType:" swt_gen="true"> - <arg name="string" swt_gen="true"></arg> - <arg name="dataType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="stringForType:" swt_gen="true"> - <arg name="dataType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="types" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSPathCell" swt_superclass="NSActionCell"> - </class> - <class name="NSPathComponentCell" swt_superclass="NSTextFieldCell"> - </class> - <class name="NSPathControl" swt_superclass="NSControl"> - </class> - <class name="NSPersistentDocument" swt_superclass="NSDocument"> - </class> - <class name="NSPopUpButton" swt_gen="mixed" swt_superclass="NSButton"> - <method selector="indexOfSelectedItem" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithFrame:pullsDown:" swt_gen="true"> - <arg name="buttonFrame" swt_gen="true"></arg> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSPopUpButton"></retval> - </method> - <method selector="itemAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="itemTitleAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="menu" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="numberOfItems" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="removeAllItems" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="removeItemAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="selectItem:" swt_gen="true"> - <arg name="item" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="selectItemAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAutoenablesItems:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setPullsDown:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="titleOfSelectedItem" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSPopUpButtonCell" swt_superclass="NSMenuItemCell"> - </class> - <class name="NSPredicateEditor" swt_superclass="NSRuleEditor"> - </class> - <class name="NSPrintInfo" swt_gen="mixed"> - <method class_method="true" selector="defaultPrinter" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="dictionary" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="imageablePageBounds" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithDictionary:" swt_gen="true"> - <arg name="attributes" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSPrintInfo"></retval> - </method> - <method selector="jobDisposition" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="orientation" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="paperSize" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="printer" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setJobDisposition:" swt_gen="true"> - <arg name="disposition" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setOrientation:" swt_gen="true"> - <arg name="orientation" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setPrinter:" swt_gen="true"> - <arg name="printer" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setUpPrintOperationDefaultValues" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="sharedPrintInfo" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSPrintOperation" swt_gen="mixed"> - <method selector="cleanUpOperation" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="context" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="createContext" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="deliverResult" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="destroyContext" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="printOperationWithView:printInfo:" swt_gen="true"> - <arg name="view" swt_gen="true"></arg> - <arg name="printInfo" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="runOperation" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="setCurrentOperation:" swt_gen="true"> - <arg name="operation" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setJobTitle:" swt_gen="true"> - <arg name="jobTitle" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setShowsPrintPanel:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setShowsProgressPanel:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSPrintPanel" swt_gen="mixed"> - <method selector="beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:" swt_gen="true"> - <arg name="printInfo" swt_gen="true"></arg> - <arg name="docWindow" swt_gen="true"></arg> - <arg name="delegate" swt_gen="true"></arg> - <arg name="didEndSelector" swt_gen="true"></arg> - <arg name="contextInfo" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="options" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="printPanel" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="runModalWithPrintInfo:" swt_gen="true"> - <arg name="printInfo" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setOptions:" swt_gen="true"> - <arg name="options" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSPrinter" swt_gen="mixed"> - <method selector="name" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="printerNames" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="printerWithName:" swt_gen="true"> - <arg name="name" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSProgressIndicator" swt_gen="mixed" swt_superclass="NSView"> - <method selector="controlSize" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="doubleValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="maxValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="minValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setControlSize:" swt_gen="true"> - <arg name="size" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDoubleValue:" swt_gen="true"> - <arg name="doubleValue" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setIndeterminate:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMaxValue:" swt_gen="true"> - <arg name="newMaximum" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMinValue:" swt_gen="true"> - <arg name="newMinimum" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setUsesThreadedAnimation:" swt_gen="true"> - <arg name="threadedAnimation" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="sizeToFit" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="startAnimation:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="stopAnimation:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSResponder" swt_gen="mixed"> - <method selector="acceptsFirstResponder" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="becomeFirstResponder" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="cursorUpdate:" swt_gen="true"> - <arg name="event" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="doCommandBySelector:" swt_gen="true"> - <arg name="aSelector" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="flagsChanged:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="helpRequested:" swt_gen="true"> - <arg name="eventPtr" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="insertText:" swt_gen="true"> - <arg name="insertString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="interpretKeyEvents:" swt_gen="true"> - <arg name="eventArray" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="keyDown:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="keyUp:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="mouseDown:" swt_gen="true" swt_gen_super_msgSend="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="mouseDragged:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="mouseEntered:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="mouseExited:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="mouseMoved:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="mouseUp:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="moveToBeginningOfParagraph:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="moveToEndOfParagraph:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="moveUp:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="noResponderFor:" swt_gen="true"> - <arg name="eventSelector" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="otherMouseDown:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="otherMouseDragged:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="otherMouseUp:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="pageDown:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="pageUp:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="resignFirstResponder" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="rightMouseDown:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="rightMouseDragged:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="rightMouseUp:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="scrollWheel:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSRuleEditor" swt_superclass="NSControl"> - </class> - <class name="NSRulerView" swt_superclass="NSView"> - </class> - <class name="NSSavePanel" swt_gen="mixed" swt_superclass="NSPanel"> - <method selector="filename" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="runModal" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="runModalForDirectory:file:" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <arg name="name" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="savePanel" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAccessoryView:" swt_gen="true"> - <arg name="view" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setCanCreateDirectories:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDirectory:" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMessage:" swt_gen="true"> - <arg name="message" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTitle:" swt_gen="true"> - <arg name="title" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="validateVisibleColumns" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSScreen" swt_gen="mixed"> - <method selector="depth" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="deviceDescription" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="frame" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="mainScreen" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="screens" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="visibleFrame" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSScrollView" swt_gen="mixed" swt_superclass="NSView"> - <method selector="contentSize" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="contentSizeForFrameSize:hasHorizontalScroller:hasVerticalScroller:borderType:" swt_gen="true"> - <arg name="fSize" swt_gen="true"></arg> - <arg name="hFlag" swt_gen="true"></arg> - <arg name="vFlag" swt_gen="true"></arg> - <arg name="aType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="contentView" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="documentView" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSView"></retval> - </method> - <method selector="documentVisibleRect" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="frameSizeForContentSize:hasHorizontalScroller:hasVerticalScroller:borderType:" swt_gen="true"> - <arg name="cSize" swt_gen="true"></arg> - <arg name="hFlag" swt_gen="true"></arg> - <arg name="vFlag" swt_gen="true"></arg> - <arg name="aType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="reflectScrolledClipView:" swt_gen="true"> - <arg name="cView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAutohidesScrollers:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBorderType:" swt_gen="true"> - <arg name="aType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDocumentView:" swt_gen="true"> - <arg name="aView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDrawsBackground:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHasHorizontalScroller:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHasVerticalScroller:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHorizontalScroller:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setVerticalScroller:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSScroller" swt_gen="mixed" swt_superclass="NSControl"> - <method selector="controlSize" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="hitPart" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="scrollerWidth" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="scrollerWidthForControlSize:" swt_gen="true"> - <arg name="controlSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setControlSize:" swt_gen="true"> - <arg name="controlSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFloatValue:knobProportion:" swt_gen="true"> - <arg name="aFloat" swt_gen="true"></arg> - <arg name="proportion" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSSearchField" swt_gen="mixed" swt_superclass="NSTextField"> - <method selector="recentSearches" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSSearchFieldCell" swt_gen="mixed" swt_superclass="NSTextFieldCell"> - <method selector="cancelButtonCell" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="searchButtonCell" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="searchTextRectForBounds:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setCancelButtonCell:" swt_gen="true"> - <arg name="cell" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setSearchButtonCell:" swt_gen="true"> - <arg name="cell" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSSecureTextFieldCell" swt_superclass="NSTextFieldCell"> - </class> - <class name="NSSegmentedCell" swt_gen="mixed" swt_superclass="NSActionCell"> - <method selector="setEnabled:forSegment:" swt_gen="true"> - <arg name="enabled" swt_gen="true"></arg> - <arg name="segment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setImage:forSegment:" swt_gen="true"> - <arg name="image" swt_gen="true"></arg> - <arg name="segment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLabel:forSegment:" swt_gen="true"> - <arg name="label" swt_gen="true"></arg> - <arg name="segment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMenu:forSegment:" swt_gen="true"> - <arg name="menu" swt_gen="true"></arg> - <arg name="segment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setSegmentCount:" swt_gen="true"> - <arg name="count" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setSegmentStyle:" swt_gen="true"> - <arg name="segmentStyle" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setSelected:forSegment:" swt_gen="true"> - <arg name="selected" swt_gen="true"></arg> - <arg name="segment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setSelectedSegment:" swt_gen="true"> - <arg name="selectedSegment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTag:forSegment:" swt_gen="true"> - <arg name="tag" swt_gen="true"></arg> - <arg name="segment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setToolTip:forSegment:" swt_gen="true"> - <arg name="toolTip" swt_gen="true"></arg> - <arg name="segment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTrackingMode:" swt_gen="true"> - <arg name="trackingMode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setWidth:forSegment:" swt_gen="true"> - <arg name="width" swt_gen="true"></arg> - <arg name="segment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSSegmentedControl" swt_superclass="NSControl"> - </class> - <class name="NSSlider" swt_gen="mixed" swt_superclass="NSControl"> - <method selector="knobThickness" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="maxValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="minValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setMaxValue:" swt_gen="true"> - <arg name="aDouble" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMinValue:" swt_gen="true"> - <arg name="aDouble" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSSliderCell" swt_superclass="NSActionCell"> - </class> - <class name="NSSplitView" swt_superclass="NSView"> - </class> - <class name="NSStatusBar" swt_gen="mixed"> - <method selector="removeStatusItem:" swt_gen="true"> - <arg name="item" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="statusItemWithLength:" swt_gen="true"> - <arg name="length" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="systemStatusBar" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSStatusItem" swt_gen="mixed"> - <method selector="drawStatusBarBackgroundInRect:withHighlight:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <arg name="highlight" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="popUpStatusItemMenu:" swt_gen="true"> - <arg name="menu" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHighlightMode:" swt_gen="true"> - <arg name="highlightMode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLength:" swt_gen="true"> - <arg name="length" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setView:" swt_gen="true"> - <arg name="view" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSStepper" swt_gen="mixed" swt_superclass="NSControl"> - <method selector="increment" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="maxValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="minValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setIncrement:" swt_gen="true"> - <arg name="increment" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMaxValue:" swt_gen="true"> - <arg name="maxValue" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMinValue:" swt_gen="true"> - <arg name="minValue" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setValueWraps:" swt_gen="true"> - <arg name="valueWraps" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSStepperCell" swt_superclass="NSActionCell"> - </class> - <class name="NSTabView" swt_gen="mixed" swt_superclass="NSView"> - <method selector="addTabViewItem:" swt_gen="true"> - <arg name="tabViewItem" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="contentRect" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="insertTabViewItem:atIndex:" swt_gen="true"> - <arg name="tabViewItem" swt_gen="true"></arg> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="minimumSize" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="removeTabViewItem:" swt_gen="true"> - <arg name="tabViewItem" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="selectTabViewItemAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="selectedTabViewItem" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setControlSize:" swt_gen="true"> - <arg name="controlSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDelegate:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFont:" swt_gen="true"> - <arg name="font" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTabViewType:" swt_gen="true"> - <arg name="tabViewType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="tabViewItemAtPoint:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTabViewItem" swt_gen="mixed"> - <method selector="initWithIdentifier:" swt_gen="true"> - <arg name="identifier" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLabel:" swt_gen="true"> - <arg name="label" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setView:" swt_gen="true"> - <arg name="view" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTableColumn" swt_gen="mixed"> - <method selector="dataCell" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSCell"></retval> - </method> - <method selector="headerCell" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSTableHeaderCell"></retval> - </method> - <method selector="initWithIdentifier:" swt_gen="true"> - <arg name="identifier" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSTableColumn"></retval> - </method> - <method selector="resizingMask" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setDataCell:" swt_gen="true"> - <arg name="cell" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setEditable:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHeaderCell:" swt_gen="true"> - <arg name="cell" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setIdentifier:" swt_gen="true"> - <arg name="identifier" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMinWidth:" swt_gen="true"> - <arg name="minWidth" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setResizingMask:" swt_gen="true"> - <arg name="resizingMask" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setWidth:" swt_gen="true"> - <arg name="width" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="width" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTableHeaderCell" swt_gen="true" swt_superclass="NSTextFieldCell"> - <method selector="drawSortIndicatorWithFrame:inView:ascending:priority:" swt_gen="true"> - <arg name="cellFrame" swt_gen="true"></arg> - <arg name="controlView" swt_gen="true"></arg> - <arg name="ascending" swt_gen="true"></arg> - <arg name="priority" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="sortIndicatorRectForBounds:" swt_gen="true"> - <arg name="theRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTableHeaderView" swt_gen="mixed" swt_superclass="NSView"> - <method selector="columnAtPoint:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="headerRectOfColumn:" swt_gen="true"> - <arg name="column" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTableView" swt_gen="mixed" swt_superclass="NSControl"> - <method selector="addTableColumn:" swt_gen="true"> - <arg name="column" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="allowsColumnReordering" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="canDragRowsWithIndexes:atPoint:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="rowIndexes" swt_gen="true"></arg> - <arg name="mouseDownPoint" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="clickedColumn" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="clickedRow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="columnAtPoint:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="columnIndexesInRect:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="columnWithIdentifier:" swt_gen="true"> - <arg name="identifier" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="deselectAll:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="deselectRow:" swt_gen="true"> - <arg name="row" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="dragImageForRowsWithIndexes:tableColumns:event:offset:" swt_gen="true" swt_gen_super_msgSend="true"> - <arg name="dragRows" swt_gen="true"></arg> - <arg name="tableColumns" swt_gen="true"></arg> - <arg name="dragEvent" swt_gen="true"></arg> - <arg name="dragImageOffset" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="frameOfCellAtColumn:row:" swt_gen="true"> - <arg name="column" swt_gen="true"></arg> - <arg name="row" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="headerView" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="highlightSelectionInClipRect:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="clipRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="intercellSpacing" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isRowSelected:" swt_gen="true"> - <arg name="row" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="moveColumn:toColumn:" swt_gen="true"> - <arg name="column" swt_gen="true"></arg> - <arg name="newIndex" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="noteNumberOfRowsChanged" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="numberOfColumns" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="numberOfRows" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="numberOfSelectedRows" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="rectOfColumn:" swt_gen="true"> - <arg name="column" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="rectOfRow:" swt_gen="true"> - <arg name="row" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="reloadData" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="removeTableColumn:" swt_gen="true"> - <arg name="column" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="rowAtPoint:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="rowHeight" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="rowsInRect:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="scrollColumnToVisible:" swt_gen="true"> - <arg name="column" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="scrollRowToVisible:" swt_gen="true"> - <arg name="row" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="selectAll:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="selectRowIndexes:byExtendingSelection:" swt_gen="true"> - <arg name="indexes" swt_gen="true"></arg> - <arg name="extend" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="selectedRow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="selectedRowIndexes" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAllowsColumnReordering:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAllowsMultipleSelection:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBackgroundColor:" swt_gen="true"> - <arg name="color" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setColumnAutoresizingStyle:" swt_gen="true"> - <arg name="style" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDataSource:" swt_gen="true"> - <arg name="aSource" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDelegate:" swt_gen="true"> - <arg name="delegate" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDoubleAction:" swt_gen="true"> - <arg name="aSelector" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDropRow:dropOperation:" swt_gen="true"> - <arg name="row" swt_gen="true"></arg> - <arg name="op" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHeaderView:" swt_gen="true"> - <arg name="headerView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHighlightedTableColumn:" swt_gen="true"> - <arg name="tc" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setIndicatorImage:inTableColumn:" swt_gen="true"> - <arg name="anImage" swt_gen="true"></arg> - <arg name="tc" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setIntercellSpacing:" swt_gen="true"> - <arg name="aSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setRowHeight:" swt_gen="true"> - <arg name="rowHeight" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setUsesAlternatingRowBackgroundColors:" swt_gen="true"> - <arg name="useAlternatingRowColors" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="tableColumns" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="tile" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="usesAlternatingRowBackgroundColors" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSText" swt_gen="mixed" swt_superclass="NSView"> - <method selector="copy:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="cut:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="delegate" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="font" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="paste:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="replaceCharactersInRange:withString:" swt_gen="true"> - <arg name="range" swt_gen="true"></arg> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="scrollRangeToVisible:" swt_gen="true"> - <arg name="range" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="selectAll:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="selectedRange" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAlignment:" swt_gen="true"> - <arg name="mode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBackgroundColor:" swt_gen="true"> - <arg name="color" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDelegate:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDrawsBackground:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setEditable:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFont:" swt_gen="true"> - <arg name="obj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHorizontallyResizable:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMaxSize:" swt_gen="true"> - <arg name="newMaxSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMinSize:" swt_gen="true"> - <arg name="newMinSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setSelectable:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setSelectedRange:" swt_gen="true"> - <arg name="range" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setString:" swt_gen="true"> - <arg name="string" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTextColor:" swt_gen="true"> - <arg name="color" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="sizeToFit" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="string" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTextAttachment" swt_gen="mixed"> - <method selector="initWithFileWrapper:" swt_gen="true"> - <arg name="fileWrapper" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTextContainer" swt_gen="mixed"> - <method selector="containerSize" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithContainerSize:" swt_gen="mixed"> - <arg name="size" swt_gen="true"></arg> - <retval swt_java_type="NSTextContainer"></retval> - </method> - <method selector="setContainerSize:" swt_gen="true"> - <arg name="size" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLineFragmentPadding:" swt_gen="true"> - <arg name="pad" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setWidthTracksTextView:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTextField" swt_gen="mixed" swt_superclass="NSControl"> - <method selector="selectText:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBackgroundColor:" swt_gen="true"> - <arg name="color" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBordered:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDelegate:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDrawsBackground:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setEditable:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setSelectable:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTextColor:" swt_gen="true"> - <arg name="color" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTextFieldCell" swt_gen="mixed" swt_superclass="NSActionCell"> - <method selector="setPlaceholderString:" swt_gen="true"> - <arg name="string" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTextColor:" swt_gen="true"> - <arg name="color" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="textColor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTextStorage" swt_gen="mixed" swt_superclass="NSMutableAttributedString"> - <method selector="addLayoutManager:" swt_gen="true"> - <arg name="obj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="paragraphs" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTextTab" swt_gen="mixed"> - <method selector="initWithType:location:" swt_gen="true"> - <arg name="type" swt_gen="true"></arg> - <arg name="loc" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSTextTab"></retval> - </method> - <method selector="location" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="tabStopType" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTextTable" swt_superclass="NSTextBlock"> - </class> - <class name="NSTextTableBlock" swt_superclass="NSTextBlock"> - </class> - <class name="NSTextView" swt_gen="mixed" swt_superclass="NSText"> - <method selector="characterIndexForInsertionAtPoint:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="defaultParagraphStyle" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="dragSelectionWithEvent:offset:slideBack:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="event" swt_gen="true"></arg> - <arg name="mouseOffset" swt_gen="true"></arg> - <arg name="slideBack" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="layoutManager" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="linkTextAttributes" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="markedTextAttributes" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setDefaultParagraphStyle:" swt_gen="true"> - <arg name="paragraphStyle" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDisplaysLinkToolTips:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLinkTextAttributes:" swt_gen="true"> - <arg name="attributeDictionary" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setRichText:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="shouldChangeTextInRange:replacementString:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> - <arg name="affectedCharRange" swt_gen="true"></arg> - <arg name="replacementString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="textContainer" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="textStorage" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTokenField" swt_superclass="NSTextField"> - </class> - <class name="NSTokenFieldCell" swt_superclass="NSTextFieldCell"> - </class> - <class name="NSToolbar" swt_gen="mixed"> - <method selector="initWithIdentifier:" swt_gen="true"> - <arg name="identifier" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSToolbar"></retval> - </method> - <method selector="insertItemWithItemIdentifier:atIndex:" swt_gen="true"> - <arg name="itemIdentifier" swt_gen="true"></arg> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="removeItemAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAllowsUserCustomization:" swt_gen="true"> - <arg name="allowCustomization" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDelegate:" swt_gen="true"> - <arg name="delegate" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDisplayMode:" swt_gen="true"> - <arg name="displayMode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setVisible:" swt_gen="true"> - <arg name="shown" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSToolbarItem" swt_gen="mixed"> - <method selector="initWithItemIdentifier:" swt_gen="true"> - <arg name="itemIdentifier" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSToolbarItem"></retval> - </method> - <method selector="itemIdentifier" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAction:" swt_gen="true"> - <arg name="action" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setEnabled:" swt_gen="true"> - <arg name="enabled" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setImage:" swt_gen="true"> - <arg name="image" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLabel:" swt_gen="true"> - <arg name="label" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMaxSize:" swt_gen="true"> - <arg name="size" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMinSize:" swt_gen="true"> - <arg name="size" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setPaletteLabel:" swt_gen="true"> - <arg name="paletteLabel" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTarget:" swt_gen="true"> - <arg name="target" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setToolTip:" swt_gen="true"> - <arg name="toolTip" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setView:" swt_gen="true"> - <arg name="view" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSToolbarItemGroup" swt_superclass="NSToolbarItem"> - </class> - <class name="NSTrackingArea" swt_gen="mixed"> - <method selector="initWithRect:options:owner:userInfo:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <arg name="options" swt_gen="true"></arg> - <arg name="owner" swt_gen="true"></arg> - <arg name="userInfo" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSTrackingArea"></retval> - </method> - <method selector="owner" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="userInfo" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTreeController" swt_superclass="NSObjectController"> - </class> - <class name="NSTypesetter" swt_gen="mixed"> - <method selector="baselineOffsetInLayoutManager:glyphIndex:" swt_gen="true"> - <arg name="layoutMgr" swt_gen="true"></arg> - <arg name="glyphIndex" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSURL" swt_gen="true"> - <method class_method="true" selector="URLFromPasteboard:" swt_gen="true"> - <arg name="pasteBoard" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="writeToPasteboard:" swt_gen="true"> - <arg name="pasteBoard" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSUserDefaultsController" swt_superclass="NSController"> - </class> - <class name="NSView" swt_gen="mixed" swt_superclass="NSResponder"> - <method selector="acceptsFirstMouse:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="addSubview:" swt_gen="true"> - <arg name="aView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="addSubview:positioned:relativeTo:" swt_gen="true"> - <arg name="aView" swt_gen="true"></arg> - <arg name="place" swt_gen="true"></arg> - <arg name="otherView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="addToolTipRect:owner:userData:" swt_gen="true"> - <arg name="aRect" swt_gen="true"></arg> - <arg name="anObject" swt_gen="true"></arg> - <arg name="data" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="beginDocument" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="beginPageInRect:atPlacement:" swt_gen="true"> - <arg name="aRect" swt_gen="true"></arg> - <arg name="location" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="bounds" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="canBecomeKeyView" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="convertPoint:fromView:" swt_gen="true"> - <arg name="aPoint" swt_gen="true"></arg> - <arg name="aView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertPoint:toView:" swt_gen="true"> - <arg name="aPoint" swt_gen="true"></arg> - <arg name="aView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertPointFromBase:" swt_gen="true"> - <arg name="aPoint" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertPointToBase:" swt_gen="true"> - <arg name="aPoint" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertRect:fromView:" swt_gen="true"> - <arg name="aRect" swt_gen="true"></arg> - <arg name="aView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertRect:toView:" swt_gen="true"> - <arg name="aRect" swt_gen="true"></arg> - <arg name="aView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertRectFromBase:" swt_gen="true"> - <arg name="aRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertRectToBase:" swt_gen="true"> - <arg name="aRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertSize:fromView:" swt_gen="true"> - <arg name="aSize" swt_gen="true"></arg> - <arg name="aView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertSize:toView:" swt_gen="true"> - <arg name="aSize" swt_gen="true"></arg> - <arg name="aView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertSizeFromBase:" swt_gen="true"> - <arg name="aSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertSizeToBase:" swt_gen="true"> - <arg name="aSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="discardCursorRects" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="display" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="displayIfNeeded" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="displayRectIgnoringOpacity:inContext:" swt_gen="true"> - <arg name="aRect" swt_gen="true"></arg> - <arg name="context" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="dragImage:at:offset:event:pasteboard:source:slideBack:" swt_gen="true"> - <arg name="anImage" swt_gen="true"></arg> - <arg name="viewLocation" swt_gen="true"></arg> - <arg name="initialOffset" swt_gen="true"></arg> - <arg name="event" swt_gen="true"></arg> - <arg name="pboard" swt_gen="true"></arg> - <arg name="sourceObj" swt_gen="true"></arg> - <arg name="slideFlag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="drawRect:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="endDocument" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="endPage" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="frame" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="hitTest:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="aPoint" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithFrame:" swt_gen="true"> - <arg name="frameRect" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSView"></retval> - </method> - <method selector="isFlipped" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isHidden" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isHiddenOrHasHiddenAncestor" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isOpaque" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="lockFocus" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="menuForEvent:" swt_gen="true"> - <arg name="event" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="registerForDraggedTypes:" swt_gen="true"> - <arg name="newTypes" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="removeFromSuperview" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="removeTrackingArea:" swt_gen="true"> - <arg name="trackingArea" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="resetCursorRects" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="scrollPoint:" swt_gen="true"> - <arg name="aPoint" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="scrollRectToVisible:" swt_gen="true"> - <arg name="aRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAutoresizesSubviews:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAutoresizingMask:" swt_gen="true"> - <arg name="mask" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFocusRingType:" swt_gen="true"> - <arg name="focusRingType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFrame:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="frameRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFrameOrigin:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> - <arg name="newOrigin" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFrameSize:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> - <arg name="newSize" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHidden:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setNeedsDisplay:" swt_gen="true" swt_gen_super_msgSend="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setNeedsDisplayInRect:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> - <arg name="invalidRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setToolTip:" swt_gen="true"> - <arg name="string" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="shouldDelayWindowOrderingForEvent:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="subviews" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="superview" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="trackingAreas" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="unlockFocus" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="unregisterDraggedTypes" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="updateTrackingAreas" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="viewDidMoveToWindow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="visibleRect" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="window" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSViewAnimation" swt_superclass="NSAnimation"> - </class> - <class name="NSViewController" swt_superclass="NSResponder"> - </class> - <class name="NSWindow" swt_gen="mixed" swt_superclass="NSResponder"> - <method selector="addChildWindow:ordered:" swt_gen="true"> - <arg name="childWin" swt_gen="true"></arg> - <arg name="place" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="alphaValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="areCursorRectsEnabled" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="becomeKeyWindow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="canBecomeKeyWindow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="cascadeTopLeftFromPoint:" swt_gen="true"> - <arg name="topLeftPoint" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="close" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="contentRectForFrameRect:" swt_gen="true"> - <arg name="frameRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="contentView" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSView"></retval> - </method> - <method selector="convertBaseToScreen:" swt_gen="true"> - <arg name="aPoint" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="convertScreenToBase:" swt_gen="true"> - <arg name="aPoint" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="defaultButtonCell" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="deminiaturize:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="disableCursorRects" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="display" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="enableCursorRects" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="fieldEditor:forObject:" swt_gen="true"> - <arg name="createFlag" swt_gen="true"></arg> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="firstResponder" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="frame" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="frameRectForContentRect:" swt_gen="true"> - <arg name="contentRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="graphicsContext" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="hasShadow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithContentRect:styleMask:backing:defer:" swt_gen="true"> - <arg name="contentRect" swt_gen="true"></arg> - <arg name="aStyle" swt_gen="true"></arg> - <arg name="bufferingType" swt_gen="true"></arg> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSWindow"></retval> - </method> - <method selector="initWithContentRect:styleMask:backing:defer:screen:" swt_gen="true"> - <arg name="contentRect" swt_gen="true"></arg> - <arg name="aStyle" swt_gen="true"></arg> - <arg name="bufferingType" swt_gen="true"></arg> - <arg name="flag" swt_gen="true"></arg> - <arg name="screen" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSWindow"></retval> - </method> - <method selector="invalidateShadow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isDocumentEdited" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isKeyWindow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isMiniaturized" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isSheet" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isVisible" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="isZoomed" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="makeFirstResponder:" swt_gen="true"> - <arg name="aResponder" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="makeKeyAndOrderFront:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="minFrameWidthWithTitle:styleMask:" swt_gen="true"> - <arg name="aTitle" swt_gen="true"></arg> - <arg name="aStyle" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="minSize" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="miniaturize:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="mouseLocationOutsideOfEventStream" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="orderBack:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="orderFront:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="orderFrontRegardless" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="orderOut:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="orderWindow:relativeTo:" swt_gen="true"> - <arg name="place" swt_gen="true"></arg> - <arg name="otherWin" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="parentWindow" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="removeChildWindow:" swt_gen="true"> - <arg name="childWin" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="screen" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="sendEvent:" swt_gen="true"> - <arg name="theEvent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAcceptsMouseMovedEvents:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAlphaValue:" swt_gen="true"> - <arg name="windowAlpha" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setBackgroundColor:" swt_gen="true"> - <arg name="color" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setContentView:" swt_gen="true"> - <arg name="aView" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDefaultButtonCell:" swt_gen="true"> - <arg name="defButt" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDelegate:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDocumentEdited:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFrame:display:" swt_gen="true"> - <arg name="frameRect" swt_gen="true"></arg> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFrame:display:animate:" swt_gen="true"> - <arg name="frameRect" swt_gen="true"></arg> - <arg name="displayFlag" swt_gen="true"></arg> - <arg name="animateFlag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setHasShadow:" swt_gen="true"> - <arg name="hasShadow" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setLevel:" swt_gen="true"> - <arg name="newLevel" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMinSize:" swt_gen="true"> - <arg name="size" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setOpaque:" swt_gen="true"> - <arg name="isOpaque" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setReleasedWhenClosed:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setShowsResizeIndicator:" swt_gen="true"> - <arg name="show" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setShowsToolbarButton:" swt_gen="true"> - <arg name="show" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setTitle:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setToolbar:" swt_gen="true"> - <arg name="toolbar" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="standardWindowButton:" swt_gen="true"> - <arg name="b" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="styleMask" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="toggleToolbarShown:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="toolbar" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="windowNumber" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="zoom:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSWindowController" swt_superclass="NSResponder"> - </class> - <class name="NSWorkspace" swt_gen="mixed"> - <method selector="fullPathForApplication:" swt_gen="true"> - <arg name="appName" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="getInfoForFile:application:type:" swt_gen="true"> - <arg name="fullPath" swt_gen="true"></arg> - <arg name="appName" swt_gen="true"></arg> - <arg name="type" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="iconForFile:" swt_gen="true"> - <arg name="fullPath" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="iconForFileType:" swt_gen="true"> - <arg name="fileType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="isFilePackageAtPath:" swt_gen="true"> - <arg name="fullPath" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="openFile:withApplication:" swt_gen="true"> - <arg name="fullPath" swt_gen="true"></arg> - <arg name="appName" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="openURL:" swt_gen="true"> - <arg name="url" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="openURLs:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers:" swt_gen="true"> - <arg name="urls" swt_gen="true"></arg> - <arg name="bundleIdentifier" swt_gen="true"></arg> - <arg name="options" swt_gen="true"></arg> - <arg name="descriptor" swt_gen="true"></arg> - <arg name="identifiers" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="sharedWorkspace" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <informal_protocol name="NSAccessibility" swt_gen="true"> - <method selector="accessibilityActionDescription:" swt_gen="true"> - <arg name="action" swt_gen="true"></arg> - </method> - <method selector="accessibilityActionNames" swt_gen="true"></method> - <method selector="accessibilityAttributeNames" swt_gen="true"></method> - <method selector="accessibilityAttributeValue:" swt_gen="true"> - <arg name="attribute" swt_gen="true"></arg> - </method> - <method selector="accessibilityAttributeValue:forParameter:" swt_gen="true" swt_gen_super_msgSend="true"> - <arg name="attribute" swt_gen="true"></arg> - <arg name="parameter" swt_gen="true"></arg> - </method> - <method selector="accessibilityFocusedUIElement" swt_gen="true"></method> - <method selector="accessibilityHitTest:" swt_gen="true" swt_gen_custom_callback="true" swt_gen_super_msgSend="true"> - <arg name="point" swt_gen="true"></arg> - </method> - <method selector="accessibilityIsAttributeSettable:" swt_gen="true"> - <arg name="attribute" swt_gen="true"></arg> - </method> - <method selector="accessibilityIsIgnored" swt_gen="true"></method> - <method selector="accessibilityParameterizedAttributeNames" swt_gen="true"></method> - <method selector="accessibilityPerformAction:" swt_gen="true"> - <arg name="action" swt_gen="true"></arg> - </method> - <method selector="accessibilitySetValue:forAttribute:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <arg name="attribute" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSAccessibilityAdditions" swt_gen="true"> - <method selector="accessibilitySetOverrideValue:forAttribute:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <arg name="attribute" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSApplicationDelegate" swt_gen="mixed"> - <method selector="applicationShouldTerminate:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSApplicationNotifications" swt_gen="mixed"> - <method selector="applicationDidBecomeActive:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="applicationDidFinishLaunching:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="applicationDidResignActive:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="applicationWillFinishLaunching:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="applicationWillTerminate:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSColorPanelResponderMethod" swt_gen="true"> - <method selector="changeColor:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSComboBoxNotifications" swt_gen="mixed"> - <method selector="comboBoxSelectionDidChange:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="comboBoxWillDismiss:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSDraggingDestination" swt_gen="mixed"> - <method selector="draggingEnded:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - <method selector="draggingEntered:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - <method selector="draggingExited:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - <method selector="draggingUpdated:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - <method selector="performDragOperation:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - <method selector="wantsPeriodicDraggingUpdates" swt_gen="true"></method> - </informal_protocol> - <informal_protocol name="NSDraggingSource" swt_gen="mixed"> - <method selector="draggedImage:beganAt:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="image" swt_gen="true"></arg> - <arg name="screenPoint" swt_gen="true"></arg> - </method> - <method selector="draggedImage:endedAt:operation:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="image" swt_gen="true"></arg> - <arg name="screenPoint" swt_gen="true"></arg> - <arg name="operation" swt_gen="true"></arg> - </method> - <method selector="draggingSourceOperationMaskForLocal:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - </method> - <method selector="ignoreModifierKeysWhileDragging" swt_gen="true"></method> - </informal_protocol> - <informal_protocol name="NSFontManagerResponderMethod" swt_gen="true"> - <method selector="changeFont:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSMenuDelegate" swt_gen="mixed"> - <method selector="menu:willHighlightItem:" swt_gen="true"> - <arg name="menu" swt_gen="true"></arg> - <arg name="item" swt_gen="true"></arg> - </method> - <method selector="menuDidClose:" swt_gen="true"> - <arg name="menu" swt_gen="true"></arg> - </method> - <method selector="menuNeedsUpdate:" swt_gen="true"> - <arg name="menu" swt_gen="true"></arg> - </method> - <method selector="menuWillOpen:" swt_gen="true"> - <arg name="menu" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSOutlineViewDataSource" swt_gen="mixed"> - <method selector="outlineView:acceptDrop:item:childIndex:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="info" swt_gen="true"></arg> - <arg name="item" swt_gen="true"></arg> - <arg name="index" swt_gen="true"></arg> - </method> - <method selector="outlineView:child:ofItem:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="index" swt_gen="true"></arg> - <arg name="item" swt_gen="true"></arg> - </method> - <method selector="outlineView:isItemExpandable:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="item" swt_gen="true"></arg> - </method> - <method selector="outlineView:numberOfChildrenOfItem:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="item" swt_gen="true"></arg> - </method> - <method selector="outlineView:objectValueForTableColumn:byItem:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="tableColumn" swt_gen="true"></arg> - <arg name="item" swt_gen="true"></arg> - </method> - <method selector="outlineView:setObjectValue:forTableColumn:byItem:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="object" swt_gen="true"></arg> - <arg name="tableColumn" swt_gen="true"></arg> - <arg name="item" swt_gen="true"></arg> - </method> - <method selector="outlineView:validateDrop:proposedItem:proposedChildIndex:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="info" swt_gen="true"></arg> - <arg name="item" swt_gen="true"></arg> - <arg name="index" swt_gen="true"></arg> - </method> - <method selector="outlineView:writeItems:toPasteboard:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="items" swt_gen="true"></arg> - <arg name="pasteboard" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSOutlineViewDelegate" swt_gen="mixed"> - <method selector="outlineView:didClickTableColumn:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="tableColumn" swt_gen="true"></arg> - </method> - <method selector="outlineView:shouldCollapseItem:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="item" swt_gen="true"></arg> - </method> - <method selector="outlineView:shouldExpandItem:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="item" swt_gen="true"></arg> - </method> - <method selector="outlineView:willDisplayCell:forTableColumn:item:" swt_gen="true"> - <arg name="outlineView" swt_gen="true"></arg> - <arg name="cell" swt_gen="true"></arg> - <arg name="tableColumn" swt_gen="true"></arg> - <arg name="item" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSOutlineViewNotifications" swt_gen="mixed"> - <method selector="outlineViewColumnDidMove:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="outlineViewColumnDidResize:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="outlineViewItemDidExpand:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="outlineViewSelectionDidChange:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSPasteboardOwner" swt_gen="mixed"> - <method selector="pasteboard:provideDataForType:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="type" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSSavePanelDelegate" swt_gen="mixed"> - <method selector="panel:shouldShowFilename:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="filename" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSTabViewDelegate" swt_gen="mixed"> - <method selector="tabView:didSelectTabViewItem:" swt_gen="true"> - <arg name="tabView" swt_gen="true"></arg> - <arg name="tabViewItem" swt_gen="true"></arg> - </method> - <method selector="tabView:shouldSelectTabViewItem:" swt_gen="true"> - <arg name="tabView" swt_gen="true"></arg> - <arg name="tabViewItem" swt_gen="true"></arg> - </method> - <method selector="tabView:willSelectTabViewItem:" swt_gen="true"> - <arg name="tabView" swt_gen="true"></arg> - <arg name="tabViewItem" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSTableDataSource" swt_gen="mixed"> - <method selector="numberOfRowsInTableView:" swt_gen="true"> - <arg name="tableView" swt_gen="true"></arg> - </method> - <method selector="tableView:acceptDrop:row:dropOperation:" swt_gen="true"> - <arg name="tableView" swt_gen="true"></arg> - <arg name="info" swt_gen="true"></arg> - <arg name="row" swt_gen="true"></arg> - <arg name="dropOperation" swt_gen="true"></arg> - </method> - <method selector="tableView:objectValueForTableColumn:row:" swt_gen="true"> - <arg name="tableView" swt_gen="true"></arg> - <arg name="tableColumn" swt_gen="true"></arg> - <arg name="row" swt_gen="true"></arg> - </method> - <method selector="tableView:setObjectValue:forTableColumn:row:" swt_gen="true"> - <arg name="tableView" swt_gen="true"></arg> - <arg name="object" swt_gen="true"></arg> - <arg name="tableColumn" swt_gen="true"></arg> - <arg name="row" swt_gen="true"></arg> - </method> - <method selector="tableView:validateDrop:proposedRow:proposedDropOperation:" swt_gen="true"> - <arg name="tableView" swt_gen="true"></arg> - <arg name="info" swt_gen="true"></arg> - <arg name="row" swt_gen="true"></arg> - <arg name="dropOperation" swt_gen="true"></arg> - </method> - <method selector="tableView:writeRowsWithIndexes:toPasteboard:" swt_gen="true"> - <arg name="tableView" swt_gen="true"></arg> - <arg name="rowIndexes" swt_gen="true"></arg> - <arg name="pboard" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSTableViewDelegate" swt_gen="mixed"> - <method selector="tableView:didClickTableColumn:" swt_gen="true"> - <arg name="tableView" swt_gen="true"></arg> - <arg name="tableColumn" swt_gen="true"></arg> - </method> - <method selector="tableView:shouldEditTableColumn:row:" swt_gen="true"> - <arg name="tableView" swt_gen="true"></arg> - <arg name="tableColumn" swt_gen="true"></arg> - <arg name="row" swt_gen="true"></arg> - </method> - <method selector="tableView:willDisplayCell:forTableColumn:row:" swt_gen="true"> - <arg name="tableView" swt_gen="true"></arg> - <arg name="cell" swt_gen="true"></arg> - <arg name="tableColumn" swt_gen="true"></arg> - <arg name="row" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSTableViewNotifications" swt_gen="mixed"> - <method selector="tableViewColumnDidMove:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="tableViewColumnDidResize:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="tableViewSelectionDidChange:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSTextDelegate" swt_gen="mixed"> - <method selector="textDidChange:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="textDidEndEditing:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSTextViewDelegate" swt_gen="mixed"> - <method selector="textView:clickedOnLink:atIndex:" swt_gen="true"> - <arg name="textView" swt_gen="true"></arg> - <arg name="link" swt_gen="true"></arg> - <arg name="charIndex" swt_gen="true"></arg> - </method> - <method selector="textView:willChangeSelectionFromCharacterRange:toCharacterRange:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="textView" swt_gen="true"></arg> - <arg name="oldSelectedCharRange" swt_gen="true"></arg> - <arg name="newSelectedCharRange" swt_gen="true"></arg> - </method> - <method selector="textViewDidChangeSelection:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSToolTipOwner" swt_gen="true"> - <method selector="view:stringForToolTip:point:userData:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="view" swt_gen="true"></arg> - <arg name="tag" swt_gen="true"></arg> - <arg name="point" swt_gen="true"></arg> - <arg name="data" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSToolbarDelegate" swt_gen="true"> - <method selector="toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:" swt_gen="true"> - <arg name="toolbar" swt_gen="true"></arg> - <arg name="itemIdentifier" swt_gen="true"></arg> - <arg name="flag" swt_gen="true"></arg> - </method> - <method selector="toolbarAllowedItemIdentifiers:" swt_gen="true"> - <arg name="toolbar" swt_gen="true"></arg> - </method> - <method selector="toolbarDefaultItemIdentifiers:" swt_gen="true"> - <arg name="toolbar" swt_gen="true"></arg> - </method> - <method selector="toolbarSelectableItemIdentifiers:" swt_gen="true"> - <arg name="toolbar" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSToolbarNotifications" swt_gen="true"> - <method selector="toolbarDidRemoveItem:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="toolbarWillAddItem:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSWindowDelegate" swt_gen="mixed"> - <method selector="windowShouldClose:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="NSWindowNotifications" swt_gen="mixed"> - <method selector="windowDidBecomeKey:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="windowDidMove:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="windowDidResignKey:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="windowDidResize:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - <method selector="windowWillClose:" swt_gen="true"> - <arg name="notification" swt_gen="true"></arg> - </method> - </informal_protocol> - <class name="NSSecureTextField" swt_gen="true" swt_superclass="NSTextField"></class> - <informal_protocol name="NSTextInput" swt_gen="true"> - <method selector="markedRange" swt_gen="true" swt_gen_custom_callback="true"></method> - <method selector="insertText:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - </method> - <method selector="unmarkText" swt_gen="true"></method> - <method selector="hasMarkedText" swt_gen="true"></method> - <method selector="validAttributesForMarkedText" swt_gen="true"></method> - <method selector="characterIndexForPoint:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="thePoint" swt_gen="true"></arg> - </method> - <method selector="attributedSubstringFromRange:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="theRange" swt_gen="true"></arg> - </method> - <method selector="selectedRange" swt_gen="true" swt_gen_custom_callback="true"></method> - <method selector="setMarkedText:selectedRange:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="selRange" swt_gen="true"></arg> - <arg name="aString" swt_gen="true"></arg> - </method> - <method selector="firstRectForCharacterRange:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="theRange" swt_gen="true"></arg> - </method> - </informal_protocol> -</signatures> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPathElement.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPathElement.java deleted file mode 100644 index 8b700c86a8..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPathElement.java +++ /dev/null @@ -1,20 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.swt.internal.cocoa; - -public class CGPathElement { - /** @field cast=(CGPathElementType) */ - public int type; - /** @field cast=(CGPoint *) */ - public int /*long*/ points; - public static final int sizeof = OS.CGPathElement_sizeof(); -}
\ No newline at end of file diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPoint.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPoint.java deleted file mode 100644 index 6408522352..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGPoint.java +++ /dev/null @@ -1,17 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class CGPoint { - public float /*double*/ x; - public float /*double*/ y; - public static final int sizeof = OS.CGPoint_sizeof(); -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGRect.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGRect.java deleted file mode 100644 index cb35389380..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGRect.java +++ /dev/null @@ -1,17 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class CGRect { - public CGPoint origin = new CGPoint(); - public CGSize size = new CGSize(); - public static final int sizeof = OS.CGRect_sizeof(); -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGSize.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGSize.java deleted file mode 100644 index 2498493b74..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGSize.java +++ /dev/null @@ -1,17 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class CGSize { - public float /*double*/ width; - public float /*double*/ height; - public static final int sizeof = OS.CGSize_sizeof(); -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreFoundationFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreFoundationFull.bridgesupport.extras deleted file mode 100644 index 556ef896ca..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreFoundationFull.bridgesupport.extras +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="UTF8"?> -<signatures swt_gen="mixed"> - <constant name="kCFRunLoopCommonModes" swt_gen="true"></constant> - <enum name="kCFRunLoopBeforeWaiting" swt_gen="true"></enum> - <enum name="kCFStringEncodingUTF8" swt_gen="true"></enum> - <function name="CFDataGetBytePtr" swt_gen="true"> - <arg name="theData" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CFDataGetLength" swt_gen="true"> - <arg name="theData" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CFRelease" swt_gen="true"> - <arg name="cf" swt_gen="true"></arg> - </function> - <function name="CFRunLoopAddObserver" swt_gen="true"> - <arg name="rl" swt_gen="true"></arg> - <arg name="observer" swt_gen="true"></arg> - <arg name="mode" swt_gen="true"></arg> - </function> - <function name="CFRunLoopGetCurrent" swt_gen="true"> - <retval swt_gen="true"></retval> - </function> - <function name="CFRunLoopObserverCreate" swt_gen="true"> - <arg name="allocator" swt_gen="true"></arg> - <arg name="activities" swt_gen="true"></arg> - <arg name="repeats" swt_gen="true"></arg> - <arg name="order" swt_gen="true"></arg> - <arg name="callout" swt_gen="true"> - <arg swt_gen="true"></arg> - <arg></arg> - <arg></arg> - <retval swt_gen="true"></retval> - </arg> - <arg name="context" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CFRunLoopObserverInvalidate" swt_gen="true"> - <arg name="observer" swt_gen="true"></arg> - </function> - <function name="CFURLCreateStringByAddingPercentEscapes" swt_gen="true"> - <arg name="allocator" swt_gen="true"></arg> - <arg name="originalString" swt_gen="true"></arg> - <arg name="charactersToLeaveUnescaped" swt_gen="true"></arg> - <arg name="legalURLCharactersToBeEscaped" swt_gen="true"></arg> - <arg name="encoding" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> -</signatures> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras deleted file mode 100644 index 1d23386fba..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreGraphicsFull.bridgesupport.extras +++ /dev/null @@ -1,297 +0,0 @@ -<?xml version="1.0" encoding="UTF8"?> -<signatures swt_gen="mixed"> - <struct name="CGPathElement" swt_gen="true"> - <field name="type" swt_gen="true"></field> - <field name="points" swt_gen="true"></field> - </struct> - <struct name="CGPoint" swt_gen="true"> - <field name="x" swt_gen="true"></field> - <field name="y" swt_gen="true"></field> - </struct> - <struct name="CGRect" swt_gen="true"> - <field name="origin" swt_gen="true"></field> - <field name="size" swt_gen="true"></field> - </struct> - <struct name="CGSize" swt_gen="true"> - <field name="width" swt_gen="true"></field> - <field name="height" swt_gen="true"></field> - </struct> - <cftype name="CGMutablePathRef" swt_gen="true"></cftype> - <enum name="kCGBlendModeDifference" swt_gen="true"></enum> - <enum name="kCGEventFilterMaskPermitLocalKeyboardEvents" swt_gen="true"></enum> - <enum name="kCGEventFilterMaskPermitLocalMouseEvents" swt_gen="true"></enum> - <enum name="kCGEventFilterMaskPermitSystemDefinedEvents" swt_gen="true"></enum> - <enum name="kCGEventSuppressionStateRemoteMouseDrag" swt_gen="true"></enum> - <enum name="kCGEventSuppressionStateSuppressionInterval" swt_gen="true"></enum> - <enum name="kCGImageAlphaFirst" swt_gen="true"></enum> - <enum name="kCGImageAlphaNoneSkipFirst" swt_gen="true"></enum> - <enum name="kCGImageAlphaOnly" swt_gen="true"></enum> - <enum name="kCGKeyboardEventKeyboardType" swt_gen="true"></enum> - <enum name="kCGLineCapButt" swt_gen="true"></enum> - <enum name="kCGLineCapRound" swt_gen="true"></enum> - <enum name="kCGLineCapSquare" swt_gen="true"></enum> - <enum name="kCGLineJoinBevel" swt_gen="true"></enum> - <enum name="kCGLineJoinMiter" swt_gen="true"></enum> - <enum name="kCGLineJoinRound" swt_gen="true"></enum> - <enum name="kCGPathElementAddCurveToPoint" swt_gen="true"></enum> - <enum name="kCGPathElementAddLineToPoint" swt_gen="true"></enum> - <enum name="kCGPathElementAddQuadCurveToPoint" swt_gen="true"></enum> - <enum name="kCGPathElementCloseSubpath" swt_gen="true"></enum> - <enum name="kCGPathElementMoveToPoint" swt_gen="true"></enum> - <enum name="kCGPathStroke" swt_gen="true"></enum> - <enum name="kCGSessionEventTap" swt_gen="true"></enum> - <function name="CGBitmapContextCreate" swt_gen="true"> - <arg name="data" swt_gen="true"></arg> - <arg name="width" swt_gen="true"></arg> - <arg name="height" swt_gen="true"></arg> - <arg name="bitsPerComponent" swt_gen="true"></arg> - <arg name="bytesPerRow" swt_gen="true"></arg> - <arg name="colorspace" swt_gen="true"></arg> - <arg name="bitmapInfo" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGBitmapContextCreateImage" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGBitmapContextGetData" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGColorSpaceCreateDeviceRGB" swt_gen="true"> - <retval swt_gen="true"></retval> - </function> - <function name="CGColorSpaceRelease" swt_gen="true"> - <arg name="space" swt_gen="true"></arg> - </function> - <function name="CGContextAddPath" swt_gen="true"> - <arg name="context" swt_gen="true"></arg> - <arg name="path" swt_gen="true"></arg> - </function> - <function name="CGContextDrawImage" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - <arg name="rect" swt_gen="true"></arg> - <arg name="image" swt_gen="true"></arg> - </function> - <function name="CGContextRelease" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - </function> - <function name="CGContextReplacePathWithStrokedPath" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - </function> - <function name="CGContextRestoreGState" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - </function> - <function name="CGContextSaveGState" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - </function> - <function name="CGContextScaleCTM" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - <arg name="sx" swt_gen="true"></arg> - <arg name="sy" swt_gen="true"></arg> - </function> - <function name="CGContextSetBlendMode" swt_gen="true"> - <arg name="context" swt_gen="true"></arg> - <arg name="mode" swt_gen="true"></arg> - </function> - <function name="CGContextSetLineCap" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - <arg name="cap" swt_gen="true"></arg> - </function> - <function name="CGContextSetLineDash" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - <arg name="phase" swt_gen="true"></arg> - <arg name="lengths" swt_gen="true" swt_java_type="float[]" swt_java_type64="float[]"></arg> - <arg name="count" swt_gen="true"></arg> - </function> - <function name="CGContextSetLineJoin" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - <arg name="join" swt_gen="true"></arg> - </function> - <function name="CGContextSetLineWidth" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - <arg name="width" swt_gen="true"></arg> - </function> - <function name="CGContextSetMiterLimit" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - <arg name="limit" swt_gen="true"></arg> - </function> - <function name="CGContextStrokePath" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - </function> - <function name="CGContextTranslateCTM" swt_gen="true"> - <arg name="c" swt_gen="true"></arg> - <arg name="tx" swt_gen="true"></arg> - <arg name="ty" swt_gen="true"></arg> - </function> - <function name="CGDataProviderCreateWithData" swt_gen="true"> - <arg name="info" swt_gen="true"></arg> - <arg name="data" swt_gen="true"></arg> - <arg name="size" swt_gen="true"></arg> - <arg name="releaseData" swt_gen="true"> - <arg swt_gen="true"></arg> - <arg></arg> - <arg></arg> - <retval swt_gen="true"></retval> - </arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGDataProviderRelease" swt_gen="true"> - <arg name="provider" swt_gen="true"></arg> - </function> - <function name="CGDisplayBaseAddress" swt_gen="true"> - <arg name="display" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGDisplayBitsPerPixel" swt_gen="true"> - <arg name="display" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGDisplayBitsPerSample" swt_gen="true"> - <arg name="display" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGDisplayBytesPerRow" swt_gen="true"> - <arg name="display" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGDisplayPixelsHigh" swt_gen="true"> - <arg name="display" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGDisplayPixelsWide" swt_gen="true"> - <arg name="display" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGEnableEventStateCombining" swt_gen="true"> - <arg name="doCombineState" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGEventCreateKeyboardEvent" swt_gen="true"> - <arg name="source" swt_gen="true"></arg> - <arg name="virtualKey" swt_gen="true"></arg> - <arg name="keyDown" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGEventGetIntegerValueField" swt_gen="true"> - <arg name="event" swt_gen="true"></arg> - <arg name="field" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGEventKeyboardSetUnicodeString" swt_gen="true"> - <arg name="event" swt_gen="true"></arg> - <arg name="stringLength" swt_gen="true"></arg> - <arg name="unicodeString" swt_gen="true" swt_java_type="char[]"></arg> - </function> - <function name="CGEventPost" swt_gen="true"> - <arg name="tap" swt_gen="true"></arg> - <arg name="event" swt_gen="true"></arg> - </function> - <function name="CGGetDisplaysWithRect" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <arg name="maxDisplays" swt_gen="true"></arg> - <arg name="dspys" swt_gen="true"></arg> - <arg name="dspyCnt" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGImageCreate" swt_gen="true"> - <arg name="width" swt_gen="true"></arg> - <arg name="height" swt_gen="true"></arg> - <arg name="bitsPerComponent" swt_gen="true"></arg> - <arg name="bitsPerPixel" swt_gen="true"></arg> - <arg name="bytesPerRow" swt_gen="true"></arg> - <arg name="colorspace" swt_gen="true"></arg> - <arg name="bitmapInfo" swt_gen="true"></arg> - <arg name="provider" swt_gen="true"></arg> - <arg name="decode" swt_gen="true"></arg> - <arg name="shouldInterpolate" swt_gen="true"></arg> - <arg name="intent" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGImageGetHeight" swt_gen="true"> - <arg name="image" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGImageGetWidth" swt_gen="true"> - <arg name="image" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGImageRelease" swt_gen="true"> - <arg name="image" swt_gen="true"></arg> - </function> - <function name="CGPathAddCurveToPoint" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <arg name="m" swt_gen="true"></arg> - <arg name="cp1x" swt_gen="true"></arg> - <arg name="cp1y" swt_gen="true"></arg> - <arg name="cp2x" swt_gen="true"></arg> - <arg name="cp2y" swt_gen="true"></arg> - <arg name="x" swt_gen="true"></arg> - <arg name="y" swt_gen="true"></arg> - </function> - <function name="CGPathAddLineToPoint" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <arg name="m" swt_gen="true"></arg> - <arg name="x" swt_gen="true"></arg> - <arg name="y" swt_gen="true"></arg> - </function> - <function name="CGPathApply" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <arg name="info" swt_gen="true"></arg> - <arg name="function" swt_gen="true"> - <arg swt_gen="true"></arg> - <arg></arg> - <retval swt_gen="true"></retval> - </arg> - </function> - <function name="CGPathCloseSubpath" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - </function> - <function name="CGPathCreateCopy" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGPathCreateMutable" swt_gen="true"> - <retval swt_gen="true"></retval> - </function> - <function name="CGPathMoveToPoint" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <arg name="m" swt_gen="true"></arg> - <arg name="x" swt_gen="true"></arg> - <arg name="y" swt_gen="true"></arg> - </function> - <function name="CGPathRelease" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - </function> - <function name="CGPostKeyboardEvent" swt_gen="true"> - <arg name="keyChar" swt_gen="true"></arg> - <arg name="virtualKey" swt_gen="true"></arg> - <arg name="keyDown" swt_gen="true" swt_java_type="boolean" swt_java_type64="boolean"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGPostMouseEvent" swt_gen="true" swt_variadic_count="4" swt_variadic_java_types="boolean,*"> - <arg name="mouseCursorPosition" swt_gen="true"></arg> - <arg name="updateMouseCursorPosition" swt_gen="true" swt_java_type="boolean"></arg> - <arg name="buttonCount" swt_gen="true"></arg> - <arg name="mouseButtonDown" swt_gen="true" swt_java_type="boolean"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGPostScrollWheelEvent" swt_gen="true"> - <arg name="wheelCount" swt_gen="true"></arg> - <arg name="wheel1" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGSetLocalEventsFilterDuringSuppressionState" swt_gen="true"> - <arg name="filter" swt_gen="true"></arg> - <arg name="state" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGSetLocalEventsSuppressionInterval" swt_gen="true"> - <arg name="seconds" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="CGWarpMouseCursorPosition" swt_gen="true"> - <arg name="newCursorPosition" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> -</signatures> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMDocument.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMDocument.java deleted file mode 100644 index df4b442fdc..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMDocument.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class DOMDocument extends NSObject { - -public DOMDocument() { - super(); -} - -public DOMDocument(int /*long*/ id) { - super(id); -} - -public DOMDocument(id id) { - super(id); -} - -public WebFrame webFrame() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_webFrame); - return result != 0 ? new WebFrame(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMEvent.java deleted file mode 100644 index 44bd432dfc..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMEvent.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class DOMEvent extends NSObject { - -public DOMEvent() { - super(); -} - -public DOMEvent(int /*long*/ id) { - super(id); -} - -public DOMEvent(id id) { - super(id); -} - -public void preventDefault() { - OS.objc_msgSend(this.id, OS.sel_preventDefault); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMKeyboardEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMKeyboardEvent.java deleted file mode 100644 index 3ce5b472ee..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMKeyboardEvent.java +++ /dev/null @@ -1,51 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class DOMKeyboardEvent extends DOMUIEvent { - -public DOMKeyboardEvent() { - super(); -} - -public DOMKeyboardEvent(int /*long*/ id) { - super(id); -} - -public DOMKeyboardEvent(id id) { - super(id); -} - -public boolean altKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_altKey); -} - -public int charCode() { - return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_charCode); -} - -public boolean ctrlKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_ctrlKey); -} - -public int keyCode() { - return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_keyCode); -} - -public boolean metaKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_metaKey); -} - -public boolean shiftKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_shiftKey); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMMouseEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMMouseEvent.java deleted file mode 100644 index efd23a5233..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMMouseEvent.java +++ /dev/null @@ -1,55 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class DOMMouseEvent extends DOMUIEvent { - -public DOMMouseEvent() { - super(); -} - -public DOMMouseEvent(int /*long*/ id) { - super(id); -} - -public DOMMouseEvent(id id) { - super(id); -} - -public boolean altKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_altKey); -} - -public short button() { - return (short)OS.objc_msgSend(this.id, OS.sel_button); -} - -public int clientX() { - return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_clientX); -} - -public int clientY() { - return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_clientY); -} - -public boolean ctrlKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_ctrlKey); -} - -public boolean metaKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_metaKey); -} - -public boolean shiftKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_shiftKey); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMUIEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMUIEvent.java deleted file mode 100644 index 053e025f2f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMUIEvent.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class DOMUIEvent extends DOMEvent { - -public DOMUIEvent() { - super(); -} - -public DOMUIEvent(int /*long*/ id) { - super(id); -} - -public DOMUIEvent(id id) { - super(id); -} - -public int detail() { - return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_detail); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMWheelEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMWheelEvent.java deleted file mode 100644 index 4d2aac4a91..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/DOMWheelEvent.java +++ /dev/null @@ -1,55 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class DOMWheelEvent extends NSObject { - -public DOMWheelEvent() { - super(); -} - -public DOMWheelEvent(int /*long*/ id) { - super(id); -} - -public DOMWheelEvent(id id) { - super(id); -} - -public boolean altKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_altKey); -} - -public int clientX() { - return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_clientX); -} - -public int clientY() { - return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_clientY); -} - -public boolean ctrlKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_ctrlKey); -} - -public boolean metaKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_metaKey); -} - -public boolean shiftKey() { - return OS.objc_msgSend_bool(this.id, OS.sel_shiftKey); -} - -public int wheelDelta() { - return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_wheelDelta); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/FoundationFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/FoundationFull.bridgesupport.extras deleted file mode 100644 index c95ad9a1d2..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/FoundationFull.bridgesupport.extras +++ /dev/null @@ -1,1040 +0,0 @@ -<?xml version="1.0" encoding="UTF8"?> -<signatures swt_gen="mixed"> - <struct name="NSAffineTransformStruct" swt_gen="true"> - <field name="m11" swt_gen="true"></field> - <field name="m12" swt_gen="true"></field> - <field name="m21" swt_gen="true"></field> - <field name="m22" swt_gen="true"></field> - <field name="tX" swt_gen="true"></field> - <field name="tY" swt_gen="true"></field> - </struct> - <struct name="NSPoint" swt_gen="true"> - <field name="x" swt_gen="true"></field> - <field name="y" swt_gen="true"></field> - </struct> - <struct name="NSRange" swt_gen="true"> - <field name="location" swt_gen="true"></field> - <field name="length" swt_gen="true"></field> - </struct> - <struct name="NSRect" swt_gen="true"> - <field name="origin" swt_gen="true"></field> - <field name="size" swt_gen="true"></field> - </struct> - <struct name="NSSize" swt_gen="true"> - <field name="width" swt_gen="true"></field> - <field name="height" swt_gen="true"></field> - </struct> - <constant name="NSDefaultRunLoopMode" swt_gen="true"></constant> - <constant name="NSErrorFailingURLStringKey" swt_gen="true"></constant> - <enum name="NSAllApplicationsDirectory" swt_gen="true"></enum> - <enum name="NSAllDomainsMask" swt_gen="true"></enum> - <enum name="NSNotFound" swt_gen="true"></enum> - <enum name="NSOrderedSame" swt_gen="true"></enum> - <enum name="NSURLCredentialPersistenceForSession" swt_gen="true"></enum> - <enum name="NSURLErrorBadURL" swt_gen="true"></enum> - <enum name="NSURLRequestReloadIgnoringLocalCacheData" swt_gen="true"></enum> - <enum name="NSUTF8StringEncoding" swt_gen="true"></enum> - <function name="NSEqualRects" swt_gen="true"> - <arg name="aRect" swt_gen="true"></arg> - <arg name="bRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSFileTypeForHFSTypeCode" swt_gen="true"> - <arg name="hfsFileTypeCode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSGetSizeAndAlignment" swt_gen="true"> - <arg name="typePtr" swt_gen="true"></arg> - <arg name="sizep" swt_gen="true" swt_java_type="int[]" swt_java_type64="long[]"></arg> - <arg name="alignp" swt_gen="true" swt_java_type="int[]" swt_java_type64="long[]"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSPointInRect" swt_gen="true"> - <arg name="aPoint" swt_gen="true"></arg> - <arg name="aRect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSSearchPathForDirectoriesInDomains" swt_gen="true"> - <arg name="directory" swt_gen="true"></arg> - <arg name="domainMask" swt_gen="true"></arg> - <arg name="expandTilde" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </function> - <function name="NSTemporaryDirectory" swt_gen="true"> - <retval swt_gen="true"></retval> - </function> - <class name="NSAppleEventDescriptor" swt_gen="mixed"> - <method selector="initListDescriptor" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSAppleEventDescriptor"></retval> - </method> - </class> - <class name="NSArray" swt_gen="mixed"> - <method class_method="true" selector="array" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSArray"></retval> - </method> - <method class_method="true" selector="arrayWithObject:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_alloc="true" swt_gen="true" swt_java_type="NSArray"></retval> - </method> - <method selector="containsObject:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="count" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="indexOfObjectIdenticalTo:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="objectAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSAttributedString" swt_gen="mixed"> - <method selector="attributedSubstringFromRange:" swt_gen="true"> - <arg name="range" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithString:" swt_gen="true"> - <arg name="str" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSAttributedString"></retval> - </method> - <method selector="length" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="string" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSAutoreleasePool" swt_gen="mixed"> - <method class_method="true" selector="enableFreedObjectCheck:" swt_gen="true"> - <arg name="enable" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSBundle" swt_gen="mixed"> - <method selector="bundleIdentifier" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="bundlePath" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="bundleWithIdentifier:" swt_gen="true"> - <arg name="identifier" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="bundleWithPath:" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="infoDictionary" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="mainBundle" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="objectForInfoDictionaryKey:" swt_gen="true"> - <arg name="key" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="pathForResource:ofType:" swt_gen="true"> - <arg name="name" swt_gen="true"></arg> - <arg name="ext" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="resourcePath" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSCalendarDate" swt_gen="mixed" swt_superclass="NSDate"> - <method class_method="true" selector="calendarDate" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSCalendarDate"></retval> - </method> - <method class_method="true" selector="dateWithYear:month:day:hour:minute:second:timeZone:" swt_gen="true"> - <arg name="year" swt_gen="true"></arg> - <arg name="month" swt_gen="true"></arg> - <arg name="day" swt_gen="true"></arg> - <arg name="hour" swt_gen="true"></arg> - <arg name="minute" swt_gen="true"></arg> - <arg name="second" swt_gen="true"></arg> - <arg name="aTimeZone" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSCalendarDate"></retval> - </method> - <method selector="dayOfMonth" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="hourOfDay" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="minuteOfHour" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="monthOfYear" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="secondOfMinute" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="timeZone" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="yearOfCommonEra" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSCharacterSet" swt_gen="mixed"> - <method selector="characterIsMember:" swt_gen="true"> - <arg name="aCharacter" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="decimalDigitCharacterSet" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSCloneCommand" swt_superclass="NSScriptCommand"> - </class> - <class name="NSCloseCommand" swt_superclass="NSScriptCommand"> - </class> - <class name="NSCoder" swt_gen="mixed"> - <method selector="systemVersion" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSComparisonPredicate" swt_superclass="NSPredicate"> - </class> - <class name="NSCompoundPredicate" swt_superclass="NSPredicate"> - </class> - <class name="NSCountedSet" swt_superclass="NSMutableSet"> - </class> - <class name="NSCreateCommand" swt_superclass="NSScriptCommand"> - </class> - <class name="NSData" swt_gen="mixed"> - <method selector="bytes" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="dataWithBytes:length:" swt_gen="true"> - <arg name="bytes" swt_gen="true" swt_java_type="byte[]"></arg> - <arg name="length" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSData"></retval> - </method> - <method selector="getBytes:" swt_gen="true"> - <arg name="buffer" swt_gen="true" swt_java_type="byte[]"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="getBytes:length:" swt_gen="true"> - <arg name="buffer" swt_gen="true"></arg> - <arg name="length" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="length" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSDate" swt_gen="mixed"> - <method selector="dateWithCalendarFormat:timeZone:" swt_gen="true"> - <arg name="format" swt_gen="true"></arg> - <arg name="aTimeZone" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="dateWithTimeIntervalSinceNow:" swt_gen="true"> - <arg name="secs" swt_gen="true"></arg> - <retval swt_alloc="true" swt_gen="true" swt_java_type="NSDate"></retval> - </method> - <method class_method="true" selector="distantFuture" swt_gen="true"> - <retval swt_alloc="true" swt_gen="true" swt_java_type="NSDate"></retval> - </method> - </class> - <class name="NSDateFormatter" swt_superclass="NSFormatter"> - </class> - <class name="NSDecimalNumber" swt_superclass="NSNumber"> - </class> - <class name="NSDeleteCommand" swt_superclass="NSScriptCommand"> - </class> - <class name="NSDictionary" swt_gen="mixed"> - <method selector="allKeys" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="count" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="dictionaryWithObject:forKey:" swt_gen="true"> - <arg name="object" swt_gen="true"></arg> - <arg name="key" swt_gen="true"></arg> - <retval swt_alloc="true" swt_gen="true" swt_java_type="NSDictionary"></retval> - </method> - <method selector="objectEnumerator" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="objectForKey:" swt_gen="true"> - <arg name="aKey" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="valueForKey:" swt_gen="true"> - <arg name="key" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSDirectoryEnumerator" swt_gen="mixed" swt_superclass="NSEnumerator"> - <method selector="skipDescendents" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSDistantObject" swt_superclass="NSProxy"> - </class> - <class name="NSDistributedNotificationCenter" swt_superclass="NSNotificationCenter"> - </class> - <class name="NSEnumerator" swt_gen="mixed"> - <method selector="nextObject" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSError" swt_gen="mixed"> - <method selector="code" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="localizedDescription" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="userInfo" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSFileManager" swt_gen="mixed"> - <method selector="createFileAtPath:contents:attributes:" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <arg name="data" swt_gen="true"></arg> - <arg name="attr" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="defaultManager" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="enumeratorAtPath:" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="fileExistsAtPath:isDirectory:" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <arg name="isDirectory" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="removeItemAtPath:error:" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <arg name="error" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSFormatter" swt_gen="mixed"> - <method selector="stringForObjectValue:" swt_gen="true"> - <arg name="obj" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSHTTPCookie" swt_gen="mixed"> - <method class_method="true" selector="cookiesWithResponseHeaderFields:forURL:" swt_gen="true"> - <arg name="headerFields" swt_gen="true"></arg> - <arg name="URL" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="isSessionOnly" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="name" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="value" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSHTTPCookieStorage" swt_gen="mixed"> - <method selector="cookies" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="cookiesForURL:" swt_gen="true"> - <arg name="URL" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="deleteCookie:" swt_gen="true"> - <arg name="cookie" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setCookie:" swt_gen="true"> - <arg name="cookie" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="sharedHTTPCookieStorage" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSHTTPURLResponse" swt_superclass="NSURLResponse"> - </class> - <class name="NSIndexSet" swt_gen="mixed"> - <method selector="containsIndex:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="count" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="firstIndex" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="getIndexes:maxCount:inIndexRange:" swt_gen="true"> - <arg name="indexBuffer" swt_gen="true" swt_java_type="int[]" swt_java_type64="long[]"></arg> - <arg name="bufferSize" swt_gen="true"></arg> - <arg name="range" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithIndex:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSIndexSet"></retval> - </method> - <method selector="initWithIndexesInRange:" swt_gen="true"> - <arg name="range" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSIndexSet"></retval> - </method> - </class> - <class name="NSIndexSpecifier" swt_superclass="NSScriptObjectSpecifier"> - </class> - <class name="NSInputStream" swt_superclass="NSStream"> - </class> - <class name="NSInvocationOperation" swt_superclass="NSOperation"> - </class> - <class name="NSKeyedArchiver" swt_gen="mixed" swt_superclass="NSCoder"> - <method class_method="true" selector="archivedDataWithRootObject:" swt_gen="true"> - <arg name="rootObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSKeyedUnarchiver" swt_gen="mixed" swt_superclass="NSCoder"> - <method class_method="true" selector="unarchiveObjectWithData:" swt_gen="true"> - <arg name="data" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSLogicalTest" swt_superclass="NSScriptWhoseTest"> - </class> - <class name="NSMachBootstrapServer" swt_superclass="NSPortNameServer"> - </class> - <class name="NSMachPort" swt_superclass="NSPort"> - </class> - <class name="NSMessagePortNameServer" swt_superclass="NSPortNameServer"> - </class> - <class name="NSMoveCommand" swt_superclass="NSScriptCommand"> - </class> - <class name="NSMutableArray" swt_gen="mixed" swt_superclass="NSArray"> - <method selector="addObject:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="addObjectsFromArray:" swt_gen="true"> - <arg name="otherArray" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="arrayWithCapacity:" swt_gen="true"> - <arg name="numItems" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSMutableArray"></retval> - </method> - <method selector="initWithCapacity:" swt_gen="true"> - <arg name="numItems" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSMutableArray"></retval> - </method> - <method selector="removeLastObject" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="removeObject:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="removeObjectAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="removeObjectIdenticalTo:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSMutableAttributedString" swt_gen="mixed" swt_superclass="NSAttributedString"> - <method selector="addAttribute:value:range:" swt_gen="true"> - <arg name="name" swt_gen="true"></arg> - <arg name="value" swt_gen="true"></arg> - <arg name="range" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="beginEditing" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="endEditing" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="removeAttribute:range:" swt_gen="true"> - <arg name="name" swt_gen="true"></arg> - <arg name="range" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setAttributedString:" swt_gen="true"> - <arg name="attrString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSMutableCharacterSet" swt_superclass="NSCharacterSet"> - </class> - <class name="NSMutableData" swt_superclass="NSData"> - </class> - <class name="NSMutableDictionary" swt_gen="mixed" swt_superclass="NSDictionary"> - <method class_method="true" selector="dictionaryWithCapacity:" swt_gen="true"> - <arg name="numItems" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSMutableDictionary"></retval> - </method> - <method selector="initWithCapacity:" swt_gen="true"> - <arg name="numItems" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSMutableDictionary"></retval> - </method> - <method selector="removeObjectForKey:" swt_gen="true"> - <arg name="aKey" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDictionary:" swt_gen="true"> - <arg name="otherDictionary" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setObject:forKey:" swt_gen="true"> - <arg name="anObject" swt_gen="true"></arg> - <arg name="aKey" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setValue:forKey:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <arg name="key" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSMutableIndexSet" swt_gen="mixed" swt_superclass="NSIndexSet"> - <method selector="addIndex:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSMutableSet" swt_gen="mixed" swt_superclass="NSSet"> - <method selector="addObjectsFromArray:" swt_gen="true"> - <arg name="array" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSMutableString" swt_gen="mixed" swt_superclass="NSString"> - <method selector="appendString:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSMutableURLRequest" swt_gen="mixed" swt_superclass="NSURLRequest"> - <method selector="setCachePolicy:" swt_gen="true"> - <arg name="policy" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setURL:" swt_gen="true"> - <arg name="URL" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSNameSpecifier" swt_superclass="NSScriptObjectSpecifier"> - </class> - <class name="NSNotification" swt_gen="mixed"> - <method selector="object" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="userInfo" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSNotificationCenter" swt_gen="mixed"> - <method selector="addObserver:selector:name:object:" swt_gen="true"> - <arg name="observer" swt_gen="true"></arg> - <arg name="aSelector" swt_gen="true"></arg> - <arg name="aName" swt_gen="true"></arg> - <arg name="anObject" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="defaultCenter" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSNotificationCenter"></retval> - </method> - <method selector="removeObserver:" swt_gen="true"> - <arg name="observer" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSNumber" swt_gen="mixed" swt_superclass="NSValue"> - <method selector="boolValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="doubleValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="floatValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="intValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="integerValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="numberWithBool:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="numberWithDouble:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="numberWithInt:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="numberWithInteger:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSNumberFormatter" swt_gen="mixed" swt_superclass="NSFormatter"> - <method selector="allowsFloats" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="alwaysShowsDecimalSeparator" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="decimalSeparator" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="maximum" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="maximumFractionDigits" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="maximumIntegerDigits" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="minimum" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setAllowsFloats:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMaximum:" swt_gen="true"> - <arg name="number" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMaximumFractionDigits:" swt_gen="true"> - <arg name="number" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMaximumIntegerDigits:" swt_gen="true"> - <arg name="number" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMinimum:" swt_gen="true"> - <arg name="number" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMinimumFractionDigits:" swt_gen="true"> - <arg name="number" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setMinimumIntegerDigits:" swt_gen="true"> - <arg name="number" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setNumberStyle:" swt_gen="true"> - <arg name="style" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setPartialStringValidationEnabled:" swt_gen="true"> - <arg name="b" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSObject" swt_gen="mixed"> - <method selector="autorelease" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSObject"></retval> - </method> - <method selector="cancelAuthenticationChallenge:" swt_gen="true"> - <arg name="challenge" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="className" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="conformsToProtocol:" swt_gen="true"> - <arg name="aProtocol" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="copy" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="description" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="init" swt_gen="true"> - <retval swt_gen="true" swt_java_type="NSObject"></retval> - </method> - <method selector="isEqual:" swt_gen="true"> - <arg name="object" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="isEqualTo:" swt_gen="true"> - <arg name="object" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="isKindOfClass:" swt_gen="true"> - <arg name="aClass" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="mutableCopy" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="performSelectorOnMainThread:withObject:waitUntilDone:" swt_gen="true"> - <arg name="aSelector" swt_gen="true"></arg> - <arg name="arg" swt_gen="true"></arg> - <arg name="wait" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="release" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="respondsToSelector:" swt_gen="true"> - <arg name="aSelector" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="retain" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="retainCount" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setValue:forKey:" swt_gen="true"> - <arg name="value" swt_gen="true"></arg> - <arg name="key" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="superclass" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="useCredential:forAuthenticationChallenge:" swt_gen="true"> - <arg name="credential" swt_gen="true"></arg> - <arg name="challenge" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="valueForKey:" swt_gen="true"> - <arg name="key" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSOutputStream" swt_superclass="NSStream"> - </class> - <class name="NSPortCoder" swt_superclass="NSCoder"> - </class> - <class name="NSProtocolChecker" swt_superclass="NSProxy"> - </class> - <class name="NSQuitCommand" swt_superclass="NSScriptCommand"> - </class> - <class name="NSRangeSpecifier" swt_superclass="NSScriptObjectSpecifier"> - </class> - <class name="NSRelativeSpecifier" swt_superclass="NSScriptObjectSpecifier"> - </class> - <class name="NSRunLoop" swt_gen="mixed"> - <method selector="addTimer:forMode:" swt_gen="true"> - <arg name="timer" swt_gen="true"></arg> - <arg name="mode" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="currentRunLoop" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="mainRunLoop" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="runMode:beforeDate:" swt_gen="true"> - <arg name="mode" swt_gen="true"></arg> - <arg name="limitDate" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSScriptClassDescription" swt_superclass="NSClassDescription"> - </class> - <class name="NSSet" swt_gen="mixed"> - <method selector="count" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="objectEnumerator" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="set" swt_gen="true"> - <retval swt_alloc="true" swt_gen="true" swt_java_type="NSSet"></retval> - </method> - </class> - <class name="NSSetCommand" swt_superclass="NSScriptCommand"> - </class> - <class name="NSSocketPort" swt_superclass="NSPort"> - </class> - <class name="NSSocketPortNameServer" swt_superclass="NSPortNameServer"> - </class> - <class name="NSSpecifierTest" swt_superclass="NSScriptWhoseTest"> - </class> - <class name="NSString" swt_gen="mixed"> - <method selector="UTF8String" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="characterAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="int" swt_java_type64="long"></retval> - </method> - <method selector="compare:" swt_gen="true"> - <arg name="string" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="fileSystemRepresentation" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="getCharacters:" swt_gen="true"> - <arg name="buffer" swt_gen="true" swt_java_type="char[]"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="getCharacters:range:" swt_gen="true"> - <arg name="buffer" swt_gen="true" swt_java_type="char[]"></arg> - <arg name="aRange" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithCharacters:length:" swt_gen="true"> - <arg name="characters" swt_gen="true" swt_java_type="char[]"></arg> - <arg name="length" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSString"></retval> - </method> - <method selector="isEqualToString:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="lastPathComponent" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="length" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="lowercaseString" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="pathExtension" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="stringByAddingPercentEscapesUsingEncoding:" swt_gen="true"> - <arg name="enc" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="stringByAppendingPathComponent:" swt_gen="true"> - <arg name="str" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="stringByAppendingString:" swt_gen="true"> - <arg name="aString" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="stringByDeletingLastPathComponent" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="stringByDeletingPathExtension" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="stringByReplacingOccurrencesOfString:withString:" swt_gen="true"> - <arg name="target" swt_gen="true"></arg> - <arg name="replacement" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="stringWithCharacters:length:" swt_gen="true"> - <arg name="characters" swt_gen="true" swt_java_type="char[]"></arg> - <arg name="length" swt_gen="true"></arg> - <retval swt_alloc="true" swt_gen="true" swt_java_type="NSString"></retval> - </method> - <method class_method="true" selector="stringWithFormat:" swt_gen="true"> - <arg name="stringWithFormat" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSString"></retval> - </method> - <method class_method="true" selector="stringWithUTF8String:" swt_gen="true"> - <arg name="nullTerminatedCString" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSString"></retval> - </method> - </class> - <class name="NSThread" swt_gen="mixed"> - <method class_method="true" selector="currentThread" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="isMainThread" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="threadDictionary" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTimeZone" swt_gen="mixed"> - <method class_method="true" selector="defaultTimeZone" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSTimer" swt_gen="mixed"> - <method selector="invalidate" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:" swt_gen="true"> - <arg name="ti" swt_gen="true"></arg> - <arg name="aTarget" swt_gen="true"></arg> - <arg name="aSelector" swt_gen="true"></arg> - <arg name="userInfo" swt_gen="true"></arg> - <arg name="yesOrNo" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFireDate:" swt_gen="true"> - <arg name="date" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="userInfo" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSURL" swt_gen="mixed"> - <method class_method="true" selector="URLWithString:" swt_gen="true"> - <arg name="URLString" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSURL"></retval> - </method> - <method selector="absoluteString" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="fileURLWithPath:" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSURL"></retval> - </method> - <method selector="isFileURL" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSURLAuthenticationChallenge" swt_gen="mixed"> - <method selector="previousFailureCount" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="proposedCredential" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="protectionSpace" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="sender" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSURLCredential" swt_gen="mixed"> - <method class_method="true" selector="credentialWithUser:password:persistence:" swt_gen="true"> - <arg name="user" swt_gen="true"></arg> - <arg name="password" swt_gen="true"></arg> - <arg name="persistence" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="hasPassword" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="password" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="user" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSURLDownload" swt_gen="mixed"> - <method selector="cancel" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="setDestination:allowOverwrite:" swt_gen="true"> - <arg name="path" swt_gen="true"></arg> - <arg name="allowOverwrite" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSURLProtectionSpace" swt_gen="mixed"> - <method selector="host" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="port" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="realm" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSURLRequest" swt_gen="mixed"> - <method selector="URL" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithURL:" swt_gen="true"> - <arg name="URL" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="NSURLRequest"></retval> - </method> - <method class_method="true" selector="requestWithURL:" swt_gen="true"> - <arg name="URL" swt_gen="true"></arg> - <retval swt_alloc="true" swt_gen="true" swt_java_type="NSURLRequest"></retval> - </method> - </class> - <class name="NSUnarchiver" swt_superclass="NSCoder"> - </class> - <class name="NSUniqueIDSpecifier" swt_superclass="NSScriptObjectSpecifier"> - </class> - <class name="NSValue" swt_gen="mixed"> - <method selector="objCType" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="pointValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="rangeValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="rectValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="sizeValue" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="valueWithPoint:" swt_gen="true"> - <arg name="point" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="valueWithRange:" swt_gen="true"> - <arg name="range" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="valueWithRect:" swt_gen="true"> - <arg name="rect" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="valueWithSize:" swt_gen="true"> - <arg name="size" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSWhoseSpecifier" swt_superclass="NSScriptObjectSpecifier"> - </class> - <class name="NSXMLDTD" swt_superclass="NSXMLNode"> - </class> - <class name="NSXMLDTDNode" swt_superclass="NSXMLNode"> - </class> - <class name="NSXMLDocument" swt_superclass="NSXMLNode"> - </class> - <class name="NSXMLElement" swt_superclass="NSXMLNode"> - </class> - <informal_protocol name="NSURLDownloadDelegate" swt_gen="mixed"> - <method selector="download:decideDestinationWithSuggestedFilename:" swt_gen="true"> - <arg name="download" swt_gen="true"></arg> - <arg name="filename" swt_gen="true"></arg> - </method> - </informal_protocol> -</signatures> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSActionCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSActionCell.java deleted file mode 100644 index 6796aa2f22..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSActionCell.java +++ /dev/null @@ -1,44 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSActionCell extends NSCell { - -public NSActionCell() { - super(); -} - -public NSActionCell(int /*long*/ id) { - super(id); -} - -public NSActionCell(id id) { - super(id); -} - -public int /*long*/ action() { - return OS.objc_msgSend(this.id, OS.sel_action); -} - -public void setAction(int /*long*/ aSelector) { - OS.objc_msgSend(this.id, OS.sel_setAction_, aSelector); -} - -public void setTarget(id anObject) { - OS.objc_msgSend(this.id, OS.sel_setTarget_, anObject != null ? anObject.id : 0); -} - -public id target() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_target); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransform.java deleted file mode 100644 index 51eeee37d1..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransform.java +++ /dev/null @@ -1,87 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSAffineTransform extends NSObject { - -public NSAffineTransform() { - super(); -} - -public NSAffineTransform(int /*long*/ id) { - super(id); -} - -public NSAffineTransform(id id) { - super(id); -} - -public void concat() { - OS.objc_msgSend(this.id, OS.sel_concat); -} - -public NSAffineTransform initWithTransform(NSAffineTransform transform) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithTransform_, transform != null ? transform.id : 0); - return result == this.id ? this : (result != 0 ? new NSAffineTransform(result) : null); -} - -public void invert() { - OS.objc_msgSend(this.id, OS.sel_invert); -} - -public void prependTransform(NSAffineTransform transform) { - OS.objc_msgSend(this.id, OS.sel_prependTransform_, transform != null ? transform.id : 0); -} - -public void rotateByDegrees(float /*double*/ angle) { - OS.objc_msgSend(this.id, OS.sel_rotateByDegrees_, angle); -} - -public void scaleXBy(float /*double*/ scaleX, float /*double*/ scaleY) { - OS.objc_msgSend(this.id, OS.sel_scaleXBy_yBy_, scaleX, scaleY); -} - -public void set() { - OS.objc_msgSend(this.id, OS.sel_set); -} - -public void setTransformStruct(NSAffineTransformStruct transformStruct) { - OS.objc_msgSend(this.id, OS.sel_setTransformStruct_, transformStruct); -} - -public static NSAffineTransform transform() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSAffineTransform, OS.sel_transform); - return result != 0 ? new NSAffineTransform(result) : null; -} - -public NSPoint transformPoint(NSPoint aPoint) { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_transformPoint_, aPoint); - return result; -} - -public NSSize transformSize(NSSize aSize) { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_transformSize_, aSize); - return result; -} - -public NSAffineTransformStruct transformStruct() { - NSAffineTransformStruct result = new NSAffineTransformStruct(); - OS.objc_msgSend_stret(result, this.id, OS.sel_transformStruct); - return result; -} - -public void translateXBy(float /*double*/ deltaX, float /*double*/ deltaY) { - OS.objc_msgSend(this.id, OS.sel_translateXBy_yBy_, deltaX, deltaY); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransformStruct.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransformStruct.java deleted file mode 100644 index 82b75ea9ad..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAffineTransformStruct.java +++ /dev/null @@ -1,17 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSAffineTransformStruct { - public float /*double*/ m11, m12, m21, m22; - public float /*double*/ tX, tY; - public static final int sizeof = OS.NSAffineTransformStruct_sizeof(); -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAlert.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAlert.java deleted file mode 100644 index 6d3ed2d820..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAlert.java +++ /dev/null @@ -1,53 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSAlert extends NSObject { - -public NSAlert() { - super(); -} - -public NSAlert(int /*long*/ id) { - super(id); -} - -public NSAlert(id id) { - super(id); -} - -public NSButton addButtonWithTitle(NSString title) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_addButtonWithTitle_, title != null ? title.id : 0); - return result != 0 ? new NSButton(result) : null; -} - -public void beginSheetModalForWindow(NSWindow window, id delegate, int /*long*/ didEndSelector, int /*long*/ contextInfo) { - OS.objc_msgSend(this.id, OS.sel_beginSheetModalForWindow_modalDelegate_didEndSelector_contextInfo_, window != null ? window.id : 0, delegate != null ? delegate.id : 0, didEndSelector, contextInfo); -} - -public int /*long*/ runModal() { - return OS.objc_msgSend(this.id, OS.sel_runModal); -} - -public void setAlertStyle(int /*long*/ style) { - OS.objc_msgSend(this.id, OS.sel_setAlertStyle_, style); -} - -public void setMessageText(NSString messageText) { - OS.objc_msgSend(this.id, OS.sel_setMessageText_, messageText != null ? messageText.id : 0); -} - -public NSWindow window() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_window); - return result != 0 ? new NSWindow(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAppleEventDescriptor.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAppleEventDescriptor.java deleted file mode 100644 index 6790acbe91..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAppleEventDescriptor.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSAppleEventDescriptor extends NSObject { - -public NSAppleEventDescriptor() { - super(); -} - -public NSAppleEventDescriptor(int /*long*/ id) { - super(id); -} - -public NSAppleEventDescriptor(id id) { - super(id); -} - -public NSAppleEventDescriptor initListDescriptor() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initListDescriptor); - return result == this.id ? this : (result != 0 ? new NSAppleEventDescriptor(result) : null); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSApplication.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSApplication.java deleted file mode 100644 index 8c02f8ad9b..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSApplication.java +++ /dev/null @@ -1,142 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSApplication extends NSResponder { - -public NSApplication() { - super(); -} - -public NSApplication(int /*long*/ id) { - super(id); -} - -public NSApplication(id id) { - super(id); -} - -public void activateIgnoringOtherApps(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_activateIgnoringOtherApps_, flag); -} - -public void beginSheet(NSWindow sheet, NSWindow docWindow, id modalDelegate, int /*long*/ didEndSelector, int /*long*/ contextInfo) { - OS.objc_msgSend(this.id, OS.sel_beginSheet_modalForWindow_modalDelegate_didEndSelector_contextInfo_, sheet != null ? sheet.id : 0, docWindow != null ? docWindow.id : 0, modalDelegate != null ? modalDelegate.id : 0, didEndSelector, contextInfo); -} - -public NSEvent currentEvent() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_currentEvent); - return result != 0 ? new NSEvent(result) : null; -} - -public void endSheet(NSWindow sheet, int /*long*/ returnCode) { - OS.objc_msgSend(this.id, OS.sel_endSheet_returnCode_, sheet != null ? sheet.id : 0, returnCode); -} - -public void finishLaunching() { - OS.objc_msgSend(this.id, OS.sel_finishLaunching); -} - -public void hide(id sender) { - OS.objc_msgSend(this.id, OS.sel_hide_, sender != null ? sender.id : 0); -} - -public void hideOtherApplications(id sender) { - OS.objc_msgSend(this.id, OS.sel_hideOtherApplications_, sender != null ? sender.id : 0); -} - -public boolean isActive() { - return OS.objc_msgSend_bool(this.id, OS.sel_isActive); -} - -public boolean isRunning() { - return OS.objc_msgSend_bool(this.id, OS.sel_isRunning); -} - -public NSWindow keyWindow() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_keyWindow); - return result != 0 ? new NSWindow(result) : null; -} - -public NSMenu mainMenu() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_mainMenu); - return result != 0 ? new NSMenu(result) : null; -} - -public NSEvent nextEventMatchingMask(int /*long*/ mask, NSDate expiration, NSString mode, boolean deqFlag) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_nextEventMatchingMask_untilDate_inMode_dequeue_, mask, expiration != null ? expiration.id : 0, mode != null ? mode.id : 0, deqFlag); - return result != 0 ? new NSEvent(result) : null; -} - -public void orderFrontStandardAboutPanel(id sender) { - OS.objc_msgSend(this.id, OS.sel_orderFrontStandardAboutPanel_, sender != null ? sender.id : 0); -} - -public NSArray orderedWindows() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_orderedWindows); - return result != 0 ? new NSArray(result) : null; -} - -public void postEvent(NSEvent event, boolean flag) { - OS.objc_msgSend(this.id, OS.sel_postEvent_atStart_, event != null ? event.id : 0, flag); -} - -public void run() { - OS.objc_msgSend(this.id, OS.sel_run); -} - -public int /*long*/ runModalForWindow(NSWindow theWindow) { - return OS.objc_msgSend(this.id, OS.sel_runModalForWindow_, theWindow != null ? theWindow.id : 0); -} - -public void sendEvent(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_sendEvent_, theEvent != null ? theEvent.id : 0); -} - -public void setApplicationIconImage(NSImage image) { - OS.objc_msgSend(this.id, OS.sel_setApplicationIconImage_, image != null ? image.id : 0); -} - -public void setDelegate(id anObject) { - OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); -} - -public void setMainMenu(NSMenu aMenu) { - OS.objc_msgSend(this.id, OS.sel_setMainMenu_, aMenu != null ? aMenu.id : 0); -} - -public void setServicesMenu(NSMenu aMenu) { - OS.objc_msgSend(this.id, OS.sel_setServicesMenu_, aMenu != null ? aMenu.id : 0); -} - -public static NSApplication sharedApplication() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSApplication, OS.sel_sharedApplication); - return result != 0 ? new NSApplication(result) : null; -} - -public void stop(id sender) { - OS.objc_msgSend(this.id, OS.sel_stop_, sender != null ? sender.id : 0); -} - -public void terminate(id sender) { - OS.objc_msgSend(this.id, OS.sel_terminate_, sender != null ? sender.id : 0); -} - -public void unhideAllApplications(id sender) { - OS.objc_msgSend(this.id, OS.sel_unhideAllApplications_, sender != null ? sender.id : 0); -} - -public NSArray windows() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_windows); - return result != 0 ? new NSArray(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSArray.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSArray.java deleted file mode 100644 index 6d63291431..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSArray.java +++ /dev/null @@ -1,54 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSArray extends NSObject { - -public NSArray() { - super(); -} - -public NSArray(int /*long*/ id) { - super(id); -} - -public NSArray(id id) { - super(id); -} - -public static NSArray array() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSArray, OS.sel_array); - return result != 0 ? new NSArray(result) : null; -} - -public static NSArray arrayWithObject(id anObject) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSArray, OS.sel_arrayWithObject_, anObject != null ? anObject.id : 0); - return result != 0 ? new NSArray(result) : null; -} - -public boolean containsObject(id anObject) { - return OS.objc_msgSend_bool(this.id, OS.sel_containsObject_, anObject != null ? anObject.id : 0); -} - -public int /*long*/ count() { - return OS.objc_msgSend(this.id, OS.sel_count); -} - -public int /*long*/ indexOfObjectIdenticalTo(id anObject) { - return OS.objc_msgSend(this.id, OS.sel_indexOfObjectIdenticalTo_, anObject != null ? anObject.id : 0); -} - -public id objectAtIndex(int /*long*/ index) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectAtIndex_, index); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAttributedString.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAttributedString.java deleted file mode 100644 index 9ff15a57e5..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAttributedString.java +++ /dev/null @@ -1,85 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSAttributedString extends NSObject { - -public NSAttributedString() { - super(); -} - -public NSAttributedString(int /*long*/ id) { - super(id); -} - -public NSAttributedString(id id) { - super(id); -} - -public static NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSAttributedString, OS.sel_attributedStringWithAttachment_, attachment != null ? attachment.id : 0); - return result != 0 ? new NSAttributedString(result) : null; -} - -public NSDictionary attributesAtIndex(int /*long*/ location, int /*long*/ range, NSRange rangeLimit) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_attributesAtIndex_longestEffectiveRange_inRange_, location, range, rangeLimit); - return result != 0 ? new NSDictionary(result) : null; -} - -public NSRange doubleClickAtIndex(int /*long*/ location) { - NSRange result = new NSRange(); - OS.objc_msgSend_stret(result, this.id, OS.sel_doubleClickAtIndex_, location); - return result; -} - -public void drawAtPoint(NSPoint point) { - OS.objc_msgSend(this.id, OS.sel_drawAtPoint_, point); -} - -public void drawInRect(NSRect rect) { - OS.objc_msgSend(this.id, OS.sel_drawInRect_, rect); -} - -public NSAttributedString initWithString(NSString str, NSDictionary attrs) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithString_attributes_, str != null ? str.id : 0, attrs != null ? attrs.id : 0); - return result == this.id ? this : (result != 0 ? new NSAttributedString(result) : null); -} - -public int /*long*/ nextWordFromIndex(int /*long*/ location, boolean isForward) { - return OS.objc_msgSend(this.id, OS.sel_nextWordFromIndex_forward_, location, isForward); -} - -public NSSize size() { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_size); - return result; -} - -public NSAttributedString attributedSubstringFromRange(NSRange range) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_attributedSubstringFromRange_, range); - return result == this.id ? this : (result != 0 ? new NSAttributedString(result) : null); -} - -public NSAttributedString initWithString(NSString str) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithString_, str != null ? str.id : 0); - return result == this.id ? this : (result != 0 ? new NSAttributedString(result) : null); -} - -public int /*long*/ length() { - return OS.objc_msgSend(this.id, OS.sel_length); -} - -public NSString string() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_string); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAutoreleasePool.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAutoreleasePool.java deleted file mode 100644 index 05eb429890..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSAutoreleasePool.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSAutoreleasePool extends NSObject { - -public NSAutoreleasePool() { - super(); -} - -public NSAutoreleasePool(int /*long*/ id) { - super(id); -} - -public NSAutoreleasePool(id id) { - super(id); -} - -public static void enableFreedObjectCheck(boolean enable) { - OS.objc_msgSend(OS.class_NSAutoreleasePool, OS.sel_enableFreedObjectCheck_, enable); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBezierPath.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBezierPath.java deleted file mode 100644 index 099699b0a1..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBezierPath.java +++ /dev/null @@ -1,184 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSBezierPath extends NSObject { - -public NSBezierPath() { - super(); -} - -public NSBezierPath(int /*long*/ id) { - super(id); -} - -public NSBezierPath(id id) { - super(id); -} - -public void addClip() { - OS.objc_msgSend(this.id, OS.sel_addClip); -} - -public void appendBezierPath(NSBezierPath path) { - OS.objc_msgSend(this.id, OS.sel_appendBezierPath_, path != null ? path.id : 0); -} - -public void appendBezierPathWithArcWithCenter(NSPoint center, float /*double*/ radius, float /*double*/ startAngle, float /*double*/ endAngle) { - OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithArcWithCenter_radius_startAngle_endAngle_, center, radius, startAngle, endAngle); -} - -public void appendBezierPathWithArcWithCenter(NSPoint center, float /*double*/ radius, float /*double*/ startAngle, float /*double*/ endAngle, boolean clockwise) { - OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithArcWithCenter_radius_startAngle_endAngle_clockwise_, center, radius, startAngle, endAngle, clockwise); -} - -public void appendBezierPathWithGlyphs(int /*long*/ glyphs, int /*long*/ count, NSFont font) { - OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithGlyphs_count_inFont_, glyphs, count, font != null ? font.id : 0); -} - -public void appendBezierPathWithOvalInRect(NSRect rect) { - OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithOvalInRect_, rect); -} - -public void appendBezierPathWithRect(NSRect rect) { - OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithRect_, rect); -} - -public void appendBezierPathWithRoundedRect(NSRect rect, float /*double*/ xRadius, float /*double*/ yRadius) { - OS.objc_msgSend(this.id, OS.sel_appendBezierPathWithRoundedRect_xRadius_yRadius_, rect, xRadius, yRadius); -} - -public static NSBezierPath bezierPath() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSBezierPath, OS.sel_bezierPath); - return result != 0 ? new NSBezierPath(result) : null; -} - -public NSBezierPath bezierPathByFlatteningPath() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_bezierPathByFlatteningPath); - return result == this.id ? this : (result != 0 ? new NSBezierPath(result) : null); -} - -public static NSBezierPath bezierPathWithRect(NSRect rect) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSBezierPath, OS.sel_bezierPathWithRect_, rect); - return result != 0 ? new NSBezierPath(result) : null; -} - -public NSRect bounds() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_bounds); - return result; -} - -public void closePath() { - OS.objc_msgSend(this.id, OS.sel_closePath); -} - -public boolean containsPoint(NSPoint point) { - return OS.objc_msgSend_bool(this.id, OS.sel_containsPoint_, point); -} - -public NSRect controlPointBounds() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_controlPointBounds); - return result; -} - -public NSPoint currentPoint() { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_currentPoint); - return result; -} - -public void curveToPoint(NSPoint endPoint, NSPoint controlPoint1, NSPoint controlPoint2) { - OS.objc_msgSend(this.id, OS.sel_curveToPoint_controlPoint1_controlPoint2_, endPoint, controlPoint1, controlPoint2); -} - -public static float /*double*/ defaultFlatness() { - return (float)OS.objc_msgSend_fpret(OS.class_NSBezierPath, OS.sel_defaultFlatness); -} - -public int /*long*/ elementAtIndex(int /*long*/ index, int /*long*/ points) { - return OS.objc_msgSend(this.id, OS.sel_elementAtIndex_associatedPoints_, index, points); -} - -public int /*long*/ elementCount() { - return OS.objc_msgSend(this.id, OS.sel_elementCount); -} - -public void fill() { - OS.objc_msgSend(this.id, OS.sel_fill); -} - -public static void fillRect(NSRect rect) { - OS.objc_msgSend(OS.class_NSBezierPath, OS.sel_fillRect_, rect); -} - -public boolean isEmpty() { - return OS.objc_msgSend_bool(this.id, OS.sel_isEmpty); -} - -public void lineToPoint(NSPoint point) { - OS.objc_msgSend(this.id, OS.sel_lineToPoint_, point); -} - -public void moveToPoint(NSPoint point) { - OS.objc_msgSend(this.id, OS.sel_moveToPoint_, point); -} - -public void removeAllPoints() { - OS.objc_msgSend(this.id, OS.sel_removeAllPoints); -} - -public void setClip() { - OS.objc_msgSend(this.id, OS.sel_setClip); -} - -public static void setDefaultFlatness(float /*double*/ flatness) { - OS.objc_msgSend(OS.class_NSBezierPath, OS.sel_setDefaultFlatness_, flatness); -} - -public void setLineCapStyle(int /*long*/ lineCapStyle) { - OS.objc_msgSend(this.id, OS.sel_setLineCapStyle_, lineCapStyle); -} - -public void setLineDash(float[] /*double[]*/ pattern, int /*long*/ count, float /*double*/ phase) { - OS.objc_msgSend(this.id, OS.sel_setLineDash_count_phase_, pattern, count, phase); -} - -public void setLineJoinStyle(int /*long*/ lineJoinStyle) { - OS.objc_msgSend(this.id, OS.sel_setLineJoinStyle_, lineJoinStyle); -} - -public void setLineWidth(float /*double*/ lineWidth) { - OS.objc_msgSend(this.id, OS.sel_setLineWidth_, lineWidth); -} - -public void setMiterLimit(float /*double*/ miterLimit) { - OS.objc_msgSend(this.id, OS.sel_setMiterLimit_, miterLimit); -} - -public void setWindingRule(int /*long*/ windingRule) { - OS.objc_msgSend(this.id, OS.sel_setWindingRule_, windingRule); -} - -public void stroke() { - OS.objc_msgSend(this.id, OS.sel_stroke); -} - -public static void strokeRect(NSRect rect) { - OS.objc_msgSend(OS.class_NSBezierPath, OS.sel_strokeRect_, rect); -} - -public void transformUsingAffineTransform(NSAffineTransform transform) { - OS.objc_msgSend(this.id, OS.sel_transformUsingAffineTransform_, transform != null ? transform.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBitmapImageRep.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBitmapImageRep.java deleted file mode 100644 index 82725ab086..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBitmapImageRep.java +++ /dev/null @@ -1,93 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSBitmapImageRep extends NSImageRep { - -public NSBitmapImageRep() { - super(); -} - -public NSBitmapImageRep(int /*long*/ id) { - super(id); -} - -public NSBitmapImageRep(id id) { - super(id); -} - -public NSData TIFFRepresentation() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_TIFFRepresentation); - return result != 0 ? new NSData(result) : null; -} - -public int /*long*/ bitmapData() { - return OS.objc_msgSend(this.id, OS.sel_bitmapData); -} - -public int /*long*/ bitmapFormat() { - return OS.objc_msgSend(this.id, OS.sel_bitmapFormat); -} - -public int /*long*/ bitsPerPixel() { - return OS.objc_msgSend(this.id, OS.sel_bitsPerPixel); -} - -public int /*long*/ bytesPerPlane() { - return OS.objc_msgSend(this.id, OS.sel_bytesPerPlane); -} - -public int /*long*/ bytesPerRow() { - return OS.objc_msgSend(this.id, OS.sel_bytesPerRow); -} - -public NSColor colorAtX(int /*long*/ x, int /*long*/ y) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_colorAtX_y_, x, y); - return result != 0 ? new NSColor(result) : null; -} - -public void getBitmapDataPlanes(int[] /*long[]*/ data) { - OS.objc_msgSend(this.id, OS.sel_getBitmapDataPlanes_, data); -} - -public static id imageRepWithData(NSData data) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSBitmapImageRep, OS.sel_imageRepWithData_, data != null ? data.id : 0); - return result != 0 ? new id(result) : null; -} - -public NSBitmapImageRep initWithBitmapDataPlanes(int /*long*/ planes, int /*long*/ width, int /*long*/ height, int /*long*/ bps, int /*long*/ spp, boolean alpha, boolean isPlanar, NSString colorSpaceName, int /*long*/ bitmapFormat, int /*long*/ rBytes, int /*long*/ pBits) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel_, planes, width, height, bps, spp, alpha, isPlanar, colorSpaceName != null ? colorSpaceName.id : 0, bitmapFormat, rBytes, pBits); - return result == this.id ? this : (result != 0 ? new NSBitmapImageRep(result) : null); -} - -public NSBitmapImageRep initWithBitmapDataPlanes(int /*long*/ planes, int /*long*/ width, int /*long*/ height, int /*long*/ bps, int /*long*/ spp, boolean alpha, boolean isPlanar, NSString colorSpaceName, int /*long*/ rBytes, int /*long*/ pBits) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel_, planes, width, height, bps, spp, alpha, isPlanar, colorSpaceName != null ? colorSpaceName.id : 0, rBytes, pBits); - return result == this.id ? this : (result != 0 ? new NSBitmapImageRep(result) : null); -} - -public NSBitmapImageRep initWithFocusedViewRect(NSRect rect) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFocusedViewRect_, rect); - return result == this.id ? this : (result != 0 ? new NSBitmapImageRep(result) : null); -} - -public boolean isPlanar() { - return OS.objc_msgSend_bool(this.id, OS.sel_isPlanar); -} - -public int /*long*/ numberOfPlanes() { - return OS.objc_msgSend(this.id, OS.sel_numberOfPlanes); -} - -public int /*long*/ samplesPerPixel() { - return OS.objc_msgSend(this.id, OS.sel_samplesPerPixel); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.java deleted file mode 100644 index 8888454883..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.java +++ /dev/null @@ -1,92 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSBox extends NSView { - -public NSBox() { - super(); -} - -public NSBox(int /*long*/ id) { - super(id); -} - -public NSBox(id id) { - super(id); -} - -public float /*double*/ borderWidth() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_borderWidth); -} - -public NSView contentView() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_contentView); - return result != 0 ? new NSView(result) : null; -} - -public NSSize contentViewMargins() { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_contentViewMargins); - return result; -} - -public void setBorderType(int /*long*/ aType) { - OS.objc_msgSend(this.id, OS.sel_setBorderType_, aType); -} - -public void setBorderWidth(float /*double*/ borderWidth) { - OS.objc_msgSend(this.id, OS.sel_setBorderWidth_, borderWidth); -} - -public void setBoxType(int /*long*/ boxType) { - OS.objc_msgSend(this.id, OS.sel_setBoxType_, boxType); -} - -public void setContentView(NSView aView) { - OS.objc_msgSend(this.id, OS.sel_setContentView_, aView != null ? aView.id : 0); -} - -public void setContentViewMargins(NSSize offsetSize) { - OS.objc_msgSend(this.id, OS.sel_setContentViewMargins_, offsetSize); -} - -public void setFillColor(NSColor fillColor) { - OS.objc_msgSend(this.id, OS.sel_setFillColor_, fillColor != null ? fillColor.id : 0); -} - -public void setTitle(NSString aString) { - OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); -} - -public void setTitleFont(NSFont fontObj) { - OS.objc_msgSend(this.id, OS.sel_setTitleFont_, fontObj != null ? fontObj.id : 0); -} - -public void setTitlePosition(int /*long*/ aPosition) { - OS.objc_msgSend(this.id, OS.sel_setTitlePosition_, aPosition); -} - -public void sizeToFit() { - OS.objc_msgSend(this.id, OS.sel_sizeToFit); -} - -public NSCell titleCell() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_titleCell); - return result != 0 ? new NSCell(result) : null; -} - -public NSFont titleFont() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_titleFont); - return result != 0 ? new NSFont(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBrowserCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBrowserCell.java deleted file mode 100644 index e096e93612..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBrowserCell.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSBrowserCell extends NSCell { - -public NSBrowserCell() { - super(); -} - -public NSBrowserCell(int /*long*/ id) { - super(id); -} - -public NSBrowserCell(id id) { - super(id); -} - -public NSColor highlightColorInView(NSView controlView) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_highlightColorInView_, controlView != null ? controlView.id : 0); - return result != 0 ? new NSColor(result) : null; -} - -public void setLeaf(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setLeaf_, flag); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java deleted file mode 100644 index e65d4c541c..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java +++ /dev/null @@ -1,76 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSBundle extends NSObject { - -public NSBundle() { - super(); -} - -public NSBundle(int /*long*/ id) { - super(id); -} - -public NSBundle(id id) { - super(id); -} - -public static boolean loadNibFile(NSString fileName, NSDictionary context, int /*long*/ zone) { - return OS.objc_msgSend_bool(OS.class_NSBundle, OS.sel_loadNibFile_externalNameTable_withZone_, fileName != null ? fileName.id : 0, context != null ? context.id : 0, zone); -} - -public NSString bundleIdentifier() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_bundleIdentifier); - return result != 0 ? new NSString(result) : null; -} - -public NSString bundlePath() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_bundlePath); - return result != 0 ? new NSString(result) : null; -} - -public static NSBundle bundleWithIdentifier(NSString identifier) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_bundleWithIdentifier_, identifier != null ? identifier.id : 0); - return result != 0 ? new NSBundle(result) : null; -} - -public static NSBundle bundleWithPath(NSString path) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_bundleWithPath_, path != null ? path.id : 0); - return result != 0 ? new NSBundle(result) : null; -} - -public NSDictionary infoDictionary() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_infoDictionary); - return result != 0 ? new NSDictionary(result) : null; -} - -public static NSBundle mainBundle() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_mainBundle); - return result != 0 ? new NSBundle(result) : null; -} - -public id objectForInfoDictionaryKey(NSString key) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectForInfoDictionaryKey_, key != null ? key.id : 0); - return result != 0 ? new id(result) : null; -} - -public NSString pathForResource(NSString name, NSString ext) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_pathForResource_ofType_, name != null ? name.id : 0, ext != null ? ext.id : 0); - return result != 0 ? new NSString(result) : null; -} - -public NSString resourcePath() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_resourcePath); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java deleted file mode 100644 index b26e093a93..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java +++ /dev/null @@ -1,84 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSButton extends NSControl { - -public NSButton() { - super(); -} - -public NSButton(int /*long*/ id) { - super(id); -} - -public NSButton(id id) { - super(id); -} - -public NSAttributedString attributedTitle() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_attributedTitle); - return result != 0 ? new NSAttributedString(result) : null; -} - -public void setAllowsMixedState(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAllowsMixedState_, flag); -} - -public void setAttributedTitle(NSAttributedString aString) { - OS.objc_msgSend(this.id, OS.sel_setAttributedTitle_, aString != null ? aString.id : 0); -} - -public void setBezelStyle(int /*long*/ bezelStyle) { - OS.objc_msgSend(this.id, OS.sel_setBezelStyle_, bezelStyle); -} - -public void setBordered(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setBordered_, flag); -} - -public void setButtonType(int /*long*/ aType) { - OS.objc_msgSend(this.id, OS.sel_setButtonType_, aType); -} - -public void setImage(NSImage image) { - OS.objc_msgSend(this.id, OS.sel_setImage_, image != null ? image.id : 0); -} - -public void setImagePosition(int /*long*/ aPosition) { - OS.objc_msgSend(this.id, OS.sel_setImagePosition_, aPosition); -} - -public void setKeyEquivalent(NSString charCode) { - OS.objc_msgSend(this.id, OS.sel_setKeyEquivalent_, charCode != null ? charCode.id : 0); -} - -public void setState(int /*long*/ value) { - OS.objc_msgSend(this.id, OS.sel_setState_, value); -} - -public void setTitle(NSString aString) { - OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); -} - -public int /*long*/ state() { - return OS.objc_msgSend(this.id, OS.sel_state); -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSButton, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSButton, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButtonCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButtonCell.java deleted file mode 100644 index c1798339ec..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButtonCell.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSButtonCell extends NSActionCell { - -public NSButtonCell() { - super(); -} - -public NSButtonCell(int /*long*/ id) { - super(id); -} - -public NSButtonCell(id id) { - super(id); -} - -public void drawImage(NSImage image, NSRect frame, NSView controlView) { - OS.objc_msgSend(this.id, OS.sel_drawImage_withFrame_inView_, image != null ? image.id : 0, frame, controlView != null ? controlView.id : 0); -} - -public void setBackgroundColor(NSColor color) { - OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); -} - -public void setButtonType(int /*long*/ aType) { - OS.objc_msgSend(this.id, OS.sel_setButtonType_, aType); -} - -public void setImagePosition(int /*long*/ aPosition) { - OS.objc_msgSend(this.id, OS.sel_setImagePosition_, aPosition); -} - -public NSString title() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_title); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCalendarDate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCalendarDate.java deleted file mode 100644 index 3705512bcd..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCalendarDate.java +++ /dev/null @@ -1,76 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSCalendarDate extends NSDate { - -public NSCalendarDate() { - super(); -} - -public NSCalendarDate(int /*long*/ id) { - super(id); -} - -public NSCalendarDate(id id) { - super(id); -} - -public static NSCalendarDate calendarDate() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCalendarDate, OS.sel_calendarDate); - return result != 0 ? new NSCalendarDate(result) : null; -} - -public static NSCalendarDate dateWithYear(int /*long*/ year, int /*long*/ month, int /*long*/ day, int /*long*/ hour, int /*long*/ minute, int /*long*/ second, NSTimeZone aTimeZone) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCalendarDate, OS.sel_dateWithYear_month_day_hour_minute_second_timeZone_, year, month, day, hour, minute, second, aTimeZone != null ? aTimeZone.id : 0); - return result != 0 ? new NSCalendarDate(result) : null; -} - -public int /*long*/ dayOfMonth() { - return OS.objc_msgSend(this.id, OS.sel_dayOfMonth); -} - -public int /*long*/ hourOfDay() { - return OS.objc_msgSend(this.id, OS.sel_hourOfDay); -} - -public int /*long*/ minuteOfHour() { - return OS.objc_msgSend(this.id, OS.sel_minuteOfHour); -} - -public int /*long*/ monthOfYear() { - return OS.objc_msgSend(this.id, OS.sel_monthOfYear); -} - -public int /*long*/ secondOfMinute() { - return OS.objc_msgSend(this.id, OS.sel_secondOfMinute); -} - -public NSTimeZone timeZone() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_timeZone); - return result != 0 ? new NSTimeZone(result) : null; -} - -public int /*long*/ yearOfCommonEra() { - return OS.objc_msgSend(this.id, OS.sel_yearOfCommonEra); -} - -public static NSDate dateWithTimeIntervalSinceNow(double secs) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCalendarDate, OS.sel_dateWithTimeIntervalSinceNow_, secs); - return result != 0 ? new NSCalendarDate(result) : null; -} - -public static NSDate distantFuture() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCalendarDate, OS.sel_distantFuture); - return result != 0 ? new NSCalendarDate(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCell.java deleted file mode 100644 index 231448a14f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCell.java +++ /dev/null @@ -1,172 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSCell extends NSObject { - -public NSCell() { - super(); -} - -public NSCell(int /*long*/ id) { - super(id); -} - -public NSCell(id id) { - super(id); -} - -public NSAttributedString attributedStringValue() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_attributedStringValue); - return result != 0 ? new NSAttributedString(result) : null; -} - -public NSSize cellSize() { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_cellSize); - return result; -} - -public NSSize cellSizeForBounds(NSRect aRect) { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_cellSizeForBounds_, aRect); - return result; -} - -public void drawInteriorWithFrame(NSRect cellFrame, NSView controlView) { - OS.objc_msgSend(this.id, OS.sel_drawInteriorWithFrame_inView_, cellFrame, controlView != null ? controlView.id : 0); -} - -public void drawWithExpansionFrame(NSRect cellFrame, NSView view) { - OS.objc_msgSend(this.id, OS.sel_drawWithExpansionFrame_inView_, cellFrame, view != null ? view.id : 0); -} - -public NSRect drawingRectForBounds(NSRect theRect) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_drawingRectForBounds_, theRect); - return result; -} - -public NSRect expansionFrameWithFrame(NSRect cellFrame, NSView view) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_expansionFrameWithFrame_inView_, cellFrame, view != null ? view.id : 0); - return result; -} - -public NSFont font() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_font); - return result != 0 ? new NSFont(result) : null; -} - -public NSColor highlightColorWithFrame(NSRect cellFrame, NSView controlView) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_highlightColorWithFrame_inView_, cellFrame, controlView != null ? controlView.id : 0); - return result != 0 ? new NSColor(result) : null; -} - -public int /*long*/ hitTestForEvent(NSEvent event, NSRect cellFrame, NSView controlView) { - return OS.objc_msgSend(this.id, OS.sel_hitTestForEvent_inRect_ofView_, event != null ? event.id : 0, cellFrame, controlView != null ? controlView.id : 0); -} - -public NSImage image() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_image); - return result != 0 ? new NSImage(result) : null; -} - -public NSRect imageRectForBounds(NSRect theRect) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_imageRectForBounds_, theRect); - return result; -} - -public boolean isEnabled() { - return OS.objc_msgSend_bool(this.id, OS.sel_isEnabled); -} - -public boolean isHighlighted() { - return OS.objc_msgSend_bool(this.id, OS.sel_isHighlighted); -} - -public int /*long*/ nextState() { - return OS.objc_msgSend(this.id, OS.sel_nextState); -} - -public void setAlignment(int /*long*/ mode) { - OS.objc_msgSend(this.id, OS.sel_setAlignment_, mode); -} - -public void setAllowsMixedState(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAllowsMixedState_, flag); -} - -public void setAttributedStringValue(NSAttributedString obj) { - OS.objc_msgSend(this.id, OS.sel_setAttributedStringValue_, obj != null ? obj.id : 0); -} - -public void setControlSize(int /*long*/ size) { - OS.objc_msgSend(this.id, OS.sel_setControlSize_, size); -} - -public void setEnabled(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setEnabled_, flag); -} - -public void setFont(NSFont fontObj) { - OS.objc_msgSend(this.id, OS.sel_setFont_, fontObj != null ? fontObj.id : 0); -} - -public void setFormatter(NSFormatter newFormatter) { - OS.objc_msgSend(this.id, OS.sel_setFormatter_, newFormatter != null ? newFormatter.id : 0); -} - -public void setHighlighted(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setHighlighted_, flag); -} - -public void setImage(NSImage image) { - OS.objc_msgSend(this.id, OS.sel_setImage_, image != null ? image.id : 0); -} - -public void setLineBreakMode(int /*long*/ mode) { - OS.objc_msgSend(this.id, OS.sel_setLineBreakMode_, mode); -} - -public void setObjectValue(id obj) { - OS.objc_msgSend(this.id, OS.sel_setObjectValue_, obj != null ? obj.id : 0); -} - -public void setScrollable(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setScrollable_, flag); -} - -public void setTitle(NSString aString) { - OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); -} - -public void setWraps(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setWraps_, flag); -} - -public NSString title() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_title); - return result != 0 ? new NSString(result) : null; -} - -public NSRect titleRectForBounds(NSRect theRect) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_titleRectForBounds_, theRect); - return result; -} - -public boolean wraps() { - return OS.objc_msgSend_bool(this.id, OS.sel_wraps); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCharacterSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCharacterSet.java deleted file mode 100644 index 7d30d26535..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCharacterSet.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSCharacterSet extends NSObject { - -public NSCharacterSet() { - super(); -} - -public NSCharacterSet(int /*long*/ id) { - super(id); -} - -public NSCharacterSet(id id) { - super(id); -} - -public boolean characterIsMember(short aCharacter) { - return OS.objc_msgSend_bool(this.id, OS.sel_characterIsMember_, aCharacter); -} - -public static id decimalDigitCharacterSet() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCharacterSet, OS.sel_decimalDigitCharacterSet); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSClipView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSClipView.java deleted file mode 100644 index 25cb35db9b..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSClipView.java +++ /dev/null @@ -1,52 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSClipView extends NSView { - -public NSClipView() { - super(); -} - -public NSClipView(int /*long*/ id) { - super(id); -} - -public NSClipView(id id) { - super(id); -} - -public boolean copiesOnScroll() { - return OS.objc_msgSend_bool(this.id, OS.sel_copiesOnScroll); -} - -public NSCursor documentCursor() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_documentCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public void scrollToPoint(NSPoint newOrigin) { - OS.objc_msgSend(this.id, OS.sel_scrollToPoint_, newOrigin); -} - -public void setCopiesOnScroll(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setCopiesOnScroll_, flag); -} - -public void setDocumentCursor(NSCursor anObj) { - OS.objc_msgSend(this.id, OS.sel_setDocumentCursor_, anObj != null ? anObj.id : 0); -} - -public void setDrawsBackground(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setDrawsBackground_, flag); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCoder.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCoder.java deleted file mode 100644 index 2ea8804207..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCoder.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSCoder extends NSObject { - -public NSCoder() { - super(); -} - -public NSCoder(int /*long*/ id) { - super(id); -} - -public NSCoder(id id) { - super(id); -} - -public int systemVersion() { - return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_systemVersion); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColor.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColor.java deleted file mode 100644 index 1e59ab92fd..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColor.java +++ /dev/null @@ -1,188 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSColor extends NSObject { - -public NSColor() { - super(); -} - -public NSColor(int /*long*/ id) { - super(id); -} - -public NSColor(id id) { - super(id); -} - -public float /*double*/ alphaComponent() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_alphaComponent); -} - -public static NSColor alternateSelectedControlColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_alternateSelectedControlColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor alternateSelectedControlTextColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_alternateSelectedControlTextColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor blackColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_blackColor); - return result != 0 ? new NSColor(result) : null; -} - -public float /*double*/ blueComponent() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_blueComponent); -} - -public static NSColor clearColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_clearColor); - return result != 0 ? new NSColor(result) : null; -} - -public NSColor colorUsingColorSpace(NSColorSpace space) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_colorUsingColorSpace_, space != null ? space.id : 0); - return result == this.id ? this : (result != 0 ? new NSColor(result) : null); -} - -public NSColor colorUsingColorSpaceName(NSString colorSpace) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_colorUsingColorSpaceName_, colorSpace != null ? colorSpace.id : 0); - return result == this.id ? this : (result != 0 ? new NSColor(result) : null); -} - -public static NSColor colorWithDeviceRed(float /*double*/ red, float /*double*/ green, float /*double*/ blue, float /*double*/ alpha) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_colorWithDeviceRed_green_blue_alpha_, red, green, blue, alpha); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor colorWithPatternImage(NSImage image) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_colorWithPatternImage_, image != null ? image.id : 0); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor controlBackgroundColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlBackgroundColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor controlDarkShadowColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlDarkShadowColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor controlHighlightColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlHighlightColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor controlLightHighlightColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlLightHighlightColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor controlShadowColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlShadowColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor controlTextColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_controlTextColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor disabledControlTextColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_disabledControlTextColor); - return result != 0 ? new NSColor(result) : null; -} - -public void getComponents(float[] /*double[]*/ components) { - OS.objc_msgSend(this.id, OS.sel_getComponents_, components); -} - -public float /*double*/ greenComponent() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_greenComponent); -} - -public int /*long*/ numberOfComponents() { - return OS.objc_msgSend(this.id, OS.sel_numberOfComponents); -} - -public float /*double*/ redComponent() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_redComponent); -} - -public static NSColor secondarySelectedControlColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_secondarySelectedControlColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor selectedControlColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_selectedControlColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor selectedControlTextColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_selectedControlTextColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor selectedTextBackgroundColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_selectedTextBackgroundColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor selectedTextColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_selectedTextColor); - return result != 0 ? new NSColor(result) : null; -} - -public void set() { - OS.objc_msgSend(this.id, OS.sel_set); -} - -public void setFill() { - OS.objc_msgSend(this.id, OS.sel_setFill); -} - -public void setStroke() { - OS.objc_msgSend(this.id, OS.sel_setStroke); -} - -public static NSColor textBackgroundColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_textBackgroundColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor textColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_textColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor windowBackgroundColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_windowBackgroundColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor windowFrameColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_windowFrameColor); - return result != 0 ? new NSColor(result) : null; -} - -public static NSColor windowFrameTextColor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColor, OS.sel_windowFrameTextColor); - return result != 0 ? new NSColor(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorPanel.java deleted file mode 100644 index f179cf4b34..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorPanel.java +++ /dev/null @@ -1,45 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSColorPanel extends NSPanel { - -public NSColorPanel() { - super(); -} - -public NSColorPanel(int /*long*/ id) { - super(id); -} - -public NSColorPanel(id id) { - super(id); -} - -public NSColor color() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_color); - return result != 0 ? new NSColor(result) : null; -} - -public void setColor(NSColor color) { - OS.objc_msgSend(this.id, OS.sel_setColor_, color != null ? color.id : 0); -} - -public static NSColorPanel sharedColorPanel() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColorPanel, OS.sel_sharedColorPanel); - return result != 0 ? new NSColorPanel(result) : null; -} - -public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { - return (float)OS.objc_msgSend_fpret(OS.class_NSColorPanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorSpace.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorSpace.java deleted file mode 100644 index 804817965d..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorSpace.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSColorSpace extends NSObject { - -public NSColorSpace() { - super(); -} - -public NSColorSpace(int /*long*/ id) { - super(id); -} - -public NSColorSpace(id id) { - super(id); -} - -public static NSColorSpace deviceRGBColorSpace() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSColorSpace, OS.sel_deviceRGBColorSpace); - return result != 0 ? new NSColorSpace(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBox.java deleted file mode 100644 index a0319aaa07..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBox.java +++ /dev/null @@ -1,80 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSComboBox extends NSTextField { - -public NSComboBox() { - super(); -} - -public NSComboBox(int /*long*/ id) { - super(id); -} - -public NSComboBox(id id) { - super(id); -} - -public void addItemWithObjectValue(id object) { - OS.objc_msgSend(this.id, OS.sel_addItemWithObjectValue_, object != null ? object.id : 0); -} - -public void deselectItemAtIndex(int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_deselectItemAtIndex_, index); -} - -public int /*long*/ indexOfSelectedItem() { - return OS.objc_msgSend(this.id, OS.sel_indexOfSelectedItem); -} - -public void insertItemWithObjectValue(id object, int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_insertItemWithObjectValue_atIndex_, object != null ? object.id : 0, index); -} - -public id itemObjectValueAtIndex(int /*long*/ index) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemObjectValueAtIndex_, index); - return result != 0 ? new id(result) : null; -} - -public int /*long*/ numberOfItems() { - return OS.objc_msgSend(this.id, OS.sel_numberOfItems); -} - -public int /*long*/ numberOfVisibleItems() { - return OS.objc_msgSend(this.id, OS.sel_numberOfVisibleItems); -} - -public void removeAllItems() { - OS.objc_msgSend(this.id, OS.sel_removeAllItems); -} - -public void removeItemAtIndex(int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_removeItemAtIndex_, index); -} - -public void selectItemAtIndex(int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_selectItemAtIndex_, index); -} - -public void setNumberOfVisibleItems(int /*long*/ visibleItems) { - OS.objc_msgSend(this.id, OS.sel_setNumberOfVisibleItems_, visibleItems); -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSComboBox, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSComboBox, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBoxCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBoxCell.java deleted file mode 100644 index cb8b2ea8d1..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSComboBoxCell.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSComboBoxCell extends NSTextFieldCell { - -public NSComboBoxCell() { - super(); -} - -public NSComboBoxCell(int /*long*/ id) { - super(id); -} - -public NSComboBoxCell(id id) { - super(id); -} - -public NSArray objectValues() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectValues); - return result != 0 ? new NSArray(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSControl.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSControl.java deleted file mode 100644 index 5807b0858f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSControl.java +++ /dev/null @@ -1,120 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSControl extends NSView { - -public NSControl() { - super(); -} - -public NSControl(int /*long*/ id) { - super(id); -} - -public NSControl(id id) { - super(id); -} - -public boolean abortEditing() { - return OS.objc_msgSend_bool(this.id, OS.sel_abortEditing); -} - -public int /*long*/ action() { - return OS.objc_msgSend(this.id, OS.sel_action); -} - -public NSCell cell() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_cell); - return result != 0 ? new NSCell(result) : null; -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSControl, OS.sel_cellClass); -} - -public NSText currentEditor() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_currentEditor); - return result != 0 ? new NSText(result) : null; -} - -public double doubleValue() { - return OS.objc_msgSend_fpret(this.id, OS.sel_doubleValue); -} - -public NSFont font() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_font); - return result != 0 ? new NSFont(result) : null; -} - -public boolean isEnabled() { - return OS.objc_msgSend_bool(this.id, OS.sel_isEnabled); -} - -public boolean sendAction(int /*long*/ theAction, id theTarget) { - return OS.objc_msgSend_bool(this.id, OS.sel_sendAction_to_, theAction, theTarget != null ? theTarget.id : 0); -} - -public void setAction(int /*long*/ aSelector) { - OS.objc_msgSend(this.id, OS.sel_setAction_, aSelector); -} - -public void setAlignment(int /*long*/ mode) { - OS.objc_msgSend(this.id, OS.sel_setAlignment_, mode); -} - -public void setCell(NSCell aCell) { - OS.objc_msgSend(this.id, OS.sel_setCell_, aCell != null ? aCell.id : 0); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSControl, OS.sel_setCellClass_, factoryId); -} - -public void setDoubleValue(double aDouble) { - OS.objc_msgSend(this.id, OS.sel_setDoubleValue_, aDouble); -} - -public void setEnabled(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setEnabled_, flag); -} - -public void setFont(NSFont fontObj) { - OS.objc_msgSend(this.id, OS.sel_setFont_, fontObj != null ? fontObj.id : 0); -} - -public void setFormatter(NSFormatter newFormatter) { - OS.objc_msgSend(this.id, OS.sel_setFormatter_, newFormatter != null ? newFormatter.id : 0); -} - -public void setStringValue(NSString aString) { - OS.objc_msgSend(this.id, OS.sel_setStringValue_, aString != null ? aString.id : 0); -} - -public void setTarget(id anObject) { - OS.objc_msgSend(this.id, OS.sel_setTarget_, anObject != null ? anObject.id : 0); -} - -public void sizeToFit() { - OS.objc_msgSend(this.id, OS.sel_sizeToFit); -} - -public NSString stringValue() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringValue); - return result != 0 ? new NSString(result) : null; -} - -public id target() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_target); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java deleted file mode 100644 index 8dad7fa24b..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java +++ /dev/null @@ -1,107 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSCursor extends NSObject { - -public NSCursor() { - super(); -} - -public NSCursor(int /*long*/ id) { - super(id); -} - -public NSCursor(id id) { - super(id); -} - -public static NSCursor IBeamCursor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_IBeamCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public static NSCursor arrowCursor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_arrowCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public static NSCursor crosshairCursor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_crosshairCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public static NSCursor currentCursor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_currentCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public NSCursor initWithImage(NSImage newImage, NSPoint aPoint) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithImage_hotSpot_, newImage != null ? newImage.id : 0, aPoint); - return result == this.id ? this : (result != 0 ? new NSCursor(result) : null); -} - -public static NSCursor pointingHandCursor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_pointingHandCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public static void pop() { - OS.objc_msgSend(OS.class_NSCursor, OS.sel_pop); -} - -public void push() { - OS.objc_msgSend(this.id, OS.sel_push); -} - -public static NSCursor resizeDownCursor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeDownCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public static NSCursor resizeLeftCursor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeLeftCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public static NSCursor resizeLeftRightCursor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeLeftRightCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public static NSCursor resizeRightCursor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeRightCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public static NSCursor resizeUpCursor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeUpCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public static NSCursor resizeUpDownCursor() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSCursor, OS.sel_resizeUpDownCursor); - return result != 0 ? new NSCursor(result) : null; -} - -public void set() { - OS.objc_msgSend(this.id, OS.sel_set); -} - -public static void setHiddenUntilMouseMoves(boolean flag) { - OS.objc_msgSend(OS.class_NSCursor, OS.sel_setHiddenUntilMouseMoves_, flag); -} - -public void setOnMouseEntered(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setOnMouseEntered_, flag); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSData.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSData.java deleted file mode 100644 index 70d62a8bc4..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSData.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSData extends NSObject { - -public NSData() { - super(); -} - -public NSData(int /*long*/ id) { - super(id); -} - -public NSData(id id) { - super(id); -} - -public int /*long*/ bytes() { - return OS.objc_msgSend(this.id, OS.sel_bytes); -} - -public static NSData dataWithBytes(byte[] bytes, int /*long*/ length) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSData, OS.sel_dataWithBytes_length_, bytes, length); - return result != 0 ? new NSData(result) : null; -} - -public void getBytes(byte[] buffer) { - OS.objc_msgSend(this.id, OS.sel_getBytes_, buffer); -} - -public void getBytes(int /*long*/ buffer, int /*long*/ length) { - OS.objc_msgSend(this.id, OS.sel_getBytes_length_, buffer, length); -} - -public int /*long*/ length() { - return OS.objc_msgSend(this.id, OS.sel_length); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDate.java deleted file mode 100644 index f864e5c8e9..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDate.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSDate extends NSObject { - -public NSDate() { - super(); -} - -public NSDate(int /*long*/ id) { - super(id); -} - -public NSDate(id id) { - super(id); -} - -public NSCalendarDate dateWithCalendarFormat(NSString format, NSTimeZone aTimeZone) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dateWithCalendarFormat_timeZone_, format != null ? format.id : 0, aTimeZone != null ? aTimeZone.id : 0); - return result != 0 ? new NSCalendarDate(result) : null; -} - -public static NSDate dateWithTimeIntervalSinceNow(double secs) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSDate, OS.sel_dateWithTimeIntervalSinceNow_, secs); - return result != 0 ? new NSDate(result) : null; -} - -public static NSDate distantFuture() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSDate, OS.sel_distantFuture); - return result != 0 ? new NSDate(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDatePicker.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDatePicker.java deleted file mode 100644 index e64ffb4c52..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDatePicker.java +++ /dev/null @@ -1,64 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSDatePicker extends NSControl { - -public NSDatePicker() { - super(); -} - -public NSDatePicker(int /*long*/ id) { - super(id); -} - -public NSDatePicker(id id) { - super(id); -} - -public NSDate dateValue() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dateValue); - return result != 0 ? new NSDate(result) : null; -} - -public void setBackgroundColor(NSColor color) { - OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); -} - -public void setDatePickerElements(int /*long*/ elementFlags) { - OS.objc_msgSend(this.id, OS.sel_setDatePickerElements_, elementFlags); -} - -public void setDatePickerStyle(int /*long*/ newStyle) { - OS.objc_msgSend(this.id, OS.sel_setDatePickerStyle_, newStyle); -} - -public void setDateValue(NSDate newStartDate) { - OS.objc_msgSend(this.id, OS.sel_setDateValue_, newStartDate != null ? newStartDate.id : 0); -} - -public void setDrawsBackground(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setDrawsBackground_, flag); -} - -public void setTextColor(NSColor color) { - OS.objc_msgSend(this.id, OS.sel_setTextColor_, color != null ? color.id : 0); -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSDatePicker, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSDatePicker, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDictionary.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDictionary.java deleted file mode 100644 index 472e7a425d..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDictionary.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSDictionary extends NSObject { - -public NSDictionary() { - super(); -} - -public NSDictionary(int /*long*/ id) { - super(id); -} - -public NSDictionary(id id) { - super(id); -} - -public NSArray allKeys() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_allKeys); - return result != 0 ? new NSArray(result) : null; -} - -public int /*long*/ count() { - return OS.objc_msgSend(this.id, OS.sel_count); -} - -public static NSDictionary dictionaryWithObject(id object, id key) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSDictionary, OS.sel_dictionaryWithObject_forKey_, object != null ? object.id : 0, key != null ? key.id : 0); - return result != 0 ? new NSDictionary(result) : null; -} - -public NSEnumerator objectEnumerator() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectEnumerator); - return result != 0 ? new NSEnumerator(result) : null; -} - -public id objectForKey(id aKey) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectForKey_, aKey != null ? aKey.id : 0); - return result != 0 ? new id(result) : null; -} - -public id valueForKey(NSString key) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_valueForKey_, key != null ? key.id : 0); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDirectoryEnumerator.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDirectoryEnumerator.java deleted file mode 100644 index 29605cca2f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSDirectoryEnumerator.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSDirectoryEnumerator extends NSEnumerator { - -public NSDirectoryEnumerator() { - super(); -} - -public NSDirectoryEnumerator(int /*long*/ id) { - super(id); -} - -public NSDirectoryEnumerator(id id) { - super(id); -} - -public void skipDescendents() { - OS.objc_msgSend(this.id, OS.sel_skipDescendents); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEnumerator.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEnumerator.java deleted file mode 100644 index 518631b5d2..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEnumerator.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSEnumerator extends NSObject { - -public NSEnumerator() { - super(); -} - -public NSEnumerator(int /*long*/ id) { - super(id); -} - -public NSEnumerator(id id) { - super(id); -} - -public id nextObject() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_nextObject); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java deleted file mode 100644 index 5799811802..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSError.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSError extends NSObject { - -public NSError() { - super(); -} - -public NSError(int /*long*/ id) { - super(id); -} - -public NSError(id id) { - super(id); -} - -public int /*long*/ code() { - return OS.objc_msgSend(this.id, OS.sel_code); -} - -public NSString localizedDescription() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_localizedDescription); - return result != 0 ? new NSString(result) : null; -} - -public NSDictionary userInfo() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_userInfo); - return result != 0 ? new NSDictionary(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEvent.java deleted file mode 100644 index 87921bd505..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSEvent.java +++ /dev/null @@ -1,100 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSEvent extends NSObject { - -public NSEvent() { - super(); -} - -public NSEvent(int /*long*/ id) { - super(id); -} - -public NSEvent(id id) { - super(id); -} - -public int /*long*/ CGEvent() { - return OS.objc_msgSend(this.id, OS.sel_CGEvent); -} - -public int /*long*/ buttonNumber() { - return OS.objc_msgSend(this.id, OS.sel_buttonNumber); -} - -public NSString characters() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_characters); - return result != 0 ? new NSString(result) : null; -} - -public NSString charactersIgnoringModifiers() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_charactersIgnoringModifiers); - return result != 0 ? new NSString(result) : null; -} - -public int /*long*/ clickCount() { - return OS.objc_msgSend(this.id, OS.sel_clickCount); -} - -public float /*double*/ deltaX() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_deltaX); -} - -public float /*double*/ deltaY() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_deltaY); -} - -public static NSEvent enterExitEventWithType(int /*long*/ type, NSPoint location, int /*long*/ flags, double time, int /*long*/ wNum, NSGraphicsContext context, int /*long*/ eNum, int /*long*/ tNum, int /*long*/ data) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSEvent, OS.sel_enterExitEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_trackingNumber_userData_, type, location, flags, time, wNum, context != null ? context.id : 0, eNum, tNum, data); - return result != 0 ? new NSEvent(result) : null; -} - -public short keyCode() { - return (short)OS.objc_msgSend(this.id, OS.sel_keyCode); -} - -public NSPoint locationInWindow() { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_locationInWindow); - return result; -} - -public int /*long*/ modifierFlags() { - return OS.objc_msgSend(this.id, OS.sel_modifierFlags); -} - -public static NSPoint mouseLocation() { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, OS.class_NSEvent, OS.sel_mouseLocation); - return result; -} - -public static NSEvent otherEventWithType(int /*long*/ type, NSPoint location, int /*long*/ flags, double time, int /*long*/ wNum, NSGraphicsContext context, short subtype, int /*long*/ d1, int /*long*/ d2) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSEvent, OS.sel_otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2_, type, location, flags, time, wNum, context != null ? context.id : 0, subtype, d1, d2); - return result != 0 ? new NSEvent(result) : null; -} - -public double timestamp() { - return OS.objc_msgSend_fpret(this.id, OS.sel_timestamp); -} - -public int /*long*/ type() { - return OS.objc_msgSend(this.id, OS.sel_type); -} - -public NSWindow window() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_window); - return result != 0 ? new NSWindow(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileManager.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileManager.java deleted file mode 100644 index 7800921b59..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileManager.java +++ /dev/null @@ -1,49 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSFileManager extends NSObject { - -public NSFileManager() { - super(); -} - -public NSFileManager(int /*long*/ id) { - super(id); -} - -public NSFileManager(id id) { - super(id); -} - -public boolean createFileAtPath(NSString path, NSData data, NSDictionary attr) { - return OS.objc_msgSend_bool(this.id, OS.sel_createFileAtPath_contents_attributes_, path != null ? path.id : 0, data != null ? data.id : 0, attr != null ? attr.id : 0); -} - -public static NSFileManager defaultManager() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSFileManager, OS.sel_defaultManager); - return result != 0 ? new NSFileManager(result) : null; -} - -public NSDirectoryEnumerator enumeratorAtPath(NSString path) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_enumeratorAtPath_, path != null ? path.id : 0); - return result != 0 ? new NSDirectoryEnumerator(result) : null; -} - -public boolean fileExistsAtPath(NSString path, int /*long*/ isDirectory) { - return OS.objc_msgSend_bool(this.id, OS.sel_fileExistsAtPath_isDirectory_, path != null ? path.id : 0, isDirectory); -} - -public boolean removeItemAtPath(NSString path, int /*long*/ error) { - return OS.objc_msgSend_bool(this.id, OS.sel_removeItemAtPath_error_, path != null ? path.id : 0, error); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileWrapper.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileWrapper.java deleted file mode 100644 index c5971cb3ff..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileWrapper.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSFileWrapper extends NSObject { - -public NSFileWrapper() { - super(); -} - -public NSFileWrapper(int /*long*/ id) { - super(id); -} - -public NSFileWrapper(id id) { - super(id); -} - -public void setIcon(NSImage icon) { - OS.objc_msgSend(this.id, OS.sel_setIcon_, icon != null ? icon.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFont.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFont.java deleted file mode 100644 index 1b265d96f1..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFont.java +++ /dev/null @@ -1,80 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSFont extends NSObject { - -public NSFont() { - super(); -} - -public NSFont(int /*long*/ id) { - super(id); -} - -public NSFont(id id) { - super(id); -} - -public float /*double*/ ascender() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_ascender); -} - -public static NSFont controlContentFontOfSize(float /*double*/ fontSize) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSFont, OS.sel_controlContentFontOfSize_, fontSize); - return result != 0 ? new NSFont(result) : null; -} - -public float /*double*/ descender() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_descender); -} - -public NSString familyName() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_familyName); - return result != 0 ? new NSString(result) : null; -} - -public NSString fontName() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_fontName); - return result != 0 ? new NSString(result) : null; -} - -public static NSFont fontWithName(NSString fontName, float /*double*/ fontSize) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSFont, OS.sel_fontWithName_size_, fontName != null ? fontName.id : 0, fontSize); - return result != 0 ? new NSFont(result) : null; -} - -public float /*double*/ leading() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_leading); -} - -public float /*double*/ pointSize() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_pointSize); -} - -public static float /*double*/ smallSystemFontSize() { - return (float)OS.objc_msgSend_fpret(OS.class_NSFont, OS.sel_smallSystemFontSize); -} - -public static NSFont systemFontOfSize(float /*double*/ fontSize) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSFont, OS.sel_systemFontOfSize_, fontSize); - return result != 0 ? new NSFont(result) : null; -} - -public static float /*double*/ systemFontSize() { - return (float)OS.objc_msgSend_fpret(OS.class_NSFont, OS.sel_systemFontSize); -} - -public static float /*double*/ systemFontSizeForControlSize(int /*long*/ controlSize) { - return (float)OS.objc_msgSend_fpret(OS.class_NSFont, OS.sel_systemFontSizeForControlSize_, controlSize); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontManager.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontManager.java deleted file mode 100644 index 0051f13796..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontManager.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSFontManager extends NSObject { - -public NSFontManager() { - super(); -} - -public NSFontManager(int /*long*/ id) { - super(id); -} - -public NSFontManager(id id) { - super(id); -} - -public NSArray availableFontFamilies() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_availableFontFamilies); - return result != 0 ? new NSArray(result) : null; -} - -public NSArray availableFonts() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_availableFonts); - return result != 0 ? new NSArray(result) : null; -} - -public NSArray availableMembersOfFontFamily(NSString fam) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_availableMembersOfFontFamily_, fam != null ? fam.id : 0); - return result != 0 ? new NSArray(result) : null; -} - -public NSFont convertFont(NSFont fontObj, int /*long*/ trait) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_convertFont_toHaveTrait_, fontObj != null ? fontObj.id : 0, trait); - return result != 0 ? new NSFont(result) : null; -} - -public NSFont fontWithFamily(NSString family, int /*long*/ traits, int /*long*/ weight, float /*double*/ size) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_fontWithFamily_traits_weight_size_, family != null ? family.id : 0, traits, weight, size); - return result != 0 ? new NSFont(result) : null; -} - -public static NSFontManager sharedFontManager() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSFontManager, OS.sel_sharedFontManager); - return result != 0 ? new NSFontManager(result) : null; -} - -public int /*long*/ traitsOfFont(NSFont fontObj) { - return OS.objc_msgSend(this.id, OS.sel_traitsOfFont_, fontObj != null ? fontObj.id : 0); -} - -public int /*long*/ weightOfFont(NSFont fontObj) { - return OS.objc_msgSend(this.id, OS.sel_weightOfFont_, fontObj != null ? fontObj.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontPanel.java deleted file mode 100644 index f96c059cd1..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFontPanel.java +++ /dev/null @@ -1,45 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSFontPanel extends NSPanel { - -public NSFontPanel() { - super(); -} - -public NSFontPanel(int /*long*/ id) { - super(id); -} - -public NSFontPanel(id id) { - super(id); -} - -public NSFont panelConvertFont(NSFont fontObj) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_panelConvertFont_, fontObj != null ? fontObj.id : 0); - return result != 0 ? new NSFont(result) : null; -} - -public void setPanelFont(NSFont fontObj, boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setPanelFont_isMultiple_, fontObj != null ? fontObj.id : 0, flag); -} - -public static NSFontPanel sharedFontPanel() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSFontPanel, OS.sel_sharedFontPanel); - return result != 0 ? new NSFontPanel(result) : null; -} - -public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { - return (float)OS.objc_msgSend_fpret(OS.class_NSFontPanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFormatter.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFormatter.java deleted file mode 100644 index 92ee13e50a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFormatter.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSFormatter extends NSObject { - -public NSFormatter() { - super(); -} - -public NSFormatter(int /*long*/ id) { - super(id); -} - -public NSFormatter(id id) { - super(id); -} - -public NSString stringForObjectValue(id obj) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringForObjectValue_, obj != null ? obj.id : 0); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGradient.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGradient.java deleted file mode 100644 index f489131a52..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGradient.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSGradient extends NSObject { - -public NSGradient() { - super(); -} - -public NSGradient(int /*long*/ id) { - super(id); -} - -public NSGradient(id id) { - super(id); -} - -public void drawFromPoint(NSPoint startingPoint, NSPoint endingPoint, int /*long*/ options) { - OS.objc_msgSend(this.id, OS.sel_drawFromPoint_toPoint_options_, startingPoint, endingPoint, options); -} - -public void drawInRect(NSRect rect, float /*double*/ angle) { - OS.objc_msgSend(this.id, OS.sel_drawInRect_angle_, rect, angle); -} - -public NSGradient initWithStartingColor(NSColor startingColor, NSColor endingColor) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithStartingColor_endingColor_, startingColor != null ? startingColor.id : 0, endingColor != null ? endingColor.id : 0); - return result == this.id ? this : (result != 0 ? new NSGradient(result) : null); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGraphicsContext.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGraphicsContext.java deleted file mode 100644 index 30b9c466bc..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGraphicsContext.java +++ /dev/null @@ -1,103 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSGraphicsContext extends NSObject { - -public NSGraphicsContext() { - super(); -} - -public NSGraphicsContext(int /*long*/ id) { - super(id); -} - -public NSGraphicsContext(id id) { - super(id); -} - -public static NSGraphicsContext currentContext() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_currentContext); - return result != 0 ? new NSGraphicsContext(result) : null; -} - -public void flushGraphics() { - OS.objc_msgSend(this.id, OS.sel_flushGraphics); -} - -public static NSGraphicsContext graphicsContextWithBitmapImageRep(NSBitmapImageRep bitmapRep) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_graphicsContextWithBitmapImageRep_, bitmapRep != null ? bitmapRep.id : 0); - return result != 0 ? new NSGraphicsContext(result) : null; -} - -public static NSGraphicsContext graphicsContextWithGraphicsPort(int /*long*/ graphicsPort, boolean initialFlippedState) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_graphicsContextWithGraphicsPort_flipped_, graphicsPort, initialFlippedState); - return result != 0 ? new NSGraphicsContext(result) : null; -} - -public static NSGraphicsContext graphicsContextWithWindow(NSWindow window) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_graphicsContextWithWindow_, window != null ? window.id : 0); - return result != 0 ? new NSGraphicsContext(result) : null; -} - -public int /*long*/ graphicsPort() { - return OS.objc_msgSend(this.id, OS.sel_graphicsPort); -} - -public int /*long*/ imageInterpolation() { - return OS.objc_msgSend(this.id, OS.sel_imageInterpolation); -} - -public boolean isDrawingToScreen() { - return OS.objc_msgSend_bool(this.id, OS.sel_isDrawingToScreen); -} - -public void restoreGraphicsState() { - OS.objc_msgSend(this.id, OS.sel_restoreGraphicsState); -} - -public static void static_restoreGraphicsState() { - OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_restoreGraphicsState); -} - -public void saveGraphicsState() { - OS.objc_msgSend(this.id, OS.sel_saveGraphicsState); -} - -public static void static_saveGraphicsState() { - OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_saveGraphicsState); -} - -public void setCompositingOperation(int /*long*/ operation) { - OS.objc_msgSend(this.id, OS.sel_setCompositingOperation_, operation); -} - -public static void setCurrentContext(NSGraphicsContext context) { - OS.objc_msgSend(OS.class_NSGraphicsContext, OS.sel_setCurrentContext_, context != null ? context.id : 0); -} - -public void setImageInterpolation(int /*long*/ interpolation) { - OS.objc_msgSend(this.id, OS.sel_setImageInterpolation_, interpolation); -} - -public void setPatternPhase(NSPoint phase) { - OS.objc_msgSend(this.id, OS.sel_setPatternPhase_, phase); -} - -public void setShouldAntialias(boolean antialias) { - OS.objc_msgSend(this.id, OS.sel_setShouldAntialias_, antialias); -} - -public boolean shouldAntialias() { - return OS.objc_msgSend_bool(this.id, OS.sel_shouldAntialias); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java deleted file mode 100644 index e29ea217e3..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java +++ /dev/null @@ -1,46 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSHTTPCookie extends NSObject { - -public NSHTTPCookie() { - super(); -} - -public NSHTTPCookie(int /*long*/ id) { - super(id); -} - -public NSHTTPCookie(id id) { - super(id); -} - -public static NSArray cookiesWithResponseHeaderFields(NSDictionary headerFields, NSURL URL) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSHTTPCookie, OS.sel_cookiesWithResponseHeaderFields_forURL_, headerFields != null ? headerFields.id : 0, URL != null ? URL.id : 0); - return result != 0 ? new NSArray(result) : null; -} - -public boolean isSessionOnly() { - return OS.objc_msgSend_bool(this.id, OS.sel_isSessionOnly); -} - -public NSString name() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_name); - return result != 0 ? new NSString(result) : null; -} - -public NSString value() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_value); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookieStorage.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookieStorage.java deleted file mode 100644 index 9d027f0291..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookieStorage.java +++ /dev/null @@ -1,50 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSHTTPCookieStorage extends NSObject { - -public NSHTTPCookieStorage() { - super(); -} - -public NSHTTPCookieStorage(int /*long*/ id) { - super(id); -} - -public NSHTTPCookieStorage(id id) { - super(id); -} - -public NSArray cookies() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_cookies); - return result != 0 ? new NSArray(result) : null; -} - -public NSArray cookiesForURL(NSURL URL) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_cookiesForURL_, URL != null ? URL.id : 0); - return result != 0 ? new NSArray(result) : null; -} - -public void deleteCookie(NSHTTPCookie cookie) { - OS.objc_msgSend(this.id, OS.sel_deleteCookie_, cookie != null ? cookie.id : 0); -} - -public void setCookie(NSHTTPCookie cookie) { - OS.objc_msgSend(this.id, OS.sel_setCookie_, cookie != null ? cookie.id : 0); -} - -public static NSHTTPCookieStorage sharedHTTPCookieStorage() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSHTTPCookieStorage, OS.sel_sharedHTTPCookieStorage); - return result != 0 ? new NSHTTPCookieStorage(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImage.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImage.java deleted file mode 100644 index af08776ec6..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImage.java +++ /dev/null @@ -1,105 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSImage extends NSObject { - -public NSImage() { - super(); -} - -public NSImage(int /*long*/ id) { - super(id); -} - -public NSImage(id id) { - super(id); -} - -public NSData TIFFRepresentation() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_TIFFRepresentation); - return result != 0 ? new NSData(result) : null; -} - -public void addRepresentation(NSImageRep imageRep) { - OS.objc_msgSend(this.id, OS.sel_addRepresentation_, imageRep != null ? imageRep.id : 0); -} - -public NSImageRep bestRepresentationForDevice(NSDictionary deviceDescription) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_bestRepresentationForDevice_, deviceDescription != null ? deviceDescription.id : 0); - return result != 0 ? new NSImageRep(result) : null; -} - -public void drawAtPoint(NSPoint point, NSRect fromRect, int /*long*/ op, float /*double*/ delta) { - OS.objc_msgSend(this.id, OS.sel_drawAtPoint_fromRect_operation_fraction_, point, fromRect, op, delta); -} - -public void drawInRect(NSRect rect, NSRect fromRect, int /*long*/ op, float /*double*/ delta) { - OS.objc_msgSend(this.id, OS.sel_drawInRect_fromRect_operation_fraction_, rect, fromRect, op, delta); -} - -public static NSImage imageNamed(NSString name) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSImage, OS.sel_imageNamed_, name != null ? name.id : 0); - return result != 0 ? new NSImage(result) : null; -} - -public NSImage initByReferencingFile(NSString fileName) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initByReferencingFile_, fileName != null ? fileName.id : 0); - return result == this.id ? this : (result != 0 ? new NSImage(result) : null); -} - -public NSImage initWithContentsOfFile(NSString fileName) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithContentsOfFile_, fileName != null ? fileName.id : 0); - return result == this.id ? this : (result != 0 ? new NSImage(result) : null); -} - -public id initWithData(NSData data) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithData_, data != null ? data.id : 0); - return result != 0 ? new id(result) : null; -} - -public NSImage initWithSize(NSSize aSize) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithSize_, aSize); - return result == this.id ? this : (result != 0 ? new NSImage(result) : null); -} - -public void lockFocus() { - OS.objc_msgSend(this.id, OS.sel_lockFocus); -} - -public void removeRepresentation(NSImageRep imageRep) { - OS.objc_msgSend(this.id, OS.sel_removeRepresentation_, imageRep != null ? imageRep.id : 0); -} - -public NSArray representations() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_representations); - return result != 0 ? new NSArray(result) : null; -} - -public void setCacheMode(int /*long*/ mode) { - OS.objc_msgSend(this.id, OS.sel_setCacheMode_, mode); -} - -public void setSize(NSSize aSize) { - OS.objc_msgSend(this.id, OS.sel_setSize_, aSize); -} - -public NSSize size() { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_size); - return result; -} - -public void unlockFocus() { - OS.objc_msgSend(this.id, OS.sel_unlockFocus); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageRep.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageRep.java deleted file mode 100644 index 32918e8378..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageRep.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSImageRep extends NSObject { - -public NSImageRep() { - super(); -} - -public NSImageRep(int /*long*/ id) { - super(id); -} - -public NSImageRep(id id) { - super(id); -} - -public int /*long*/ bitsPerSample() { - return OS.objc_msgSend(this.id, OS.sel_bitsPerSample); -} - -public NSString colorSpaceName() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_colorSpaceName); - return result != 0 ? new NSString(result) : null; -} - -public boolean drawInRect(NSRect rect) { - return OS.objc_msgSend_bool(this.id, OS.sel_drawInRect_, rect); -} - -public boolean hasAlpha() { - return OS.objc_msgSend_bool(this.id, OS.sel_hasAlpha); -} - -public int /*long*/ pixelsHigh() { - return OS.objc_msgSend(this.id, OS.sel_pixelsHigh); -} - -public int /*long*/ pixelsWide() { - return OS.objc_msgSend(this.id, OS.sel_pixelsWide); -} - -public void setAlpha(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAlpha_, flag); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageView.java deleted file mode 100644 index 0e64831882..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSImageView.java +++ /dev/null @@ -1,52 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSImageView extends NSControl { - -public NSImageView() { - super(); -} - -public NSImageView(int /*long*/ id) { - super(id); -} - -public NSImageView(id id) { - super(id); -} - -public NSImage image() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_image); - return result != 0 ? new NSImage(result) : null; -} - -public void setImage(NSImage newImage) { - OS.objc_msgSend(this.id, OS.sel_setImage_, newImage != null ? newImage.id : 0); -} - -public void setImageAlignment(int /*long*/ newAlign) { - OS.objc_msgSend(this.id, OS.sel_setImageAlignment_, newAlign); -} - -public void setImageScaling(int /*long*/ newScaling) { - OS.objc_msgSend(this.id, OS.sel_setImageScaling_, newScaling); -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSImageView, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSImageView, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java deleted file mode 100644 index a2b132fe7f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSIndexSet.java +++ /dev/null @@ -1,53 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSIndexSet extends NSObject { - -public NSIndexSet() { - super(); -} - -public NSIndexSet(int /*long*/ id) { - super(id); -} - -public NSIndexSet(id id) { - super(id); -} - -public boolean containsIndex(int /*long*/ value) { - return OS.objc_msgSend_bool(this.id, OS.sel_containsIndex_, value); -} - -public int /*long*/ count() { - return OS.objc_msgSend(this.id, OS.sel_count); -} - -public int /*long*/ firstIndex() { - return OS.objc_msgSend(this.id, OS.sel_firstIndex); -} - -public int /*long*/ getIndexes(int[] /*long[]*/ indexBuffer, int /*long*/ bufferSize, int /*long*/ range) { - return OS.objc_msgSend(this.id, OS.sel_getIndexes_maxCount_inIndexRange_, indexBuffer, bufferSize, range); -} - -public NSIndexSet initWithIndex(int /*long*/ value) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIndex_, value); - return result == this.id ? this : (result != 0 ? new NSIndexSet(result) : null); -} - -public NSIndexSet initWithIndexesInRange(NSRange range) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIndexesInRange_, range); - return result == this.id ? this : (result != 0 ? new NSIndexSet(result) : null); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSInputManager.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSInputManager.java deleted file mode 100644 index 606bf4e86c..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSInputManager.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSInputManager extends NSObject { - -public NSInputManager() { - super(); -} - -public NSInputManager(int /*long*/ id) { - super(id); -} - -public NSInputManager(id id) { - super(id); -} - -public static NSInputManager currentInputManager() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSInputManager, OS.sel_currentInputManager); - return result != 0 ? new NSInputManager(result) : null; -} - -public boolean handleMouseEvent(NSEvent theMouseEvent) { - return OS.objc_msgSend_bool(this.id, OS.sel_handleMouseEvent_, theMouseEvent != null ? theMouseEvent.id : 0); -} - -public boolean wantsToHandleMouseEvents() { - return OS.objc_msgSend_bool(this.id, OS.sel_wantsToHandleMouseEvents); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedArchiver.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedArchiver.java deleted file mode 100644 index 68d2a12e5d..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedArchiver.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSKeyedArchiver extends NSCoder { - -public NSKeyedArchiver() { - super(); -} - -public NSKeyedArchiver(int /*long*/ id) { - super(id); -} - -public NSKeyedArchiver(id id) { - super(id); -} - -public static NSData archivedDataWithRootObject(id rootObject) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSKeyedArchiver, OS.sel_archivedDataWithRootObject_, rootObject != null ? rootObject.id : 0); - return result != 0 ? new NSData(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedUnarchiver.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedUnarchiver.java deleted file mode 100644 index a300dac217..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSKeyedUnarchiver.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSKeyedUnarchiver extends NSCoder { - -public NSKeyedUnarchiver() { - super(); -} - -public NSKeyedUnarchiver(int /*long*/ id) { - super(id); -} - -public NSKeyedUnarchiver(id id) { - super(id); -} - -public static id unarchiveObjectWithData(NSData data) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSKeyedUnarchiver, OS.sel_unarchiveObjectWithData_, data != null ? data.id : 0); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSLayoutManager.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSLayoutManager.java deleted file mode 100644 index 031646e38a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSLayoutManager.java +++ /dev/null @@ -1,142 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSLayoutManager extends NSObject { - -public NSLayoutManager() { - super(); -} - -public NSLayoutManager(int /*long*/ id) { - super(id); -} - -public NSLayoutManager(id id) { - super(id); -} - -public void addTemporaryAttribute(NSString attrName, id value, NSRange charRange) { - OS.objc_msgSend(this.id, OS.sel_addTemporaryAttribute_value_forCharacterRange_, attrName != null ? attrName.id : 0, value != null ? value.id : 0, charRange); -} - -public void addTextContainer(NSTextContainer container) { - OS.objc_msgSend(this.id, OS.sel_addTextContainer_, container != null ? container.id : 0); -} - -public NSRect boundingRectForGlyphRange(NSRange glyphRange, NSTextContainer container) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_boundingRectForGlyphRange_inTextContainer_, glyphRange, container != null ? container.id : 0); - return result; -} - -public int /*long*/ characterIndexForGlyphAtIndex(int /*long*/ glyphIndex) { - return OS.objc_msgSend(this.id, OS.sel_characterIndexForGlyphAtIndex_, glyphIndex); -} - -public float /*double*/ defaultBaselineOffsetForFont(NSFont theFont) { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_defaultBaselineOffsetForFont_, theFont != null ? theFont.id : 0); -} - -public float /*double*/ defaultLineHeightForFont(NSFont theFont) { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_defaultLineHeightForFont_, theFont != null ? theFont.id : 0); -} - -public void drawBackgroundForGlyphRange(NSRange glyphsToShow, NSPoint origin) { - OS.objc_msgSend(this.id, OS.sel_drawBackgroundForGlyphRange_atPoint_, glyphsToShow, origin); -} - -public void drawGlyphsForGlyphRange(NSRange glyphsToShow, NSPoint origin) { - OS.objc_msgSend(this.id, OS.sel_drawGlyphsForGlyphRange_atPoint_, glyphsToShow, origin); -} - -public int /*long*/ getGlyphs(int /*long*/ glyphArray, NSRange glyphRange) { - return OS.objc_msgSend(this.id, OS.sel_getGlyphs_range_, glyphArray, glyphRange); -} - -public int /*long*/ getGlyphsInRange(NSRange glyphRange, int /*long*/ glyphBuffer, int /*long*/ charIndexBuffer, int /*long*/ inscribeBuffer, int /*long*/ elasticBuffer, int /*long*/ bidiLevelBuffer) { - return OS.objc_msgSend(this.id, OS.sel_getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels_, glyphRange, glyphBuffer, charIndexBuffer, inscribeBuffer, elasticBuffer, bidiLevelBuffer); -} - -public int /*long*/ glyphIndexForCharacterAtIndex(int /*long*/ charIndex) { - return OS.objc_msgSend(this.id, OS.sel_glyphIndexForCharacterAtIndex_, charIndex); -} - -public int /*long*/ glyphIndexForPoint(NSPoint point, NSTextContainer container, float[] /*double[]*/ partialFraction) { - return OS.objc_msgSend(this.id, OS.sel_glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph_, point, container != null ? container.id : 0, partialFraction); -} - -public NSRange glyphRangeForCharacterRange(NSRange charRange, int /*long*/ actualCharRange) { - NSRange result = new NSRange(); - OS.objc_msgSend_stret(result, this.id, OS.sel_glyphRangeForCharacterRange_actualCharacterRange_, charRange, actualCharRange); - return result; -} - -public NSRange glyphRangeForTextContainer(NSTextContainer container) { - NSRange result = new NSRange(); - OS.objc_msgSend_stret(result, this.id, OS.sel_glyphRangeForTextContainer_, container != null ? container.id : 0); - return result; -} - -public NSRect lineFragmentUsedRectForGlyphAtIndex(int /*long*/ glyphIndex, int /*long*/ effectiveGlyphRange) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_lineFragmentUsedRectForGlyphAtIndex_effectiveRange_, glyphIndex, effectiveGlyphRange); - return result; -} - -public NSRect lineFragmentUsedRectForGlyphAtIndex(int /*long*/ glyphIndex, int /*long*/ effectiveGlyphRange, boolean flag) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_lineFragmentUsedRectForGlyphAtIndex_effectiveRange_withoutAdditionalLayout_, glyphIndex, effectiveGlyphRange, flag); - return result; -} - -public NSPoint locationForGlyphAtIndex(int /*long*/ glyphIndex) { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_locationForGlyphAtIndex_, glyphIndex); - return result; -} - -public int /*long*/ numberOfGlyphs() { - return OS.objc_msgSend(this.id, OS.sel_numberOfGlyphs); -} - -public int /*long*/ rectArrayForCharacterRange(NSRange charRange, NSRange selCharRange, NSTextContainer container, int /*long*/ rectCount) { - return OS.objc_msgSend(this.id, OS.sel_rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount_, charRange, selCharRange, container != null ? container.id : 0, rectCount); -} - -public void removeTemporaryAttribute(NSString attrName, NSRange charRange) { - OS.objc_msgSend(this.id, OS.sel_removeTemporaryAttribute_forCharacterRange_, attrName != null ? attrName.id : 0, charRange); -} - -public void setBackgroundLayoutEnabled(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setBackgroundLayoutEnabled_, flag); -} - -public void setLineFragmentRect(NSRect fragmentRect, NSRange glyphRange, NSRect usedRect) { - OS.objc_msgSend(this.id, OS.sel_setLineFragmentRect_forGlyphRange_usedRect_, fragmentRect, glyphRange, usedRect); -} - -public void setTextStorage(NSTextStorage textStorage) { - OS.objc_msgSend(this.id, OS.sel_setTextStorage_, textStorage != null ? textStorage.id : 0); -} - -public NSTypesetter typesetter() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_typesetter); - return result != 0 ? new NSTypesetter(result) : null; -} - -public NSRect usedRectForTextContainer(NSTextContainer container) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_usedRectForTextContainer_, container != null ? container.id : 0); - return result; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenu.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenu.java deleted file mode 100644 index 1611c73d36..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenu.java +++ /dev/null @@ -1,95 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSMenu extends NSObject { - -public NSMenu() { - super(); -} - -public NSMenu(int /*long*/ id) { - super(id); -} - -public NSMenu(id id) { - super(id); -} - -public void addItem(NSMenuItem newItem) { - OS.objc_msgSend(this.id, OS.sel_addItem_, newItem != null ? newItem.id : 0); -} - -public NSMenuItem addItemWithTitle(NSString aString, int /*long*/ aSelector, NSString charCode) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_addItemWithTitle_action_keyEquivalent_, aString != null ? aString.id : 0, aSelector, charCode != null ? charCode.id : 0); - return result != 0 ? new NSMenuItem(result) : null; -} - -public void cancelTracking() { - OS.objc_msgSend(this.id, OS.sel_cancelTracking); -} - -public int /*long*/ indexOfItemWithTarget(id target, int /*long*/ actionSelector) { - return OS.objc_msgSend(this.id, OS.sel_indexOfItemWithTarget_andAction_, target != null ? target.id : 0, actionSelector); -} - -public NSMenu initWithTitle(NSString aTitle) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithTitle_, aTitle != null ? aTitle.id : 0); - return result == this.id ? this : (result != 0 ? new NSMenu(result) : null); -} - -public void insertItem(NSMenuItem newItem, int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_insertItem_atIndex_, newItem != null ? newItem.id : 0, index); -} - -public NSArray itemArray() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemArray); - return result != 0 ? new NSArray(result) : null; -} - -public NSMenuItem itemAtIndex(int /*long*/ index) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemAtIndex_, index); - return result != 0 ? new NSMenuItem(result) : null; -} - -public int /*long*/ numberOfItems() { - return OS.objc_msgSend(this.id, OS.sel_numberOfItems); -} - -public static void popUpContextMenu(NSMenu menu, NSEvent event, NSView view) { - OS.objc_msgSend(OS.class_NSMenu, OS.sel_popUpContextMenu_withEvent_forView_, menu != null ? menu.id : 0, event != null ? event.id : 0, view != null ? view.id : 0); -} - -public void removeItem(NSMenuItem item) { - OS.objc_msgSend(this.id, OS.sel_removeItem_, item != null ? item.id : 0); -} - -public void removeItemAtIndex(int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_removeItemAtIndex_, index); -} - -public void setAutoenablesItems(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAutoenablesItems_, flag); -} - -public void setDelegate(id anObject) { - OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); -} - -public void setSubmenu(NSMenu aMenu, NSMenuItem anItem) { - OS.objc_msgSend(this.id, OS.sel_setSubmenu_forItem_, aMenu != null ? aMenu.id : 0, anItem != null ? anItem.id : 0); -} - -public void setTitle(NSString aString) { - OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenuItem.java deleted file mode 100644 index 17fbdc7964..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenuItem.java +++ /dev/null @@ -1,108 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSMenuItem extends NSObject { - -public NSMenuItem() { - super(); -} - -public NSMenuItem(int /*long*/ id) { - super(id); -} - -public NSMenuItem(id id) { - super(id); -} - -public NSMenuItem initWithTitle(NSString aString, int /*long*/ aSelector, NSString charCode) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithTitle_action_keyEquivalent_, aString != null ? aString.id : 0, aSelector, charCode != null ? charCode.id : 0); - return result == this.id ? this : (result != 0 ? new NSMenuItem(result) : null); -} - -public boolean isHidden() { - return OS.objc_msgSend_bool(this.id, OS.sel_isHidden); -} - -public NSString keyEquivalent() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_keyEquivalent); - return result != 0 ? new NSString(result) : null; -} - -public int /*long*/ keyEquivalentModifierMask() { - return OS.objc_msgSend(this.id, OS.sel_keyEquivalentModifierMask); -} - -public static NSMenuItem separatorItem() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMenuItem, OS.sel_separatorItem); - return result != 0 ? new NSMenuItem(result) : null; -} - -public void setAction(int /*long*/ aSelector) { - OS.objc_msgSend(this.id, OS.sel_setAction_, aSelector); -} - -public void setEnabled(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setEnabled_, flag); -} - -public void setHidden(boolean hidden) { - OS.objc_msgSend(this.id, OS.sel_setHidden_, hidden); -} - -public void setImage(NSImage menuImage) { - OS.objc_msgSend(this.id, OS.sel_setImage_, menuImage != null ? menuImage.id : 0); -} - -public void setKeyEquivalent(NSString aKeyEquivalent) { - OS.objc_msgSend(this.id, OS.sel_setKeyEquivalent_, aKeyEquivalent != null ? aKeyEquivalent.id : 0); -} - -public void setKeyEquivalentModifierMask(int /*long*/ mask) { - OS.objc_msgSend(this.id, OS.sel_setKeyEquivalentModifierMask_, mask); -} - -public void setMenu(NSMenu menu) { - OS.objc_msgSend(this.id, OS.sel_setMenu_, menu != null ? menu.id : 0); -} - -public void setState(int /*long*/ state) { - OS.objc_msgSend(this.id, OS.sel_setState_, state); -} - -public void setSubmenu(NSMenu submenu) { - OS.objc_msgSend(this.id, OS.sel_setSubmenu_, submenu != null ? submenu.id : 0); -} - -public void setTarget(id anObject) { - OS.objc_msgSend(this.id, OS.sel_setTarget_, anObject != null ? anObject.id : 0); -} - -public void setTitle(NSString aString) { - OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); -} - -public int /*long*/ state() { - return OS.objc_msgSend(this.id, OS.sel_state); -} - -public NSMenu submenu() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_submenu); - return result != 0 ? new NSMenu(result) : null; -} - -public NSString title() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_title); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java deleted file mode 100644 index c040b3b012..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java +++ /dev/null @@ -1,71 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSMutableArray extends NSArray { - -public NSMutableArray() { - super(); -} - -public NSMutableArray(int /*long*/ id) { - super(id); -} - -public NSMutableArray(id id) { - super(id); -} - -public void addObject(id anObject) { - OS.objc_msgSend(this.id, OS.sel_addObject_, anObject != null ? anObject.id : 0); -} - -public void addObjectsFromArray(NSArray otherArray) { - OS.objc_msgSend(this.id, OS.sel_addObjectsFromArray_, otherArray != null ? otherArray.id : 0); -} - -public static NSMutableArray arrayWithCapacity(int /*long*/ numItems) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableArray, OS.sel_arrayWithCapacity_, numItems); - return result != 0 ? new NSMutableArray(result) : null; -} - -public NSMutableArray initWithCapacity(int /*long*/ numItems) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithCapacity_, numItems); - return result == this.id ? this : (result != 0 ? new NSMutableArray(result) : null); -} - -public void removeLastObject() { - OS.objc_msgSend(this.id, OS.sel_removeLastObject); -} - -public void removeObject(id anObject) { - OS.objc_msgSend(this.id, OS.sel_removeObject_, anObject != null ? anObject.id : 0); -} - -public void removeObjectAtIndex(int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_removeObjectAtIndex_, index); -} - -public void removeObjectIdenticalTo(id anObject) { - OS.objc_msgSend(this.id, OS.sel_removeObjectIdenticalTo_, anObject != null ? anObject.id : 0); -} - -public static NSArray array() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableArray, OS.sel_array); - return result != 0 ? new NSArray(result) : null; -} - -public static NSArray arrayWithObject(id anObject) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableArray, OS.sel_arrayWithObject_, anObject != null ? anObject.id : 0); - return result != 0 ? new NSMutableArray(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java deleted file mode 100644 index cc2d342816..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSMutableAttributedString extends NSAttributedString { - -public NSMutableAttributedString() { - super(); -} - -public NSMutableAttributedString(int /*long*/ id) { - super(id); -} - -public NSMutableAttributedString(id id) { - super(id); -} - -public void appendAttributedString(NSAttributedString attrString) { - OS.objc_msgSend(this.id, OS.sel_appendAttributedString_, attrString != null ? attrString.id : 0); -} - -public NSMutableString mutableString() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_mutableString); - return result != 0 ? new NSMutableString(result) : null; -} - -public void replaceCharactersInRange(NSRange range, NSString str) { - OS.objc_msgSend(this.id, OS.sel_replaceCharactersInRange_withString_, range, str != null ? str.id : 0); -} - -public void addAttribute(NSString name, id value, NSRange range) { - OS.objc_msgSend(this.id, OS.sel_addAttribute_value_range_, name != null ? name.id : 0, value != null ? value.id : 0, range); -} - -public void beginEditing() { - OS.objc_msgSend(this.id, OS.sel_beginEditing); -} - -public void endEditing() { - OS.objc_msgSend(this.id, OS.sel_endEditing); -} - -public void removeAttribute(NSString name, NSRange range) { - OS.objc_msgSend(this.id, OS.sel_removeAttribute_range_, name != null ? name.id : 0, range); -} - -public void setAttributedString(NSAttributedString attrString) { - OS.objc_msgSend(this.id, OS.sel_setAttributedString_, attrString != null ? attrString.id : 0); -} - -public static NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableAttributedString, OS.sel_attributedStringWithAttachment_, attachment != null ? attachment.id : 0); - return result != 0 ? new NSAttributedString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableDictionary.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableDictionary.java deleted file mode 100644 index 77980256df..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableDictionary.java +++ /dev/null @@ -1,58 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSMutableDictionary extends NSDictionary { - -public NSMutableDictionary() { - super(); -} - -public NSMutableDictionary(int /*long*/ id) { - super(id); -} - -public NSMutableDictionary(id id) { - super(id); -} - -public static NSMutableDictionary dictionaryWithCapacity(int /*long*/ numItems) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableDictionary, OS.sel_dictionaryWithCapacity_, numItems); - return result != 0 ? new NSMutableDictionary(result) : null; -} - -public NSMutableDictionary initWithCapacity(int /*long*/ numItems) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithCapacity_, numItems); - return result == this.id ? this : (result != 0 ? new NSMutableDictionary(result) : null); -} - -public void removeObjectForKey(id aKey) { - OS.objc_msgSend(this.id, OS.sel_removeObjectForKey_, aKey != null ? aKey.id : 0); -} - -public void setDictionary(NSDictionary otherDictionary) { - OS.objc_msgSend(this.id, OS.sel_setDictionary_, otherDictionary != null ? otherDictionary.id : 0); -} - -public void setObject(id anObject, id aKey) { - OS.objc_msgSend(this.id, OS.sel_setObject_forKey_, anObject != null ? anObject.id : 0, aKey != null ? aKey.id : 0); -} - -public void setValue(id value, NSString key) { - OS.objc_msgSend(this.id, OS.sel_setValue_forKey_, value != null ? value.id : 0, key != null ? key.id : 0); -} - -public static NSDictionary dictionaryWithObject(id object, id key) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableDictionary, OS.sel_dictionaryWithObject_forKey_, object != null ? object.id : 0, key != null ? key.id : 0); - return result != 0 ? new NSMutableDictionary(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableIndexSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableIndexSet.java deleted file mode 100644 index 60f803747f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableIndexSet.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSMutableIndexSet extends NSIndexSet { - -public NSMutableIndexSet() { - super(); -} - -public NSMutableIndexSet(int /*long*/ id) { - super(id); -} - -public NSMutableIndexSet(id id) { - super(id); -} - -public void addIndex(int /*long*/ value) { - OS.objc_msgSend(this.id, OS.sel_addIndex_, value); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableParagraphStyle.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableParagraphStyle.java deleted file mode 100644 index 8cd4eec71e..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableParagraphStyle.java +++ /dev/null @@ -1,55 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSMutableParagraphStyle extends NSParagraphStyle { - -public NSMutableParagraphStyle() { - super(); -} - -public NSMutableParagraphStyle(int /*long*/ id) { - super(id); -} - -public NSMutableParagraphStyle(id id) { - super(id); -} - -public void addTabStop(NSTextTab anObject) { - OS.objc_msgSend(this.id, OS.sel_addTabStop_, anObject != null ? anObject.id : 0); -} - -public void setAlignment(int /*long*/ alignment) { - OS.objc_msgSend(this.id, OS.sel_setAlignment_, alignment); -} - -public void setDefaultTabInterval(float /*double*/ aFloat) { - OS.objc_msgSend(this.id, OS.sel_setDefaultTabInterval_, aFloat); -} - -public void setFirstLineHeadIndent(float /*double*/ aFloat) { - OS.objc_msgSend(this.id, OS.sel_setFirstLineHeadIndent_, aFloat); -} - -public void setLineBreakMode(int /*long*/ mode) { - OS.objc_msgSend(this.id, OS.sel_setLineBreakMode_, mode); -} - -public void setLineSpacing(float /*double*/ aFloat) { - OS.objc_msgSend(this.id, OS.sel_setLineSpacing_, aFloat); -} - -public void setTabStops(NSArray array) { - OS.objc_msgSend(this.id, OS.sel_setTabStops_, array != null ? array.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableSet.java deleted file mode 100644 index 19f89ec4ae..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableSet.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSMutableSet extends NSSet { - -public NSMutableSet() { - super(); -} - -public NSMutableSet(int /*long*/ id) { - super(id); -} - -public NSMutableSet(id id) { - super(id); -} - -public void addObjectsFromArray(NSArray array) { - OS.objc_msgSend(this.id, OS.sel_addObjectsFromArray_, array != null ? array.id : 0); -} - -public static NSSet set() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableSet, OS.sel_set); - return result != 0 ? new NSMutableSet(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableString.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableString.java deleted file mode 100644 index 9f3e67e33e..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableString.java +++ /dev/null @@ -1,46 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSMutableString extends NSString { - -public NSMutableString() { - super(); -} - -public NSMutableString(int /*long*/ id) { - super(id); -} - -public NSMutableString(id id) { - super(id); -} - -public void appendString(NSString aString) { - OS.objc_msgSend(this.id, OS.sel_appendString_, aString != null ? aString.id : 0); -} - -public static NSString stringWithCharacters(char[] characters, int /*long*/ length) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableString, OS.sel_stringWithCharacters_length_, characters, length); - return result != 0 ? new NSMutableString(result) : null; -} - -public static NSString stringWithFormat(NSString stringWithFormat) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableString, OS.sel_stringWithFormat_, stringWithFormat != null ? stringWithFormat.id : 0); - return result != 0 ? new NSString(result) : null; -} - -public static NSString stringWithUTF8String(int /*long*/ nullTerminatedCString) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableString, OS.sel_stringWithUTF8String_, nullTerminatedCString); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableURLRequest.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableURLRequest.java deleted file mode 100644 index 36ca289d66..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableURLRequest.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSMutableURLRequest extends NSURLRequest { - -public NSMutableURLRequest() { - super(); -} - -public NSMutableURLRequest(int /*long*/ id) { - super(id); -} - -public NSMutableURLRequest(id id) { - super(id); -} - -public void setCachePolicy(int /*long*/ policy) { - OS.objc_msgSend(this.id, OS.sel_setCachePolicy_, policy); -} - -public void setURL(NSURL URL) { - OS.objc_msgSend(this.id, OS.sel_setURL_, URL != null ? URL.id : 0); -} - -public static NSURLRequest requestWithURL(NSURL URL) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableURLRequest, OS.sel_requestWithURL_, URL != null ? URL.id : 0); - return result != 0 ? new NSMutableURLRequest(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotification.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotification.java deleted file mode 100644 index e1c32d7dc8..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotification.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSNotification extends NSObject { - -public NSNotification() { - super(); -} - -public NSNotification(int /*long*/ id) { - super(id); -} - -public NSNotification(id id) { - super(id); -} - -public id object() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_object); - return result != 0 ? new id(result) : null; -} - -public NSDictionary userInfo() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_userInfo); - return result != 0 ? new NSDictionary(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotificationCenter.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotificationCenter.java deleted file mode 100644 index 611da6eb16..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNotificationCenter.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSNotificationCenter extends NSObject { - -public NSNotificationCenter() { - super(); -} - -public NSNotificationCenter(int /*long*/ id) { - super(id); -} - -public NSNotificationCenter(id id) { - super(id); -} - -public void addObserver(id observer, int /*long*/ aSelector, NSString aName, id anObject) { - OS.objc_msgSend(this.id, OS.sel_addObserver_selector_name_object_, observer != null ? observer.id : 0, aSelector, aName != null ? aName.id : 0, anObject != null ? anObject.id : 0); -} - -public static NSNotificationCenter defaultCenter() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSNotificationCenter, OS.sel_defaultCenter); - return result != 0 ? new NSNotificationCenter(result) : null; -} - -public void removeObserver(id observer) { - OS.objc_msgSend(this.id, OS.sel_removeObserver_, observer != null ? observer.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumber.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumber.java deleted file mode 100644 index 461a374356..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumber.java +++ /dev/null @@ -1,87 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSNumber extends NSValue { - -public NSNumber() { - super(); -} - -public NSNumber(int /*long*/ id) { - super(id); -} - -public NSNumber(id id) { - super(id); -} - -public boolean boolValue() { - return OS.objc_msgSend_bool(this.id, OS.sel_boolValue); -} - -public double doubleValue() { - return OS.objc_msgSend_fpret(this.id, OS.sel_doubleValue); -} - -public float floatValue() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_floatValue); -} - -public int intValue() { - return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_intValue); -} - -public int /*long*/ integerValue() { - return OS.objc_msgSend(this.id, OS.sel_integerValue); -} - -public static NSNumber numberWithBool(boolean value) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_numberWithBool_, value); - return result != 0 ? new NSNumber(result) : null; -} - -public static NSNumber numberWithDouble(double value) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_numberWithDouble_, value); - return result != 0 ? new NSNumber(result) : null; -} - -public static NSNumber numberWithInt(int value) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_numberWithInt_, value); - return result != 0 ? new NSNumber(result) : null; -} - -public static NSNumber numberWithInteger(int /*long*/ value) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_numberWithInteger_, value); - return result != 0 ? new NSNumber(result) : null; -} - -public static NSValue valueWithPoint(NSPoint point) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_valueWithPoint_, point); - return result != 0 ? new NSValue(result) : null; -} - -public static NSValue valueWithRange(NSRange range) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_valueWithRange_, range); - return result != 0 ? new NSValue(result) : null; -} - -public static NSValue valueWithRect(NSRect rect) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_valueWithRect_, rect); - return result != 0 ? new NSValue(result) : null; -} - -public static NSValue valueWithSize(NSSize size) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSNumber, OS.sel_valueWithSize_, size); - return result != 0 ? new NSValue(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumberFormatter.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumberFormatter.java deleted file mode 100644 index b5dfc05a2f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSNumberFormatter.java +++ /dev/null @@ -1,94 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSNumberFormatter extends NSFormatter { - -public NSNumberFormatter() { - super(); -} - -public NSNumberFormatter(int /*long*/ id) { - super(id); -} - -public NSNumberFormatter(id id) { - super(id); -} - -public boolean allowsFloats() { - return OS.objc_msgSend_bool(this.id, OS.sel_allowsFloats); -} - -public boolean alwaysShowsDecimalSeparator() { - return OS.objc_msgSend_bool(this.id, OS.sel_alwaysShowsDecimalSeparator); -} - -public NSString decimalSeparator() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_decimalSeparator); - return result != 0 ? new NSString(result) : null; -} - -public NSNumber maximum() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_maximum); - return result != 0 ? new NSNumber(result) : null; -} - -public int /*long*/ maximumFractionDigits() { - return OS.objc_msgSend(this.id, OS.sel_maximumFractionDigits); -} - -public int /*long*/ maximumIntegerDigits() { - return OS.objc_msgSend(this.id, OS.sel_maximumIntegerDigits); -} - -public NSNumber minimum() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_minimum); - return result != 0 ? new NSNumber(result) : null; -} - -public void setAllowsFloats(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAllowsFloats_, flag); -} - -public void setMaximum(NSNumber number) { - OS.objc_msgSend(this.id, OS.sel_setMaximum_, number != null ? number.id : 0); -} - -public void setMaximumFractionDigits(int /*long*/ number) { - OS.objc_msgSend(this.id, OS.sel_setMaximumFractionDigits_, number); -} - -public void setMaximumIntegerDigits(int /*long*/ number) { - OS.objc_msgSend(this.id, OS.sel_setMaximumIntegerDigits_, number); -} - -public void setMinimum(NSNumber number) { - OS.objc_msgSend(this.id, OS.sel_setMinimum_, number != null ? number.id : 0); -} - -public void setMinimumFractionDigits(int /*long*/ number) { - OS.objc_msgSend(this.id, OS.sel_setMinimumFractionDigits_, number); -} - -public void setMinimumIntegerDigits(int /*long*/ number) { - OS.objc_msgSend(this.id, OS.sel_setMinimumIntegerDigits_, number); -} - -public void setNumberStyle(int /*long*/ style) { - OS.objc_msgSend(this.id, OS.sel_setNumberStyle_, style); -} - -public void setPartialStringValidationEnabled(boolean b) { - OS.objc_msgSend(this.id, OS.sel_setPartialStringValidationEnabled_, b); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSObject.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSObject.java deleted file mode 100644 index 94d0fbd786..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSObject.java +++ /dev/null @@ -1,161 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSObject extends id { - -public NSObject() { - super(); -} - -public NSObject(int /*long*/ id) { - super(id); -} - -public NSObject(id id) { - super(id); -} - -public NSObject alloc() { - this.id = OS.objc_msgSend(objc_getClass(), OS.sel_alloc); - return this; -} - -public id accessibilityAttributeValue(NSString attribute, id parameter) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_accessibilityAttributeValue_forParameter_, attribute != null ? attribute.id : 0, parameter != null ? parameter.id : 0); - return result != 0 ? new id(result) : null; -} - -public boolean accessibilitySetOverrideValue(id value, NSString attribute) { - return OS.objc_msgSend_bool(this.id, OS.sel_accessibilitySetOverrideValue_forAttribute_, value != null ? value.id : 0, attribute != null ? attribute.id : 0); -} - -public void draggedImage(NSImage image, NSPoint screenPoint, int /*long*/ operation) { - OS.objc_msgSend(this.id, OS.sel_draggedImage_endedAt_operation_, image != null ? image.id : 0, screenPoint, operation); -} - -public NSWindow draggingDestinationWindow() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_draggingDestinationWindow); - return result != 0 ? new NSWindow(result) : null; -} - -public NSPoint draggingLocation() { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_draggingLocation); - return result; -} - -public NSPasteboard draggingPasteboard() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_draggingPasteboard); - return result != 0 ? new NSPasteboard(result) : null; -} - -public int /*long*/ draggingSourceOperationMask() { - return OS.objc_msgSend(this.id, OS.sel_draggingSourceOperationMask); -} - -public NSObject autorelease() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_autorelease); - return result == this.id ? this : (result != 0 ? new NSObject(result) : null); -} - -public void cancelAuthenticationChallenge(NSURLAuthenticationChallenge challenge) { - OS.objc_msgSend(this.id, OS.sel_cancelAuthenticationChallenge_, challenge != null ? challenge.id : 0); -} - -public NSString className() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_className); - return result != 0 ? new NSString(result) : null; -} - -public boolean conformsToProtocol(Protocol aProtocol) { - return OS.objc_msgSend_bool(this.id, OS.sel_conformsToProtocol_, aProtocol != null ? aProtocol.id : 0); -} - -public id copy() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_copy); - return result != 0 ? new id(result) : null; -} - -public NSString description() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_description); - return result != 0 ? new NSString(result) : null; -} - -public NSObject init() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_init); - return result == this.id ? this : (result != 0 ? new NSObject(result) : null); -} - -public boolean isEqual(id object) { - return OS.objc_msgSend_bool(this.id, OS.sel_isEqual_, object != null ? object.id : 0); -} - -public boolean isEqualTo(id object) { - return OS.objc_msgSend_bool(this.id, OS.sel_isEqualTo_, object != null ? object.id : 0); -} - -public boolean isKindOfClass(int /*long*/ aClass) { - return OS.objc_msgSend_bool(this.id, OS.sel_isKindOfClass_, aClass); -} - -public id mutableCopy() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_mutableCopy); - return result != 0 ? new id(result) : null; -} - -public void performSelectorOnMainThread(int /*long*/ aSelector, id arg, boolean wait) { - OS.objc_msgSend(this.id, OS.sel_performSelectorOnMainThread_withObject_waitUntilDone_, aSelector, arg != null ? arg.id : 0, wait); -} - -public void release() { - OS.objc_msgSend(this.id, OS.sel_release); -} - -public boolean respondsToSelector(int /*long*/ aSelector) { - return OS.objc_msgSend_bool(this.id, OS.sel_respondsToSelector_, aSelector); -} - -public id retain() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_retain); - return result != 0 ? new id(result) : null; -} - -public int /*long*/ retainCount() { - return OS.objc_msgSend(this.id, OS.sel_retainCount); -} - -public void setValue(id value, NSString key) { - OS.objc_msgSend(this.id, OS.sel_setValue_forKey_, value != null ? value.id : 0, key != null ? key.id : 0); -} - -public int /*long*/ superclass() { - return OS.objc_msgSend(this.id, OS.sel_superclass); -} - -public void useCredential(NSURLCredential credential, NSURLAuthenticationChallenge challenge) { - OS.objc_msgSend(this.id, OS.sel_useCredential_forAuthenticationChallenge_, credential != null ? credential.id : 0, challenge != null ? challenge.id : 0); -} - -public id valueForKey(NSString key) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_valueForKey_, key != null ? key.id : 0); - return result != 0 ? new id(result) : null; -} - -public void addEventListener(NSString type, id listener, boolean useCapture) { - OS.objc_msgSend(this.id, OS.sel_addEventListener_listener_useCapture_, type != null ? type.id : 0, listener != null ? listener.id : 0, useCapture); -} - -public void handleEvent(DOMEvent evt) { - OS.objc_msgSend(this.id, OS.sel_handleEvent_, evt != null ? evt.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLContext.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLContext.java deleted file mode 100644 index fd688df582..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLContext.java +++ /dev/null @@ -1,66 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSOpenGLContext extends NSObject { - -public NSOpenGLContext() { - super(); -} - -public NSOpenGLContext(int /*long*/ id) { - super(id); -} - -public NSOpenGLContext(id id) { - super(id); -} - -public static void clearCurrentContext() { - OS.objc_msgSend(OS.class_NSOpenGLContext, OS.sel_clearCurrentContext); -} - -public void clearDrawable() { - OS.objc_msgSend(this.id, OS.sel_clearDrawable); -} - -public static NSOpenGLContext currentContext() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSOpenGLContext, OS.sel_currentContext); - return result != 0 ? new NSOpenGLContext(result) : null; -} - -public void flushBuffer() { - OS.objc_msgSend(this.id, OS.sel_flushBuffer); -} - -public NSOpenGLContext initWithFormat(NSOpenGLPixelFormat format, NSOpenGLContext share) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFormat_shareContext_, format != null ? format.id : 0, share != null ? share.id : 0); - return result == this.id ? this : (result != 0 ? new NSOpenGLContext(result) : null); -} - -public void makeCurrentContext() { - OS.objc_msgSend(this.id, OS.sel_makeCurrentContext); -} - -public void setView(NSView view) { - OS.objc_msgSend(this.id, OS.sel_setView_, view != null ? view.id : 0); -} - -public void update() { - OS.objc_msgSend(this.id, OS.sel_update); -} - -public NSView view() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_view); - return result != 0 ? new NSView(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLPixelFormat.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLPixelFormat.java deleted file mode 100644 index e3f786d166..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLPixelFormat.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSOpenGLPixelFormat extends NSObject { - -public NSOpenGLPixelFormat() { - super(); -} - -public NSOpenGLPixelFormat(int /*long*/ id) { - super(id); -} - -public NSOpenGLPixelFormat(id id) { - super(id); -} - -public void getValues(int[] /*long[]*/ vals, int attrib, int screen) { - OS.objc_msgSend(this.id, OS.sel_getValues_forAttribute_forVirtualScreen_, vals, attrib, screen); -} - -public id initWithAttributes(int[] attribs) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithAttributes_, attribs); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java deleted file mode 100644 index a53b6d24c9..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java +++ /dev/null @@ -1,58 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSOpenPanel extends NSSavePanel { - -public NSOpenPanel() { - super(); -} - -public NSOpenPanel(int /*long*/ id) { - super(id); -} - -public NSOpenPanel(id id) { - super(id); -} - -public NSArray filenames() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_filenames); - return result != 0 ? new NSArray(result) : null; -} - -public static NSOpenPanel openPanel() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSOpenPanel, OS.sel_openPanel); - return result != 0 ? new NSOpenPanel(result) : null; -} - -public void setAllowsMultipleSelection(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAllowsMultipleSelection_, flag); -} - -public void setCanChooseDirectories(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setCanChooseDirectories_, flag); -} - -public void setCanChooseFiles(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setCanChooseFiles_, flag); -} - -public static NSSavePanel savePanel() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSOpenPanel, OS.sel_savePanel); - return result != 0 ? new NSSavePanel(result) : null; -} - -public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { - return (float)OS.objc_msgSend_fpret(OS.class_NSOpenPanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java deleted file mode 100644 index cbc470421a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java +++ /dev/null @@ -1,103 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSOutlineView extends NSTableView { - -public NSOutlineView() { - super(); -} - -public NSOutlineView(int /*long*/ id) { - super(id); -} - -public NSOutlineView(id id) { - super(id); -} - -public void collapseItem(id item) { - OS.objc_msgSend(this.id, OS.sel_collapseItem_, item != null ? item.id : 0); -} - -public void collapseItem(id item, boolean collapseChildren) { - OS.objc_msgSend(this.id, OS.sel_collapseItem_collapseChildren_, item != null ? item.id : 0, collapseChildren); -} - -public void expandItem(id item) { - OS.objc_msgSend(this.id, OS.sel_expandItem_, item != null ? item.id : 0); -} - -public void expandItem(id item, boolean expandChildren) { - OS.objc_msgSend(this.id, OS.sel_expandItem_expandChildren_, item != null ? item.id : 0, expandChildren); -} - -public NSRect frameOfOutlineCellAtRow(int /*long*/ row) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_frameOfOutlineCellAtRow_, row); - return result; -} - -public float /*double*/ indentationPerLevel() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_indentationPerLevel); -} - -public boolean isItemExpanded(id item) { - return OS.objc_msgSend_bool(this.id, OS.sel_isItemExpanded_, item != null ? item.id : 0); -} - -public id itemAtRow(int /*long*/ row) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemAtRow_, row); - return result != 0 ? new id(result) : null; -} - -public int /*long*/ levelForItem(id item) { - return OS.objc_msgSend(this.id, OS.sel_levelForItem_, item != null ? item.id : 0); -} - -public NSTableColumn outlineTableColumn() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_outlineTableColumn); - return result != 0 ? new NSTableColumn(result) : null; -} - -public void reloadItem(id item, boolean reloadChildren) { - OS.objc_msgSend(this.id, OS.sel_reloadItem_reloadChildren_, item != null ? item.id : 0, reloadChildren); -} - -public int /*long*/ rowForItem(id item) { - return OS.objc_msgSend(this.id, OS.sel_rowForItem_, item != null ? item.id : 0); -} - -public void setAutoresizesOutlineColumn(boolean resize) { - OS.objc_msgSend(this.id, OS.sel_setAutoresizesOutlineColumn_, resize); -} - -public void setAutosaveExpandedItems(boolean save) { - OS.objc_msgSend(this.id, OS.sel_setAutosaveExpandedItems_, save); -} - -public void setDropItem(id item, int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_setDropItem_dropChildIndex_, item != null ? item.id : 0, index); -} - -public void setOutlineTableColumn(NSTableColumn outlineTableColumn) { - OS.objc_msgSend(this.id, OS.sel_setOutlineTableColumn_, outlineTableColumn != null ? outlineTableColumn.id : 0); -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSOutlineView, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSOutlineView, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPanel.java deleted file mode 100644 index a7ad52d83e..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPanel.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSPanel extends NSWindow { - -public NSPanel() { - super(); -} - -public NSPanel(int /*long*/ id) { - super(id); -} - -public NSPanel(id id) { - super(id); -} - -public void setWorksWhenModal(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setWorksWhenModal_, flag); -} - -public boolean worksWhenModal() { - return OS.objc_msgSend_bool(this.id, OS.sel_worksWhenModal); -} - -public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { - return (float)OS.objc_msgSend_fpret(OS.class_NSPanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSParagraphStyle.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSParagraphStyle.java deleted file mode 100644 index 9ee0c1d55b..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSParagraphStyle.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSParagraphStyle extends NSObject { - -public NSParagraphStyle() { - super(); -} - -public NSParagraphStyle(int /*long*/ id) { - super(id); -} - -public NSParagraphStyle(id id) { - super(id); -} - -public int /*long*/ alignment() { - return OS.objc_msgSend(this.id, OS.sel_alignment); -} - -public NSArray tabStops() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_tabStops); - return result != 0 ? new NSArray(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPasteboard.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPasteboard.java deleted file mode 100644 index 593edace35..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPasteboard.java +++ /dev/null @@ -1,82 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSPasteboard extends NSObject { - -public NSPasteboard() { - super(); -} - -public NSPasteboard(int /*long*/ id) { - super(id); -} - -public NSPasteboard(id id) { - super(id); -} - -public int /*long*/ addTypes(NSArray newTypes, id newOwner) { - return OS.objc_msgSend(this.id, OS.sel_addTypes_owner_, newTypes != null ? newTypes.id : 0, newOwner != null ? newOwner.id : 0); -} - -public NSString availableTypeFromArray(NSArray types) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_availableTypeFromArray_, types != null ? types.id : 0); - return result != 0 ? new NSString(result) : null; -} - -public NSData dataForType(NSString dataType) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dataForType_, dataType != null ? dataType.id : 0); - return result != 0 ? new NSData(result) : null; -} - -public int /*long*/ declareTypes(NSArray newTypes, id newOwner) { - return OS.objc_msgSend(this.id, OS.sel_declareTypes_owner_, newTypes != null ? newTypes.id : 0, newOwner != null ? newOwner.id : 0); -} - -public static NSPasteboard generalPasteboard() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSPasteboard, OS.sel_generalPasteboard); - return result != 0 ? new NSPasteboard(result) : null; -} - -public static NSPasteboard pasteboardWithName(NSString name) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSPasteboard, OS.sel_pasteboardWithName_, name != null ? name.id : 0); - return result != 0 ? new NSPasteboard(result) : null; -} - -public id propertyListForType(NSString dataType) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_propertyListForType_, dataType != null ? dataType.id : 0); - return result != 0 ? new id(result) : null; -} - -public boolean setData(NSData data, NSString dataType) { - return OS.objc_msgSend_bool(this.id, OS.sel_setData_forType_, data != null ? data.id : 0, dataType != null ? dataType.id : 0); -} - -public boolean setPropertyList(id plist, NSString dataType) { - return OS.objc_msgSend_bool(this.id, OS.sel_setPropertyList_forType_, plist != null ? plist.id : 0, dataType != null ? dataType.id : 0); -} - -public boolean setString(NSString string, NSString dataType) { - return OS.objc_msgSend_bool(this.id, OS.sel_setString_forType_, string != null ? string.id : 0, dataType != null ? dataType.id : 0); -} - -public NSString stringForType(NSString dataType) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringForType_, dataType != null ? dataType.id : 0); - return result != 0 ? new NSString(result) : null; -} - -public NSArray types() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_types); - return result != 0 ? new NSArray(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPoint.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPoint.java deleted file mode 100755 index e07dfd350a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPoint.java +++ /dev/null @@ -1,22 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - - -public class NSPoint { - public float /*double*/ x; - public float /*double*/ y; - public static final int sizeof = OS.NSPoint_sizeof(); - - public String toString() { - return "NSPoint{" + x + "," + y + "}"; - } -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPopUpButton.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPopUpButton.java deleted file mode 100644 index c74656f185..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPopUpButton.java +++ /dev/null @@ -1,92 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSPopUpButton extends NSButton { - -public NSPopUpButton() { - super(); -} - -public NSPopUpButton(int /*long*/ id) { - super(id); -} - -public NSPopUpButton(id id) { - super(id); -} - -public int /*long*/ indexOfSelectedItem() { - return OS.objc_msgSend(this.id, OS.sel_indexOfSelectedItem); -} - -public NSPopUpButton initWithFrame(NSRect buttonFrame, boolean flag) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFrame_pullsDown_, buttonFrame, flag); - return result == this.id ? this : (result != 0 ? new NSPopUpButton(result) : null); -} - -public NSMenuItem itemAtIndex(int /*long*/ index) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemAtIndex_, index); - return result != 0 ? new NSMenuItem(result) : null; -} - -public NSString itemTitleAtIndex(int /*long*/ index) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemTitleAtIndex_, index); - return result != 0 ? new NSString(result) : null; -} - -public NSMenu menu() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_menu); - return result != 0 ? new NSMenu(result) : null; -} - -public int /*long*/ numberOfItems() { - return OS.objc_msgSend(this.id, OS.sel_numberOfItems); -} - -public void removeAllItems() { - OS.objc_msgSend(this.id, OS.sel_removeAllItems); -} - -public void removeItemAtIndex(int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_removeItemAtIndex_, index); -} - -public void selectItem(NSMenuItem item) { - OS.objc_msgSend(this.id, OS.sel_selectItem_, item != null ? item.id : 0); -} - -public void selectItemAtIndex(int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_selectItemAtIndex_, index); -} - -public void setAutoenablesItems(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAutoenablesItems_, flag); -} - -public void setPullsDown(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setPullsDown_, flag); -} - -public NSString titleOfSelectedItem() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_titleOfSelectedItem); - return result != 0 ? new NSString(result) : null; -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSPopUpButton, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSPopUpButton, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintInfo.java deleted file mode 100644 index 41a58a9f09..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintInfo.java +++ /dev/null @@ -1,89 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSPrintInfo extends NSObject { - -public NSPrintInfo() { - super(); -} - -public NSPrintInfo(int /*long*/ id) { - super(id); -} - -public NSPrintInfo(id id) { - super(id); -} - -public static NSPrinter defaultPrinter() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSPrintInfo, OS.sel_defaultPrinter); - return result != 0 ? new NSPrinter(result) : null; -} - -public NSMutableDictionary dictionary() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dictionary); - return result != 0 ? new NSMutableDictionary(result) : null; -} - -public NSRect imageablePageBounds() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_imageablePageBounds); - return result; -} - -public NSPrintInfo initWithDictionary(NSDictionary attributes) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithDictionary_, attributes != null ? attributes.id : 0); - return result == this.id ? this : (result != 0 ? new NSPrintInfo(result) : null); -} - -public NSString jobDisposition() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_jobDisposition); - return result != 0 ? new NSString(result) : null; -} - -public int /*long*/ orientation() { - return OS.objc_msgSend(this.id, OS.sel_orientation); -} - -public NSSize paperSize() { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_paperSize); - return result; -} - -public NSPrinter printer() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_printer); - return result != 0 ? new NSPrinter(result) : null; -} - -public void setJobDisposition(NSString disposition) { - OS.objc_msgSend(this.id, OS.sel_setJobDisposition_, disposition != null ? disposition.id : 0); -} - -public void setOrientation(int /*long*/ orientation) { - OS.objc_msgSend(this.id, OS.sel_setOrientation_, orientation); -} - -public void setPrinter(NSPrinter printer) { - OS.objc_msgSend(this.id, OS.sel_setPrinter_, printer != null ? printer.id : 0); -} - -public void setUpPrintOperationDefaultValues() { - OS.objc_msgSend(this.id, OS.sel_setUpPrintOperationDefaultValues); -} - -public static NSPrintInfo sharedPrintInfo() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSPrintInfo, OS.sel_sharedPrintInfo); - return result != 0 ? new NSPrintInfo(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintOperation.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintOperation.java deleted file mode 100644 index 7468f1ac09..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintOperation.java +++ /dev/null @@ -1,74 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSPrintOperation extends NSObject { - -public NSPrintOperation() { - super(); -} - -public NSPrintOperation(int /*long*/ id) { - super(id); -} - -public NSPrintOperation(id id) { - super(id); -} - -public void cleanUpOperation() { - OS.objc_msgSend(this.id, OS.sel_cleanUpOperation); -} - -public NSGraphicsContext context() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_context); - return result != 0 ? new NSGraphicsContext(result) : null; -} - -public NSGraphicsContext createContext() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_createContext); - return result != 0 ? new NSGraphicsContext(result) : null; -} - -public boolean deliverResult() { - return OS.objc_msgSend_bool(this.id, OS.sel_deliverResult); -} - -public void destroyContext() { - OS.objc_msgSend(this.id, OS.sel_destroyContext); -} - -public static NSPrintOperation printOperationWithView(NSView view, NSPrintInfo printInfo) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSPrintOperation, OS.sel_printOperationWithView_printInfo_, view != null ? view.id : 0, printInfo != null ? printInfo.id : 0); - return result != 0 ? new NSPrintOperation(result) : null; -} - -public boolean runOperation() { - return OS.objc_msgSend_bool(this.id, OS.sel_runOperation); -} - -public static void setCurrentOperation(NSPrintOperation operation) { - OS.objc_msgSend(OS.class_NSPrintOperation, OS.sel_setCurrentOperation_, operation != null ? operation.id : 0); -} - -public void setJobTitle(NSString jobTitle) { - OS.objc_msgSend(this.id, OS.sel_setJobTitle_, jobTitle != null ? jobTitle.id : 0); -} - -public void setShowsPrintPanel(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setShowsPrintPanel_, flag); -} - -public void setShowsProgressPanel(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setShowsProgressPanel_, flag); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintPanel.java deleted file mode 100644 index 46440aec83..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintPanel.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSPrintPanel extends NSObject { - -public NSPrintPanel() { - super(); -} - -public NSPrintPanel(int /*long*/ id) { - super(id); -} - -public NSPrintPanel(id id) { - super(id); -} - -public void beginSheetWithPrintInfo(NSPrintInfo printInfo, NSWindow docWindow, id delegate, int /*long*/ didEndSelector, int /*long*/ contextInfo) { - OS.objc_msgSend(this.id, OS.sel_beginSheetWithPrintInfo_modalForWindow_delegate_didEndSelector_contextInfo_, printInfo != null ? printInfo.id : 0, docWindow != null ? docWindow.id : 0, delegate != null ? delegate.id : 0, didEndSelector, contextInfo); -} - -public int /*long*/ options() { - return OS.objc_msgSend(this.id, OS.sel_options); -} - -public static NSPrintPanel printPanel() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSPrintPanel, OS.sel_printPanel); - return result != 0 ? new NSPrintPanel(result) : null; -} - -public int /*long*/ runModalWithPrintInfo(NSPrintInfo printInfo) { - return OS.objc_msgSend(this.id, OS.sel_runModalWithPrintInfo_, printInfo != null ? printInfo.id : 0); -} - -public void setOptions(int /*long*/ options) { - OS.objc_msgSend(this.id, OS.sel_setOptions_, options); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java deleted file mode 100644 index 16be33739e..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrinter.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSPrinter extends NSObject { - -public NSPrinter() { - super(); -} - -public NSPrinter(int /*long*/ id) { - super(id); -} - -public NSPrinter(id id) { - super(id); -} - -public NSString name() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_name); - return result != 0 ? new NSString(result) : null; -} - -public static NSArray printerNames() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSPrinter, OS.sel_printerNames); - return result != 0 ? new NSArray(result) : null; -} - -public static NSPrinter printerWithName(NSString name) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSPrinter, OS.sel_printerWithName_, name != null ? name.id : 0); - return result != 0 ? new NSPrinter(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSProgressIndicator.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSProgressIndicator.java deleted file mode 100644 index 7f1fd6bf0e..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSProgressIndicator.java +++ /dev/null @@ -1,79 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSProgressIndicator extends NSView { - -public NSProgressIndicator() { - super(); -} - -public NSProgressIndicator(int /*long*/ id) { - super(id); -} - -public NSProgressIndicator(id id) { - super(id); -} - -public int /*long*/ controlSize() { - return OS.objc_msgSend(this.id, OS.sel_controlSize); -} - -public double doubleValue() { - return OS.objc_msgSend_fpret(this.id, OS.sel_doubleValue); -} - -public double maxValue() { - return OS.objc_msgSend_fpret(this.id, OS.sel_maxValue); -} - -public double minValue() { - return OS.objc_msgSend_fpret(this.id, OS.sel_minValue); -} - -public void setControlSize(int /*long*/ size) { - OS.objc_msgSend(this.id, OS.sel_setControlSize_, size); -} - -public void setDoubleValue(double doubleValue) { - OS.objc_msgSend(this.id, OS.sel_setDoubleValue_, doubleValue); -} - -public void setIndeterminate(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setIndeterminate_, flag); -} - -public void setMaxValue(double newMaximum) { - OS.objc_msgSend(this.id, OS.sel_setMaxValue_, newMaximum); -} - -public void setMinValue(double newMinimum) { - OS.objc_msgSend(this.id, OS.sel_setMinValue_, newMinimum); -} - -public void setUsesThreadedAnimation(boolean threadedAnimation) { - OS.objc_msgSend(this.id, OS.sel_setUsesThreadedAnimation_, threadedAnimation); -} - -public void sizeToFit() { - OS.objc_msgSend(this.id, OS.sel_sizeToFit); -} - -public void startAnimation(id sender) { - OS.objc_msgSend(this.id, OS.sel_startAnimation_, sender != null ? sender.id : 0); -} - -public void stopAnimation(id sender) { - OS.objc_msgSend(this.id, OS.sel_stopAnimation_, sender != null ? sender.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRange.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRange.java deleted file mode 100644 index e6758c29c3..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRange.java +++ /dev/null @@ -1,17 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSRange { - public int /*long*/ location; - public int /*long*/ length; - public static int sizeof = OS.NSRange_sizeof(); -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRect.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRect.java deleted file mode 100755 index 31a378b732..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRect.java +++ /dev/null @@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - - -public class NSRect { - /** @field accessor=origin.x */ - public float /*double*/ x; - /** @field accessor=origin.y */ - public float /*double*/ y; - /** @field accessor=size.width */ - public float /*double*/ width; - /** @field accessor=size.height */ - public float /*double*/ height; - public static final int sizeof = OS.NSRect_sizeof(); - - public String toString() { - return "NSRect{" + x + "," + y + "," + width + "," + height + "}"; - } -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSResponder.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSResponder.java deleted file mode 100644 index cbc51fe8c3..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSResponder.java +++ /dev/null @@ -1,147 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSResponder extends NSObject { - -public NSResponder() { - super(); -} - -public NSResponder(int /*long*/ id) { - super(id); -} - -public NSResponder(id id) { - super(id); -} - -public boolean acceptsFirstResponder() { - return OS.objc_msgSend_bool(this.id, OS.sel_acceptsFirstResponder); -} - -public boolean becomeFirstResponder() { - return OS.objc_msgSend_bool(this.id, OS.sel_becomeFirstResponder); -} - -public void cursorUpdate(NSEvent event) { - OS.objc_msgSend(this.id, OS.sel_cursorUpdate_, event != null ? event.id : 0); -} - -public void doCommandBySelector(int /*long*/ aSelector) { - OS.objc_msgSend(this.id, OS.sel_doCommandBySelector_, aSelector); -} - -public void flagsChanged(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_flagsChanged_, theEvent != null ? theEvent.id : 0); -} - -public void helpRequested(NSEvent eventPtr) { - OS.objc_msgSend(this.id, OS.sel_helpRequested_, eventPtr != null ? eventPtr.id : 0); -} - -public void insertText(id insertString) { - OS.objc_msgSend(this.id, OS.sel_insertText_, insertString != null ? insertString.id : 0); -} - -public void interpretKeyEvents(NSArray eventArray) { - OS.objc_msgSend(this.id, OS.sel_interpretKeyEvents_, eventArray != null ? eventArray.id : 0); -} - -public void keyDown(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_keyDown_, theEvent != null ? theEvent.id : 0); -} - -public void keyUp(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_keyUp_, theEvent != null ? theEvent.id : 0); -} - -public void mouseDown(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_mouseDown_, theEvent != null ? theEvent.id : 0); -} - -public void mouseDragged(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_mouseDragged_, theEvent != null ? theEvent.id : 0); -} - -public void mouseEntered(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_mouseEntered_, theEvent != null ? theEvent.id : 0); -} - -public void mouseExited(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_mouseExited_, theEvent != null ? theEvent.id : 0); -} - -public void mouseMoved(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_mouseMoved_, theEvent != null ? theEvent.id : 0); -} - -public void mouseUp(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_mouseUp_, theEvent != null ? theEvent.id : 0); -} - -public void moveToBeginningOfParagraph(id sender) { - OS.objc_msgSend(this.id, OS.sel_moveToBeginningOfParagraph_, sender != null ? sender.id : 0); -} - -public void moveToEndOfParagraph(id sender) { - OS.objc_msgSend(this.id, OS.sel_moveToEndOfParagraph_, sender != null ? sender.id : 0); -} - -public void moveUp(id sender) { - OS.objc_msgSend(this.id, OS.sel_moveUp_, sender != null ? sender.id : 0); -} - -public void noResponderFor(int /*long*/ eventSelector) { - OS.objc_msgSend(this.id, OS.sel_noResponderFor_, eventSelector); -} - -public void otherMouseDown(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_otherMouseDown_, theEvent != null ? theEvent.id : 0); -} - -public void otherMouseDragged(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_otherMouseDragged_, theEvent != null ? theEvent.id : 0); -} - -public void otherMouseUp(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_otherMouseUp_, theEvent != null ? theEvent.id : 0); -} - -public void pageDown(id sender) { - OS.objc_msgSend(this.id, OS.sel_pageDown_, sender != null ? sender.id : 0); -} - -public void pageUp(id sender) { - OS.objc_msgSend(this.id, OS.sel_pageUp_, sender != null ? sender.id : 0); -} - -public boolean resignFirstResponder() { - return OS.objc_msgSend_bool(this.id, OS.sel_resignFirstResponder); -} - -public void rightMouseDown(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_rightMouseDown_, theEvent != null ? theEvent.id : 0); -} - -public void rightMouseDragged(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_rightMouseDragged_, theEvent != null ? theEvent.id : 0); -} - -public void rightMouseUp(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_rightMouseUp_, theEvent != null ? theEvent.id : 0); -} - -public void scrollWheel(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_scrollWheel_, theEvent != null ? theEvent.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRunLoop.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRunLoop.java deleted file mode 100644 index 20b95c118e..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSRunLoop.java +++ /dev/null @@ -1,45 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSRunLoop extends NSObject { - -public NSRunLoop() { - super(); -} - -public NSRunLoop(int /*long*/ id) { - super(id); -} - -public NSRunLoop(id id) { - super(id); -} - -public void addTimer(NSTimer timer, NSString mode) { - OS.objc_msgSend(this.id, OS.sel_addTimer_forMode_, timer != null ? timer.id : 0, mode != null ? mode.id : 0); -} - -public static NSRunLoop currentRunLoop() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSRunLoop, OS.sel_currentRunLoop); - return result != 0 ? new NSRunLoop(result) : null; -} - -public static NSRunLoop mainRunLoop() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSRunLoop, OS.sel_mainRunLoop); - return result != 0 ? new NSRunLoop(result) : null; -} - -public boolean runMode(NSString mode, NSDate limitDate) { - return OS.objc_msgSend_bool(this.id, OS.sel_runMode_beforeDate_, mode != null ? mode.id : 0, limitDate != null ? limitDate.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSavePanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSavePanel.java deleted file mode 100644 index e455c2975a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSavePanel.java +++ /dev/null @@ -1,73 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSSavePanel extends NSPanel { - -public NSSavePanel() { - super(); -} - -public NSSavePanel(int /*long*/ id) { - super(id); -} - -public NSSavePanel(id id) { - super(id); -} - -public NSString filename() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_filename); - return result != 0 ? new NSString(result) : null; -} - -public int /*long*/ runModal() { - return OS.objc_msgSend(this.id, OS.sel_runModal); -} - -public int /*long*/ runModalForDirectory(NSString path, NSString name) { - return OS.objc_msgSend(this.id, OS.sel_runModalForDirectory_file_, path != null ? path.id : 0, name != null ? name.id : 0); -} - -public static NSSavePanel savePanel() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSSavePanel, OS.sel_savePanel); - return result != 0 ? new NSSavePanel(result) : null; -} - -public void setAccessoryView(NSView view) { - OS.objc_msgSend(this.id, OS.sel_setAccessoryView_, view != null ? view.id : 0); -} - -public void setCanCreateDirectories(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setCanCreateDirectories_, flag); -} - -public void setDirectory(NSString path) { - OS.objc_msgSend(this.id, OS.sel_setDirectory_, path != null ? path.id : 0); -} - -public void setMessage(NSString message) { - OS.objc_msgSend(this.id, OS.sel_setMessage_, message != null ? message.id : 0); -} - -public void setTitle(NSString title) { - OS.objc_msgSend(this.id, OS.sel_setTitle_, title != null ? title.id : 0); -} - -public void validateVisibleColumns() { - OS.objc_msgSend(this.id, OS.sel_validateVisibleColumns); -} - -public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { - return (float)OS.objc_msgSend_fpret(OS.class_NSSavePanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java deleted file mode 100644 index f6bf26b2f4..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java +++ /dev/null @@ -1,58 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSScreen extends NSObject { - -public NSScreen() { - super(); -} - -public NSScreen(int /*long*/ id) { - super(id); -} - -public NSScreen(id id) { - super(id); -} - -public int depth() { - return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_depth); -} - -public NSDictionary deviceDescription() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_deviceDescription); - return result != 0 ? new NSDictionary(result) : null; -} - -public NSRect frame() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_frame); - return result; -} - -public static NSScreen mainScreen() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSScreen, OS.sel_mainScreen); - return result != 0 ? new NSScreen(result) : null; -} - -public static NSArray screens() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSScreen, OS.sel_screens); - return result != 0 ? new NSArray(result) : null; -} - -public NSRect visibleFrame() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_visibleFrame); - return result; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScrollView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScrollView.java deleted file mode 100644 index 91969389e3..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScrollView.java +++ /dev/null @@ -1,97 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSScrollView extends NSView { - -public NSScrollView() { - super(); -} - -public NSScrollView(int /*long*/ id) { - super(id); -} - -public NSScrollView(id id) { - super(id); -} - -public NSSize contentSize() { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_contentSize); - return result; -} - -public static NSSize contentSizeForFrameSize(NSSize fSize, boolean hFlag, boolean vFlag, int /*long*/ aType) { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, OS.class_NSScrollView, OS.sel_contentSizeForFrameSize_hasHorizontalScroller_hasVerticalScroller_borderType_, fSize, hFlag, vFlag, aType); - return result; -} - -public NSClipView contentView() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_contentView); - return result != 0 ? new NSClipView(result) : null; -} - -public NSView documentView() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_documentView); - return result != 0 ? new NSView(result) : null; -} - -public NSRect documentVisibleRect() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_documentVisibleRect); - return result; -} - -public static NSSize frameSizeForContentSize(NSSize cSize, boolean hFlag, boolean vFlag, int /*long*/ aType) { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, OS.class_NSScrollView, OS.sel_frameSizeForContentSize_hasHorizontalScroller_hasVerticalScroller_borderType_, cSize, hFlag, vFlag, aType); - return result; -} - -public void reflectScrolledClipView(NSClipView cView) { - OS.objc_msgSend(this.id, OS.sel_reflectScrolledClipView_, cView != null ? cView.id : 0); -} - -public void setAutohidesScrollers(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAutohidesScrollers_, flag); -} - -public void setBorderType(int /*long*/ aType) { - OS.objc_msgSend(this.id, OS.sel_setBorderType_, aType); -} - -public void setDocumentView(NSView aView) { - OS.objc_msgSend(this.id, OS.sel_setDocumentView_, aView != null ? aView.id : 0); -} - -public void setDrawsBackground(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setDrawsBackground_, flag); -} - -public void setHasHorizontalScroller(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setHasHorizontalScroller_, flag); -} - -public void setHasVerticalScroller(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setHasVerticalScroller_, flag); -} - -public void setHorizontalScroller(NSScroller anObject) { - OS.objc_msgSend(this.id, OS.sel_setHorizontalScroller_, anObject != null ? anObject.id : 0); -} - -public void setVerticalScroller(NSScroller anObject) { - OS.objc_msgSend(this.id, OS.sel_setVerticalScroller_, anObject != null ? anObject.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScroller.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScroller.java deleted file mode 100644 index 95c8694dd7..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScroller.java +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSScroller extends NSControl { - -public NSScroller() { - super(); -} - -public NSScroller(int /*long*/ id) { - super(id); -} - -public NSScroller(id id) { - super(id); -} - -public int /*long*/ controlSize() { - return OS.objc_msgSend(this.id, OS.sel_controlSize); -} - -public int /*long*/ hitPart() { - return OS.objc_msgSend(this.id, OS.sel_hitPart); -} - -public static float /*double*/ scrollerWidth() { - return (float)OS.objc_msgSend_fpret(OS.class_NSScroller, OS.sel_scrollerWidth); -} - -public static float /*double*/ scrollerWidthForControlSize(int /*long*/ controlSize) { - return (float)OS.objc_msgSend_fpret(OS.class_NSScroller, OS.sel_scrollerWidthForControlSize_, controlSize); -} - -public void setControlSize(int /*long*/ controlSize) { - OS.objc_msgSend(this.id, OS.sel_setControlSize_, controlSize); -} - -public void setFloatValue(float aFloat, float /*double*/ proportion) { - OS.objc_msgSend(this.id, OS.sel_setFloatValue_knobProportion_, aFloat, proportion); -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSScroller, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSScroller, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchField.java deleted file mode 100644 index d13e0df24e..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchField.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSSearchField extends NSTextField { - -public NSSearchField() { - super(); -} - -public NSSearchField(int /*long*/ id) { - super(id); -} - -public NSSearchField(id id) { - super(id); -} - -public NSArray recentSearches() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_recentSearches); - return result != 0 ? new NSArray(result) : null; -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSSearchField, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSSearchField, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchFieldCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchFieldCell.java deleted file mode 100644 index 8829bf0eb3..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchFieldCell.java +++ /dev/null @@ -1,51 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSSearchFieldCell extends NSTextFieldCell { - -public NSSearchFieldCell() { - super(); -} - -public NSSearchFieldCell(int /*long*/ id) { - super(id); -} - -public NSSearchFieldCell(id id) { - super(id); -} - -public NSButtonCell cancelButtonCell() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_cancelButtonCell); - return result != 0 ? new NSButtonCell(result) : null; -} - -public NSButtonCell searchButtonCell() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_searchButtonCell); - return result != 0 ? new NSButtonCell(result) : null; -} - -public NSRect searchTextRectForBounds(NSRect rect) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_searchTextRectForBounds_, rect); - return result; -} - -public void setCancelButtonCell(NSButtonCell cell) { - OS.objc_msgSend(this.id, OS.sel_setCancelButtonCell_, cell != null ? cell.id : 0); -} - -public void setSearchButtonCell(NSButtonCell cell) { - OS.objc_msgSend(this.id, OS.sel_setSearchButtonCell_, cell != null ? cell.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSecureTextField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSecureTextField.java deleted file mode 100644 index 58fe71687f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSecureTextField.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSSecureTextField extends NSTextField { - -public NSSecureTextField() { - super(); -} - -public NSSecureTextField(int /*long*/ id) { - super(id); -} - -public NSSecureTextField(id id) { - super(id); -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSSecureTextField, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSSecureTextField, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSegmentedCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSegmentedCell.java deleted file mode 100644 index 26a7d166e3..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSegmentedCell.java +++ /dev/null @@ -1,75 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSSegmentedCell extends NSActionCell { - -public NSSegmentedCell() { - super(); -} - -public NSSegmentedCell(int /*long*/ id) { - super(id); -} - -public NSSegmentedCell(id id) { - super(id); -} - -public void setEnabled(boolean enabled, int /*long*/ segment) { - OS.objc_msgSend(this.id, OS.sel_setEnabled_forSegment_, enabled, segment); -} - -public void setImage(NSImage image, int /*long*/ segment) { - OS.objc_msgSend(this.id, OS.sel_setImage_forSegment_, image != null ? image.id : 0, segment); -} - -public void setLabel(NSString label, int /*long*/ segment) { - OS.objc_msgSend(this.id, OS.sel_setLabel_forSegment_, label != null ? label.id : 0, segment); -} - -public void setMenu(NSMenu menu, int /*long*/ segment) { - OS.objc_msgSend(this.id, OS.sel_setMenu_forSegment_, menu != null ? menu.id : 0, segment); -} - -public void setSegmentCount(int /*long*/ count) { - OS.objc_msgSend(this.id, OS.sel_setSegmentCount_, count); -} - -public void setSegmentStyle(int /*long*/ segmentStyle) { - OS.objc_msgSend(this.id, OS.sel_setSegmentStyle_, segmentStyle); -} - -public void setSelected(boolean selected, int /*long*/ segment) { - OS.objc_msgSend(this.id, OS.sel_setSelected_forSegment_, selected, segment); -} - -public void setSelectedSegment(int /*long*/ selectedSegment) { - OS.objc_msgSend(this.id, OS.sel_setSelectedSegment_, selectedSegment); -} - -public void setTag(int /*long*/ tag, int /*long*/ segment) { - OS.objc_msgSend(this.id, OS.sel_setTag_forSegment_, tag, segment); -} - -public void setToolTip(NSString toolTip, int /*long*/ segment) { - OS.objc_msgSend(this.id, OS.sel_setToolTip_forSegment_, toolTip != null ? toolTip.id : 0, segment); -} - -public void setTrackingMode(int /*long*/ trackingMode) { - OS.objc_msgSend(this.id, OS.sel_setTrackingMode_, trackingMode); -} - -public void setWidth(float /*double*/ width, int /*long*/ segment) { - OS.objc_msgSend(this.id, OS.sel_setWidth_forSegment_, width, segment); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSet.java deleted file mode 100644 index ed6afccfe8..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSet.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSSet extends NSObject { - -public NSSet() { - super(); -} - -public NSSet(int /*long*/ id) { - super(id); -} - -public NSSet(id id) { - super(id); -} - -public int /*long*/ count() { - return OS.objc_msgSend(this.id, OS.sel_count); -} - -public NSEnumerator objectEnumerator() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectEnumerator); - return result != 0 ? new NSEnumerator(result) : null; -} - -public static NSSet set() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSSet, OS.sel_set); - return result != 0 ? new NSSet(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSize.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSize.java deleted file mode 100755 index 9be69e93fc..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSize.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.swt.internal.cocoa; - - -public class NSSize { - public float /*double*/ width; - public float /*double*/ height; - public static final int sizeof = OS.NSSize_sizeof(); - - public String toString() { - return "NSSize{" + width + "," + height + "}"; - } -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSlider.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSlider.java deleted file mode 100644 index b69a139b2f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSlider.java +++ /dev/null @@ -1,55 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSSlider extends NSControl { - -public NSSlider() { - super(); -} - -public NSSlider(int /*long*/ id) { - super(id); -} - -public NSSlider(id id) { - super(id); -} - -public float /*double*/ knobThickness() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_knobThickness); -} - -public double maxValue() { - return OS.objc_msgSend_fpret(this.id, OS.sel_maxValue); -} - -public double minValue() { - return OS.objc_msgSend_fpret(this.id, OS.sel_minValue); -} - -public void setMaxValue(double aDouble) { - OS.objc_msgSend(this.id, OS.sel_setMaxValue_, aDouble); -} - -public void setMinValue(double aDouble) { - OS.objc_msgSend(this.id, OS.sel_setMinValue_, aDouble); -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSSlider, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSSlider, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusBar.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusBar.java deleted file mode 100644 index c457ccf275..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusBar.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSStatusBar extends NSObject { - -public NSStatusBar() { - super(); -} - -public NSStatusBar(int /*long*/ id) { - super(id); -} - -public NSStatusBar(id id) { - super(id); -} - -public void removeStatusItem(NSStatusItem item) { - OS.objc_msgSend(this.id, OS.sel_removeStatusItem_, item != null ? item.id : 0); -} - -public NSStatusItem statusItemWithLength(float /*double*/ length) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_statusItemWithLength_, length); - return result != 0 ? new NSStatusItem(result) : null; -} - -public static NSStatusBar systemStatusBar() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSStatusBar, OS.sel_systemStatusBar); - return result != 0 ? new NSStatusBar(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusItem.java deleted file mode 100644 index 0b5f65cbb1..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStatusItem.java +++ /dev/null @@ -1,47 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSStatusItem extends NSObject { - -public NSStatusItem() { - super(); -} - -public NSStatusItem(int /*long*/ id) { - super(id); -} - -public NSStatusItem(id id) { - super(id); -} - -public void drawStatusBarBackgroundInRect(NSRect rect, boolean highlight) { - OS.objc_msgSend(this.id, OS.sel_drawStatusBarBackgroundInRect_withHighlight_, rect, highlight); -} - -public void popUpStatusItemMenu(NSMenu menu) { - OS.objc_msgSend(this.id, OS.sel_popUpStatusItemMenu_, menu != null ? menu.id : 0); -} - -public void setHighlightMode(boolean highlightMode) { - OS.objc_msgSend(this.id, OS.sel_setHighlightMode_, highlightMode); -} - -public void setLength(float /*double*/ length) { - OS.objc_msgSend(this.id, OS.sel_setLength_, length); -} - -public void setView(NSView view) { - OS.objc_msgSend(this.id, OS.sel_setView_, view != null ? view.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStepper.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStepper.java deleted file mode 100644 index f3b8d78d39..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSStepper.java +++ /dev/null @@ -1,63 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSStepper extends NSControl { - -public NSStepper() { - super(); -} - -public NSStepper(int /*long*/ id) { - super(id); -} - -public NSStepper(id id) { - super(id); -} - -public double increment() { - return OS.objc_msgSend_fpret(this.id, OS.sel_increment); -} - -public double maxValue() { - return OS.objc_msgSend_fpret(this.id, OS.sel_maxValue); -} - -public double minValue() { - return OS.objc_msgSend_fpret(this.id, OS.sel_minValue); -} - -public void setIncrement(double increment) { - OS.objc_msgSend(this.id, OS.sel_setIncrement_, increment); -} - -public void setMaxValue(double maxValue) { - OS.objc_msgSend(this.id, OS.sel_setMaxValue_, maxValue); -} - -public void setMinValue(double minValue) { - OS.objc_msgSend(this.id, OS.sel_setMinValue_, minValue); -} - -public void setValueWraps(boolean valueWraps) { - OS.objc_msgSend(this.id, OS.sel_setValueWraps_, valueWraps); -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSStepper, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSStepper, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSString.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSString.java deleted file mode 100644 index 98eca712af..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSString.java +++ /dev/null @@ -1,136 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSString extends NSObject { - -public NSString() { - super(); -} - -public NSString(int /*long*/ id) { - super(id); -} - -public NSString(id id) { - super(id); -} - -public String getString() { - char[] buffer = new char[(int)/*64*/length()]; - getCharacters(buffer); - return new String(buffer); -} - -public static NSString stringWith(String str) { - char[] buffer = new char[str.length()]; - str.getChars(0, buffer.length, buffer, 0); - return stringWithCharacters(buffer, buffer.length); -} - -public int /*long*/ UTF8String() { - return OS.objc_msgSend(this.id, OS.sel_UTF8String); -} - -public int /*long*/ characterAtIndex(int /*long*/ index) { - return OS.objc_msgSend(this.id, OS.sel_characterAtIndex_, index); -} - -public int /*long*/ compare(NSString string) { - return OS.objc_msgSend(this.id, OS.sel_compare_, string != null ? string.id : 0); -} - -public int /*long*/ fileSystemRepresentation() { - return OS.objc_msgSend(this.id, OS.sel_fileSystemRepresentation); -} - -public void getCharacters(char[] buffer) { - OS.objc_msgSend(this.id, OS.sel_getCharacters_, buffer); -} - -public void getCharacters(char[] buffer, NSRange aRange) { - OS.objc_msgSend(this.id, OS.sel_getCharacters_range_, buffer, aRange); -} - -public NSString initWithCharacters(char[] characters, int /*long*/ length) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithCharacters_length_, characters, length); - return result == this.id ? this : (result != 0 ? new NSString(result) : null); -} - -public boolean isEqualToString(NSString aString) { - return OS.objc_msgSend_bool(this.id, OS.sel_isEqualToString_, aString != null ? aString.id : 0); -} - -public NSString lastPathComponent() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_lastPathComponent); - return result == this.id ? this : (result != 0 ? new NSString(result) : null); -} - -public int /*long*/ length() { - return OS.objc_msgSend(this.id, OS.sel_length); -} - -public NSString lowercaseString() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_lowercaseString); - return result == this.id ? this : (result != 0 ? new NSString(result) : null); -} - -public NSString pathExtension() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_pathExtension); - return result == this.id ? this : (result != 0 ? new NSString(result) : null); -} - -public NSString stringByAddingPercentEscapesUsingEncoding(int /*long*/ enc) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByAddingPercentEscapesUsingEncoding_, enc); - return result == this.id ? this : (result != 0 ? new NSString(result) : null); -} - -public NSString stringByAppendingPathComponent(NSString str) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByAppendingPathComponent_, str != null ? str.id : 0); - return result == this.id ? this : (result != 0 ? new NSString(result) : null); -} - -public NSString stringByAppendingString(NSString aString) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByAppendingString_, aString != null ? aString.id : 0); - return result == this.id ? this : (result != 0 ? new NSString(result) : null); -} - -public NSString stringByDeletingLastPathComponent() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByDeletingLastPathComponent); - return result == this.id ? this : (result != 0 ? new NSString(result) : null); -} - -public NSString stringByDeletingPathExtension() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByDeletingPathExtension); - return result == this.id ? this : (result != 0 ? new NSString(result) : null); -} - -public NSString stringByReplacingOccurrencesOfString(NSString target, NSString replacement) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByReplacingOccurrencesOfString_withString_, target != null ? target.id : 0, replacement != null ? replacement.id : 0); - return result == this.id ? this : (result != 0 ? new NSString(result) : null); -} - -public static NSString stringWithCharacters(char[] characters, int /*long*/ length) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSString, OS.sel_stringWithCharacters_length_, characters, length); - return result != 0 ? new NSString(result) : null; -} - -public static NSString stringWithFormat(NSString stringWithFormat) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSString, OS.sel_stringWithFormat_, stringWithFormat != null ? stringWithFormat.id : 0); - return result != 0 ? new NSString(result) : null; -} - -public static NSString stringWithUTF8String(int /*long*/ nullTerminatedCString) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSString, OS.sel_stringWithUTF8String_, nullTerminatedCString); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabView.java deleted file mode 100644 index 2f7a9a22f0..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabView.java +++ /dev/null @@ -1,81 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTabView extends NSView { - -public NSTabView() { - super(); -} - -public NSTabView(int /*long*/ id) { - super(id); -} - -public NSTabView(id id) { - super(id); -} - -public void addTabViewItem(NSTabViewItem tabViewItem) { - OS.objc_msgSend(this.id, OS.sel_addTabViewItem_, tabViewItem != null ? tabViewItem.id : 0); -} - -public NSRect contentRect() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_contentRect); - return result; -} - -public void insertTabViewItem(NSTabViewItem tabViewItem, int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_insertTabViewItem_atIndex_, tabViewItem != null ? tabViewItem.id : 0, index); -} - -public NSSize minimumSize() { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_minimumSize); - return result; -} - -public void removeTabViewItem(NSTabViewItem tabViewItem) { - OS.objc_msgSend(this.id, OS.sel_removeTabViewItem_, tabViewItem != null ? tabViewItem.id : 0); -} - -public void selectTabViewItemAtIndex(int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_selectTabViewItemAtIndex_, index); -} - -public NSTabViewItem selectedTabViewItem() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_selectedTabViewItem); - return result != 0 ? new NSTabViewItem(result) : null; -} - -public void setControlSize(int /*long*/ controlSize) { - OS.objc_msgSend(this.id, OS.sel_setControlSize_, controlSize); -} - -public void setDelegate(id anObject) { - OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); -} - -public void setFont(NSFont font) { - OS.objc_msgSend(this.id, OS.sel_setFont_, font != null ? font.id : 0); -} - -public void setTabViewType(int /*long*/ tabViewType) { - OS.objc_msgSend(this.id, OS.sel_setTabViewType_, tabViewType); -} - -public NSTabViewItem tabViewItemAtPoint(NSPoint point) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_tabViewItemAtPoint_, point); - return result != 0 ? new NSTabViewItem(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabViewItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabViewItem.java deleted file mode 100644 index c24dede666..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabViewItem.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTabViewItem extends NSObject { - -public NSTabViewItem() { - super(); -} - -public NSTabViewItem(int /*long*/ id) { - super(id); -} - -public NSTabViewItem(id id) { - super(id); -} - -public id initWithIdentifier(id identifier) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIdentifier_, identifier != null ? identifier.id : 0); - return result != 0 ? new id(result) : null; -} - -public void setLabel(NSString label) { - OS.objc_msgSend(this.id, OS.sel_setLabel_, label != null ? label.id : 0); -} - -public void setView(NSView view) { - OS.objc_msgSend(this.id, OS.sel_setView_, view != null ? view.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableColumn.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableColumn.java deleted file mode 100644 index ef36020bed..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableColumn.java +++ /dev/null @@ -1,78 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTableColumn extends NSObject { - -public NSTableColumn() { - super(); -} - -public NSTableColumn(int /*long*/ id) { - super(id); -} - -public NSTableColumn(id id) { - super(id); -} - -public NSCell dataCell() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dataCell); - return result != 0 ? new NSCell(result) : null; -} - -public NSTableHeaderCell headerCell() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_headerCell); - return result != 0 ? new NSTableHeaderCell(result) : null; -} - -public NSTableColumn initWithIdentifier(id identifier) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIdentifier_, identifier != null ? identifier.id : 0); - return result == this.id ? this : (result != 0 ? new NSTableColumn(result) : null); -} - -public int /*long*/ resizingMask() { - return OS.objc_msgSend(this.id, OS.sel_resizingMask); -} - -public void setDataCell(NSCell cell) { - OS.objc_msgSend(this.id, OS.sel_setDataCell_, cell != null ? cell.id : 0); -} - -public void setEditable(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setEditable_, flag); -} - -public void setHeaderCell(NSCell cell) { - OS.objc_msgSend(this.id, OS.sel_setHeaderCell_, cell != null ? cell.id : 0); -} - -public void setIdentifier(id identifier) { - OS.objc_msgSend(this.id, OS.sel_setIdentifier_, identifier != null ? identifier.id : 0); -} - -public void setMinWidth(float /*double*/ minWidth) { - OS.objc_msgSend(this.id, OS.sel_setMinWidth_, minWidth); -} - -public void setResizingMask(int /*long*/ resizingMask) { - OS.objc_msgSend(this.id, OS.sel_setResizingMask_, resizingMask); -} - -public void setWidth(float /*double*/ width) { - OS.objc_msgSend(this.id, OS.sel_setWidth_, width); -} - -public float /*double*/ width() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_width); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderCell.java deleted file mode 100644 index 1b6b109f4b..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderCell.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTableHeaderCell extends NSTextFieldCell { - -public NSTableHeaderCell() { - super(); -} - -public NSTableHeaderCell(int /*long*/ id) { - super(id); -} - -public NSTableHeaderCell(id id) { - super(id); -} - -public void drawSortIndicatorWithFrame(NSRect cellFrame, NSView controlView, boolean ascending, int /*long*/ priority) { - OS.objc_msgSend(this.id, OS.sel_drawSortIndicatorWithFrame_inView_ascending_priority_, cellFrame, controlView != null ? controlView.id : 0, ascending, priority); -} - -public NSRect sortIndicatorRectForBounds(NSRect theRect) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_sortIndicatorRectForBounds_, theRect); - return result; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderView.java deleted file mode 100644 index b3b5d16d08..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableHeaderView.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTableHeaderView extends NSView { - -public NSTableHeaderView() { - super(); -} - -public NSTableHeaderView(int /*long*/ id) { - super(id); -} - -public NSTableHeaderView(id id) { - super(id); -} - -public int /*long*/ columnAtPoint(NSPoint point) { - return OS.objc_msgSend(this.id, OS.sel_columnAtPoint_, point); -} - -public NSRect headerRectOfColumn(int /*long*/ column) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_headerRectOfColumn_, column); - return result; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableView.java deleted file mode 100644 index 9a97576e15..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableView.java +++ /dev/null @@ -1,254 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTableView extends NSControl { - -public NSTableView() { - super(); -} - -public NSTableView(int /*long*/ id) { - super(id); -} - -public NSTableView(id id) { - super(id); -} - -public void addTableColumn(NSTableColumn column) { - OS.objc_msgSend(this.id, OS.sel_addTableColumn_, column != null ? column.id : 0); -} - -public boolean allowsColumnReordering() { - return OS.objc_msgSend_bool(this.id, OS.sel_allowsColumnReordering); -} - -public boolean canDragRowsWithIndexes(NSIndexSet rowIndexes, NSPoint mouseDownPoint) { - return OS.objc_msgSend_bool(this.id, OS.sel_canDragRowsWithIndexes_atPoint_, rowIndexes != null ? rowIndexes.id : 0, mouseDownPoint); -} - -public int /*long*/ clickedColumn() { - return OS.objc_msgSend(this.id, OS.sel_clickedColumn); -} - -public int /*long*/ clickedRow() { - return OS.objc_msgSend(this.id, OS.sel_clickedRow); -} - -public int /*long*/ columnAtPoint(NSPoint point) { - return OS.objc_msgSend(this.id, OS.sel_columnAtPoint_, point); -} - -public NSIndexSet columnIndexesInRect(NSRect rect) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_columnIndexesInRect_, rect); - return result != 0 ? new NSIndexSet(result) : null; -} - -public int /*long*/ columnWithIdentifier(id identifier) { - return OS.objc_msgSend(this.id, OS.sel_columnWithIdentifier_, identifier != null ? identifier.id : 0); -} - -public void deselectAll(id sender) { - OS.objc_msgSend(this.id, OS.sel_deselectAll_, sender != null ? sender.id : 0); -} - -public void deselectRow(int /*long*/ row) { - OS.objc_msgSend(this.id, OS.sel_deselectRow_, row); -} - -public NSImage dragImageForRowsWithIndexes(NSIndexSet dragRows, NSArray tableColumns, NSEvent dragEvent, int /*long*/ dragImageOffset) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dragImageForRowsWithIndexes_tableColumns_event_offset_, dragRows != null ? dragRows.id : 0, tableColumns != null ? tableColumns.id : 0, dragEvent != null ? dragEvent.id : 0, dragImageOffset); - return result != 0 ? new NSImage(result) : null; -} - -public NSRect frameOfCellAtColumn(int /*long*/ column, int /*long*/ row) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_frameOfCellAtColumn_row_, column, row); - return result; -} - -public NSTableHeaderView headerView() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_headerView); - return result != 0 ? new NSTableHeaderView(result) : null; -} - -public void highlightSelectionInClipRect(NSRect clipRect) { - OS.objc_msgSend(this.id, OS.sel_highlightSelectionInClipRect_, clipRect); -} - -public NSSize intercellSpacing() { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_intercellSpacing); - return result; -} - -public boolean isRowSelected(int /*long*/ row) { - return OS.objc_msgSend_bool(this.id, OS.sel_isRowSelected_, row); -} - -public void moveColumn(int /*long*/ column, int /*long*/ newIndex) { - OS.objc_msgSend(this.id, OS.sel_moveColumn_toColumn_, column, newIndex); -} - -public void noteNumberOfRowsChanged() { - OS.objc_msgSend(this.id, OS.sel_noteNumberOfRowsChanged); -} - -public int /*long*/ numberOfColumns() { - return OS.objc_msgSend(this.id, OS.sel_numberOfColumns); -} - -public int /*long*/ numberOfRows() { - return OS.objc_msgSend(this.id, OS.sel_numberOfRows); -} - -public int /*long*/ numberOfSelectedRows() { - return OS.objc_msgSend(this.id, OS.sel_numberOfSelectedRows); -} - -public NSRect rectOfColumn(int /*long*/ column) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_rectOfColumn_, column); - return result; -} - -public NSRect rectOfRow(int /*long*/ row) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_rectOfRow_, row); - return result; -} - -public void reloadData() { - OS.objc_msgSend(this.id, OS.sel_reloadData); -} - -public void removeTableColumn(NSTableColumn column) { - OS.objc_msgSend(this.id, OS.sel_removeTableColumn_, column != null ? column.id : 0); -} - -public int /*long*/ rowAtPoint(NSPoint point) { - return OS.objc_msgSend(this.id, OS.sel_rowAtPoint_, point); -} - -public float /*double*/ rowHeight() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_rowHeight); -} - -public NSRange rowsInRect(NSRect rect) { - NSRange result = new NSRange(); - OS.objc_msgSend_stret(result, this.id, OS.sel_rowsInRect_, rect); - return result; -} - -public void scrollColumnToVisible(int /*long*/ column) { - OS.objc_msgSend(this.id, OS.sel_scrollColumnToVisible_, column); -} - -public void scrollRowToVisible(int /*long*/ row) { - OS.objc_msgSend(this.id, OS.sel_scrollRowToVisible_, row); -} - -public void selectAll(id sender) { - OS.objc_msgSend(this.id, OS.sel_selectAll_, sender != null ? sender.id : 0); -} - -public void selectRowIndexes(NSIndexSet indexes, boolean extend) { - OS.objc_msgSend(this.id, OS.sel_selectRowIndexes_byExtendingSelection_, indexes != null ? indexes.id : 0, extend); -} - -public int /*long*/ selectedRow() { - return OS.objc_msgSend(this.id, OS.sel_selectedRow); -} - -public NSIndexSet selectedRowIndexes() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_selectedRowIndexes); - return result != 0 ? new NSIndexSet(result) : null; -} - -public void setAllowsColumnReordering(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAllowsColumnReordering_, flag); -} - -public void setAllowsMultipleSelection(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAllowsMultipleSelection_, flag); -} - -public void setBackgroundColor(NSColor color) { - OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); -} - -public void setColumnAutoresizingStyle(int /*long*/ style) { - OS.objc_msgSend(this.id, OS.sel_setColumnAutoresizingStyle_, style); -} - -public void setDataSource(id aSource) { - OS.objc_msgSend(this.id, OS.sel_setDataSource_, aSource != null ? aSource.id : 0); -} - -public void setDelegate(id delegate) { - OS.objc_msgSend(this.id, OS.sel_setDelegate_, delegate != null ? delegate.id : 0); -} - -public void setDoubleAction(int /*long*/ aSelector) { - OS.objc_msgSend(this.id, OS.sel_setDoubleAction_, aSelector); -} - -public void setDropRow(int /*long*/ row, int /*long*/ op) { - OS.objc_msgSend(this.id, OS.sel_setDropRow_dropOperation_, row, op); -} - -public void setHeaderView(NSTableHeaderView headerView) { - OS.objc_msgSend(this.id, OS.sel_setHeaderView_, headerView != null ? headerView.id : 0); -} - -public void setHighlightedTableColumn(NSTableColumn tc) { - OS.objc_msgSend(this.id, OS.sel_setHighlightedTableColumn_, tc != null ? tc.id : 0); -} - -public void setIndicatorImage(NSImage anImage, NSTableColumn tc) { - OS.objc_msgSend(this.id, OS.sel_setIndicatorImage_inTableColumn_, anImage != null ? anImage.id : 0, tc != null ? tc.id : 0); -} - -public void setIntercellSpacing(NSSize aSize) { - OS.objc_msgSend(this.id, OS.sel_setIntercellSpacing_, aSize); -} - -public void setRowHeight(float /*double*/ rowHeight) { - OS.objc_msgSend(this.id, OS.sel_setRowHeight_, rowHeight); -} - -public void setUsesAlternatingRowBackgroundColors(boolean useAlternatingRowColors) { - OS.objc_msgSend(this.id, OS.sel_setUsesAlternatingRowBackgroundColors_, useAlternatingRowColors); -} - -public NSArray tableColumns() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_tableColumns); - return result != 0 ? new NSArray(result) : null; -} - -public void tile() { - OS.objc_msgSend(this.id, OS.sel_tile); -} - -public boolean usesAlternatingRowBackgroundColors() { - return OS.objc_msgSend_bool(this.id, OS.sel_usesAlternatingRowBackgroundColors); -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSTableView, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSTableView, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSText.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSText.java deleted file mode 100644 index d995f8fbf2..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSText.java +++ /dev/null @@ -1,128 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSText extends NSView { - -public NSText() { - super(); -} - -public NSText(int /*long*/ id) { - super(id); -} - -public NSText(id id) { - super(id); -} - -public void copy(id sender) { - OS.objc_msgSend(this.id, OS.sel_copy_, sender != null ? sender.id : 0); -} - -public void cut(id sender) { - OS.objc_msgSend(this.id, OS.sel_cut_, sender != null ? sender.id : 0); -} - -public id delegate() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_delegate); - return result != 0 ? new id(result) : null; -} - -public NSFont font() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_font); - return result != 0 ? new NSFont(result) : null; -} - -public void paste(id sender) { - OS.objc_msgSend(this.id, OS.sel_paste_, sender != null ? sender.id : 0); -} - -public void replaceCharactersInRange(NSRange range, NSString aString) { - OS.objc_msgSend(this.id, OS.sel_replaceCharactersInRange_withString_, range, aString != null ? aString.id : 0); -} - -public void scrollRangeToVisible(NSRange range) { - OS.objc_msgSend(this.id, OS.sel_scrollRangeToVisible_, range); -} - -public void selectAll(id sender) { - OS.objc_msgSend(this.id, OS.sel_selectAll_, sender != null ? sender.id : 0); -} - -public NSRange selectedRange() { - NSRange result = new NSRange(); - OS.objc_msgSend_stret(result, this.id, OS.sel_selectedRange); - return result; -} - -public void setAlignment(int /*long*/ mode) { - OS.objc_msgSend(this.id, OS.sel_setAlignment_, mode); -} - -public void setBackgroundColor(NSColor color) { - OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); -} - -public void setDelegate(id anObject) { - OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); -} - -public void setDrawsBackground(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setDrawsBackground_, flag); -} - -public void setEditable(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setEditable_, flag); -} - -public void setFont(NSFont obj) { - OS.objc_msgSend(this.id, OS.sel_setFont_, obj != null ? obj.id : 0); -} - -public void setHorizontallyResizable(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setHorizontallyResizable_, flag); -} - -public void setMaxSize(NSSize newMaxSize) { - OS.objc_msgSend(this.id, OS.sel_setMaxSize_, newMaxSize); -} - -public void setMinSize(NSSize newMinSize) { - OS.objc_msgSend(this.id, OS.sel_setMinSize_, newMinSize); -} - -public void setSelectable(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setSelectable_, flag); -} - -public void setSelectedRange(NSRange range) { - OS.objc_msgSend(this.id, OS.sel_setSelectedRange_, range); -} - -public void setString(NSString string) { - OS.objc_msgSend(this.id, OS.sel_setString_, string != null ? string.id : 0); -} - -public void setTextColor(NSColor color) { - OS.objc_msgSend(this.id, OS.sel_setTextColor_, color != null ? color.id : 0); -} - -public void sizeToFit() { - OS.objc_msgSend(this.id, OS.sel_sizeToFit); -} - -public NSString string() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_string); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextAttachment.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextAttachment.java deleted file mode 100644 index 5f06a09173..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextAttachment.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTextAttachment extends NSObject { - -public NSTextAttachment() { - super(); -} - -public NSTextAttachment(int /*long*/ id) { - super(id); -} - -public NSTextAttachment(id id) { - super(id); -} - -public id initWithFileWrapper(NSFileWrapper fileWrapper) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFileWrapper_, fileWrapper != null ? fileWrapper.id : 0); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextContainer.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextContainer.java deleted file mode 100644 index eefef39e8a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextContainer.java +++ /dev/null @@ -1,50 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTextContainer extends NSObject { - -public NSTextContainer() { - super(); -} - -public NSTextContainer(int /*long*/ id) { - super(id); -} - -public NSTextContainer(id id) { - super(id); -} - -public NSSize containerSize() { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_containerSize); - return result; -} - -public NSTextContainer initWithContainerSize(NSSize size) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithContainerSize_, size); - return result == this.id ? this : (result != 0 ? new NSTextContainer(result) : null); -} - -public void setContainerSize(NSSize size) { - OS.objc_msgSend(this.id, OS.sel_setContainerSize_, size); -} - -public void setLineFragmentPadding(float /*double*/ pad) { - OS.objc_msgSend(this.id, OS.sel_setLineFragmentPadding_, pad); -} - -public void setWidthTracksTextView(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setWidthTracksTextView_, flag); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextField.java deleted file mode 100644 index e2507f4ad3..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextField.java +++ /dev/null @@ -1,67 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTextField extends NSControl { - -public NSTextField() { - super(); -} - -public NSTextField(int /*long*/ id) { - super(id); -} - -public NSTextField(id id) { - super(id); -} - -public void selectText(id sender) { - OS.objc_msgSend(this.id, OS.sel_selectText_, sender != null ? sender.id : 0); -} - -public void setBackgroundColor(NSColor color) { - OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); -} - -public void setBordered(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setBordered_, flag); -} - -public void setDelegate(id anObject) { - OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); -} - -public void setDrawsBackground(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setDrawsBackground_, flag); -} - -public void setEditable(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setEditable_, flag); -} - -public void setSelectable(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setSelectable_, flag); -} - -public void setTextColor(NSColor color) { - OS.objc_msgSend(this.id, OS.sel_setTextColor_, color != null ? color.id : 0); -} - -public static int /*long*/ cellClass() { - return OS.objc_msgSend(OS.class_NSTextField, OS.sel_cellClass); -} - -public static void setCellClass(int /*long*/ factoryId) { - OS.objc_msgSend(OS.class_NSTextField, OS.sel_setCellClass_, factoryId); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextFieldCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextFieldCell.java deleted file mode 100644 index 98e6bef1ab..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextFieldCell.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTextFieldCell extends NSActionCell { - -public NSTextFieldCell() { - super(); -} - -public NSTextFieldCell(int /*long*/ id) { - super(id); -} - -public NSTextFieldCell(id id) { - super(id); -} - -public void setPlaceholderString(NSString string) { - OS.objc_msgSend(this.id, OS.sel_setPlaceholderString_, string != null ? string.id : 0); -} - -public void setTextColor(NSColor color) { - OS.objc_msgSend(this.id, OS.sel_setTextColor_, color != null ? color.id : 0); -} - -public NSColor textColor() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_textColor); - return result != 0 ? new NSColor(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextStorage.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextStorage.java deleted file mode 100644 index 22a0c54090..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextStorage.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTextStorage extends NSMutableAttributedString { - -public NSTextStorage() { - super(); -} - -public NSTextStorage(int /*long*/ id) { - super(id); -} - -public NSTextStorage(id id) { - super(id); -} - -public void addLayoutManager(NSLayoutManager obj) { - OS.objc_msgSend(this.id, OS.sel_addLayoutManager_, obj != null ? obj.id : 0); -} - -public NSArray paragraphs() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_paragraphs); - return result != 0 ? new NSArray(result) : null; -} - -public static NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSTextStorage, OS.sel_attributedStringWithAttachment_, attachment != null ? attachment.id : 0); - return result != 0 ? new NSAttributedString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextTab.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextTab.java deleted file mode 100644 index 5e9521651a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextTab.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTextTab extends NSObject { - -public NSTextTab() { - super(); -} - -public NSTextTab(int /*long*/ id) { - super(id); -} - -public NSTextTab(id id) { - super(id); -} - -public NSTextTab initWithType(int /*long*/ type, float /*double*/ loc) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithType_location_, type, loc); - return result == this.id ? this : (result != 0 ? new NSTextTab(result) : null); -} - -public float /*double*/ location() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_location); -} - -public int /*long*/ tabStopType() { - return OS.objc_msgSend(this.id, OS.sel_tabStopType); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java deleted file mode 100644 index 14ba576818..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java +++ /dev/null @@ -1,85 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTextView extends NSText { - -public NSTextView() { - super(); -} - -public NSTextView(int /*long*/ id) { - super(id); -} - -public NSTextView(id id) { - super(id); -} - -public int /*long*/ characterIndexForInsertionAtPoint(NSPoint point) { - return OS.objc_msgSend(this.id, OS.sel_characterIndexForInsertionAtPoint_, point); -} - -public NSParagraphStyle defaultParagraphStyle() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_defaultParagraphStyle); - return result != 0 ? new NSParagraphStyle(result) : null; -} - -public boolean dragSelectionWithEvent(NSEvent event, NSSize mouseOffset, boolean slideBack) { - return OS.objc_msgSend_bool(this.id, OS.sel_dragSelectionWithEvent_offset_slideBack_, event != null ? event.id : 0, mouseOffset, slideBack); -} - -public NSLayoutManager layoutManager() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_layoutManager); - return result != 0 ? new NSLayoutManager(result) : null; -} - -public NSDictionary linkTextAttributes() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_linkTextAttributes); - return result != 0 ? new NSDictionary(result) : null; -} - -public NSDictionary markedTextAttributes() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_markedTextAttributes); - return result != 0 ? new NSDictionary(result) : null; -} - -public void setDefaultParagraphStyle(NSParagraphStyle paragraphStyle) { - OS.objc_msgSend(this.id, OS.sel_setDefaultParagraphStyle_, paragraphStyle != null ? paragraphStyle.id : 0); -} - -public void setDisplaysLinkToolTips(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setDisplaysLinkToolTips_, flag); -} - -public void setLinkTextAttributes(NSDictionary attributeDictionary) { - OS.objc_msgSend(this.id, OS.sel_setLinkTextAttributes_, attributeDictionary != null ? attributeDictionary.id : 0); -} - -public void setRichText(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setRichText_, flag); -} - -public boolean shouldChangeTextInRange(NSRange affectedCharRange, NSString replacementString) { - return OS.objc_msgSend_bool(this.id, OS.sel_shouldChangeTextInRange_replacementString_, affectedCharRange, replacementString != null ? replacementString.id : 0); -} - -public NSTextContainer textContainer() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_textContainer); - return result != 0 ? new NSTextContainer(result) : null; -} - -public NSTextStorage textStorage() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_textStorage); - return result != 0 ? new NSTextStorage(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java deleted file mode 100644 index 6947c2bac8..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSThread.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSThread extends NSObject { - -public NSThread() { - super(); -} - -public NSThread(int /*long*/ id) { - super(id); -} - -public NSThread(id id) { - super(id); -} - -public static NSThread currentThread() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSThread, OS.sel_currentThread); - return result != 0 ? new NSThread(result) : null; -} - -public static boolean isMainThread() { - return OS.objc_msgSend_bool(OS.class_NSThread, OS.sel_isMainThread); -} - -public NSMutableDictionary threadDictionary() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_threadDictionary); - return result != 0 ? new NSMutableDictionary(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimeZone.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimeZone.java deleted file mode 100644 index 846438305f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimeZone.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTimeZone extends NSObject { - -public NSTimeZone() { - super(); -} - -public NSTimeZone(int /*long*/ id) { - super(id); -} - -public NSTimeZone(id id) { - super(id); -} - -public static NSTimeZone defaultTimeZone() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSTimeZone, OS.sel_defaultTimeZone); - return result != 0 ? new NSTimeZone(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimer.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimer.java deleted file mode 100644 index 09f032e3c1..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTimer.java +++ /dev/null @@ -1,45 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTimer extends NSObject { - -public NSTimer() { - super(); -} - -public NSTimer(int /*long*/ id) { - super(id); -} - -public NSTimer(id id) { - super(id); -} - -public void invalidate() { - OS.objc_msgSend(this.id, OS.sel_invalidate); -} - -public static NSTimer scheduledTimerWithTimeInterval(double ti, id aTarget, int /*long*/ aSelector, id userInfo, boolean yesOrNo) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSTimer, OS.sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_, ti, aTarget != null ? aTarget.id : 0, aSelector, userInfo != null ? userInfo.id : 0, yesOrNo); - return result != 0 ? new NSTimer(result) : null; -} - -public void setFireDate(NSDate date) { - OS.objc_msgSend(this.id, OS.sel_setFireDate_, date != null ? date.id : 0); -} - -public id userInfo() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_userInfo); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbar.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbar.java deleted file mode 100644 index 82c8786c51..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbar.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSToolbar extends NSObject { - -public NSToolbar() { - super(); -} - -public NSToolbar(int /*long*/ id) { - super(id); -} - -public NSToolbar(id id) { - super(id); -} - -public NSToolbar initWithIdentifier(NSString identifier) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithIdentifier_, identifier != null ? identifier.id : 0); - return result == this.id ? this : (result != 0 ? new NSToolbar(result) : null); -} - -public void insertItemWithItemIdentifier(NSString itemIdentifier, int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_insertItemWithItemIdentifier_atIndex_, itemIdentifier != null ? itemIdentifier.id : 0, index); -} - -public void removeItemAtIndex(int /*long*/ index) { - OS.objc_msgSend(this.id, OS.sel_removeItemAtIndex_, index); -} - -public void setAllowsUserCustomization(boolean allowCustomization) { - OS.objc_msgSend(this.id, OS.sel_setAllowsUserCustomization_, allowCustomization); -} - -public void setDelegate(id delegate) { - OS.objc_msgSend(this.id, OS.sel_setDelegate_, delegate != null ? delegate.id : 0); -} - -public void setDisplayMode(int /*long*/ displayMode) { - OS.objc_msgSend(this.id, OS.sel_setDisplayMode_, displayMode); -} - -public void setVisible(boolean shown) { - OS.objc_msgSend(this.id, OS.sel_setVisible_, shown); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbarItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbarItem.java deleted file mode 100644 index ea08b1a961..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSToolbarItem.java +++ /dev/null @@ -1,77 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSToolbarItem extends NSObject { - -public NSToolbarItem() { - super(); -} - -public NSToolbarItem(int /*long*/ id) { - super(id); -} - -public NSToolbarItem(id id) { - super(id); -} - -public NSToolbarItem initWithItemIdentifier(NSString itemIdentifier) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithItemIdentifier_, itemIdentifier != null ? itemIdentifier.id : 0); - return result == this.id ? this : (result != 0 ? new NSToolbarItem(result) : null); -} - -public NSString itemIdentifier() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemIdentifier); - return result != 0 ? new NSString(result) : null; -} - -public void setAction(int /*long*/ action) { - OS.objc_msgSend(this.id, OS.sel_setAction_, action); -} - -public void setEnabled(boolean enabled) { - OS.objc_msgSend(this.id, OS.sel_setEnabled_, enabled); -} - -public void setImage(NSImage image) { - OS.objc_msgSend(this.id, OS.sel_setImage_, image != null ? image.id : 0); -} - -public void setLabel(NSString label) { - OS.objc_msgSend(this.id, OS.sel_setLabel_, label != null ? label.id : 0); -} - -public void setMaxSize(NSSize size) { - OS.objc_msgSend(this.id, OS.sel_setMaxSize_, size); -} - -public void setMinSize(NSSize size) { - OS.objc_msgSend(this.id, OS.sel_setMinSize_, size); -} - -public void setPaletteLabel(NSString paletteLabel) { - OS.objc_msgSend(this.id, OS.sel_setPaletteLabel_, paletteLabel != null ? paletteLabel.id : 0); -} - -public void setTarget(id target) { - OS.objc_msgSend(this.id, OS.sel_setTarget_, target != null ? target.id : 0); -} - -public void setToolTip(NSString toolTip) { - OS.objc_msgSend(this.id, OS.sel_setToolTip_, toolTip != null ? toolTip.id : 0); -} - -public void setView(NSView view) { - OS.objc_msgSend(this.id, OS.sel_setView_, view != null ? view.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTrackingArea.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTrackingArea.java deleted file mode 100644 index 648cd5ad37..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTrackingArea.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTrackingArea extends NSObject { - -public NSTrackingArea() { - super(); -} - -public NSTrackingArea(int /*long*/ id) { - super(id); -} - -public NSTrackingArea(id id) { - super(id); -} - -public NSTrackingArea initWithRect(NSRect rect, int /*long*/ options, id owner, NSDictionary userInfo) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithRect_options_owner_userInfo_, rect, options, owner != null ? owner.id : 0, userInfo != null ? userInfo.id : 0); - return result == this.id ? this : (result != 0 ? new NSTrackingArea(result) : null); -} - -public id owner() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_owner); - return result != 0 ? new id(result) : null; -} - -public NSDictionary userInfo() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_userInfo); - return result != 0 ? new NSDictionary(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTypesetter.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTypesetter.java deleted file mode 100644 index 082e4873f7..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTypesetter.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSTypesetter extends NSObject { - -public NSTypesetter() { - super(); -} - -public NSTypesetter(int /*long*/ id) { - super(id); -} - -public NSTypesetter(id id) { - super(id); -} - -public float /*double*/ baselineOffsetInLayoutManager(NSLayoutManager layoutMgr, int /*long*/ glyphIndex) { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_baselineOffsetInLayoutManager_glyphIndex_, layoutMgr != null ? layoutMgr.id : 0, glyphIndex); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURL.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURL.java deleted file mode 100644 index 1345b4bb37..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURL.java +++ /dev/null @@ -1,55 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSURL extends NSObject { - -public NSURL() { - super(); -} - -public NSURL(int /*long*/ id) { - super(id); -} - -public NSURL(id id) { - super(id); -} - -public static NSURL URLFromPasteboard(NSPasteboard pasteBoard) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSURL, OS.sel_URLFromPasteboard_, pasteBoard != null ? pasteBoard.id : 0); - return result != 0 ? new NSURL(result) : null; -} - -public void writeToPasteboard(NSPasteboard pasteBoard) { - OS.objc_msgSend(this.id, OS.sel_writeToPasteboard_, pasteBoard != null ? pasteBoard.id : 0); -} - -public static NSURL URLWithString(NSString URLString) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSURL, OS.sel_URLWithString_, URLString != null ? URLString.id : 0); - return result != 0 ? new NSURL(result) : null; -} - -public NSString absoluteString() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_absoluteString); - return result != 0 ? new NSString(result) : null; -} - -public static NSURL fileURLWithPath(NSString path) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSURL, OS.sel_fileURLWithPath_, path != null ? path.id : 0); - return result != 0 ? new NSURL(result) : null; -} - -public boolean isFileURL() { - return OS.objc_msgSend_bool(this.id, OS.sel_isFileURL); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLAuthenticationChallenge.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLAuthenticationChallenge.java deleted file mode 100644 index 319225e932..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLAuthenticationChallenge.java +++ /dev/null @@ -1,46 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSURLAuthenticationChallenge extends NSObject { - -public NSURLAuthenticationChallenge() { - super(); -} - -public NSURLAuthenticationChallenge(int /*long*/ id) { - super(id); -} - -public NSURLAuthenticationChallenge(id id) { - super(id); -} - -public int /*long*/ previousFailureCount() { - return OS.objc_msgSend(this.id, OS.sel_previousFailureCount); -} - -public NSURLCredential proposedCredential() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_proposedCredential); - return result != 0 ? new NSURLCredential(result) : null; -} - -public NSURLProtectionSpace protectionSpace() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_protectionSpace); - return result != 0 ? new NSURLProtectionSpace(result) : null; -} - -public id sender() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_sender); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLCredential.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLCredential.java deleted file mode 100644 index b6413be7ee..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLCredential.java +++ /dev/null @@ -1,46 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSURLCredential extends NSObject { - -public NSURLCredential() { - super(); -} - -public NSURLCredential(int /*long*/ id) { - super(id); -} - -public NSURLCredential(id id) { - super(id); -} - -public static NSURLCredential credentialWithUser(NSString user, NSString password, int /*long*/ persistence) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSURLCredential, OS.sel_credentialWithUser_password_persistence_, user != null ? user.id : 0, password != null ? password.id : 0, persistence); - return result != 0 ? new NSURLCredential(result) : null; -} - -public boolean hasPassword() { - return OS.objc_msgSend_bool(this.id, OS.sel_hasPassword); -} - -public NSString password() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_password); - return result != 0 ? new NSString(result) : null; -} - -public NSString user() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_user); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLDownload.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLDownload.java deleted file mode 100644 index 1ac5514edf..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLDownload.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSURLDownload extends NSObject { - -public NSURLDownload() { - super(); -} - -public NSURLDownload(int /*long*/ id) { - super(id); -} - -public NSURLDownload(id id) { - super(id); -} - -public void cancel() { - OS.objc_msgSend(this.id, OS.sel_cancel); -} - -public void setDestination(NSString path, boolean allowOverwrite) { - OS.objc_msgSend(this.id, OS.sel_setDestination_allowOverwrite_, path != null ? path.id : 0, allowOverwrite); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLProtectionSpace.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLProtectionSpace.java deleted file mode 100644 index 548a70902b..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLProtectionSpace.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSURLProtectionSpace extends NSObject { - -public NSURLProtectionSpace() { - super(); -} - -public NSURLProtectionSpace(int /*long*/ id) { - super(id); -} - -public NSURLProtectionSpace(id id) { - super(id); -} - -public NSString host() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_host); - return result != 0 ? new NSString(result) : null; -} - -public int /*long*/ port() { - return OS.objc_msgSend(this.id, OS.sel_port); -} - -public NSString realm() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_realm); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLRequest.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLRequest.java deleted file mode 100644 index b0d1e99a12..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURLRequest.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSURLRequest extends NSObject { - -public NSURLRequest() { - super(); -} - -public NSURLRequest(int /*long*/ id) { - super(id); -} - -public NSURLRequest(id id) { - super(id); -} - -public NSURL URL() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_URL); - return result != 0 ? new NSURL(result) : null; -} - -public NSURLRequest initWithURL(NSURL URL) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithURL_, URL != null ? URL.id : 0); - return result == this.id ? this : (result != 0 ? new NSURLRequest(result) : null); -} - -public static NSURLRequest requestWithURL(NSURL URL) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSURLRequest, OS.sel_requestWithURL_, URL != null ? URL.id : 0); - return result != 0 ? new NSURLRequest(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSValue.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSValue.java deleted file mode 100644 index 9e11593bbb..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSValue.java +++ /dev/null @@ -1,75 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSValue extends NSObject { - -public NSValue() { - super(); -} - -public NSValue(int /*long*/ id) { - super(id); -} - -public NSValue(id id) { - super(id); -} - -public int /*long*/ objCType() { - return OS.objc_msgSend(this.id, OS.sel_objCType); -} - -public NSPoint pointValue() { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_pointValue); - return result; -} - -public NSRange rangeValue() { - NSRange result = new NSRange(); - OS.objc_msgSend_stret(result, this.id, OS.sel_rangeValue); - return result; -} - -public NSRect rectValue() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_rectValue); - return result; -} - -public NSSize sizeValue() { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_sizeValue); - return result; -} - -public static NSValue valueWithPoint(NSPoint point) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSValue, OS.sel_valueWithPoint_, point); - return result != 0 ? new NSValue(result) : null; -} - -public static NSValue valueWithRange(NSRange range) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSValue, OS.sel_valueWithRange_, range); - return result != 0 ? new NSValue(result) : null; -} - -public static NSValue valueWithRect(NSRect rect) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSValue, OS.sel_valueWithRect_, rect); - return result != 0 ? new NSValue(result) : null; -} - -public static NSValue valueWithSize(NSSize size) { - int /*long*/ result = OS.objc_msgSend(OS.class_NSValue, OS.sel_valueWithSize_, size); - return result != 0 ? new NSValue(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSView.java deleted file mode 100644 index cdc963a7c6..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSView.java +++ /dev/null @@ -1,316 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSView extends NSResponder { - -public NSView() { - super(); -} - -public NSView(int /*long*/ id) { - super(id); -} - -public NSView(id id) { - super(id); -} - -public boolean acceptsFirstMouse(NSEvent theEvent) { - return OS.objc_msgSend_bool(this.id, OS.sel_acceptsFirstMouse_, theEvent != null ? theEvent.id : 0); -} - -public void addSubview(NSView aView) { - OS.objc_msgSend(this.id, OS.sel_addSubview_, aView != null ? aView.id : 0); -} - -public void addSubview(NSView aView, int /*long*/ place, NSView otherView) { - OS.objc_msgSend(this.id, OS.sel_addSubview_positioned_relativeTo_, aView != null ? aView.id : 0, place, otherView != null ? otherView.id : 0); -} - -public int /*long*/ addToolTipRect(NSRect aRect, id anObject, int /*long*/ data) { - return OS.objc_msgSend(this.id, OS.sel_addToolTipRect_owner_userData_, aRect, anObject != null ? anObject.id : 0, data); -} - -public void beginDocument() { - OS.objc_msgSend(this.id, OS.sel_beginDocument); -} - -public void beginPageInRect(NSRect aRect, NSPoint location) { - OS.objc_msgSend(this.id, OS.sel_beginPageInRect_atPlacement_, aRect, location); -} - -public NSRect bounds() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_bounds); - return result; -} - -public boolean canBecomeKeyView() { - return OS.objc_msgSend_bool(this.id, OS.sel_canBecomeKeyView); -} - -public NSPoint convertPoint_fromView_(NSPoint aPoint, NSView aView) { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertPoint_fromView_, aPoint, aView != null ? aView.id : 0); - return result; -} - -public NSPoint convertPoint_toView_(NSPoint aPoint, NSView aView) { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertPoint_toView_, aPoint, aView != null ? aView.id : 0); - return result; -} - -public NSPoint convertPointFromBase(NSPoint aPoint) { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertPointFromBase_, aPoint); - return result; -} - -public NSPoint convertPointToBase(NSPoint aPoint) { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertPointToBase_, aPoint); - return result; -} - -public NSRect convertRect_fromView_(NSRect aRect, NSView aView) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertRect_fromView_, aRect, aView != null ? aView.id : 0); - return result; -} - -public NSRect convertRect_toView_(NSRect aRect, NSView aView) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertRect_toView_, aRect, aView != null ? aView.id : 0); - return result; -} - -public NSRect convertRectFromBase(NSRect aRect) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertRectFromBase_, aRect); - return result; -} - -public NSRect convertRectToBase(NSRect aRect) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertRectToBase_, aRect); - return result; -} - -public NSSize convertSize_fromView_(NSSize aSize, NSView aView) { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertSize_fromView_, aSize, aView != null ? aView.id : 0); - return result; -} - -public NSSize convertSize_toView_(NSSize aSize, NSView aView) { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertSize_toView_, aSize, aView != null ? aView.id : 0); - return result; -} - -public NSSize convertSizeFromBase(NSSize aSize) { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertSizeFromBase_, aSize); - return result; -} - -public NSSize convertSizeToBase(NSSize aSize) { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertSizeToBase_, aSize); - return result; -} - -public void discardCursorRects() { - OS.objc_msgSend(this.id, OS.sel_discardCursorRects); -} - -public void display() { - OS.objc_msgSend(this.id, OS.sel_display); -} - -public void displayIfNeeded() { - OS.objc_msgSend(this.id, OS.sel_displayIfNeeded); -} - -public void displayRectIgnoringOpacity(NSRect aRect, NSGraphicsContext context) { - OS.objc_msgSend(this.id, OS.sel_displayRectIgnoringOpacity_inContext_, aRect, context != null ? context.id : 0); -} - -public void dragImage(NSImage anImage, NSPoint viewLocation, NSSize initialOffset, NSEvent event, NSPasteboard pboard, id sourceObj, boolean slideFlag) { - OS.objc_msgSend(this.id, OS.sel_dragImage_at_offset_event_pasteboard_source_slideBack_, anImage != null ? anImage.id : 0, viewLocation, initialOffset, event != null ? event.id : 0, pboard != null ? pboard.id : 0, sourceObj != null ? sourceObj.id : 0, slideFlag); -} - -public void drawRect(NSRect rect) { - OS.objc_msgSend(this.id, OS.sel_drawRect_, rect); -} - -public void endDocument() { - OS.objc_msgSend(this.id, OS.sel_endDocument); -} - -public void endPage() { - OS.objc_msgSend(this.id, OS.sel_endPage); -} - -public NSRect frame() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_frame); - return result; -} - -public NSView hitTest(NSPoint aPoint) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_hitTest_, aPoint); - return result == this.id ? this : (result != 0 ? new NSView(result) : null); -} - -public NSView initWithFrame(NSRect frameRect) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFrame_, frameRect); - return result == this.id ? this : (result != 0 ? new NSView(result) : null); -} - -public boolean isFlipped() { - return OS.objc_msgSend_bool(this.id, OS.sel_isFlipped); -} - -public boolean isHidden() { - return OS.objc_msgSend_bool(this.id, OS.sel_isHidden); -} - -public boolean isHiddenOrHasHiddenAncestor() { - return OS.objc_msgSend_bool(this.id, OS.sel_isHiddenOrHasHiddenAncestor); -} - -public boolean isOpaque() { - return OS.objc_msgSend_bool(this.id, OS.sel_isOpaque); -} - -public void lockFocus() { - OS.objc_msgSend(this.id, OS.sel_lockFocus); -} - -public NSMenu menuForEvent(NSEvent event) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_menuForEvent_, event != null ? event.id : 0); - return result != 0 ? new NSMenu(result) : null; -} - -public void registerForDraggedTypes(NSArray newTypes) { - OS.objc_msgSend(this.id, OS.sel_registerForDraggedTypes_, newTypes != null ? newTypes.id : 0); -} - -public void removeFromSuperview() { - OS.objc_msgSend(this.id, OS.sel_removeFromSuperview); -} - -public void removeTrackingArea(NSTrackingArea trackingArea) { - OS.objc_msgSend(this.id, OS.sel_removeTrackingArea_, trackingArea != null ? trackingArea.id : 0); -} - -public void resetCursorRects() { - OS.objc_msgSend(this.id, OS.sel_resetCursorRects); -} - -public void scrollPoint(NSPoint aPoint) { - OS.objc_msgSend(this.id, OS.sel_scrollPoint_, aPoint); -} - -public boolean scrollRectToVisible(NSRect aRect) { - return OS.objc_msgSend_bool(this.id, OS.sel_scrollRectToVisible_, aRect); -} - -public void setAutoresizesSubviews(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAutoresizesSubviews_, flag); -} - -public void setAutoresizingMask(int /*long*/ mask) { - OS.objc_msgSend(this.id, OS.sel_setAutoresizingMask_, mask); -} - -public void setFocusRingType(int /*long*/ focusRingType) { - OS.objc_msgSend(this.id, OS.sel_setFocusRingType_, focusRingType); -} - -public void setFrame(NSRect frameRect) { - OS.objc_msgSend(this.id, OS.sel_setFrame_, frameRect); -} - -public void setFrameOrigin(NSPoint newOrigin) { - OS.objc_msgSend(this.id, OS.sel_setFrameOrigin_, newOrigin); -} - -public void setFrameSize(NSSize newSize) { - OS.objc_msgSend(this.id, OS.sel_setFrameSize_, newSize); -} - -public void setHidden(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setHidden_, flag); -} - -public void setNeedsDisplay(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setNeedsDisplay_, flag); -} - -public void setNeedsDisplayInRect(NSRect invalidRect) { - OS.objc_msgSend(this.id, OS.sel_setNeedsDisplayInRect_, invalidRect); -} - -public void setToolTip(NSString string) { - OS.objc_msgSend(this.id, OS.sel_setToolTip_, string != null ? string.id : 0); -} - -public boolean shouldDelayWindowOrderingForEvent(NSEvent theEvent) { - return OS.objc_msgSend_bool(this.id, OS.sel_shouldDelayWindowOrderingForEvent_, theEvent != null ? theEvent.id : 0); -} - -public NSArray subviews() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_subviews); - return result != 0 ? new NSArray(result) : null; -} - -public NSView superview() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_superview); - return result == this.id ? this : (result != 0 ? new NSView(result) : null); -} - -public NSArray trackingAreas() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_trackingAreas); - return result != 0 ? new NSArray(result) : null; -} - -public void unlockFocus() { - OS.objc_msgSend(this.id, OS.sel_unlockFocus); -} - -public void unregisterDraggedTypes() { - OS.objc_msgSend(this.id, OS.sel_unregisterDraggedTypes); -} - -public void updateTrackingAreas() { - OS.objc_msgSend(this.id, OS.sel_updateTrackingAreas); -} - -public void viewDidMoveToWindow() { - OS.objc_msgSend(this.id, OS.sel_viewDidMoveToWindow); -} - -public NSRect visibleRect() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_visibleRect); - return result; -} - -public NSWindow window() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_window); - return result != 0 ? new NSWindow(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java deleted file mode 100644 index 78a713e179..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java +++ /dev/null @@ -1,334 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSWindow extends NSResponder { - -public NSWindow() { - super(); -} - -public NSWindow(int /*long*/ id) { - super(id); -} - -public NSWindow(id id) { - super(id); -} - -public void addChildWindow(NSWindow childWin, int /*long*/ place) { - OS.objc_msgSend(this.id, OS.sel_addChildWindow_ordered_, childWin != null ? childWin.id : 0, place); -} - -public float /*double*/ alphaValue() { - return (float)OS.objc_msgSend_fpret(this.id, OS.sel_alphaValue); -} - -public boolean areCursorRectsEnabled() { - return OS.objc_msgSend_bool(this.id, OS.sel_areCursorRectsEnabled); -} - -public void becomeKeyWindow() { - OS.objc_msgSend(this.id, OS.sel_becomeKeyWindow); -} - -public boolean canBecomeKeyWindow() { - return OS.objc_msgSend_bool(this.id, OS.sel_canBecomeKeyWindow); -} - -public NSPoint cascadeTopLeftFromPoint(NSPoint topLeftPoint) { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_cascadeTopLeftFromPoint_, topLeftPoint); - return result; -} - -public void close() { - OS.objc_msgSend(this.id, OS.sel_close); -} - -public NSRect contentRectForFrameRect(NSRect frameRect) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_contentRectForFrameRect_, frameRect); - return result; -} - -public NSView contentView() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_contentView); - return result != 0 ? new NSView(result) : null; -} - -public NSPoint convertBaseToScreen(NSPoint aPoint) { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertBaseToScreen_, aPoint); - return result; -} - -public NSPoint convertScreenToBase(NSPoint aPoint) { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_convertScreenToBase_, aPoint); - return result; -} - -public NSButtonCell defaultButtonCell() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_defaultButtonCell); - return result != 0 ? new NSButtonCell(result) : null; -} - -public void deminiaturize(id sender) { - OS.objc_msgSend(this.id, OS.sel_deminiaturize_, sender != null ? sender.id : 0); -} - -public void disableCursorRects() { - OS.objc_msgSend(this.id, OS.sel_disableCursorRects); -} - -public void display() { - OS.objc_msgSend(this.id, OS.sel_display); -} - -public void enableCursorRects() { - OS.objc_msgSend(this.id, OS.sel_enableCursorRects); -} - -public NSText fieldEditor(boolean createFlag, id anObject) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_fieldEditor_forObject_, createFlag, anObject != null ? anObject.id : 0); - return result != 0 ? new NSText(result) : null; -} - -public NSResponder firstResponder() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_firstResponder); - return result != 0 ? new NSResponder(result) : null; -} - -public NSRect frame() { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_frame); - return result; -} - -public NSRect frameRectForContentRect(NSRect contentRect) { - NSRect result = new NSRect(); - OS.objc_msgSend_stret(result, this.id, OS.sel_frameRectForContentRect_, contentRect); - return result; -} - -public NSGraphicsContext graphicsContext() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_graphicsContext); - return result != 0 ? new NSGraphicsContext(result) : null; -} - -public boolean hasShadow() { - return OS.objc_msgSend_bool(this.id, OS.sel_hasShadow); -} - -public NSWindow initWithContentRect(NSRect contentRect, int /*long*/ aStyle, int /*long*/ bufferingType, boolean flag) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithContentRect_styleMask_backing_defer_, contentRect, aStyle, bufferingType, flag); - return result == this.id ? this : (result != 0 ? new NSWindow(result) : null); -} - -public NSWindow initWithContentRect(NSRect contentRect, int /*long*/ aStyle, int /*long*/ bufferingType, boolean flag, NSScreen screen) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithContentRect_styleMask_backing_defer_screen_, contentRect, aStyle, bufferingType, flag, screen != null ? screen.id : 0); - return result == this.id ? this : (result != 0 ? new NSWindow(result) : null); -} - -public void invalidateShadow() { - OS.objc_msgSend(this.id, OS.sel_invalidateShadow); -} - -public boolean isDocumentEdited() { - return OS.objc_msgSend_bool(this.id, OS.sel_isDocumentEdited); -} - -public boolean isKeyWindow() { - return OS.objc_msgSend_bool(this.id, OS.sel_isKeyWindow); -} - -public boolean isMiniaturized() { - return OS.objc_msgSend_bool(this.id, OS.sel_isMiniaturized); -} - -public boolean isSheet() { - return OS.objc_msgSend_bool(this.id, OS.sel_isSheet); -} - -public boolean isVisible() { - return OS.objc_msgSend_bool(this.id, OS.sel_isVisible); -} - -public boolean isZoomed() { - return OS.objc_msgSend_bool(this.id, OS.sel_isZoomed); -} - -public boolean makeFirstResponder(NSResponder aResponder) { - return OS.objc_msgSend_bool(this.id, OS.sel_makeFirstResponder_, aResponder != null ? aResponder.id : 0); -} - -public void makeKeyAndOrderFront(id sender) { - OS.objc_msgSend(this.id, OS.sel_makeKeyAndOrderFront_, sender != null ? sender.id : 0); -} - -public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { - return (float)OS.objc_msgSend_fpret(OS.class_NSWindow, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); -} - -public NSSize minSize() { - NSSize result = new NSSize(); - OS.objc_msgSend_stret(result, this.id, OS.sel_minSize); - return result; -} - -public void miniaturize(id sender) { - OS.objc_msgSend(this.id, OS.sel_miniaturize_, sender != null ? sender.id : 0); -} - -public NSPoint mouseLocationOutsideOfEventStream() { - NSPoint result = new NSPoint(); - OS.objc_msgSend_stret(result, this.id, OS.sel_mouseLocationOutsideOfEventStream); - return result; -} - -public void orderBack(id sender) { - OS.objc_msgSend(this.id, OS.sel_orderBack_, sender != null ? sender.id : 0); -} - -public void orderFront(id sender) { - OS.objc_msgSend(this.id, OS.sel_orderFront_, sender != null ? sender.id : 0); -} - -public void orderFrontRegardless() { - OS.objc_msgSend(this.id, OS.sel_orderFrontRegardless); -} - -public void orderOut(id sender) { - OS.objc_msgSend(this.id, OS.sel_orderOut_, sender != null ? sender.id : 0); -} - -public void orderWindow(int /*long*/ place, int /*long*/ otherWin) { - OS.objc_msgSend(this.id, OS.sel_orderWindow_relativeTo_, place, otherWin); -} - -public NSWindow parentWindow() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_parentWindow); - return result == this.id ? this : (result != 0 ? new NSWindow(result) : null); -} - -public void removeChildWindow(NSWindow childWin) { - OS.objc_msgSend(this.id, OS.sel_removeChildWindow_, childWin != null ? childWin.id : 0); -} - -public NSScreen screen() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_screen); - return result != 0 ? new NSScreen(result) : null; -} - -public void sendEvent(NSEvent theEvent) { - OS.objc_msgSend(this.id, OS.sel_sendEvent_, theEvent != null ? theEvent.id : 0); -} - -public void setAcceptsMouseMovedEvents(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setAcceptsMouseMovedEvents_, flag); -} - -public void setAlphaValue(float /*double*/ windowAlpha) { - OS.objc_msgSend(this.id, OS.sel_setAlphaValue_, windowAlpha); -} - -public void setBackgroundColor(NSColor color) { - OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color != null ? color.id : 0); -} - -public void setContentView(NSView aView) { - OS.objc_msgSend(this.id, OS.sel_setContentView_, aView != null ? aView.id : 0); -} - -public void setDefaultButtonCell(NSButtonCell defButt) { - OS.objc_msgSend(this.id, OS.sel_setDefaultButtonCell_, defButt != null ? defButt.id : 0); -} - -public void setDelegate(id anObject) { - OS.objc_msgSend(this.id, OS.sel_setDelegate_, anObject != null ? anObject.id : 0); -} - -public void setDocumentEdited(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setDocumentEdited_, flag); -} - -public void setFrame(NSRect frameRect, boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setFrame_display_, frameRect, flag); -} - -public void setFrame(NSRect frameRect, boolean displayFlag, boolean animateFlag) { - OS.objc_msgSend(this.id, OS.sel_setFrame_display_animate_, frameRect, displayFlag, animateFlag); -} - -public void setHasShadow(boolean hasShadow) { - OS.objc_msgSend(this.id, OS.sel_setHasShadow_, hasShadow); -} - -public void setLevel(int /*long*/ newLevel) { - OS.objc_msgSend(this.id, OS.sel_setLevel_, newLevel); -} - -public void setMinSize(NSSize size) { - OS.objc_msgSend(this.id, OS.sel_setMinSize_, size); -} - -public void setOpaque(boolean isOpaque) { - OS.objc_msgSend(this.id, OS.sel_setOpaque_, isOpaque); -} - -public void setReleasedWhenClosed(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setReleasedWhenClosed_, flag); -} - -public void setShowsResizeIndicator(boolean show) { - OS.objc_msgSend(this.id, OS.sel_setShowsResizeIndicator_, show); -} - -public void setShowsToolbarButton(boolean show) { - OS.objc_msgSend(this.id, OS.sel_setShowsToolbarButton_, show); -} - -public void setTitle(NSString aString) { - OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); -} - -public void setToolbar(NSToolbar toolbar) { - OS.objc_msgSend(this.id, OS.sel_setToolbar_, toolbar != null ? toolbar.id : 0); -} - -public NSButton standardWindowButton(int /*long*/ b) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_standardWindowButton_, b); - return result != 0 ? new NSButton(result) : null; -} - -public int /*long*/ styleMask() { - return OS.objc_msgSend(this.id, OS.sel_styleMask); -} - -public void toggleToolbarShown(id sender) { - OS.objc_msgSend(this.id, OS.sel_toggleToolbarShown_, sender != null ? sender.id : 0); -} - -public NSToolbar toolbar() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_toolbar); - return result != 0 ? new NSToolbar(result) : null; -} - -public int /*long*/ windowNumber() { - return OS.objc_msgSend(this.id, OS.sel_windowNumber); -} - -public void zoom(id sender) { - OS.objc_msgSend(this.id, OS.sel_zoom_, sender != null ? sender.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWorkspace.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWorkspace.java deleted file mode 100644 index 647ca08a06..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWorkspace.java +++ /dev/null @@ -1,67 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class NSWorkspace extends NSObject { - -public NSWorkspace() { - super(); -} - -public NSWorkspace(int /*long*/ id) { - super(id); -} - -public NSWorkspace(id id) { - super(id); -} - -public NSString fullPathForApplication(NSString appName) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_fullPathForApplication_, appName != null ? appName.id : 0); - return result != 0 ? new NSString(result) : null; -} - -public boolean getInfoForFile(NSString fullPath, int /*long*/ appName, int /*long*/ type) { - return OS.objc_msgSend_bool(this.id, OS.sel_getInfoForFile_application_type_, fullPath != null ? fullPath.id : 0, appName, type); -} - -public NSImage iconForFile(NSString fullPath) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_iconForFile_, fullPath != null ? fullPath.id : 0); - return result != 0 ? new NSImage(result) : null; -} - -public NSImage iconForFileType(NSString fileType) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_iconForFileType_, fileType != null ? fileType.id : 0); - return result != 0 ? new NSImage(result) : null; -} - -public boolean isFilePackageAtPath(NSString fullPath) { - return OS.objc_msgSend_bool(this.id, OS.sel_isFilePackageAtPath_, fullPath != null ? fullPath.id : 0); -} - -public boolean openFile(NSString fullPath, NSString appName) { - return OS.objc_msgSend_bool(this.id, OS.sel_openFile_withApplication_, fullPath != null ? fullPath.id : 0, appName != null ? appName.id : 0); -} - -public boolean openURL(NSURL url) { - return OS.objc_msgSend_bool(this.id, OS.sel_openURL_, url != null ? url.id : 0); -} - -public boolean openURLs(NSArray urls, NSString bundleIdentifier, int /*long*/ options, NSAppleEventDescriptor descriptor, int /*long*/ identifiers) { - return OS.objc_msgSend_bool(this.id, OS.sel_openURLs_withAppBundleIdentifier_options_additionalEventParamDescriptor_launchIdentifiers_, urls != null ? urls.id : 0, bundleIdentifier != null ? bundleIdentifier.id : 0, options, descriptor != null ? descriptor.id : 0, identifiers); -} - -public static NSWorkspace sharedWorkspace() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSWorkspace, OS.sel_sharedWorkspace); - return result != 0 ? new NSWorkspace(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java deleted file mode 100644 index 1e2610b252..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java +++ /dev/null @@ -1,3383 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -import org.eclipse.swt.internal.*; - -public class OS extends C { - static { - Library.loadLibrary("swt-pi"); //$NON-NLS-1$ - } - - public static final int VERSION; - static { - int [] response = new int [1]; - OS.Gestalt (OS.gestaltSystemVersion, response); - VERSION = response [0] & 0xffff; - } - - public static final int gestaltSystemVersion = ('s'<<24) + ('y'<<16) + ('s'<<8) + 'v'; - public static final int noErr = 0; - public static final int kProcessTransformToForegroundApplication = 1; - public static final int kAlertCautionIcon = ('c'<<24) + ('a'<<16) + ('u'<<8) + 't'; - public static final int kAlertNoteIcon = ('n'<<24) + ('o'<<16) + ('t'<<8) + 'e'; - public static final int kAlertStopIcon = ('s'<<24) + ('t'<<16) + ('o'<<8) + 'p'; - public static final int shiftKey = 1 << 9; - public static final int kThemeMetricFocusRectOutset = 7; - public static final int kHIThemeOrientationNormal = 0; - public static final int kUIModeNormal = 0; - public static final int kUIModeContentHidden = 2; - public static final int kUIModeAllHidden = 3; - - public static final int /*long*/ sel_sendSearchSelection = sel_registerName("sendSearchSelection"); - public static final int /*long*/ sel_sendCancelSelection = sel_registerName("sendCancelSelection"); - public static final int /*long*/ sel_sendSelection = sel_registerName("sendSelection"); - public static final int /*long*/ sel_sendSelection_ = sel_registerName("sendSelection:"); - public static final int /*long*/ sel_sendDoubleSelection = sel_registerName("sendDoubleSelection"); - public static final int /*long*/ sel_sendVerticalSelection = sel_registerName("sendVerticalSelection"); - public static final int /*long*/ sel_sendHorizontalSelection = sel_registerName("sendHorizontalSelection"); - public static final int /*long*/ sel_timerProc_ = sel_registerName("timerProc:"); - public static final int /*long*/ sel_handleNotification_ = sel_registerName("handleNotification:"); - public static final int /*long*/ sel_callJava = sel_registerName("callJava:index:arg:"); - public static final int /*long*/ sel_quitRequested_ = sel_registerName("quitRequested:"); - public static final int /*long*/ sel_systemSettingsChanged_ = sel_registerName("systemSettingsChanged:"); - public static final int /*long*/ sel_panelDidEnd_returnCode_contextInfo_ = sel_registerName("panelDidEnd:returnCode:contextInfo:"); - public static final int /*long*/ sel_updateOpenGLContext_ = sel_registerName("updateOpenGLContext:"); - - public static final int /*long*/ sel_overwriteExistingFileCheck = sel_registerName("_overwriteExistingFileCheck:"); - - public static final int /*long*/ sel_setMovable_ = OS.sel_registerName("setMovable:"); - - public static final int /*long*/ sel_contextID = OS.sel_registerName("contextID"); - - public static final int /*long*/ sel__drawThemeProgressArea_ = OS.sel_registerName("_drawThemeProgressArea:"); - - public static final int /*long*/ sel__setNeedsToUseHeartBeatWindow_ = OS.sel_registerName("_setNeedsToUseHeartBeatWindow:"); - - public static final int /*long*/ class_WebPanelAuthenticationHandler = OS.objc_getClass("WebPanelAuthenticationHandler"); - public static final int /*long*/ sel_sharedHandler = sel_registerName("sharedHandler"); - public static final int /*long*/ sel_startAuthentication = sel_registerName("startAuthentication:window:"); - - /* These are not generated in order to avoid creating static methods on all classes */ - public static final int /*long*/ sel_isSelectorExcludedFromWebScript_ = sel_registerName("isSelectorExcludedFromWebScript:"); - public static final int /*long*/ sel_webScriptNameForSelector_ = sel_registerName("webScriptNameForSelector:"); - -/** JNI natives */ - -/** @method flags=jni */ -public static final native int /*long*/ NewGlobalRef(Object object); -/** - * @method flags=jni - * @param globalRef cast=(jobject) - */ -public static final native void DeleteGlobalRef(int /*long*/ globalRef); -/** @method flags=no_gen */ -public static final native Object JNIGetObject(int /*long*/ globalRef); - -/** Carbon calls */ - -public static final native int Gestalt(int selector, int[] response); -/** @param psn cast=(ProcessSerialNumber *) */ -public static final native int GetCurrentProcess(int[] psn); -/** @param psn cast=(ProcessSerialNumber *) */ -public static final native int SetFrontProcess(int[] psn); -/** @param psn cast=(ProcessSerialNumber *) */ -public static final native int TransformProcessType(int[] psn, int transformState); -public static final native int CPSSetProcessName(int[] psn, int /*long*/ name); -/** @method flags=dynamic */ -public static final native int SetThemeCursor(int themeCursor); -/** @method flags=dynamic */ -public static final native int GetCurrentButtonState(); -/** @method flags=dynamic */ -public static final native int GetDblTime(); -/** @method flags=dynamic - @param cast=(CGContextRef) */ -public static final native int /*long*/ CGContextCopyPath(int /*long*/ context); -/** @method flags=dynamic */ -public static final native int /*long*/ TISCopyCurrentKeyboardInputSource(); -/** @method flags=dynamic - @param cast=(TISInputSourceRef) - @param cast=(CFStringRef) */ -public static final native int /*long*/ TISGetInputSourceProperty (int /*long*/ inputSource, int /*long*/ propertyKey); -/** @method flags=no_gen */ -public static final native int /*long*/ kTISPropertyUnicodeKeyLayoutData(); -/** - * @method flags=dynamic - * @param inMode cast=(UInt32) - * @param inOptions cast=(UInt32) - */ -public static final native int SetSystemUIMode(int inMode, int inOptions); -/** - * @method flags=dynamic - * @param keyLayoutPtr cast=(const UCKeyboardLayout *) - * @param virtualKeyCode cast=(UInt16) - * @param keyAction cast=(UInt16) - * @param modifierKeyState cast=(UInt32) - * @param keyboardType cast=(UInt32) - * @param keyTranslateOptions cast=(OptionBits) - * @param deadKeyState cast=(UInt32 *) - * @param maxStringLength cast=(UniCharCount) - * @param actualStringLength cast=(UniCharCount *) - * @param unicodeString cast=(UniChar *) - */ -public static final native int UCKeyTranslate (int /*long*/ keyLayoutPtr, short virtualKeyCode, short keyAction, int modifierKeyState, int keyboardType, int keyTranslateOptions, int[] deadKeyState, int maxStringLength, int[] actualStringLength, char[] unicodeString); -/** - * @method flags=dynamic - * @param metric cast=(SInt32 *) -*/ -public static final native void GetThemeMetric(int themeConstant, int[] metric); -/** - * @method flags=dynamic - * @param inContext cast=(CGContextRef) -*/ -public static final native int HIThemeDrawFocusRect(CGRect inRect, boolean inHasFocus, int /*long*/ inContext, int inOrientation); - -public static final int kUCKeyActionDown = 0; -public static final int kUCKeyActionUp = 1; - -public static final int kThemeCopyArrowCursor = 1; -public static final int kThemeNotAllowedCursor = 18; -public static final int kThemeAliasArrowCursor = 2; - -/** @method flags=dynamic - * @param iFile cast=(const FSRef *) - * @param iContext cast=(ATSFontContext) - * @param iFormat cast=(ATSFontFormat) - * @param iReserved cast=(void *) - * @param iOptions cast=(ATSOptionFlags) - * @param oContainer cast=(ATSFontContainerRef *) - */ -public static final native int ATSFontActivateFromFileReference(byte[] iFile, int iContext, int iFormat, int /*long*/ iReserved, int iOptions, int /*long*/ [] oContainer); - -public static final int kATSFontContextLocal = 2; -public static final int kATSOptionFlagsDefault = 0; -public static final int kATSFontFormatUnspecified = 0; - -/** @method flags=dynamic - * @param path cast=(const UInt8 *) - * @param ref cast=(FSRef *) - * @param isDirectory cast=(Boolean *) - */ -public static final native int FSPathMakeRef (int /*long*/ path, byte[] ref, boolean[] isDirectory); - -/** @method flags=dynamic */ -public static final native byte LMGetKbdType(); - -/** @method flags=dynamic */ -public static final native int /*long*/ AcquireRootMenu (); -/** @method flags=dynamic */ -public static final native int CancelMenuTracking (int /*long*/ inRootMenu, boolean inImmediate, int inDismissalReason); - -/** C calls */ - -public static final native int getpid(); - -public static final native void call(int /*long*/ proc, int /*long*/ id, int /*long*/ sel); - -/** @method flags=no_gen */ -public static final native boolean __BIG_ENDIAN__(); -public static final int kCGBitmapByteOrderDefault = 0 << 12; -public static final int kCGBitmapByteOrder16Little = 1 << 12; -public static final int kCGBitmapByteOrder32Little = 2 << 12; -public static final int kCGBitmapByteOrder16Big = 3 << 12; -public static final int kCGBitmapByteOrder32Big = 4 << 12; -public static final int kCGBitmapByteOrder16Host = __BIG_ENDIAN__() ? kCGBitmapByteOrder16Big : kCGBitmapByteOrder16Little; -public static final int kCGBitmapByteOrder32Host = __BIG_ENDIAN__() ? kCGBitmapByteOrder32Big : kCGBitmapByteOrder32Little; - -/** - * @method flags=dynamic - * @param destRect flags=struct - * @param srcRect flags=struct - */ -public static final native void CGContextCopyWindowContentsToRect(int /*long*/ context, CGRect destRect, int /*long*/ contextID, int /*long*/ windowNumber, CGRect srcRect); - -/** QuickDraw calls */ - -/** @method flags=dynamic */ -public static final native int /*long*/ NewRgn(); -/** @method flags=dynamic */ -public static final native void RectRgn(int /*long*/ rgnHandle, short[] rect); -/** @method flags=dynamic */ -public static final native void OpenRgn(); -/** @method flags=dynamic */ -public static final native void OffsetRgn(int /*long*/ rgnHandle, short dh, short dv); -/** @method flags=dynamic */ -public static final native void MoveTo(short h, short v); -/** @method flags=dynamic */ -public static final native void LineTo(short h, short v); -/** @method flags=dynamic */ -public static final native void UnionRgn(int /*long*/ srcRgnA, int /*long*/ srcRgnB, int /*long*/ dstRgn); -/** @method flags=dynamic */ -public static final native void CloseRgn(int /*long*/ dstRgn); -/** @method flags=dynamic */ -public static final native void DisposeRgn(int /*long*/ rgnHandle); -/** - * @method flags=dynamic - * @param pt flags=struct,cast=(Point *) - */ -public static final native boolean PtInRgn(short[] pt, int /*long*/ rgnHandle); -/** @method flags=dynamic */ -public static final native void GetRegionBounds(int /*long*/ rgnHandle, short[] bounds); -/** @method flags=dynamic */ -public static final native void SectRgn(int /*long*/ srcRgnA, int /*long*/ srcRgnB, int /*long*/ dstRgn); -/** @method flags=dynamic */ -public static final native boolean EmptyRgn(int /*long*/ rgnHandle); -/** @method flags=dynamic */ -public static final native void DiffRgn(int /*long*/ srcRgnA, int /*long*/ srcRgnB, int /*long*/ dstRgn); -/** @method flags=dynamic */ -public static final native boolean RectInRgn(short[] rect, int /*long*/ rgnHandle); -/** @method flags=dynamic */ -public static final native int QDRegionToRects(int /*long*/ rgn, int dir, int /*long*/ proc, int /*long*/ userData); -/** @method flags=dynamic */ -public static final native void CopyRgn(int /*long*/ srcRgnHandle, int /*long*/ dstRgnHandle); -/** @method flags=dynamic */ -public static final native void SetRect(short[] r, short left, short top, short right, short bottom); -public static final int kQDParseRegionFromTop = (1 << 0); -public static final int kQDParseRegionFromBottom = (1 << 1); -public static final int kQDParseRegionFromLeft = (1 << 2); -public static final int kQDParseRegionFromRight = (1 << 3); -public static final int kQDParseRegionFromTopLeft = kQDParseRegionFromTop | kQDParseRegionFromLeft; -public static final int kQDRegionToRectsMsgParse = 2; - -/** Custom callbacks */ - -/** @method flags=no_gen */ -public static final native int /*long*/ isFlipped_CALLBACK(); - -/** Custom structure return */ - -/** @method flags=no_gen */ -public static final native void NSIntersectionRect (NSRect result, NSRect aRect, NSRect bRect); -/** - * @method flags=no_gen - * @param display cast=(CGDirectDisplayID) - */ -public static final native void CGDisplayBounds(int display, CGRect rect); - -/** Objective-C runtime */ - -/** - * @param cls cast=(Class) - * @param name cast=(const char *),flags=critical - * @param types cast=(const char *),flags=critical - */ -public static final native boolean class_addIvar(int /*long*/ cls, byte[] name, int /*long*/ size, byte alignment, byte[] types); -/** - * @param cls cast=(Class) - * @param name cast=(SEL) - * @param imp cast=(IMP) - */ -public static final native boolean class_addMethod(int /*long*/ cls, int /*long*/ name, int /*long*/ imp, String types); -/** - * @param cls cast=(Class) - * @param protocol cast=(Protocol *) - */ -public static final native boolean class_addProtocol(int /*long*/ cls, int /*long*/ protocol); -/** - * @param method cast=(Method) - * @param aClass cast=(Class) - * @param aSelector cast=(SEL) - */ -public static final native int /*long*/ class_getClassMethod(int /*long*/ aClass, int /*long*/ aSelector); -/** - * @param cls cast=(Class) - * @param name cast=(SEL) - */ -public static final native int /*long*/ class_getMethodImplementation(int /*long*/ cls, int /*long*/ name); -/** - * @param cls cast=(Class) - * @param name cast=(SEL) - */ -public static final native int /*long*/ class_getInstanceMethod(int /*long*/ cls, int /*long*/ name); -/** @param cls cast=(Class) */ -public static final native int /*long*/ class_getSuperclass(int /*long*/ cls); -/** - * @param method cast=(Method) - * @param imp cast=(IMP) - */ -public static final native int /*long*/ method_setImplementation(int /*long*/ method, int /*long*/ imp); -/** - * @param cls cast=(Class) - * @param extraBytes cast=(size_t) - */ -public static final native int /*long*/ class_createInstance(int /*long*/ cls, int /*long*/ extraBytes); - -/** @method flags=no_gen */ -public static final native String class_getName(int /*long*/ cls); -/** @method flags=dynamic */ -public static final native void instrumentObjcMessageSends(boolean val); -/** @param superclass cast=(Class) */ -public static final native int /*long*/ objc_allocateClassPair(int /*long*/ superclass, String name, int /*long*/ extraBytes); -public static final native int /*long*/ objc_getClass(String className); -public static final native int /*long*/ objc_getMetaClass(String name); -public static final native int /*long*/ objc_getProtocol(String name); -public static final native int /*long*/ objc_lookUpClass(String className); -/** @param cls cast=(Class) */ -public static final native void objc_registerClassPair(int /*long*/ cls); -/** @param obj cast=(id) */ -public static final native int /*long*/ object_getClassName(int /*long*/ obj); -/** @param obj cast=(id) */ -public static final native int /*long*/ object_getClass(int /*long*/ obj); - -/** - * @param obj cast=(id) - * @param name cast=(const char*),flags=critical - * @param outValue cast=(void **),flags=critical - */ -public static final native int /*long*/ object_getInstanceVariable(int /*long*/ obj, byte[] name, int /*long*/ [] outValue); -/** - * @param obj cast=(id) - * @param name cast=(const char*),flags=critical - * @param value cast=(void *),flags=critical - */ -public static final native int /*long*/ object_setInstanceVariable(int /*long*/ obj, byte[] name, int /*long*/ value); -/** - * @param obj cast=(id) - * @param clazz cast=(Class) - */ -public static final native int /*long*/ object_setClass(int /*long*/ obj, int /*long*/ clazz); -public static final native int /*long*/ sel_registerName(String selectorName); -public static final native int objc_super_sizeof(); - - -/** This section is auto generated */ - -/** Custom callbacks */ -/** @method callback_types=id;id;SEL;NSPoint;,callback_flags=none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_accessibilityHitTest_(int /*long*/ func); -/** @method callback_types=NSAttributedString*;id;SEL;NSRange;,callback_flags=none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_attributedSubstringFromRange_(int /*long*/ func); -/** @method callback_types=BOOL;id;SEL;NSIndexSet*;NSPoint;,callback_flags=none;none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_canDragRowsWithIndexes_atPoint_(int /*long*/ func); -/** @method callback_types=NSSize;id;SEL;,callback_flags=struct;none;none; */ -public static final native int /*long*/ CALLBACK_cellSize(int /*long*/ func); -/** @method callback_types=NSUInteger;id;SEL;NSPoint;,callback_flags=none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_characterIndexForPoint_(int /*long*/ func); -/** @method callback_types=BOOL;id;SEL;NSEvent*;NSSize;BOOL;,callback_flags=none;none;none;none;struct;none; */ -public static final native int /*long*/ CALLBACK_dragSelectionWithEvent_offset_slideBack_(int /*long*/ func); -/** @method callback_types=void;id;SEL;NSImage*;NSPoint;,callback_flags=none;none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_draggedImage_beganAt_(int /*long*/ func); -/** @method callback_types=void;id;SEL;NSImage*;NSPoint;NSDragOperation;,callback_flags=none;none;none;none;struct;none; */ -public static final native int /*long*/ CALLBACK_draggedImage_endedAt_operation_(int /*long*/ func); -/** @method callback_types=void;id;SEL;NSImage*;NSRect;NSView*;,callback_flags=none;none;none;none;struct;none; */ -public static final native int /*long*/ CALLBACK_drawImage_withFrame_inView_(int /*long*/ func); -/** @method callback_types=void;id;SEL;NSRect;NSView*;,callback_flags=none;none;none;struct;none; */ -public static final native int /*long*/ CALLBACK_drawInteriorWithFrame_inView_(int /*long*/ func); -/** @method callback_types=void;id;SEL;NSRect;,callback_flags=none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_drawRect_(int /*long*/ func); -/** @method callback_types=void;id;SEL;NSRect;NSView*;,callback_flags=none;none;none;struct;none; */ -public static final native int /*long*/ CALLBACK_drawWithExpansionFrame_inView_(int /*long*/ func); -/** @method callback_types=NSRect;id;SEL;NSRect;NSView*;,callback_flags=struct;none;none;struct;none; */ -public static final native int /*long*/ CALLBACK_expansionFrameWithFrame_inView_(int /*long*/ func); -/** @method callback_types=NSRect;id;SEL;NSRange;,callback_flags=struct;none;none;struct; */ -public static final native int /*long*/ CALLBACK_firstRectForCharacterRange_(int /*long*/ func); -/** @method callback_types=void;id;SEL;NSRect;,callback_flags=none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_highlightSelectionInClipRect_(int /*long*/ func); -/** @method callback_types=NSView*;id;SEL;NSPoint;,callback_flags=none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_hitTest_(int /*long*/ func); -/** @method callback_types=NSUInteger;id;SEL;NSEvent*;NSRect;NSView*;,callback_flags=none;none;none;none;struct;none; */ -public static final native int /*long*/ CALLBACK_hitTestForEvent_inRect_ofView_(int /*long*/ func); -/** @method callback_types=NSRect;id;SEL;NSRect;,callback_flags=struct;none;none;struct; */ -public static final native int /*long*/ CALLBACK_imageRectForBounds_(int /*long*/ func); -/** @method callback_types=NSRange;id;SEL;,callback_flags=struct;none;none; */ -public static final native int /*long*/ CALLBACK_markedRange(int /*long*/ func); -/** @method callback_types=NSRange;id;SEL;,callback_flags=struct;none;none; */ -public static final native int /*long*/ CALLBACK_selectedRange(int /*long*/ func); -/** @method callback_types=void;id;SEL;NSRect;,callback_flags=none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_setFrame_(int /*long*/ func); -/** @method callback_types=void;id;SEL;NSPoint;,callback_flags=none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_setFrameOrigin_(int /*long*/ func); -/** @method callback_types=void;id;SEL;NSSize;,callback_flags=none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_setFrameSize_(int /*long*/ func); -/** @method callback_types=void;id;SEL;id;NSRange;,callback_flags=none;none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_setMarkedText_selectedRange_(int /*long*/ func); -/** @method callback_types=void;id;SEL;NSRect;,callback_flags=none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_setNeedsDisplayInRect_(int /*long*/ func); -/** @method callback_types=BOOL;id;SEL;NSRange;NSString*;,callback_flags=none;none;none;struct;none; */ -public static final native int /*long*/ CALLBACK_shouldChangeTextInRange_replacementString_(int /*long*/ func); -/** @method callback_types=NSRange;id;SEL;NSTextView*;NSRange;NSRange;,callback_flags=struct;none;none;none;struct;struct; */ -public static final native int /*long*/ CALLBACK_textView_willChangeSelectionFromCharacterRange_toCharacterRange_(int /*long*/ func); -/** @method callback_types=NSRect;id;SEL;NSRect;,callback_flags=struct;none;none;struct; */ -public static final native int /*long*/ CALLBACK_titleRectForBounds_(int /*long*/ func); -/** @method callback_types=NSString*;id;SEL;NSView*;NSToolTipTag;NSPoint;void*;,callback_flags=none;none;none;none;none;struct;none; */ -public static final native int /*long*/ CALLBACK_view_stringForToolTip_point_userData_(int /*long*/ func); -/** @method callback_types=void;id;SEL;WebView*;NSRect;,callback_flags=none;none;none;none;struct; */ -public static final native int /*long*/ CALLBACK_webView_setFrame_(int /*long*/ func); - -/** Classes */ -public static final int /*long*/ class_DOMDocument = objc_getClass("DOMDocument"); -public static final int /*long*/ class_DOMEvent = objc_getClass("DOMEvent"); -public static final int /*long*/ class_DOMKeyboardEvent = objc_getClass("DOMKeyboardEvent"); -public static final int /*long*/ class_DOMMouseEvent = objc_getClass("DOMMouseEvent"); -public static final int /*long*/ class_DOMUIEvent = objc_getClass("DOMUIEvent"); -public static final int /*long*/ class_DOMWheelEvent = objc_getClass("DOMWheelEvent"); -public static final int /*long*/ class_NSActionCell = objc_getClass("NSActionCell"); -public static final int /*long*/ class_NSAffineTransform = objc_getClass("NSAffineTransform"); -public static final int /*long*/ class_NSAlert = objc_getClass("NSAlert"); -public static final int /*long*/ class_NSAppleEventDescriptor = objc_getClass("NSAppleEventDescriptor"); -public static final int /*long*/ class_NSApplication = objc_getClass("NSApplication"); -public static final int /*long*/ class_NSArray = objc_getClass("NSArray"); -public static final int /*long*/ class_NSAttributedString = objc_getClass("NSAttributedString"); -public static final int /*long*/ class_NSAutoreleasePool = objc_getClass("NSAutoreleasePool"); -public static final int /*long*/ class_NSBezierPath = objc_getClass("NSBezierPath"); -public static final int /*long*/ class_NSBitmapImageRep = objc_getClass("NSBitmapImageRep"); -public static final int /*long*/ class_NSBox = objc_getClass("NSBox"); -public static final int /*long*/ class_NSBrowserCell = objc_getClass("NSBrowserCell"); -public static final int /*long*/ class_NSBundle = objc_getClass("NSBundle"); -public static final int /*long*/ class_NSButton = objc_getClass("NSButton"); -public static final int /*long*/ class_NSButtonCell = objc_getClass("NSButtonCell"); -public static final int /*long*/ class_NSCalendarDate = objc_getClass("NSCalendarDate"); -public static final int /*long*/ class_NSCell = objc_getClass("NSCell"); -public static final int /*long*/ class_NSCharacterSet = objc_getClass("NSCharacterSet"); -public static final int /*long*/ class_NSClipView = objc_getClass("NSClipView"); -public static final int /*long*/ class_NSCoder = objc_getClass("NSCoder"); -public static final int /*long*/ class_NSColor = objc_getClass("NSColor"); -public static final int /*long*/ class_NSColorPanel = objc_getClass("NSColorPanel"); -public static final int /*long*/ class_NSColorSpace = objc_getClass("NSColorSpace"); -public static final int /*long*/ class_NSComboBox = objc_getClass("NSComboBox"); -public static final int /*long*/ class_NSComboBoxCell = objc_getClass("NSComboBoxCell"); -public static final int /*long*/ class_NSControl = objc_getClass("NSControl"); -public static final int /*long*/ class_NSCursor = objc_getClass("NSCursor"); -public static final int /*long*/ class_NSData = objc_getClass("NSData"); -public static final int /*long*/ class_NSDate = objc_getClass("NSDate"); -public static final int /*long*/ class_NSDatePicker = objc_getClass("NSDatePicker"); -public static final int /*long*/ class_NSDictionary = objc_getClass("NSDictionary"); -public static final int /*long*/ class_NSDirectoryEnumerator = objc_getClass("NSDirectoryEnumerator"); -public static final int /*long*/ class_NSEnumerator = objc_getClass("NSEnumerator"); -public static final int /*long*/ class_NSError = objc_getClass("NSError"); -public static final int /*long*/ class_NSEvent = objc_getClass("NSEvent"); -public static final int /*long*/ class_NSFileManager = objc_getClass("NSFileManager"); -public static final int /*long*/ class_NSFileWrapper = objc_getClass("NSFileWrapper"); -public static final int /*long*/ class_NSFont = objc_getClass("NSFont"); -public static final int /*long*/ class_NSFontManager = objc_getClass("NSFontManager"); -public static final int /*long*/ class_NSFontPanel = objc_getClass("NSFontPanel"); -public static final int /*long*/ class_NSFormatter = objc_getClass("NSFormatter"); -public static final int /*long*/ class_NSGradient = objc_getClass("NSGradient"); -public static final int /*long*/ class_NSGraphicsContext = objc_getClass("NSGraphicsContext"); -public static final int /*long*/ class_NSHTTPCookie = objc_getClass("NSHTTPCookie"); -public static final int /*long*/ class_NSHTTPCookieStorage = objc_getClass("NSHTTPCookieStorage"); -public static final int /*long*/ class_NSImage = objc_getClass("NSImage"); -public static final int /*long*/ class_NSImageRep = objc_getClass("NSImageRep"); -public static final int /*long*/ class_NSImageView = objc_getClass("NSImageView"); -public static final int /*long*/ class_NSIndexSet = objc_getClass("NSIndexSet"); -public static final int /*long*/ class_NSInputManager = objc_getClass("NSInputManager"); -public static final int /*long*/ class_NSKeyedArchiver = objc_getClass("NSKeyedArchiver"); -public static final int /*long*/ class_NSKeyedUnarchiver = objc_getClass("NSKeyedUnarchiver"); -public static final int /*long*/ class_NSLayoutManager = objc_getClass("NSLayoutManager"); -public static final int /*long*/ class_NSMenu = objc_getClass("NSMenu"); -public static final int /*long*/ class_NSMenuItem = objc_getClass("NSMenuItem"); -public static final int /*long*/ class_NSMutableArray = objc_getClass("NSMutableArray"); -public static final int /*long*/ class_NSMutableAttributedString = objc_getClass("NSMutableAttributedString"); -public static final int /*long*/ class_NSMutableDictionary = objc_getClass("NSMutableDictionary"); -public static final int /*long*/ class_NSMutableIndexSet = objc_getClass("NSMutableIndexSet"); -public static final int /*long*/ class_NSMutableParagraphStyle = objc_getClass("NSMutableParagraphStyle"); -public static final int /*long*/ class_NSMutableSet = objc_getClass("NSMutableSet"); -public static final int /*long*/ class_NSMutableString = objc_getClass("NSMutableString"); -public static final int /*long*/ class_NSMutableURLRequest = objc_getClass("NSMutableURLRequest"); -public static final int /*long*/ class_NSNotification = objc_getClass("NSNotification"); -public static final int /*long*/ class_NSNotificationCenter = objc_getClass("NSNotificationCenter"); -public static final int /*long*/ class_NSNumber = objc_getClass("NSNumber"); -public static final int /*long*/ class_NSNumberFormatter = objc_getClass("NSNumberFormatter"); -public static final int /*long*/ class_NSObject = objc_getClass("NSObject"); -public static final int /*long*/ class_NSOpenGLContext = objc_getClass("NSOpenGLContext"); -public static final int /*long*/ class_NSOpenGLPixelFormat = objc_getClass("NSOpenGLPixelFormat"); -public static final int /*long*/ class_NSOpenPanel = objc_getClass("NSOpenPanel"); -public static final int /*long*/ class_NSOutlineView = objc_getClass("NSOutlineView"); -public static final int /*long*/ class_NSPanel = objc_getClass("NSPanel"); -public static final int /*long*/ class_NSParagraphStyle = objc_getClass("NSParagraphStyle"); -public static final int /*long*/ class_NSPasteboard = objc_getClass("NSPasteboard"); -public static final int /*long*/ class_NSPopUpButton = objc_getClass("NSPopUpButton"); -public static final int /*long*/ class_NSPrintInfo = objc_getClass("NSPrintInfo"); -public static final int /*long*/ class_NSPrintOperation = objc_getClass("NSPrintOperation"); -public static final int /*long*/ class_NSPrintPanel = objc_getClass("NSPrintPanel"); -public static final int /*long*/ class_NSPrinter = objc_getClass("NSPrinter"); -public static final int /*long*/ class_NSProgressIndicator = objc_getClass("NSProgressIndicator"); -public static final int /*long*/ class_NSResponder = objc_getClass("NSResponder"); -public static final int /*long*/ class_NSRunLoop = objc_getClass("NSRunLoop"); -public static final int /*long*/ class_NSSavePanel = objc_getClass("NSSavePanel"); -public static final int /*long*/ class_NSScreen = objc_getClass("NSScreen"); -public static final int /*long*/ class_NSScrollView = objc_getClass("NSScrollView"); -public static final int /*long*/ class_NSScroller = objc_getClass("NSScroller"); -public static final int /*long*/ class_NSSearchField = objc_getClass("NSSearchField"); -public static final int /*long*/ class_NSSearchFieldCell = objc_getClass("NSSearchFieldCell"); -public static final int /*long*/ class_NSSecureTextField = objc_getClass("NSSecureTextField"); -public static final int /*long*/ class_NSSegmentedCell = objc_getClass("NSSegmentedCell"); -public static final int /*long*/ class_NSSet = objc_getClass("NSSet"); -public static final int /*long*/ class_NSSlider = objc_getClass("NSSlider"); -public static final int /*long*/ class_NSStatusBar = objc_getClass("NSStatusBar"); -public static final int /*long*/ class_NSStatusItem = objc_getClass("NSStatusItem"); -public static final int /*long*/ class_NSStepper = objc_getClass("NSStepper"); -public static final int /*long*/ class_NSString = objc_getClass("NSString"); -public static final int /*long*/ class_NSTabView = objc_getClass("NSTabView"); -public static final int /*long*/ class_NSTabViewItem = objc_getClass("NSTabViewItem"); -public static final int /*long*/ class_NSTableColumn = objc_getClass("NSTableColumn"); -public static final int /*long*/ class_NSTableHeaderCell = objc_getClass("NSTableHeaderCell"); -public static final int /*long*/ class_NSTableHeaderView = objc_getClass("NSTableHeaderView"); -public static final int /*long*/ class_NSTableView = objc_getClass("NSTableView"); -public static final int /*long*/ class_NSText = objc_getClass("NSText"); -public static final int /*long*/ class_NSTextAttachment = objc_getClass("NSTextAttachment"); -public static final int /*long*/ class_NSTextContainer = objc_getClass("NSTextContainer"); -public static final int /*long*/ class_NSTextField = objc_getClass("NSTextField"); -public static final int /*long*/ class_NSTextFieldCell = objc_getClass("NSTextFieldCell"); -public static final int /*long*/ class_NSTextStorage = objc_getClass("NSTextStorage"); -public static final int /*long*/ class_NSTextTab = objc_getClass("NSTextTab"); -public static final int /*long*/ class_NSTextView = objc_getClass("NSTextView"); -public static final int /*long*/ class_NSThread = objc_getClass("NSThread"); -public static final int /*long*/ class_NSTimeZone = objc_getClass("NSTimeZone"); -public static final int /*long*/ class_NSTimer = objc_getClass("NSTimer"); -public static final int /*long*/ class_NSToolbar = objc_getClass("NSToolbar"); -public static final int /*long*/ class_NSToolbarItem = objc_getClass("NSToolbarItem"); -public static final int /*long*/ class_NSTrackingArea = objc_getClass("NSTrackingArea"); -public static final int /*long*/ class_NSTypesetter = objc_getClass("NSTypesetter"); -public static final int /*long*/ class_NSURL = objc_getClass("NSURL"); -public static final int /*long*/ class_NSURLAuthenticationChallenge = objc_getClass("NSURLAuthenticationChallenge"); -public static final int /*long*/ class_NSURLCredential = objc_getClass("NSURLCredential"); -public static final int /*long*/ class_NSURLDownload = objc_getClass("NSURLDownload"); -public static final int /*long*/ class_NSURLProtectionSpace = objc_getClass("NSURLProtectionSpace"); -public static final int /*long*/ class_NSURLRequest = objc_getClass("NSURLRequest"); -public static final int /*long*/ class_NSValue = objc_getClass("NSValue"); -public static final int /*long*/ class_NSView = objc_getClass("NSView"); -public static final int /*long*/ class_NSWindow = objc_getClass("NSWindow"); -public static final int /*long*/ class_NSWorkspace = objc_getClass("NSWorkspace"); -public static final int /*long*/ class_WebDataSource = objc_getClass("WebDataSource"); -public static final int /*long*/ class_WebFrame = objc_getClass("WebFrame"); -public static final int /*long*/ class_WebFrameView = objc_getClass("WebFrameView"); -public static final int /*long*/ class_WebPreferences = objc_getClass("WebPreferences"); -public static final int /*long*/ class_WebScriptObject = objc_getClass("WebScriptObject"); -public static final int /*long*/ class_WebUndefined = objc_getClass("WebUndefined"); -public static final int /*long*/ class_WebView = objc_getClass("WebView"); - -/** Protocols */ -public static final int /*long*/ protocol_NSAccessibility = objc_getProtocol("NSAccessibility"); -public static final int /*long*/ protocol_NSAccessibilityAdditions = objc_getProtocol("NSAccessibilityAdditions"); -public static final int /*long*/ protocol_NSApplicationDelegate = objc_getProtocol("NSApplicationDelegate"); -public static final int /*long*/ protocol_NSApplicationNotifications = objc_getProtocol("NSApplicationNotifications"); -public static final int /*long*/ protocol_NSColorPanelResponderMethod = objc_getProtocol("NSColorPanelResponderMethod"); -public static final int /*long*/ protocol_NSComboBoxNotifications = objc_getProtocol("NSComboBoxNotifications"); -public static final int /*long*/ protocol_NSDraggingDestination = objc_getProtocol("NSDraggingDestination"); -public static final int /*long*/ protocol_NSDraggingSource = objc_getProtocol("NSDraggingSource"); -public static final int /*long*/ protocol_NSFontManagerResponderMethod = objc_getProtocol("NSFontManagerResponderMethod"); -public static final int /*long*/ protocol_NSMenuDelegate = objc_getProtocol("NSMenuDelegate"); -public static final int /*long*/ protocol_NSOutlineViewDataSource = objc_getProtocol("NSOutlineViewDataSource"); -public static final int /*long*/ protocol_NSOutlineViewDelegate = objc_getProtocol("NSOutlineViewDelegate"); -public static final int /*long*/ protocol_NSOutlineViewNotifications = objc_getProtocol("NSOutlineViewNotifications"); -public static final int /*long*/ protocol_NSPasteboardOwner = objc_getProtocol("NSPasteboardOwner"); -public static final int /*long*/ protocol_NSSavePanelDelegate = objc_getProtocol("NSSavePanelDelegate"); -public static final int /*long*/ protocol_NSTabViewDelegate = objc_getProtocol("NSTabViewDelegate"); -public static final int /*long*/ protocol_NSTableDataSource = objc_getProtocol("NSTableDataSource"); -public static final int /*long*/ protocol_NSTableViewDelegate = objc_getProtocol("NSTableViewDelegate"); -public static final int /*long*/ protocol_NSTableViewNotifications = objc_getProtocol("NSTableViewNotifications"); -public static final int /*long*/ protocol_NSTextDelegate = objc_getProtocol("NSTextDelegate"); -public static final int /*long*/ protocol_NSTextInput = objc_getProtocol("NSTextInput"); -public static final int /*long*/ protocol_NSTextViewDelegate = objc_getProtocol("NSTextViewDelegate"); -public static final int /*long*/ protocol_NSToolTipOwner = objc_getProtocol("NSToolTipOwner"); -public static final int /*long*/ protocol_NSToolbarDelegate = objc_getProtocol("NSToolbarDelegate"); -public static final int /*long*/ protocol_NSToolbarNotifications = objc_getProtocol("NSToolbarNotifications"); -public static final int /*long*/ protocol_NSURLDownloadDelegate = objc_getProtocol("NSURLDownloadDelegate"); -public static final int /*long*/ protocol_NSWindowDelegate = objc_getProtocol("NSWindowDelegate"); -public static final int /*long*/ protocol_NSWindowNotifications = objc_getProtocol("NSWindowNotifications"); -public static final int /*long*/ protocol_WebDocumentRepresentation = objc_getProtocol("WebDocumentRepresentation"); -public static final int /*long*/ protocol_WebFrameLoadDelegate = objc_getProtocol("WebFrameLoadDelegate"); -public static final int /*long*/ protocol_WebOpenPanelResultListener = objc_getProtocol("WebOpenPanelResultListener"); -public static final int /*long*/ protocol_WebPolicyDecisionListener = objc_getProtocol("WebPolicyDecisionListener"); -public static final int /*long*/ protocol_WebPolicyDelegate = objc_getProtocol("WebPolicyDelegate"); -public static final int /*long*/ protocol_WebResourceLoadDelegate = objc_getProtocol("WebResourceLoadDelegate"); -public static final int /*long*/ protocol_WebUIDelegate = objc_getProtocol("WebUIDelegate"); - -/** Selectors */ -public static final int /*long*/ sel_CGEvent = sel_registerName("CGEvent"); -public static final int /*long*/ sel_DOMDocument = sel_registerName("DOMDocument"); -public static final int /*long*/ sel_IBeamCursor = sel_registerName("IBeamCursor"); -public static final int /*long*/ sel_TIFFRepresentation = sel_registerName("TIFFRepresentation"); -public static final int /*long*/ sel_URL = sel_registerName("URL"); -public static final int /*long*/ sel_URLFromPasteboard_ = sel_registerName("URLFromPasteboard:"); -public static final int /*long*/ sel_URLWithString_ = sel_registerName("URLWithString:"); -public static final int /*long*/ sel_UTF8String = sel_registerName("UTF8String"); -public static final int /*long*/ sel_abortEditing = sel_registerName("abortEditing"); -public static final int /*long*/ sel_absoluteString = sel_registerName("absoluteString"); -public static final int /*long*/ sel_acceptsFirstMouse_ = sel_registerName("acceptsFirstMouse:"); -public static final int /*long*/ sel_acceptsFirstResponder = sel_registerName("acceptsFirstResponder"); -public static final int /*long*/ sel_accessibilityActionDescription_ = sel_registerName("accessibilityActionDescription:"); -public static final int /*long*/ sel_accessibilityActionNames = sel_registerName("accessibilityActionNames"); -public static final int /*long*/ sel_accessibilityAttributeNames = sel_registerName("accessibilityAttributeNames"); -public static final int /*long*/ sel_accessibilityAttributeValue_ = sel_registerName("accessibilityAttributeValue:"); -public static final int /*long*/ sel_accessibilityAttributeValue_forParameter_ = sel_registerName("accessibilityAttributeValue:forParameter:"); -public static final int /*long*/ sel_accessibilityFocusedUIElement = sel_registerName("accessibilityFocusedUIElement"); -public static final int /*long*/ sel_accessibilityHitTest_ = sel_registerName("accessibilityHitTest:"); -public static final int /*long*/ sel_accessibilityIsAttributeSettable_ = sel_registerName("accessibilityIsAttributeSettable:"); -public static final int /*long*/ sel_accessibilityIsIgnored = sel_registerName("accessibilityIsIgnored"); -public static final int /*long*/ sel_accessibilityParameterizedAttributeNames = sel_registerName("accessibilityParameterizedAttributeNames"); -public static final int /*long*/ sel_accessibilityPerformAction_ = sel_registerName("accessibilityPerformAction:"); -public static final int /*long*/ sel_accessibilitySetOverrideValue_forAttribute_ = sel_registerName("accessibilitySetOverrideValue:forAttribute:"); -public static final int /*long*/ sel_accessibilitySetValue_forAttribute_ = sel_registerName("accessibilitySetValue:forAttribute:"); -public static final int /*long*/ sel_action = sel_registerName("action"); -public static final int /*long*/ sel_activateIgnoringOtherApps_ = sel_registerName("activateIgnoringOtherApps:"); -public static final int /*long*/ sel_addAttribute_value_range_ = sel_registerName("addAttribute:value:range:"); -public static final int /*long*/ sel_addButtonWithTitle_ = sel_registerName("addButtonWithTitle:"); -public static final int /*long*/ sel_addChildWindow_ordered_ = sel_registerName("addChildWindow:ordered:"); -public static final int /*long*/ sel_addClip = sel_registerName("addClip"); -public static final int /*long*/ sel_addEventListener_listener_useCapture_ = sel_registerName("addEventListener:listener:useCapture:"); -public static final int /*long*/ sel_addIndex_ = sel_registerName("addIndex:"); -public static final int /*long*/ sel_addItem_ = sel_registerName("addItem:"); -public static final int /*long*/ sel_addItemWithObjectValue_ = sel_registerName("addItemWithObjectValue:"); -public static final int /*long*/ sel_addItemWithTitle_action_keyEquivalent_ = sel_registerName("addItemWithTitle:action:keyEquivalent:"); -public static final int /*long*/ sel_addLayoutManager_ = sel_registerName("addLayoutManager:"); -public static final int /*long*/ sel_addObject_ = sel_registerName("addObject:"); -public static final int /*long*/ sel_addObjectsFromArray_ = sel_registerName("addObjectsFromArray:"); -public static final int /*long*/ sel_addObserver_selector_name_object_ = sel_registerName("addObserver:selector:name:object:"); -public static final int /*long*/ sel_addRepresentation_ = sel_registerName("addRepresentation:"); -public static final int /*long*/ sel_addSubview_ = sel_registerName("addSubview:"); -public static final int /*long*/ sel_addSubview_positioned_relativeTo_ = sel_registerName("addSubview:positioned:relativeTo:"); -public static final int /*long*/ sel_addTabStop_ = sel_registerName("addTabStop:"); -public static final int /*long*/ sel_addTabViewItem_ = sel_registerName("addTabViewItem:"); -public static final int /*long*/ sel_addTableColumn_ = sel_registerName("addTableColumn:"); -public static final int /*long*/ sel_addTemporaryAttribute_value_forCharacterRange_ = sel_registerName("addTemporaryAttribute:value:forCharacterRange:"); -public static final int /*long*/ sel_addTextContainer_ = sel_registerName("addTextContainer:"); -public static final int /*long*/ sel_addTimer_forMode_ = sel_registerName("addTimer:forMode:"); -public static final int /*long*/ sel_addToolTipRect_owner_userData_ = sel_registerName("addToolTipRect:owner:userData:"); -public static final int /*long*/ sel_addTypes_owner_ = sel_registerName("addTypes:owner:"); -public static final int /*long*/ sel_alignment = sel_registerName("alignment"); -public static final int /*long*/ sel_allKeys = sel_registerName("allKeys"); -public static final int /*long*/ sel_alloc = sel_registerName("alloc"); -public static final int /*long*/ sel_allowsColumnReordering = sel_registerName("allowsColumnReordering"); -public static final int /*long*/ sel_allowsFloats = sel_registerName("allowsFloats"); -public static final int /*long*/ sel_alphaComponent = sel_registerName("alphaComponent"); -public static final int /*long*/ sel_alphaValue = sel_registerName("alphaValue"); -public static final int /*long*/ sel_altKey = sel_registerName("altKey"); -public static final int /*long*/ sel_alternateSelectedControlColor = sel_registerName("alternateSelectedControlColor"); -public static final int /*long*/ sel_alternateSelectedControlTextColor = sel_registerName("alternateSelectedControlTextColor"); -public static final int /*long*/ sel_alwaysShowsDecimalSeparator = sel_registerName("alwaysShowsDecimalSeparator"); -public static final int /*long*/ sel_appendAttributedString_ = sel_registerName("appendAttributedString:"); -public static final int /*long*/ sel_appendBezierPath_ = sel_registerName("appendBezierPath:"); -public static final int /*long*/ sel_appendBezierPathWithArcWithCenter_radius_startAngle_endAngle_ = sel_registerName("appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:"); -public static final int /*long*/ sel_appendBezierPathWithArcWithCenter_radius_startAngle_endAngle_clockwise_ = sel_registerName("appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:clockwise:"); -public static final int /*long*/ sel_appendBezierPathWithGlyphs_count_inFont_ = sel_registerName("appendBezierPathWithGlyphs:count:inFont:"); -public static final int /*long*/ sel_appendBezierPathWithOvalInRect_ = sel_registerName("appendBezierPathWithOvalInRect:"); -public static final int /*long*/ sel_appendBezierPathWithRect_ = sel_registerName("appendBezierPathWithRect:"); -public static final int /*long*/ sel_appendBezierPathWithRoundedRect_xRadius_yRadius_ = sel_registerName("appendBezierPathWithRoundedRect:xRadius:yRadius:"); -public static final int /*long*/ sel_appendString_ = sel_registerName("appendString:"); -public static final int /*long*/ sel_applicationDidBecomeActive_ = sel_registerName("applicationDidBecomeActive:"); -public static final int /*long*/ sel_applicationDidFinishLaunching_ = sel_registerName("applicationDidFinishLaunching:"); -public static final int /*long*/ sel_applicationDidResignActive_ = sel_registerName("applicationDidResignActive:"); -public static final int /*long*/ sel_applicationShouldTerminate_ = sel_registerName("applicationShouldTerminate:"); -public static final int /*long*/ sel_applicationWillFinishLaunching_ = sel_registerName("applicationWillFinishLaunching:"); -public static final int /*long*/ sel_applicationWillTerminate_ = sel_registerName("applicationWillTerminate:"); -public static final int /*long*/ sel_archivedDataWithRootObject_ = sel_registerName("archivedDataWithRootObject:"); -public static final int /*long*/ sel_areCursorRectsEnabled = sel_registerName("areCursorRectsEnabled"); -public static final int /*long*/ sel_array = sel_registerName("array"); -public static final int /*long*/ sel_arrayWithCapacity_ = sel_registerName("arrayWithCapacity:"); -public static final int /*long*/ sel_arrayWithObject_ = sel_registerName("arrayWithObject:"); -public static final int /*long*/ sel_arrowCursor = sel_registerName("arrowCursor"); -public static final int /*long*/ sel_ascender = sel_registerName("ascender"); -public static final int /*long*/ sel_attributedStringValue = sel_registerName("attributedStringValue"); -public static final int /*long*/ sel_attributedStringWithAttachment_ = sel_registerName("attributedStringWithAttachment:"); -public static final int /*long*/ sel_attributedSubstringFromRange_ = sel_registerName("attributedSubstringFromRange:"); -public static final int /*long*/ sel_attributedTitle = sel_registerName("attributedTitle"); -public static final int /*long*/ sel_attributesAtIndex_longestEffectiveRange_inRange_ = sel_registerName("attributesAtIndex:longestEffectiveRange:inRange:"); -public static final int /*long*/ sel_autorelease = sel_registerName("autorelease"); -public static final int /*long*/ sel_availableFontFamilies = sel_registerName("availableFontFamilies"); -public static final int /*long*/ sel_availableFonts = sel_registerName("availableFonts"); -public static final int /*long*/ sel_availableMembersOfFontFamily_ = sel_registerName("availableMembersOfFontFamily:"); -public static final int /*long*/ sel_availableTypeFromArray_ = sel_registerName("availableTypeFromArray:"); -public static final int /*long*/ sel_baselineOffsetInLayoutManager_glyphIndex_ = sel_registerName("baselineOffsetInLayoutManager:glyphIndex:"); -public static final int /*long*/ sel_becomeFirstResponder = sel_registerName("becomeFirstResponder"); -public static final int /*long*/ sel_becomeKeyWindow = sel_registerName("becomeKeyWindow"); -public static final int /*long*/ sel_beginDocument = sel_registerName("beginDocument"); -public static final int /*long*/ sel_beginEditing = sel_registerName("beginEditing"); -public static final int /*long*/ sel_beginPageInRect_atPlacement_ = sel_registerName("beginPageInRect:atPlacement:"); -public static final int /*long*/ sel_beginSheet_modalForWindow_modalDelegate_didEndSelector_contextInfo_ = sel_registerName("beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:"); -public static final int /*long*/ sel_beginSheetModalForWindow_modalDelegate_didEndSelector_contextInfo_ = sel_registerName("beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:"); -public static final int /*long*/ sel_beginSheetWithPrintInfo_modalForWindow_delegate_didEndSelector_contextInfo_ = sel_registerName("beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:"); -public static final int /*long*/ sel_bestRepresentationForDevice_ = sel_registerName("bestRepresentationForDevice:"); -public static final int /*long*/ sel_bezierPath = sel_registerName("bezierPath"); -public static final int /*long*/ sel_bezierPathByFlatteningPath = sel_registerName("bezierPathByFlatteningPath"); -public static final int /*long*/ sel_bezierPathWithRect_ = sel_registerName("bezierPathWithRect:"); -public static final int /*long*/ sel_bitmapData = sel_registerName("bitmapData"); -public static final int /*long*/ sel_bitmapFormat = sel_registerName("bitmapFormat"); -public static final int /*long*/ sel_bitsPerPixel = sel_registerName("bitsPerPixel"); -public static final int /*long*/ sel_bitsPerSample = sel_registerName("bitsPerSample"); -public static final int /*long*/ sel_blackColor = sel_registerName("blackColor"); -public static final int /*long*/ sel_blueComponent = sel_registerName("blueComponent"); -public static final int /*long*/ sel_boolValue = sel_registerName("boolValue"); -public static final int /*long*/ sel_borderWidth = sel_registerName("borderWidth"); -public static final int /*long*/ sel_boundingRectForGlyphRange_inTextContainer_ = sel_registerName("boundingRectForGlyphRange:inTextContainer:"); -public static final int /*long*/ sel_bounds = sel_registerName("bounds"); -public static final int /*long*/ sel_bundleIdentifier = sel_registerName("bundleIdentifier"); -public static final int /*long*/ sel_bundlePath = sel_registerName("bundlePath"); -public static final int /*long*/ sel_bundleWithIdentifier_ = sel_registerName("bundleWithIdentifier:"); -public static final int /*long*/ sel_bundleWithPath_ = sel_registerName("bundleWithPath:"); -public static final int /*long*/ sel_button = sel_registerName("button"); -public static final int /*long*/ sel_buttonNumber = sel_registerName("buttonNumber"); -public static final int /*long*/ sel_bytes = sel_registerName("bytes"); -public static final int /*long*/ sel_bytesPerPlane = sel_registerName("bytesPerPlane"); -public static final int /*long*/ sel_bytesPerRow = sel_registerName("bytesPerRow"); -public static final int /*long*/ sel_calendarDate = sel_registerName("calendarDate"); -public static final int /*long*/ sel_canBecomeKeyView = sel_registerName("canBecomeKeyView"); -public static final int /*long*/ sel_canBecomeKeyWindow = sel_registerName("canBecomeKeyWindow"); -public static final int /*long*/ sel_canDragRowsWithIndexes_atPoint_ = sel_registerName("canDragRowsWithIndexes:atPoint:"); -public static final int /*long*/ sel_canGoBack = sel_registerName("canGoBack"); -public static final int /*long*/ sel_canGoForward = sel_registerName("canGoForward"); -public static final int /*long*/ sel_canShowMIMEType_ = sel_registerName("canShowMIMEType:"); -public static final int /*long*/ sel_cancel = sel_registerName("cancel"); -public static final int /*long*/ sel_cancelAuthenticationChallenge_ = sel_registerName("cancelAuthenticationChallenge:"); -public static final int /*long*/ sel_cancelButtonCell = sel_registerName("cancelButtonCell"); -public static final int /*long*/ sel_cancelTracking = sel_registerName("cancelTracking"); -public static final int /*long*/ sel_cascadeTopLeftFromPoint_ = sel_registerName("cascadeTopLeftFromPoint:"); -public static final int /*long*/ sel_cell = sel_registerName("cell"); -public static final int /*long*/ sel_cellClass = sel_registerName("cellClass"); -public static final int /*long*/ sel_cellSize = sel_registerName("cellSize"); -public static final int /*long*/ sel_cellSizeForBounds_ = sel_registerName("cellSizeForBounds:"); -public static final int /*long*/ sel_changeColor_ = sel_registerName("changeColor:"); -public static final int /*long*/ sel_changeFont_ = sel_registerName("changeFont:"); -public static final int /*long*/ sel_charCode = sel_registerName("charCode"); -public static final int /*long*/ sel_characterAtIndex_ = sel_registerName("characterAtIndex:"); -public static final int /*long*/ sel_characterIndexForGlyphAtIndex_ = sel_registerName("characterIndexForGlyphAtIndex:"); -public static final int /*long*/ sel_characterIndexForInsertionAtPoint_ = sel_registerName("characterIndexForInsertionAtPoint:"); -public static final int /*long*/ sel_characterIndexForPoint_ = sel_registerName("characterIndexForPoint:"); -public static final int /*long*/ sel_characterIsMember_ = sel_registerName("characterIsMember:"); -public static final int /*long*/ sel_characters = sel_registerName("characters"); -public static final int /*long*/ sel_charactersIgnoringModifiers = sel_registerName("charactersIgnoringModifiers"); -public static final int /*long*/ sel_chooseFilename_ = sel_registerName("chooseFilename:"); -public static final int /*long*/ sel_className = sel_registerName("className"); -public static final int /*long*/ sel_cleanUpOperation = sel_registerName("cleanUpOperation"); -public static final int /*long*/ sel_clearColor = sel_registerName("clearColor"); -public static final int /*long*/ sel_clearCurrentContext = sel_registerName("clearCurrentContext"); -public static final int /*long*/ sel_clearDrawable = sel_registerName("clearDrawable"); -public static final int /*long*/ sel_clickCount = sel_registerName("clickCount"); -public static final int /*long*/ sel_clickedColumn = sel_registerName("clickedColumn"); -public static final int /*long*/ sel_clickedRow = sel_registerName("clickedRow"); -public static final int /*long*/ sel_clientX = sel_registerName("clientX"); -public static final int /*long*/ sel_clientY = sel_registerName("clientY"); -public static final int /*long*/ sel_close = sel_registerName("close"); -public static final int /*long*/ sel_closePath = sel_registerName("closePath"); -public static final int /*long*/ sel_code = sel_registerName("code"); -public static final int /*long*/ sel_collapseItem_ = sel_registerName("collapseItem:"); -public static final int /*long*/ sel_collapseItem_collapseChildren_ = sel_registerName("collapseItem:collapseChildren:"); -public static final int /*long*/ sel_color = sel_registerName("color"); -public static final int /*long*/ sel_colorAtX_y_ = sel_registerName("colorAtX:y:"); -public static final int /*long*/ sel_colorSpaceName = sel_registerName("colorSpaceName"); -public static final int /*long*/ sel_colorUsingColorSpace_ = sel_registerName("colorUsingColorSpace:"); -public static final int /*long*/ sel_colorUsingColorSpaceName_ = sel_registerName("colorUsingColorSpaceName:"); -public static final int /*long*/ sel_colorWithDeviceRed_green_blue_alpha_ = sel_registerName("colorWithDeviceRed:green:blue:alpha:"); -public static final int /*long*/ sel_colorWithPatternImage_ = sel_registerName("colorWithPatternImage:"); -public static final int /*long*/ sel_columnAtPoint_ = sel_registerName("columnAtPoint:"); -public static final int /*long*/ sel_columnIndexesInRect_ = sel_registerName("columnIndexesInRect:"); -public static final int /*long*/ sel_columnWithIdentifier_ = sel_registerName("columnWithIdentifier:"); -public static final int /*long*/ sel_comboBoxSelectionDidChange_ = sel_registerName("comboBoxSelectionDidChange:"); -public static final int /*long*/ sel_comboBoxWillDismiss_ = sel_registerName("comboBoxWillDismiss:"); -public static final int /*long*/ sel_compare_ = sel_registerName("compare:"); -public static final int /*long*/ sel_concat = sel_registerName("concat"); -public static final int /*long*/ sel_conformsToProtocol_ = sel_registerName("conformsToProtocol:"); -public static final int /*long*/ sel_containerSize = sel_registerName("containerSize"); -public static final int /*long*/ sel_containsIndex_ = sel_registerName("containsIndex:"); -public static final int /*long*/ sel_containsObject_ = sel_registerName("containsObject:"); -public static final int /*long*/ sel_containsPoint_ = sel_registerName("containsPoint:"); -public static final int /*long*/ sel_contentRect = sel_registerName("contentRect"); -public static final int /*long*/ sel_contentRectForFrameRect_ = sel_registerName("contentRectForFrameRect:"); -public static final int /*long*/ sel_contentSize = sel_registerName("contentSize"); -public static final int /*long*/ sel_contentSizeForFrameSize_hasHorizontalScroller_hasVerticalScroller_borderType_ = sel_registerName("contentSizeForFrameSize:hasHorizontalScroller:hasVerticalScroller:borderType:"); -public static final int /*long*/ sel_contentView = sel_registerName("contentView"); -public static final int /*long*/ sel_contentViewMargins = sel_registerName("contentViewMargins"); -public static final int /*long*/ sel_context = sel_registerName("context"); -public static final int /*long*/ sel_controlBackgroundColor = sel_registerName("controlBackgroundColor"); -public static final int /*long*/ sel_controlContentFontOfSize_ = sel_registerName("controlContentFontOfSize:"); -public static final int /*long*/ sel_controlDarkShadowColor = sel_registerName("controlDarkShadowColor"); -public static final int /*long*/ sel_controlHighlightColor = sel_registerName("controlHighlightColor"); -public static final int /*long*/ sel_controlLightHighlightColor = sel_registerName("controlLightHighlightColor"); -public static final int /*long*/ sel_controlPointBounds = sel_registerName("controlPointBounds"); -public static final int /*long*/ sel_controlShadowColor = sel_registerName("controlShadowColor"); -public static final int /*long*/ sel_controlSize = sel_registerName("controlSize"); -public static final int /*long*/ sel_controlTextColor = sel_registerName("controlTextColor"); -public static final int /*long*/ sel_convertBaseToScreen_ = sel_registerName("convertBaseToScreen:"); -public static final int /*long*/ sel_convertFont_toHaveTrait_ = sel_registerName("convertFont:toHaveTrait:"); -public static final int /*long*/ sel_convertPoint_fromView_ = sel_registerName("convertPoint:fromView:"); -public static final int /*long*/ sel_convertPoint_toView_ = sel_registerName("convertPoint:toView:"); -public static final int /*long*/ sel_convertPointFromBase_ = sel_registerName("convertPointFromBase:"); -public static final int /*long*/ sel_convertPointToBase_ = sel_registerName("convertPointToBase:"); -public static final int /*long*/ sel_convertRect_fromView_ = sel_registerName("convertRect:fromView:"); -public static final int /*long*/ sel_convertRect_toView_ = sel_registerName("convertRect:toView:"); -public static final int /*long*/ sel_convertRectFromBase_ = sel_registerName("convertRectFromBase:"); -public static final int /*long*/ sel_convertRectToBase_ = sel_registerName("convertRectToBase:"); -public static final int /*long*/ sel_convertScreenToBase_ = sel_registerName("convertScreenToBase:"); -public static final int /*long*/ sel_convertSize_fromView_ = sel_registerName("convertSize:fromView:"); -public static final int /*long*/ sel_convertSize_toView_ = sel_registerName("convertSize:toView:"); -public static final int /*long*/ sel_convertSizeFromBase_ = sel_registerName("convertSizeFromBase:"); -public static final int /*long*/ sel_convertSizeToBase_ = sel_registerName("convertSizeToBase:"); -public static final int /*long*/ sel_cookies = sel_registerName("cookies"); -public static final int /*long*/ sel_cookiesForURL_ = sel_registerName("cookiesForURL:"); -public static final int /*long*/ sel_cookiesWithResponseHeaderFields_forURL_ = sel_registerName("cookiesWithResponseHeaderFields:forURL:"); -public static final int /*long*/ sel_copiesOnScroll = sel_registerName("copiesOnScroll"); -public static final int /*long*/ sel_copy = sel_registerName("copy"); -public static final int /*long*/ sel_copy_ = sel_registerName("copy:"); -public static final int /*long*/ sel_count = sel_registerName("count"); -public static final int /*long*/ sel_createContext = sel_registerName("createContext"); -public static final int /*long*/ sel_createFileAtPath_contents_attributes_ = sel_registerName("createFileAtPath:contents:attributes:"); -public static final int /*long*/ sel_credentialWithUser_password_persistence_ = sel_registerName("credentialWithUser:password:persistence:"); -public static final int /*long*/ sel_crosshairCursor = sel_registerName("crosshairCursor"); -public static final int /*long*/ sel_ctrlKey = sel_registerName("ctrlKey"); -public static final int /*long*/ sel_currentContext = sel_registerName("currentContext"); -public static final int /*long*/ sel_currentCursor = sel_registerName("currentCursor"); -public static final int /*long*/ sel_currentEditor = sel_registerName("currentEditor"); -public static final int /*long*/ sel_currentEvent = sel_registerName("currentEvent"); -public static final int /*long*/ sel_currentInputManager = sel_registerName("currentInputManager"); -public static final int /*long*/ sel_currentPoint = sel_registerName("currentPoint"); -public static final int /*long*/ sel_currentRunLoop = sel_registerName("currentRunLoop"); -public static final int /*long*/ sel_currentThread = sel_registerName("currentThread"); -public static final int /*long*/ sel_cursorUpdate_ = sel_registerName("cursorUpdate:"); -public static final int /*long*/ sel_curveToPoint_controlPoint1_controlPoint2_ = sel_registerName("curveToPoint:controlPoint1:controlPoint2:"); -public static final int /*long*/ sel_cut_ = sel_registerName("cut:"); -public static final int /*long*/ sel_dataCell = sel_registerName("dataCell"); -public static final int /*long*/ sel_dataForType_ = sel_registerName("dataForType:"); -public static final int /*long*/ sel_dataSource = sel_registerName("dataSource"); -public static final int /*long*/ sel_dataWithBytes_length_ = sel_registerName("dataWithBytes:length:"); -public static final int /*long*/ sel_dateValue = sel_registerName("dateValue"); -public static final int /*long*/ sel_dateWithCalendarFormat_timeZone_ = sel_registerName("dateWithCalendarFormat:timeZone:"); -public static final int /*long*/ sel_dateWithTimeIntervalSinceNow_ = sel_registerName("dateWithTimeIntervalSinceNow:"); -public static final int /*long*/ sel_dateWithYear_month_day_hour_minute_second_timeZone_ = sel_registerName("dateWithYear:month:day:hour:minute:second:timeZone:"); -public static final int /*long*/ sel_dayOfMonth = sel_registerName("dayOfMonth"); -public static final int /*long*/ sel_decimalDigitCharacterSet = sel_registerName("decimalDigitCharacterSet"); -public static final int /*long*/ sel_decimalSeparator = sel_registerName("decimalSeparator"); -public static final int /*long*/ sel_declareTypes_owner_ = sel_registerName("declareTypes:owner:"); -public static final int /*long*/ sel_defaultBaselineOffsetForFont_ = sel_registerName("defaultBaselineOffsetForFont:"); -public static final int /*long*/ sel_defaultButtonCell = sel_registerName("defaultButtonCell"); -public static final int /*long*/ sel_defaultCenter = sel_registerName("defaultCenter"); -public static final int /*long*/ sel_defaultFlatness = sel_registerName("defaultFlatness"); -public static final int /*long*/ sel_defaultLineHeightForFont_ = sel_registerName("defaultLineHeightForFont:"); -public static final int /*long*/ sel_defaultManager = sel_registerName("defaultManager"); -public static final int /*long*/ sel_defaultParagraphStyle = sel_registerName("defaultParagraphStyle"); -public static final int /*long*/ sel_defaultPrinter = sel_registerName("defaultPrinter"); -public static final int /*long*/ sel_defaultTimeZone = sel_registerName("defaultTimeZone"); -public static final int /*long*/ sel_delegate = sel_registerName("delegate"); -public static final int /*long*/ sel_deleteCookie_ = sel_registerName("deleteCookie:"); -public static final int /*long*/ sel_deliverResult = sel_registerName("deliverResult"); -public static final int /*long*/ sel_deltaX = sel_registerName("deltaX"); -public static final int /*long*/ sel_deltaY = sel_registerName("deltaY"); -public static final int /*long*/ sel_deminiaturize_ = sel_registerName("deminiaturize:"); -public static final int /*long*/ sel_depth = sel_registerName("depth"); -public static final int /*long*/ sel_descender = sel_registerName("descender"); -public static final int /*long*/ sel_description = sel_registerName("description"); -public static final int /*long*/ sel_deselectAll_ = sel_registerName("deselectAll:"); -public static final int /*long*/ sel_deselectItemAtIndex_ = sel_registerName("deselectItemAtIndex:"); -public static final int /*long*/ sel_deselectRow_ = sel_registerName("deselectRow:"); -public static final int /*long*/ sel_destroyContext = sel_registerName("destroyContext"); -public static final int /*long*/ sel_detail = sel_registerName("detail"); -public static final int /*long*/ sel_deviceDescription = sel_registerName("deviceDescription"); -public static final int /*long*/ sel_deviceRGBColorSpace = sel_registerName("deviceRGBColorSpace"); -public static final int /*long*/ sel_dictionary = sel_registerName("dictionary"); -public static final int /*long*/ sel_dictionaryWithCapacity_ = sel_registerName("dictionaryWithCapacity:"); -public static final int /*long*/ sel_dictionaryWithObject_forKey_ = sel_registerName("dictionaryWithObject:forKey:"); -public static final int /*long*/ sel_disableCursorRects = sel_registerName("disableCursorRects"); -public static final int /*long*/ sel_disabledControlTextColor = sel_registerName("disabledControlTextColor"); -public static final int /*long*/ sel_discardCursorRects = sel_registerName("discardCursorRects"); -public static final int /*long*/ sel_display = sel_registerName("display"); -public static final int /*long*/ sel_displayIfNeeded = sel_registerName("displayIfNeeded"); -public static final int /*long*/ sel_displayRectIgnoringOpacity_inContext_ = sel_registerName("displayRectIgnoringOpacity:inContext:"); -public static final int /*long*/ sel_distantFuture = sel_registerName("distantFuture"); -public static final int /*long*/ sel_doCommandBySelector_ = sel_registerName("doCommandBySelector:"); -public static final int /*long*/ sel_documentCursor = sel_registerName("documentCursor"); -public static final int /*long*/ sel_documentSource = sel_registerName("documentSource"); -public static final int /*long*/ sel_documentView = sel_registerName("documentView"); -public static final int /*long*/ sel_documentViewShouldHandlePrint = sel_registerName("documentViewShouldHandlePrint"); -public static final int /*long*/ sel_documentVisibleRect = sel_registerName("documentVisibleRect"); -public static final int /*long*/ sel_doubleClickAtIndex_ = sel_registerName("doubleClickAtIndex:"); -public static final int /*long*/ sel_doubleValue = sel_registerName("doubleValue"); -public static final int /*long*/ sel_download = sel_registerName("download"); -public static final int /*long*/ sel_download_decideDestinationWithSuggestedFilename_ = sel_registerName("download:decideDestinationWithSuggestedFilename:"); -public static final int /*long*/ sel_dragImage_at_offset_event_pasteboard_source_slideBack_ = sel_registerName("dragImage:at:offset:event:pasteboard:source:slideBack:"); -public static final int /*long*/ sel_dragImageForRowsWithIndexes_tableColumns_event_offset_ = sel_registerName("dragImageForRowsWithIndexes:tableColumns:event:offset:"); -public static final int /*long*/ sel_dragSelectionWithEvent_offset_slideBack_ = sel_registerName("dragSelectionWithEvent:offset:slideBack:"); -public static final int /*long*/ sel_draggedImage_beganAt_ = sel_registerName("draggedImage:beganAt:"); -public static final int /*long*/ sel_draggedImage_endedAt_operation_ = sel_registerName("draggedImage:endedAt:operation:"); -public static final int /*long*/ sel_draggingDestinationWindow = sel_registerName("draggingDestinationWindow"); -public static final int /*long*/ sel_draggingEnded_ = sel_registerName("draggingEnded:"); -public static final int /*long*/ sel_draggingEntered_ = sel_registerName("draggingEntered:"); -public static final int /*long*/ sel_draggingExited_ = sel_registerName("draggingExited:"); -public static final int /*long*/ sel_draggingLocation = sel_registerName("draggingLocation"); -public static final int /*long*/ sel_draggingPasteboard = sel_registerName("draggingPasteboard"); -public static final int /*long*/ sel_draggingSourceOperationMask = sel_registerName("draggingSourceOperationMask"); -public static final int /*long*/ sel_draggingSourceOperationMaskForLocal_ = sel_registerName("draggingSourceOperationMaskForLocal:"); -public static final int /*long*/ sel_draggingUpdated_ = sel_registerName("draggingUpdated:"); -public static final int /*long*/ sel_drawAtPoint_ = sel_registerName("drawAtPoint:"); -public static final int /*long*/ sel_drawAtPoint_fromRect_operation_fraction_ = sel_registerName("drawAtPoint:fromRect:operation:fraction:"); -public static final int /*long*/ sel_drawBackgroundForGlyphRange_atPoint_ = sel_registerName("drawBackgroundForGlyphRange:atPoint:"); -public static final int /*long*/ sel_drawFromPoint_toPoint_options_ = sel_registerName("drawFromPoint:toPoint:options:"); -public static final int /*long*/ sel_drawGlyphsForGlyphRange_atPoint_ = sel_registerName("drawGlyphsForGlyphRange:atPoint:"); -public static final int /*long*/ sel_drawImage_withFrame_inView_ = sel_registerName("drawImage:withFrame:inView:"); -public static final int /*long*/ sel_drawInRect_ = sel_registerName("drawInRect:"); -public static final int /*long*/ sel_drawInRect_angle_ = sel_registerName("drawInRect:angle:"); -public static final int /*long*/ sel_drawInRect_fromRect_operation_fraction_ = sel_registerName("drawInRect:fromRect:operation:fraction:"); -public static final int /*long*/ sel_drawInteriorWithFrame_inView_ = sel_registerName("drawInteriorWithFrame:inView:"); -public static final int /*long*/ sel_drawRect_ = sel_registerName("drawRect:"); -public static final int /*long*/ sel_drawSortIndicatorWithFrame_inView_ascending_priority_ = sel_registerName("drawSortIndicatorWithFrame:inView:ascending:priority:"); -public static final int /*long*/ sel_drawStatusBarBackgroundInRect_withHighlight_ = sel_registerName("drawStatusBarBackgroundInRect:withHighlight:"); -public static final int /*long*/ sel_drawWithExpansionFrame_inView_ = sel_registerName("drawWithExpansionFrame:inView:"); -public static final int /*long*/ sel_drawingRectForBounds_ = sel_registerName("drawingRectForBounds:"); -public static final int /*long*/ sel_elementAtIndex_associatedPoints_ = sel_registerName("elementAtIndex:associatedPoints:"); -public static final int /*long*/ sel_elementCount = sel_registerName("elementCount"); -public static final int /*long*/ sel_enableCursorRects = sel_registerName("enableCursorRects"); -public static final int /*long*/ sel_enableFreedObjectCheck_ = sel_registerName("enableFreedObjectCheck:"); -public static final int /*long*/ sel_endDocument = sel_registerName("endDocument"); -public static final int /*long*/ sel_endEditing = sel_registerName("endEditing"); -public static final int /*long*/ sel_endPage = sel_registerName("endPage"); -public static final int /*long*/ sel_endSheet_returnCode_ = sel_registerName("endSheet:returnCode:"); -public static final int /*long*/ sel_enterExitEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_trackingNumber_userData_ = sel_registerName("enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:"); -public static final int /*long*/ sel_enumeratorAtPath_ = sel_registerName("enumeratorAtPath:"); -public static final int /*long*/ sel_expandItem_ = sel_registerName("expandItem:"); -public static final int /*long*/ sel_expandItem_expandChildren_ = sel_registerName("expandItem:expandChildren:"); -public static final int /*long*/ sel_expansionFrameWithFrame_inView_ = sel_registerName("expansionFrameWithFrame:inView:"); -public static final int /*long*/ sel_familyName = sel_registerName("familyName"); -public static final int /*long*/ sel_fieldEditor_forObject_ = sel_registerName("fieldEditor:forObject:"); -public static final int /*long*/ sel_fileExistsAtPath_isDirectory_ = sel_registerName("fileExistsAtPath:isDirectory:"); -public static final int /*long*/ sel_fileSystemRepresentation = sel_registerName("fileSystemRepresentation"); -public static final int /*long*/ sel_fileURLWithPath_ = sel_registerName("fileURLWithPath:"); -public static final int /*long*/ sel_filename = sel_registerName("filename"); -public static final int /*long*/ sel_filenames = sel_registerName("filenames"); -public static final int /*long*/ sel_fill = sel_registerName("fill"); -public static final int /*long*/ sel_fillRect_ = sel_registerName("fillRect:"); -public static final int /*long*/ sel_finishLaunching = sel_registerName("finishLaunching"); -public static final int /*long*/ sel_firstIndex = sel_registerName("firstIndex"); -public static final int /*long*/ sel_firstRectForCharacterRange_ = sel_registerName("firstRectForCharacterRange:"); -public static final int /*long*/ sel_firstResponder = sel_registerName("firstResponder"); -public static final int /*long*/ sel_flagsChanged_ = sel_registerName("flagsChanged:"); -public static final int /*long*/ sel_floatValue = sel_registerName("floatValue"); -public static final int /*long*/ sel_flushBuffer = sel_registerName("flushBuffer"); -public static final int /*long*/ sel_flushGraphics = sel_registerName("flushGraphics"); -public static final int /*long*/ sel_font = sel_registerName("font"); -public static final int /*long*/ sel_fontName = sel_registerName("fontName"); -public static final int /*long*/ sel_fontWithFamily_traits_weight_size_ = sel_registerName("fontWithFamily:traits:weight:size:"); -public static final int /*long*/ sel_fontWithName_size_ = sel_registerName("fontWithName:size:"); -public static final int /*long*/ sel_frame = sel_registerName("frame"); -public static final int /*long*/ sel_frameOfCellAtColumn_row_ = sel_registerName("frameOfCellAtColumn:row:"); -public static final int /*long*/ sel_frameOfOutlineCellAtRow_ = sel_registerName("frameOfOutlineCellAtRow:"); -public static final int /*long*/ sel_frameRectForContentRect_ = sel_registerName("frameRectForContentRect:"); -public static final int /*long*/ sel_frameSizeForContentSize_hasHorizontalScroller_hasVerticalScroller_borderType_ = sel_registerName("frameSizeForContentSize:hasHorizontalScroller:hasVerticalScroller:borderType:"); -public static final int /*long*/ sel_fullPathForApplication_ = sel_registerName("fullPathForApplication:"); -public static final int /*long*/ sel_generalPasteboard = sel_registerName("generalPasteboard"); -public static final int /*long*/ sel_getBitmapDataPlanes_ = sel_registerName("getBitmapDataPlanes:"); -public static final int /*long*/ sel_getBytes_ = sel_registerName("getBytes:"); -public static final int /*long*/ sel_getBytes_length_ = sel_registerName("getBytes:length:"); -public static final int /*long*/ sel_getCharacters_ = sel_registerName("getCharacters:"); -public static final int /*long*/ sel_getCharacters_range_ = sel_registerName("getCharacters:range:"); -public static final int /*long*/ sel_getComponents_ = sel_registerName("getComponents:"); -public static final int /*long*/ sel_getGlyphs_range_ = sel_registerName("getGlyphs:range:"); -public static final int /*long*/ sel_getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels_ = sel_registerName("getGlyphsInRange:glyphs:characterIndexes:glyphInscriptions:elasticBits:bidiLevels:"); -public static final int /*long*/ sel_getIndexes_maxCount_inIndexRange_ = sel_registerName("getIndexes:maxCount:inIndexRange:"); -public static final int /*long*/ sel_getInfoForFile_application_type_ = sel_registerName("getInfoForFile:application:type:"); -public static final int /*long*/ sel_getValues_forAttribute_forVirtualScreen_ = sel_registerName("getValues:forAttribute:forVirtualScreen:"); -public static final int /*long*/ sel_glyphIndexForCharacterAtIndex_ = sel_registerName("glyphIndexForCharacterAtIndex:"); -public static final int /*long*/ sel_glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph_ = sel_registerName("glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:"); -public static final int /*long*/ sel_glyphRangeForCharacterRange_actualCharacterRange_ = sel_registerName("glyphRangeForCharacterRange:actualCharacterRange:"); -public static final int /*long*/ sel_glyphRangeForTextContainer_ = sel_registerName("glyphRangeForTextContainer:"); -public static final int /*long*/ sel_goBack = sel_registerName("goBack"); -public static final int /*long*/ sel_goForward = sel_registerName("goForward"); -public static final int /*long*/ sel_graphicsContext = sel_registerName("graphicsContext"); -public static final int /*long*/ sel_graphicsContextWithBitmapImageRep_ = sel_registerName("graphicsContextWithBitmapImageRep:"); -public static final int /*long*/ sel_graphicsContextWithGraphicsPort_flipped_ = sel_registerName("graphicsContextWithGraphicsPort:flipped:"); -public static final int /*long*/ sel_graphicsContextWithWindow_ = sel_registerName("graphicsContextWithWindow:"); -public static final int /*long*/ sel_graphicsPort = sel_registerName("graphicsPort"); -public static final int /*long*/ sel_greenComponent = sel_registerName("greenComponent"); -public static final int /*long*/ sel_handleEvent_ = sel_registerName("handleEvent:"); -public static final int /*long*/ sel_handleMouseEvent_ = sel_registerName("handleMouseEvent:"); -public static final int /*long*/ sel_hasAlpha = sel_registerName("hasAlpha"); -public static final int /*long*/ sel_hasMarkedText = sel_registerName("hasMarkedText"); -public static final int /*long*/ sel_hasPassword = sel_registerName("hasPassword"); -public static final int /*long*/ sel_hasShadow = sel_registerName("hasShadow"); -public static final int /*long*/ sel_headerCell = sel_registerName("headerCell"); -public static final int /*long*/ sel_headerRectOfColumn_ = sel_registerName("headerRectOfColumn:"); -public static final int /*long*/ sel_headerView = sel_registerName("headerView"); -public static final int /*long*/ sel_helpRequested_ = sel_registerName("helpRequested:"); -public static final int /*long*/ sel_hide_ = sel_registerName("hide:"); -public static final int /*long*/ sel_hideOtherApplications_ = sel_registerName("hideOtherApplications:"); -public static final int /*long*/ sel_highlightColorInView_ = sel_registerName("highlightColorInView:"); -public static final int /*long*/ sel_highlightColorWithFrame_inView_ = sel_registerName("highlightColorWithFrame:inView:"); -public static final int /*long*/ sel_highlightSelectionInClipRect_ = sel_registerName("highlightSelectionInClipRect:"); -public static final int /*long*/ sel_hitPart = sel_registerName("hitPart"); -public static final int /*long*/ sel_hitTest_ = sel_registerName("hitTest:"); -public static final int /*long*/ sel_hitTestForEvent_inRect_ofView_ = sel_registerName("hitTestForEvent:inRect:ofView:"); -public static final int /*long*/ sel_host = sel_registerName("host"); -public static final int /*long*/ sel_hourOfDay = sel_registerName("hourOfDay"); -public static final int /*long*/ sel_iconForFile_ = sel_registerName("iconForFile:"); -public static final int /*long*/ sel_iconForFileType_ = sel_registerName("iconForFileType:"); -public static final int /*long*/ sel_ignore = sel_registerName("ignore"); -public static final int /*long*/ sel_ignoreModifierKeysWhileDragging = sel_registerName("ignoreModifierKeysWhileDragging"); -public static final int /*long*/ sel_image = sel_registerName("image"); -public static final int /*long*/ sel_imageInterpolation = sel_registerName("imageInterpolation"); -public static final int /*long*/ sel_imageNamed_ = sel_registerName("imageNamed:"); -public static final int /*long*/ sel_imageRectForBounds_ = sel_registerName("imageRectForBounds:"); -public static final int /*long*/ sel_imageRepWithData_ = sel_registerName("imageRepWithData:"); -public static final int /*long*/ sel_imageablePageBounds = sel_registerName("imageablePageBounds"); -public static final int /*long*/ sel_increment = sel_registerName("increment"); -public static final int /*long*/ sel_indentationPerLevel = sel_registerName("indentationPerLevel"); -public static final int /*long*/ sel_indexOfItemWithTarget_andAction_ = sel_registerName("indexOfItemWithTarget:andAction:"); -public static final int /*long*/ sel_indexOfObjectIdenticalTo_ = sel_registerName("indexOfObjectIdenticalTo:"); -public static final int /*long*/ sel_indexOfSelectedItem = sel_registerName("indexOfSelectedItem"); -public static final int /*long*/ sel_infoDictionary = sel_registerName("infoDictionary"); -public static final int /*long*/ sel_init = sel_registerName("init"); -public static final int /*long*/ sel_initByReferencingFile_ = sel_registerName("initByReferencingFile:"); -public static final int /*long*/ sel_initListDescriptor = sel_registerName("initListDescriptor"); -public static final int /*long*/ sel_initWithAttributes_ = sel_registerName("initWithAttributes:"); -public static final int /*long*/ sel_initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel_ = sel_registerName("initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:"); -public static final int /*long*/ sel_initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel_ = sel_registerName("initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:"); -public static final int /*long*/ sel_initWithCapacity_ = sel_registerName("initWithCapacity:"); -public static final int /*long*/ sel_initWithCharacters_length_ = sel_registerName("initWithCharacters:length:"); -public static final int /*long*/ sel_initWithContainerSize_ = sel_registerName("initWithContainerSize:"); -public static final int /*long*/ sel_initWithContentRect_styleMask_backing_defer_ = sel_registerName("initWithContentRect:styleMask:backing:defer:"); -public static final int /*long*/ sel_initWithContentRect_styleMask_backing_defer_screen_ = sel_registerName("initWithContentRect:styleMask:backing:defer:screen:"); -public static final int /*long*/ sel_initWithContentsOfFile_ = sel_registerName("initWithContentsOfFile:"); -public static final int /*long*/ sel_initWithData_ = sel_registerName("initWithData:"); -public static final int /*long*/ sel_initWithDictionary_ = sel_registerName("initWithDictionary:"); -public static final int /*long*/ sel_initWithFileWrapper_ = sel_registerName("initWithFileWrapper:"); -public static final int /*long*/ sel_initWithFocusedViewRect_ = sel_registerName("initWithFocusedViewRect:"); -public static final int /*long*/ sel_initWithFormat_shareContext_ = sel_registerName("initWithFormat:shareContext:"); -public static final int /*long*/ sel_initWithFrame_ = sel_registerName("initWithFrame:"); -public static final int /*long*/ sel_initWithFrame_frameName_groupName_ = sel_registerName("initWithFrame:frameName:groupName:"); -public static final int /*long*/ sel_initWithFrame_pullsDown_ = sel_registerName("initWithFrame:pullsDown:"); -public static final int /*long*/ sel_initWithIdentifier_ = sel_registerName("initWithIdentifier:"); -public static final int /*long*/ sel_initWithImage_hotSpot_ = sel_registerName("initWithImage:hotSpot:"); -public static final int /*long*/ sel_initWithIndex_ = sel_registerName("initWithIndex:"); -public static final int /*long*/ sel_initWithIndexesInRange_ = sel_registerName("initWithIndexesInRange:"); -public static final int /*long*/ sel_initWithItemIdentifier_ = sel_registerName("initWithItemIdentifier:"); -public static final int /*long*/ sel_initWithRect_options_owner_userInfo_ = sel_registerName("initWithRect:options:owner:userInfo:"); -public static final int /*long*/ sel_initWithSize_ = sel_registerName("initWithSize:"); -public static final int /*long*/ sel_initWithStartingColor_endingColor_ = sel_registerName("initWithStartingColor:endingColor:"); -public static final int /*long*/ sel_initWithString_ = sel_registerName("initWithString:"); -public static final int /*long*/ sel_initWithString_attributes_ = sel_registerName("initWithString:attributes:"); -public static final int /*long*/ sel_initWithTitle_ = sel_registerName("initWithTitle:"); -public static final int /*long*/ sel_initWithTitle_action_keyEquivalent_ = sel_registerName("initWithTitle:action:keyEquivalent:"); -public static final int /*long*/ sel_initWithTransform_ = sel_registerName("initWithTransform:"); -public static final int /*long*/ sel_initWithType_location_ = sel_registerName("initWithType:location:"); -public static final int /*long*/ sel_initWithURL_ = sel_registerName("initWithURL:"); -public static final int /*long*/ sel_insertItem_atIndex_ = sel_registerName("insertItem:atIndex:"); -public static final int /*long*/ sel_insertItemWithItemIdentifier_atIndex_ = sel_registerName("insertItemWithItemIdentifier:atIndex:"); -public static final int /*long*/ sel_insertItemWithObjectValue_atIndex_ = sel_registerName("insertItemWithObjectValue:atIndex:"); -public static final int /*long*/ sel_insertTabViewItem_atIndex_ = sel_registerName("insertTabViewItem:atIndex:"); -public static final int /*long*/ sel_insertText_ = sel_registerName("insertText:"); -public static final int /*long*/ sel_intValue = sel_registerName("intValue"); -public static final int /*long*/ sel_integerValue = sel_registerName("integerValue"); -public static final int /*long*/ sel_intercellSpacing = sel_registerName("intercellSpacing"); -public static final int /*long*/ sel_interpretKeyEvents_ = sel_registerName("interpretKeyEvents:"); -public static final int /*long*/ sel_invalidate = sel_registerName("invalidate"); -public static final int /*long*/ sel_invalidateShadow = sel_registerName("invalidateShadow"); -public static final int /*long*/ sel_invert = sel_registerName("invert"); -public static final int /*long*/ sel_isActive = sel_registerName("isActive"); -public static final int /*long*/ sel_isDocumentEdited = sel_registerName("isDocumentEdited"); -public static final int /*long*/ sel_isDrawingToScreen = sel_registerName("isDrawingToScreen"); -public static final int /*long*/ sel_isEmpty = sel_registerName("isEmpty"); -public static final int /*long*/ sel_isEnabled = sel_registerName("isEnabled"); -public static final int /*long*/ sel_isEqual_ = sel_registerName("isEqual:"); -public static final int /*long*/ sel_isEqualTo_ = sel_registerName("isEqualTo:"); -public static final int /*long*/ sel_isEqualToString_ = sel_registerName("isEqualToString:"); -public static final int /*long*/ sel_isFilePackageAtPath_ = sel_registerName("isFilePackageAtPath:"); -public static final int /*long*/ sel_isFileURL = sel_registerName("isFileURL"); -public static final int /*long*/ sel_isFlipped = sel_registerName("isFlipped"); -public static final int /*long*/ sel_isHidden = sel_registerName("isHidden"); -public static final int /*long*/ sel_isHiddenOrHasHiddenAncestor = sel_registerName("isHiddenOrHasHiddenAncestor"); -public static final int /*long*/ sel_isHighlighted = sel_registerName("isHighlighted"); -public static final int /*long*/ sel_isItemExpanded_ = sel_registerName("isItemExpanded:"); -public static final int /*long*/ sel_isKeyWindow = sel_registerName("isKeyWindow"); -public static final int /*long*/ sel_isKindOfClass_ = sel_registerName("isKindOfClass:"); -public static final int /*long*/ sel_isMainThread = sel_registerName("isMainThread"); -public static final int /*long*/ sel_isMiniaturized = sel_registerName("isMiniaturized"); -public static final int /*long*/ sel_isOpaque = sel_registerName("isOpaque"); -public static final int /*long*/ sel_isPlanar = sel_registerName("isPlanar"); -public static final int /*long*/ sel_isRowSelected_ = sel_registerName("isRowSelected:"); -public static final int /*long*/ sel_isRunning = sel_registerName("isRunning"); -public static final int /*long*/ sel_isSessionOnly = sel_registerName("isSessionOnly"); -public static final int /*long*/ sel_isSheet = sel_registerName("isSheet"); -public static final int /*long*/ sel_isVisible = sel_registerName("isVisible"); -public static final int /*long*/ sel_isZoomed = sel_registerName("isZoomed"); -public static final int /*long*/ sel_itemArray = sel_registerName("itemArray"); -public static final int /*long*/ sel_itemAtIndex_ = sel_registerName("itemAtIndex:"); -public static final int /*long*/ sel_itemAtRow_ = sel_registerName("itemAtRow:"); -public static final int /*long*/ sel_itemIdentifier = sel_registerName("itemIdentifier"); -public static final int /*long*/ sel_itemObjectValueAtIndex_ = sel_registerName("itemObjectValueAtIndex:"); -public static final int /*long*/ sel_itemTitleAtIndex_ = sel_registerName("itemTitleAtIndex:"); -public static final int /*long*/ sel_jobDisposition = sel_registerName("jobDisposition"); -public static final int /*long*/ sel_keyCode = sel_registerName("keyCode"); -public static final int /*long*/ sel_keyDown_ = sel_registerName("keyDown:"); -public static final int /*long*/ sel_keyEquivalent = sel_registerName("keyEquivalent"); -public static final int /*long*/ sel_keyEquivalentModifierMask = sel_registerName("keyEquivalentModifierMask"); -public static final int /*long*/ sel_keyUp_ = sel_registerName("keyUp:"); -public static final int /*long*/ sel_keyWindow = sel_registerName("keyWindow"); -public static final int /*long*/ sel_knobThickness = sel_registerName("knobThickness"); -public static final int /*long*/ sel_lastPathComponent = sel_registerName("lastPathComponent"); -public static final int /*long*/ sel_layoutManager = sel_registerName("layoutManager"); -public static final int /*long*/ sel_leading = sel_registerName("leading"); -public static final int /*long*/ sel_length = sel_registerName("length"); -public static final int /*long*/ sel_levelForItem_ = sel_registerName("levelForItem:"); -public static final int /*long*/ sel_lineFragmentUsedRectForGlyphAtIndex_effectiveRange_ = sel_registerName("lineFragmentUsedRectForGlyphAtIndex:effectiveRange:"); -public static final int /*long*/ sel_lineFragmentUsedRectForGlyphAtIndex_effectiveRange_withoutAdditionalLayout_ = sel_registerName("lineFragmentUsedRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:"); -public static final int /*long*/ sel_lineToPoint_ = sel_registerName("lineToPoint:"); -public static final int /*long*/ sel_linkTextAttributes = sel_registerName("linkTextAttributes"); -public static final int /*long*/ sel_loadHTMLString_baseURL_ = sel_registerName("loadHTMLString:baseURL:"); -public static final int /*long*/ sel_loadNibFile_externalNameTable_withZone_ = sel_registerName("loadNibFile:externalNameTable:withZone:"); -public static final int /*long*/ sel_loadRequest_ = sel_registerName("loadRequest:"); -public static final int /*long*/ sel_localizedDescription = sel_registerName("localizedDescription"); -public static final int /*long*/ sel_location = sel_registerName("location"); -public static final int /*long*/ sel_locationForGlyphAtIndex_ = sel_registerName("locationForGlyphAtIndex:"); -public static final int /*long*/ sel_locationInWindow = sel_registerName("locationInWindow"); -public static final int /*long*/ sel_lockFocus = sel_registerName("lockFocus"); -public static final int /*long*/ sel_lowercaseString = sel_registerName("lowercaseString"); -public static final int /*long*/ sel_mainBundle = sel_registerName("mainBundle"); -public static final int /*long*/ sel_mainFrame = sel_registerName("mainFrame"); -public static final int /*long*/ sel_mainMenu = sel_registerName("mainMenu"); -public static final int /*long*/ sel_mainRunLoop = sel_registerName("mainRunLoop"); -public static final int /*long*/ sel_mainScreen = sel_registerName("mainScreen"); -public static final int /*long*/ sel_makeCurrentContext = sel_registerName("makeCurrentContext"); -public static final int /*long*/ sel_makeFirstResponder_ = sel_registerName("makeFirstResponder:"); -public static final int /*long*/ sel_makeKeyAndOrderFront_ = sel_registerName("makeKeyAndOrderFront:"); -public static final int /*long*/ sel_markedRange = sel_registerName("markedRange"); -public static final int /*long*/ sel_markedTextAttributes = sel_registerName("markedTextAttributes"); -public static final int /*long*/ sel_maxValue = sel_registerName("maxValue"); -public static final int /*long*/ sel_maximum = sel_registerName("maximum"); -public static final int /*long*/ sel_maximumFractionDigits = sel_registerName("maximumFractionDigits"); -public static final int /*long*/ sel_maximumIntegerDigits = sel_registerName("maximumIntegerDigits"); -public static final int /*long*/ sel_menu = sel_registerName("menu"); -public static final int /*long*/ sel_menu_willHighlightItem_ = sel_registerName("menu:willHighlightItem:"); -public static final int /*long*/ sel_menuDidClose_ = sel_registerName("menuDidClose:"); -public static final int /*long*/ sel_menuForEvent_ = sel_registerName("menuForEvent:"); -public static final int /*long*/ sel_menuNeedsUpdate_ = sel_registerName("menuNeedsUpdate:"); -public static final int /*long*/ sel_menuWillOpen_ = sel_registerName("menuWillOpen:"); -public static final int /*long*/ sel_metaKey = sel_registerName("metaKey"); -public static final int /*long*/ sel_minFrameWidthWithTitle_styleMask_ = sel_registerName("minFrameWidthWithTitle:styleMask:"); -public static final int /*long*/ sel_minSize = sel_registerName("minSize"); -public static final int /*long*/ sel_minValue = sel_registerName("minValue"); -public static final int /*long*/ sel_miniaturize_ = sel_registerName("miniaturize:"); -public static final int /*long*/ sel_minimum = sel_registerName("minimum"); -public static final int /*long*/ sel_minimumSize = sel_registerName("minimumSize"); -public static final int /*long*/ sel_minuteOfHour = sel_registerName("minuteOfHour"); -public static final int /*long*/ sel_modifierFlags = sel_registerName("modifierFlags"); -public static final int /*long*/ sel_monthOfYear = sel_registerName("monthOfYear"); -public static final int /*long*/ sel_mouseDown_ = sel_registerName("mouseDown:"); -public static final int /*long*/ sel_mouseDragged_ = sel_registerName("mouseDragged:"); -public static final int /*long*/ sel_mouseEntered_ = sel_registerName("mouseEntered:"); -public static final int /*long*/ sel_mouseExited_ = sel_registerName("mouseExited:"); -public static final int /*long*/ sel_mouseLocation = sel_registerName("mouseLocation"); -public static final int /*long*/ sel_mouseLocationOutsideOfEventStream = sel_registerName("mouseLocationOutsideOfEventStream"); -public static final int /*long*/ sel_mouseMoved_ = sel_registerName("mouseMoved:"); -public static final int /*long*/ sel_mouseUp_ = sel_registerName("mouseUp:"); -public static final int /*long*/ sel_moveColumn_toColumn_ = sel_registerName("moveColumn:toColumn:"); -public static final int /*long*/ sel_moveToBeginningOfParagraph_ = sel_registerName("moveToBeginningOfParagraph:"); -public static final int /*long*/ sel_moveToEndOfParagraph_ = sel_registerName("moveToEndOfParagraph:"); -public static final int /*long*/ sel_moveToPoint_ = sel_registerName("moveToPoint:"); -public static final int /*long*/ sel_moveUp_ = sel_registerName("moveUp:"); -public static final int /*long*/ sel_mutableCopy = sel_registerName("mutableCopy"); -public static final int /*long*/ sel_mutableString = sel_registerName("mutableString"); -public static final int /*long*/ sel_name = sel_registerName("name"); -public static final int /*long*/ sel_nextEventMatchingMask_untilDate_inMode_dequeue_ = sel_registerName("nextEventMatchingMask:untilDate:inMode:dequeue:"); -public static final int /*long*/ sel_nextObject = sel_registerName("nextObject"); -public static final int /*long*/ sel_nextState = sel_registerName("nextState"); -public static final int /*long*/ sel_nextWordFromIndex_forward_ = sel_registerName("nextWordFromIndex:forward:"); -public static final int /*long*/ sel_noResponderFor_ = sel_registerName("noResponderFor:"); -public static final int /*long*/ sel_noteNumberOfRowsChanged = sel_registerName("noteNumberOfRowsChanged"); -public static final int /*long*/ sel_numberOfColumns = sel_registerName("numberOfColumns"); -public static final int /*long*/ sel_numberOfComponents = sel_registerName("numberOfComponents"); -public static final int /*long*/ sel_numberOfGlyphs = sel_registerName("numberOfGlyphs"); -public static final int /*long*/ sel_numberOfItems = sel_registerName("numberOfItems"); -public static final int /*long*/ sel_numberOfPlanes = sel_registerName("numberOfPlanes"); -public static final int /*long*/ sel_numberOfRows = sel_registerName("numberOfRows"); -public static final int /*long*/ sel_numberOfRowsInTableView_ = sel_registerName("numberOfRowsInTableView:"); -public static final int /*long*/ sel_numberOfSelectedRows = sel_registerName("numberOfSelectedRows"); -public static final int /*long*/ sel_numberOfVisibleItems = sel_registerName("numberOfVisibleItems"); -public static final int /*long*/ sel_numberWithBool_ = sel_registerName("numberWithBool:"); -public static final int /*long*/ sel_numberWithDouble_ = sel_registerName("numberWithDouble:"); -public static final int /*long*/ sel_numberWithInt_ = sel_registerName("numberWithInt:"); -public static final int /*long*/ sel_numberWithInteger_ = sel_registerName("numberWithInteger:"); -public static final int /*long*/ sel_objCType = sel_registerName("objCType"); -public static final int /*long*/ sel_object = sel_registerName("object"); -public static final int /*long*/ sel_objectAtIndex_ = sel_registerName("objectAtIndex:"); -public static final int /*long*/ sel_objectEnumerator = sel_registerName("objectEnumerator"); -public static final int /*long*/ sel_objectForInfoDictionaryKey_ = sel_registerName("objectForInfoDictionaryKey:"); -public static final int /*long*/ sel_objectForKey_ = sel_registerName("objectForKey:"); -public static final int /*long*/ sel_objectValues = sel_registerName("objectValues"); -public static final int /*long*/ sel_openFile_withApplication_ = sel_registerName("openFile:withApplication:"); -public static final int /*long*/ sel_openPanel = sel_registerName("openPanel"); -public static final int /*long*/ sel_openURL_ = sel_registerName("openURL:"); -public static final int /*long*/ sel_openURLs_withAppBundleIdentifier_options_additionalEventParamDescriptor_launchIdentifiers_ = sel_registerName("openURLs:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers:"); -public static final int /*long*/ sel_options = sel_registerName("options"); -public static final int /*long*/ sel_orderBack_ = sel_registerName("orderBack:"); -public static final int /*long*/ sel_orderFront_ = sel_registerName("orderFront:"); -public static final int /*long*/ sel_orderFrontRegardless = sel_registerName("orderFrontRegardless"); -public static final int /*long*/ sel_orderFrontStandardAboutPanel_ = sel_registerName("orderFrontStandardAboutPanel:"); -public static final int /*long*/ sel_orderOut_ = sel_registerName("orderOut:"); -public static final int /*long*/ sel_orderWindow_relativeTo_ = sel_registerName("orderWindow:relativeTo:"); -public static final int /*long*/ sel_orderedWindows = sel_registerName("orderedWindows"); -public static final int /*long*/ sel_orientation = sel_registerName("orientation"); -public static final int /*long*/ sel_otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2_ = sel_registerName("otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:"); -public static final int /*long*/ sel_otherMouseDown_ = sel_registerName("otherMouseDown:"); -public static final int /*long*/ sel_otherMouseDragged_ = sel_registerName("otherMouseDragged:"); -public static final int /*long*/ sel_otherMouseUp_ = sel_registerName("otherMouseUp:"); -public static final int /*long*/ sel_outlineTableColumn = sel_registerName("outlineTableColumn"); -public static final int /*long*/ sel_outlineView_acceptDrop_item_childIndex_ = sel_registerName("outlineView:acceptDrop:item:childIndex:"); -public static final int /*long*/ sel_outlineView_child_ofItem_ = sel_registerName("outlineView:child:ofItem:"); -public static final int /*long*/ sel_outlineView_didClickTableColumn_ = sel_registerName("outlineView:didClickTableColumn:"); -public static final int /*long*/ sel_outlineView_isItemExpandable_ = sel_registerName("outlineView:isItemExpandable:"); -public static final int /*long*/ sel_outlineView_numberOfChildrenOfItem_ = sel_registerName("outlineView:numberOfChildrenOfItem:"); -public static final int /*long*/ sel_outlineView_objectValueForTableColumn_byItem_ = sel_registerName("outlineView:objectValueForTableColumn:byItem:"); -public static final int /*long*/ sel_outlineView_setObjectValue_forTableColumn_byItem_ = sel_registerName("outlineView:setObjectValue:forTableColumn:byItem:"); -public static final int /*long*/ sel_outlineView_shouldCollapseItem_ = sel_registerName("outlineView:shouldCollapseItem:"); -public static final int /*long*/ sel_outlineView_shouldExpandItem_ = sel_registerName("outlineView:shouldExpandItem:"); -public static final int /*long*/ sel_outlineView_validateDrop_proposedItem_proposedChildIndex_ = sel_registerName("outlineView:validateDrop:proposedItem:proposedChildIndex:"); -public static final int /*long*/ sel_outlineView_willDisplayCell_forTableColumn_item_ = sel_registerName("outlineView:willDisplayCell:forTableColumn:item:"); -public static final int /*long*/ sel_outlineView_writeItems_toPasteboard_ = sel_registerName("outlineView:writeItems:toPasteboard:"); -public static final int /*long*/ sel_outlineViewColumnDidMove_ = sel_registerName("outlineViewColumnDidMove:"); -public static final int /*long*/ sel_outlineViewColumnDidResize_ = sel_registerName("outlineViewColumnDidResize:"); -public static final int /*long*/ sel_outlineViewItemDidExpand_ = sel_registerName("outlineViewItemDidExpand:"); -public static final int /*long*/ sel_outlineViewSelectionDidChange_ = sel_registerName("outlineViewSelectionDidChange:"); -public static final int /*long*/ sel_owner = sel_registerName("owner"); -public static final int /*long*/ sel_pageDown_ = sel_registerName("pageDown:"); -public static final int /*long*/ sel_pageTitle = sel_registerName("pageTitle"); -public static final int /*long*/ sel_pageUp_ = sel_registerName("pageUp:"); -public static final int /*long*/ sel_panel_shouldShowFilename_ = sel_registerName("panel:shouldShowFilename:"); -public static final int /*long*/ sel_panelConvertFont_ = sel_registerName("panelConvertFont:"); -public static final int /*long*/ sel_paperSize = sel_registerName("paperSize"); -public static final int /*long*/ sel_paragraphs = sel_registerName("paragraphs"); -public static final int /*long*/ sel_parentWindow = sel_registerName("parentWindow"); -public static final int /*long*/ sel_password = sel_registerName("password"); -public static final int /*long*/ sel_paste_ = sel_registerName("paste:"); -public static final int /*long*/ sel_pasteboard_provideDataForType_ = sel_registerName("pasteboard:provideDataForType:"); -public static final int /*long*/ sel_pasteboardWithName_ = sel_registerName("pasteboardWithName:"); -public static final int /*long*/ sel_pathExtension = sel_registerName("pathExtension"); -public static final int /*long*/ sel_pathForResource_ofType_ = sel_registerName("pathForResource:ofType:"); -public static final int /*long*/ sel_performDragOperation_ = sel_registerName("performDragOperation:"); -public static final int /*long*/ sel_performSelectorOnMainThread_withObject_waitUntilDone_ = sel_registerName("performSelectorOnMainThread:withObject:waitUntilDone:"); -public static final int /*long*/ sel_pixelsHigh = sel_registerName("pixelsHigh"); -public static final int /*long*/ sel_pixelsWide = sel_registerName("pixelsWide"); -public static final int /*long*/ sel_pointSize = sel_registerName("pointSize"); -public static final int /*long*/ sel_pointValue = sel_registerName("pointValue"); -public static final int /*long*/ sel_pointingHandCursor = sel_registerName("pointingHandCursor"); -public static final int /*long*/ sel_pop = sel_registerName("pop"); -public static final int /*long*/ sel_popUpContextMenu_withEvent_forView_ = sel_registerName("popUpContextMenu:withEvent:forView:"); -public static final int /*long*/ sel_popUpStatusItemMenu_ = sel_registerName("popUpStatusItemMenu:"); -public static final int /*long*/ sel_port = sel_registerName("port"); -public static final int /*long*/ sel_postEvent_atStart_ = sel_registerName("postEvent:atStart:"); -public static final int /*long*/ sel_prependTransform_ = sel_registerName("prependTransform:"); -public static final int /*long*/ sel_preventDefault = sel_registerName("preventDefault"); -public static final int /*long*/ sel_previousFailureCount = sel_registerName("previousFailureCount"); -public static final int /*long*/ sel_printDocumentView = sel_registerName("printDocumentView"); -public static final int /*long*/ sel_printOperationWithPrintInfo_ = sel_registerName("printOperationWithPrintInfo:"); -public static final int /*long*/ sel_printOperationWithView_printInfo_ = sel_registerName("printOperationWithView:printInfo:"); -public static final int /*long*/ sel_printPanel = sel_registerName("printPanel"); -public static final int /*long*/ sel_printer = sel_registerName("printer"); -public static final int /*long*/ sel_printerNames = sel_registerName("printerNames"); -public static final int /*long*/ sel_printerWithName_ = sel_registerName("printerWithName:"); -public static final int /*long*/ sel_propertyListForType_ = sel_registerName("propertyListForType:"); -public static final int /*long*/ sel_proposedCredential = sel_registerName("proposedCredential"); -public static final int /*long*/ sel_protectionSpace = sel_registerName("protectionSpace"); -public static final int /*long*/ sel_push = sel_registerName("push"); -public static final int /*long*/ sel_rangeValue = sel_registerName("rangeValue"); -public static final int /*long*/ sel_realm = sel_registerName("realm"); -public static final int /*long*/ sel_recentSearches = sel_registerName("recentSearches"); -public static final int /*long*/ sel_rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount_ = sel_registerName("rectArrayForCharacterRange:withinSelectedCharacterRange:inTextContainer:rectCount:"); -public static final int /*long*/ sel_rectOfColumn_ = sel_registerName("rectOfColumn:"); -public static final int /*long*/ sel_rectOfRow_ = sel_registerName("rectOfRow:"); -public static final int /*long*/ sel_rectValue = sel_registerName("rectValue"); -public static final int /*long*/ sel_redComponent = sel_registerName("redComponent"); -public static final int /*long*/ sel_reflectScrolledClipView_ = sel_registerName("reflectScrolledClipView:"); -public static final int /*long*/ sel_registerForDraggedTypes_ = sel_registerName("registerForDraggedTypes:"); -public static final int /*long*/ sel_release = sel_registerName("release"); -public static final int /*long*/ sel_reload_ = sel_registerName("reload:"); -public static final int /*long*/ sel_reloadData = sel_registerName("reloadData"); -public static final int /*long*/ sel_reloadItem_reloadChildren_ = sel_registerName("reloadItem:reloadChildren:"); -public static final int /*long*/ sel_removeAllItems = sel_registerName("removeAllItems"); -public static final int /*long*/ sel_removeAllPoints = sel_registerName("removeAllPoints"); -public static final int /*long*/ sel_removeAttribute_range_ = sel_registerName("removeAttribute:range:"); -public static final int /*long*/ sel_removeChildWindow_ = sel_registerName("removeChildWindow:"); -public static final int /*long*/ sel_removeFromSuperview = sel_registerName("removeFromSuperview"); -public static final int /*long*/ sel_removeItem_ = sel_registerName("removeItem:"); -public static final int /*long*/ sel_removeItemAtIndex_ = sel_registerName("removeItemAtIndex:"); -public static final int /*long*/ sel_removeItemAtPath_error_ = sel_registerName("removeItemAtPath:error:"); -public static final int /*long*/ sel_removeLastObject = sel_registerName("removeLastObject"); -public static final int /*long*/ sel_removeObject_ = sel_registerName("removeObject:"); -public static final int /*long*/ sel_removeObjectAtIndex_ = sel_registerName("removeObjectAtIndex:"); -public static final int /*long*/ sel_removeObjectForKey_ = sel_registerName("removeObjectForKey:"); -public static final int /*long*/ sel_removeObjectIdenticalTo_ = sel_registerName("removeObjectIdenticalTo:"); -public static final int /*long*/ sel_removeObserver_ = sel_registerName("removeObserver:"); -public static final int /*long*/ sel_removeRepresentation_ = sel_registerName("removeRepresentation:"); -public static final int /*long*/ sel_removeStatusItem_ = sel_registerName("removeStatusItem:"); -public static final int /*long*/ sel_removeTabViewItem_ = sel_registerName("removeTabViewItem:"); -public static final int /*long*/ sel_removeTableColumn_ = sel_registerName("removeTableColumn:"); -public static final int /*long*/ sel_removeTemporaryAttribute_forCharacterRange_ = sel_registerName("removeTemporaryAttribute:forCharacterRange:"); -public static final int /*long*/ sel_removeTrackingArea_ = sel_registerName("removeTrackingArea:"); -public static final int /*long*/ sel_replaceCharactersInRange_withString_ = sel_registerName("replaceCharactersInRange:withString:"); -public static final int /*long*/ sel_representation = sel_registerName("representation"); -public static final int /*long*/ sel_representations = sel_registerName("representations"); -public static final int /*long*/ sel_request = sel_registerName("request"); -public static final int /*long*/ sel_requestWithURL_ = sel_registerName("requestWithURL:"); -public static final int /*long*/ sel_resetCursorRects = sel_registerName("resetCursorRects"); -public static final int /*long*/ sel_resignFirstResponder = sel_registerName("resignFirstResponder"); -public static final int /*long*/ sel_resizeDownCursor = sel_registerName("resizeDownCursor"); -public static final int /*long*/ sel_resizeLeftCursor = sel_registerName("resizeLeftCursor"); -public static final int /*long*/ sel_resizeLeftRightCursor = sel_registerName("resizeLeftRightCursor"); -public static final int /*long*/ sel_resizeRightCursor = sel_registerName("resizeRightCursor"); -public static final int /*long*/ sel_resizeUpCursor = sel_registerName("resizeUpCursor"); -public static final int /*long*/ sel_resizeUpDownCursor = sel_registerName("resizeUpDownCursor"); -public static final int /*long*/ sel_resizingMask = sel_registerName("resizingMask"); -public static final int /*long*/ sel_resourcePath = sel_registerName("resourcePath"); -public static final int /*long*/ sel_respondsToSelector_ = sel_registerName("respondsToSelector:"); -public static final int /*long*/ sel_restoreGraphicsState = sel_registerName("restoreGraphicsState"); -public static final int /*long*/ sel_retain = sel_registerName("retain"); -public static final int /*long*/ sel_retainCount = sel_registerName("retainCount"); -public static final int /*long*/ sel_rightMouseDown_ = sel_registerName("rightMouseDown:"); -public static final int /*long*/ sel_rightMouseDragged_ = sel_registerName("rightMouseDragged:"); -public static final int /*long*/ sel_rightMouseUp_ = sel_registerName("rightMouseUp:"); -public static final int /*long*/ sel_rotateByDegrees_ = sel_registerName("rotateByDegrees:"); -public static final int /*long*/ sel_rowAtPoint_ = sel_registerName("rowAtPoint:"); -public static final int /*long*/ sel_rowForItem_ = sel_registerName("rowForItem:"); -public static final int /*long*/ sel_rowHeight = sel_registerName("rowHeight"); -public static final int /*long*/ sel_rowsInRect_ = sel_registerName("rowsInRect:"); -public static final int /*long*/ sel_run = sel_registerName("run"); -public static final int /*long*/ sel_runModal = sel_registerName("runModal"); -public static final int /*long*/ sel_runModalForDirectory_file_ = sel_registerName("runModalForDirectory:file:"); -public static final int /*long*/ sel_runModalForWindow_ = sel_registerName("runModalForWindow:"); -public static final int /*long*/ sel_runModalWithPrintInfo_ = sel_registerName("runModalWithPrintInfo:"); -public static final int /*long*/ sel_runMode_beforeDate_ = sel_registerName("runMode:beforeDate:"); -public static final int /*long*/ sel_runOperation = sel_registerName("runOperation"); -public static final int /*long*/ sel_samplesPerPixel = sel_registerName("samplesPerPixel"); -public static final int /*long*/ sel_saveGraphicsState = sel_registerName("saveGraphicsState"); -public static final int /*long*/ sel_savePanel = sel_registerName("savePanel"); -public static final int /*long*/ sel_scaleXBy_yBy_ = sel_registerName("scaleXBy:yBy:"); -public static final int /*long*/ sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_ = sel_registerName("scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:"); -public static final int /*long*/ sel_screen = sel_registerName("screen"); -public static final int /*long*/ sel_screens = sel_registerName("screens"); -public static final int /*long*/ sel_scrollColumnToVisible_ = sel_registerName("scrollColumnToVisible:"); -public static final int /*long*/ sel_scrollPoint_ = sel_registerName("scrollPoint:"); -public static final int /*long*/ sel_scrollRangeToVisible_ = sel_registerName("scrollRangeToVisible:"); -public static final int /*long*/ sel_scrollRectToVisible_ = sel_registerName("scrollRectToVisible:"); -public static final int /*long*/ sel_scrollRowToVisible_ = sel_registerName("scrollRowToVisible:"); -public static final int /*long*/ sel_scrollToPoint_ = sel_registerName("scrollToPoint:"); -public static final int /*long*/ sel_scrollWheel_ = sel_registerName("scrollWheel:"); -public static final int /*long*/ sel_scrollerWidth = sel_registerName("scrollerWidth"); -public static final int /*long*/ sel_scrollerWidthForControlSize_ = sel_registerName("scrollerWidthForControlSize:"); -public static final int /*long*/ sel_searchButtonCell = sel_registerName("searchButtonCell"); -public static final int /*long*/ sel_searchTextRectForBounds_ = sel_registerName("searchTextRectForBounds:"); -public static final int /*long*/ sel_secondOfMinute = sel_registerName("secondOfMinute"); -public static final int /*long*/ sel_secondarySelectedControlColor = sel_registerName("secondarySelectedControlColor"); -public static final int /*long*/ sel_selectAll_ = sel_registerName("selectAll:"); -public static final int /*long*/ sel_selectItem_ = sel_registerName("selectItem:"); -public static final int /*long*/ sel_selectItemAtIndex_ = sel_registerName("selectItemAtIndex:"); -public static final int /*long*/ sel_selectRowIndexes_byExtendingSelection_ = sel_registerName("selectRowIndexes:byExtendingSelection:"); -public static final int /*long*/ sel_selectTabViewItemAtIndex_ = sel_registerName("selectTabViewItemAtIndex:"); -public static final int /*long*/ sel_selectText_ = sel_registerName("selectText:"); -public static final int /*long*/ sel_selectedControlColor = sel_registerName("selectedControlColor"); -public static final int /*long*/ sel_selectedControlTextColor = sel_registerName("selectedControlTextColor"); -public static final int /*long*/ sel_selectedRange = sel_registerName("selectedRange"); -public static final int /*long*/ sel_selectedRow = sel_registerName("selectedRow"); -public static final int /*long*/ sel_selectedRowIndexes = sel_registerName("selectedRowIndexes"); -public static final int /*long*/ sel_selectedTabViewItem = sel_registerName("selectedTabViewItem"); -public static final int /*long*/ sel_selectedTextBackgroundColor = sel_registerName("selectedTextBackgroundColor"); -public static final int /*long*/ sel_selectedTextColor = sel_registerName("selectedTextColor"); -public static final int /*long*/ sel_sendAction_to_ = sel_registerName("sendAction:to:"); -public static final int /*long*/ sel_sendEvent_ = sel_registerName("sendEvent:"); -public static final int /*long*/ sel_sender = sel_registerName("sender"); -public static final int /*long*/ sel_separatorItem = sel_registerName("separatorItem"); -public static final int /*long*/ sel_set = sel_registerName("set"); -public static final int /*long*/ sel_setAcceptsMouseMovedEvents_ = sel_registerName("setAcceptsMouseMovedEvents:"); -public static final int /*long*/ sel_setAccessoryView_ = sel_registerName("setAccessoryView:"); -public static final int /*long*/ sel_setAction_ = sel_registerName("setAction:"); -public static final int /*long*/ sel_setAlertStyle_ = sel_registerName("setAlertStyle:"); -public static final int /*long*/ sel_setAlignment_ = sel_registerName("setAlignment:"); -public static final int /*long*/ sel_setAllowsColumnReordering_ = sel_registerName("setAllowsColumnReordering:"); -public static final int /*long*/ sel_setAllowsFloats_ = sel_registerName("setAllowsFloats:"); -public static final int /*long*/ sel_setAllowsMixedState_ = sel_registerName("setAllowsMixedState:"); -public static final int /*long*/ sel_setAllowsMultipleSelection_ = sel_registerName("setAllowsMultipleSelection:"); -public static final int /*long*/ sel_setAllowsUserCustomization_ = sel_registerName("setAllowsUserCustomization:"); -public static final int /*long*/ sel_setAlpha_ = sel_registerName("setAlpha:"); -public static final int /*long*/ sel_setAlphaValue_ = sel_registerName("setAlphaValue:"); -public static final int /*long*/ sel_setApplicationIconImage_ = sel_registerName("setApplicationIconImage:"); -public static final int /*long*/ sel_setApplicationNameForUserAgent_ = sel_registerName("setApplicationNameForUserAgent:"); -public static final int /*long*/ sel_setAttributedString_ = sel_registerName("setAttributedString:"); -public static final int /*long*/ sel_setAttributedStringValue_ = sel_registerName("setAttributedStringValue:"); -public static final int /*long*/ sel_setAttributedTitle_ = sel_registerName("setAttributedTitle:"); -public static final int /*long*/ sel_setAutoenablesItems_ = sel_registerName("setAutoenablesItems:"); -public static final int /*long*/ sel_setAutohidesScrollers_ = sel_registerName("setAutohidesScrollers:"); -public static final int /*long*/ sel_setAutoresizesOutlineColumn_ = sel_registerName("setAutoresizesOutlineColumn:"); -public static final int /*long*/ sel_setAutoresizesSubviews_ = sel_registerName("setAutoresizesSubviews:"); -public static final int /*long*/ sel_setAutoresizingMask_ = sel_registerName("setAutoresizingMask:"); -public static final int /*long*/ sel_setAutosaveExpandedItems_ = sel_registerName("setAutosaveExpandedItems:"); -public static final int /*long*/ sel_setBackgroundColor_ = sel_registerName("setBackgroundColor:"); -public static final int /*long*/ sel_setBackgroundLayoutEnabled_ = sel_registerName("setBackgroundLayoutEnabled:"); -public static final int /*long*/ sel_setBezelStyle_ = sel_registerName("setBezelStyle:"); -public static final int /*long*/ sel_setBorderType_ = sel_registerName("setBorderType:"); -public static final int /*long*/ sel_setBorderWidth_ = sel_registerName("setBorderWidth:"); -public static final int /*long*/ sel_setBordered_ = sel_registerName("setBordered:"); -public static final int /*long*/ sel_setBoxType_ = sel_registerName("setBoxType:"); -public static final int /*long*/ sel_setButtonType_ = sel_registerName("setButtonType:"); -public static final int /*long*/ sel_setCacheMode_ = sel_registerName("setCacheMode:"); -public static final int /*long*/ sel_setCachePolicy_ = sel_registerName("setCachePolicy:"); -public static final int /*long*/ sel_setCanChooseDirectories_ = sel_registerName("setCanChooseDirectories:"); -public static final int /*long*/ sel_setCanChooseFiles_ = sel_registerName("setCanChooseFiles:"); -public static final int /*long*/ sel_setCanCreateDirectories_ = sel_registerName("setCanCreateDirectories:"); -public static final int /*long*/ sel_setCancelButtonCell_ = sel_registerName("setCancelButtonCell:"); -public static final int /*long*/ sel_setCell_ = sel_registerName("setCell:"); -public static final int /*long*/ sel_setCellClass_ = sel_registerName("setCellClass:"); -public static final int /*long*/ sel_setClip = sel_registerName("setClip"); -public static final int /*long*/ sel_setColor_ = sel_registerName("setColor:"); -public static final int /*long*/ sel_setColumnAutoresizingStyle_ = sel_registerName("setColumnAutoresizingStyle:"); -public static final int /*long*/ sel_setCompositingOperation_ = sel_registerName("setCompositingOperation:"); -public static final int /*long*/ sel_setContainerSize_ = sel_registerName("setContainerSize:"); -public static final int /*long*/ sel_setContentView_ = sel_registerName("setContentView:"); -public static final int /*long*/ sel_setContentViewMargins_ = sel_registerName("setContentViewMargins:"); -public static final int /*long*/ sel_setControlSize_ = sel_registerName("setControlSize:"); -public static final int /*long*/ sel_setCookie_ = sel_registerName("setCookie:"); -public static final int /*long*/ sel_setCopiesOnScroll_ = sel_registerName("setCopiesOnScroll:"); -public static final int /*long*/ sel_setCurrentContext_ = sel_registerName("setCurrentContext:"); -public static final int /*long*/ sel_setCurrentOperation_ = sel_registerName("setCurrentOperation:"); -public static final int /*long*/ sel_setData_forType_ = sel_registerName("setData:forType:"); -public static final int /*long*/ sel_setDataCell_ = sel_registerName("setDataCell:"); -public static final int /*long*/ sel_setDataSource_ = sel_registerName("setDataSource:"); -public static final int /*long*/ sel_setDatePickerElements_ = sel_registerName("setDatePickerElements:"); -public static final int /*long*/ sel_setDatePickerStyle_ = sel_registerName("setDatePickerStyle:"); -public static final int /*long*/ sel_setDateValue_ = sel_registerName("setDateValue:"); -public static final int /*long*/ sel_setDefaultButtonCell_ = sel_registerName("setDefaultButtonCell:"); -public static final int /*long*/ sel_setDefaultFlatness_ = sel_registerName("setDefaultFlatness:"); -public static final int /*long*/ sel_setDefaultParagraphStyle_ = sel_registerName("setDefaultParagraphStyle:"); -public static final int /*long*/ sel_setDefaultTabInterval_ = sel_registerName("setDefaultTabInterval:"); -public static final int /*long*/ sel_setDelegate_ = sel_registerName("setDelegate:"); -public static final int /*long*/ sel_setDestination_allowOverwrite_ = sel_registerName("setDestination:allowOverwrite:"); -public static final int /*long*/ sel_setDictionary_ = sel_registerName("setDictionary:"); -public static final int /*long*/ sel_setDirectory_ = sel_registerName("setDirectory:"); -public static final int /*long*/ sel_setDisplayMode_ = sel_registerName("setDisplayMode:"); -public static final int /*long*/ sel_setDisplaysLinkToolTips_ = sel_registerName("setDisplaysLinkToolTips:"); -public static final int /*long*/ sel_setDocumentCursor_ = sel_registerName("setDocumentCursor:"); -public static final int /*long*/ sel_setDocumentEdited_ = sel_registerName("setDocumentEdited:"); -public static final int /*long*/ sel_setDocumentView_ = sel_registerName("setDocumentView:"); -public static final int /*long*/ sel_setDoubleAction_ = sel_registerName("setDoubleAction:"); -public static final int /*long*/ sel_setDoubleValue_ = sel_registerName("setDoubleValue:"); -public static final int /*long*/ sel_setDownloadDelegate_ = sel_registerName("setDownloadDelegate:"); -public static final int /*long*/ sel_setDrawsBackground_ = sel_registerName("setDrawsBackground:"); -public static final int /*long*/ sel_setDropItem_dropChildIndex_ = sel_registerName("setDropItem:dropChildIndex:"); -public static final int /*long*/ sel_setDropRow_dropOperation_ = sel_registerName("setDropRow:dropOperation:"); -public static final int /*long*/ sel_setEditable_ = sel_registerName("setEditable:"); -public static final int /*long*/ sel_setEnabled_ = sel_registerName("setEnabled:"); -public static final int /*long*/ sel_setEnabled_forSegment_ = sel_registerName("setEnabled:forSegment:"); -public static final int /*long*/ sel_setFill = sel_registerName("setFill"); -public static final int /*long*/ sel_setFillColor_ = sel_registerName("setFillColor:"); -public static final int /*long*/ sel_setFireDate_ = sel_registerName("setFireDate:"); -public static final int /*long*/ sel_setFirstLineHeadIndent_ = sel_registerName("setFirstLineHeadIndent:"); -public static final int /*long*/ sel_setFloatValue_knobProportion_ = sel_registerName("setFloatValue:knobProportion:"); -public static final int /*long*/ sel_setFocusRingType_ = sel_registerName("setFocusRingType:"); -public static final int /*long*/ sel_setFont_ = sel_registerName("setFont:"); -public static final int /*long*/ sel_setFormatter_ = sel_registerName("setFormatter:"); -public static final int /*long*/ sel_setFrame_ = sel_registerName("setFrame:"); -public static final int /*long*/ sel_setFrame_display_ = sel_registerName("setFrame:display:"); -public static final int /*long*/ sel_setFrame_display_animate_ = sel_registerName("setFrame:display:animate:"); -public static final int /*long*/ sel_setFrameLoadDelegate_ = sel_registerName("setFrameLoadDelegate:"); -public static final int /*long*/ sel_setFrameOrigin_ = sel_registerName("setFrameOrigin:"); -public static final int /*long*/ sel_setFrameSize_ = sel_registerName("setFrameSize:"); -public static final int /*long*/ sel_setHasHorizontalScroller_ = sel_registerName("setHasHorizontalScroller:"); -public static final int /*long*/ sel_setHasShadow_ = sel_registerName("setHasShadow:"); -public static final int /*long*/ sel_setHasVerticalScroller_ = sel_registerName("setHasVerticalScroller:"); -public static final int /*long*/ sel_setHeaderCell_ = sel_registerName("setHeaderCell:"); -public static final int /*long*/ sel_setHeaderView_ = sel_registerName("setHeaderView:"); -public static final int /*long*/ sel_setHidden_ = sel_registerName("setHidden:"); -public static final int /*long*/ sel_setHiddenUntilMouseMoves_ = sel_registerName("setHiddenUntilMouseMoves:"); -public static final int /*long*/ sel_setHighlightMode_ = sel_registerName("setHighlightMode:"); -public static final int /*long*/ sel_setHighlighted_ = sel_registerName("setHighlighted:"); -public static final int /*long*/ sel_setHighlightedTableColumn_ = sel_registerName("setHighlightedTableColumn:"); -public static final int /*long*/ sel_setHorizontalScroller_ = sel_registerName("setHorizontalScroller:"); -public static final int /*long*/ sel_setHorizontallyResizable_ = sel_registerName("setHorizontallyResizable:"); -public static final int /*long*/ sel_setIcon_ = sel_registerName("setIcon:"); -public static final int /*long*/ sel_setIdentifier_ = sel_registerName("setIdentifier:"); -public static final int /*long*/ sel_setImage_ = sel_registerName("setImage:"); -public static final int /*long*/ sel_setImage_forSegment_ = sel_registerName("setImage:forSegment:"); -public static final int /*long*/ sel_setImageAlignment_ = sel_registerName("setImageAlignment:"); -public static final int /*long*/ sel_setImageInterpolation_ = sel_registerName("setImageInterpolation:"); -public static final int /*long*/ sel_setImagePosition_ = sel_registerName("setImagePosition:"); -public static final int /*long*/ sel_setImageScaling_ = sel_registerName("setImageScaling:"); -public static final int /*long*/ sel_setIncrement_ = sel_registerName("setIncrement:"); -public static final int /*long*/ sel_setIndeterminate_ = sel_registerName("setIndeterminate:"); -public static final int /*long*/ sel_setIndicatorImage_inTableColumn_ = sel_registerName("setIndicatorImage:inTableColumn:"); -public static final int /*long*/ sel_setIntercellSpacing_ = sel_registerName("setIntercellSpacing:"); -public static final int /*long*/ sel_setJavaEnabled_ = sel_registerName("setJavaEnabled:"); -public static final int /*long*/ sel_setJavaScriptEnabled_ = sel_registerName("setJavaScriptEnabled:"); -public static final int /*long*/ sel_setJobDisposition_ = sel_registerName("setJobDisposition:"); -public static final int /*long*/ sel_setJobTitle_ = sel_registerName("setJobTitle:"); -public static final int /*long*/ sel_setKeyEquivalent_ = sel_registerName("setKeyEquivalent:"); -public static final int /*long*/ sel_setKeyEquivalentModifierMask_ = sel_registerName("setKeyEquivalentModifierMask:"); -public static final int /*long*/ sel_setLabel_ = sel_registerName("setLabel:"); -public static final int /*long*/ sel_setLabel_forSegment_ = sel_registerName("setLabel:forSegment:"); -public static final int /*long*/ sel_setLeaf_ = sel_registerName("setLeaf:"); -public static final int /*long*/ sel_setLength_ = sel_registerName("setLength:"); -public static final int /*long*/ sel_setLevel_ = sel_registerName("setLevel:"); -public static final int /*long*/ sel_setLineBreakMode_ = sel_registerName("setLineBreakMode:"); -public static final int /*long*/ sel_setLineCapStyle_ = sel_registerName("setLineCapStyle:"); -public static final int /*long*/ sel_setLineDash_count_phase_ = sel_registerName("setLineDash:count:phase:"); -public static final int /*long*/ sel_setLineFragmentPadding_ = sel_registerName("setLineFragmentPadding:"); -public static final int /*long*/ sel_setLineFragmentRect_forGlyphRange_usedRect_ = sel_registerName("setLineFragmentRect:forGlyphRange:usedRect:"); -public static final int /*long*/ sel_setLineJoinStyle_ = sel_registerName("setLineJoinStyle:"); -public static final int /*long*/ sel_setLineSpacing_ = sel_registerName("setLineSpacing:"); -public static final int /*long*/ sel_setLineWidth_ = sel_registerName("setLineWidth:"); -public static final int /*long*/ sel_setLinkTextAttributes_ = sel_registerName("setLinkTextAttributes:"); -public static final int /*long*/ sel_setMainMenu_ = sel_registerName("setMainMenu:"); -public static final int /*long*/ sel_setMarkedText_selectedRange_ = sel_registerName("setMarkedText:selectedRange:"); -public static final int /*long*/ sel_setMaxSize_ = sel_registerName("setMaxSize:"); -public static final int /*long*/ sel_setMaxValue_ = sel_registerName("setMaxValue:"); -public static final int /*long*/ sel_setMaximum_ = sel_registerName("setMaximum:"); -public static final int /*long*/ sel_setMaximumFractionDigits_ = sel_registerName("setMaximumFractionDigits:"); -public static final int /*long*/ sel_setMaximumIntegerDigits_ = sel_registerName("setMaximumIntegerDigits:"); -public static final int /*long*/ sel_setMenu_ = sel_registerName("setMenu:"); -public static final int /*long*/ sel_setMenu_forSegment_ = sel_registerName("setMenu:forSegment:"); -public static final int /*long*/ sel_setMessage_ = sel_registerName("setMessage:"); -public static final int /*long*/ sel_setMessageText_ = sel_registerName("setMessageText:"); -public static final int /*long*/ sel_setMinSize_ = sel_registerName("setMinSize:"); -public static final int /*long*/ sel_setMinValue_ = sel_registerName("setMinValue:"); -public static final int /*long*/ sel_setMinWidth_ = sel_registerName("setMinWidth:"); -public static final int /*long*/ sel_setMinimum_ = sel_registerName("setMinimum:"); -public static final int /*long*/ sel_setMinimumFractionDigits_ = sel_registerName("setMinimumFractionDigits:"); -public static final int /*long*/ sel_setMinimumIntegerDigits_ = sel_registerName("setMinimumIntegerDigits:"); -public static final int /*long*/ sel_setMiterLimit_ = sel_registerName("setMiterLimit:"); -public static final int /*long*/ sel_setNeedsDisplay_ = sel_registerName("setNeedsDisplay:"); -public static final int /*long*/ sel_setNeedsDisplayInRect_ = sel_registerName("setNeedsDisplayInRect:"); -public static final int /*long*/ sel_setNumberOfVisibleItems_ = sel_registerName("setNumberOfVisibleItems:"); -public static final int /*long*/ sel_setNumberStyle_ = sel_registerName("setNumberStyle:"); -public static final int /*long*/ sel_setObject_forKey_ = sel_registerName("setObject:forKey:"); -public static final int /*long*/ sel_setObjectValue_ = sel_registerName("setObjectValue:"); -public static final int /*long*/ sel_setOnMouseEntered_ = sel_registerName("setOnMouseEntered:"); -public static final int /*long*/ sel_setOpaque_ = sel_registerName("setOpaque:"); -public static final int /*long*/ sel_setOptions_ = sel_registerName("setOptions:"); -public static final int /*long*/ sel_setOrientation_ = sel_registerName("setOrientation:"); -public static final int /*long*/ sel_setOutlineTableColumn_ = sel_registerName("setOutlineTableColumn:"); -public static final int /*long*/ sel_setPaletteLabel_ = sel_registerName("setPaletteLabel:"); -public static final int /*long*/ sel_setPanelFont_isMultiple_ = sel_registerName("setPanelFont:isMultiple:"); -public static final int /*long*/ sel_setPartialStringValidationEnabled_ = sel_registerName("setPartialStringValidationEnabled:"); -public static final int /*long*/ sel_setPatternPhase_ = sel_registerName("setPatternPhase:"); -public static final int /*long*/ sel_setPlaceholderString_ = sel_registerName("setPlaceholderString:"); -public static final int /*long*/ sel_setPolicyDelegate_ = sel_registerName("setPolicyDelegate:"); -public static final int /*long*/ sel_setPreferences_ = sel_registerName("setPreferences:"); -public static final int /*long*/ sel_setPrinter_ = sel_registerName("setPrinter:"); -public static final int /*long*/ sel_setPropertyList_forType_ = sel_registerName("setPropertyList:forType:"); -public static final int /*long*/ sel_setPullsDown_ = sel_registerName("setPullsDown:"); -public static final int /*long*/ sel_setReleasedWhenClosed_ = sel_registerName("setReleasedWhenClosed:"); -public static final int /*long*/ sel_setResizingMask_ = sel_registerName("setResizingMask:"); -public static final int /*long*/ sel_setResourceLoadDelegate_ = sel_registerName("setResourceLoadDelegate:"); -public static final int /*long*/ sel_setRichText_ = sel_registerName("setRichText:"); -public static final int /*long*/ sel_setRowHeight_ = sel_registerName("setRowHeight:"); -public static final int /*long*/ sel_setScrollable_ = sel_registerName("setScrollable:"); -public static final int /*long*/ sel_setSearchButtonCell_ = sel_registerName("setSearchButtonCell:"); -public static final int /*long*/ sel_setSegmentCount_ = sel_registerName("setSegmentCount:"); -public static final int /*long*/ sel_setSegmentStyle_ = sel_registerName("setSegmentStyle:"); -public static final int /*long*/ sel_setSelectable_ = sel_registerName("setSelectable:"); -public static final int /*long*/ sel_setSelected_forSegment_ = sel_registerName("setSelected:forSegment:"); -public static final int /*long*/ sel_setSelectedRange_ = sel_registerName("setSelectedRange:"); -public static final int /*long*/ sel_setSelectedSegment_ = sel_registerName("setSelectedSegment:"); -public static final int /*long*/ sel_setServicesMenu_ = sel_registerName("setServicesMenu:"); -public static final int /*long*/ sel_setShouldAntialias_ = sel_registerName("setShouldAntialias:"); -public static final int /*long*/ sel_setShowsPrintPanel_ = sel_registerName("setShowsPrintPanel:"); -public static final int /*long*/ sel_setShowsProgressPanel_ = sel_registerName("setShowsProgressPanel:"); -public static final int /*long*/ sel_setShowsResizeIndicator_ = sel_registerName("setShowsResizeIndicator:"); -public static final int /*long*/ sel_setShowsToolbarButton_ = sel_registerName("setShowsToolbarButton:"); -public static final int /*long*/ sel_setSize_ = sel_registerName("setSize:"); -public static final int /*long*/ sel_setState_ = sel_registerName("setState:"); -public static final int /*long*/ sel_setString_ = sel_registerName("setString:"); -public static final int /*long*/ sel_setString_forType_ = sel_registerName("setString:forType:"); -public static final int /*long*/ sel_setStringValue_ = sel_registerName("setStringValue:"); -public static final int /*long*/ sel_setStroke = sel_registerName("setStroke"); -public static final int /*long*/ sel_setSubmenu_ = sel_registerName("setSubmenu:"); -public static final int /*long*/ sel_setSubmenu_forItem_ = sel_registerName("setSubmenu:forItem:"); -public static final int /*long*/ sel_setTabStops_ = sel_registerName("setTabStops:"); -public static final int /*long*/ sel_setTabViewType_ = sel_registerName("setTabViewType:"); -public static final int /*long*/ sel_setTag_forSegment_ = sel_registerName("setTag:forSegment:"); -public static final int /*long*/ sel_setTarget_ = sel_registerName("setTarget:"); -public static final int /*long*/ sel_setTextColor_ = sel_registerName("setTextColor:"); -public static final int /*long*/ sel_setTextStorage_ = sel_registerName("setTextStorage:"); -public static final int /*long*/ sel_setTitle_ = sel_registerName("setTitle:"); -public static final int /*long*/ sel_setTitleFont_ = sel_registerName("setTitleFont:"); -public static final int /*long*/ sel_setTitlePosition_ = sel_registerName("setTitlePosition:"); -public static final int /*long*/ sel_setToolTip_ = sel_registerName("setToolTip:"); -public static final int /*long*/ sel_setToolTip_forSegment_ = sel_registerName("setToolTip:forSegment:"); -public static final int /*long*/ sel_setToolbar_ = sel_registerName("setToolbar:"); -public static final int /*long*/ sel_setTrackingMode_ = sel_registerName("setTrackingMode:"); -public static final int /*long*/ sel_setTransformStruct_ = sel_registerName("setTransformStruct:"); -public static final int /*long*/ sel_setUIDelegate_ = sel_registerName("setUIDelegate:"); -public static final int /*long*/ sel_setURL_ = sel_registerName("setURL:"); -public static final int /*long*/ sel_setUpPrintOperationDefaultValues = sel_registerName("setUpPrintOperationDefaultValues"); -public static final int /*long*/ sel_setUsesAlternatingRowBackgroundColors_ = sel_registerName("setUsesAlternatingRowBackgroundColors:"); -public static final int /*long*/ sel_setUsesThreadedAnimation_ = sel_registerName("setUsesThreadedAnimation:"); -public static final int /*long*/ sel_setValue_forKey_ = sel_registerName("setValue:forKey:"); -public static final int /*long*/ sel_setValueWraps_ = sel_registerName("setValueWraps:"); -public static final int /*long*/ sel_setVerticalScroller_ = sel_registerName("setVerticalScroller:"); -public static final int /*long*/ sel_setView_ = sel_registerName("setView:"); -public static final int /*long*/ sel_setVisible_ = sel_registerName("setVisible:"); -public static final int /*long*/ sel_setWidth_ = sel_registerName("setWidth:"); -public static final int /*long*/ sel_setWidth_forSegment_ = sel_registerName("setWidth:forSegment:"); -public static final int /*long*/ sel_setWidthTracksTextView_ = sel_registerName("setWidthTracksTextView:"); -public static final int /*long*/ sel_setWindingRule_ = sel_registerName("setWindingRule:"); -public static final int /*long*/ sel_setWorksWhenModal_ = sel_registerName("setWorksWhenModal:"); -public static final int /*long*/ sel_setWraps_ = sel_registerName("setWraps:"); -public static final int /*long*/ sel_sharedApplication = sel_registerName("sharedApplication"); -public static final int /*long*/ sel_sharedColorPanel = sel_registerName("sharedColorPanel"); -public static final int /*long*/ sel_sharedFontManager = sel_registerName("sharedFontManager"); -public static final int /*long*/ sel_sharedFontPanel = sel_registerName("sharedFontPanel"); -public static final int /*long*/ sel_sharedHTTPCookieStorage = sel_registerName("sharedHTTPCookieStorage"); -public static final int /*long*/ sel_sharedPrintInfo = sel_registerName("sharedPrintInfo"); -public static final int /*long*/ sel_sharedWorkspace = sel_registerName("sharedWorkspace"); -public static final int /*long*/ sel_shiftKey = sel_registerName("shiftKey"); -public static final int /*long*/ sel_shouldAntialias = sel_registerName("shouldAntialias"); -public static final int /*long*/ sel_shouldChangeTextInRange_replacementString_ = sel_registerName("shouldChangeTextInRange:replacementString:"); -public static final int /*long*/ sel_shouldDelayWindowOrderingForEvent_ = sel_registerName("shouldDelayWindowOrderingForEvent:"); -public static final int /*long*/ sel_size = sel_registerName("size"); -public static final int /*long*/ sel_sizeToFit = sel_registerName("sizeToFit"); -public static final int /*long*/ sel_sizeValue = sel_registerName("sizeValue"); -public static final int /*long*/ sel_skipDescendents = sel_registerName("skipDescendents"); -public static final int /*long*/ sel_smallSystemFontSize = sel_registerName("smallSystemFontSize"); -public static final int /*long*/ sel_sortIndicatorRectForBounds_ = sel_registerName("sortIndicatorRectForBounds:"); -public static final int /*long*/ sel_standardPreferences = sel_registerName("standardPreferences"); -public static final int /*long*/ sel_standardWindowButton_ = sel_registerName("standardWindowButton:"); -public static final int /*long*/ sel_startAnimation_ = sel_registerName("startAnimation:"); -public static final int /*long*/ sel_state = sel_registerName("state"); -public static final int /*long*/ sel_statusItemWithLength_ = sel_registerName("statusItemWithLength:"); -public static final int /*long*/ sel_stop_ = sel_registerName("stop:"); -public static final int /*long*/ sel_stopAnimation_ = sel_registerName("stopAnimation:"); -public static final int /*long*/ sel_stopLoading_ = sel_registerName("stopLoading:"); -public static final int /*long*/ sel_string = sel_registerName("string"); -public static final int /*long*/ sel_stringByAddingPercentEscapesUsingEncoding_ = sel_registerName("stringByAddingPercentEscapesUsingEncoding:"); -public static final int /*long*/ sel_stringByAppendingPathComponent_ = sel_registerName("stringByAppendingPathComponent:"); -public static final int /*long*/ sel_stringByAppendingString_ = sel_registerName("stringByAppendingString:"); -public static final int /*long*/ sel_stringByDeletingLastPathComponent = sel_registerName("stringByDeletingLastPathComponent"); -public static final int /*long*/ sel_stringByDeletingPathExtension = sel_registerName("stringByDeletingPathExtension"); -public static final int /*long*/ sel_stringByEvaluatingJavaScriptFromString_ = sel_registerName("stringByEvaluatingJavaScriptFromString:"); -public static final int /*long*/ sel_stringByReplacingOccurrencesOfString_withString_ = sel_registerName("stringByReplacingOccurrencesOfString:withString:"); -public static final int /*long*/ sel_stringForObjectValue_ = sel_registerName("stringForObjectValue:"); -public static final int /*long*/ sel_stringForType_ = sel_registerName("stringForType:"); -public static final int /*long*/ sel_stringValue = sel_registerName("stringValue"); -public static final int /*long*/ sel_stringWithCharacters_length_ = sel_registerName("stringWithCharacters:length:"); -public static final int /*long*/ sel_stringWithFormat_ = sel_registerName("stringWithFormat:"); -public static final int /*long*/ sel_stringWithUTF8String_ = sel_registerName("stringWithUTF8String:"); -public static final int /*long*/ sel_stroke = sel_registerName("stroke"); -public static final int /*long*/ sel_strokeRect_ = sel_registerName("strokeRect:"); -public static final int /*long*/ sel_styleMask = sel_registerName("styleMask"); -public static final int /*long*/ sel_submenu = sel_registerName("submenu"); -public static final int /*long*/ sel_subviews = sel_registerName("subviews"); -public static final int /*long*/ sel_superclass = sel_registerName("superclass"); -public static final int /*long*/ sel_superview = sel_registerName("superview"); -public static final int /*long*/ sel_systemFontOfSize_ = sel_registerName("systemFontOfSize:"); -public static final int /*long*/ sel_systemFontSize = sel_registerName("systemFontSize"); -public static final int /*long*/ sel_systemFontSizeForControlSize_ = sel_registerName("systemFontSizeForControlSize:"); -public static final int /*long*/ sel_systemStatusBar = sel_registerName("systemStatusBar"); -public static final int /*long*/ sel_systemVersion = sel_registerName("systemVersion"); -public static final int /*long*/ sel_tabStopType = sel_registerName("tabStopType"); -public static final int /*long*/ sel_tabStops = sel_registerName("tabStops"); -public static final int /*long*/ sel_tabView_didSelectTabViewItem_ = sel_registerName("tabView:didSelectTabViewItem:"); -public static final int /*long*/ sel_tabView_shouldSelectTabViewItem_ = sel_registerName("tabView:shouldSelectTabViewItem:"); -public static final int /*long*/ sel_tabView_willSelectTabViewItem_ = sel_registerName("tabView:willSelectTabViewItem:"); -public static final int /*long*/ sel_tabViewItemAtPoint_ = sel_registerName("tabViewItemAtPoint:"); -public static final int /*long*/ sel_tableColumns = sel_registerName("tableColumns"); -public static final int /*long*/ sel_tableView_acceptDrop_row_dropOperation_ = sel_registerName("tableView:acceptDrop:row:dropOperation:"); -public static final int /*long*/ sel_tableView_didClickTableColumn_ = sel_registerName("tableView:didClickTableColumn:"); -public static final int /*long*/ sel_tableView_objectValueForTableColumn_row_ = sel_registerName("tableView:objectValueForTableColumn:row:"); -public static final int /*long*/ sel_tableView_setObjectValue_forTableColumn_row_ = sel_registerName("tableView:setObjectValue:forTableColumn:row:"); -public static final int /*long*/ sel_tableView_shouldEditTableColumn_row_ = sel_registerName("tableView:shouldEditTableColumn:row:"); -public static final int /*long*/ sel_tableView_validateDrop_proposedRow_proposedDropOperation_ = sel_registerName("tableView:validateDrop:proposedRow:proposedDropOperation:"); -public static final int /*long*/ sel_tableView_willDisplayCell_forTableColumn_row_ = sel_registerName("tableView:willDisplayCell:forTableColumn:row:"); -public static final int /*long*/ sel_tableView_writeRowsWithIndexes_toPasteboard_ = sel_registerName("tableView:writeRowsWithIndexes:toPasteboard:"); -public static final int /*long*/ sel_tableViewColumnDidMove_ = sel_registerName("tableViewColumnDidMove:"); -public static final int /*long*/ sel_tableViewColumnDidResize_ = sel_registerName("tableViewColumnDidResize:"); -public static final int /*long*/ sel_tableViewSelectionDidChange_ = sel_registerName("tableViewSelectionDidChange:"); -public static final int /*long*/ sel_target = sel_registerName("target"); -public static final int /*long*/ sel_terminate_ = sel_registerName("terminate:"); -public static final int /*long*/ sel_textBackgroundColor = sel_registerName("textBackgroundColor"); -public static final int /*long*/ sel_textColor = sel_registerName("textColor"); -public static final int /*long*/ sel_textContainer = sel_registerName("textContainer"); -public static final int /*long*/ sel_textDidChange_ = sel_registerName("textDidChange:"); -public static final int /*long*/ sel_textDidEndEditing_ = sel_registerName("textDidEndEditing:"); -public static final int /*long*/ sel_textStorage = sel_registerName("textStorage"); -public static final int /*long*/ sel_textView_clickedOnLink_atIndex_ = sel_registerName("textView:clickedOnLink:atIndex:"); -public static final int /*long*/ sel_textView_willChangeSelectionFromCharacterRange_toCharacterRange_ = sel_registerName("textView:willChangeSelectionFromCharacterRange:toCharacterRange:"); -public static final int /*long*/ sel_textViewDidChangeSelection_ = sel_registerName("textViewDidChangeSelection:"); -public static final int /*long*/ sel_threadDictionary = sel_registerName("threadDictionary"); -public static final int /*long*/ sel_tile = sel_registerName("tile"); -public static final int /*long*/ sel_timeZone = sel_registerName("timeZone"); -public static final int /*long*/ sel_timestamp = sel_registerName("timestamp"); -public static final int /*long*/ sel_title = sel_registerName("title"); -public static final int /*long*/ sel_titleCell = sel_registerName("titleCell"); -public static final int /*long*/ sel_titleFont = sel_registerName("titleFont"); -public static final int /*long*/ sel_titleOfSelectedItem = sel_registerName("titleOfSelectedItem"); -public static final int /*long*/ sel_titleRectForBounds_ = sel_registerName("titleRectForBounds:"); -public static final int /*long*/ sel_toggleToolbarShown_ = sel_registerName("toggleToolbarShown:"); -public static final int /*long*/ sel_toolbar = sel_registerName("toolbar"); -public static final int /*long*/ sel_toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar_ = sel_registerName("toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:"); -public static final int /*long*/ sel_toolbarAllowedItemIdentifiers_ = sel_registerName("toolbarAllowedItemIdentifiers:"); -public static final int /*long*/ sel_toolbarDefaultItemIdentifiers_ = sel_registerName("toolbarDefaultItemIdentifiers:"); -public static final int /*long*/ sel_toolbarDidRemoveItem_ = sel_registerName("toolbarDidRemoveItem:"); -public static final int /*long*/ sel_toolbarSelectableItemIdentifiers_ = sel_registerName("toolbarSelectableItemIdentifiers:"); -public static final int /*long*/ sel_toolbarWillAddItem_ = sel_registerName("toolbarWillAddItem:"); -public static final int /*long*/ sel_trackingAreas = sel_registerName("trackingAreas"); -public static final int /*long*/ sel_traitsOfFont_ = sel_registerName("traitsOfFont:"); -public static final int /*long*/ sel_transform = sel_registerName("transform"); -public static final int /*long*/ sel_transformPoint_ = sel_registerName("transformPoint:"); -public static final int /*long*/ sel_transformSize_ = sel_registerName("transformSize:"); -public static final int /*long*/ sel_transformStruct = sel_registerName("transformStruct"); -public static final int /*long*/ sel_transformUsingAffineTransform_ = sel_registerName("transformUsingAffineTransform:"); -public static final int /*long*/ sel_translateXBy_yBy_ = sel_registerName("translateXBy:yBy:"); -public static final int /*long*/ sel_type = sel_registerName("type"); -public static final int /*long*/ sel_types = sel_registerName("types"); -public static final int /*long*/ sel_typesetter = sel_registerName("typesetter"); -public static final int /*long*/ sel_unarchiveObjectWithData_ = sel_registerName("unarchiveObjectWithData:"); -public static final int /*long*/ sel_undefined = sel_registerName("undefined"); -public static final int /*long*/ sel_unhideAllApplications_ = sel_registerName("unhideAllApplications:"); -public static final int /*long*/ sel_unlockFocus = sel_registerName("unlockFocus"); -public static final int /*long*/ sel_unmarkText = sel_registerName("unmarkText"); -public static final int /*long*/ sel_unregisterDraggedTypes = sel_registerName("unregisterDraggedTypes"); -public static final int /*long*/ sel_update = sel_registerName("update"); -public static final int /*long*/ sel_updateTrackingAreas = sel_registerName("updateTrackingAreas"); -public static final int /*long*/ sel_use = sel_registerName("use"); -public static final int /*long*/ sel_useCredential_forAuthenticationChallenge_ = sel_registerName("useCredential:forAuthenticationChallenge:"); -public static final int /*long*/ sel_usedRectForTextContainer_ = sel_registerName("usedRectForTextContainer:"); -public static final int /*long*/ sel_user = sel_registerName("user"); -public static final int /*long*/ sel_userInfo = sel_registerName("userInfo"); -public static final int /*long*/ sel_usesAlternatingRowBackgroundColors = sel_registerName("usesAlternatingRowBackgroundColors"); -public static final int /*long*/ sel_validAttributesForMarkedText = sel_registerName("validAttributesForMarkedText"); -public static final int /*long*/ sel_validateVisibleColumns = sel_registerName("validateVisibleColumns"); -public static final int /*long*/ sel_value = sel_registerName("value"); -public static final int /*long*/ sel_valueForKey_ = sel_registerName("valueForKey:"); -public static final int /*long*/ sel_valueWithPoint_ = sel_registerName("valueWithPoint:"); -public static final int /*long*/ sel_valueWithRange_ = sel_registerName("valueWithRange:"); -public static final int /*long*/ sel_valueWithRect_ = sel_registerName("valueWithRect:"); -public static final int /*long*/ sel_valueWithSize_ = sel_registerName("valueWithSize:"); -public static final int /*long*/ sel_view = sel_registerName("view"); -public static final int /*long*/ sel_view_stringForToolTip_point_userData_ = sel_registerName("view:stringForToolTip:point:userData:"); -public static final int /*long*/ sel_viewDidMoveToWindow = sel_registerName("viewDidMoveToWindow"); -public static final int /*long*/ sel_visibleFrame = sel_registerName("visibleFrame"); -public static final int /*long*/ sel_visibleRect = sel_registerName("visibleRect"); -public static final int /*long*/ sel_wantsPeriodicDraggingUpdates = sel_registerName("wantsPeriodicDraggingUpdates"); -public static final int /*long*/ sel_wantsToHandleMouseEvents = sel_registerName("wantsToHandleMouseEvents"); -public static final int /*long*/ sel_webFrame = sel_registerName("webFrame"); -public static final int /*long*/ sel_webScriptValueAtIndex_ = sel_registerName("webScriptValueAtIndex:"); -public static final int /*long*/ sel_webView_contextMenuItemsForElement_defaultMenuItems_ = sel_registerName("webView:contextMenuItemsForElement:defaultMenuItems:"); -public static final int /*long*/ sel_webView_createWebViewWithRequest_ = sel_registerName("webView:createWebViewWithRequest:"); -public static final int /*long*/ sel_webView_decidePolicyForMIMEType_request_frame_decisionListener_ = sel_registerName("webView:decidePolicyForMIMEType:request:frame:decisionListener:"); -public static final int /*long*/ sel_webView_decidePolicyForNavigationAction_request_frame_decisionListener_ = sel_registerName("webView:decidePolicyForNavigationAction:request:frame:decisionListener:"); -public static final int /*long*/ sel_webView_decidePolicyForNewWindowAction_request_newFrameName_decisionListener_ = sel_registerName("webView:decidePolicyForNewWindowAction:request:newFrameName:decisionListener:"); -public static final int /*long*/ sel_webView_didChangeLocationWithinPageForFrame_ = sel_registerName("webView:didChangeLocationWithinPageForFrame:"); -public static final int /*long*/ sel_webView_didCommitLoadForFrame_ = sel_registerName("webView:didCommitLoadForFrame:"); -public static final int /*long*/ sel_webView_didFailProvisionalLoadWithError_forFrame_ = sel_registerName("webView:didFailProvisionalLoadWithError:forFrame:"); -public static final int /*long*/ sel_webView_didFinishLoadForFrame_ = sel_registerName("webView:didFinishLoadForFrame:"); -public static final int /*long*/ sel_webView_didReceiveTitle_forFrame_ = sel_registerName("webView:didReceiveTitle:forFrame:"); -public static final int /*long*/ sel_webView_didStartProvisionalLoadForFrame_ = sel_registerName("webView:didStartProvisionalLoadForFrame:"); -public static final int /*long*/ sel_webView_identifierForInitialRequest_fromDataSource_ = sel_registerName("webView:identifierForInitialRequest:fromDataSource:"); -public static final int /*long*/ sel_webView_mouseDidMoveOverElement_modifierFlags_ = sel_registerName("webView:mouseDidMoveOverElement:modifierFlags:"); -public static final int /*long*/ sel_webView_printFrameView_ = sel_registerName("webView:printFrameView:"); -public static final int /*long*/ sel_webView_resource_didFailLoadingWithError_fromDataSource_ = sel_registerName("webView:resource:didFailLoadingWithError:fromDataSource:"); -public static final int /*long*/ sel_webView_resource_didFinishLoadingFromDataSource_ = sel_registerName("webView:resource:didFinishLoadingFromDataSource:"); -public static final int /*long*/ sel_webView_resource_didReceiveAuthenticationChallenge_fromDataSource_ = sel_registerName("webView:resource:didReceiveAuthenticationChallenge:fromDataSource:"); -public static final int /*long*/ sel_webView_resource_willSendRequest_redirectResponse_fromDataSource_ = sel_registerName("webView:resource:willSendRequest:redirectResponse:fromDataSource:"); -public static final int /*long*/ sel_webView_runJavaScriptAlertPanelWithMessage_ = sel_registerName("webView:runJavaScriptAlertPanelWithMessage:"); -public static final int /*long*/ sel_webView_runJavaScriptConfirmPanelWithMessage_ = sel_registerName("webView:runJavaScriptConfirmPanelWithMessage:"); -public static final int /*long*/ sel_webView_runOpenPanelForFileButtonWithResultListener_ = sel_registerName("webView:runOpenPanelForFileButtonWithResultListener:"); -public static final int /*long*/ sel_webView_setFrame_ = sel_registerName("webView:setFrame:"); -public static final int /*long*/ sel_webView_setResizable_ = sel_registerName("webView:setResizable:"); -public static final int /*long*/ sel_webView_setStatusBarVisible_ = sel_registerName("webView:setStatusBarVisible:"); -public static final int /*long*/ sel_webView_setStatusText_ = sel_registerName("webView:setStatusText:"); -public static final int /*long*/ sel_webView_setToolbarsVisible_ = sel_registerName("webView:setToolbarsVisible:"); -public static final int /*long*/ sel_webView_unableToImplementPolicyWithError_frame_ = sel_registerName("webView:unableToImplementPolicyWithError:frame:"); -public static final int /*long*/ sel_webView_windowScriptObjectAvailable_ = sel_registerName("webView:windowScriptObjectAvailable:"); -public static final int /*long*/ sel_webViewClose_ = sel_registerName("webViewClose:"); -public static final int /*long*/ sel_webViewFocus_ = sel_registerName("webViewFocus:"); -public static final int /*long*/ sel_webViewShow_ = sel_registerName("webViewShow:"); -public static final int /*long*/ sel_webViewUnfocus_ = sel_registerName("webViewUnfocus:"); -public static final int /*long*/ sel_weightOfFont_ = sel_registerName("weightOfFont:"); -public static final int /*long*/ sel_wheelDelta = sel_registerName("wheelDelta"); -public static final int /*long*/ sel_width = sel_registerName("width"); -public static final int /*long*/ sel_window = sel_registerName("window"); -public static final int /*long*/ sel_windowBackgroundColor = sel_registerName("windowBackgroundColor"); -public static final int /*long*/ sel_windowDidBecomeKey_ = sel_registerName("windowDidBecomeKey:"); -public static final int /*long*/ sel_windowDidMove_ = sel_registerName("windowDidMove:"); -public static final int /*long*/ sel_windowDidResignKey_ = sel_registerName("windowDidResignKey:"); -public static final int /*long*/ sel_windowDidResize_ = sel_registerName("windowDidResize:"); -public static final int /*long*/ sel_windowFrameColor = sel_registerName("windowFrameColor"); -public static final int /*long*/ sel_windowFrameTextColor = sel_registerName("windowFrameTextColor"); -public static final int /*long*/ sel_windowNumber = sel_registerName("windowNumber"); -public static final int /*long*/ sel_windowShouldClose_ = sel_registerName("windowShouldClose:"); -public static final int /*long*/ sel_windowWillClose_ = sel_registerName("windowWillClose:"); -public static final int /*long*/ sel_windows = sel_registerName("windows"); -public static final int /*long*/ sel_worksWhenModal = sel_registerName("worksWhenModal"); -public static final int /*long*/ sel_wraps = sel_registerName("wraps"); -public static final int /*long*/ sel_writeToPasteboard_ = sel_registerName("writeToPasteboard:"); -public static final int /*long*/ sel_yearOfCommonEra = sel_registerName("yearOfCommonEra"); -public static final int /*long*/ sel_zoom_ = sel_registerName("zoom:"); - -/** Constants */ -public static final int NSAlertFirstButtonReturn = 1000; -public static final int NSAlertSecondButtonReturn = 1001; -public static final int NSAlertThirdButtonReturn = 1002; -public static final int NSAlphaFirstBitmapFormat = 1; -public static final int NSAlphaNonpremultipliedBitmapFormat = 2; -public static final int NSAlternateKeyMask = 524288; -public static final int NSApplicationDefined = 15; -public static final int NSAtTop = 2; -public static final int NSBackingStoreBuffered = 2; -public static final int NSBackspaceCharacter = 8; -public static final int NSBevelLineJoinStyle = 2; -public static final int NSBezelBorder = 2; -public static final int NSBoldFontMask = 2; -public static final int NSBorderlessWindowMask = 0; -public static final int NSBottomTabsBezelBorder = 2; -public static final int NSBoxCustom = 4; -public static final int NSBoxSeparator = 2; -public static final int NSButtLineCapStyle = 0; -public static final int NSCancelButton = 0; -public static final int NSCarriageReturnCharacter = 13; -public static final int NSCenterTextAlignment = 2; -public static final int NSClockAndCalendarDatePickerStyle = 1; -public static final int NSClosableWindowMask = 2; -public static final int NSClosePathBezierPathElement = 3; -public static final int NSCommandKeyMask = 1048576; -public static final int NSCompositeClear = 0; -public static final int NSCompositeCopy = 1; -public static final int NSCompositeSourceOver = 2; -public static final int NSCompositeXOR = 10; -public static final int NSControlKeyMask = 262144; -public static final int NSCriticalAlertStyle = 2; -public static final int NSCurveToBezierPathElement = 2; -public static final int NSDeleteCharacter = 127; -public static final int NSDeviceIndependentModifierFlagsMask = -65536; -public static final int NSDragOperationCopy = 1; -public static final int NSDragOperationDelete = 32; -public static final int NSDragOperationEvery = -1; -public static final int NSDragOperationLink = 2; -public static final int NSDragOperationMove = 16; -public static final int NSDragOperationNone = 0; -public static final int NSEnterCharacter = 3; -public static final int NSEvenOddWindingRule = 1; -public static final int NSFileHandlingPanelOKButton = 1; -public static final int NSFlagsChanged = 12; -public static final int NSFocusRingTypeNone = 1; -public static final int NSHelpFunctionKey = 63302; -public static final int NSHelpKeyMask = 4194304; -public static final int NSHourMinuteDatePickerElementFlag = 12; -public static final int NSHourMinuteSecondDatePickerElementFlag = 14; -public static final int NSImageAbove = 5; -public static final int NSImageAlignCenter = 0; -public static final int NSImageAlignLeft = 4; -public static final int NSImageAlignRight = 8; -public static final int NSImageCacheNever = 3; -public static final int NSImageInterpolationDefault = 0; -public static final int NSImageInterpolationHigh = 3; -public static final int NSImageInterpolationLow = 2; -public static final int NSImageInterpolationNone = 1; -public static final int NSImageLeft = 2; -public static final int NSImageOnly = 1; -public static final int NSImageOverlaps = 6; -public static final int NSInformationalAlertStyle = 1; -public static final int NSItalicFontMask = 1; -public static final int NSJustifiedTextAlignment = 3; -public static final int NSKeyDown = 10; -public static final int NSKeyUp = 11; -public static final int NSLandscapeOrientation = 1; -public static final int NSLeftMouseDown = 1; -public static final int NSLeftMouseDownMask = 2; -public static final int NSLeftMouseDragged = 6; -public static final int NSLeftMouseDraggedMask = 64; -public static final int NSLeftMouseUp = 2; -public static final int NSLeftMouseUpMask = 4; -public static final int NSLeftTabStopType = 0; -public static final int NSLeftTextAlignment = 0; -public static final int NSLineBreakByClipping = 2; -public static final int NSLineBreakByWordWrapping = 0; -public static final int NSLineToBezierPathElement = 1; -public static final int NSMiniaturizableWindowMask = 4; -public static final int NSMiterLineJoinStyle = 0; -public static final int NSMixedState = -1; -public static final int NSMomentaryLightButton = 0; -public static final int NSMouseEntered = 8; -public static final int NSMouseExited = 9; -public static final int NSMouseMoved = 5; -public static final int NSMoveToBezierPathElement = 0; -public static final int NSNewlineCharacter = 10; -public static final int NSNoBorder = 0; -public static final int NSNoImage = 0; -public static final int NSNoTitle = 0; -public static final int NSNonZeroWindingRule = 0; -public static final int NSOffState = 0; -public static final int NSOnState = 1; -public static final int NSOpenGLPFAAccumSize = 14; -public static final int NSOpenGLPFAAlphaSize = 11; -public static final int NSOpenGLPFAColorSize = 8; -public static final int NSOpenGLPFADepthSize = 12; -public static final int NSOpenGLPFADoubleBuffer = 5; -public static final int NSOpenGLPFASampleBuffers = 55; -public static final int NSOpenGLPFASamples = 56; -public static final int NSOpenGLPFAStencilSize = 13; -public static final int NSOpenGLPFAStereo = 6; -public static final int NSOtherMouseDown = 25; -public static final int NSOtherMouseDragged = 27; -public static final int NSOtherMouseUp = 26; -public static final int NSOutlineViewDropOnItemIndex = -1; -public static final int NSPageDownFunctionKey = 63277; -public static final int NSPageUpFunctionKey = 63276; -public static final int NSPortraitOrientation = 0; -public static final int NSPrintPanelShowsPageSetupAccessory = 256; -public static final int NSProgressIndicatorPreferredThickness = 14; -public static final int NSPushOnPushOffButton = 1; -public static final int NSRadioButton = 4; -public static final int NSRegularControlSize = 0; -public static final int NSResizableWindowMask = 8; -public static final int NSRightMouseDown = 3; -public static final int NSRightMouseDragged = 7; -public static final int NSRightMouseUp = 4; -public static final int NSRightTextAlignment = 1; -public static final int NSRoundLineCapStyle = 1; -public static final int NSRoundLineJoinStyle = 1; -public static final int NSRoundedBezelStyle = 1; -public static final int NSScaleNone = 2; -public static final int NSScrollWheel = 22; -public static final int NSScrollerDecrementLine = 4; -public static final int NSScrollerDecrementPage = 1; -public static final int NSScrollerIncrementLine = 5; -public static final int NSScrollerIncrementPage = 3; -public static final int NSScrollerKnob = 2; -public static final int NSShadowlessSquareBezelStyle = 6; -public static final int NSShiftKeyMask = 131072; -public static final int NSSmallControlSize = 1; -public static final int NSSquareLineCapStyle = 2; -public static final int NSStatusWindowLevel = 25; -public static final int NSSwitchButton = 3; -public static final int NSSystemDefined = 14; -public static final int NSTabCharacter = 9; -public static final int NSTableColumnNoResizing = 0; -public static final int NSTableColumnUserResizingMask = 2; -public static final int NSTableViewDropAbove = 1; -public static final int NSTableViewDropOn = 0; -public static final int NSTableViewNoColumnAutoresizing = 0; -public static final int NSTextFieldAndStepperDatePickerStyle = 0; -public static final int NSTitledWindowMask = 1; -public static final int NSUnderlineStyleDouble = 9; -public static final int NSUnderlineStyleNone = 0; -public static final int NSUnderlineStyleSingle = 1; -public static final int NSUnderlineStyleThick = 2; -public static final int NSViewHeightSizable = 16; -public static final int NSViewWidthSizable = 2; -public static final int NSWarningAlertStyle = 0; -public static final int NSWindowAbove = 1; -public static final int NSWindowBelow = -1; -public static final int NSYearMonthDatePickerElementFlag = 192; -public static final int NSYearMonthDayDatePickerElementFlag = 224; -public static final int kCFRunLoopBeforeWaiting = 32; -public static final int kCFStringEncodingUTF8 = 134217984; -public static final int kCGBlendModeDifference = 10; -public static final int kCGEventFilterMaskPermitLocalKeyboardEvents = 2; -public static final int kCGEventFilterMaskPermitLocalMouseEvents = 1; -public static final int kCGEventFilterMaskPermitSystemDefinedEvents = 4; -public static final int kCGEventSuppressionStateRemoteMouseDrag = 1; -public static final int kCGEventSuppressionStateSuppressionInterval = 0; -public static final int kCGImageAlphaFirst = 4; -public static final int kCGImageAlphaNoneSkipFirst = 6; -public static final int kCGImageAlphaOnly = 7; -public static final int kCGKeyboardEventKeyboardType = 10; -public static final int kCGLineCapButt = 0; -public static final int kCGLineCapRound = 1; -public static final int kCGLineCapSquare = 2; -public static final int kCGLineJoinBevel = 2; -public static final int kCGLineJoinMiter = 0; -public static final int kCGLineJoinRound = 1; -public static final int kCGPathElementAddCurveToPoint = 3; -public static final int kCGPathElementAddLineToPoint = 1; -public static final int kCGPathElementAddQuadCurveToPoint = 2; -public static final int kCGPathElementCloseSubpath = 4; -public static final int kCGPathElementMoveToPoint = 0; -public static final int kCGPathStroke = 2; -public static final int kCGSessionEventTap = 1; -public static final int NSAllApplicationsDirectory = 100; -public static final int NSAllDomainsMask = 65535; -public static final int NSNotFound = 2147483647; -public static final int NSOrderedSame = 0; -public static final int NSURLCredentialPersistenceForSession = 1; -public static final int NSURLErrorBadURL = -1000; -public static final int NSURLRequestReloadIgnoringLocalCacheData = 1; -public static final int NSUTF8StringEncoding = 4; - -/** Globals */ -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityButtonRole(); -public static final NSString NSAccessibilityButtonRole = new NSString(NSAccessibilityButtonRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityCheckBoxRole(); -public static final NSString NSAccessibilityCheckBoxRole = new NSString(NSAccessibilityCheckBoxRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityChildrenAttribute(); -public static final NSString NSAccessibilityChildrenAttribute = new NSString(NSAccessibilityChildrenAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityColumnRole(); -public static final NSString NSAccessibilityColumnRole = new NSString(NSAccessibilityColumnRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityComboBoxRole(); -public static final NSString NSAccessibilityComboBoxRole = new NSString(NSAccessibilityComboBoxRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityConfirmAction(); -public static final NSString NSAccessibilityConfirmAction = new NSString(NSAccessibilityConfirmAction()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityContentsAttribute(); -public static final NSString NSAccessibilityContentsAttribute = new NSString(NSAccessibilityContentsAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityDescriptionAttribute(); -public static final NSString NSAccessibilityDescriptionAttribute = new NSString(NSAccessibilityDescriptionAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityDialogSubrole(); -public static final NSString NSAccessibilityDialogSubrole = new NSString(NSAccessibilityDialogSubrole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityEnabledAttribute(); -public static final NSString NSAccessibilityEnabledAttribute = new NSString(NSAccessibilityEnabledAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityExpandedAttribute(); -public static final NSString NSAccessibilityExpandedAttribute = new NSString(NSAccessibilityExpandedAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityFloatingWindowSubrole(); -public static final NSString NSAccessibilityFloatingWindowSubrole = new NSString(NSAccessibilityFloatingWindowSubrole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityFocusedAttribute(); -public static final NSString NSAccessibilityFocusedAttribute = new NSString(NSAccessibilityFocusedAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityFocusedUIElementChangedNotification(); -public static final NSString NSAccessibilityFocusedUIElementChangedNotification = new NSString(NSAccessibilityFocusedUIElementChangedNotification()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityGridRole(); -public static final NSString NSAccessibilityGridRole = new NSString(NSAccessibilityGridRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityGroupRole(); -public static final NSString NSAccessibilityGroupRole = new NSString(NSAccessibilityGroupRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityHelpAttribute(); -public static final NSString NSAccessibilityHelpAttribute = new NSString(NSAccessibilityHelpAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityHelpTagRole(); -public static final NSString NSAccessibilityHelpTagRole = new NSString(NSAccessibilityHelpTagRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityHorizontalOrientationValue(); -public static final NSString NSAccessibilityHorizontalOrientationValue = new NSString(NSAccessibilityHorizontalOrientationValue()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityHorizontalScrollBarAttribute(); -public static final NSString NSAccessibilityHorizontalScrollBarAttribute = new NSString(NSAccessibilityHorizontalScrollBarAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityImageRole(); -public static final NSString NSAccessibilityImageRole = new NSString(NSAccessibilityImageRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityIncrementorRole(); -public static final NSString NSAccessibilityIncrementorRole = new NSString(NSAccessibilityIncrementorRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityInsertionPointLineNumberAttribute(); -public static final NSString NSAccessibilityInsertionPointLineNumberAttribute = new NSString(NSAccessibilityInsertionPointLineNumberAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityLabelValueAttribute(); -public static final NSString NSAccessibilityLabelValueAttribute = new NSString(NSAccessibilityLabelValueAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityLineForIndexParameterizedAttribute(); -public static final NSString NSAccessibilityLineForIndexParameterizedAttribute = new NSString(NSAccessibilityLineForIndexParameterizedAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityLinkRole(); -public static final NSString NSAccessibilityLinkRole = new NSString(NSAccessibilityLinkRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityLinkTextAttribute(); -public static final NSString NSAccessibilityLinkTextAttribute = new NSString(NSAccessibilityLinkTextAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityListRole(); -public static final NSString NSAccessibilityListRole = new NSString(NSAccessibilityListRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityMaxValueAttribute(); -public static final NSString NSAccessibilityMaxValueAttribute = new NSString(NSAccessibilityMaxValueAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityMenuBarRole(); -public static final NSString NSAccessibilityMenuBarRole = new NSString(NSAccessibilityMenuBarRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityMenuButtonRole(); -public static final NSString NSAccessibilityMenuButtonRole = new NSString(NSAccessibilityMenuButtonRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityMenuItemRole(); -public static final NSString NSAccessibilityMenuItemRole = new NSString(NSAccessibilityMenuItemRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityMenuRole(); -public static final NSString NSAccessibilityMenuRole = new NSString(NSAccessibilityMenuRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityMinValueAttribute(); -public static final NSString NSAccessibilityMinValueAttribute = new NSString(NSAccessibilityMinValueAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityNextContentsAttribute(); -public static final NSString NSAccessibilityNextContentsAttribute = new NSString(NSAccessibilityNextContentsAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityNumberOfCharactersAttribute(); -public static final NSString NSAccessibilityNumberOfCharactersAttribute = new NSString(NSAccessibilityNumberOfCharactersAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityOrientationAttribute(); -public static final NSString NSAccessibilityOrientationAttribute = new NSString(NSAccessibilityOrientationAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityOutlineRole(); -public static final NSString NSAccessibilityOutlineRole = new NSString(NSAccessibilityOutlineRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityOutlineRowSubrole(); -public static final NSString NSAccessibilityOutlineRowSubrole = new NSString(NSAccessibilityOutlineRowSubrole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityParentAttribute(); -public static final NSString NSAccessibilityParentAttribute = new NSString(NSAccessibilityParentAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityPopUpButtonRole(); -public static final NSString NSAccessibilityPopUpButtonRole = new NSString(NSAccessibilityPopUpButtonRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityPositionAttribute(); -public static final NSString NSAccessibilityPositionAttribute = new NSString(NSAccessibilityPositionAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityPressAction(); -public static final NSString NSAccessibilityPressAction = new NSString(NSAccessibilityPressAction()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityPreviousContentsAttribute(); -public static final NSString NSAccessibilityPreviousContentsAttribute = new NSString(NSAccessibilityPreviousContentsAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityProgressIndicatorRole(); -public static final NSString NSAccessibilityProgressIndicatorRole = new NSString(NSAccessibilityProgressIndicatorRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityRTFForRangeParameterizedAttribute(); -public static final NSString NSAccessibilityRTFForRangeParameterizedAttribute = new NSString(NSAccessibilityRTFForRangeParameterizedAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityRadioButtonRole(); -public static final NSString NSAccessibilityRadioButtonRole = new NSString(NSAccessibilityRadioButtonRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityRadioGroupRole(); -public static final NSString NSAccessibilityRadioGroupRole = new NSString(NSAccessibilityRadioGroupRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityRangeForIndexParameterizedAttribute(); -public static final NSString NSAccessibilityRangeForIndexParameterizedAttribute = new NSString(NSAccessibilityRangeForIndexParameterizedAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityRangeForLineParameterizedAttribute(); -public static final NSString NSAccessibilityRangeForLineParameterizedAttribute = new NSString(NSAccessibilityRangeForLineParameterizedAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityRangeForPositionParameterizedAttribute(); -public static final NSString NSAccessibilityRangeForPositionParameterizedAttribute = new NSString(NSAccessibilityRangeForPositionParameterizedAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityRoleAttribute(); -public static final NSString NSAccessibilityRoleAttribute = new NSString(NSAccessibilityRoleAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityRoleDescriptionAttribute(); -public static final NSString NSAccessibilityRoleDescriptionAttribute = new NSString(NSAccessibilityRoleDescriptionAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityRowRole(); -public static final NSString NSAccessibilityRowRole = new NSString(NSAccessibilityRowRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityScrollAreaRole(); -public static final NSString NSAccessibilityScrollAreaRole = new NSString(NSAccessibilityScrollAreaRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityScrollBarRole(); -public static final NSString NSAccessibilityScrollBarRole = new NSString(NSAccessibilityScrollBarRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySelectedAttribute(); -public static final NSString NSAccessibilitySelectedAttribute = new NSString(NSAccessibilitySelectedAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySelectedChildrenAttribute(); -public static final NSString NSAccessibilitySelectedChildrenAttribute = new NSString(NSAccessibilitySelectedChildrenAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySelectedChildrenChangedNotification(); -public static final NSString NSAccessibilitySelectedChildrenChangedNotification = new NSString(NSAccessibilitySelectedChildrenChangedNotification()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySelectedTextAttribute(); -public static final NSString NSAccessibilitySelectedTextAttribute = new NSString(NSAccessibilitySelectedTextAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySelectedTextChangedNotification(); -public static final NSString NSAccessibilitySelectedTextChangedNotification = new NSString(NSAccessibilitySelectedTextChangedNotification()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySelectedTextRangeAttribute(); -public static final NSString NSAccessibilitySelectedTextRangeAttribute = new NSString(NSAccessibilitySelectedTextRangeAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySelectedTextRangesAttribute(); -public static final NSString NSAccessibilitySelectedTextRangesAttribute = new NSString(NSAccessibilitySelectedTextRangesAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityServesAsTitleForUIElementsAttribute(); -public static final NSString NSAccessibilityServesAsTitleForUIElementsAttribute = new NSString(NSAccessibilityServesAsTitleForUIElementsAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySizeAttribute(); -public static final NSString NSAccessibilitySizeAttribute = new NSString(NSAccessibilitySizeAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySliderRole(); -public static final NSString NSAccessibilitySliderRole = new NSString(NSAccessibilitySliderRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySortButtonRole(); -public static final NSString NSAccessibilitySortButtonRole = new NSString(NSAccessibilitySortButtonRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySplitterRole(); -public static final NSString NSAccessibilitySplitterRole = new NSString(NSAccessibilitySplitterRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityStandardWindowSubrole(); -public static final NSString NSAccessibilityStandardWindowSubrole = new NSString(NSAccessibilityStandardWindowSubrole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityStaticTextRole(); -public static final NSString NSAccessibilityStaticTextRole = new NSString(NSAccessibilityStaticTextRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityStringForRangeParameterizedAttribute(); -public static final NSString NSAccessibilityStringForRangeParameterizedAttribute = new NSString(NSAccessibilityStringForRangeParameterizedAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityStyleRangeForIndexParameterizedAttribute(); -public static final NSString NSAccessibilityStyleRangeForIndexParameterizedAttribute = new NSString(NSAccessibilityStyleRangeForIndexParameterizedAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySubroleAttribute(); -public static final NSString NSAccessibilitySubroleAttribute = new NSString(NSAccessibilitySubroleAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilitySystemDialogSubrole(); -public static final NSString NSAccessibilitySystemDialogSubrole = new NSString(NSAccessibilitySystemDialogSubrole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityTabGroupRole(); -public static final NSString NSAccessibilityTabGroupRole = new NSString(NSAccessibilityTabGroupRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityTableRole(); -public static final NSString NSAccessibilityTableRole = new NSString(NSAccessibilityTableRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityTableRowSubrole(); -public static final NSString NSAccessibilityTableRowSubrole = new NSString(NSAccessibilityTableRowSubrole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityTabsAttribute(); -public static final NSString NSAccessibilityTabsAttribute = new NSString(NSAccessibilityTabsAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityTextAreaRole(); -public static final NSString NSAccessibilityTextAreaRole = new NSString(NSAccessibilityTextAreaRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityTextFieldRole(); -public static final NSString NSAccessibilityTextFieldRole = new NSString(NSAccessibilityTextFieldRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityTextLinkSubrole(); -public static final NSString NSAccessibilityTextLinkSubrole = new NSString(NSAccessibilityTextLinkSubrole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityTitleAttribute(); -public static final NSString NSAccessibilityTitleAttribute = new NSString(NSAccessibilityTitleAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityTitleUIElementAttribute(); -public static final NSString NSAccessibilityTitleUIElementAttribute = new NSString(NSAccessibilityTitleUIElementAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityToolbarRole(); -public static final NSString NSAccessibilityToolbarRole = new NSString(NSAccessibilityToolbarRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityTopLevelUIElementAttribute(); -public static final NSString NSAccessibilityTopLevelUIElementAttribute = new NSString(NSAccessibilityTopLevelUIElementAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityUnknownRole(); -public static final NSString NSAccessibilityUnknownRole = new NSString(NSAccessibilityUnknownRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityUnknownSubrole(); -public static final NSString NSAccessibilityUnknownSubrole = new NSString(NSAccessibilityUnknownSubrole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityValueAttribute(); -public static final NSString NSAccessibilityValueAttribute = new NSString(NSAccessibilityValueAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityValueChangedNotification(); -public static final NSString NSAccessibilityValueChangedNotification = new NSString(NSAccessibilityValueChangedNotification()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityValueDescriptionAttribute(); -public static final NSString NSAccessibilityValueDescriptionAttribute = new NSString(NSAccessibilityValueDescriptionAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityValueIndicatorRole(); -public static final NSString NSAccessibilityValueIndicatorRole = new NSString(NSAccessibilityValueIndicatorRole()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityVerticalOrientationValue(); -public static final NSString NSAccessibilityVerticalOrientationValue = new NSString(NSAccessibilityVerticalOrientationValue()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityVerticalScrollBarAttribute(); -public static final NSString NSAccessibilityVerticalScrollBarAttribute = new NSString(NSAccessibilityVerticalScrollBarAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityVisibleCharacterRangeAttribute(); -public static final NSString NSAccessibilityVisibleCharacterRangeAttribute = new NSString(NSAccessibilityVisibleCharacterRangeAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityVisibleChildrenAttribute(); -public static final NSString NSAccessibilityVisibleChildrenAttribute = new NSString(NSAccessibilityVisibleChildrenAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityWindowAttribute(); -public static final NSString NSAccessibilityWindowAttribute = new NSString(NSAccessibilityWindowAttribute()); -/** @method flags=const */ -public static final native int /*long*/ NSAccessibilityWindowRole(); -public static final NSString NSAccessibilityWindowRole = new NSString(NSAccessibilityWindowRole()); -/** @method flags=const */ -public static final native int /*long*/ NSApplicationDidChangeScreenParametersNotification(); -public static final NSString NSApplicationDidChangeScreenParametersNotification = new NSString(NSApplicationDidChangeScreenParametersNotification()); -/** @method flags=const */ -public static final native int /*long*/ NSBackgroundColorAttributeName(); -public static final NSString NSBackgroundColorAttributeName = new NSString(NSBackgroundColorAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSBaselineOffsetAttributeName(); -public static final NSString NSBaselineOffsetAttributeName = new NSString(NSBaselineOffsetAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSCalibratedRGBColorSpace(); -public static final NSString NSCalibratedRGBColorSpace = new NSString(NSCalibratedRGBColorSpace()); -/** @method flags=const */ -public static final native int /*long*/ NSDeviceRGBColorSpace(); -public static final NSString NSDeviceRGBColorSpace = new NSString(NSDeviceRGBColorSpace()); -/** @method flags=const */ -public static final native int /*long*/ NSDeviceResolution(); -public static final NSString NSDeviceResolution = new NSString(NSDeviceResolution()); -/** @method flags=const */ -public static final native int /*long*/ NSDragPboard(); -public static final NSString NSDragPboard = new NSString(NSDragPboard()); -/** @method flags=const */ -public static final native int /*long*/ NSEventTrackingRunLoopMode(); -public static final NSString NSEventTrackingRunLoopMode = new NSString(NSEventTrackingRunLoopMode()); -/** @method flags=const */ -public static final native int /*long*/ NSFilenamesPboardType(); -public static final NSString NSFilenamesPboardType = new NSString(NSFilenamesPboardType()); -/** @method flags=const */ -public static final native int /*long*/ NSFontAttributeName(); -public static final NSString NSFontAttributeName = new NSString(NSFontAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSForegroundColorAttributeName(); -public static final NSString NSForegroundColorAttributeName = new NSString(NSForegroundColorAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSHTMLPboardType(); -public static final NSString NSHTMLPboardType = new NSString(NSHTMLPboardType()); -/** @method flags=const */ -public static final native int /*long*/ NSLinkAttributeName(); -public static final NSString NSLinkAttributeName = new NSString(NSLinkAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSObliquenessAttributeName(); -public static final NSString NSObliquenessAttributeName = new NSString(NSObliquenessAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSParagraphStyleAttributeName(); -public static final NSString NSParagraphStyleAttributeName = new NSString(NSParagraphStyleAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSPrintAllPages(); -public static final NSString NSPrintAllPages = new NSString(NSPrintAllPages()); -/** @method flags=const */ -public static final native int /*long*/ NSPrintCopies(); -public static final NSString NSPrintCopies = new NSString(NSPrintCopies()); -/** @method flags=const */ -public static final native int /*long*/ NSPrintFirstPage(); -public static final NSString NSPrintFirstPage = new NSString(NSPrintFirstPage()); -/** @method flags=const */ -public static final native int /*long*/ NSPrintJobDisposition(); -public static final NSString NSPrintJobDisposition = new NSString(NSPrintJobDisposition()); -/** @method flags=const */ -public static final native int /*long*/ NSPrintLastPage(); -public static final NSString NSPrintLastPage = new NSString(NSPrintLastPage()); -/** @method flags=const */ -public static final native int /*long*/ NSPrintMustCollate(); -public static final NSString NSPrintMustCollate = new NSString(NSPrintMustCollate()); -/** @method flags=const */ -public static final native int /*long*/ NSPrintPreviewJob(); -public static final NSString NSPrintPreviewJob = new NSString(NSPrintPreviewJob()); -/** @method flags=const */ -public static final native int /*long*/ NSPrintSaveJob(); -public static final NSString NSPrintSaveJob = new NSString(NSPrintSaveJob()); -/** @method flags=const */ -public static final native int /*long*/ NSPrintSavePath(); -public static final NSString NSPrintSavePath = new NSString(NSPrintSavePath()); -/** @method flags=const */ -public static final native int /*long*/ NSPrintScalingFactor(); -public static final NSString NSPrintScalingFactor = new NSString(NSPrintScalingFactor()); -/** @method flags=const */ -public static final native int /*long*/ NSPrintSpoolJob(); -public static final NSString NSPrintSpoolJob = new NSString(NSPrintSpoolJob()); -/** @method flags=const */ -public static final native int /*long*/ NSRTFPboardType(); -public static final NSString NSRTFPboardType = new NSString(NSRTFPboardType()); -/** @method flags=const */ -public static final native int /*long*/ NSStrikethroughColorAttributeName(); -public static final NSString NSStrikethroughColorAttributeName = new NSString(NSStrikethroughColorAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSStrikethroughStyleAttributeName(); -public static final NSString NSStrikethroughStyleAttributeName = new NSString(NSStrikethroughStyleAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSStringPboardType(); -public static final NSString NSStringPboardType = new NSString(NSStringPboardType()); -/** @method flags=const */ -public static final native int /*long*/ NSStrokeWidthAttributeName(); -public static final NSString NSStrokeWidthAttributeName = new NSString(NSStrokeWidthAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSSystemColorsDidChangeNotification(); -public static final NSString NSSystemColorsDidChangeNotification = new NSString(NSSystemColorsDidChangeNotification()); -/** @method flags=const */ -public static final native int /*long*/ NSTIFFPboardType(); -public static final NSString NSTIFFPboardType = new NSString(NSTIFFPboardType()); -/** @method flags=const */ -public static final native int /*long*/ NSToolbarCustomizeToolbarItemIdentifier(); -public static final NSString NSToolbarCustomizeToolbarItemIdentifier = new NSString(NSToolbarCustomizeToolbarItemIdentifier()); -/** @method flags=const */ -public static final native int /*long*/ NSToolbarDidRemoveItemNotification(); -public static final NSString NSToolbarDidRemoveItemNotification = new NSString(NSToolbarDidRemoveItemNotification()); -/** @method flags=const */ -public static final native int /*long*/ NSToolbarFlexibleSpaceItemIdentifier(); -public static final NSString NSToolbarFlexibleSpaceItemIdentifier = new NSString(NSToolbarFlexibleSpaceItemIdentifier()); -/** @method flags=const */ -public static final native int /*long*/ NSToolbarPrintItemIdentifier(); -public static final NSString NSToolbarPrintItemIdentifier = new NSString(NSToolbarPrintItemIdentifier()); -/** @method flags=const */ -public static final native int /*long*/ NSToolbarSeparatorItemIdentifier(); -public static final NSString NSToolbarSeparatorItemIdentifier = new NSString(NSToolbarSeparatorItemIdentifier()); -/** @method flags=const */ -public static final native int /*long*/ NSToolbarShowColorsItemIdentifier(); -public static final NSString NSToolbarShowColorsItemIdentifier = new NSString(NSToolbarShowColorsItemIdentifier()); -/** @method flags=const */ -public static final native int /*long*/ NSToolbarShowFontsItemIdentifier(); -public static final NSString NSToolbarShowFontsItemIdentifier = new NSString(NSToolbarShowFontsItemIdentifier()); -/** @method flags=const */ -public static final native int /*long*/ NSToolbarSpaceItemIdentifier(); -public static final NSString NSToolbarSpaceItemIdentifier = new NSString(NSToolbarSpaceItemIdentifier()); -/** @method flags=const */ -public static final native int /*long*/ NSToolbarWillAddItemNotification(); -public static final NSString NSToolbarWillAddItemNotification = new NSString(NSToolbarWillAddItemNotification()); -/** @method flags=const */ -public static final native int /*long*/ NSURLPboardType(); -public static final NSString NSURLPboardType = new NSString(NSURLPboardType()); -/** @method flags=const */ -public static final native int /*long*/ NSUnderlineColorAttributeName(); -public static final NSString NSUnderlineColorAttributeName = new NSString(NSUnderlineColorAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSUnderlineStyleAttributeName(); -public static final NSString NSUnderlineStyleAttributeName = new NSString(NSUnderlineStyleAttributeName()); -/** @method flags=const */ -public static final native int /*long*/ NSViewGlobalFrameDidChangeNotification(); -public static final NSString NSViewGlobalFrameDidChangeNotification = new NSString(NSViewGlobalFrameDidChangeNotification()); -/** @method flags=const */ -public static final native int /*long*/ kCFRunLoopCommonModes(); -/** @method flags=const */ -public static final native int /*long*/ NSDefaultRunLoopMode(); -public static final NSString NSDefaultRunLoopMode = new NSString(NSDefaultRunLoopMode()); -/** @method flags=const */ -public static final native int /*long*/ NSErrorFailingURLStringKey(); -public static final NSString NSErrorFailingURLStringKey = new NSString(NSErrorFailingURLStringKey()); - -/** Functions */ - -/** - * @param action cast=(NSString*) - */ -public static final native int /*long*/ NSAccessibilityActionDescription(int /*long*/ action); -/** - * @param element cast=(id) - * @param notification cast=(NSString*) - */ -public static final native void NSAccessibilityPostNotification(int /*long*/ element, int /*long*/ notification); -/** - * @param element cast=(id) - * @param attribute cast=(NSString*) - * @param value cast=(id) - */ -public static final native void NSAccessibilityRaiseBadArgumentException(int /*long*/ element, int /*long*/ attribute, int /*long*/ value); -/** - * @param role cast=(NSString*) - * @param subrole cast=(NSString*) - */ -public static final native int /*long*/ NSAccessibilityRoleDescription(int /*long*/ role, int /*long*/ subrole); -/** - * @param element cast=(id) - */ -public static final native int /*long*/ NSAccessibilityRoleDescriptionForUIElement(int /*long*/ element); -/** - * @param element cast=(id) - */ -public static final native int /*long*/ NSAccessibilityUnignoredAncestor(int /*long*/ element); -/** - * @param originalChildren cast=(NSArray*) - */ -public static final native int /*long*/ NSAccessibilityUnignoredChildren(int /*long*/ originalChildren); -/** - * @param originalChild cast=(id) - */ -public static final native int /*long*/ NSAccessibilityUnignoredChildrenForOnlyChild(int /*long*/ originalChild); -/** - * @param element cast=(id) - */ -public static final native int /*long*/ NSAccessibilityUnignoredDescendant(int /*long*/ element); -public static final native void NSBeep(); -/** - * @param depth cast=(NSWindowDepth) - */ -public static final native int /*long*/ NSBitsPerPixelFromDepth(int depth); -/** - * @param srcGState cast=(NSInteger) - * @param srcRect flags=struct - * @param destPoint flags=struct - */ -public static final native void NSCopyBits(int /*long*/ srcGState, NSRect srcRect, NSPoint destPoint); -/** - * @param colorSpaceName cast=(NSString*) - */ -public static final native int /*long*/ NSNumberOfColorComponents(int /*long*/ colorSpaceName); -/** - * @param theData cast=(CFDataRef) - */ -public static final native int /*long*/ CFDataGetBytePtr(int /*long*/ theData); -/** - * @param theData cast=(CFDataRef) - */ -public static final native int /*long*/ CFDataGetLength(int /*long*/ theData); -/** - * @param cf cast=(CFTypeRef) - */ -public static final native void CFRelease(int /*long*/ cf); -/** - * @param rl cast=(CFRunLoopRef) - * @param observer cast=(CFRunLoopObserverRef) - * @param mode cast=(CFStringRef) - */ -public static final native void CFRunLoopAddObserver(int /*long*/ rl, int /*long*/ observer, int /*long*/ mode); -public static final native int /*long*/ CFRunLoopGetCurrent(); -/** - * @param allocator cast=(CFAllocatorRef) - * @param activities cast=(CFOptionFlags) - * @param repeats cast=(Boolean) - * @param order cast=(CFIndex) - * @param callout cast=(CFRunLoopObserverCallBack) - * @param context cast=(CFRunLoopObserverContext*) - */ -public static final native int /*long*/ CFRunLoopObserverCreate(int /*long*/ allocator, int /*long*/ activities, boolean repeats, int /*long*/ order, int /*long*/ callout, int /*long*/ context); -/** - * @param observer cast=(CFRunLoopObserverRef) - */ -public static final native void CFRunLoopObserverInvalidate(int /*long*/ observer); -/** - * @param allocator cast=(CFAllocatorRef) - * @param originalString cast=(CFStringRef) - * @param charactersToLeaveUnescaped cast=(CFStringRef) - * @param legalURLCharactersToBeEscaped cast=(CFStringRef) - * @param encoding cast=(CFStringEncoding) - */ -public static final native int /*long*/ CFURLCreateStringByAddingPercentEscapes(int /*long*/ allocator, int /*long*/ originalString, int /*long*/ charactersToLeaveUnescaped, int /*long*/ legalURLCharactersToBeEscaped, int encoding); -/** - * @param data cast=(void*) - * @param width cast=(size_t) - * @param height cast=(size_t) - * @param bitsPerComponent cast=(size_t) - * @param bytesPerRow cast=(size_t) - * @param colorspace cast=(CGColorSpaceRef) - * @param bitmapInfo cast=(CGBitmapInfo) - */ -public static final native int /*long*/ CGBitmapContextCreate(int /*long*/ data, int /*long*/ width, int /*long*/ height, int /*long*/ bitsPerComponent, int /*long*/ bytesPerRow, int /*long*/ colorspace, int bitmapInfo); -/** - * @param c cast=(CGContextRef) - */ -public static final native int /*long*/ CGBitmapContextCreateImage(int /*long*/ c); -/** - * @param c cast=(CGContextRef) - */ -public static final native int /*long*/ CGBitmapContextGetData(int /*long*/ c); -public static final native int /*long*/ CGColorSpaceCreateDeviceRGB(); -/** - * @param space cast=(CGColorSpaceRef) - */ -public static final native void CGColorSpaceRelease(int /*long*/ space); -/** - * @param context cast=(CGContextRef) - * @param path cast=(CGPathRef) - */ -public static final native void CGContextAddPath(int /*long*/ context, int /*long*/ path); -/** - * @param c cast=(CGContextRef) - * @param rect flags=struct - * @param image cast=(CGImageRef) - */ -public static final native void CGContextDrawImage(int /*long*/ c, CGRect rect, int /*long*/ image); -/** - * @param c cast=(CGContextRef) - */ -public static final native void CGContextRelease(int /*long*/ c); -/** - * @param c cast=(CGContextRef) - */ -public static final native void CGContextReplacePathWithStrokedPath(int /*long*/ c); -/** - * @param c cast=(CGContextRef) - */ -public static final native void CGContextRestoreGState(int /*long*/ c); -/** - * @param c cast=(CGContextRef) - */ -public static final native void CGContextSaveGState(int /*long*/ c); -/** - * @param c cast=(CGContextRef) - * @param sx cast=(CGFloat) - * @param sy cast=(CGFloat) - */ -public static final native void CGContextScaleCTM(int /*long*/ c, float /*double*/ sx, float /*double*/ sy); -/** - * @param context cast=(CGContextRef) - * @param mode cast=(CGBlendMode) - */ -public static final native void CGContextSetBlendMode(int /*long*/ context, int mode); -/** - * @param c cast=(CGContextRef) - * @param cap cast=(CGLineCap) - */ -public static final native void CGContextSetLineCap(int /*long*/ c, int cap); -/** - * @param c cast=(CGContextRef) - * @param phase cast=(CGFloat) - * @param lengths cast=(CGFloat*) - * @param count cast=(size_t) - */ -public static final native void CGContextSetLineDash(int /*long*/ c, float /*double*/ phase, float[] lengths, int /*long*/ count); -/** - * @param c cast=(CGContextRef) - * @param join cast=(CGLineJoin) - */ -public static final native void CGContextSetLineJoin(int /*long*/ c, int join); -/** - * @param c cast=(CGContextRef) - * @param width cast=(CGFloat) - */ -public static final native void CGContextSetLineWidth(int /*long*/ c, float /*double*/ width); -/** - * @param c cast=(CGContextRef) - * @param limit cast=(CGFloat) - */ -public static final native void CGContextSetMiterLimit(int /*long*/ c, float /*double*/ limit); -/** - * @param c cast=(CGContextRef) - */ -public static final native void CGContextStrokePath(int /*long*/ c); -/** - * @param c cast=(CGContextRef) - * @param tx cast=(CGFloat) - * @param ty cast=(CGFloat) - */ -public static final native void CGContextTranslateCTM(int /*long*/ c, float /*double*/ tx, float /*double*/ ty); -/** - * @param info cast=(void*) - * @param data cast=(void*) - * @param size cast=(size_t) - * @param releaseData cast=(CGDataProviderReleaseDataCallback) - */ -public static final native int /*long*/ CGDataProviderCreateWithData(int /*long*/ info, int /*long*/ data, int /*long*/ size, int /*long*/ releaseData); -/** - * @param provider cast=(CGDataProviderRef) - */ -public static final native void CGDataProviderRelease(int /*long*/ provider); -/** - * @param display cast=(CGDirectDisplayID) - */ -public static final native int /*long*/ CGDisplayBaseAddress(int display); -/** - * @param display cast=(CGDirectDisplayID) - */ -public static final native int /*long*/ CGDisplayBitsPerPixel(int display); -/** - * @param display cast=(CGDirectDisplayID) - */ -public static final native int /*long*/ CGDisplayBitsPerSample(int display); -/** - * @param display cast=(CGDirectDisplayID) - */ -public static final native int /*long*/ CGDisplayBytesPerRow(int display); -/** - * @param display cast=(CGDirectDisplayID) - */ -public static final native int /*long*/ CGDisplayPixelsHigh(int display); -/** - * @param display cast=(CGDirectDisplayID) - */ -public static final native int /*long*/ CGDisplayPixelsWide(int display); -/** - * @param doCombineState cast=(boolean_t) - */ -public static final native int CGEnableEventStateCombining(int doCombineState); -/** - * @param source cast=(CGEventSourceRef) - * @param virtualKey cast=(CGKeyCode) - * @param keyDown cast=(_Bool) - */ -public static final native int /*long*/ CGEventCreateKeyboardEvent(int /*long*/ source, short virtualKey, boolean keyDown); -/** - * @param event cast=(CGEventRef) - * @param field cast=(CGEventField) - */ -public static final native long CGEventGetIntegerValueField(int /*long*/ event, int field); -/** - * @param event cast=(CGEventRef) - * @param stringLength cast=(UniCharCount) - * @param unicodeString cast=(UniChar*) - */ -public static final native void CGEventKeyboardSetUnicodeString(int /*long*/ event, int /*long*/ stringLength, char[] unicodeString); -/** - * @param tap cast=(CGEventTapLocation) - * @param event cast=(CGEventRef) - */ -public static final native void CGEventPost(int tap, int /*long*/ event); -/** - * @param rect flags=struct - * @param maxDisplays cast=(CGDisplayCount) - * @param dspys cast=(CGDirectDisplayID*) - * @param dspyCnt cast=(CGDisplayCount*) - */ -public static final native int CGGetDisplaysWithRect(CGRect rect, int maxDisplays, int /*long*/ dspys, int /*long*/ dspyCnt); -/** - * @param width cast=(size_t) - * @param height cast=(size_t) - * @param bitsPerComponent cast=(size_t) - * @param bitsPerPixel cast=(size_t) - * @param bytesPerRow cast=(size_t) - * @param colorspace cast=(CGColorSpaceRef) - * @param bitmapInfo cast=(CGBitmapInfo) - * @param provider cast=(CGDataProviderRef) - * @param decode cast=(CGFloat*) - * @param shouldInterpolate cast=(_Bool) - * @param intent cast=(CGColorRenderingIntent) - */ -public static final native int /*long*/ CGImageCreate(int /*long*/ width, int /*long*/ height, int /*long*/ bitsPerComponent, int /*long*/ bitsPerPixel, int /*long*/ bytesPerRow, int /*long*/ colorspace, int bitmapInfo, int /*long*/ provider, int /*long*/ decode, boolean shouldInterpolate, int intent); -/** - * @param image cast=(CGImageRef) - */ -public static final native int /*long*/ CGImageGetHeight(int /*long*/ image); -/** - * @param image cast=(CGImageRef) - */ -public static final native int /*long*/ CGImageGetWidth(int /*long*/ image); -/** - * @param image cast=(CGImageRef) - */ -public static final native void CGImageRelease(int /*long*/ image); -/** - * @param path cast=(CGMutablePathRef) - * @param m cast=(CGAffineTransform*) - * @param cp1x cast=(CGFloat) - * @param cp1y cast=(CGFloat) - * @param cp2x cast=(CGFloat) - * @param cp2y cast=(CGFloat) - * @param x cast=(CGFloat) - * @param y cast=(CGFloat) - */ -public static final native void CGPathAddCurveToPoint(int /*long*/ path, int /*long*/ m, float /*double*/ cp1x, float /*double*/ cp1y, float /*double*/ cp2x, float /*double*/ cp2y, float /*double*/ x, float /*double*/ y); -/** - * @param path cast=(CGMutablePathRef) - * @param m cast=(CGAffineTransform*) - * @param x cast=(CGFloat) - * @param y cast=(CGFloat) - */ -public static final native void CGPathAddLineToPoint(int /*long*/ path, int /*long*/ m, float /*double*/ x, float /*double*/ y); -/** - * @param path cast=(CGPathRef) - * @param info cast=(void*) - * @param function cast=(CGPathApplierFunction) - */ -public static final native void CGPathApply(int /*long*/ path, int /*long*/ info, int /*long*/ function); -/** - * @param path cast=(CGMutablePathRef) - */ -public static final native void CGPathCloseSubpath(int /*long*/ path); -/** - * @param path cast=(CGPathRef) - */ -public static final native int /*long*/ CGPathCreateCopy(int /*long*/ path); -public static final native int /*long*/ CGPathCreateMutable(); -/** - * @param path cast=(CGMutablePathRef) - * @param m cast=(CGAffineTransform*) - * @param x cast=(CGFloat) - * @param y cast=(CGFloat) - */ -public static final native void CGPathMoveToPoint(int /*long*/ path, int /*long*/ m, float /*double*/ x, float /*double*/ y); -/** - * @param path cast=(CGPathRef) - */ -public static final native void CGPathRelease(int /*long*/ path); -/** - * @param keyChar cast=(CGCharCode) - * @param virtualKey cast=(CGKeyCode) - * @param keyDown cast=(boolean_t) - */ -public static final native int CGPostKeyboardEvent(short keyChar, short virtualKey, boolean keyDown); -/** - * @param mouseCursorPosition flags=struct - * @param updateMouseCursorPosition cast=(boolean_t) - * @param buttonCount cast=(CGButtonCount) - * @param mouseButtonDown cast=(boolean_t) - */ -public static final native int CGPostMouseEvent(CGPoint mouseCursorPosition, boolean updateMouseCursorPosition, int buttonCount, boolean mouseButtonDown, boolean varArg0, boolean varArg1, boolean varArg2, boolean varArg3); -/** - * @param wheelCount cast=(CGWheelCount) - * @param wheel1 cast=(int32_t) - */ -public static final native int CGPostScrollWheelEvent(int wheelCount, int wheel1); -/** - * @param filter cast=(CGEventFilterMask) - * @param state cast=(CGEventSuppressionState) - */ -public static final native int CGSetLocalEventsFilterDuringSuppressionState(int filter, int state); -/** - * @param seconds cast=(CFTimeInterval) - */ -public static final native int CGSetLocalEventsSuppressionInterval(double seconds); -/** - * @param newCursorPosition flags=struct - */ -public static final native int CGWarpMouseCursorPosition(CGPoint newCursorPosition); -/** - * @param aRect flags=struct - * @param bRect flags=struct - */ -public static final native boolean NSEqualRects(NSRect aRect, NSRect bRect); -/** - * @param hfsFileTypeCode cast=(OSType) - */ -public static final native int /*long*/ NSFileTypeForHFSTypeCode(int hfsFileTypeCode); -/** - * @param typePtr cast=(char*) - * @param sizep cast=(NSUInteger*) - * @param alignp cast=(NSUInteger*) - */ -public static final native int /*long*/ NSGetSizeAndAlignment(int /*long*/ typePtr, int[] /*long[]*/ sizep, int[] /*long[]*/ alignp); -/** - * @param aPoint flags=struct - * @param aRect flags=struct - */ -public static final native boolean NSPointInRect(NSPoint aPoint, NSRect aRect); -/** - * @param directory cast=(NSSearchPathDirectory) - * @param domainMask cast=(NSSearchPathDomainMask) - * @param expandTilde cast=(BOOL) - */ -public static final native int /*long*/ NSSearchPathForDirectoriesInDomains(int /*long*/ directory, int /*long*/ domainMask, boolean expandTilde); -public static final native int /*long*/ NSTemporaryDirectory(); - -/** Super Sends */ - -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native boolean objc_msgSendSuper_bool(objc_super superId, int /*long*/ sel, NSRange arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, NSPoint arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, NSRect arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, NSRect arg0, int /*long*/ arg1); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, NSSize arg0); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, boolean arg0); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0); -/** - * @method flags=cast - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1, int /*long*/ arg2); -/** - * @method flags=cast - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, NSRect arg1, int /*long*/ arg2); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, boolean arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, boolean arg3); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSendSuper(objc_super superId, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSendSuper_stret(NSRect result, objc_super superId, int /*long*/ sel, NSRect arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSendSuper_stret(NSRect result, objc_super superId, int /*long*/ sel, NSRect arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native void objc_msgSendSuper_stret(NSSize result, objc_super superId, int /*long*/ sel); - -/** Sends */ - -/** @method flags=cast */ -public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, NSPoint arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, NSRange arg0, int /*long*/ arg1); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, NSRect arg0); -/** @method flags=cast */ -public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); -/** - * @method flags=cast - * @param arg1 flags=struct - */ -public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1); -/** - * @method flags=cast - * @param arg1 flags=struct - */ -public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSSize arg1, boolean arg2); -/** @method flags=cast */ -public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2); -/** @method flags=cast */ -public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4); -/** @method flags=cast */ -public static final native boolean objc_msgSend_bool(int /*long*/ id, int /*long*/ sel, short arg0); -/** @method flags=cast */ -public static final native double objc_msgSend_fpret(int /*long*/ id, int /*long*/ sel); -/** @method flags=cast */ -public static final native double objc_msgSend_fpret(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); -/** @method flags=cast */ -public static final native double objc_msgSend_fpret(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSAffineTransformStruct arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - * @param arg1 flags=struct - * @param arg2 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, NSPoint arg1, NSPoint arg2); -/** - * @method flags=cast - * @param arg0 flags=struct - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, NSPoint arg1, int /*long*/ arg2); -/** - * @method flags=cast - * @param arg0 flags=struct - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, NSRect arg1, int /*long*/ arg2, float /*double*/ arg3); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, float /*double*/ arg1, float /*double*/ arg2, float /*double*/ arg3); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, float /*double*/ arg1, float /*double*/ arg2, float /*double*/ arg3, boolean arg4); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSPoint arg0, int /*long*/ arg1, float[] /*double[]*/ arg2); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRange arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRange arg0, NSPoint arg1); -/** - * @method flags=cast - * @param arg0 flags=struct - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRange arg0, NSRange arg1, int /*long*/ arg2, int /*long*/ arg3); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRange arg0, int /*long*/ arg1); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRange arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4, int /*long*/ arg5); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, NSPoint arg1); -/** - * @method flags=cast - * @param arg0 flags=struct - * @param arg1 flags=struct - * @param arg2 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, NSRange arg1, NSRect arg2); -/** - * @method flags=cast - * @param arg0 flags=struct - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, NSRect arg1, int /*long*/ arg2, float /*double*/ arg3); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, boolean arg1); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, boolean arg1, boolean arg2); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, float /*double*/ arg1); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, float /*double*/ arg1, float /*double*/ arg2); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1, boolean arg2, int /*long*/ arg3); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1, int /*long*/ arg2); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1, int /*long*/ arg2, boolean arg3); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1, int /*long*/ arg2, boolean arg3, int /*long*/ arg4); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, NSSize arg0); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, boolean arg0); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, boolean arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, byte[] arg0); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, byte[] arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, char[] arg0); -/** - * @method flags=cast - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, char[] arg0, NSRange arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, char[] arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, double arg0); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, double arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, boolean arg4); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, float /*double*/ arg0, float /*double*/ arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, float /*double*/ arg0, float /*double*/ arg1, float /*double*/ arg2, float /*double*/ arg3); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, float /*double*/ arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, float[] /*double[]*/ arg0); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, float[] /*double[]*/ arg0, int /*long*/ arg1, float /*double*/ arg2); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); -/** - * @method flags=cast - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1); -/** - * @method flags=cast - * @param arg1 flags=struct - * @param arg2 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1, NSSize arg2, int /*long*/ arg3, int /*long*/ arg4, int /*long*/ arg5, boolean arg6); -/** - * @method flags=cast - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1, int /*long*/ arg2); -/** - * @method flags=cast - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1, int /*long*/ arg2, double arg3, int /*long*/ arg4, int /*long*/ arg5, int /*long*/ arg6, int /*long*/ arg7, int /*long*/ arg8); -/** - * @method flags=cast - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSPoint arg1, int /*long*/ arg2, double arg3, int /*long*/ arg4, int /*long*/ arg5, short arg6, int /*long*/ arg7, int /*long*/ arg8); -/** - * @method flags=cast - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSRange arg1); -/** - * @method flags=cast - * @param arg1 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, NSRect arg1, int /*long*/ arg2); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, boolean arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, float /*double*/ arg1); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1); -/** - * @method flags=cast - * @param arg2 flags=struct - */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, NSRange arg2); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, boolean arg2); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, boolean arg3); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, float /*double*/ arg3); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4, boolean arg5, boolean arg6, int /*long*/ arg7, int /*long*/ arg8, int /*long*/ arg9); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4, boolean arg5, boolean arg6, int /*long*/ arg7, int /*long*/ arg8, int /*long*/ arg9, int /*long*/ arg10); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4, int /*long*/ arg5, int /*long*/ arg6); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int[] /*long[]*/ arg0); -/** @method flags=cast */ -public static final native int /*long*/ objc_msgSend(int /*long*/ id, int /*long*/ sel, int[] /*long[]*/ arg0, int arg1, int arg2); -/** @method flags=cast */ -public static final native int objc_msgSend(int id, int sel, float arg0); -/** @method flags=cast */ -public static final native long objc_msgSend(long id, long sel, float arg0, double arg1); -/** @method flags=cast */ -public static final native long objc_msgSend(long id, long sel, int arg0); -/** @method flags=cast */ -public static final native long objc_msgSend(long id, long sel, int[] arg0); -/** @method flags=cast */ -public static final native long objc_msgSend(long id, long sel, long[] arg0, long arg1, long arg2); -/** @method flags=cast */ -public static final native void objc_msgSend_stret(NSAffineTransformStruct result, int /*long*/ id, int /*long*/ sel); -/** @method flags=cast */ -public static final native void objc_msgSend_stret(NSPoint result, int /*long*/ id, int /*long*/ sel); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSend_stret(NSPoint result, int /*long*/ id, int /*long*/ sel, NSPoint arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSend_stret(NSPoint result, int /*long*/ id, int /*long*/ sel, NSPoint arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native void objc_msgSend_stret(NSPoint result, int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); -/** @method flags=cast */ -public static final native void objc_msgSend_stret(NSRange result, int /*long*/ id, int /*long*/ sel); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSend_stret(NSRange result, int /*long*/ id, int /*long*/ sel, NSRange arg0, int /*long*/ arg1); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSend_stret(NSRange result, int /*long*/ id, int /*long*/ sel, NSRect arg0); -/** @method flags=cast */ -public static final native void objc_msgSend_stret(NSRange result, int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); -/** @method flags=cast */ -public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, NSRange arg0, int /*long*/ arg1); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, NSRect arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, NSRect arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, int /*long*/ arg0); -/** @method flags=cast */ -public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1); -/** @method flags=cast */ -public static final native void objc_msgSend_stret(NSRect result, int /*long*/ id, int /*long*/ sel, int /*long*/ arg0, int /*long*/ arg1, boolean arg2); -/** @method flags=cast */ -public static final native void objc_msgSend_stret(NSSize result, int /*long*/ id, int /*long*/ sel); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSend_stret(NSSize result, int /*long*/ id, int /*long*/ sel, NSRect arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSend_stret(NSSize result, int /*long*/ id, int /*long*/ sel, NSSize arg0); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSend_stret(NSSize result, int /*long*/ id, int /*long*/ sel, NSSize arg0, boolean arg1, boolean arg2, int /*long*/ arg3); -/** - * @method flags=cast - * @param arg0 flags=struct - */ -public static final native void objc_msgSend_stret(NSSize result, int /*long*/ id, int /*long*/ sel, NSSize arg0, int /*long*/ arg1); - -/** Sizeof natives */ -public static final native int CGPathElement_sizeof(); -public static final native int CGPoint_sizeof(); -public static final native int CGRect_sizeof(); -public static final native int CGSize_sizeof(); -public static final native int NSAffineTransformStruct_sizeof(); -public static final native int NSPoint_sizeof(); -public static final native int NSRange_sizeof(); -public static final native int NSRect_sizeof(); -public static final native int NSSize_sizeof(); - -/** Memmove natives */ - -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(int /*long*/ dest, CGPathElement src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(CGPathElement dest, int /*long*/ src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(int /*long*/ dest, CGPoint src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(CGPoint dest, int /*long*/ src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(int /*long*/ dest, CGRect src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(CGRect dest, int /*long*/ src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(int /*long*/ dest, CGSize src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(CGSize dest, int /*long*/ src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(int /*long*/ dest, NSAffineTransformStruct src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(NSAffineTransformStruct dest, int /*long*/ src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(int /*long*/ dest, NSPoint src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(NSPoint dest, int /*long*/ src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(int /*long*/ dest, NSRange src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(NSRange dest, int /*long*/ src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(int /*long*/ dest, NSRect src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(NSRect dest, int /*long*/ src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(int /*long*/ dest, NSSize src, int /*long*/ size); -/** - * @param dest cast=(void *),flags=no_in critical - * @param src cast=(void *),flags=critical - */ -public static final native void memmove(NSSize dest, int /*long*/ src, int /*long*/ size); - -/** This section is auto generated */ -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/Protocol.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/Protocol.java deleted file mode 100644 index c23340b371..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/Protocol.java +++ /dev/null @@ -1,27 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class Protocol extends id { - -public Protocol() { - super(); -} - -public Protocol(int /*long*/ id) { - super(id); -} - -public Protocol(id id) { - super(id); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTApplicationDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTApplicationDelegate.java deleted file mode 100644 index 00398c3241..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTApplicationDelegate.java +++ /dev/null @@ -1,21 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTApplicationDelegate extends NSObject { - public SWTApplicationDelegate() { - super(0); - } - - public SWTApplicationDelegate(int id) { - super(id); - } -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTBox.java deleted file mode 100644 index d59eadbe17..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTBox.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTBox extends NSBox { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButton.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButton.java deleted file mode 100644 index cf530934e0..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButton.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTButton extends NSButton { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButtonCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButtonCell.java deleted file mode 100644 index f6599559de..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTButtonCell.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTButtonCell extends NSButtonCell { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTCanvasView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTCanvasView.java deleted file mode 100644 index be70fcb240..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTCanvasView.java +++ /dev/null @@ -1,24 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - - -public class SWTCanvasView extends NSView { - -public SWTCanvasView() { - super(0); -} - -public SWTCanvasView(int id) { - super(id); -} - -}
\ No newline at end of file diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTComboBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTComboBox.java deleted file mode 100644 index 52f5e9ca5c..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTComboBox.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTComboBox extends NSComboBox { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDatePicker.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDatePicker.java deleted file mode 100644 index 1a9547dd53..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDatePicker.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTDatePicker extends NSDatePicker { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDragSourceDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDragSourceDelegate.java deleted file mode 100644 index 34da394bcb..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTDragSourceDelegate.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTDragSourceDelegate extends NSObject { - - public SWTDragSourceDelegate() { - super(0); - } - - public SWTDragSourceDelegate(int id) { - super(id); - } - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageTextCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageTextCell.java deleted file mode 100644 index 4668420590..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageTextCell.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTImageTextCell extends NSTextFieldCell { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageView.java deleted file mode 100644 index b7d8a3eb3d..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTImageView.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTImageView extends NSImageView { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenu.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenu.java deleted file mode 100644 index 5797741eba..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenu.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTMenu extends NSMenu { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenuItem.java deleted file mode 100644 index 0a3f2ab2eb..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTMenuItem.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTMenuItem extends NSMenuItem { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTOutlineView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTOutlineView.java deleted file mode 100644 index 0de8410403..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTOutlineView.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTOutlineView extends NSOutlineView { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPanelDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPanelDelegate.java deleted file mode 100644 index 9a007381e4..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPanelDelegate.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTPanelDelegate extends NSObject { - -public SWTPanelDelegate() { - super(0); -} - -public SWTPanelDelegate(int id) { - super(id); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPopUpButton.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPopUpButton.java deleted file mode 100644 index 6698a9f851..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPopUpButton.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTPopUpButton extends NSPopUpButton { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrintPanelDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrintPanelDelegate.java deleted file mode 100644 index 9d298808b9..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrintPanelDelegate.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTPrintPanelDelegate extends NSObject { - -public SWTPrintPanelDelegate() { - super(0); -} - -public SWTPrintPanelDelegate(int id) { - super(id); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrinterView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrinterView.java deleted file mode 100644 index c4fc3d1ddd..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPrinterView.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTPrinterView extends NSView { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTProgressIndicator.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTProgressIndicator.java deleted file mode 100644 index 219bdfdceb..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTProgressIndicator.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTProgressIndicator extends NSProgressIndicator { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScrollView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScrollView.java deleted file mode 100644 index df73239086..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScrollView.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTScrollView extends NSScrollView { - -public SWTScrollView() { - super(0); -} - -public SWTScrollView(int id) { - super(id); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScroller.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScroller.java deleted file mode 100644 index 15726d8254..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTScroller.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTScroller extends NSScroller { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSearchField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSearchField.java deleted file mode 100644 index 58a79640b6..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSearchField.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTSearchField extends NSSearchField { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSecureTextField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSecureTextField.java deleted file mode 100644 index 43de31610d..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSecureTextField.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTSecureTextField extends NSSecureTextField { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSlider.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSlider.java deleted file mode 100644 index 6567abcc55..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSlider.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTSlider extends NSSlider { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTStepper.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTStepper.java deleted file mode 100644 index 9772772c24..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTStepper.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTStepper extends NSStepper { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTabView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTabView.java deleted file mode 100644 index dd517d0a15..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTabView.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTTabView extends NSTabView { - -public SWTTabView() { - super(0); -} - -public SWTTabView(int id) { - super(id); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderCell.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderCell.java deleted file mode 100644 index a56bebba67..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderCell.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTTableHeaderCell extends NSTableHeaderCell { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderView.java deleted file mode 100644 index 8f15c5e022..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableHeaderView.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTTableHeaderView extends NSTableHeaderView { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableView.java deleted file mode 100644 index 4b80bf95f5..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTableView.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTTableView extends NSTableView { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextField.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextField.java deleted file mode 100644 index 55619b98a9..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextField.java +++ /dev/null @@ -1,16 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTTextField extends NSTextField { - - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextView.java deleted file mode 100644 index 5e8829159b..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextView.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTTextView extends NSTextView { - -public SWTTextView() { - super(0); -} - -public SWTTextView(int id) { - super(id); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTToolbar.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTToolbar.java deleted file mode 100644 index 6bd9ef9f44..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTToolbar.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTToolbar extends NSToolbar { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTreeItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTreeItem.java deleted file mode 100644 index b1bbd1d4b4..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTreeItem.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTTreeItem extends NSObject { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTView.java deleted file mode 100644 index ae71db6a11..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTView.java +++ /dev/null @@ -1,24 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - - -public class SWTView extends NSView { - -public SWTView() { - super(0); -} - -public SWTView(int id) { - super(id); -} - -}
\ No newline at end of file diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWebViewDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWebViewDelegate.java deleted file mode 100644 index aaa628cba8..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWebViewDelegate.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTWebViewDelegate extends NSObject { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindow.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindow.java deleted file mode 100644 index 89eb61df00..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindow.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTWindow extends NSWindow { - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindowDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindowDelegate.java deleted file mode 100644 index 7387bb43e5..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTWindowDelegate.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class SWTWindowDelegate extends NSObject { - -public SWTWindowDelegate() { - super(0); -} - -public SWTWindowDelegate(int id) { - super(id); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDataSource.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDataSource.java deleted file mode 100644 index 51e6ac69bd..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDataSource.java +++ /dev/null @@ -1,47 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class WebDataSource extends NSObject { - -public WebDataSource() { - super(); -} - -public WebDataSource(int /*long*/ id) { - super(id); -} - -public WebDataSource(id id) { - super(id); -} - -public NSString pageTitle() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_pageTitle); - return result != 0 ? new NSString(result) : null; -} - -public WebDocumentRepresentation representation() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_representation); - return result != 0 ? new WebDocumentRepresentation(result) : null; -} - -public NSMutableURLRequest request() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_request); - return result != 0 ? new NSMutableURLRequest(result) : null; -} - -public WebFrame webFrame() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_webFrame); - return result != 0 ? new WebFrame(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDocumentRepresentation.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDocumentRepresentation.java deleted file mode 100644 index 36e16c9118..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebDocumentRepresentation.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class WebDocumentRepresentation extends NSObject { - -public WebDocumentRepresentation() { - super(); -} - -public WebDocumentRepresentation(int /*long*/ id) { - super(id); -} - -public WebDocumentRepresentation(id id) { - super(id); -} - -public NSString documentSource() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_documentSource); - return result != 0 ? new NSString(result) : null; -} -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrame.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrame.java deleted file mode 100644 index 951ebfb019..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrame.java +++ /dev/null @@ -1,45 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class WebFrame extends NSObject { - -public WebFrame() { - super(); -} - -public WebFrame(int /*long*/ id) { - super(id); -} - -public WebFrame(id id) { - super(id); -} - -public DOMDocument DOMDocument() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_DOMDocument); - return result != 0 ? new DOMDocument(result) : null; -} - -public WebDataSource dataSource() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_dataSource); - return result != 0 ? new WebDataSource(result) : null; -} - -public void loadHTMLString(NSString string, NSURL URL) { - OS.objc_msgSend(this.id, OS.sel_loadHTMLString_baseURL_, string != null ? string.id : 0, URL != null ? URL.id : 0); -} - -public void loadRequest(NSURLRequest request) { - OS.objc_msgSend(this.id, OS.sel_loadRequest_, request != null ? request.id : 0); -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrameView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrameView.java deleted file mode 100644 index 5075e8edea..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebFrameView.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class WebFrameView extends NSObject { - -public WebFrameView() { - super(); -} - -public WebFrameView(int /*long*/ id) { - super(id); -} - -public WebFrameView(id id) { - super(id); -} - -public boolean documentViewShouldHandlePrint() { - return OS.objc_msgSend_bool(this.id, OS.sel_documentViewShouldHandlePrint); -} - -public void printDocumentView() { - OS.objc_msgSend(this.id, OS.sel_printDocumentView); -} - -public NSPrintOperation printOperationWithPrintInfo(NSPrintInfo printInfo) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_printOperationWithPrintInfo_, printInfo != null ? printInfo.id : 0); - return result != 0 ? new NSPrintOperation(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebKitFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebKitFull.bridgesupport.extras deleted file mode 100644 index 2d1617c9b9..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebKitFull.bridgesupport.extras +++ /dev/null @@ -1,410 +0,0 @@ -<?xml version="1.0" encoding="UTF8"?> -<signatures swt_gen="mixed"> - <class name="DOMDocument" swt_gen="mixed"> - <method selector="webFrame" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="DOMEvent" swt_gen="mixed"> - <method selector="preventDefault" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="DOMKeyboardEvent" swt_gen="mixed" swt_superclass="DOMUIEvent"> - <method selector="altKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="charCode" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="ctrlKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="keyCode" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="metaKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="shiftKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="DOMMouseEvent" swt_gen="mixed" swt_superclass="DOMUIEvent"> - <method selector="altKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="button" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="clientX" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="clientY" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="ctrlKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="metaKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="shiftKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="DOMUIEvent" swt_gen="mixed" swt_superclass="DOMEvent"> - <method selector="detail" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="DOMWheelEvent" swt_gen="mixed"> - <method selector="altKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="clientX" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="clientY" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="ctrlKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="metaKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="shiftKey" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="wheelDelta" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="NSObject" swt_gen="mixed"> - <method selector="addEventListener:listener:useCapture:" swt_gen="true"> - <arg name="type" swt_gen="true"></arg> - <arg name="listener" swt_gen="true"></arg> - <arg name="useCapture" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="handleEvent:" swt_gen="true"> - <arg name="evt" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="WebDataSource" swt_gen="mixed"> - <method selector="pageTitle" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="representation" swt_gen="true"> - <retval swt_gen="true" swt_java_type="WebDocumentRepresentation"></retval> - </method> - <method selector="request" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="webFrame" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="WebFrame" swt_gen="mixed"> - <method selector="DOMDocument" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="dataSource" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="loadHTMLString:baseURL:" swt_gen="true"> - <arg name="string" swt_gen="true"></arg> - <arg name="URL" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="loadRequest:" swt_gen="true"> - <arg name="request" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="WebFrameView" swt_gen="mixed"> - <method selector="documentViewShouldHandlePrint" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="printDocumentView" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="printOperationWithPrintInfo:" swt_gen="true"> - <arg name="printInfo" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="WebPreferences" swt_gen="mixed"> - <method selector="setJavaEnabled:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setJavaScriptEnabled:" swt_gen="true"> - <arg name="flag" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="standardPreferences" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="WebScriptObject" swt_gen="mixed"> - <method selector="webScriptValueAtIndex:" swt_gen="true"> - <arg name="index" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="WebUndefined" swt_gen="true"> - <method class_method="true" selector="undefined" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - </class> - <class name="WebView" swt_gen="mixed" swt_superclass="NSView"> - <method selector="canGoBack" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="canGoForward" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method class_method="true" selector="canShowMIMEType:" swt_gen="true"> - <arg name="MIMEType" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="copy:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="cut:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="goBack" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="goForward" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="initWithFrame:frameName:groupName:" swt_gen="true"> - <arg name="frame" swt_gen="true"></arg> - <arg name="frameName" swt_gen="true"></arg> - <arg name="groupName" swt_gen="true"></arg> - <retval swt_gen="true" swt_java_type="WebView"></retval> - </method> - <method selector="mainFrame" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> - <method selector="paste:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="reload:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setApplicationNameForUserAgent:" swt_gen="true"> - <arg name="applicationName" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setDownloadDelegate:" swt_gen="true"> - <arg name="delegate" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setFrameLoadDelegate:" swt_gen="true"> - <arg name="delegate" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setPolicyDelegate:" swt_gen="true"> - <arg name="delegate" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setPreferences:" swt_gen="true"> - <arg name="prefs" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setResourceLoadDelegate:" swt_gen="true"> - <arg name="delegate" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="setUIDelegate:" swt_gen="true"> - <arg name="delegate" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="stopLoading:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - <method selector="stringByEvaluatingJavaScriptFromString:" swt_gen="true"> - <arg name="script" swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> - </class> - <informal_protocol name="WebFrameLoadDelegate" swt_gen="mixed"> - <method selector="webView:didChangeLocationWithinPageForFrame:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="frame" swt_gen="true"></arg> - </method> - <method selector="webView:didCommitLoadForFrame:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="frame" swt_gen="true"></arg> - </method> - <method selector="webView:didFailProvisionalLoadWithError:forFrame:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="error" swt_gen="true"></arg> - <arg name="frame" swt_gen="true"></arg> - </method> - <method selector="webView:didFinishLoadForFrame:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="frame" swt_gen="true"></arg> - </method> - <method selector="webView:didReceiveTitle:forFrame:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="title" swt_gen="true"></arg> - <arg name="frame" swt_gen="true"></arg> - </method> - <method selector="webView:didStartProvisionalLoadForFrame:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="frame" swt_gen="true"></arg> - </method> - <method selector="webView:windowScriptObjectAvailable:" swt_gen="true"> - <arg name="webView" swt_gen="true"></arg> - <arg name="windowScriptObject" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="WebPolicyDelegate" swt_gen="true"> - <method selector="webView:decidePolicyForMIMEType:request:frame:decisionListener:" swt_gen="true"> - <arg name="webView" swt_gen="true"></arg> - <arg name="type" swt_gen="true"></arg> - <arg name="request" swt_gen="true"></arg> - <arg name="frame" swt_gen="true"></arg> - <arg name="listener" swt_gen="true"></arg> - </method> - <method selector="webView:decidePolicyForNavigationAction:request:frame:decisionListener:" swt_gen="true"> - <arg name="webView" swt_gen="true"></arg> - <arg name="actionInformation" swt_gen="true"></arg> - <arg name="request" swt_gen="true"></arg> - <arg name="frame" swt_gen="true"></arg> - <arg name="listener" swt_gen="true"></arg> - </method> - <method selector="webView:decidePolicyForNewWindowAction:request:newFrameName:decisionListener:" swt_gen="true"> - <arg name="webView" swt_gen="true"></arg> - <arg name="actionInformation" swt_gen="true"></arg> - <arg name="request" swt_gen="true"></arg> - <arg name="frameName" swt_gen="true"></arg> - <arg name="listener" swt_gen="true"></arg> - </method> - <method selector="webView:unableToImplementPolicyWithError:frame:" swt_gen="true"> - <arg name="webView" swt_gen="true"></arg> - <arg name="error" swt_gen="true"></arg> - <arg name="frame" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="WebResourceLoadDelegate" swt_gen="mixed"> - <method selector="webView:identifierForInitialRequest:fromDataSource:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="request" swt_gen="true"></arg> - <arg name="dataSource" swt_gen="true"></arg> - </method> - <method selector="webView:resource:didFailLoadingWithError:fromDataSource:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="identifier" swt_gen="true"></arg> - <arg name="error" swt_gen="true"></arg> - <arg name="dataSource" swt_gen="true"></arg> - </method> - <method selector="webView:resource:didFinishLoadingFromDataSource:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="identifier" swt_gen="true"></arg> - <arg name="dataSource" swt_gen="true"></arg> - </method> - <method selector="webView:resource:didReceiveAuthenticationChallenge:fromDataSource:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="identifier" swt_gen="true"></arg> - <arg name="challenge" swt_gen="true"></arg> - <arg name="dataSource" swt_gen="true"></arg> - </method> - <method selector="webView:resource:willSendRequest:redirectResponse:fromDataSource:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="identifier" swt_gen="true"></arg> - <arg name="request" swt_gen="true"></arg> - <arg name="redirectResponse" swt_gen="true"></arg> - <arg name="dataSource" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="WebUIDelegate" swt_gen="mixed"> - <method selector="webView:contextMenuItemsForElement:defaultMenuItems:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="element" swt_gen="true"></arg> - <arg name="defaultMenuItems" swt_gen="true"></arg> - </method> - <method selector="webView:createWebViewWithRequest:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="request" swt_gen="true"></arg> - </method> - <method selector="webView:mouseDidMoveOverElement:modifierFlags:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="elementInformation" swt_gen="true"></arg> - <arg name="modifierFlags" swt_gen="true"></arg> - </method> - <method selector="webView:printFrameView:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="frameView" swt_gen="true"></arg> - </method> - <method selector="webView:runJavaScriptAlertPanelWithMessage:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="message" swt_gen="true"></arg> - </method> - <method selector="webView:runJavaScriptConfirmPanelWithMessage:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="message" swt_gen="true"></arg> - </method> - <method selector="webView:runOpenPanelForFileButtonWithResultListener:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="resultListener" swt_gen="true"></arg> - </method> - <method selector="webView:setFrame:" swt_gen="true" swt_gen_custom_callback="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="frame" swt_gen="true"></arg> - </method> - <method selector="webView:setResizable:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="resizable" swt_gen="true"></arg> - </method> - <method selector="webView:setStatusBarVisible:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="visible" swt_gen="true"></arg> - </method> - <method selector="webView:setStatusText:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="text" swt_gen="true"></arg> - </method> - <method selector="webView:setToolbarsVisible:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - <arg name="visible" swt_gen="true"></arg> - </method> - <method selector="webViewClose:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - <method selector="webViewFocus:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - <method selector="webViewShow:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - <method selector="webViewUnfocus:" swt_gen="true"> - <arg name="sender" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="WebOpenPanelResultListener" swt_gen="true"> - <method selector="chooseFilename:" swt_gen="true"> - <arg name="theRange" swt_gen="true"></arg> - </method> - </informal_protocol> - <informal_protocol name="WebDocumentRepresentation" swt_gen="true"> - <method selector="documentSource" swt_gen="true"></method> - </informal_protocol> - <informal_protocol name="WebPolicyDecisionListener" swt_gen="true"> - <method selector="use" swt_gen="true"></method> - <method selector="download" swt_gen="true"></method> - <method selector="ignore" swt_gen="true"></method> - </informal_protocol> -</signatures> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebOpenPanelResultListener.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebOpenPanelResultListener.java deleted file mode 100644 index 19f1ba7cb3..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebOpenPanelResultListener.java +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class WebOpenPanelResultListener extends NSObject { - -public WebOpenPanelResultListener() { - super(); -} - -public WebOpenPanelResultListener(int /*long*/ id) { - super(id); -} - -public WebOpenPanelResultListener(id id) { - super(id); -} - -public void cancel() { - OS.objc_msgSend(id, OS.sel_cancel); -} - -public void chooseFilename(NSString string) { - OS.objc_msgSend(id, OS.sel_chooseFilename_, string != null ? string.id : 0); -} -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPolicyDecisionListener.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPolicyDecisionListener.java deleted file mode 100644 index ffa3aa11b7..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPolicyDecisionListener.java +++ /dev/null @@ -1,38 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class WebPolicyDecisionListener extends NSObject { - -public WebPolicyDecisionListener() { - super(); -} - -public WebPolicyDecisionListener(int /*long*/ id) { - super(id); -} - -public WebPolicyDecisionListener(id id) { - super(id); -} - -public void download() { - OS.objc_msgSend(id, OS.sel_download); -} - -public void use() { - OS.objc_msgSend(id, OS.sel_use); -} - -public void ignore() { - OS.objc_msgSend(id, OS.sel_ignore); -} -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPreferences.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPreferences.java deleted file mode 100644 index da9bc92d75..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebPreferences.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class WebPreferences extends NSObject { - -public WebPreferences() { - super(); -} - -public WebPreferences(int /*long*/ id) { - super(id); -} - -public WebPreferences(id id) { - super(id); -} - -public void setJavaEnabled(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setJavaEnabled_, flag); -} - -public void setJavaScriptEnabled(boolean flag) { - OS.objc_msgSend(this.id, OS.sel_setJavaScriptEnabled_, flag); -} - -public static WebPreferences standardPreferences() { - int /*long*/ result = OS.objc_msgSend(OS.class_WebPreferences, OS.sel_standardPreferences); - return result != 0 ? new WebPreferences(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebScriptObject.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebScriptObject.java deleted file mode 100644 index c25eb95546..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebScriptObject.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class WebScriptObject extends NSObject { - -public WebScriptObject() { - super(); -} - -public WebScriptObject(int /*long*/ id) { - super(id); -} - -public WebScriptObject(id id) { - super(id); -} - -public id webScriptValueAtIndex(int index) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_webScriptValueAtIndex_, index); - return result != 0 ? new id(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebUndefined.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebUndefined.java deleted file mode 100644 index dd75807a91..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebUndefined.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class WebUndefined extends NSObject { - -public WebUndefined() { - super(); -} - -public WebUndefined(int /*long*/ id) { - super(id); -} - -public WebUndefined(id id) { - super(id); -} - -public static WebUndefined undefined() { - int /*long*/ result = OS.objc_msgSend(OS.class_WebUndefined, OS.sel_undefined); - return result != 0 ? new WebUndefined(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebView.java deleted file mode 100644 index 34df6e3a5e..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/WebView.java +++ /dev/null @@ -1,110 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -public class WebView extends NSView { - -public WebView() { - super(); -} - -public WebView(int /*long*/ id) { - super(id); -} - -public WebView(id id) { - super(id); -} - -public boolean canGoBack() { - return OS.objc_msgSend_bool(this.id, OS.sel_canGoBack); -} - -public boolean canGoForward() { - return OS.objc_msgSend_bool(this.id, OS.sel_canGoForward); -} - -public static boolean canShowMIMEType(NSString MIMEType) { - return OS.objc_msgSend_bool(OS.class_WebView, OS.sel_canShowMIMEType_, MIMEType != null ? MIMEType.id : 0); -} - -public void copy(id sender) { - OS.objc_msgSend(this.id, OS.sel_copy_, sender != null ? sender.id : 0); -} - -public void cut(id sender) { - OS.objc_msgSend(this.id, OS.sel_cut_, sender != null ? sender.id : 0); -} - -public boolean goBack() { - return OS.objc_msgSend_bool(this.id, OS.sel_goBack); -} - -public boolean goForward() { - return OS.objc_msgSend_bool(this.id, OS.sel_goForward); -} - -public WebView initWithFrame(NSRect frame, NSString frameName, NSString groupName) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_initWithFrame_frameName_groupName_, frame, frameName != null ? frameName.id : 0, groupName != null ? groupName.id : 0); - return result == this.id ? this : (result != 0 ? new WebView(result) : null); -} - -public WebFrame mainFrame() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_mainFrame); - return result != 0 ? new WebFrame(result) : null; -} - -public void paste(id sender) { - OS.objc_msgSend(this.id, OS.sel_paste_, sender != null ? sender.id : 0); -} - -public void reload(id sender) { - OS.objc_msgSend(this.id, OS.sel_reload_, sender != null ? sender.id : 0); -} - -public void setApplicationNameForUserAgent(NSString applicationName) { - OS.objc_msgSend(this.id, OS.sel_setApplicationNameForUserAgent_, applicationName != null ? applicationName.id : 0); -} - -public void setDownloadDelegate(id delegate) { - OS.objc_msgSend(this.id, OS.sel_setDownloadDelegate_, delegate != null ? delegate.id : 0); -} - -public void setFrameLoadDelegate(id delegate) { - OS.objc_msgSend(this.id, OS.sel_setFrameLoadDelegate_, delegate != null ? delegate.id : 0); -} - -public void setPolicyDelegate(id delegate) { - OS.objc_msgSend(this.id, OS.sel_setPolicyDelegate_, delegate != null ? delegate.id : 0); -} - -public void setPreferences(WebPreferences prefs) { - OS.objc_msgSend(this.id, OS.sel_setPreferences_, prefs != null ? prefs.id : 0); -} - -public void setResourceLoadDelegate(id delegate) { - OS.objc_msgSend(this.id, OS.sel_setResourceLoadDelegate_, delegate != null ? delegate.id : 0); -} - -public void setUIDelegate(id delegate) { - OS.objc_msgSend(this.id, OS.sel_setUIDelegate_, delegate != null ? delegate.id : 0); -} - -public void stopLoading(id sender) { - OS.objc_msgSend(this.id, OS.sel_stopLoading_, sender != null ? sender.id : 0); -} - -public NSString stringByEvaluatingJavaScriptFromString(NSString script) { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_stringByEvaluatingJavaScriptFromString_, script != null ? script.id : 0); - return result != 0 ? new NSString(result) : null; -} - -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java deleted file mode 100644 index 2eee3a74b8..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -/** - * @jniclass flags=no_gen - */ -public class id { - -public int /*long*/ id; - -public id() { -} - -public id(int /*long*/ id) { - this.id = id; -} - -public id(id id) { - this.id = id != null ? id.id : 0; -} - -public int /*long*/ objc_getClass() { - String name = getClass().getName(); - int index = name.lastIndexOf('.'); - if (index != -1) name = name.substring(index + 1); - return OS.objc_getClass(name); -} - -public String toString() { - return getClass().getName() + "{" + id + "}"; -} -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/objc_super.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/objc_super.java deleted file mode 100644 index e9bf5d52fb..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/objc_super.java +++ /dev/null @@ -1,22 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.cocoa; - -/** - * @jniclass flags=struct - */ -public class objc_super { - /** @field cast=(id) */ - public int /*long*/ receiver; - /** @field accessor=swt_super_class,cast=(Class) */ - public int /*long*/ super_class; - public static final int sizeof = OS.objc_super_sizeof(); -} |