
<section id='BaseOps_GroupChunk_id' webfilename='groupchunk'>
    <title>
        Using Groups
    </title>
    <para>
        BaseOps allows you to define arbitrary <termtext>groups</termtext>
        that can be used to classify objects such as flight tracks and
        flight profiles. For example, you can make a group called "Wing",
        give it possible values such as "4th Fighter Wing" and "916th
        Air Refueling Wing", and make it applicable to flight and static
        profiles.
    </para>
    <exhibit>
        <img src='BaseOps_GroupChunk_WingExample_Defining_Figure.png'/>
    </exhibit>
    <para>
        When editing flight profiles, you would see a dropdown control
        labeled "Wing". You could specify that this profile represents
        a 4th Fighter Wing operation, while that profile represents a
        916th Air Refueling Wing operation.
    </para>
    <exhibit>
        <img src='BaseOps_GroupChunk_WingExample_Profile_Figure.png'/>
    </exhibit>
    <para>
        You could then use the Wing group for a variety of purposes, such
        as...
    </para>
    <unorderedlist>
        <listitem>
            <para>
                sorting and grouping the object list. See <iref
                target='BaseOps_ListPane_id'/>.
            </para>
            <exhibit>
                <img
                src='BaseOps_GroupChunk_WingExample_SortingObjectList_Figure.png'/>
            </exhibit>
        </listitem>
        <listitem>
            <para>
                defining scenarios. For example, you could double the number of
                4th Fighter Wing flight operations. See <iref
                target='BaseOps_ScenarioChunk_id'/>.
            </para>
            <exhibit>
                <img
                src='BaseOps_GroupChunk_WingExample_Scenarios_Figure.png'/>
            </exhibit>
        </listitem>
        <listitem>
            <para>
                organizing reports. For example, you could print flight profile
                maps grouped by the fighter wing. See <iref
                target='BaseOps_ReportChunk_id'/>.
            </para>
            <exhibit>
                <img src='BaseOps_GroupChunk_WingExample_Reports_Figure.png'/>
            </exhibit>
        </listitem>
    </unorderedlist>
    <para>
        To work with groups, choose Groups from the <link
        target='#BaseOps_ListPane_id'>object type selector dropdown list</link>.
        Groups can be added, duplicated, and deleted as described in <iref
        target='BaseOps_ListPane_id'/>.
    </para>
    <para>
        To edit a group, first select it in the <link
        target='#BaseOps_ListPane_id'>object list</link>, then edit its
        properties in the <link
        target='#WCF_ApplicationMainWindow_id'>text pane</link>. Groups
        have the following properties.
    </para>
    <unorderedlist>
        <listitem>
            <para>
                <italic>Name</italic> - A short (15 characters maximum) name that
                uniquely and unambiguously identifies the group.
            </para>
        </listitem>
        <listitem>
            <para>
                <italic>Plural Name</italic> - The plural version of <italic>Name</italic>.
                This can be left blank if the plural is formed by simply adding
                an 's' to the end of <italic>Name</italic>.
            </para>
        </listitem>
        [-include "BaseOps_LongName_ListItem.rxl" ObjectTypeName='group'-]
        [-include "BaseOps_Notes_ListItem.rxl"    ObjectTypeName='group'-]
        <listitem>
            <para>
                <italic>Applies To</italic> - The type(s) of object(s) that this
                group is applicable to. Check the boxes next to all applicable
                object types.
            </para>
        </listitem>
        <listitem>
            <para>
                <italic>Choices</italic> - The possible values that this group
                can have. List the names of the choices, and if desired, type
                notes associated with each choice.
            </para>
            <para>
                To add a new choice, type the name of the choice into the text
                box, then either press the Add Choice button <img
                src='intres:BaseOps_AddPlusSignSmallButtonBitmap'/>, or press
                <keytext>Ctrl + A</keytext>.
            </para>
            <para>
                To delete a choice, either press the Delete Choice button <img
                src='intres:WCF_DeleteCrossToolbarButtonBitmap'/>, or press <keytext>Ctrl
                + Del</keytext>.
            </para>
            <para>
                To move a choice up or down in the table, press the Move Up and
                Move Down buttons <img
                src='intres:WCF_MoveUpToolbarButtonBitmap'/> and <img
                src='intres:WCF_MoveDownToolbarButtonBitmap'/>, or press <keytext>Ctrl
                + U</keytext> and <keytext>Ctrl + D</keytext>. The first choice
                listed will be the default value for this group.
            </para>
            <note type='tip'>
                <para>
                    It will often be useful to create a choice named "Not Applicable",
                    "Other", or some similar catch-all phrase.
                </para>
            </note>
        </listitem>
    </unorderedlist>
    <para>
        Every <link target='#BaseOps_IntroductionToCases_id'>BaseOps case</link>
        includes two predefined groups.
    </para>
    <orderedlist>
        <listitem>
            <para>
                <bold>A/C Category</bold> - This group defines the different aircraft
                categories, such as Based and Transient.
            </para>
        </listitem>
        <listitem>
            <para>
                <bold>NavAid Type</bold> - This group defines the different navigational
                aid types, such as VOR and TACAN.
            </para>
        </listitem>
    </orderedlist>
    <para>
        You should not delete the predefined groups or remove any of the
        predefined choices. However, if you wish, you can add additional
        choices.
    </para>
</section>
