/*--- Method: Initialization ----------------------------------------------------------------------------------------------------------------------------------*/

        /// <summary> モジュールの初期化を実行します。
        /// </summary>
        /// <returns> 正常終了時 True </returns>
        private bool initModule()
        {
            this.PluginHistoryObjectModel = new PluginHistoryObjectModel();
            this.PluginUpdateObjectModel  = new PluginUpdateObjectModel();
            this.xmlSerializerProcess     = new XmlSerializerProcess();
            this.getAssemblyDataProcess   = new GetAssemblyDataProcess();
            return(true);
        }
Example #2
0
        /*--- Method: Initialization ----------------------------------------------------------------------------------------------------------------------------------*/

        /// <summary> オブジェクトモデルの初期化を実行します。
        /// </summary>
        /// <returns> 正常終了時 True </returns>
        private bool initObjectModel()
        {
            this.NewPluginVersionInfo = new PluginVersionInfo();
            this.UpdateStatusData     = new UpdateStatusData();

            this.downloadUnit         = new DownloadUnit();
            this.xmlSerializerProcess = new XmlSerializerProcess();
            this.NewPlugin            = false;

            this.DialogOpenFLG = false;
            this.UpdateClose   = false;
            return(true);
        }
        /*--- Method: Initialization ----------------------------------------------------------------------------------------------------------------------------------*/

        /// <summary> モジュールの初期化を実行します。
        /// </summary>
        /// <returns> 正常終了時 True </returns>
        private bool initModule()
        {
            this.downloadUnit = new DownloadUnit();

            this.overlayViewOpenProcess     = new OverlayViewOpenProcess();
            this.xmlSerializerProcess       = new XmlSerializerProcess();
            this.setFilterProcess           = new SetFilterProcess();
            this.appDataFileManageProcess   = new AppDataFileManageProcess();
            this.saveChangedResetProcess    = new SaveChangedResetProcess();
            this.ovarlayDefaultSetProcess   = new OvarlayDefaultSetProcess();
            this.overlayDataRevisionProcess = new OverlayDataRevisionProcess();

            return(true);
        }
        /*--- Method: Initialization ----------------------------------------------------------------------------------------------------------------------------------*/

        /// <summary> オブジェクトモデルの初期化を実行します。
        /// </summary>
        /// <returns> 正常終了時 True </returns>
        private bool initObjectModel()
        {
            this.AllColorPaletteCollection = new ObservableCollection <ColorPaletteData>();
            this.PaletteSetCollection      = new ObservableCollection <PaletteSetDataUnion>();
            this.PaletteTypeCollection     = new ObservableCollection <PaletteType>();
            this.TempColorPaletteData      = new TempColorPaletteData();
            this.TempColorPaletteData.AddColorStringCollection.Add(string.Empty);
            this.TempColorPaletteData.AddColorStringCollection.Add(string.Empty);
            this.TempColorPaletteData.AddColorStringCollection.Add(string.Empty);
            this.TempColorPaletteData.AddColorStringCollection.Add(string.Empty);
            this.TempColorPaletteData.AddColorStringCollection.Add(string.Empty);

            this.xmlSerializerProcess = new XmlSerializerProcess();

            return(true);
        }
        /// <summary>
        /// Load the xml data
        /// </summary>
        /// <param name="filePath"></param>
        private void LoadAssemblyXmlData(string filePath)
        {
            if (File.Exists(filePath) == false)
                throw new FileNotFoundException(filePath + " not found");

            XmlSerializerProcess serialize = new XmlSerializerProcess(filePath);
            this.XmlAssemblyData = serialize.ReadDataStructure<XmlModelAssemblyRoot>();
        }
        /*--- Method: Initialization ----------------------------------------------------------------------------------------------------------------------------------*/

        /// <summary> モジュールの初期化を実行します。
        /// </summary>
        /// <returns> 正常終了時 True </returns>
        private bool initModule()
        {
            this.xmlSerializerProcess = new XmlSerializerProcess();
            return(true);
        }