Skip to content

Core events

There are OmegaT standard API that hooks GUI events defined in org.omegat.core.CoreEvents class.


OmegaT fires event calls on following timing.

Event Event type Note
application startup Application event
application shutdown Application event
open project Project change
Goto new file Entry event When goto next source file
Goto new segment Entry event When goto next segment
Font settings changed Font changed When user change font config
Goto new word Editor event When user caret moves to new word

Table of events listener

Event Name Registration Method Interface
Project Change event registerProjectChangeListener IProjectEventListener
Application event registerApplicationEventListener IApplicationEventListener
Entry event registerEntryEventListener IEntryEventListener
Font changed event registerFontChangedListener IFontChangedListener
Editor event registerEditorEventListener IEditorEventListener