/// <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()); }
/// <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()); }
protected TableControlDockpaneViewModel() { ProjectWindowSelectedItemsChangedEvent.Subscribe(OnProjectWindowSelectedItem); }