C# Class NppXmlTreeviewPlugin.Forms.FormTreeView

Inheritance: System.Windows.Forms.Form
Mostrar archivo Open project: joaoasrosa/nppxmltreeview Class Usage Examples

Public Methods

Method Description
FormTreeView ( ) : System
SetNodeSelection ( ) : void
UpdateUserInterface ( ) : void

Updates the plugin user interface.

Private Methods

Method Description
AddNode ( NppXmlNode inXmlNode, TreeNode inTreeNode ) : void

Method to add a npp xml node to a tree node.

AddNodeToNode ( TreeNode treeNode, TreeNode parent ) : void

Method to add a tree node to a parent tree node.

AddNodeToTreeView ( TreeNode treeNode ) : void

Method to add a node to the tree view.

BackgroundWorker_SetNodeSelectionDoWork ( object sender, DoWorkEventArgs e ) : void

Background worker method to do the user selects text.

BackgroundWorker_ToggleTreeViewDoWork ( object sender, DoWorkEventArgs e ) : void

Background worker method to do the user interface updated.

BackgroundWorker_UpdateUserInterfaceDoWork ( object sender, DoWorkEventArgs e ) : void

Background worker method to do the user interface updated.

ButtonToggle_Click ( object sender, EventArgs e ) : void

Method to handle the toggle button click.

ClearNodes ( ) : void

Clear the treeview nodes.

CollapseTreeView ( ) : void

Method to collapse the tree view.

EnableToggleButton ( bool enable ) : void

Method to enable the toggle button.

ExpandTreeView ( ) : void

Method to expand the tree view.

GenerateTreeNode ( NppXmlNode node ) : TreeNode

Method to generate a treenode from a npp tree node.

GetDocumentText ( IntPtr currentScintilla ) : string

Method to get the text from the Scintilla component.

SetStatusLabelText ( string text ) : void

Method to set the label status text.

SetTreeviewSelection ( string id ) : void

Selects the treenode in the treeview.

SetTreeviewVisibility ( bool visible ) : void

Method to set the label visibility.

TreeView_NodeMouseClick ( object sender, TreeNodeMouseClickEventArgs e ) : void

Method to handle the tree node click.

Method Details

FormTreeView() public method

public FormTreeView ( ) : System
return System

SetNodeSelection() public method

public SetNodeSelection ( ) : void
return void

UpdateUserInterface() public method

Updates the plugin user interface.
public UpdateUserInterface ( ) : void
return void