org.gjt.sp.jedit.msg
Class DockableWindowUpdate

java.lang.Object
  extended byorg.gjt.sp.jedit.EBMessage
      extended byorg.gjt.sp.jedit.msg.DockableWindowUpdate

public class DockableWindowUpdate
extends EBMessage

Message sent when dockable window state changes.

Since:
jEdit 4.2pre1
Version:
$Id: DockableWindowUpdate.java,v 1.2 2004/03/28 00:07:26 spestov Exp $
Author:
Slava Pestov

Nested Class Summary
 
Nested classes inherited from class org.gjt.sp.jedit.EBMessage
EBMessage.NonVetoable
 
Field Summary
static Object ACTIVATED
          Dockable activated.
static Object DEACTIVATED
          Dockable deactivated.
static Object PROPERTIES_CHANGED
          Properties changed.
 
Constructor Summary
DockableWindowUpdate(DockableWindowManager wm, Object what, String dockable)
          Creates a new dockable window update message.
 
Method Summary
 String getDockable()
          Returns the dockable in question, or null if the message type is PROPERTIES_CHANGED.
 Object getWhat()
          Returns what caused this dockable update.
 String paramString()
          Returns a string representation of this message's parameters.
 
Methods inherited from class org.gjt.sp.jedit.EBMessage
getSource, isVetoed, toString, veto
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTIES_CHANGED

public static final Object PROPERTIES_CHANGED
Properties changed. Fired instead of global PropertiesChanged for improved performance.

Since:
jEdit 4.2pre1

ACTIVATED

public static final Object ACTIVATED
Dockable activated. This is sent when the dockable is made visible.

Since:
jEdit 4.2pre1

DEACTIVATED

public static final Object DEACTIVATED
Dockable deactivated. This is sent when the dockable is hidden.

Since:
jEdit 4.2pre1
Constructor Detail

DockableWindowUpdate

public DockableWindowUpdate(DockableWindowManager wm,
                            Object what,
                            String dockable)
Creates a new dockable window update message.

Parameters:
wm - The dockable window manager
what - What happened
dockable - The dockable window in question
Method Detail

getWhat

public Object getWhat()
Returns what caused this dockable update.


getDockable

public String getDockable()
Returns the dockable in question, or null if the message type is PROPERTIES_CHANGED.


paramString

public String paramString()
Description copied from class: EBMessage
Returns a string representation of this message's parameters.

Overrides:
paramString in class EBMessage