Files
HeidiSQL/extra/jheidi/createTableStateOracle.ajl
2008-12-29 19:55:53 +00:00

27 lines
753 B
Plaintext

WindowContext context = argObj("windowContext");
ListBox l = context.get("/fields");
HashObject ho = l.getProperty(arg("fieldKey"));
log.debug("storing props for: " + arg("fieldKey"));
//put all values in col map
log.debug("ho (before store):" + ho);
ho.put("type", ((Combo)context.get("/types")).getText());
ho.put("length", ((Field)context.get("/lengthSet")).getText());
ho.put("default", ((Field)context.get("/defaultValue")).getText());
ho.put("primary", ((CheckBox)context.get("/primary")).isSelected());
ho.put("index", ((CheckBox)context.get("/index")).isSelected());
ho.put("notNull", ((CheckBox)context.get("/notNull")).isSelected());
log.debug("ho (after store):" + ho);