1 22 23 package org.gjt.sp.jedit.msg; 24 25 import org.gjt.sp.jedit.gui.DockableWindowManager; 26 import org.gjt.sp.jedit.*; 27 28 35 public class DockableWindowUpdate extends EBMessage 36 { 37 43 public static final Object PROPERTIES_CHANGED = "PROPERTIES_CHANGED"; 44 45 49 public static final Object ACTIVATED = "ACTIVATED"; 50 51 55 public static final Object DEACTIVATED = "DEACTIVATED"; 56 58 65 public DockableWindowUpdate(DockableWindowManager wm, Object what, 66 String dockable) 67 { 68 super(wm); 69 70 if(what == null) 71 throw new NullPointerException ("What must be non-null"); 72 73 this.what = what; 74 this.dockable = dockable; 75 } 77 81 public Object getWhat() 82 { 83 return what; 84 } 86 91 public String getDockable() 92 { 93 return dockable; 94 } 96 public String paramString() 98 { 99 return "what=" + what 100 + ",dockable=" + dockable 101 + "," + super.paramString(); 102 } 104 private Object what; 106 private String dockable; 107 } 109 | Popular Tags |