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

Inheritance: System.Web.UI.Control, IItemContainer
Afficher le fichier Open project: bherila/n2cms

Private Properties

Свойство Type Description
GetArray IList
GetArrays IList>.IDictionary
GetPossibleDefinitions List
GetState ControlPanelState
GetState ControlPanelState
GetState ControlPanelState
Page_InitComplete void
RegisterDragDropScripts void
RegisterDragDropStyles void

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

protected AddDefinitions ( Control container ) : void
container System.Web.UI.Control
Résultat void

AddPlugins() protected méthode

protected AddPlugins ( ControlPanelState state ) : void
state ControlPanelState
Résultat void

AppendDefinedTemplate() protected méthode

protected AppendDefinedTemplate ( ITemplate template, Control container ) : void
template ITemplate
container System.Web.UI.Control
Résultat void

CreateChildControls() protected méthode

protected CreateChildControls ( ) : void
Résultat void

DragDropScriptInitialization() public static méthode

public static DragDropScriptInitialization ( ContentItem item ) : string
item ContentItem
Résultat string

FormatImageAndText() public static méthode

public static FormatImageAndText ( string iconUrl, string iconClass, string text ) : string
iconUrl string
iconClass string
text string
Résultat string

GetPartDefinitions() public static méthode

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
Résultat IEnumerable

GetQuickEditUrl() public méthode

Gets the url for editing the page directly.
public GetQuickEditUrl ( string editParameter ) : string
editParameter string
Résultat string

GetState() public static méthode

public static GetState ( Control control ) : ControlPanelState
control System.Web.UI.Control
Résultat ControlPanelState

GetState() public static méthode

public static GetState ( IEngine engine ) : ControlPanelState
engine IEngine
Résultat ControlPanelState

GetState() public static méthode

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

OnInit() protected méthode

protected OnInit ( EventArgs e ) : void
e System.EventArgs
Résultat void

OriginatesFromEdit() protected méthode

protected OriginatesFromEdit ( ) : bool
Résultat bool

RegisterArrayValue() public static méthode

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

Render() protected méthode

protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
Résultat void