public void ReloadDefaultTemplates() { DefaultTemplates = new Dictionary <string, string>(); if (StartupProject != null) { StartupProject.GetDefaultTemplates(); } }
//TODO: check project dependencies if no startup proj public void ReloadStyling() { Styling = new Dictionary <string, Style> (); if (StartupProject != null) { StartupProject.GetStyling(); } // StylingContainers = new List<StyleContainer> (); // foreach (string k in Styling.Keys) { // StylingContainers.Add (new StyleContainer (k, Styling [k])); // } foreach (ImlProjectItem pf in openedItems.OfType <ImlProjectItem>()) { pf.SignalEditorOfType <ImlVisualEditor> (); } }
public bool GetProjectFileFromPath(string path, out ProjectFile pi) { pi = null; return(StartupProject == null ? false : StartupProject.TryGetProjectFileFromPath(path, out pi)); }