## org.gjt.sp.jedit
Class EBMessage

    java.lang.Object
      org.gjt.sp.jedit.EBMessage

Direct Known Subclasses:
  BufferUpdate, DockableWindowUpdate, DynamicMenuChanged, EBMessage.NonVetoable, EditorExiting, EditorExitRequested, EditorStarted, EditPaneUpdate, PluginUpdate, PropertiesChanged, SearchSettingsChanged, VFSUpdate, ViewUpdate

public abstract class EBMessage
extends java.lang.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,v 1.7 2003/05/02 21:12:43 spestov Exp $
Author:
  Slava Pestov, John Gellene (API documentation)

Nested Class Summary
`static class` `EBMessage.NonVetoable` Deprecated. Subclass `EBMessage` instead.

Constructor Summary
`EBMessage(EBComponent source)` Creates a new message.
`EBMessage(java.lang.Object source)` Creates a new message.

Method Summary
`java.lang.Object` `getSource()` Returns the sender of this message.
`boolean` `isVetoed()` Deprecated. Returns false.
`java.lang.String` `paramString()` Returns a string representation of this message's parameters.
`java.lang.String` `toString()` Returns a string representation of this message.
`void` `veto()` Deprecated. Does nothing.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### EBMessage

    public EBMessage(java.lang.Object source)

  Creates a new message.

Parameters:
  `source` - The message source
Since:
  jEdit 4.2pre1

### EBMessage

    public EBMessage(EBComponent source)

  Creates a new message.

Parameters:
  `source` - The message source

Method Detail

### getSource

    public java.lang.Object getSource()

  Returns the sender of this message.

  Since:
    jEdit 4.2pre1

### toString

    public java.lang.String toString()

  Returns a string representation of this message.

### paramString

    public java.lang.String paramString()

  Returns a string representation of this message's parameters.

### veto

    public void veto()

  Deprecated. Does nothing.

### isVetoed

    public boolean isVetoed()

  Deprecated. Returns false.