public void setRuleFileName(String value) { fileName = value; model = new ERD2WRuleEditorModel(new File(fileName)); group = new WODisplayGroup(); group.setObjectArray(model.publicRules()); group.setDefaultStringMatchFormat("*%@*"); }
public NSArray modelPages() { Enumeration e = model.publicDynamicPages().elements(); NSMutableArray arr = new NSMutableArray(); while (e.hasMoreElements()) { arr.addObject(fixString(e.nextElement())); } return arr; }
public NSArray modelTasks() { Enumeration e = model.publicTasks(); NSMutableArray arr = new NSMutableArray(); while (e.hasMoreElements()) arr.addObject(fixString(e.nextElement())); return arr; }
public NSArray modelKeys() { Class c = ERXArrayUtilities.class; NSArray keys = (NSArray) model.publicRules().valueForKey("rhsKeyPath"); keys = (NSArray) (new NSSet(keys).allObjects().valueForKey("@sort.toString")); return keys; }
public ERD2WRuleEditorModel(File file) { super(new EOKeyValueUnarchiver(ERD2WRuleEditorModel._dictionaryFromFile(file))); }