C# Class Gbdx.Answer_Factory.AnswerFactoryDockableWindow

Show file Open project: DigitalGlobe/DGConnect-ESRI Class Usage Examples

Private Properties

Property Type Description
AddLayerToMap bool
AnswerFactoryDockableWindow_Load void
AnswerFactoryDockableWindow_VisibleChanged void
CheckBaseUrl void
ConvertAoisToGeometryCollection string
ConvertPagesToFeatureClass void
CreateElementAois List
CreateProjIdDataTable DataTable
CreateProjectJson string
CreateRecipeInfoDataDatable DataTable
EventHandlerShowResultsButtonClick void
EventhandlerSelectionTypecomboBoxSelectedIndexChanged void
GetGeometries void
GetGeometriesResponseProcess void
GetIds List
GetPageIdResponseProcess void
GetPages void
GetPagingId void
GetProjects void
GetRecipe Recipe
GetRecipeStatus void
GetRecipes void
GetRecipes void
GetResult void
GetToken void
GetTypes void
GetTypesResponseProcess void
InitializeComponent void
Instance_AoiHasBeenDrawn void
MergeJsonStrings JObject
MergeProperties JObject
ProcessPageResponse void
ProcessResult void
UpdateProjectsUi void
UpdateRecipeUiStatus void
UpdateUiWithRecipes void
WriteToTable bool
drawButton_Click void
projectNameDataGridView_CellClick void
projectSearchTextBox_TextChanged void
resetButton_Click void
resultRefrshButton_Click void
saveButton_Click void

Public Methods

Method Description
AnswerFactoryDockableWindow ( object hook ) : System
SearchBoxGotFocus ( object sender, EventArgs e ) : void
SearchBoxLostFocus ( object sender, EventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddLayerToMap ( string tableName, string layerName ) : bool
AnswerFactoryDockableWindow_Load ( object sender, EventArgs e ) : void
AnswerFactoryDockableWindow_VisibleChanged ( object sender, EventArgs e ) : void
CheckBaseUrl ( ) : void
ConvertAoisToGeometryCollection ( List aois ) : string
ConvertPagesToFeatureClass ( string filepath, string layerName ) : void
CreateElementAois ( List polygons, IEnvelope &encompassingEnvelope ) : List
CreateProjIdDataTable ( ) : DataTable
CreateProjectJson ( List polygons ) : string
CreateRecipeInfoDataDatable ( ) : DataTable
EventHandlerShowResultsButtonClick ( object sender, EventArgs e ) : void
EventhandlerSelectionTypecomboBoxSelectedIndexChanged ( object sender, EventArgs e ) : void
GetGeometries ( string query, string token, string aoi, IRestClient client, string layerName, int attempt ) : void
GetGeometriesResponseProcess ( IRestResponse resp, string query, string token, string aoi, IRestClient client, string layerName, int geomAttempts ) : void
GetIds ( List results ) : List
GetPageIdResponseProcess ( IRestResponse resp, string geometry, string type, string query, string token, string aoi, IRestClient client, string layerName, int pageIdAttempts ) : void
GetPages ( string pageId, string token, IRestClient client, StreamWriter fileStreamWriter, string layerName, int attempts ) : void
GetPagingId ( string geometry, string type, string query, string token, string aoi, IRestClient client, string layerName, int attempts ) : void
GetProjects ( string authToken ) : void
GetRecipe ( string name ) : Recipe
GetRecipeStatus ( string authToken, string projectId ) : void
GetRecipes ( ) : void
GetRecipes ( string authToken, string projectId ) : void
GetResult ( string id, string recipeName, string projectName ) : void
GetToken ( ) : void

Get Token to use with GBDX services

GetTypes ( string geometry, string query, string token, string aoi, IRestClient client, string layerName, int attempts ) : void
GetTypesResponseProcess ( IRestResponse resp, string geometry, string query, string token, string aoi, IRestClient client, string layerName, int typeAttempts ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Instance_AoiHasBeenDrawn ( IPolygon poly, IElement elm ) : void
MergeJsonStrings ( string filePath ) : JObject
MergeProperties ( JObject jsonObject ) : JObject
ProcessPageResponse ( IRestResponse resp, string token, string pageId, IRestClient client, string layerName, int pageAttempts, StreamWriter fileStreamWriter ) : void
ProcessResult ( string projectName, string recipeName, IRestResponse resp, List AoiList, string token, IRestClient client ) : void
UpdateProjectsUi ( List projects ) : void
UpdateRecipeUiStatus ( List results ) : void
UpdateUiWithRecipes ( List results, Guid processingGuid ) : void
WriteToTable ( IWorkspace workspace, string featureClassJson, string tableName ) : bool
drawButton_Click ( object sender, EventArgs e ) : void
projectNameDataGridView_CellClick ( object sender, DataGridViewCellEventArgs e ) : void
projectSearchTextBox_TextChanged ( object sender, EventArgs e ) : void
resetButton_Click ( object sender, EventArgs e ) : void
resultRefrshButton_Click ( object sender, EventArgs e ) : void
saveButton_Click ( object sender, EventArgs e ) : void

Method Details

AnswerFactoryDockableWindow() public method

public AnswerFactoryDockableWindow ( object hook ) : System
hook object
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

SearchBoxGotFocus() public method

public SearchBoxGotFocus ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

SearchBoxLostFocus() public method

public SearchBoxLostFocus ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void