1 21 22 package org.opensubsystems.core.application; 23 24 32 public abstract class ExitModule extends ThickClientModuleImpl 33 { 34 36 39 public String getName() 40 { 41 return "Exit"; 42 } 43 44 47 public boolean activate( 48 boolean bReactivate 49 ) 50 { 51 closeMainWindow(); 52 return false; 53 } 54 55 58 public void pasivate() 59 { 60 assert false : "This method shouldn't be ever invoked."; 62 } 63 64 66 70 protected abstract void closeMainWindow(); 71 } 72 | Popular Tags |