Свойство | Тип | Описание | |
---|---|---|---|
cboPTBackTrans | SIL.FieldWorks.Common.Controls.FwOverrideComboBox | ||
cboPTLangProj | SIL.FieldWorks.Common.Controls.FwOverrideComboBox | ||
cboPTTransNotes | SIL.FieldWorks.Common.Controls.FwOverrideComboBox | ||
lvScrMappings | SIL.FieldWorks.Common.Controls.FwListView | ||
m_MappingDialog | SIL.FieldWorks.TE.ModifyMapping | ||
m_PTLangProjects | List |
||
m_ScriptureText | ISCScriptureText | ||
m_StyleSheet | FwStyleSheet | ||
m_btnAddNoteMapping | |||
m_btnAddScrMapping | |||
m_btnBack | |||
m_btnCurrentAddButton | |||
m_btnCurrentDeleteButton | |||
m_btnCurrentModifyButton | |||
m_btnDeleteNoteMapping | |||
m_btnDeleteScrMapping | |||
m_btnModifyNoteMapping | |||
m_btnModifyScrMapping | |||
m_btnNext | |||
m_cache | SIL.FieldWorks.FDO.FdoCache | ||
m_fShowAllMappings | bool | ||
m_inlineMappingDialog | SIL.FieldWorks.TE.CharacterMappingSettings | ||
m_lvCurrentMappingList | SIL.FieldWorks.Common.Controls.FwListView | ||
m_projectType | ProjectTypes | ||
m_scr | IScripture | ||
m_settings | IScrImportSet | ||
rbOther | |||
rbParatext5 | |||
rbParatext6 | |||
sfFileListBuilder | SIL.FieldWorks.Common.Controls.SFFileListBuilder |
Метод | Описание | |
---|---|---|
CheckDisposed ( ) : void |
Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
|
|
DisplayMappingDialog ( |
Shows the dlg modally. This is a public virtual so that test code can override it.
|
|
ImportWizard ( string langProjName, IScripture scr, FwStyleSheet styleSheet, IHelpTopicProvider helpTopicProvider, IApp app ) : System |
Constructor for runtime.
|
Метод | Описание | |
---|---|---|
DisplayInlineMappingDialog ( SIL.FieldWorks.FDO.DomainServices.ImportMappingInfo mapping ) : void |
Creates (if necessary) and shows the CharacterMappingSettings dialog. This is a public virtual so that test code can override it.
|
|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
IsDup ( string beginMarker ) : bool |
Handles the CharacterMappingsettings.IsDuplicateMapping event. Checks for duplicate begin marker, unless we're just modifying other properties of an existing one. ///
|
|
LoadMappingsFromSettings ( ) : void |
This method gets all the mappings from the ScrImportSet and loads them into a list view so the user can modify them if necessary.
|
|
LoadMappingsFromSettings ( SIL.FieldWorks.Common.Controls.FwListView lv, MappingSet mappingSet ) : void |
This method gets all the mappings from the ScrImportSet and loads them into a list view so the user can modify them if necessary.
|
|
OnClosing ( CancelEventArgs e ) : void |
Save in the registry the dialog's location and size along with the widths of the list view columns.
|
|
OnFilesChanged ( ) : void |
If there aren't any files for SFM import, this event handler prevents the user from continuing in the wizard.
|
|
OnLoad ( |
|
|
OnPaint ( PaintEventArgs e ) : void |
This will draw the the etched line that separates the dialog's buttons at the bottom from the rest of the dialog.
|
|
btnAdd_Click ( object sender, |
Display the Add Character Mapping Settings dialog box
|
|
btnDelete_Click ( object sender, |
|
|
lvMappings_SelectedIndexChanged ( object sender, |
Prevent user from changing mapping for chapter and verse markers. If there are no markers at all disable modify button as well.
|
|
m_btnBack_Click ( object sender, |
Handles the Click event of the m_btnBack control.
|
|
m_btnModify_Click ( object sender, |
|
|
m_btnNext_Click ( object sender, |
Handles the Click event of the m_btnNext control.
|
Метод | Описание | |
---|---|---|
CheckProjectCombo ( string projName, SIL.FieldWorks.Common.Controls.FwOverrideComboBox projCombo, ImportDomain domain ) : void |
Checks the contents of the project combo. We call this after we attempt to assign the projName in the import settings to the current selection in the project combo box.
|
|
DefineImportSettings ( TypeOfImport importType ) : void |
Defines the import settings given a type of import (Paratext5, Paratext6 or Other). Either we find import settings in the database or create a new set.
|
|
FindParatextProjects ( ) : bool |
Loads a list with the Paratext projects on a user's system.
|
|
GetMappingDetailsAsString ( SIL.FieldWorks.FDO.DomainServices.ImportMappingInfo mapping ) : string |
For the given mapping, compute a string to display in the details column of the mapping list.
|
|
GetPTShortName ( SIL.FieldWorks.Common.Controls.FwOverrideComboBox cbo ) : string |
Gets the selected ParaText project short name from the selected item in a combo box list.
|
|
ImportWizard ( ) : System |
Initializes the ImportWizard class.
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
InitializeScrImportSettings ( ) : void |
Initializes the Scripture import settings object. This should be called whenever m_settings is reassigned to a new instance of the ScrImportSet class.
|
|
LoadLVMappingItem ( SIL.FieldWorks.Common.Controls.FwListView lv, SIL.FieldWorks.FDO.DomainServices.ImportMappingInfo mapping ) : System.Windows.Forms.ListViewItem |
This method will add or modify a single mapping to the list view.
|
|
LoadLVMappingItem ( SIL.FieldWorks.Common.Controls.FwListView lv, System.Windows.Forms.ListViewItem item, SIL.FieldWorks.FDO.DomainServices.ImportMappingInfo mapping ) : System.Windows.Forms.ListViewItem |
This method will add or modify a single mapping in the list view.
|
|
LoadParatextProjectCombo ( SIL.FieldWorks.Common.Controls.FwOverrideComboBox cbo, string selectedProj ) : void |
Load the given combobox and select the selected project, if any.
|
|
LoadParatextProjectCombos ( ) : void | ||
MappingContextMenu_Click ( object sender, |
Process a menu item click on the context menu
|
|
MappingStyleNameAsUIString ( SIL.FieldWorks.FDO.DomainServices.ImportMappingInfo mapping ) : string |
|
|
PrepareToGetOtherProjectSettings ( ) : void |
This method is called after the user has chosen to import a non Paratext project (e.g. a standard format project). Prepare to get the settings for that import.
|
|
PrepareToGetParatextProjectSettings ( ) : bool |
This method is called after the user has chosen to import a Paratext project. Prepare to get the settings for that import by first, making sure there are Paratext projects on the system, and if there is, loading misc. information about the projects in order for the user to specify the import settings.
|
|
RestoreWindowsSettings ( ) : void |
Get, from the registry, the dialog's location and size along with the widths of the list view columns.
|
|
SetParatextProjectIds ( ) : bool |
Store in the settings the Paratext projects selected in the combo boxes from the project location step, provided they are valid projects.
|
|
UpdateStepLabel ( ) : void |
|
|
ValidToGoForward ( ) : bool | ||
cboShowMappings_SelectedIndexChanged ( object sender, |
Handles the SelectedIndexChanged event of the cboShowMappings control.
|
|
lvMappings_DoubleClick ( object sender, |
Handles the double click on the listview. It will make it modify the item double-clicked.
|
|
lvMappings_DrawSubItem ( object sender, |
Handles the DrawSubItem event of the lvMappings control.
|
|
m_btnHelp_Click ( object sender, |
Open the help window when the help button is pressed.
|
|
m_cmMappings_Popup ( object sender, |
Set the context menu's checked properties appropriately before showing the menu.
|
|
panStep1_VisibleChanged ( object sender, |
|
|
panStep2_Other_VisibleChanged ( object sender, |
Make sure the next button is disabled when the file list is empty.
|
|
panStep2_PT_VisibleChanged ( object sender, |
Make sure the next button is disabled when there are no paratext projects available
|
|
panStep3_VisibleChanged ( object sender, |
Fill the mappings listview with all mappings from the Paratext project(s) or SF files.
|
|
rbOther_CheckedChanged ( object sender, |
Handles the CheckedChanged event of the rbOther control (Other USFM radio button).
|
|
rbParatext5_CheckedChanged ( object sender, |
Handles the CheckedChanged event of the rbParatext5 control (Paratext 5 radio button).
|
|
rbParatext6_CheckedChanged ( object sender, |
Handles the CheckedChanged event of the rbParatext6 control (Paratext 6 radio button).
|
|
tabCtrlMappings_SelectedIndexChanged ( object sender, |
Handles the SelectedIndexChanged event of the tabCtrlMappings control.
|
protected DisplayInlineMappingDialog ( SIL.FieldWorks.FDO.DomainServices.ImportMappingInfo mapping ) : void | ||
mapping | SIL.FieldWorks.FDO.DomainServices.ImportMappingInfo | Provides intial values displayed in dialog. |
Результат | void |
public DisplayMappingDialog ( |
||
dlg | The dialog to show | |
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public ImportWizard ( string langProjName, IScripture scr, FwStyleSheet styleSheet, IHelpTopicProvider helpTopicProvider, IApp app ) : System | ||
langProjName | string | Name of the lang proj. |
scr | IScripture | The Scripture object. |
styleSheet | FwStyleSheet | The styleSheet |
helpTopicProvider | IHelpTopicProvider | The help topic provider. |
app | IApp | The app. |
Результат | System |
protected IsDup ( string beginMarker ) : bool | ||
beginMarker | string | |
Результат | bool |
protected LoadMappingsFromSettings ( ) : void | ||
Результат | void |
protected LoadMappingsFromSettings ( SIL.FieldWorks.Common.Controls.FwListView lv, MappingSet mappingSet ) : void | ||
lv | SIL.FieldWorks.Common.Controls.FwListView | The list view to add mappings to |
mappingSet | MappingSet | The set of mappings to add |
Результат | void |
protected OnClosing ( CancelEventArgs e ) : void | ||
e | CancelEventArgs | |
Результат | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
Результат | void |
protected btnAdd_Click ( object sender, |
||
sender | object | |
e | ||
Результат | void |
protected btnDelete_Click ( object sender, |
||
sender | object | Not used |
e | Not used | |
Результат | void |
protected lvMappings_SelectedIndexChanged ( object sender, |
||
sender | object | Not used |
e | Not used | |
Результат | void |
protected m_btnBack_Click ( object sender, |
||
sender | object | The source of the event. |
e | The |
|
Результат | void |
protected m_btnModify_Click ( object sender, |
||
sender | object | |
e | ||
Результат | void |
protected m_btnNext_Click ( object sender, |
||
sender | object | The source of the event. |
e | The |
|
Результат | void |
protected FwOverrideComboBox,SIL.FieldWorks.Common.Controls cboPTBackTrans | ||
Результат | SIL.FieldWorks.Common.Controls.FwOverrideComboBox |
protected FwOverrideComboBox,SIL.FieldWorks.Common.Controls cboPTLangProj | ||
Результат | SIL.FieldWorks.Common.Controls.FwOverrideComboBox |
protected FwOverrideComboBox,SIL.FieldWorks.Common.Controls cboPTTransNotes | ||
Результат | SIL.FieldWorks.Common.Controls.FwOverrideComboBox |
protected FwListView,SIL.FieldWorks.Common.Controls lvScrMappings | ||
Результат | SIL.FieldWorks.Common.Controls.FwListView |
protected ModifyMapping,SIL.FieldWorks.TE m_MappingDialog | ||
Результат | SIL.FieldWorks.TE.ModifyMapping |
protected ISCScriptureText m_ScriptureText | ||
Результат | ISCScriptureText |
protected Button,System.Windows.Forms m_btnAddNoteMapping | ||
Результат |
protected Button,System.Windows.Forms m_btnAddScrMapping | ||
Результат |
protected Button,System.Windows.Forms m_btnBack | ||
Результат |
protected Button,System.Windows.Forms m_btnCurrentAddButton | ||
Результат |
protected Button,System.Windows.Forms m_btnCurrentDeleteButton | ||
Результат |
protected Button,System.Windows.Forms m_btnCurrentModifyButton | ||
Результат |
protected Button,System.Windows.Forms m_btnDeleteNoteMapping | ||
Результат |
protected Button,System.Windows.Forms m_btnDeleteScrMapping | ||
Результат |
protected Button,System.Windows.Forms m_btnModifyNoteMapping | ||
Результат |
protected Button,System.Windows.Forms m_btnModifyScrMapping | ||
Результат |
protected Button,System.Windows.Forms m_btnNext | ||
Результат |
protected FdoCache,SIL.FieldWorks.FDO m_cache | ||
Результат | SIL.FieldWorks.FDO.FdoCache |
protected CharacterMappingSettings,SIL.FieldWorks.TE m_inlineMappingDialog | ||
Результат | SIL.FieldWorks.TE.CharacterMappingSettings |
protected FwListView,SIL.FieldWorks.Common.Controls m_lvCurrentMappingList | ||
Результат | SIL.FieldWorks.Common.Controls.FwListView |
protected RadioButton,System.Windows.Forms rbOther | ||
Результат |
protected RadioButton,System.Windows.Forms rbParatext5 | ||
Результат |
protected RadioButton,System.Windows.Forms rbParatext6 | ||
Результат |