summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2008-03-11 19:17:29 +0000
committerGrant Gayed <ggayed>2008-03-11 19:17:29 +0000
commita144105fcf4ece78f17e22a9d4b102906a7fadde (patch)
tree16ebf95c7afee4dc714d09b16e49800511530987 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse
parentec55194e3bf8e6968e32edec40f6b78c27c42e7d (diff)
downloadeclipse.platform.swt-a144105fcf4ece78f17e22a9d4b102906a7fadde.tar.gz
eclipse.platform.swt-a144105fcf4ece78f17e22a9d4b102906a7fadde.tar.xz
eclipse.platform.swt-a144105fcf4ece78f17e22a9d4b102906a7fadde.zip
220975
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSearchField.java16
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTextView.java10
3 files changed, 26 insertions, 1 deletions
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
index 65fa70d9b2..f514ea568b 100644
--- 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
@@ -575,6 +575,7 @@ public static final int class_NSPointerArray = objc_getClass("NSPointerArray");
public static final int class_NSURLAuthenticationChallenge = objc_getClass("NSURLAuthenticationChallenge");
public static final int class_NSStatusBar = objc_getClass("NSStatusBar");
public static final int class_NSTextField = objc_getClass("NSTextField");
+public static final int class_NSSecureTextField = objc_getClass("NSSecureTextField");
public static final int class_NSOutputStream = objc_getClass("NSOutputStream");
public static final int class_NSComboBoxCell = objc_getClass("NSComboBoxCell");
public static final int class_NSXMLDTDNode = objc_getClass("NSXMLDTDNode");
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
new file mode 100644
index 0000000000..fbf466a7c1
--- /dev/null
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTSearchField.java
@@ -0,0 +1,16 @@
+/*******************************************************************************
+ * 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 SWTSearchField extends NSSearchField {
+
+
+}
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
index b45a93db9f..e5e6a2afd8 100644
--- 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
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 IBM Corporation and others.
+ * 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
@@ -12,6 +12,14 @@ package org.eclipse.swt.internal.cocoa;
public class SWTTextView extends NSTextView {
+public SWTTextView() {
+ super(0);
+}
+
+public SWTTextView(int id) {
+ super(id);
+}
+
public void setTag(int tag) {
OS.objc_msgSend(id, OS.sel_setTag_1, tag);
}