This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
test:test_2018 [2018/01/21 22:01] Adriana Draghici [JUnit și Excepții] |
test:test_2018 [2018/01/21 22:07] Tudor Paraschivescu [Design Patterns] |
||
---|---|---|---|
Line 311: | Line 311: | ||
* **Command Pattern** | * **Command Pattern** | ||
- | **R:** Folosind Command Pattern putem modela ușor operațiile efectuate sub forma unor comenzi. | + | **R:** Folosind Command Pattern putem modela ușor operațiile efectuate sub forma unor comenzi. Butoanele din GUI (interfața grafică a utilizatorului) și elementele din meniuri sunt de multe ori obiecte de tip Command. În plus față de abilitatea de a efectua comanda dorită, o acțiune poate avea o pictogramă asociată, un text sau altele. |
- | + | ||
- | + | ||