Class CoreEvents


  • public final class CoreEvents
    extends java.lang.Object
    Class for distribute main application events. All events can be fired in any threads, but will be delivered to listeners only in the UI thread. It's required for better threads synchronization.
    • Method Detail

      • registerProjectChangeListener

        public static void registerProjectChangeListener​(IProjectEventListener listener)
        Register listener.
      • unregisterProjectChangeListener

        public static void unregisterProjectChangeListener​(IProjectEventListener listener)
        Unregister listener.
      • registerApplicationEventListener

        public static void registerApplicationEventListener​(IApplicationEventListener listener)
        Register listener.
      • unregisterApplicationEventListener

        public static void unregisterApplicationEventListener​(IApplicationEventListener listener)
        Unregister listener.
      • registerEntryEventListener

        public static void registerEntryEventListener​(IEntryEventListener listener)
        Register listener.
      • unregisterEntryEventListener

        public static void unregisterEntryEventListener​(IEntryEventListener listener)
        Unregister listener.
      • registerFontChangedEventListener

        public static void registerFontChangedEventListener​(IFontChangedEventListener listener)
        Register listener.
      • unregisterFontChangedEventListener

        public static void unregisterFontChangedEventListener​(IFontChangedEventListener listener)
        Unregister listener.
      • registerEditorEventListener

        public static void registerEditorEventListener​(IEditorEventListener listener)
        Register listener.
      • unregisterEditorEventListener

        public static void unregisterEditorEventListener​(IEditorEventListener listener)
        Unregister listener.
      • fireApplicationStartup

        public static void fireApplicationStartup()
        Fire event.
      • fireApplicationShutdown

        public static void fireApplicationShutdown()
        Fire event.
      • fireEntryNewFile

        public static void fireEntryNewFile​(java.lang.String activeFileName)
        Fire event.
      • fireEntryActivated

        public static void fireEntryActivated​(SourceTextEntry newEntry)
        Fire event.
      • fireFontChanged

        public static void fireFontChanged​(java.awt.Font newFont)
        Fire event.
      • fireEditorNewWord

        public static void fireEditorNewWord​(java.lang.String newWord)
        Fire event.