Package org.omegat.core.data
Class CoreState
java.lang.Object
org.omegat.core.data.CoreState
-
Method Summary
Modifier and TypeMethodDescriptionGet spell checker instance.static CoreStateReturns the mutable registry list of issue providers bound to this CoreState instance.@Nullable IMainWindowgetNotes()voidvoidbooleanvoidsetCmdLineParams(Map<String, String> cmdLineParams) voidsetComments(IComments comments) voidsetDictionaries(DictionariesTextArea dictionaries) voidvoidsetFilterMaster(FilterMaster filterMaster) voidsetGlossaries(IGlossaries glossaries) voidsetGlossaryManager(GlossaryManager glossaryManager) voidsetIssuesWindow(IIssues issuesWindow) voidsetMachineTranslatePane(MachineTranslateTextArea machineTranslatePane) voidsetMachineTranslatorsManager(MachineTranslatorsManager machineTranslatorsManager) voidsetMainWindow(@Nullable IMainWindow mainWindow) Sets the main window instance for the application.voidsetMatcher(IMatcher matcher) voidvoidsetProject(IProject project) voidsetProjWin(IProjectFilesList projWin) voidsetSegmenter(Segmenter segmenter) voidsetSegmentPropertiesArea(SegmentPropertiesArea segmentPropertiesArea) voidsetSpellCheckerManager(SpellCheckerManager spellCheckerManager) voidsetTagValidation(ITagValidation tagValidation)
-
Method Details
-
initializeSaveThread
public void initializeSaveThread() -
initializeVersionCheckThread
public void initializeVersionCheckThread() -
getExecutor
-
getAutoSave
-
getInstance
-
isProjectLoaded
public boolean isProjectLoaded() -
getIssueProvidersRegistry
Returns the mutable registry list of issue providers bound to this CoreState instance. The list is lazily initialized but not pre-populated here to avoid cross-package visibility issues. Default providers are installed by the IssueProviders facade in the org.omegat.gui.issues package. -
getCmdLineParams
-
setCmdLineParams
-
getProject
-
setProject
-
getMainWindow
-
setMainWindow
Sets the main window instance for the application.- Parameters:
mainWindow- the instance of IMainWindow to be set as the main window. Can be null when testing.
-
getEditor
-
setEditor
-
getGlossaries
-
setGlossaries
-
getGlossaryManager
-
setGlossaryManager
-
getSegmenter
-
setSegmenter
-
getFilterMaster
-
setFilterMaster
-
getTagValidation
-
setTagValidation
-
getNotes
-
setNotes
-
getIssuesWindow
-
setIssuesWindow
-
getMatcher
-
setMatcher
-
getProjWin
-
setProjWin
-
getComments
-
setComments
-
getMachineTranslatePane
-
setMachineTranslatePane
-
getDictionaries
-
setDictionaries
-
getSegmentPropertiesArea
-
setSegmentPropertiesArea
-
getSpellCheckerManager
-
setSpellCheckerManager
-
getCurrentSpellChecker
Get spell checker instance. -
getMachineTranslatorsManager
-
setMachineTranslatorsManager
-