Files
Umbraco-CMS/umbraco/cms/Actions/ActionLiveEdit.cs
Shandem e01eca6e1d DO NOT DOWNLOAD, STABLE RELEASE AVAILABLE ON THE RELEASES TAB
The beginnings of a tree edit mode.
Fixes 24354.

[TFS Changeset #59322]
2009-09-21 15:39:59 +00:00

60 lines
967 B
C#

using System;
using umbraco.interfaces;
using umbraco.BasePages;
namespace umbraco.BusinessLogic.Actions
{
public class ActionLiveEdit : IAction
{
//create singleton
private static readonly ActionLiveEdit instance = new ActionLiveEdit();
private ActionLiveEdit() { }
public static ActionLiveEdit Instance
{
get { return instance; }
}
#region IAction Members
public char Letter
{
get { return ':'; }
}
public bool ShowInNotifier
{
get { return false; }
}
public bool CanBePermissionAssigned
{
get { return true; }
}
public string Icon
{
get { return ".sprLiveEdit"; }
}
public string Alias
{
get { return "liveEdit"; }
}
public string JsFunctionName
{
get
{
return string.Format("{0}.actionLiveEdit()", ClientTools.Scripts.GetAppActions);
}
}
public string JsSource
{
get { return ""; }
}
#endregion
}
}