Plugins Application Extensibility Framework Sample

Rating: No reviews yet
Downloads: 210
Released: Jul 7, 2009
Updated: Jul 7, 2009 by hack2root
Dev status: Stable Help Icon

Recommended Download

Example Pi.7z
example, 6K, uploaded Jun 29, 2009 - 58 downloads

Other Available Downloads

Example Pi.UI.7z
example, 8K, uploaded Jun 29, 2009 - 38 downloads
Example Pi.Windows.7z
example, 9K, uploaded Jun 29, 2009 - 34 downloads
Example Pi.Graphics.7z
example, 8K, uploaded Jun 29, 2009 - 29 downloads
Example State.UI.7z
example, 7K, uploaded Jul 3, 2009 - 26 downloads
Example Plugins.UI.7z
example, 180K, uploaded Jul 7, 2009 - 25 downloads

Release Notes


07.07.09

Added Plugins.UI project to the sources

http://plugins.codeplex.com/SourceControl/ListDownloadableCommits.aspx

This is a startup sample for the new plugins application extensibility project.
It shows us the usage of splash screen windows, application's interface as a service entry point for the plugins, exteding IPluginWindow interface for the application.

Added support for the alpha channel in PluginGradientControl class, now it supports linear / polynominal interpolation (a^n) x color1 + (1-a^n) x color2.

Enjoy my BigBoss RssFeed logo! You can try it out using Microsoft Expression Design 2 in Microsoft Expression Studio 2 product.



Sample screenshot of using splash screen for a time consuming operations in extensible applications.



3.07.09

Added Plugins.State library, implementation of Object-Oriented State Machine abstraction.
Added State.UI sample, which shows the construction of state machine, using the generic classes.



29.06.09

Added Pi.Graphics sample. It plays a little with input data, showing the graphics capabilities of PluginsGraphicsControl control.



Added Pi.Windows sample. This is a complete sample of using PluginWindowManager for child windows layout solution, which is able to store child windows state between sessions.



Latest: I have fixed minor bug (child windows did not cut itself from active window list). Samples updated

28.06.09

Added support for window State layout management, support for file-based windows Options


        public List<string> GetAutoLoadWindowsList()
        {
            return Options.Items.GetValue<List<string>>("popupWindows");
        }

        private void AutoSaveWindows(List<string> windowNames)
        {
            Options.Items.SetValue<List<string>>("popupWindows", windowNames, windowNames);
        }


         private void PiWindow_Load(object sender, EventArgs e)
        {
            LoadOptions("options.xml");
            LoadWindowState();
        }

        private void PiWindow_FormClosing(object sender, System.Windows.Forms.FormClosingEventArgs e)
        {
            UnloadWindowState();
            SaveOptions("options.xml");
        }

        protected void LoadOptions(string fileName)
        {
            IPluginWindow window = this;
            options.Load(fileName);
            window.Attach(Options);
        }
        protected void SaveOptions(string fileName)
        {
            IPluginWindow window = this;
            window.Detach(Options);
            options.Save(fileName);
        }

         public IPluginOptions Options { get { return options; } }

        bool IPluginConnector<IPluginOptions>.Attach(IPluginOptions options)
        {
            return _options.Attach(options);
        }
        bool IPluginConnector<IPluginOptions>.Detach(IPluginOptions options)
        {
            return _options.Detach(options);
        }

27.06.09

Cool new samples added:

Pi Parallel sample
Pi.UI Window Parallel sample.

Screensots:

Pi Sample:



Pi.UI Sample:



27.06.09

All released versions will be packed with 7z . Download and unpack it using 7z : http://www.7-zip.org/

24.06.09

Added Pi calculus sample from here:

http://bartdesmet.net/blogs/bart/archive/2008/07/03/parallel-extensions-using-futures-to-calculate-pi-in-hexadecimal.aspx

Results on my working machine (*4 CPU, Intel i7

Reviews for this release

No reviews yet for this release.