38 | | ^(Describe your design here.)^ |
| 38 | * Create several special items for selecting a trigger, an action and for creating a new rule. These are used to display the appropriate text and also in some logics. |
| 39 | * Create a value property wantedRule that is used to set the rule that is currently being edited. |
| 40 | * Make the currentdRule RwProp a read-only AutoProperty that considers the value of wantedRule and if it is not set returns the last rule of the current link. |
| 41 | * Make the special items skinnable through the skins of the corrensponding controls and the LinksHud. |
| 42 | * Remove the AddLink button and place its logic in the logic handlin trigger selection. It should be executed if the currentRule property is the same as the special EMPTY_RULE item. |
| 43 | * Pending problems |
| 44 | * TextLinksHud's CurrentRule is not updated propely when another interval is selected. This is because the LinkHolder doesn't change. Maybe some method that makes properties update should be added. |
| 45 | * The special "choose action" item is not removed when an action is selected due to the mechanism of updating bound controls. |
| 46 | * See the attached patch. Have in mind that soem skinnig and other works needs to be done. |