Ejemplo n.º 1
0
		private void AddPlugin(ContentItem start, ContentItem root, ToolbarPluginAttribute plugin, Control command)
		{
			plugin.AddTo(command, new PluginContext(Page.GetSelection(), start, root,
			                                        ControlPanelState.Visible,
			                                        Engine, new HttpContextWrapper(Context)));
		}
Ejemplo n.º 2
0
 private void AddPlugin(ContentItem start, ContentItem root, ToolbarPluginAttribute plugin, Control command)
 {
     plugin.AddTo(command, new PluginContext(Page.GetSelection(), start, root,
                                             ControlPanelState.Visible,
                                             Engine, new HttpContextWrapper(Context)));
 }
Ejemplo n.º 3
0
 private void AddPlugin(ContentItem start, ContentItem root, ToolbarPluginAttribute plugin, Control command)
 {
     plugin.AddTo(command, new PluginContext(Selection.SelectedItem, null, start, root,
                                             ControlPanelState.Visible,
                                             Engine.ManagementPaths));
 }