Module jEdit

Class EBMessage

java.lang.Object
org.gjt.sp.jedit.EBMessage
Direct Known Subclasses:
BufferUpdate, DockableWindowUpdate, DynamicMenuChanged, EditorExiting, EditorExitRequested, EditorStarted, EditPaneUpdate, PluginUpdate, PropertiesChanged, PropertiesChanging, RegisterChanged, SearchSettingsChanged, VFSPathSelected, VFSUpdate, ViewUpdate

public abstract class EBMessage extends Object
The base class of all EditBus messages.

Message classes extending this class typically add other data members and methods to provide subscribers with whatever is needed to handle the message appropriately.

Message types sent by jEdit can be found in the org.gjt.sp.jedit.msg package.

Since:
jEdit 2.2pre6
Version:
$Id: EBMessage.java 25218 2020-04-12 15:51:13Z kpouer $
Author:
Slava Pestov, John Gellene (API documentation)
  • Constructor Details

    • EBMessage

      protected EBMessage(Object source)
      Creates a new message.
      Parameters:
      source - The message source
      Since:
      jEdit 4.2pre1
    • EBMessage

      protected EBMessage(EBComponent source)
      Creates a new message.
      Parameters:
      source - The message source
  • Method Details

    • getSource

      public Object getSource()
      Returns:
      the sender of this message.
      Since:
      jEdit 4.2pre1
    • toString

      public String toString()
      Returns a string representation of this message.
      Overrides:
      toString in class Object
    • paramString

      public String paramString()
      Returns:
      a string representation of this message's parameters.