C# Class Gbdx.Vector_Index.Forms.VectorIndexDockable

Designer class of the dock able window add-in. It contains user interfaces that make up the dockable window.
Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: DigitalGlobe/DGConnect-ESRI Class Usage Examples

Private Properties

Свойство Type Description
AddLayerToMap void
CreateContextMenuStrip UviContextMenuStrip
DownloadAllToolStripOnClick void
EventHandlerClearButtonClick void
EventHandlerSelectAreaButtonClick void
EventHandlerTextBoxSearchEnter void
EventHandlerTextBoxSearchKeyUp void
EventHandlerTextBoxSearchLeave void
EventHandlerTreeViewAfterCheck void
EventHandlerVectorIndexDockableVisibleChanged void
GetAuthenticationToken void
GetCheckedNodes List
GetFileNameCloseStream string
GetGeometries void
GetPages void
GetPagingId void
GetSources void
GetTypes void
InitializeComponent void
InstancePolygonHasBeenSet void
ProcessGeometries void
ProcessGeometryNodeClick void
ProcessGetTypesResponse void
ProcessPage void
ProcessPagingId void
ProcessSourceNodeClick void
ProcessSources void
ResetVectorServices void
ShapeAoi void
UpdateTreeNodeStatus void
UpdateTreeViewWithSources void
UpdateTreeviewWithGeometry void
UpdateTreeviewWithTypes void

Méthodes publiques

Méthode Description
VectorIndexDockable ( ) : System

Initializes a new instance of the VectorIndexDockable class. Default constructor.

VectorIndexDockable ( object hook ) : System

Initializes a new instance of the VectorIndexDockable class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
AddLayerToMap ( string tableName, string layerName ) : void
CreateContextMenuStrip ( TreeNode node ) : UviContextMenuStrip

The create context menu strip.

DownloadAllToolStripOnClick ( object sender, EventArgs e ) : void

The download all tool strip on click.

EventHandlerClearButtonClick ( object sender, EventArgs e ) : void

Event handler for when the clear button is clicked.

EventHandlerSelectAreaButtonClick ( object sender, EventArgs e ) : void

Event handler for when the select area button is clicked.

EventHandlerTextBoxSearchEnter ( object sender, EventArgs e ) : void

Event handler for when the search textbox gets focus

EventHandlerTextBoxSearchKeyUp ( object sender, KeyEventArgs e ) : void

The event handler for when the key up event for the search textbox is triggered.

EventHandlerTextBoxSearchLeave ( object sender, EventArgs e ) : void

Event handler for when the search textbox loses focus

EventHandlerTreeViewAfterCheck ( object sender, TreeViewEventArgs e ) : void

Event handler that fires every time a item is checked in the tree view.

EventHandlerVectorIndexDockableVisibleChanged ( object sender, EventArgs e ) : void

Event handler to handle the events of when the form's visibility changes.

GetAuthenticationToken ( ) : void
GetCheckedNodes ( TreeNodeCollection nodes ) : List

Retrieves a list of the currently checked nodes

GetFileNameCloseStream ( StreamWriter streamWriter ) : string
GetGeometries ( VectorIndexSourceNode source, int applicationState, int attempts ) : void
GetPages ( TreeNode node, string pageId, int applicationState, int totalCount, int currentCount, string layerName, StreamWriter fileStreamWriter, int attempts ) : void
GetPagingId ( TreeNode node, int applicationState, int attempts ) : void
GetSources ( int applicationState, int attempts ) : void
GetTypes ( TreeNode geometryNode, int applicationState, int attempts ) : void
InitializeComponent ( ) : void

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

InstancePolygonHasBeenSet ( IPolygon poly, IElement elm ) : void

Event handler for the polygon has been set. This is how the Vector index through the select area button gets kicked off.

ProcessGeometries ( IRestResponse resp, VectorIndexSourceNode source, int applicationState, int attempts ) : void
ProcessGeometryNodeClick ( TreeNode geometryNode ) : void

Process a geometry node click. (Polygon, Polyline, Point)

ProcessGetTypesResponse ( IRestResponse resp, TreeNode geometryNode, int applicationState, int attempts ) : void
ProcessPage ( TreeNode node, IRestResponse resp, int applicationState, int totalCount, int currentCount, string pageId, string layerName, StreamWriter fileStreamWriter, int attempts ) : void

Combine all the pages of json results into one big json collection and convert it to a feature class

ProcessPagingId ( IRestResponse resp, int attempts, TreeNode node, int applicationState ) : void
ProcessSourceNodeClick ( TreeNode sourceNode ) : void

Process a Source Node Click

ProcessSources ( IRestResponse resp, int applicationState, int attempts ) : void
ResetVectorServices ( ) : void

Resets the vector index. Deletes the element from the graphic container, clears the the treeview and search textbox and changes the current applications tate.

ShapeAoi ( IPolygon poly = null ) : void
UpdateTreeNodeStatus ( TreeNode node, string message ) : void
UpdateTreeViewWithSources ( IRestResponse resp ) : void
UpdateTreeviewWithGeometry ( IRestResponse resp, VectorIndexSourceNode source ) : void
UpdateTreeviewWithTypes ( IRestResponse resp, VectorIndexGeometryNode geometryNode ) : void

Method Details

Dispose() protected méthode

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

VectorIndexDockable() public méthode

Initializes a new instance of the VectorIndexDockable class. Default constructor.
public VectorIndexDockable ( ) : System
Résultat System

VectorIndexDockable() public méthode

Initializes a new instance of the VectorIndexDockable class.
public VectorIndexDockable ( object hook ) : System
hook object /// The hook. ///
Résultat System