C# Class SIL.FieldWorks.FDO.DomainServices.BootstrapNewLanguageProject

Bootstrap a new language project suitable for use by end users. This will contain everything in that is included when a new FW 6.0 LP is created.
Exibir arquivo Open project: sillsdev/FieldWorks

Private Methods

Method Description
AddAnnotationDefn ( ICmPossibility owner, System.Guid guid ) : ICmAnnotationDefn
AddAnnotationDefn ( ICmPossibilityList posList, System.Guid guid ) : ICmAnnotationDefn
AddEntryTypes ( ILexDb lexDb ) : void

AddMorphTypes ( ILexDb lexDb ) : void

BootstrapNewSystem ( IServiceLocator servLoc ) : void

Create a new Language Project.

BootstrapWritingSystems ( ILangProject lp ) : void

Create the most basic parts of the LgWritingSystem objects. This can be everything except ITsStrings, which may depend on non-existing WS definitions. A second pass will add the ITsStrings.

InitializeLexDb ( ILangProject lp ) : void

Initialize lexical database and morph types

SetupAgents ( ILangProject lp ) : void

Add the agent types with their guids to the proper list.

SetupAnnotationDefns ( ILangProject lp ) : void

Add the annotation types with their guids to the propery possibility or list. TODO: these lists have other properties that need to be set at some point. Hopefully we'll just load that from NewLangProj or some other xml file.

SetupTranslationTypesAndKeyTermsList ( ILangProject lp ) : void

Add the translation types with their guids to the proper list and create the KeyTerms list.

SetupVariousPossibilityLists ( ILangProject lp ) : void

Create various possibility lists and add them to the language project.