mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
27 lines
753 B
Plaintext
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);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|