summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPredicateEditor.java
blob: b2694490410acf308f955034a752ef5e271a2d58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package org.eclipse.swt.internal.cocoa;

public class NSPredicateEditor extends NSRuleEditor {

public NSPredicateEditor() {
	super();
}

public NSPredicateEditor(int id) {
	super(id);
}

public NSArray rowTemplates() {
	int result = OS.objc_msgSend(this.id, OS.sel_rowTemplates);
	return result != 0 ? new NSArray(result) : null;
}

public void setRowTemplates(NSArray rowTemplates) {
	OS.objc_msgSend(this.id, OS.sel_setRowTemplates_1, rowTemplates != null ? rowTemplates.id : 0);
}

}