C# Class FDOBrowser.FdoInspectorList

Inheritance: GenericInspectorObjectList
Show file Open project: sillsdev/FieldWorks

Public Methods

Method Description
FdoInspectorList ( SIL.FieldWorks.FDO.FdoCache cache ) : System

Initializes a new instance of the T:FdoInspectorList class.

GotoGuid ( System.Guid guid ) : int

Finds the item in the list having the specified hvo.

Initialize ( object topLevelObj ) : void

Initializes the list using the specified top level object.

Initialize ( object topLevelObj, IInspectorObject>.Dictionary iobectsToKeep ) : void

Initializes the list using the specified top level object.

Protected Methods

Method Description
BaseGetInspectorObjects ( object obj, int level ) : List

Gets a list of IInspectorObject objects representing all the properties for the specified object, which is assumed to be at the specified level.

CreateInspectorObject ( PropertyInfo pi, object obj, object owningObj, IInspectorObject ioParent, int level ) : IInspectorObject

Gets an inspector object for the specified property info., checking for various FDO interface types.

GetInspectorObjects ( object obj, int level ) : List

Gets a list of IInspectorObject objects for the properties of the specified object.

GetInspectorObjectsForCustomRC ( object obj, IInspectorObject ioParent, int level ) : List

Create the reference collectiomn list for ther custom reference collection.,

GetInspectorObjectsForUniRuns ( ITsString obj, IInspectorObject ioParent, int level ) : List

Condenses the 'Run' information for MultiUnicodeAccessor entries because there will only be 1 run,

GetInspectorObjectsForValues ( object obj, IInspectorObject ioParent, int level ) : List

Gets a list of IInspectorObject objects representing all the properties for the specified object, which is assumed to be at the specified level.

GetPropsForObj ( object obj ) : System.Reflection.PropertyInfo[]

Gets the properties specified in the meta data cache for the specified object .

Private Methods

Method Description
CreateCustomInspectorObject ( object obj, IInspectorObject ParentIo, int level, CustomFields cf ) : IInspectorObject

Create InspectorObjects for the custom fields for the current object.

ExpandObject ( ICmObject obj ) : int

Expands the row corresponding to the specified CmObject.

FindObjInVector ( ICmObject obj, IFdoVector vect ) : int

Finds the index of the specified CmObject's guid in the specified IFdoVector.

GetFieldsFromMetaDataCache ( ICmObject cmObj ) : System.Reflection.PropertyInfo[]

Gets the fields from meta data cache.

GetInspectorObjectForDateTime ( System.DateTime tmpObj, IInspectorObject ioParent, int level ) : List

Process lines that have a DateTime type.

GetInspectorObjectsForMultiString ( IMultiAccessorBase msa, IInspectorObject ioParent, int level ) : List

Gets the inspector objects for the specified MultiString.

GetInspectorObjectsForRepository ( object obj, IInspectorObject ioParent, int level ) : List

Gets the inspector objects for the specified repository object;

GetInspectorObjectsForTextProps ( TextProps txp, IInspectorObject ioParent, int level ) : List

Gets the inspector objects for the specified TextProps.

GetInspectorObjectsForTsString ( ITsString tss, IInspectorObject ioParent, int level ) : List

Gets the inspector objects for the specified TsString.

GetMultiStringInspectorObjects ( object obj, IInspectorObject ioParent, int level ) : List

Gets a list of IInspectorObject objects (same as base), but includes s lot of specifics if you choose not to see virtual fields.

GetObjectOnly ( string objectName ) : string

Returbs the object number only (as a string).

GetRepositoryInstances ( object repository ) : List

Gets a list of all the instances in the specified repository.

RevisePropsList ( ICmObject cmObj, List &props ) : void

Removes properties from the specified list of properties, those properties the user has specified he doesn't want to see in the browser.

StripOffFDONamespace ( string type ) : string

SwapInspectorObjects ( IInspectorObject>.Dictionary iobectsToKeep ) : void

Method Details

BaseGetInspectorObjects() protected method

Gets a list of IInspectorObject objects representing all the properties for the specified object, which is assumed to be at the specified level.
protected BaseGetInspectorObjects ( object obj, int level ) : List
obj object
level int
return List

CreateInspectorObject() protected method

Gets an inspector object for the specified property info., checking for various FDO interface types.
protected CreateInspectorObject ( PropertyInfo pi, object obj, object owningObj, IInspectorObject ioParent, int level ) : IInspectorObject
pi System.Reflection.PropertyInfo
obj object
owningObj object
ioParent IInspectorObject
level int
return IInspectorObject

FdoInspectorList() public method

Initializes a new instance of the T:FdoInspectorList class.
public FdoInspectorList ( SIL.FieldWorks.FDO.FdoCache cache ) : System
cache SIL.FieldWorks.FDO.FdoCache
return System

GetInspectorObjects() protected method

Gets a list of IInspectorObject objects for the properties of the specified object.
protected GetInspectorObjects ( object obj, int level ) : List
obj object
level int
return List

GetInspectorObjectsForCustomRC() protected method

Create the reference collectiomn list for ther custom reference collection.,
protected GetInspectorObjectsForCustomRC ( object obj, IInspectorObject ioParent, int level ) : List
obj object
ioParent IInspectorObject
level int
return List

GetInspectorObjectsForUniRuns() protected method

Condenses the 'Run' information for MultiUnicodeAccessor entries because there will only be 1 run,
protected GetInspectorObjectsForUniRuns ( ITsString obj, IInspectorObject ioParent, int level ) : List
obj ITsString
ioParent IInspectorObject
level int
return List

GetInspectorObjectsForValues() protected method

Gets a list of IInspectorObject objects representing all the properties for the specified object, which is assumed to be at the specified level.
protected GetInspectorObjectsForValues ( object obj, IInspectorObject ioParent, int level ) : List
obj object
ioParent IInspectorObject
level int
return List

GetPropsForObj() protected method

Gets the properties specified in the meta data cache for the specified object .
protected GetPropsForObj ( object obj ) : System.Reflection.PropertyInfo[]
obj object
return System.Reflection.PropertyInfo[]

GotoGuid() public method

Finds the item in the list having the specified hvo.
public GotoGuid ( System.Guid guid ) : int
guid System.Guid
return int

Initialize() public method

Initializes the list using the specified top level object.
public Initialize ( object topLevelObj ) : void
topLevelObj object
return void

Initialize() public method

Initializes the list using the specified top level object.
public Initialize ( object topLevelObj, IInspectorObject>.Dictionary iobectsToKeep ) : void
topLevelObj object
iobectsToKeep IInspectorObject>.Dictionary
return void