示例#1
0
 // {{{ Class initializer
 static {
   EditBus.addToBus(
       new EBComponent() {
         public void handleMessage(EBMessage msg) {
           if (msg instanceof PropertiesChanged) {
             synchronized (lock) {
               colors = null;
             }
           }
         }
       });
 } // }}}
示例#2
0
 public void removeNotify() {
   logger.info("");
   super.removeNotify();
   EditBus.removeFromBus(this);
 }
示例#3
0
 /** **if using these without call to super,view empty! no cnsl, no cpc */
 public void addNotify() {
   logger.info("");
   super.addNotify();
   EditBus.addToBus(this);
 }