Exemple #1
0
 /// <summary>
 /// Initialize logic for the custom module
 /// </summary>
 /// <returns></returns>
 protected override bool Initialize()
 {
     //Check context when App starts up
     ApplicationStartupEvent.Subscribe(OnAppStartupReady);
     //Check when selected project item changes to display its metadata
     ProjectWindowSelectedItemsChangedEvent.Subscribe(OnSelectedItemChanged);
     return(base.Initialize());
 }
Exemple #2
0
        /// <summary>
        /// Initialize logic for the custom module
        /// </summary>
        /// <returns></returns>
        protected override bool Initialize()
        {
            //Subscribe to app startup event to initialize dockpane
            ApplicationStartupEvent.Subscribe(OnAppStartupReady);
            //Subscribe to the Project Item selection changed event
            ProjectWindowSelectedItemsChangedEvent.Subscribe(OnSelectedItemChanged);

            return(base.Initialize());
        }