diff options
author | Felipe Heidrich <fheidric> | 2007-11-15 17:03:53 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2007-11-15 17:03:53 +0000 |
commit | ee37eed09abf2b304605b7bd7be15ba102d37b58 (patch) | |
tree | 5ff8b26c4b049d7c8b7e66827f50afece3bbd7e4 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableCharacterSet.java | |
parent | 4eb84c684bfa237dcce3337cdcdd67ab82c88da5 (diff) | |
download | eclipse.platform.swt-ee37eed09abf2b304605b7bd7be15ba102d37b58.tar.gz eclipse.platform.swt-ee37eed09abf2b304605b7bd7be15ba102d37b58.tar.xz eclipse.platform.swt-ee37eed09abf2b304605b7bd7be15ba102d37b58.zip |
cocoa merge
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableCharacterSet.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableCharacterSet.java | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableCharacterSet.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableCharacterSet.java new file mode 100644 index 0000000000..c0c3b60888 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableCharacterSet.java @@ -0,0 +1,41 @@ +package org.eclipse.swt.internal.cocoa; + +public class NSMutableCharacterSet extends NSCharacterSet { + +public NSMutableCharacterSet() { + super(); +} + +public NSMutableCharacterSet(int id) { + super(id); +} + +public void addCharactersInRange(NSRange aRange) { + OS.objc_msgSend(this.id, OS.sel_addCharactersInRange_1, aRange); +} + +public void addCharactersInString(NSString aString) { + OS.objc_msgSend(this.id, OS.sel_addCharactersInString_1, aString != null ? aString.id : 0); +} + +public void formIntersectionWithCharacterSet(NSCharacterSet otherSet) { + OS.objc_msgSend(this.id, OS.sel_formIntersectionWithCharacterSet_1, otherSet != null ? otherSet.id : 0); +} + +public void formUnionWithCharacterSet(NSCharacterSet otherSet) { + OS.objc_msgSend(this.id, OS.sel_formUnionWithCharacterSet_1, otherSet != null ? otherSet.id : 0); +} + +public void invert() { + OS.objc_msgSend(this.id, OS.sel_invert); +} + +public void removeCharactersInRange(NSRange aRange) { + OS.objc_msgSend(this.id, OS.sel_removeCharactersInRange_1, aRange); +} + +public void removeCharactersInString(NSString aString) { + OS.objc_msgSend(this.id, OS.sel_removeCharactersInString_1, aString != null ? aString.id : 0); +} + +} |