Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
5.0
-
None
-
None
Description
Currently ActionbarPresenter e.g. only offers enable(String) and disable(String). In most scenarios there's actually a few actions that have to be enabled or disabled. Having enable / disable with varargs String (String...) as param could make this code much nicer.
e.g.
actionbar.enable("addFolder");
actionbar.enable("addNode");
actionbar.enable("addProperty");
actionbar.enable("delete");
could be written as
actionbar.enable("addFolder", "addNode", "addProperty", "delete");
Checklists
Acceptance criteria
Attachments
Issue Links
- depends upon
-
MGNLUI-408 Refactor ActionbarPresenter for better testability
-
- Closed
-