Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel MAll & MOptsSet classes MTools extensions (with SysMLv1 models) Tags and keywords Mathematica keywords MTools MTools::Class MTools::method Webel Mathematica keywords W`MOO` W`MOO`MOpts` MDemo` MAll MOptsSet MOptsSetDemo MOptSetHolder MAllDemo MOpts` Keywords Wolfram Wolfram Language Mathematica Webel::SysML4Mathematica Webel IT Australia Systems Modeling Language SysMLv1 Slide kind SysML Activity Diagram SysML Block Definition Diagram (BDD) Click on the image to view it full size Up next MOptSet options groups: Example: MOptSetDemo Notes [TIP]{INFORMATIVE} Mathematica: TIPS for living with the user-contributed MTools for Object-Orientation (until a vendor-supported OO solution is eventually provided) [PATTERN, TIP, TOOL]{INFORMATIVE} Webel + Mathematica + MTools + SysML [POLICY]{STRICT} Webel: Mathematica: The Webel MAll universal base class does not itself use Webel method options (but does offer some support for method options for extending classes) Snippets (quotes/extracts) Visit also Visit also (backlinks) Related slides (includes other tutorials) Related slides (backlinks, includes other tutorials) The Webel W`MOO` packages: MOO = MTools OO support utilities The MNestAllDemo class with MAll or MAllDemo as child MDemo`: Overview of demo classes for MAll & MOptsSet The Webel MAll universal (intermediate) base class MAll: Methods related to classes and contracts: Example: MDemoAll: From the MAll self-test GUI MAll: All public Methods with signatures MAll: methodHelp and methodFind: Short aliases mH and mF Every MAll has a default gui[] for methods that don’t need arguments Command GUI configuration and nesting: Example: MNestAllDemo The MAll class has a self-tester GUI (for DEVELOPMENT use only) Convention-based MDemoConfig with fields for ‘$opt$’ options (works with any MTools class but prefer MOptsSet or MOpt) MAll: isContractOf for PatternTest (easier contract checks for MTools) The Webel MAll universal class for MTools integrates with the HelpO` method registry HelpO`: Options management for MTools methods (lookup replaces OptionValue[]) Flags Book traversal links for The MAllDemo class with MOptsSetDemo Previous Up Next