Practical expressions to get insights into your model content
No edit summary
No edit summary
Line 1: Line 1:
All ViewModels that has at least one action that show it:
All ViewModels that has at least one action that show it:
  Span.allinstances->select(span|span.ShowByActions->notEmpty)->collect(span|span.Name,span.Category.Name,span.ShowByActions.ListPresentationTypedDetails->ascommalist,span.CodeComment)
  Span.allinstances->select(span|span.ShowByActions->notEmpty)->collect(span|span.Name,span.Class.Name,span.Category.Name,span.ShowByActions.ListPresentationTypedDetails->ascommalist,span.CodeComment)
All actions that navigate to another view
All actions that navigate to another view
  AbstractAction.allinstances->select(aa|aa.BringUpViewModel->notEmpty)->collect(aa|aa.Name,aa.OclType.asstring,aa.ListPresentationTypedDetails,aa.MenuGroup.Name,aa.ViewModelIsModal,aa.ViewModelIsPopUp)
  AbstractAction.allinstances->select(aa|aa.BringUpViewModel->notEmpty)->collect(aa|aa.Name,aa.OclType.asstring,aa.ListPresentationTypedDetails,aa.MenuGroup.Name,aa.ViewModelIsModal,aa.ViewModelIsPopUp)
All serverside viewmodels
Span.allinstances->select(span|span.ShowByActions->isempty and span.CriteriaForServerSideExecute->notempty) ->collect(span|span.Name,span.Class.Name,span.Category.Name,span.CodeComment)

Revision as of 08:54, 8 March 2023

All ViewModels that has at least one action that show it:

Span.allinstances->select(span|span.ShowByActions->notEmpty)->collect(span|span.Name,span.Class.Name,span.Category.Name,span.ShowByActions.ListPresentationTypedDetails->ascommalist,span.CodeComment)

All actions that navigate to another view

AbstractAction.allinstances->select(aa|aa.BringUpViewModel->notEmpty)->collect(aa|aa.Name,aa.OclType.asstring,aa.ListPresentationTypedDetails,aa.MenuGroup.Name,aa.ViewModelIsModal,aa.ViewModelIsPopUp)

All serverside viewmodels

Span.allinstances->select(span|span.ShowByActions->isempty and span.CriteriaForServerSideExecute->notempty) ->collect(span|span.Name,span.Class.Name,span.Category.Name,span.CodeComment)
This page was edited 11 days ago on 04/26/2024. What links here