Interface ClassListener


  • public interface ClassListener
    This interface allows an extension to listen for class events.

    Events type are one of the ClassEvent.EventType values.

    Author:
    Davin McCall
    • Method Detail

      • classStateChanged

        void classStateChanged​(ClassEvent event)
        This method will be called when a class state changed. This means that the class source was changed so that the class is now uncompiled, or the class was compiled, or the class was renamed. If a long operation must be performed the extension should start a Thread.
        Parameters:
        event - a ClassEvent object of type ClassEvent.EventType.STATE_CHANGED.
      • classNameChanged

        void classNameChanged​(ClassEvent event)
        This method will be called when a class has been renamed. If a long operation must be performed the extension should start a Thread.
        Parameters:
        event - a ClassEvent object of type ClassEvent.EventType.CHANGED_NAME.
      • classRemoved

        void classRemoved​(ClassEvent event)
        This method will be called when a class has been removed. The removed class can be acquired from the passed in ClassEvent object. If a long operation must be performed the extension should start a Thread.
        Parameters:
        event - a ClassEvent object of type ClassEvent.EventType.REMOVED.