C# Class SilverlightMappingToolBasic.RelatedContentPanelUtil

Mostra file Open project: chris-tomich/Glyma

Private Properties

Property Type Description
RelatedContentPanelUtil System

Public Methods

Method 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

Method Description
RelatedContentPanelUtil ( ) : System

Method Details

ClearRelatedMaps() public method

public ClearRelatedMaps ( ) : void
return void

InvokeAuthorContextMenuCallback() public method

public InvokeAuthorContextMenuCallback ( string contextMenuItemName, string rootMap, string map, string node ) : void
contextMenuItemName string
rootMap string
map string
node string
return void

InvokeReaderContextMenuCallback() public method

public InvokeReaderContextMenuCallback ( string contextMenuItemName, string rootMap, string map, string node ) : void
contextMenuItemName string
rootMap string
map string
node string
return void

IsJavascriptLibraryLoaded() public method

public IsJavascriptLibraryLoaded ( ) : bool
return bool

IsYammerAvailable() public method

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
return bool

LoadRelatedIframeContent() public method

public LoadRelatedIframeContent ( string content, int width, int height ) : void
content string
width int
height int
return void

LoadRelatedNodeHtmlContent() public method

public LoadRelatedNodeHtmlContent ( string content, int width, int height ) : void
content string
width int
height int
return void

LoadRelatedVideoContent() public method

public LoadRelatedVideoContent ( string videoSourceUrl, VideoSize videoSize ) : void
videoSourceUrl string
videoSize VideoSize
return void

MapLoadedCallback() public method

public MapLoadedCallback ( bool rootMapLoaded ) : void
rootMapLoaded bool
return void

ResetAndHidePanels() public method

public ResetAndHidePanels ( ) : void
return void

SetAuthorMode() public method

public SetAuthorMode ( ) : void
return void

SetReaderMode() public method

public SetReaderMode ( ) : void
return void

ShowActivityFeeds() public method

public ShowActivityFeeds ( ) : void
return void

ShowRelatedMaps() public method

public ShowRelatedMaps ( string relatedMapsJson ) : void
relatedMapsJson string
return void