Ignore:
Timestamp:
Nov 29, 2017, 12:31:26 PM (7 years ago)
Author:
chronos
Message:
  • Added: New rules flag directing if source node should be generated for them.
  • Added: New and Save menu actions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/generator/Forms/UFormRule.pas

    r117 r119  
    1616    ButtonOk: TButton;
    1717    ButtonCancel: TButton;
     18    CheckBoxCreateNode: TCheckBox;
    1819    EditName: TEdit;
    1920    Label1: TLabel;
     
    6465  Self.Rule := Rule;
    6566  EditName.Text := Rule.Name;
     67  CheckBoxCreateNode.Checked := Rule.CreateSourceNode;
    6668  FormRuleItems.LoadData(Rule.Items);
    6769end;
     
    7072begin
    7173  Rule.Name := EditName.Text;
     74  Rule.CreateSourceNode := CheckBoxCreateNode.Checked;
    7275  FormRuleItems.SaveData(Rule.Items);
    7376end;
Note: See TracChangeset for help on using the changeset viewer.