C# Class FdoToolbox.Tasks.Controls.BulkCopy.PropertyMappingsNodeDecorator

Helper class to perform manipulation of the tree nodes
Datei anzeigen Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
AddProperty ( PropertyDefinition prop ) : void
GetPropertyMappings ( ) : NameValueCollection
MapProperty ( string propertyName, string destProperty, bool createIfNotExists ) : void
RemoveMapping ( string propertyName ) : void

Private Methods

Method Description
BuildSelectedPropertyContextMenu ( ClassDefinition cd, EventHandler mapHandler, EventHandler removeMappingHandler, EventHandler autoCreateHandler ) : ContextMenuStrip
GetConversionRule ( string p ) : PropertyConversionNodeDecorator
OnAutoMap ( object sender, EventArgs e ) : void
OnMapAutoCreate ( object sender, EventArgs e ) : void
OnMapProperty ( object sender, EventArgs e ) : void
OnRemovePropertyMapping ( object sender, EventArgs e ) : void
PropertyMappingsNodeDecorator ( CopyTaskNodeDecorator parent, TreeNode mappingsNode ) : System

Method Details

AddProperty() public method

public AddProperty ( PropertyDefinition prop ) : void
prop PropertyDefinition
return void

GetPropertyMappings() public method

public GetPropertyMappings ( ) : NameValueCollection
return System.Collections.Specialized.NameValueCollection

MapProperty() public method

public MapProperty ( string propertyName, string destProperty, bool createIfNotExists ) : void
propertyName string
destProperty string
createIfNotExists bool
return void

RemoveMapping() public method

public RemoveMapping ( string propertyName ) : void
propertyName string
return void