Where can I find more information on the Enabler template popularized by Ken Auer?

In his book Applied Extreme Programming, Ken Auer accidentally mentions the Enabler pattern. Kent Beck also mentions this (at least in a letter dated November 08, 2004), but I could not find any details in ordinary places (Google, wiki on c2.com, etc.)

Where can I find out more?

+5
source share
1 answer

The Enabler pattern is just a variation of the Observer pattern. You configure observers to interesting parts of the system, creating Conditions. Enablers can then monitor the conditions and enable / disable widgets.

. , , , , , ( ). - "somethingSelectedCondition". , ( / ... ).

factory, , , , . .

widgetFactory.createButton(String buttonLabel, String methodActionName, String [] conditionNames)

Names , - HashMap, CompositeCondition ( AND ) Enabler, CompositeCondition / .

, , , .

, - Enabler, URL.

HTH,

+5

All Articles