<commit_before>﻿/*
 * Copyright © 2017 EDDiscovery development team
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
 * file except in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
 * ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 *
 * EDDiscovery is not affiliated with Frontier Developments plc.
 */

using EDDiscovery.UserControls;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;

namespace EDDiscovery
{
    static public class PanelInformation
    {
        public enum PanelIDs        // id's.. used in tab controls, and in button pop outs button
        {
            GroupMarker = -1,

            Log = 0,                // BEWARE
            StarDistance,           // BEWARE       Current user selection is saved as an index, so re-ordering these is not allowed
            Materials,              // BEWARE
            Commodities,            //
            Ledger,                 // 4
            Journal,
            TravelGrid,
            ScreenShot,
            Statistics,             // 8
            Scan,
            Modules,
            Exploration,
            Synthesis,              // 12
            Missions,
            Engineering,
            MarketData,
            SystemInformation,      // 16
            Spanel,
            Trippanel,
            NotePanel,
            RouteTracker,           // 20
            Grid,
            StarList,
            EstimatedValues,
            Search,                 // 24 (was EDSM)
            ShoppingList,
            Route,
            Expedition,             // 27
            Trilateration,          // 28
            Settings,               // 29
            ScanGrid,               // 30
            Compass,                // 31
            LocalMap,               // 32
            Plot,                   // 33
            PanelSelector,          // 34
            BookmarkManager,        // 35
            CombatPanel,            // 36
            ShipYardPanel,          // 37
            OutfittingPanel,        // 38 Just for Iain i'm keeping this numbering going ;-)
            SplitterControl,        // 39
            MissionOverlay,         // 40
            CaptainsLog,            // 41 Actually its important for debugging purposes so you can recognised the ID as its stored by ID in the DB
            Surveyor,               // 42
            EDSM,                   // 43
            MaterialTrader,         // 44
            Map2D,                  // 45
            MiningOverlay,          // 46
            Factions,               // 47
            Spansh,                 // 48
            EDDB,                   // 49
            Inara,                  // 50
            MicroResources,         // 51
            SuitsWeapons,           // 52
            // ****** ADD More here DO NOT REORDER *****
        };

        // This is the order they are presented to the user if not using alpha sort..   you can shuffle them to your hearts content
        // description = empty means not user selectable.  Single text string expresses a group.

        static private List<PanelInfo> paneldefinition = new List<PanelInfo>()
        {
            { new PanelInfo( "History") },
            { new PanelInfo( PanelIDs.Log , typeof(UserControlLog),"Log", "Log", "Log of program information" ) },
            { new PanelInfo( PanelIDs.Journal, typeof(UserControlJournalGrid), "Journal", "JournalHistory", "Journal grid view") },
            { new PanelInfo( PanelIDs.TravelGrid, typeof(UserControlTravelGrid), "History", "TravelHistory", "History grid view") },
            { new PanelInfo( PanelIDs.StarList, typeof(UserControlStarList), "Visited Stars", "StarList", "Visited Star list", transparent: false) },

            { new PanelInfo( "Current State") },
            { new PanelInfo( PanelIDs.Materials, typeof(UserControlMaterials) , "Materials", "Materials", "Materials count" ) },
            { new PanelInfo( PanelIDs.Commodities, typeof(UserControlCommodities), "Commodities", "Commodities", "Commodity count") },
            { new PanelInfo( PanelIDs.MicroResources, typeof(UserControlMicroResources), "Micro Resources", "MicroResources", "Micro resource count") },
            { new PanelInfo( PanelIDs.Ledger, typeof(UserControlLedger), "Ledger", "Ledger", "Ledger of cash related entries") },
            { new PanelInfo( PanelIDs.Missions, typeof(UserControlMissions), "Missions", "Missions", "Mission list") },
            { new PanelInfo( PanelIDs.Factions, typeof(UserControlFactions), "Factions", "Factions", "Faction rewards and trading tally") },
            { new PanelInfo( PanelIDs.Modules, typeof(UserControlModules), "Ships/Loadout", "Modules", "Ships and their loadouts plus stored modules") },
            { new PanelInfo( PanelIDs.Statistics, typeof(UserControlStats), "Statistics", "Stats", "Statistics Information") },
            { new PanelInfo( PanelIDs.SuitsWeapons, typeof(UserControlSuitsWeapons), "Suits & Weapons", "SuitsWeapons", "Suits, Loadouts, Weapons") },
<commit_msg>Number popup ids ready for the nuke<commit_after>﻿/*
 * Copyright © 2017 EDDiscovery development team
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
 * file except in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
 * ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 *
 * EDDiscovery is not affiliated with Frontier Developments plc.
 */

using EDDiscovery.UserControls;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;

namespace EDDiscovery
{
    static public class PanelInformation
    {
        public enum PanelIDs        // id's.. used in tab controls, and in button pop outs button
        {
            GroupMarker = -1,

            Log = 0,                // BEWARE
            StarDistance=1,           // BEWARE       Current user selection is saved as an index, so re-ordering these is not allowed
            Materials=2,              // BEWARE
            Commodities=3,            //
            Ledger=4,                 // 4
            Journal=5,
            TravelGrid=6,
            ScreenShot=7,
            Statistics=8,             // 8
            Scan=9,
            Modules=10,
            Exploration=11,
            Synthesis=12,              // 12
            Missions=13,
            Engineering=14,
            MarketData=15,
            SystemInformation=16,      // 16
            Spanel=17,
            Trippanel=18,
            NotePanel=19,
            RouteTracker=20,           // 20
            Grid=21,
            StarList=22,
            EstimatedValues=23,
            Search=24,                 // 24 (was EDSM)
            ShoppingList=25,
            Route=26,
            Expedition=27,             // 27
            Trilateration=28,          // 28
            Settings=29,               // 29
            ScanGrid=30,               // 30
            Compass=31,                // 31
            LocalMap=32,               // 32
            Plot=33,                   // 33
            PanelSelector=34,          // 34
            BookmarkManager=35,        // 35
            CombatPanel=36,            // 36
            ShipYardPanel=37,          // 37
            OutfittingPanel=38,        // 38 Just for Iain i'm keeping this numbering going ;-)
            SplitterControl=39,        // 39
            MissionOverlay=40,         // 40
            CaptainsLog=41,            // 41 Actually its important for debugging purposes so you can recognised the ID as its stored by ID in the DB
            Surveyor=42,               // 42
            EDSM=43,                   // 43
            MaterialTrader=44,         // 44
            Map2D=45,                  // 45
            MiningOverlay=46,          // 46
            Factions=47,               // 47
            Spansh=48,                 // 48
            EDDB=49,                   // 49
            Inara=50,                  // 50
            MicroResources=51,         // 51
            SuitsWeapons=52,           // 52
            // ****** ADD More here DO NOT REORDER *****
        };

        // This is the order they are presented to the user if not using alpha sort..   you can shuffle them to your hearts content
        // description = empty means not user selectable.  Single text string expresses a group.

        static private List<PanelInfo> paneldefinition = new List<PanelInfo>()
        {
            { new PanelInfo( "History") },
            { new PanelInfo( PanelIDs.Log , typeof(UserControlLog),"Log", "Log", "Log of program information" ) },
            { new PanelInfo( PanelIDs.Journal, typeof(UserControlJournalGrid), "Journal", "JournalHistory", "Journal grid view") },
            { new PanelInfo( PanelIDs.TravelGrid, typeof(UserControlTravelGrid), "History", "TravelHistory", "History grid view") },
            { new PanelInfo( PanelIDs.StarList, typeof(UserControlStarList), "Visited Stars", "StarList", "Visited Star list", transparent: false) },

            { new PanelInfo( "Current State") },
            { new PanelInfo( PanelIDs.Materials, typeof(UserControlMaterials) , "Materials", "Materials", "Materials count" ) },
            { new PanelInfo( PanelIDs.Commodities, typeof(UserControlCommodities), "Commodities", "Commodities", "Commodity count") },
            { new PanelInfo( PanelIDs.MicroResources, typeof(UserControlMicroResources), "Micro Resources", "MicroResources", "Micro resource count") },
            { new PanelInfo( PanelIDs.Ledger, typeof(UserControlLedger), "Ledger", "Ledger", "Ledger of cash related entries") },
            { new PanelInfo( PanelIDs.Missions, typeof(UserControlMissions), "Missions", "Missions", "Mission list") },
            { new PanelInfo( PanelIDs.Factions, typeof(UserControlFactions), "Factions", "Factions", "Faction rewards and trading tally") },
            { new PanelInfo( PanelIDs.Modules, typeof(UserControlModules), "Ships/Loadout", "Modules", "Ships and their loadouts plus stored modules") },
            { new PanelInfo( PanelIDs.Statistics, typeof(UserControlStats), "Statistics", "Stats", "Statistics Information") },
            { new PanelInfo( PanelIDs.SuitsWeapons, typeof(UserControlSuitsWeapons), "Suits & Weapons", "SuitsWeapons", "Suits, Loadouts, Weapons") },

{'fraction_non_alphanumeric': 0.09318736994481136, 'fraction_numerical': 0.021804035103591784, 'mean_word_length': 1.7086498407253123, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '792093', 'n_tokens_mistral': 2936, 'n_tokens_neox': 2685, 'n_words': 882}