Пример #1
0
 public void ReloadDefaultTemplates()
 {
     DefaultTemplates = new Dictionary <string, string>();
     if (StartupProject != null)
     {
         StartupProject.GetDefaultTemplates();
     }
 }
Пример #2
0
        //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> ();
            }
        }
Пример #3
0
 public bool GetProjectFileFromPath(string path, out ProjectFile pi)
 {
     pi = null;
     return(StartupProject == null ? false :
            StartupProject.TryGetProjectFileFromPath(path, out pi));
 }