60 lines
993 B
C#
60 lines
993 B
C#
using System;
|
|
using umbraco.interfaces;
|
|
using umbraco.BasePages;
|
|
|
|
namespace umbraco.BusinessLogic.Actions
|
|
{
|
|
public class ActionTreeEditMode : IAction
|
|
{
|
|
//create singleton
|
|
private static readonly ActionTreeEditMode instance = new ActionTreeEditMode();
|
|
private ActionTreeEditMode() { }
|
|
public static ActionTreeEditMode Instance
|
|
{
|
|
get { return instance; }
|
|
}
|
|
|
|
#region IAction Members
|
|
|
|
public char Letter
|
|
{
|
|
get { return 'G'; }
|
|
}
|
|
|
|
public bool ShowInNotifier
|
|
{
|
|
get { return false; }
|
|
}
|
|
|
|
public bool CanBePermissionAssigned
|
|
{
|
|
get { return false; }
|
|
}
|
|
|
|
public string Icon
|
|
{
|
|
get { return ".sprAudit"; }
|
|
}
|
|
|
|
public string Alias
|
|
{
|
|
get { return "treeEditMode"; }
|
|
}
|
|
|
|
public string JsFunctionName
|
|
{
|
|
get
|
|
{
|
|
return string.Format("{0}.actionTreeEditMode()", ClientTools.Scripts.GetAppActions);
|
|
}
|
|
}
|
|
|
|
public string JsSource
|
|
{
|
|
get { return ""; }
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|