[MonoDevelop] patch to add pads to context automatically
Lluis Sanchez
lluis@ximian.com
Sun, 13 Mar 2005 13:39:24 +0100
Hi!
The patch I'm working on also includes changes on how pads are assigned
to contexts, although my approach is a bit different: pads are assigned
to contexts in the addin xml file like this:
<Extension path = "/SharpDevelop/Workbench/Contexts">
<WorkbenchContext id = "Edit">
<ContextPad id = "ProjectScout" />
(...)
</WorkbenchContext>
<WorkbenchContext id = "Debug">
(...)
</WorkbenchContext>
</Extension>
so an addin not only can assign new pads to contexts, but also define
new contexts.
On dg, 2005-03-13 at 01:02 -0500, John Luke wrote:
> Hey,
> Patch to use a IPadContent.Context to add pads to the layout instead of
> hardcoding them in SdiWorkspaceLayout.cs. This allows addins to add
> pads (by context) without having to edit that file and I think just a
> better way of doing it.
>
> It is possible adding a WorkbenchContext.None is wrong as I haven't
> looked for code that depended on there being only Debug and Edit values.
> (I didn't really test the debugger changes ...)
>
> Anyone object to this?