DockPanel Shell Sample

Rating: No reviews yet
Downloads: 376
Released: Mar 6, 2013
Updated: Mar 14, 2013 by JoeyZhao
Dev status: Stable Help Icon

Recommended Download

Example DockPanelShell.zip
example, 3319K, uploaded Mar 14, 2013 - 376 downloads

Release Notes

This release package shows how to develop application with thrid part library and OSGi.net, the application is quite similar to http://scsfcontrib.codeplex.com (I bought some code from there), but you can see how easy it is to use OSGi.net.
Basically, it covers below features,
  1. How to start OSGi.net plugin framework;
  2. How to customize application shell, this sample is developed by winform, web application version will come pretty soon;
  3. How to develop plugin;
  4. How to develop service, and share service across each plugin;
  5. How to publish/subscribe message in application, the message broker plugin is actually can go further with other message broker provider, such as ActiveMQ, so that plugin can talk with each other over internet, and MSDTC is also avalible;
  6. How to define extension and extension point;

XML based plugin manifest
<?xml version="1.0" encoding="utf-8"?>

<Bundle xmlns="urn:uiosp-bundle-manifest-2.0" SymbolicName="LogViewer">
  <Activator Type="LogViewer.Activator" />
  <Runtime>
    <Assembly Path="LogViewer.dll;log4net.dll" />
    <Dependency BundleSymbolicName="UIShell.Document" />
  </Runtime>

  <!--Toolbar Extension-->
  <Extension Point="ToolBar">
    <ToolStrip id="Logger">
      <ToolbarItem icon="LogViewer.Resources.ReportEdit.ico" class="LogViewer.LogViewProvider" text="Logger" />
    </ToolStrip>
  </Extension>

</Bundle>

Reviews for this release

No reviews yet for this release.