SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

extending the WeifenLuo DockPanel

Last post 08-19-2008 12:58 AM by DanielGrunwald. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-16-2008 9:24 PM

    extending the WeifenLuo DockPanel

    hey,

    I'd like to add a few features to the DockPanel framework, that I think would be useful for #D along with some other personal projects I'm working on. The first two items I'd like to add are:

    1. Multi-screen dev environment by way of being able to have a seperate main-form/window on each screen.  The basic idea is that you'd be able to open up a second, third, etc. window (MainForm that contains a DockPanel control) within the same application/solution context and have them all interact with each other.  You could drag a DockContent, ToolWindow, etc. from one DockPanel container to another.

    2. DockPanel-layout snapshots - you could save the current layout of the various documents you have open in the DockPanel containers as a "snapshot" that could be saved and recalled.  You might choose to associate a specific layout with a particular document, filetype, or just as a menu item, solution-explorer node, etc.

    I've started digging around in the code yesterday, and tried implementing a proof of concept for multi-DockPanel container drag/drop.  Can't say that I'm intimately familiar with the code yet, but from what I've played with, it appears that the drag/drop functionality is tightly coupled to the DockPanel, and its Form container, so I'd need to do a bit of refactoring to achieve a more loosely coupled framework. 

     So I'm curious if anyone here is familiar enough with this framework to give me some pointers, or if there's any documentation that might help me wrap my head around it without spending too many hours just tinkering around.  Is there anyone else who'd be interested enough in the idea to collaborate?

    Thanks,
    Michael

     

     

     

  • 08-19-2008 12:27 AM In reply to

    Re: extending the WeifenLuo DockPanel

    I, on the other hand, am interested in replacing the WeifenLuo by one of the commercial DockPanel packaged.  As you pointed out, Weifenluo is limited in functionalities.  Howeve, after I digged into ShareDevelop code, found the Weifenluo dockPanel is tightly coupled with SharpDevelop code.

    Anyone here share the same interests and experiences?

    Thanks.

    Filed under:
  • 08-19-2008 12:58 AM In reply to

    Re: extending the WeifenLuo DockPanel

    Using another DockPanel library means you have to implement a new IWorkbenchLayout and IWorkbenchWindow.

    In SharpDevelop 4.0, the WeifenLuo DockPanelSuite will be replaced with AvalonDock.

    Daniel Grunwald
Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.