C# Class SobekCM.Library.ItemViewer.Viewers.Google_Coordinate_Entry_ItemViewer

Class to allow a user to add coordinate information to a digital resource ( map coverage, points of interest, etc.. )
This class extends the abstract class abstractItemViewer and implements the iItemViewer interface.
Inheritance: SobekCM.Library.ItemViewer.Viewers.abstractItemViewer
Mostra file Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Add_Main_Viewer_Section ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void

Allows controls to be added directory to a place holder, rather than just writing to the output HTML stream

This method does nothing, since nothing is added to the place holder as a control for this item viewer

Add_ViewerSpecific_Body_Attributes ( string>.List Body_Attributes ) : void

Gets the collection of body attributes to be included within the HTML body tag (usually to add events to the body)

Google_Coordinate_Entry_ItemViewer ( BriefItemInfo BriefItem, SobekCM.Library.Users.User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer ) : System

Constructor for a new instance of the Google_Coordinate_Entry_ItemViewer class, used to edit the coordinate information associated with this digital resource within an online google maps interface

SaveContent ( String SendData ) : void

parse and save incoming message

Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void

Write the item viewer main section as HTML directly to the HTTP output stream

Private Methods

Method Description
Convert_String_To_XML_Safe ( string Element ) : string

Converts a basic string into an XML-safe string

Method Details

Add_Main_Viewer_Section() public method

Allows controls to be added directory to a place holder, rather than just writing to the output HTML stream
This method does nothing, since nothing is added to the place holder as a control for this item viewer
public Add_Main_Viewer_Section ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void
MainPlaceHolder System.Web.UI.WebControls.PlaceHolder Main place holder ( "mainPlaceHolder" ) in the itemNavForm form into which the bulk of the item viewer's output is displayed
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Add_ViewerSpecific_Body_Attributes() public method

Gets the collection of body attributes to be included within the HTML body tag (usually to add events to the body)
public Add_ViewerSpecific_Body_Attributes ( string>.List Body_Attributes ) : void
Body_Attributes string>.List List of body attributes to be included
return void

Google_Coordinate_Entry_ItemViewer() public method

Constructor for a new instance of the Google_Coordinate_Entry_ItemViewer class, used to edit the coordinate information associated with this digital resource within an online google maps interface
public Google_Coordinate_Entry_ItemViewer ( BriefItemInfo BriefItem, SobekCM.Library.Users.User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer ) : System
BriefItem BriefItemInfo Digital resource object
CurrentUser SobekCM.Library.Users.User_Object Current user, who may or may not be logged on
CurrentRequest Navigation_Object Information about the current request
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return System

SaveContent() public method

parse and save incoming message
public SaveContent ( String SendData ) : void
SendData String message from page
return void

Write_Main_Viewer_Section() public method

Write the item viewer main section as HTML directly to the HTTP output stream
public Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Response stream for the item viewer to write directly to
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void