equal
deleted
inserted
replaced
9 |
9 |
10 from cubicweb import target |
10 from cubicweb import target |
11 from cubicweb.selectors import (partial_relation_possible, match_search_state, |
11 from cubicweb.selectors import (partial_relation_possible, match_search_state, |
12 one_line_rset, partial_may_add_relation, yes, |
12 one_line_rset, partial_may_add_relation, yes, |
13 accepts_compat, condition_compat, deprecate) |
13 accepts_compat, condition_compat, deprecate) |
14 from cubicweb.appobject import AppRsetObject |
14 from cubicweb.appobject import AppObject |
15 |
15 |
16 _ = unicode |
16 _ = unicode |
17 |
17 |
18 |
18 |
19 class Action(AppRsetObject): |
19 class Action(AppObject): |
20 """abstract action. Handle the .search_states attribute to match |
20 """abstract action. Handle the .search_states attribute to match |
21 request search state. |
21 request search state. |
22 """ |
22 """ |
23 __registry__ = 'actions' |
23 __registry__ = 'actions' |
24 __select__ = match_search_state('normal') |
24 __select__ = match_search_state('normal') |