C# Class SilverlightMappingToolBasic.RelatedContentPanelUtil

Afficher le fichier Open project: chris-tomich/Glyma

Private Properties

Свойство Type Description
RelatedContentPanelUtil System

Méthodes publiques

Méthode Description
ClearRelatedMaps ( ) : void
InvokeAuthorContextMenuCallback ( string contextMenuItemName, string rootMap, string map, string node ) : void
InvokeReaderContextMenuCallback ( string contextMenuItemName, string rootMap, string map, string node ) : void
IsJavascriptLibraryLoaded ( ) : bool
IsYammerAvailable ( ) : bool

This returns whether or not the Yammer Embed API is available in the currently used page-layout/master-page combination. Note: It is meant to be called where no map is loaded yet in the Management Console and allows setting up of Yammer properties. There is a more thorough test of if a particular root map has Yammer available that is done when a map is loaded, that exists in the RelatedContentPanels logic.

LoadRelatedIframeContent ( string content, int width, int height ) : void
LoadRelatedNodeHtmlContent ( string content, int width, int height ) : void
LoadRelatedVideoContent ( string videoSourceUrl, VideoSize videoSize ) : void
MapLoadedCallback ( bool rootMapLoaded ) : void
ResetAndHidePanels ( ) : void
SetAuthorMode ( ) : void
SetReaderMode ( ) : void
ShowActivityFeeds ( ) : void
ShowRelatedMaps ( string relatedMapsJson ) : void

Private Methods

Méthode Description
RelatedContentPanelUtil ( ) : System

Method Details

ClearRelatedMaps() public méthode

public ClearRelatedMaps ( ) : void
Résultat void

InvokeAuthorContextMenuCallback() public méthode

public InvokeAuthorContextMenuCallback ( string contextMenuItemName, string rootMap, string map, string node ) : void
contextMenuItemName string
rootMap string
map string
node string
Résultat void

InvokeReaderContextMenuCallback() public méthode

public InvokeReaderContextMenuCallback ( string contextMenuItemName, string rootMap, string map, string node ) : void
contextMenuItemName string
rootMap string
map string
node string
Résultat void

IsJavascriptLibraryLoaded() public méthode

public IsJavascriptLibraryLoaded ( ) : bool
Résultat bool

IsYammerAvailable() public méthode

This returns whether or not the Yammer Embed API is available in the currently used page-layout/master-page combination. Note: It is meant to be called where no map is loaded yet in the Management Console and allows setting up of Yammer properties. There is a more thorough test of if a particular root map has Yammer available that is done when a map is loaded, that exists in the RelatedContentPanels logic.
public IsYammerAvailable ( ) : bool
Résultat bool

LoadRelatedIframeContent() public méthode

public LoadRelatedIframeContent ( string content, int width, int height ) : void
content string
width int
height int
Résultat void

LoadRelatedNodeHtmlContent() public méthode

public LoadRelatedNodeHtmlContent ( string content, int width, int height ) : void
content string
width int
height int
Résultat void

LoadRelatedVideoContent() public méthode

public LoadRelatedVideoContent ( string videoSourceUrl, VideoSize videoSize ) : void
videoSourceUrl string
videoSize VideoSize
Résultat void

MapLoadedCallback() public méthode

public MapLoadedCallback ( bool rootMapLoaded ) : void
rootMapLoaded bool
Résultat void

ResetAndHidePanels() public méthode

public ResetAndHidePanels ( ) : void
Résultat void

SetAuthorMode() public méthode

public SetAuthorMode ( ) : void
Résultat void

SetReaderMode() public méthode

public SetReaderMode ( ) : void
Résultat void

ShowActivityFeeds() public méthode

public ShowActivityFeeds ( ) : void
Résultat void

ShowRelatedMaps() public méthode

public ShowRelatedMaps ( string relatedMapsJson ) : void
relatedMapsJson string
Résultat void