Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
		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();
 }
Ejemplo n.º 4
0
 public void AttachActionGroups(Stetic.Wrapper.ActionGroupCollection groups)
 {
     ActionGroups            = groups;
     ownedGlobalActionGroups = false;
 }
Ejemplo n.º 5
0
		public void AttachActionGroups (Stetic.Wrapper.ActionGroupCollection groups)
		{
			ActionGroups = groups;
			ownedGlobalActionGroups = false;
		}
Ejemplo n.º 6
0
		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 ();
		}