HelpO`: Options management for MTools methods (lookup replaces OptionValue[]) 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)
The Webel MAll universal class for MTools integrates with the HelpO` method registry 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)
Webel: Mathematica: The Method syntax for the user contributed MTools does not seem to support Method-specific ::usage. The Webel libraries offer method documentation support (including arguments and options) via the HelpO` class/method registry.
Webel: Mathematica: The Method syntax for the user contributed MTools does not seem to support Wolfram Language Options[]. The Webel MTools extensions offer options support via a Webel Options Association in combination with the HelpO` method registry.
MAll: isContractOf for PatternTest (easier contract checks for MTools) 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) Slide kind SysML Block Definition Diagram (BDD)
Convention-based MDemoConfig with fields for ‘$opt$’ options (works with any MTools class but prefer MOptsSet or MOpt) 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)
The MAll class has a self-tester GUI (for DEVELOPMENT use only) 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)
Command GUI configuration and nesting: Example: MNestAllDemo 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)
Every MAll has a default gui[] for methods that don’t need arguments 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)
MAll: methodHelp and methodFind: Short aliases mH and mF 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) Slide kind SysML Block Definition Diagram (BDD)
Webel: Mathematica: CONVENTION: MTools classes: A 'z' prefix indicates a "private" method; A 'my' prefix indicates a "protected" method (typically a protected hook). There is no actual visibility enforcement other than by name convention.
MAll: All public Methods with signatures 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) Slide kind SysML Block Definition Diagram (BDD)
MAll: Methods related to classes and contracts: Example: MDemoAll: From the MAll self-test GUI 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) Slide kind SysML Block Definition Diagram (BDD)
The Webel MAll universal (intermediate) base class 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) Slide kind SysML Block Definition Diagram (BDD)
MDemo`: Overview of demo classes for MAll & MOptsSet 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) Slide kind SysML Package Diagram
The MNestAllDemo class with MAll or MAllDemo as child 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)
The MNestAllDemo class with optional MAll ‘obj’ child 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) Slide kind SysML Block Definition Diagram (BDD) SysML Internal Block Diagram (IBD)
The Webel W`MOO` packages: MOO = MTools OO support utilities 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) Slide kind SysML Package Diagram
Introduction to the Webel All` package and the MAll universal class extending MTools 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) Slide kind SysML Block Definition Diagram (BDD)
Use an MOptsSet options group: Example: MAllDemo.methodWithOptsSet uses MOptsSetDemo 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)
MOptSet options groups: Example: MOptSetDemo 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)
Registering method options using a Webel AOR (Argument, Options, Rules) Map 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) Slide kind SysML Activity Diagram SysML Block Definition Diagram (BDD)
Use a method with an option via a Webel opts Association 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) Slide kind SysML Activity Diagram SysML Block Definition Diagram (BDD)
The MAllDemo class with MOptsSetDemo 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) Slide kind SysML Activity Diagram SysML Block Definition Diagram (BDD)
An MOptSet can also be used in function Options[] 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) Slide kind SysML Activity Diagram SysML Block Definition Diagram (BDD)
Basic SysMLv1 example: The HelpM` package MTools classes as Blocks Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: Modelling the Wolfram Language in SysMLv1 and related Webel coding conventions Slide kind SysML Block Definition Diagram (BDD) SysML Package Diagram
HelpM`: Using the Webel MPackage helper with MFunction and MClass and the HelpF` and HelpO` help registries Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages
Incremental benefit through Doc`, Var`, HelpF`, HelpO`, HelpM` Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages
HelpM`: Using the Webel MClass helper with the MMethod helper and the HelpO` help registry Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages
HelpM`: Use MFunction and MMethod with MArg & MOpt for ::usage (and consistent with the HelpF` and HelpO` registries) Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages
HelpM`: Using the Webel MFunction class and MArg & MOpt with HelpF` Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages
HelpM`: Using the Webel MMethod class and MArg & MOpt with HelpO` Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages
HelpM`: Using the MFunction and MMethod helper classes with MArg & MOpt Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages
HelpO`: Find help on a method of a Webel MAll universal class object Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages
HelpO`: Part of the help registry for the Webel MAll universal MTools class and some methods Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages
HelpO`: addMethod: MTools method registration example for the Webel MAll class and an object Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages
HelpO`: addClass: Register an MTools class by fully qualified package name Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages
The Webel HelpO`package class and method registry Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages