From f4ad8d562a400686215c7787f4f3d75034970cbd Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 25 Dec 2017 07:19:33 +0300 Subject: [PATCH] some experimenting... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/examples.js | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/ui (gen4)/features/examples.js b/ui (gen4)/features/examples.js index eff38832..160e90bb 100755 --- a/ui (gen4)/features/examples.js +++ b/ui (gen4)/features/examples.js @@ -788,6 +788,13 @@ var ExampleUIActions = actions.Actions({ })], exampleDialogListerL: ['Test/Combined dialog & lister (lister mode)/*', 'exampleDialogLister: ...'], + + testList: ['Test/List/*', + function(path, make){ return function(){ + make('A') + make('B') + make('C') + } }], }) var ExampleUI = @@ -799,6 +806,9 @@ module.ExampleUI = core.ImageGridFeatures.Feature({ depends: [ 'ui-browse-actions', ], + suggested: [ + 'ui-action-examples-2', + ], actions: ExampleUIActions, handlers: [ @@ -807,6 +817,34 @@ module.ExampleUI = core.ImageGridFeatures.Feature({ +//--------------------------------------------------------------------- + +var ExampleUI2Actions = actions.Actions({ + testList: ['Test/List/*', + function(path, make){ return function(){ + make('---') + make('X') + make('Y') + make('Z') + } }], +}) + +var ExampleUI = +module.ExampleUI = core.ImageGridFeatures.Feature({ + title: '', + doc: '', + + tag: 'ui-action-examples-2', + depends: [ + 'ui-action-examples', + ], + actions: ExampleUI2Actions, + + handlers: [ + ], +}) + + //--------------------------------------------------------------------- core.ImageGridFeatures.Feature('examples', [