Reload() public method

public Reload ( ) : void
return void
Beispiel #1
0
 public void RemoveWidgetLibrary(string assemblyPath)
 {
     reloadRequested = false;
     ProjectBackend.RemoveWidgetLibrary(assemblyPath);
     app.UpdateWidgetLibraries(false, false);
     if (!reloadRequested)
     {
         ProjectBackend.Reload();
     }
 }
Beispiel #2
0
 public void AddWidgetLibrary(string assemblyPath, bool isInternal)
 {
     reloadRequested = false;
     ProjectBackend.AddWidgetLibrary(assemblyPath, isInternal);
     app.UpdateWidgetLibraries(false, false);
     if (!reloadRequested)
     {
         ProjectBackend.Reload();
     }
 }
Beispiel #3
0
        public void SetWidgetLibraries(string[] libraries, string[] internalLibraries)
        {
            reloadRequested = false;

            ArrayList libs = new ArrayList();

            libs.AddRange(libraries);
            libs.AddRange(internalLibraries);
            ProjectBackend.WidgetLibraries = libs;

            libs = new ArrayList();
            libs.AddRange(internalLibraries);
            ProjectBackend.InternalWidgetLibraries = libs;

            app.UpdateWidgetLibraries(false, false);
            if (!reloadRequested)
            {
                ProjectBackend.Reload();
            }
        }