C# Class Gbdx.Gbd.GbdDockableWindow

Mostrar archivo Open project: DigitalGlobe/DGConnect-ESRI Class Usage Examples

Private Properties

Property Type Description
AcquiredDateFilterSetup string
AddIdahoWms void
CatalogIdFilter string
CheckAccessToken void
CheckDateTime void
CheckOrderStatus void
CheckSelectedCellClick bool
CheckWmsCellClick bool
ClearPolygons void
CloudCoverFilterSetup string
ComboBoxSelectedIndexChanged void
CreateDataTable DataTable
CreateNewRow DataRow
CreateOrderTable DataTable
DataGridView1CellMouseEnter void
DataGridView1SelectionChanged void
DrawAoi void
DrawCheckedPolygons void
DrawPoly void
DrawViewablePolygons void
EventHandlerCellContentClick void
EventHandlerCellFormatting void
EventHandlerIdahoIdOnlyCheckBoxCheckedChanged void
ExportButtonClick void
ExportSelectionToFile void
FilterSetup string
GbdDockableWindowMouseLeave void
GbdDockableWindowVisibleChanged void
GetAccessToken string
GetGbdData void
GetImageryToBeOrdered List
GetOrderIdsForRefresh List
GetValue string
HandleOrderResponse void
HeaderBoxClicked void
IdahoIdOnlyFilterSetup string
InitializeComponent void
InstanceAoiHasBeenDrawn void
LoadGbdOrdersFromFile List
NadirAngleFilterSetup string
OrderImagery void
PanResolutionFilterSetup string
ProcessGbdSearchResult void
ProcessIdahoResult void
ProcessIdahoResultOld void
ProcessRow void
RefreshButtonClick void
ResetGbd void
SelectButtonClick void
SensorFilterSetup string
SetAllCheckBoxes void
SetDate void
SetHeaderBoxToOff void
SetImageryCheckbox void
SetupOrderStatusTable void
SublayerVisibleOn void
SunElevationFilterSetup string
ThreadLifeCheck void
ThumbnailPictureBoxLoadCompleted void
UpdateDataTable void
UpdateOrderListStatus void
UpdateOrderTable void
UpdateRecordStatus void
UpdateSelectedAndTotalLabels void
UpdateStatus void
WriteGbdOrdersToFile void

Public Methods

Method Description
GbdDockableWindow ( object hook ) : System

Initializes a new instance of the GbdDockableWindow class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AcquiredDateFilterSetup ( string filter, DateTimePicker from, DateTimePicker to ) : string

The acquired date filter setup.

AddIdahoWms ( string catalogId, string colorInterp ) : void

Add all current idaho ids for a given catalog id to arcmap

CatalogIdFilter ( string filter, string catId ) : string
CheckAccessToken ( ) : void
CheckDateTime ( object sender ) : void

The check date time.

CheckOrderStatus ( List orderList, IRestClient webClient, string token ) : void

The check order status.

CheckSelectedCellClick ( object sender, DataGridViewCellEventArgs e ) : bool
CheckWmsCellClick ( object sender, DataGridViewCellEventArgs e ) : bool

Functionality to check if the cell clicked was related to the WMS functionality.

ClearPolygons ( ) : void

Clear polygons from the display.

CloudCoverFilterSetup ( string filter ) : string

The cloud cover filter setup.

ComboBoxSelectedIndexChanged ( object sender, EventArgs e ) : void

The combo box selected index changed.

CreateDataTable ( ) : DataTable

The create data table.

CreateNewRow ( DataRow row, Result item, string catalogId ) : DataRow
CreateOrderTable ( ) : DataTable

Create Order Data Table

DataGridView1CellMouseEnter ( object sender, DataGridViewCellEventArgs e ) : void

The data grid view 1 cell mouse enter.

DataGridView1SelectionChanged ( object sender, EventArgs e ) : void

The data grid view 1 selection changed.

DrawAoi ( IGraphicsContainer graphicContainer ) : void

The draw aoi.

DrawCheckedPolygons ( ) : void

Draw the polygons that the user has checked.

DrawPoly ( Properties polyToBeDrawn, IGraphicsContainer graphicContainer ) : void

Draw the polygon contained within the properties.

DrawViewablePolygons ( ) : void

Draw all viewable polygons.

EventHandlerCellContentClick ( object sender, DataGridViewCellEventArgs e ) : void

Event handler for when the data grid view's cells have a click

EventHandlerCellFormatting ( object sender, DataGridViewCellFormattingEventArgs e ) : void

Everytime the cells format the imagery checkbox will update as well to ensure the row stays in sync correctly. Event Handling code prevents rows that don't have IDAHO ID's from being able to have a clickable checkbox.

EventHandlerIdahoIdOnlyCheckBoxCheckedChanged ( object sender, EventArgs e ) : void
ExportButtonClick ( object sender, EventArgs e ) : void

Event handler for when the export button is clicked.

ExportSelectionToFile ( ) : void

The export selection to file for the user to order imagery.

FilterSetup ( ) : string

The filter setup.

GbdDockableWindowMouseLeave ( object sender, EventArgs e ) : void
GbdDockableWindowVisibleChanged ( object sender, EventArgs e ) : void

The GBD dockable window visible changed event handler

GetAccessToken ( string apiKey, string username, string password ) : string
GetGbdData ( List polygons ) : void

Go out and get the GBD data.

GetImageryToBeOrdered ( DataGridView grid ) : List

Get the user selected imagery cat ids for ordering

GetOrderIdsForRefresh ( ) : List

The get order ids for refresh.

GetValue ( DataGridViewCell value ) : string
HandleOrderResponse ( List data ) : void

The handle order response.

HeaderBoxClicked ( ) : void

Check all or uncheck all based on what the status is of the header checkbox.

IdahoIdOnlyFilterSetup ( string filter ) : string
InitializeComponent ( ) : void

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

InstanceAoiHasBeenDrawn ( IPolygon poly, IElement elm ) : void

Event handler for when the AOI has been drawn.

LoadGbdOrdersFromFile ( string filepath ) : List

Load the GBD orders from given file path.

NadirAngleFilterSetup ( string filter ) : string

The nadir angle filter setup.

OrderImagery ( ) : void

Order the selected imagery.

PanResolutionFilterSetup ( string filter ) : string

The pan resolution filter setup.

ProcessGbdSearchResult ( IRestResponse resp, string polygon, string authToken ) : void
ProcessIdahoResult ( Result item, string catalogId, DataRow row ) : void
ProcessIdahoResultOld ( DataRow row, Result item ) : void
ProcessRow ( Result item, DataTable dt, Properties>.Dictionary responses ) : void
RefreshButtonClick ( object sender, EventArgs e ) : void

The refresh button click.

ResetGbd ( ) : void

Reset GBD window

SelectButtonClick ( object sender, EventArgs e ) : void

The select button click event handler

SensorFilterSetup ( string filter ) : string

The sensor filter setup.

SetAllCheckBoxes ( bool value, DataGridView view ) : void

Set all checkboxes

SetDate ( DateTimePicker &picker, DateTime &originalValue ) : void

The set date.

SetHeaderBoxToOff ( ) : void

Turn off the select all header and update the map

SetImageryCheckbox ( string idName, string checkboxName, DataGridViewRow row, string>.Dictionary checkedIds ) : void
SetupOrderStatusTable ( ) : void

Setup up the order status data table.

SublayerVisibleOn ( ILayer layer ) : void

Recursively iterate through the layers and turn their visbility to true

SunElevationFilterSetup ( string filter ) : string

The sun elevation filter setup.

ThreadLifeCheck ( Thread targetThread ) : void

Checks to see if the targeted thread is running. If it is then tells the thread its time to quit.

ThumbnailPictureBoxLoadCompleted ( object sender, AsyncCompletedEventArgs e ) : void

The thumbnail picture box load completed.

UpdateDataTable ( DataTable dataTobeAdded, Properties>.Dictionary responses ) : void

The update data table.

UpdateOrderListStatus ( string orderId, string status ) : void

The update order list status.

UpdateOrderTable ( IEnumerable payload, DataTable &orderTable ) : void

Update the order table with imagery that was ordered in the payload

UpdateRecordStatus ( GbdOrder orderStatusUpdate ) : void

Update record status

UpdateSelectedAndTotalLabels ( ) : void

The update selected and total label counts.

UpdateStatus ( ) : void
WriteGbdOrdersToFile ( List orders ) : void

Write the GBD orders to file from the GBD Order's Table.

Method Details

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

GbdDockableWindow() public method

Initializes a new instance of the GbdDockableWindow class.
public GbdDockableWindow ( object hook ) : System
hook object /// The hook. ///
return System