C# Class Gbdx.Aggregations.AggregationWindow

Designer class of the dockable window add-in. It contains WPF user interfaces that make up the dockable window.
Inheritance: System.Windows.Controls.UserControl
Show file Open project: DigitalGlobe/DGConnect-ESRI

Private Properties

Property Type Description
AddLayerToArcMap void
Authenticate void
ButChangeInfoClick void
ButChangeInfoMultiClick void
ButPopFocLyrCbClick void
ButRunSignatureClick void
ButtAnalyzeAggClick void
ButtAnalyzeAggMClick void
ButtAnalyzeDiffClick void
ButtMultiAnalyzeDiffClick void
ButtonClick1 void
CreateAggregationArguments void
CreateAggsArgument string
EndDatePickerCalendarClosed void
GetGeoHashPoly Polygon
GoButtonClick void
HandleResponse void
InsertPivoTableRowsToFeatureClass void
InsertRow void
InstanceAoiHasBeenDrawn void
InstanceOnAoiHasBeenDrawn void
SelectAreaButtonClick void
SelectionTypeComboBoxSelectionChanged void
SetPBarProperties void
SpecifyDateCheckboxChecked void
StartDatePickerCalendarClosed void
UpdatePBar void
UpdateStatusLabel void
WriteToFeatureClass void

Public Methods

Method Description
AggregationWindow ( ) : System

Initializes a new instance of the AggregationWindow class.

FeatureLayerToPivotTable ( IFeatureLayer layer, string rowKeyColName, List columnsToIgnore ) : PivotTable
FeaturesToPivotTable ( List layers, string rowKeyColName, List columnsToIgnore ) : PivotTable
GetActiveViewFromArcMap ( IApplication application ) : IActiveView

Get ActiveView from ArcMap

GetContentsViewFromArcMap ( IApplication application, int index ) : IContentsView

Get the Contents View (TOC) for ArcMap.

GetFeatureLayersFromToc ( IActiveView activeView ) : List
GetLayerByName ( List layers, string name ) : IFeatureLayer
GetSelectedFeatureFromLayerByName ( List layers, string nameOfLayer ) : List
GetSelectedFeatures ( IFeatureLayer featureLayer ) : List

Private Methods

Method Description
AddLayerToArcMap ( string featureClassName ) : void

Adds a layer to arc map

Authenticate ( string user, string pass, IRestClient client, string auth, bool runAsync ) : void

The authenticate.

ButChangeInfoClick ( object sender, RoutedEventArgs e ) : void
ButChangeInfoMultiClick ( object sender, RoutedEventArgs e ) : void
ButPopFocLyrCbClick ( object sender, RoutedEventArgs e ) : void
ButRunSignatureClick ( object sender, RoutedEventArgs e ) : void
ButtAnalyzeAggClick ( object sender, RoutedEventArgs e ) : void
ButtAnalyzeAggMClick ( object sender, RoutedEventArgs e ) : void
ButtAnalyzeDiffClick ( object sender, RoutedEventArgs e ) : void
ButtMultiAnalyzeDiffClick ( object sender, RoutedEventArgs e ) : void
ButtonClick1 ( object sender, RoutedEventArgs e ) : void
CreateAggregationArguments ( RestRequest &request ) : void

Create the aggregation AGGS argument

CreateAggsArgument ( ) : string

The create AGGS argument.

EndDatePickerCalendarClosed ( object sender, RoutedEventArgs e ) : void

The end date picker calendar closed.

GetGeoHashPoly ( string geohash ) : Polygon

The get geo hash poly.

GoButtonClick ( object sender, RoutedEventArgs e ) : void

The go button_ click.

HandleResponse ( IRestResponse response ) : void
InsertPivoTableRowsToFeatureClass ( IFeatureClass featureClass, PivotTable ptable, string>.Dictionary uniqueFieldNames ) : void
InsertRow ( IFeatureClass featureClass, string key, IFeatureCursor insertCur, double>.Dictionary resultDictionary, string>.Dictionary uniqueFieldNames ) : void

Insert a row into the feature class.

InstanceAoiHasBeenDrawn ( IPolygon poly, IElement elm ) : void

The instance AOI has been drawn.

InstanceOnAoiHasBeenDrawn ( IPolygon poly, IElement elm ) : void

The instance on AOI has been drawn event handler.

SelectAreaButtonClick ( object sender, RoutedEventArgs e ) : void

The event handler for select area button click.

SelectionTypeComboBoxSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
SetPBarProperties ( int max, int min, int val ) : void
SpecifyDateCheckboxChecked ( object sender, RoutedEventArgs e ) : void

Enable/disable functionality based on if the specify date checkbox has been clicked.

StartDatePickerCalendarClosed ( object sender, RoutedEventArgs e ) : void

The start date picker calendar closed.

UpdatePBar ( int val ) : void
UpdateStatusLabel ( string label ) : void
WriteToFeatureClass ( IFeatureClass featureClass, double>.Dictionary resultDictionary, string>.Dictionary uniqueFieldNames, IWorkspace workspace ) : void

Method Details

AggregationWindow() public method

Initializes a new instance of the AggregationWindow class.
public AggregationWindow ( ) : System
return System

FeatureLayerToPivotTable() public method

public FeatureLayerToPivotTable ( IFeatureLayer layer, string rowKeyColName, List columnsToIgnore ) : PivotTable
layer IFeatureLayer
rowKeyColName string
columnsToIgnore List
return PivotTable

FeaturesToPivotTable() public method

public FeaturesToPivotTable ( List layers, string rowKeyColName, List columnsToIgnore ) : PivotTable
layers List
rowKeyColName string
columnsToIgnore List
return PivotTable

GetActiveViewFromArcMap() public method

Get ActiveView from ArcMap
public GetActiveViewFromArcMap ( IApplication application ) : IActiveView
application IApplication An IApplication interface that is the ArcMap application.
return IActiveView

GetContentsViewFromArcMap() public method

Get the Contents View (TOC) for ArcMap.
public GetContentsViewFromArcMap ( IApplication application, int index ) : IContentsView
application IApplication An IApplication interface that is the ArcMap application.
index int /// A System.Int32 that is the tab number of the TOC. When specifying the index number: 0 = usually the /// Display tab, 1 = usually the Source tab. ///
return IContentsView

GetFeatureLayersFromToc() public method

public GetFeatureLayersFromToc ( IActiveView activeView ) : List
activeView IActiveView
return List

GetLayerByName() public method

public GetLayerByName ( List layers, string name ) : IFeatureLayer
layers List
name string
return IFeatureLayer

GetSelectedFeatureFromLayerByName() public method

public GetSelectedFeatureFromLayerByName ( List layers, string nameOfLayer ) : List
layers List
nameOfLayer string
return List

GetSelectedFeatures() public method

public GetSelectedFeatures ( IFeatureLayer featureLayer ) : List
featureLayer IFeatureLayer
return List