C# Class N2.Web.UI.WebControls.ControlPanel

Inheritance: System.Web.UI.Control, IItemContainer
Mostra file Open project: bherila/n2cms

Private Properties

Property Type Description
GetArray IList
GetArrays IList>.IDictionary
GetPossibleDefinitions List
GetState ControlPanelState
GetState ControlPanelState
GetState ControlPanelState
Page_InitComplete void
RegisterDragDropScripts void
RegisterDragDropStyles void

Public Methods

Method Description
DragDropScriptInitialization ( ContentItem item ) : string
FormatImageAndText ( string iconUrl, string iconClass, string text ) : string
GetPartDefinitions ( N2.Web.Parts.PartsAdapter adapter, ContentItem item, IEnumerable pageZones, IPrincipal user ) : IEnumerable

Gets part definitions that can be added to the given page.

GetQuickEditUrl ( string editParameter ) : string

Gets the url for editing the page directly.

GetState ( Control control ) : ControlPanelState
GetState ( IEngine engine ) : ControlPanelState
GetState ( ISecurityManager security, NameValueCollection queryString, ContentItem item, IPrincipal user ) : ControlPanelState
RegisterArrayValue ( Page page, string key, string value ) : void

Protected Methods

Method Description
AddDefinitions ( Control container ) : void
AddPlugins ( ControlPanelState state ) : void
AppendDefinedTemplate ( ITemplate template, Control container ) : void
CreateChildControls ( ) : void
OnInit ( EventArgs e ) : void
OriginatesFromEdit ( ) : bool
Render ( System.Web.UI.HtmlTextWriter writer ) : void

Private Methods

Method Description
GetArray ( string key, Page page ) : IList
GetArrays ( Page page ) : IList>.IDictionary
GetPossibleDefinitions ( N2.Web.Parts.PartsAdapter adapter, IEnumerable pageZones, IPrincipal user ) : List
GetState ( IPrincipal user, NameValueCollection queryString ) : ControlPanelState
GetState ( ISecurityManager security, IPrincipal user, NameValueCollection queryString ) : ControlPanelState
GetState ( ISecurityManager security, IWebContext request ) : ControlPanelState
Page_InitComplete ( object sender, EventArgs e ) : void
RegisterDragDropScripts ( ) : void
RegisterDragDropStyles ( ) : void

Method Details

AddDefinitions() protected method

protected AddDefinitions ( Control container ) : void
container System.Web.UI.Control
return void

AddPlugins() protected method

protected AddPlugins ( ControlPanelState state ) : void
state ControlPanelState
return void

AppendDefinedTemplate() protected method

protected AppendDefinedTemplate ( ITemplate template, Control container ) : void
template ITemplate
container System.Web.UI.Control
return void

CreateChildControls() protected method

protected CreateChildControls ( ) : void
return void

DragDropScriptInitialization() public static method

public static DragDropScriptInitialization ( ContentItem item ) : string
item ContentItem
return string

FormatImageAndText() public static method

public static FormatImageAndText ( string iconUrl, string iconClass, string text ) : string
iconUrl string
iconClass string
text string
return string

GetPartDefinitions() public static method

Gets part definitions that can be added to the given page.
public static GetPartDefinitions ( N2.Web.Parts.PartsAdapter adapter, ContentItem item, IEnumerable pageZones, IPrincipal user ) : IEnumerable
adapter N2.Web.Parts.PartsAdapter
item ContentItem
pageZones IEnumerable
user IPrincipal
return IEnumerable

GetQuickEditUrl() public method

Gets the url for editing the page directly.
public GetQuickEditUrl ( string editParameter ) : string
editParameter string
return string

GetState() public static method

public static GetState ( Control control ) : ControlPanelState
control System.Web.UI.Control
return ControlPanelState

GetState() public static method

public static GetState ( IEngine engine ) : ControlPanelState
engine IEngine
return ControlPanelState

GetState() public static method

public static GetState ( ISecurityManager security, NameValueCollection queryString, ContentItem item, IPrincipal user ) : ControlPanelState
security ISecurityManager
queryString System.Collections.Specialized.NameValueCollection
item ContentItem
user IPrincipal
return ControlPanelState

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OriginatesFromEdit() protected method

protected OriginatesFromEdit ( ) : bool
return bool

RegisterArrayValue() public static method

public static RegisterArrayValue ( Page page, string key, string value ) : void
page System.Web.UI.Page
key string
value string
return void

Render() protected method

protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void