public ProjectBackend(ApplicationBackend app) { this.app = app; topLevels = new List <WidgetData> (); ActionGroups = new Stetic.Wrapper.ActionGroupCollection(); Registry.RegistryChanging += OnRegistryChanging; Registry.RegistryChanged += OnRegistryChanged; iconFactory = new ProjectIconFactory(); widgetLibraries = new ArrayList(); internalLibs = new ArrayList(); }
public ProjectBackend (ApplicationBackend app) { this.app = app; topLevels = new List<WidgetData> (); ActionGroups = new Stetic.Wrapper.ActionGroupCollection (); Registry.RegistryChanging += OnRegistryChanging; Registry.RegistryChanged += OnRegistryChanged; iconFactory = new ProjectIconFactory (); widgetLibraries = new ArrayList (); internalLibs = new ArrayList (); }
public void SetActionGroups(Stetic.Wrapper.ActionGroupCollection groups) { if (this.groups != null) { this.groups.ActionGroupAdded -= OnGroupAdded; this.groups.ActionGroupRemoved -= OnGroupRemoved; } this.groups = groups; if (this.groups != null) { this.groups.ActionGroupAdded += OnGroupAdded; this.groups.ActionGroupRemoved += OnGroupRemoved; } Update(); }
public void AttachActionGroups(Stetic.Wrapper.ActionGroupCollection groups) { ActionGroups = groups; ownedGlobalActionGroups = false; }
public void AttachActionGroups (Stetic.Wrapper.ActionGroupCollection groups) { ActionGroups = groups; ownedGlobalActionGroups = false; }
public void SetActionGroups (Stetic.Wrapper.ActionGroupCollection groups) { if (this.groups != null) { this.groups.ActionGroupAdded -= OnGroupAdded; this.groups.ActionGroupRemoved -= OnGroupRemoved; } this.groups = groups; if (this.groups != null) { this.groups.ActionGroupAdded += OnGroupAdded; this.groups.ActionGroupRemoved += OnGroupRemoved; } Update (); }