// actor
f.addHeader("actor", new FormHeader(RGSS1Helper.getName(Type.ACTOR), RGSS1Helper.getIcon(Type.ACTOR)).setSorting(4).setColumn(4));
f.addElement(
"actor.actor",
FormHelper.setEnabeldWhenRightElementSelect(c,
new FormDBComboBox(RGSS1Helper.getName(Type.ACTOR), e.getYecl().getProject(), Type.ACTOR, e.getParameters(), 1, false), "4"));
FormComboBox a = RubyForm.getComboBoxNum(I18N.t("Type"), JavaHelper.numAry(6), new String[] { "In Party", "Name", RGSS1Helper.getName(Type.SKILL),
RGSS1Helper.getName(Type.WEAPON), RGSS1Helper.getName(Type.ARMOR), RGSS1Helper.getName(Type.STATUS) }, e.getParameters(), 2);
f.addElement("actor.type", FormHelper.setEnabeldWhenRightElementSelect(c, a, "4"));
// f.addElement("actor.name",
// FormHelper.addEnableLister(RubyForm.getString(I18N.t("hat den Namen"),
// e.getParameters().get(3)), c, "4", a, "1")
// .setSorting(1));
f.addElement(
"actor.skill",
FormHelper.addEnableLister(
new FormDBComboBox(I18N.t("kann den {0}", RGSS1Helper.getName(Type.SKILL)), e.getYecl().getProject(), Type.SKILL, e.getParameters(), 3,
false), c, "4", a, "2").setSorting(2));
f.addElement(
"actor.weapon",
FormHelper.addEnableLister(
new FormDBComboBox(I18N.t("hat die {0}", RGSS1Helper.getName(Type.WEAPON)), e.getYecl().getProject(), Type.WEAPON, e.getParameters(),
3, false), c, "4", a, "3").setSorting(3));
f.addElement(
"actor.armor",
FormHelper.addEnableLister(
new FormDBComboBox(I18N.t("hat die {0}", RGSS1Helper.getName(Type.ARMOR)), e.getYecl().getProject(), Type.ARMOR, e.getParameters(), 3,
false), c, "4", a, "4").setSorting(3));
f.addElement(
"actor.state",
FormHelper.addEnableLister(
new FormDBComboBox(I18N.t("hat den {0}", RGSS1Helper.getName(Type.STATUS)), e.getYecl().getProject(), Type.STATUS, e.getParameters(),
3, false), c, "4", a, "5").setSorting(4));
// enemy
f.addHeader("enemy", new FormHeader(RGSS1Helper.getName(Type.ENEMY), RGSS1Helper.getIcon(Type.ENEMY)).setSorting(5).setColumn(4));
f.addElement(
"enemy.enemy",
FormHelper.setEnabeldWhenRightElementSelect(c,
new FormDBComboBox(RGSS1Helper.getName(Type.ENEMY), e.getYecl().getProject(), Type.ENEMY, e.getParameters(), 1, false), "5"));
FormComboBox en = RubyForm.getComboBoxNum(I18N.t("Type"), JavaHelper.numAry(2), new String[] { "Lebt", RGSS1Helper.getName(Type.STATUS) },
e.getParameters(), 2);
f.addElement("enemy.type", FormHelper.setEnabeldWhenRightElementSelect(c, en, "5"));
f.addElement(
"enemy.state",
FormHelper.addEnableLister(
new FormDBComboBox(I18N.t("hat den {0}", RGSS1Helper.getName(Type.STATUS)), e.getYecl().getProject(), Type.STATUS, e.getParameters(),
3, false), c, "5", en, "1").setSorting(2));
// timer
f.addHeader("timer", new FormHeader(I18N.t("Timer"), "timer").setColumn(4).setSorting(3));
f.addElement(
"timer.plus",
FormHelper.setEnabeldWhenRightElementSelect(c,
RubyForm.getComboBoxNum(I18N.t("Timer is"), JavaHelper.numAry(2), new String[] { ">=", "<=" }, e.getParameters(), 2), "3"));
f.addElement("timer.value", FormHelper.setEnabeldWhenRightElementSelect(c, RubyForm.getNumber("", e.getParameters(), 1).setMinMax(0, 5000, 1), "3"));
// event
f.addHeader("event", new FormHeader(I18N.t("Event"), "event").setColumn(6).setSorting(3));
f.addElement("event.sprite",
FormHelper.setEnabeldWhenRightElementSelect(c, RubyForm.getEventSelector("Event", e.getYecl().getMap(), e.getParameters(), 1), "6"));
f.addElement(
"timer.plus",
FormHelper.setEnabeldWhenRightElementSelect(c,
RubyForm.getComboBoxNum(I18N.t("show"), new String[] { "2", "4", "6", "8" }, directions, e.getParameters(), 2), "6").setSorting(1));
// money
f.addHeader("gold", new FormHeader(RGSS1Voc.gold(e.getYecl().getProject()), "money").setColumn(4).setSorting(7));
f.addElement(
"gold.plus",
FormHelper.setEnabeldWhenRightElementSelect(c,
RubyForm.getComboBoxNum(I18N.t("Gold is"), JavaHelper.numAry(2), new String[] { ">=", "<=" }, e.getParameters(), 2), "7"));
f.addElement("gold.value", FormHelper.setEnabeldWhenRightElementSelect(c, RubyForm.getNumber("", e.getParameters(), 1), "7"));
// Sonstiges
f.addHeader("another", new FormHeader(RGSS1Helper.getName(Type.ITEM), RGSS1Helper.getIcon(Type.ITEM)).setSorting(8).setColumn(4));
f.addElement("another", new FormInfo("", I18N.t("Hat mind. 1 von")));
f.addElement(
"another.item",
FormHelper.setEnabeldWhenRightElementSelect(c,
new FormDBComboBox(RGSS1Helper.getName(Type.ITEM), e.getYecl().getProject(), Type.ITEM, e.getParameters(), 1, false), "8"));
f.addElement(
"another.armor",
FormHelper.setEnabeldWhenRightElementSelect(c,
new FormDBComboBox(RGSS1Helper.getName(Type.ARMOR), e.getYecl().getProject(), Type.ARMOR, e.getParameters(), 1, false), "10"));
f.addElement(
"another.weapon",
FormHelper.setEnabeldWhenRightElementSelect(c,
new FormDBComboBox(RGSS1Helper.getName(Type.WEAPON), e.getYecl().getProject(), Type.WEAPON, e.getParameters(), 1, false), "9"));
f.addElement("another.button",
FormHelper.setEnabeldWhenRightElementSelect(c, RubyForm.getNumber("Button Press", e.getParameters(), 1).setSorting(1), "11"));
// f.addElement("another.script",