Esempio n. 1
0
 public void setRuleFileName(String value) {
   fileName = value;
   model = new ERD2WRuleEditorModel(new File(fileName));
   group = new WODisplayGroup();
   group.setObjectArray(model.publicRules());
   group.setDefaultStringMatchFormat("*%@*");
 }
Esempio n. 2
0
 public NSArray modelPages() {
   Enumeration e = model.publicDynamicPages().elements();
   NSMutableArray arr = new NSMutableArray();
   while (e.hasMoreElements()) {
     arr.addObject(fixString(e.nextElement()));
   }
   return arr;
 }
Esempio n. 3
0
 public NSArray modelTasks() {
   Enumeration e = model.publicTasks();
   NSMutableArray arr = new NSMutableArray();
   while (e.hasMoreElements()) arr.addObject(fixString(e.nextElement()));
   return arr;
 }
Esempio n. 4
0
 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)));
 }