Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchFieldCell.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSSearchFieldCell.java51
1 files changed, 0 insertions, 51 deletions
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);
-}
-
-}

Back to the top