프로퍼티 | 타입 | 설명 | |
---|---|---|---|
m_StyleSheet | FwStyleSheet | ||
m_app | |||
m_configFile | string | ||
m_delegate | SIL.FieldWorks.Common.Framework.MainWindowDelegate | ||
m_fWindowIsCopy | bool | ||
m_installedVirtualHandlers | List |
||
m_startupLink | FwLinkArgs | ||
m_viewHelper | |||
s_wm_kmselectlang | uint |
메소드 | 설명 | |
---|---|---|
ClearInvalidatedStoredData ( ) : void | ||
CreateMilestoneProgressState ( XCore.Mediator mediator ) : SIL.FieldWorks.Common.Controls.ProgressState |
factory method for getting a progress state which is already hooked up to the correct progress panel
|
|
CreateNewFileName ( string fullName, string oldString, string newString ) : string |
|
|
CreatePredictiveProgressState ( XCore.Mediator mediator, string taskLabel ) : SIL.FieldWorks.Common.Controls.ProgressState |
factory method for getting a progress state which is already hooked up to the correct progress panel
|
|
CreateSimpleProgressState ( XCore.Mediator mediator ) : SIL.FieldWorks.Common.Controls.ProgressState |
factory method for getting a simple progress state which is already hooked up to the correct progress panel
|
|
EnableBulkLoadingDisableIdleProcessing ( bool fEnable ) : void |
Either enable bulk loading and disable idle processing, or disable bulk loading and enable idle processing.
|
|
EnableWindow ( bool fEnable ) : void |
Enable or disable this window.
|
|
FindRecordListUpdater ( string name ) : IRecordListUpdater |
Retrieve the IRecordListUpdater object named by the argument. Part of the IRecordListOwner interface. |
|
FinishRefresh ( ) : bool |
Called in FwXApp.OnMasterRefresh AFTER clearing the cache, to reset everything.
|
|
FwXWindow ( ) : System |
Default c'tor
|
|
FwXWindow ( |
Construct a new form
|
|
FwXWindow ( |
Construct a new form
|
|
FwXWindow ( |
C'tor for TESTING with MockFwXWindow
|
|
GetMainWindowCaption ( SIL.FieldWorks.FDO.FdoCache cache ) : string |
Gets the string that will go in the caption of the main window.
|
|
GetMessageTargets ( ) : IxCoreColleague[] |
return an array of all of the objects which should 1) be queried when looking for someone to deliver a message to 2) be potential recipients of a broadcast
|
|
GetProjectName ( SIL.FieldWorks.FDO.FdoCache cache ) : string |
Returns the project name from the specified cache. If the connection is to a remote server, the string returned will include the server name, formatted in a form suitable for including in a window caption.
|
|
InitAndShowClient ( ) : void |
Create the client windows and add corresponding stuff to the sidebar, View menu, etc.
|
|
OnArchiveWithRamp ( object command ) : bool |
Handle click on Archive With RAMP menu item
|
|
OnChooseLangProject ( object command ) : bool |
|
|
OnCreateShortcut ( object args ) : bool |
Handle the Create Shortcut on Desktop menu/toolbar item.
|
|
OnDisplayArchiveWithRamp ( object command, XCore.UIItemDisplayProperties &display ) : bool |
Handle whether to enable Archive With RAMP menu item (enabled iff properly installed)
|
|
OnDisplayEditCopy ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
This is very similar to OnUpdateEditCopy, but for xCore applications.
|
|
OnDisplayEditCut ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
This is very similar to OnUpdateEditCut, but for xCore applications.
|
|
OnDisplayEditPaste ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
This is very similar to OnUpdateEditPaste, but for xCore applications.
|
|
OnDisplayEditSelectAll ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Enable the SelectAll command if appropriate
|
|
OnDisplayImportTranslatedLists ( object parameters, XCore.UIItemDisplayProperties &display ) : bool |
Display this import command everywhere.
|
|
OnDisplayInsertLinkToFile ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Enable the InsertLinkToFile command
|
|
OnDisplayPasteUrl ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Enable the PasteUrl command
|
|
OnDisplaySaveLangProject ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
This is very similar to OnUpdateFileSave, but for xCore applications.
|
|
OnDisplayShowCharMap ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
This method enables the Character Map command if the exe exists in the system dir.
|
|
OnDisplayUtilities ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
|
|
OnDisplayWritingSystemProperties ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
This is very similar to OnUpdateEditCut, but for xCore applications.
|
|
OnEditCopy ( object arg ) : bool |
|
|
OnEditCut ( object arg ) : bool |
|
|
OnEditFind ( object args ) : bool |
Handle the Find menu command.
|
|
OnEditPaste ( object arg ) : bool |
|
|
OnEditReplace ( object args ) : bool |
Handle the Find menu command.
|
|
OnEditSelectAll ( object arg ) : bool |
Implement the SelectAll command (for the active view).
|
|
OnExitApplication ( object param ) : bool |
Exits the application :)
|
|
OnFinishedInit ( ) : bool |
Called when a window is finished being created and completely initialized.
|
|
OnIdle ( object sender ) : void |
If a property requests it, do a db sync.
|
|
OnImportTranslatedLists ( object commandObject ) : bool |
Import a file contained translated strings for one or more lists. See FWR-1739. |
|
OnInsertLinkToFile ( object arg ) : bool |
Handle the InsertLinkToFile command
|
|
OnNewLangProject ( object command ) : bool |
|
|
OnNewWindow ( object command ) : bool |
|
|
OnPasteUrl ( object arg ) : bool |
Paste what is in the clipboard as a URL
|
|
OnPropertyChanged ( string name ) : void |
|
|
OnSaveLangProject ( object command ) : bool |
|
|
OnShowCharMap ( object command ) : bool |
Start the Character Map program (if it's found).
|
|
OnStylesRenamedOrDeleted ( ) : void |
Called when styles are renamed or deleted.
|
|
OnUpdateArchiveWithRamp ( object args ) : bool |
Update Archive With RAMP menu item
|
|
OnUtilities ( object command ) : bool |
|
|
OnWritingSystemProperties ( object arg ) : bool |
Display the project properties dialog, but starting with the WS page.
|
|
PopulateParaStyleListOverride ( ) : bool |
Allows individual implementations to override the default behavior when populating the paragraph style list.
|
|
PreSynchronize ( SyncMsg sync ) : void |
Called just before a window syncronizes it's views with DB changes (e.g. when an undo or redo command is issued).
|
|
PrepareToRefresh ( ) : void |
Called in FwXApp.OnMasterRefresh BEFORE clearing the cache, typically to save any work in progress.
|
|
RefreshAllViews ( ) : void |
JohnT: this might be a poorly named or obsolete message. Kept because there are some callers and I don't have time to analyze them all. Generally better to use RefreshDisplay().
|
|
RefreshDisplay ( ) : bool |
Collect refreshable caches from every child which has one and refresh them (once each). Call RefreshDisplay for every child control (recursively) which implements it. returns true if all the children have been processed by this class.
|
|
SaveSettings ( ) : void | ||
SaveSettingsNow ( ) : void |
Save the persisted settings now.
|
|
ShowApplyStyleDialog ( string paraStyleName, string charStyleName, int maxStyleLevel ) : void |
Shows the Format Apply Style dialog
|
|
ShowStylesDialog ( string paraStyleName, string charStyleName, Action |
Required interface member to launch the style dialog.
|
|
Synchronize ( SyncMsg sync ) : bool |
Called when a window syncronizes it's views with DB changes (e.g. when an undo or redo command is issued).
|
메소드 | 설명 | |
---|---|---|
DiscardProperties ( ) : void |
If we are discarding saved settings, we must not keep any saved sort sequences, as they may represent a filter we are not restoring (LT-11647)
|
|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
InitMediatorValues ( SIL.FieldWorks.FDO.FdoCache cache ) : void | ||
OnActivated ( |
This main window is now the active one handle any data changes made in other applications. (By analogy with FwMainWindow, may also need to do something about Find/Replace?? (JT)).
|
|
OnBackupThisProject ( object arg ) : bool |
Handle the File/Backup and Restore menu command
|
|
OnClosed ( |
||
OnDeleteProject ( object args ) : bool |
Handle the File/"Project Management"/Delete... menu command
|
|
OnDisplayDeleteProject ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Disables/enables the File/"Project Management"/Delete... menu item
|
|
OnDisplayFileProjectSharingLocation ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Updates the enabled state of the File Project Sharing Location menu item
|
|
OnDisplayFormatApplyStyle ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Enable the menu command for Format/Styles, if we can.
|
|
OnDisplayRedo ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Disables/enables the Edit/Redo menu item
|
|
OnDisplayUndo ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Disables/enables the Edit/Undo menu item
|
|
OnFileProjectProperties ( object command ) : bool |
Display the project properties dialog
|
|
OnFileProjectSharingLocation ( object arg ) : bool |
Handle the File/Restore menu command
|
|
OnFormatApplyStyle ( object args ) : bool |
Shows the apply style dialog
|
|
OnFormatStyle ( object args ) : bool |
Shows the Styles dialog
|
|
OnHandleCreated ( |
||
OnHelpAbout ( object args ) : bool |
Show Help About dialog
|
|
OnHelpCheckForUpdates ( object args ) : bool |
Check if any updates to FW are available
|
|
OnHelpMakeSuggestion ( object args ) : bool |
Show dialog to report a bug in the system
|
|
OnHelpReportProblem ( object args ) : bool |
Show dialog to report a bug in the system
|
|
OnRedo ( object args ) : bool |
This function will redo the last changes undone to the project. This function is executed when the user clicks the redo menu item.
|
|
OnRestoreAProject ( object arg ) : bool |
Handle the File/Backup and Restore menu command
|
|
OnStartLogging ( object args ) : bool |
Start logging events.
|
|
OnUndo ( object args ) : bool |
This function will undo the last changes done to the project. This function is executed when the user clicks the undo menu item.
|
|
RestoreProperties ( ) : void |
FwXWindow also restores database-specific properties.
|
|
WndProc ( |
Keyman's select language message must be forwarded to the focus window to take useful effect.
|
|
XWindow_Closing ( object sender, System e ) : void |
메소드 | 설명 | |
---|---|---|
ActiveViewChanged ( object sender, |
Different active view, we need to update the combo box.
|
|
BasicInit ( |
||
CollectCachesToRefresh ( |
Collect refreshable caches from the specified control and its subcontrols. We currently handle controls that are rootsites, and check their own SDAs as well as any base SDAs that those SDAs wrap.
|
|
FindAllRootBoxes ( |
|
|
FocusControlHandlesMessage ( string methodName, object args ) : bool |
See whether the focus control wants to handle the specified message. It is assumed that if the focus control has a public or non-public method of the given name, it takes the supplied arguments and returns boolean. Call it and return what it returns. Special case: if the focus control is 'this', that is, the recipient xWindow has focus, just return false. This is because this method is called from, say, the implementation of OnDisplayUndo, to see whether some (other) focus control wants to handle the message. Returning false allows the correct default implementation of OnDisplayUndo when no (other) focused control wants to do it. Calling OnDisplayUndo on the focus control, on the other hand, leads to a stack overflow, since the first thing this.OnDisplayUndo does is to call FocusControlHandlesMessage again!
|
|
GetFocusControl ( ) : |
||
HandleUndoResult ( UndoResult ures, bool fPrivate ) : void | ||
ImportTranslatedLists ( string filename ) : void | ||
Init ( Stream iconStream, |
Common initializations
|
|
LaunchProjPropertiesDlg ( bool startOnWSPage ) : void |
Launches the proj properties DLG.
|
|
OnMasterRefresh ( object sender ) : void | ||
OnProjectPropertiesChanged ( object sender, |
||
ReconstructViews ( |
Call RefreshDisplay on the passed in control if it has a public (no argument) method of that name. Recursively call ReconstructViews on each control that the given control contains.
|
|
ResyncRootboxStyles ( ) : void |
Get all the rootboxes we know about and reinitialize their stylesheets.
|
|
ResyncStylesheet ( ) : void |
We need to resync the windows StyleSheet object during a MasterRefresh and Synchronize() LT-7382.
|
|
WindowHandleInfo ( string eventMsg ) : string |
public static CreateMilestoneProgressState ( XCore.Mediator mediator ) : SIL.FieldWorks.Common.Controls.ProgressState | ||
mediator | XCore.Mediator | |
리턴 | SIL.FieldWorks.Common.Controls.ProgressState |
public static CreateNewFileName ( string fullName, string oldString, string newString ) : string | ||
fullName | string | |
oldString | string | |
newString | string | |
리턴 | string |
public static CreatePredictiveProgressState ( XCore.Mediator mediator, string taskLabel ) : SIL.FieldWorks.Common.Controls.ProgressState | ||
mediator | XCore.Mediator | |
taskLabel | string | |
리턴 | SIL.FieldWorks.Common.Controls.ProgressState |
public static CreateSimpleProgressState ( XCore.Mediator mediator ) : SIL.FieldWorks.Common.Controls.ProgressState | ||
mediator | XCore.Mediator | |
리턴 | SIL.FieldWorks.Common.Controls.ProgressState |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
리턴 | void |
public EnableBulkLoadingDisableIdleProcessing ( bool fEnable ) : void | ||
fEnable | bool | |
리턴 | void |
public EnableWindow ( bool fEnable ) : void | ||
fEnable | bool | Enable (true) or disable (false). |
리턴 | void |
public FindRecordListUpdater ( string name ) : IRecordListUpdater | ||
name | string | |
리턴 | IRecordListUpdater |
public FwXWindow ( |
||
app | the app. | |
wndCopyFrom | Source window to copy from. | |
iconStream | Stream | |
configStream | Stream | |
리턴 | System |
public FwXWindow ( |
||
app | The app. | |
wndCopyFrom | Source window to copy from | |
iconStream | Stream | The icon stream. |
configFile | string | The config file. |
startupLink | FwLinkArgs | The link to follow once the window is initialized. |
inAutomatedTest | bool | if set to |
리턴 | System |
public FwXWindow ( |
||
app | ||
configFile | string | Only sets the member variable here, does NOT load UI. |
리턴 | System |
public GetMainWindowCaption ( SIL.FieldWorks.FDO.FdoCache cache ) : string | ||
cache | SIL.FieldWorks.FDO.FdoCache | |
리턴 | string |
public GetProjectName ( SIL.FieldWorks.FDO.FdoCache cache ) : string | ||
cache | SIL.FieldWorks.FDO.FdoCache | The FDO cache |
리턴 | string |
protected InitMediatorValues ( SIL.FieldWorks.FDO.FdoCache cache ) : void | ||
cache | SIL.FieldWorks.FDO.FdoCache | |
리턴 | void |
public OnArchiveWithRamp ( object command ) : bool | ||
command | object | Not used |
리턴 | bool |
protected OnBackupThisProject ( object arg ) : bool | ||
arg | object | |
리턴 | bool |
public OnChooseLangProject ( object command ) : bool | ||
command | object | |
리턴 | bool |
public OnDisplayArchiveWithRamp ( object command, XCore.UIItemDisplayProperties &display ) : bool | ||
command | object | Not used |
display | XCore.UIItemDisplayProperties | Display properties |
리턴 | bool |
protected OnDisplayDeleteProject ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
public OnDisplayEditCopy ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
public OnDisplayEditCut ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
public OnDisplayEditPaste ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
public OnDisplayEditSelectAll ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
protected OnDisplayFileProjectSharingLocation ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
protected OnDisplayFormatApplyStyle ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
public OnDisplayImportTranslatedLists ( object parameters, XCore.UIItemDisplayProperties &display ) : bool | ||
parameters | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
public OnDisplayInsertLinkToFile ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
public OnDisplayPasteUrl ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
protected OnDisplayRedo ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
public OnDisplaySaveLangProject ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
public OnDisplayShowCharMap ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
protected OnDisplayUndo ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
public OnDisplayUtilities ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
public OnDisplayWritingSystemProperties ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
리턴 | bool |
protected OnFileProjectProperties ( object command ) : bool | ||
command | object | |
리턴 | bool |
protected OnFileProjectSharingLocation ( object arg ) : bool | ||
arg | object | |
리턴 | bool |
protected OnFormatApplyStyle ( object args ) : bool | ||
args | object | ignored |
리턴 | bool |
protected OnHandleCreated ( |
||
e | ||
리턴 | void |
protected OnHelpCheckForUpdates ( object args ) : bool | ||
args | object | |
리턴 | bool |
protected OnHelpMakeSuggestion ( object args ) : bool | ||
args | object | |
리턴 | bool |
protected OnHelpReportProblem ( object args ) : bool | ||
args | object | |
리턴 | bool |
public OnImportTranslatedLists ( object commandObject ) : bool | ||
commandObject | object | |
리턴 | bool |
public OnSaveLangProject ( object command ) : bool | ||
command | object | |
리턴 | bool |
public OnUpdateArchiveWithRamp ( object args ) : bool | ||
args | object | the toolbar/menu item properties |
리턴 | bool |
public OnWritingSystemProperties ( object arg ) : bool | ||
arg | object | |
리턴 | bool |
public PreSynchronize ( SyncMsg sync ) : void | ||
sync | SyncMsg | syncronization message |
리턴 | void |
public ShowApplyStyleDialog ( string paraStyleName, string charStyleName, int maxStyleLevel ) : void | ||
paraStyleName | string | The currently-selected Paragraph style name |
charStyleName | string | The currently-selected Character style name |
maxStyleLevel | int | The maximum style level that will be shown in this /// dialog. (apps that do not use style levels in their stylesheets can pass 0) |
리턴 | void |
public ShowStylesDialog ( string paraStyleName, string charStyleName, Action |
||
paraStyleName | string | Name of the initially selected paragraph style. |
charStyleName | string | Name of the initially selected character style. |
setPropsToFactorySettings | Action |
Delegate to set style info properties back /// to the default facotry settings |
리턴 | bool |
public Synchronize ( SyncMsg sync ) : bool | ||
sync | SyncMsg | syncronization message |
리턴 | bool |
protected XWindow_Closing ( object sender, System e ) : void | ||
sender | object | |
e | System | |
리턴 | void |
protected FwApp,SIL.FieldWorks.Common.Framework m_app | ||
리턴 |
protected MainWindowDelegate,SIL.FieldWorks.Common.Framework m_delegate | ||
리턴 | SIL.FieldWorks.Common.Framework.MainWindowDelegate |
protected ActiveViewHelper,SIL.FieldWorks.Common.RootSites m_viewHelper | ||
리턴 |