1 16 17 package Raptor.transactions; 18 19 import Jmc.seviceLayer.base_transaction; 20 import Jmc.baseTools.*; 21 import Jmc.commonGui.*; 22 import Jmc.baseGui.*; 23 import Jmc.webAppl.*; 24 25 import Raptor.model.*; 26 27 public class htmlPreviewR_tr extends base_transaction 28 { 29 public htmlPreviewR_tr() 30 { 31 super(); 32 33 this.pcmf_setWorkFct(new work ()); 34 } 35 36 class work implements base_executableObject_if 37 { 38 public Object pcmf_execObj(Object xObj) 39 { 40 base_guiObj l_obj = (base_guiObj)xObj; 41 base_appl_if l_appl = l_obj.pcmf_getAppl(); 42 raptor_mainModel l_model= (raptor_mainModel)l_appl.pcmf_getGuiObj().pcmf_getModel(); 43 44 if (l_appl instanceof base_webAppl) 45 l_model.pcmf_createHtmlWdgPreview(); 46 else 47 { 48 l_model.pcmf_createHtmlPreview(false); 49 l_appl.pcmf_getGuiObj().pcmf_repaint(); 50 } 51 52 return (null); 53 }; 54 }; 55 } | Popular Tags |