Displaying subsets of classesDisplaying subsets of classesRE: Displaying subsets of classesSabin Popescuhttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=200302013-06-24T07:27:44Z2013-06-24T07:27:28ZFor every mode type you can define modes that contain only some of the classes of the current model type.<br />A model type determines a subset of all instanciable classes and relations. Each model has a specific model type which is assigned when the model is created can not be changed afterwards.<br />A modus is a further restriction of a model type. It defines a subset of the assigned classes/relations and simplifies modeling by hiding not needed classes. Unlike the model type, the modus of a model can be changed any time, depending on the classes needed for modelling. The moduses can be defined using the "MODE" statement in the definition of the model type.<br /><br />When defining a moduls, the parameter "<span style="color: #0000f6">from:</span>" allows to use in the new modus some or all of the classes used in a previously defined modus. Please see the following example:<br /><br /><div class="code"><span class="code-lines"> 1</span>MODELTYPE "Sample" from:none<br /><span class="code-lines"> 2</span>INCL "A"<br /><span class="code-lines"> 3</span>INCL "B"<br /><span class="code-lines"> 4</span>INCL "E"<br /><span class="code-lines"> 5</span>INCL "X"<br /><span class="code-lines"> 6</span>INCL "Y"<br /><span class="code-lines"> 7</span>INCL "any2any"<br /><span class="code-lines"> 8</span><br /><span class="code-lines"> 9</span>MODE "All classes" from:all<br /><span class="code-lines">10</span><br /><span class="code-lines">11</span>MODE "A-E" from:all<br /><span class="code-lines">12</span>EXCL "B"<br /><span class="code-lines">13</span>EXCL "Y"<br /><span class="code-lines">14</span><br /><span class="code-lines">15</span>MODE "B-E" from:all<br /><span class="code-lines">16</span>EXCL "A"<br /><span class="code-lines">17</span>EXCL "X"<br /><span class="code-lines">18</span><br /><span class="code-lines">19</span>MODE "E-X-Y" from: "A-E"<br /><span class="code-lines">20</span>EXCL "A"<br /><span class="code-lines">21</span>INCL "Y"<br /></div><br /> <br />The modus "All classes" uses the classes A, B, E, X, Y and the relation class "any2any".<br />The modus "A-E" uses the classes A, E, X and the relation class "any2any" (all classes, except for B and Y)<br />The modus "B-E" uses the classes B, E, Y and the relation class "any2any" (all classes, except for A and X).<br />The modus "E-X-Y" uses the classes E, X, Y and the relation class "any2any" (all classes used in the modus "A-E", except for class A, plus the class Y).Sabin Popescu2013-06-24T07:27:28ZDisplaying subsets of classeshttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=200172014-03-27T11:29:53Z2013-06-24T07:25:24ZI have many classes in a model type and am looking for a way to display them so the user can easier choose the classes needed for modelling.2013-06-24T07:25:24Z