listen listen listen public void handl event event switch type case swt dispos map remov integ web view web kit objc msgsend notif center web kit removeobserv object deleg 0 web view break case swt hide bug safari web view obscur view problem appl document hi web view creat workaround hook hide show event browser parent set size 0 hide restor size show cg rect bound cg rect os hi view set frame web view handl bound break case swt show bug safari web view obscur view problem appl document hi web view creat workaround hook hide show event browser parent set size 0 hide restor size show cg rect bound cg rect os hi view frame handl bound os hi view set frame web view handl bound break case swt resiz bug safari resiz height shell browser fix locat browser redraw wrong locat web view hi view contain intern host cocoa ns view coordin system origin bottom left corner window coordin system carbon start top left corner workaround reposit web view shell browser resiz featur safari hi view ignor call updat posit believ chang workaround forc reposit chang size set origin widget hidden leav size 0 0 set swt hide callback visibl break cg rect bound cg rect os hi view frame handl bound note set neg width height safari displai incorrectli resiz event correct bound width 0 bound width 0 bound height 0 bound height 0 bound width os hi view set frame web view handl bound bound width os hi view set frame web view handl bound break handleev webview webkit objc_msgsend notificationcent webkit s_removeobserv_name_object webview hiwebviewcr cgrect cgrect hiviewsetfram webviewhandl hiwebviewcr cgrect cgrect hiviewgetfram hiviewsetfram webviewhandl hiview nsview hiview isvis cgrect cgrect hiviewgetfram hiviewsetfram webviewhandl hiviewsetfram webviewhandl construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul except swt error ul li error handl handl obtain browser creation li ul style 3 0 public browser composit parent int style super parent style note load webkit bundl jaguar crash workaround detect os prior 10 30 fail crash int respons int 1 int err os gestalt os gestalt system version respons err os err respons 0 0xffff 0x1030 dispos swt error swt error handl int control int 1 try web kit hi web view creat control catch unsatisfi link error dispos swt error swt error handl web view handl control 0 web view handl 0 dispos swt error swt error handl os hi view add subview handl web view handl os hi view set visibl web view handl true final int web view web kit hi web view web view web view handl code intention comment set group thing order avoid multipl open window request reason safari crash request reopen window window previous close window correctli close string group document non nl 1 int length group length char buffer char length group char 0 length buffer 0 int group string os cf string creat charact 0 buffer length web view set group document web kit objc msgsend web view web kit setgroupnam group string os cf releas group string final int notif center web kit objc msgsend web kit nsnotificationcent web kit defaultcent listen listen listen public void handl event event switch type case swt dispos map remov integ web view web kit objc msgsend notif center web kit removeobserv object deleg 0 web view break case swt hide bug safari web view obscur view problem appl document hi web view creat workaround hook hide show event browser parent set size 0 hide restor size show cg rect bound cg rect os hi view set frame web view handl bound break case swt show bug safari web view obscur view problem appl document hi web view creat workaround hook hide show event browser parent set size 0 hide restor size show cg rect bound cg rect os hi view frame handl bound os hi view set frame web view handl bound break case swt resiz bug safari resiz height shell browser fix locat browser redraw wrong locat web view hi view contain intern host cocoa ns view coordin system origin bottom left corner window coordin system carbon start top left corner workaround reposit web view shell browser resiz featur safari hi view ignor call updat posit believ chang workaround forc reposit chang size set origin widget hidden leav size 0 0 set swt hide callback visibl break cg rect bound cg rect os hi view frame handl bound note set neg width height safari displai incorrectli resiz event correct bound width 0 bound width 0 bound height 0 bound height 0 bound width os hi view set frame web view handl bound bound width os hi view set frame web view handl bound break add listen swt dispos listen add listen swt resiz listen shell shell shell shell add listen swt resiz listen shell add listen swt show listen shell add listen swt hide listen control add listen swt show listen add listen swt hide listen c parent shell callback null callback callback class event proc 6 non nl 1 int event proc callback address deleg web resourc load deleg alloc init event proc deleg web kit objc msgsend web kit webkitdeleg web kit alloc deleg web kit objc msgsend deleg web kit initwithproc event proc map put integ web view web view set frame load deleg deleg web kit objc msgsend web view web kit setframeloaddeleg deleg web view set resourc load deleg deleg web kit objc msgsend web view web kit setresourceloaddeleg deleg web view setui deleg deleg web kit objc msgsend web view web kit setuideleg deleg regist deleg notif send webview web kit objc msgsend notif center web kit addobserv selector object deleg web kit handlenotif 0 web view illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access swterror error_no_handl getstyl gestaltsystemvers noerr error_no_handl outcontrol webkit hiwebviewcr outcontrol unsatisfiedlinkerror error_no_handl webviewhandl outcontrol webviewhandl error_no_handl hiviewaddsubview webviewhandl hiviewsetvis webviewhandl webview webkit hiwebviewgetwebview webviewhandl groupnam mydocu groupnam groupnam getchar groupnamestr cfstringcreatewithcharact webview setgroupnam mydocu webkit objc_msgsend webview webkit s_setgroupnam groupnamestr cfreleas groupnamestr notificationcent webkit objc_msgsend webkit c_nsnotificationcent webkit s_defaultcent handleev webview webkit objc_msgsend notificationcent webkit s_removeobserv_name_object webview hiwebviewcr cgrect cgrect hiviewsetfram webviewhandl hiwebviewcr cgrect cgrect hiviewgetfram hiviewsetfram webviewhandl hiview nsview hiview isvis cgrect cgrect hiviewgetfram hiviewsetfram webviewhandl hiviewsetfram webviewhandl addlisten addlisten getshel addlisten addlisten addlisten addlisten addlisten getpar getclass eventproc eventproc getaddress webresourceloaddeleg eventproc webkit objc_msgsend webkit c_webkitdeleg webkit s_alloc webkit objc_msgsend webkit s_initwithproc eventproc webview webview setframeloaddeleg webkit objc_msgsend webview webkit s_setframeloaddeleg webview setresourceloaddeleg webkit objc_msgsend webview webkit s_setresourceloaddeleg webview setuideleg webkit objc_msgsend webview webkit s_setuideleg webkit objc_msgsend notificationcent webkit s_addobserv_selector_name_object webkit s_handlenotif webview static int event proc int webview int selector int arg0 int arg1 int arg2 int arg3 object map integ webview instanceof browser return browser handl callback selector arg0 arg1 arg2 arg3 return 0 eventproc handlecallback add listen receiv event param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void add close window listen close window listen listen check widget listen null swt error swt error null argument close window listen close window listen close window listen close window listen length 1 system arraycopi close window listen 0 close window listen 0 close window listen length close window listen close window listen close window listen close window listen length 1 listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos addclosewindowlisten closewindowlisten checkwidget error_null_argument closewindowlisten newclosewindowlisten closewindowlisten closewindowlisten closewindowlisten newclosewindowlisten closewindowlisten closewindowlisten newclosewindowlisten closewindowlisten closewindowlisten add listen receiv event param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void add locat listen locat listen listen check widget listen null swt error swt error null argument locat listen locat listen locat listen locat listen length 1 system arraycopi locat listen 0 locat listen 0 locat listen length locat listen locat listen locat listen locat listen length 1 listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos addlocationlisten locationlisten checkwidget error_null_argument locationlisten newlocationlisten locationlisten locationlisten locationlisten newlocationlisten locationlisten locationlisten newlocationlisten locationlisten locationlisten add listen receiv event param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void add open window listen open window listen listen check widget listen null swt error swt error null argument open window listen open window listen open window listen open window listen length 1 system arraycopi open window listen 0 open window listen 0 open window listen length open window listen open window listen open window listen open window listen length 1 listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos addopenwindowlisten openwindowlisten checkwidget error_null_argument openwindowlisten newopenwindowlisten openwindowlisten openwindowlisten openwindowlisten newopenwindowlisten openwindowlisten openwindowlisten newopenwindowlisten openwindowlisten openwindowlisten add listen receiv event param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void add progress listen progress listen listen check widget listen null swt error swt error null argument progress listen progress listen progress listen progress listen length 1 system arraycopi progress listen 0 progress listen 0 progress listen length progress listen progress listen progress listen progress listen length 1 listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos addprogresslisten progresslisten checkwidget error_null_argument progresslisten newprogresslisten progresslisten progresslisten progresslisten newprogresslisten progresslisten progresslisten newprogresslisten progresslisten progresslisten add listen receiv event param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void add statu text listen statu text listen listen check widget listen null swt error swt error null argument statu text listen statu text listen statu text listen statu text listen length 1 system arraycopi statu text listen 0 statu text listen 0 statu text listen length statu text listen statu text listen statu text listen statu text listen length 1 listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos addstatustextlisten statustextlisten checkwidget error_null_argument statustextlisten newstatustextlisten statustextlisten statustextlisten statustextlisten newstatustextlisten statustextlisten statustextlisten newstatustextlisten statustextlisten statustextlisten add listen receiv event param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void add titl listen titl listen listen check widget listen null swt error swt error null argument titl listen titl listen titl listen titl listen length 1 system arraycopi titl listen 0 titl listen 0 titl listen length titl listen titl listen titl listen titl listen length 1 listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos addtitlelisten titlelisten checkwidget error_null_argument titlelisten newtitlelisten titlelisten titlelisten titlelisten newtitlelisten titlelisten titlelisten newtitlelisten titlelisten titlelisten add listen receiv event param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void add visibl window listen visibl window listen listen check widget listen null swt error swt error null argument visibl window listen visibl window listen visibl window listen visibl window listen length 1 system arraycopi visibl window listen 0 visibl window listen 0 visibl window listen length visibl window listen visibl window listen visibl window listen visibl window listen length 1 listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos addvisibilitywindowlisten visibilitywindowlisten checkwidget error_null_argument visibilitywindowlisten newvisibilitywindowlisten visibilitywindowlisten visibilitywindowlisten visibilitywindowlisten newvisibilitywindowlisten visibilitywindowlisten visibilitywindowlisten newvisibilitywindowlisten visibilitywindowlisten visibilitywindowlisten navig previou session histori item return code true code oper success code fals code except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul forward 3 0 public boolean check widget int web view web kit hi web view web view web view handl return web kit objc msgsend web view web kit goback 0 swterror error_thread_invalid_access error_widget_dispos checkwidget webview webkit hiwebviewgetwebview webviewhandl webkit objc_msgsend webview webkit s_goback protect void check subclass string class int index index substr 0 index 1 equal packag prefix swt error swt error invalid subclass checksubclass getclass getnam lastindexof packag_prefix error_invalid_subclass navig session histori item return code true code oper success code fals code except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public boolean forward check widget int web view web kit hi web view web view web view handl return web kit objc msgsend web view web kit goforward 0 swterror error_thread_invalid_access error_widget_dispos checkwidget webview webkit hiwebviewgetwebview webviewhandl webkit objc_msgsend webview webkit s_goforward return current url return current url empti code string code current url except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul set url 3 0 public string url check widget return url swterror error_thread_invalid_access error_widget_dispos seturl geturl checkwidget dispatch web view upcal int handl callback int selector int arg0 int arg1 int arg2 int arg3 int ret 0 mean selector web kit deleg method webkit switch selector case 1 fail provision load error arg0 arg1 break case 2 finish load frame arg0 break case 3 receiv titl arg0 arg1 break case 4 start provision load frame arg0 break case 5 finish load data sourc arg0 arg1 break case 6 fail load error arg0 arg1 arg2 break case 7 ret identifi initi request arg0 arg1 break case 8 ret send request arg0 arg1 arg2 arg3 break case 9 handl notif arg0 break case 10 commit load frame arg0 break case 11 ret creat web view request arg0 break case 12 web view show arg0 break case 13 set frame arg0 break case 14 web view close break case 15 ret context menu item element arg0 arg1 break return ret webview handlecallback webkitdeleg didfailprovisionalloadwitherror didfinishloadforfram didreceivetitl didstartprovisionalloadforfram didfinishloadingfromdatasourc didfailloadingwitherror identifierforinitialrequest willsendrequest handlenotif didcommitloadforfram createwebviewwithrequest webviewshow setfram webviewclos contextmenuitemsforel return code true code receiv navig previou session histori item code fals code return receiv command enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean enabl check widget int web view web kit hi web view web view web view handl return web kit objc msgsend web view web kit cangoback 0 swtexcept error_widget_dispos error_thread_invalid_access isbacken checkwidget webview webkit hiwebviewgetwebview webviewhandl webkit objc_msgsend webview webkit s_cangoback return code true code receiv navig session histori item code fals code return receiv forward command enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul forward public boolean forward enabl check widget int web view web kit hi web view web view web view handl return web kit objc msgsend web view web kit cangoforward 0 swtexcept error_widget_dispos error_thread_invalid_access isforwarden checkwidget webview webkit hiwebviewgetwebview webviewhandl webkit objc_msgsend webview webkit s_cangoforward refresh current page except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void refresh check widget int web view web kit hi web view web view web view handl web kit objc msgsend web view web kit reload 0 swterror error_thread_invalid_access error_widget_dispos checkwidget webview webkit hiwebviewgetwebview webviewhandl webkit objc_msgsend webview webkit s_reload remov listen param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void remov close window listen close window listen listen check widget listen null swt error swt error null argument close window listen length 0 return int index 1 int 0 close window listen length listen close window listen index break index 1 return close window listen length 1 close window listen close window listen 0 return close window listen close window listen close window listen close window listen length 1 system arraycopi close window listen 0 close window listen 0 index system arraycopi close window listen index 1 close window listen index close window listen length index 1 close window listen close window listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos removeclosewindowlisten closewindowlisten checkwidget error_null_argument closewindowlisten closewindowlisten closewindowlisten closewindowlisten closewindowlisten closewindowlisten closewindowlisten newclosewindowlisten closewindowlisten closewindowlisten closewindowlisten newclosewindowlisten closewindowlisten newclosewindowlisten closewindowlisten closewindowlisten newclosewindowlisten remov listen param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void remov locat listen locat listen listen check widget listen null swt error swt error null argument locat listen length 0 return int index 1 int 0 locat listen length listen locat listen index break index 1 return locat listen length 1 locat listen locat listen 0 return locat listen locat listen locat listen locat listen length 1 system arraycopi locat listen 0 locat listen 0 index system arraycopi locat listen index 1 locat listen index locat listen length index 1 locat listen locat listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos removelocationlisten locationlisten checkwidget error_null_argument locationlisten locationlisten locationlisten locationlisten locationlisten locationlisten locationlisten newlocationlisten locationlisten locationlisten locationlisten newlocationlisten locationlisten newlocationlisten locationlisten locationlisten newlocationlisten remov listen param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void remov open window listen open window listen listen check widget listen null swt error swt error null argument open window listen length 0 return int index 1 int 0 open window listen length listen open window listen index break index 1 return open window listen length 1 open window listen open window listen 0 return open window listen open window listen open window listen open window listen length 1 system arraycopi open window listen 0 open window listen 0 index system arraycopi open window listen index 1 open window listen index open window listen length index 1 open window listen open window listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos removeopenwindowlisten openwindowlisten checkwidget error_null_argument openwindowlisten openwindowlisten openwindowlisten openwindowlisten openwindowlisten openwindowlisten openwindowlisten newopenwindowlisten openwindowlisten openwindowlisten openwindowlisten newopenwindowlisten openwindowlisten newopenwindowlisten openwindowlisten openwindowlisten newopenwindowlisten remov listen param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void remov progress listen progress listen listen check widget listen null swt error swt error null argument progress listen length 0 return int index 1 int 0 progress listen length listen progress listen index break index 1 return progress listen length 1 progress listen progress listen 0 return progress listen progress listen progress listen progress listen length 1 system arraycopi progress listen 0 progress listen 0 index system arraycopi progress listen index 1 progress listen index progress listen length index 1 progress listen progress listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos removeprogresslisten progresslisten checkwidget error_null_argument progresslisten progresslisten progresslisten progresslisten progresslisten progresslisten progresslisten newprogresslisten progresslisten progresslisten progresslisten newprogresslisten progresslisten newprogresslisten progresslisten progresslisten newprogresslisten remov listen param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void remov statu text listen statu text listen listen check widget listen null swt error swt error null argument statu text listen length 0 return int index 1 int 0 statu text listen length listen statu text listen index break index 1 return statu text listen length 1 statu text listen statu text listen 0 return statu text listen statu text listen statu text listen statu text listen length 1 system arraycopi statu text listen 0 statu text listen 0 index system arraycopi statu text listen index 1 statu text listen index statu text listen length index 1 statu text listen statu text listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos removestatustextlisten statustextlisten checkwidget error_null_argument statustextlisten statustextlisten statustextlisten statustextlisten statustextlisten statustextlisten statustextlisten newstatustextlisten statustextlisten statustextlisten statustextlisten newstatustextlisten statustextlisten newstatustextlisten statustextlisten statustextlisten newstatustextlisten remov listen param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void remov titl listen titl listen listen check widget listen null swt error swt error null argument titl listen length 0 return int index 1 int 0 titl listen length listen titl listen index break index 1 return titl listen length 1 titl listen titl listen 0 return titl listen titl listen titl listen titl listen length 1 system arraycopi titl listen 0 titl listen 0 index system arraycopi titl listen index 1 titl listen index titl listen length index 1 titl listen titl listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos removetitlelisten titlelisten checkwidget error_null_argument titlelisten titlelisten titlelisten titlelisten titlelisten titlelisten titlelisten newtitlelisten titlelisten titlelisten titlelisten newtitlelisten titlelisten newtitlelisten titlelisten titlelisten newtitlelisten remov listen param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void remov visibl window listen visibl window listen listen check widget listen null swt error swt error null argument visibl window listen length 0 return int index 1 int 0 visibl window listen length listen visibl window listen index break index 1 return visibl window listen length 1 visibl window listen visibl window listen 0 return visibl window listen visibl window listen visibl window listen visibl window listen length 1 system arraycopi visibl window listen 0 visibl window listen 0 index system arraycopi visibl window listen index 1 visibl window listen index visibl window listen length index 1 visibl window listen visibl window listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos removevisibilitywindowlisten visibilitywindowlisten checkwidget error_null_argument visibilitywindowlisten visibilitywindowlisten visibilitywindowlisten visibilitywindowlisten visibilitywindowlisten visibilitywindowlisten visibilitywindowlisten newvisibilitywindowlisten visibilitywindowlisten visibilitywindowlisten visibilitywindowlisten newvisibilitywindowlisten visibilitywindowlisten newvisibilitywindowlisten visibilitywindowlisten visibilitywindowlisten newvisibilitywindowlisten render html param html html content render return true oper success fals except illeg argument except ul li error null argument html null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul set url 3 0 public boolean set text string html check widget html null swt error swt error null argument int length html length char buffer char length html char 0 length buffer 0 int string os cf string creat charact 0 buffer length string baseurl blank non nl 1 length baseurl length buffer char length baseurl char 0 length buffer 0 int url string os cf string creat charact 0 buffer length note url string autoreleas result url need releas url nsurl url string ns string url string int url web kit objc msgsend web kit nsurl web kit urlwithstr url string os cf releas url string int web view web kit hi web view web view web view handl main frame web view main frame int main frame web kit objc msgsend web view web kit mainfram main frame loadhtml string ns string string baseurl nsurl url web kit objc msgsend main frame web kit loadhtmlstringbaseurl string url os cf releas string return true illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos seturl settext checkwidget error_null_argument getchar cfstringcreatewithcharact getchar urlstr cfstringcreatewithcharact urlwithstr urlwithstr nsstring urlstr webkit objc_msgsend webkit c_nsurl webkit s_urlwithstr urlstr cfreleas urlstr webview webkit hiwebviewgetwebview webviewhandl mainfram webview mainfram mainfram webkit objc_msgsend webview webkit s_mainfram mainfram loadhtmlstr nsstring webkit objc_msgsend mainfram webkit s_loadhtmlstringbaseurl cfreleas load url param url url load return true oper success fals except illeg argument except ul li error null argument url null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul url 3 0 public boolean set url string url check widget url null swt error swt error null argument string buffer buffer string buffer int 0 url length char url char buffer append 20 buffer append int length buffer length char char char length buffer char 0 length char 0 int handl os cf string creat charact 0 char length note url string autoreleas result url need releas inurl nsurl url string ns string handl int inurl web kit objc msgsend web kit nsurl web kit urlwithstr handl os cf releas handl request nsurl request request withurl nsurl inurl int request web kit objc msgsend web kit nsurlrequest web kit requestwithurl inurl int web view web kit hi web view web view web view handl main frame web view main frame int main frame web kit objc msgsend web view web kit mainfram main frame load request request web kit objc msgsend main frame web kit loadrequest request return true illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos geturl seturl checkwidget error_null_argument stringbuff stringbuff charat getchar shandl cfstringcreatewithcharact urlwithstr urlwithstr nsstring shandl webkit objc_msgsend webkit c_nsurl webkit s_urlwithstr shandl cfreleas shandl nsurlrequest requestwithurl webkit objc_msgsend webkit c_nsurlrequest webkit s_requestwithurl webview webkit hiwebviewgetwebview webviewhandl mainfram webview mainfram mainfram webkit objc_msgsend webview webkit s_mainfram mainfram loadrequest webkit objc_msgsend mainfram webkit s_loadrequest stop load render activ except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void stop check widget int web view web kit hi web view web view web view handl web kit objc msgsend web view web kit stopload 0 swterror error_thread_invalid_access error_widget_dispos checkwidget webview webkit hiwebviewgetwebview webviewhandl webkit objc_msgsend webview webkit s_stopload void fail provision load error int error int frame int web view web kit hi web view web view web view handl frame web kit objc msgsend web view web kit mainfram featur safari identifi marker event relat top frame url relat top frame locat bar browser expect reset identifi 0 event finish load data sourc relat identifi initi request event receiv howeev safari fire finish load data sourc event entir content top frame load receiv multipl send request event interv caus browser widget send unwant locat chang event reason identifi reset 0 top frame finish load finish load frame event fail fail provision load error identifi 0 didfailprovisionalloadwitherror webview webkit hiwebviewgetwebview webviewhandl webkit objc_msgsend webview webkit s_mainfram didfinishloadingfromdatasourc identifierforinitialrequest didfinishloadingfromdatasourc willsendrequest didfinishloadforfram didfailprovisionalloadwitherror displai async exec runnabl public void run displai dispos dispos listen complet progress asyncexec isdispos isdispos void finish load frame int frame int web view web kit hi web view web view web view handl frame web kit objc msgsend web view web kit mainfram final displai displai displai final progress event progress progress event progress displai displai progress widget progress current max progress progress total max progress int 0 progress listen length final progress listen listen progress listen note web kit run event loop browser deleg callback break web kit stop load crash widget progress bar touch event loop method set select call workaround invok displai asyncexec browser crash user updat select progress bar displai async exec runnabl public void run displai dispos dispos listen complet progress featur safari identifi marker event relat top frame url relat top frame locat bar browser expect reset identifi 0 event finish load data sourc relat identifi initi request event receiv howeev safari fire finish load data sourc event entir content top frame load receiv multipl send request event interv caus browser widget send unwant locat chang event reason identifi reset 0 top frame finish load finish load frame event fail fail provision load error identifi 0 didfinishloadforfram webview webkit hiwebviewgetwebview webviewhandl webkit objc_msgsend webview webkit s_mainfram getdisplai progressev progressev getdisplai max_progress max_progress progresslisten progresslisten progresslisten webkit webkit progressbar setselect progressbar asyncexec isdispos isdispos didfinishloadingfromdatasourc identifierforinitialrequest didfinishloadingfromdatasourc willsendrequest didfinishloadforfram didfailprovisionalloadwitherror void receiv titl int titl int frame int web view web kit hi web view web view web view handl frame web kit objc msgsend web view web kit mainfram int length os cf string length titl char buffer char length cf rang rang cf rang rang length length os cf string charact titl rang buffer string titl string buffer titl event event titl event browser event displai displai event widget event titl titl int 0 titl listen length titl listen chang event didreceivetitl webview webkit hiwebviewgetwebview webviewhandl webkit objc_msgsend webview webkit s_mainfram cfstringgetlength cfrang cfrang cfstringgetcharact newtitl titleev newev titleev newev getdisplai newev newev newtitl titlelisten titlelisten newev void start provision load frame int frame code intention comment web frame load deleg start provision load frame call web resourc load deleg send request web frame load deleg commit load frame resourc count reset commit load frame receiv top frame int web view web kit hi web view web view web view handl frame web kit objc msgsend web view web kit mainfram reset resourc statu variabl resourc count 0 didstartprovisionalloadforfram webframeloaddeleg didstartprovisionalloadforfram webresourceloaddeleg willsendrequest webframeloaddeleg didcommitloadforfram didcommitloadforfram webview webkit hiwebviewgetwebview webviewhandl webkit objc_msgsend webview webkit s_mainfram resourcecount displai async exec runnabl public void run displai dispos dispos listen chang progress asyncexec isdispos isdispos void commit load frame int frame int web view web kit hi web view web view web view handl id url frame provision data sourc request url absolut string int data sourc web kit objc msgsend frame web kit datasourc int request web kit objc msgsend data sourc web kit request int url web kit objc msgsend request web kit url int web kit objc msgsend url web kit absolutestr int length os cf string length char buffer char length cf rang rang cf rang rang length length os cf string charact rang buffer string url2 string buffer final displai displai displai boolean top frame web kit objc msgsend web view web kit mainfram top reset resourc statu variabl resourc count 0 url url2 final progress event progress progress event progress displai displai progress widget progress current 1 progress total max progress int 0 progress listen length final progress listen listen progress listen note web kit run event loop browser deleg callback break web kit stop load crash widget progress bar touch event loop method set select call workaround invok displai asyncexec browser crash user updat select progress bar displai async exec runnabl public void run displai dispos dispos listen chang progress statu text event statu text statu text event statu text displai displai statu text widget statu text text url2 int 0 statu text listen length statu text listen chang statu text locat event locat locat event browser locat displai displai locat widget locat locat url2 locat top top int 0 locat listen length locat listen chang locat didcommitloadforfram webview webkit hiwebviewgetwebview webviewhandl provisionaldatasourc absolutestr datasourc webkit objc_msgsend webkit s_datasourc webkit objc_msgsend datasourc webkit s_request webkit objc_msgsend webkit s_url webkit objc_msgsend webkit s_absolutestr cfstringgetlength cfrang cfrang cfstringgetcharact getdisplai webkit objc_msgsend webview webkit s_mainfram resourcecount progressev progressev max_progress progresslisten progresslisten progresslisten webkit webkit progressbar setselect progressbar asyncexec isdispos isdispos statustextev statustext statustextev statustext statustext statustext statustextlisten statustextlisten statustext locationev locationev locationlisten locationlisten void finish load data sourc int identifi int data sourc featur safari identifi marker event relat top frame url relat top frame locat bar browser expect reset identifi 0 event finish load data sourc relat identifi initi request event receiv howeev safari fire finish load data sourc event entir content top frame load receiv multipl send request event interv caus browser widget send unwant locat chang event reason identifi reset 0 top frame finish load finish load frame event fail fail provision load error code intention comment identifi identifi identifi 0 didfinishloadingfromdatasourc datasourc didfinishloadingfromdatasourc identifierforinitialrequest didfinishloadingfromdatasourc willsendrequest didfinishloadforfram didfailprovisionalloadwitherror void fail load error int identifi int error int data sourc featur safari identifi marker event relat top frame url relat top frame locat bar browser expect reset identifi 0 event finish load data sourc relat identifi initi request event receiv howeev safari fire finish load data sourc event entir content top frame load receiv multipl send request event interv caus browser widget send unwant locat chang event reason identifi reset 0 top frame finish load finish load frame event fail fail provision load error code intention comment identifi identifi identifi 0 didfailloadingwitherror datasourc didfinishloadingfromdatasourc identifierforinitialrequest didfinishloadingfromdatasourc willsendrequest didfinishloadforfram didfailprovisionalloadwitherror displai async exec runnabl public void run displai dispos dispos listen chang progress asyncexec isdispos isdispos int identifi initi request int request int data sourc final displai displai displai final progress event progress progress event progress displai displai progress widget progress current resourc count progress total math max resourc count max progress int 0 progress listen length final progress listen listen progress listen note web kit run event loop browser deleg callback break web kit stop load crash widget progress bar touch event loop method set select call workaround invok displai asyncexec browser crash user updat select progress bar displai async exec runnabl public void run displai dispos dispos listen chang progress note number int autoreleas result object need releas identifi ns number number int resourc count int identifi web kit objc msgsend web kit nsnumber web kit numberwithint resourc count identifi 0 int web view web kit hi web view web view web view handl int frame web kit objc msgsend data sourc web kit webfram frame web kit objc msgsend web view web kit mainfram identifi identifi return identifi identifierforinitialrequest datasourc getdisplai progressev progressev resourcecount resourcecount max_progress progresslisten progresslisten progresslisten webkit webkit progressbar setselect progressbar asyncexec isdispos isdispos numberwithint nsnumber numberwithint resourcecount webkit objc_msgsend webkit c_nsnumber webkit s_numberwithint resourcecount webview webkit hiwebviewgetwebview webviewhandl webkit objc_msgsend datasourc webkit s_webfram webkit objc_msgsend webview webkit s_mainfram int send request int identifi int request int redirect respons int data sourc int url web kit objc msgsend request web kit url int web kit objc msgsend url web kit absolutestr int length os cf string length char buffer char length cf rang rang cf rang rang length length os cf string charact rang buffer string url2 string buffer locat event event locat event event displai displai event widget event locat url2 event doit true locat listen null int 0 locat listen length locat listen chang event return event doit request 0 willsendrequest redirectrespons datasourc webkit objc_msgsend webkit s_url webkit objc_msgsend webkit s_absolutestr cfstringgetlength cfrang cfrang cfstringgetcharact locationev newev locationev newev getdisplai newev newev newev locationlisten locationlisten locationlisten newev newev handl notif void handl notif int notif handlenotif handlenotif ui deleg int creat web view request int request window event event window event browser event displai displai event widget open window listen null int 0 open window listen length open window listen open event int web view 0 browser browser event browser browser null browser dispos web view web kit hi web view web view browser web view handl main frame web view main frame int main frame web kit objc msgsend web view web kit mainfram main frame load request request web kit objc msgsend main frame web kit loadrequest request return web view uideleg createwebviewwithrequest windowev newev windowev newev getdisplai newev openwindowlisten openwindowlisten openwindowlisten newev webview newev isdispos webview webkit hiwebviewgetwebview webviewhandl mainfram webview mainfram mainfram webkit objc_msgsend webview webkit s_mainfram mainfram loadrequest webkit objc_msgsend mainfram webkit s_loadrequest webview void web view show int sender featur web kit safari web kit expect applic creat window object cocoa api respons ui deleg creat web view request applic expect object cocoa api window visibl receiv ui deleg web view show messag reason window creat carbon api host browser instanc redraw resiz fix increas size shell restor initi size shell parent shell point pt parent size parent set size pt 1 pt parent set size pt pt window event event window event event displai displai event widget locat null event locat locat size null event size size int 0 visibl window listen length visibl window listen show event locat null size null webviewshow webkit webkit uideleg createwebviewwithrequest uideleg webviewshow getshel getsiz setsiz setsiz windowev newev windowev newev getdisplai newev newev newev visibilitywindowlisten visibilitywindowlisten newev void set frame int frame float dest float 4 os memcpi dest frame 16 convert swt system coordin rectangl bound displai bound locat point int dest 0 bound height int dest 1 int dest 3 size point int dest 2 int dest 3 setfram getdisplai getbound void web view close shell parent shell window event event window event event displai displai event widget int 0 close window listen length close window listen close event dispos parent dispos return featur web kit safari web kit expect applic creat window object cocoa api respons ui deleg creat web view request applic expect object cocoa api window visibl receiv ui deleg web view show messag reason window creat carbon api host browser instanc redraw resiz fix increas size shell restor initi size point pt parent size parent set size pt 1 pt parent set size pt pt webviewclos getshel windowev newev windowev newev getdisplai newev closewindowlisten closewindowlisten newev isdispos webkit webkit uideleg createwebviewwithrequest uideleg webviewshow getsiz setsiz setsiz int context menu item element int element int default menu item org eclips swt intern carbon point pt org eclips swt intern carbon point os global mous pt event event event event pt event pt notifi listen swt menu detect event menu menu menu event doit return 0 menu null menu dispos event pt event pt menu set locat event event menu set visibl true return 0 return default menu item contextmenuitemsforel defaultmenuitem getglobalmous notifylisten menudetect getmenu isdispos setloc setvis defaultmenuitem web kit static final nativ int hi web view creat int view webkit hiwebviewcr outview web kit static final nativ int hi web view creat int view static final nativ int hi web view web view int view webkit hiwebviewcr outview hiwebviewgetwebview inview static final nativ int hi web view creat int view static final nativ int hi web view web view int view static final nativ void web init carbon hiwebviewcr outview hiwebviewgetwebview inview webinitforcarbon obj runtim primit static final nativ int objc getclass byte class objc_getclass classnam obj runtim primit static final nativ int objc getclass byte class static final nativ int objc msgsend int object int selector objc_getclass classnam objc_msgsend static final nativ int objc getclass byte class static final nativ int objc msgsend int object int selector static final nativ int objc msgsend int object int selector int arg0 objc_getclass classnam objc_msgsend objc_msgsend static final nativ int objc msgsend int object int selector static final nativ int objc msgsend int object int selector int arg0 static final nativ int objc msgsend int object int selector int arg0 int arg1 objc_msgsend objc_msgsend objc_msgsend static final nativ int objc msgsend int object int selector int arg0 static final nativ int objc msgsend int object int selector int arg0 int arg1 static final nativ int objc msgsend int object int selector int arg0 int arg1 int arg2 objc_msgsend objc_msgsend objc_msgsend static final nativ int objc msgsend int object int selector int arg0 int arg1 static final nativ int objc msgsend int object int selector int arg0 int arg1 int arg2 static final nativ int objc msgsend int object int selector int arg0 int arg1 int arg2 int arg3 objc_msgsend objc_msgsend objc_msgsend static final nativ int objc msgsend int object int selector int arg0 int arg1 int arg2 static final nativ int objc msgsend int object int selector int arg0 int arg1 int arg2 int arg3 static final nativ int sel registernam byte selector objc_msgsend objc_msgsend sel_registernam selectornam static int sel registernam string selector byte buffer0 selector byte int length buffer0 length byte buffer byte length 1 system arraycopi buffer0 0 buffer 0 length return web kit sel registernam buffer sel_registernam getbyt webkit sel_registernam static int objc getclass string class byte buffer0 class byte int length buffer0 length byte buffer byte length 1 system arraycopi buffer0 0 buffer 0 length return web kit objc getclass buffer objc_getclass classnam classnam getbyt webkit objc_getclass public transfer data support type int type type id transfer data data transfer data type length int 0 type length data transfer data data type type return data transferdata getsupportedtyp gettypeid transferdata transferdata transferdata public boolean support type transfer data transfer data transfer data null return fals int type type id int 0 type length transfer data type type return true return fals issupportedtyp transferdata transferdata transferdata gettypeid transferdata implement code java nativ code convert java code byte code platform specif represent addit inform code transfer java nativ code transfer java nativ param object java code byte code data convert param transfer data empti code transfer data code object object fill return platform specif format data protect void java nativ object object transfer data transfer data transfer data result 1 object null object instanceof byte support type transfer data return byte orig byte object byte buffer byte orig length system arraycopi orig 0 buffer 0 orig length transfer data data byte 1 transfer data data 0 buffer transfer data result 0 javaton javaton javaton transferdata transferdata javaton transferdata transferdata transferdata issupportedtyp transferdata transferdata transferdata transferdata implement code nativ java code convert platform specif represent byte arrai java code byte code addit inform code transfer nativ java code transfer nativ java param transfer data platform specif represent data convert return java code byte code convert data convers success null protect object nativ java transfer data transfer data support type transfer data transfer data data null return null transfer data data length 0 transfer data data 0 length 0 return null return transfer data data 0 nativetojava nativetojava nativetojava transferdata nativetojava transferdata transferdata issupportedtyp transferdata transferdata transferdata transferdata transferdata construct instanc class creat instanc clipboard system resourc alloc depend platform mandatori clipboard instanc dispos longer requir param displai displai alloc clipboard except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul clipboard dispos clipboard check subclass public clipboard displai displai check subclass displai null displai displai current displai null displai displai default displai thread thread current thread dnd error swt error thread invalid access displai displai swtexcept error_thread_invalid_access error_invalid_subclass checksubclass checksubclass getcurr getdefault getthread currentthread error_thread_invalid_access check class subclass swt class librari intend subclass specif control point method enforc rule overridden p em import em provid implement method subclass class allow subclass creat implement agre fulli respons fact subclass like fail swt releas strongli platform specif support provid user written class implement fashion p abil subclass allow swt class intend pure enabl swt develop team implement patch order specif limit advanc limit address team subclass attempt intim detail understand hierarchi except swt except ul li error invalid subclass class allow subclass li ul protect void check subclass string class string valid clipboard class valid equal dnd error swt error invalid subclass swtexcept error_invalid_subclass checksubclass getclass getnam validnam getnam validnam error_invalid_subclass throw code swt except code receiv access caller includ check the receiv gener entir execut context method em em call widget implementor enforc standard swt invari error invok method code dispos code widget code dispos code method call error call widget method thread thread creat widget p futur releas swt fewer error check except thrown reason except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul protect void check widget displai displai displai displai null dnd error swt error widget dispos displai thread thread current thread dnd error swt error thread invalid access displai dispos dnd error swt error widget dispos swtexcept isdispos swtexcept error_widget_dispos error_thread_invalid_access checkwidget error_widget_dispos getthread currentthread error_thread_invalid_access isdispos error_widget_dispos dispos oper system resourc clipboard data system clipboard dispos method call note platform data applic exit displai dispos except swt except ul li error thread invalid access call thread creat parent li ul public void dispos dispos return displai thread thread current thread dnd error swt error thread invalid access displai null swtexcept error_thread_invalid_access isdispos getthread currentthread error_thread_invalid_access retriev data type system clipboard refer specif subclass code tramsfer code determin type object return snippet show text rtf text retriev clipboard code pre clipboard clipboard clipboard displai text transfer text transfer text transfer instanc string text data string clipboard content text transfer text data null system println text text data rtf transfer rtf transfer rtf transfer instanc string rtf data string clipboard content rtf transfer rtf data null system println rtf text rtf data clipboard dispos code pre transfer param transfer transfer agent type data request return data obtain clipboard null data type except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument transfer null li ul public object content transfer transfer check widget transfer null dnd error swt error null argument int scrap int 1 os current scrap scrap os err return null int type id transfer type id int size int 1 data system clipboard int 0 type id length int type type id size 0 0 os scrap flavor size scrap 0 type size os err size 0 0 byte buffer byte size 0 os scrap flavor data scrap 0 type size buffer os err transfer data tdata transfer data tdata type type tdata data byte 1 tdata data 0 buffer return transfer nativ java tdata return null data transfer texttransf texttransf texttransf getinst textdata getcont texttransf textdata textdata rtftransfer rtftransfer rtftransfer getinst rtfdata getcont rtftransfer rtfdata rtfdata swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument getcont checkwidget error_null_argument getcurrentscrap noerr typeid gettypeid typeid typeid getscrapflavors noerr getscrapflavordata noerr transferdata transferdata nativetojava return code true code clipboard dispos code fals code method dispos clipboard clipboard dispos error invok method clipboard return code true code widget dispos code fals code 3 0 public boolean dispos return displai null isdispos place data type system clipboard type data system clipboard set data clear previou data type system clipboard clear data type system clipboard note platform data immedi copi system clipboard platform provid request result applic modif data object set clipboard modif data subsequ request p snippet show text rtf text set clipboard code pre clipboard clipboard clipboard displai string text data hello string rtf data rtf1 hello text transfer text transfer text transfer instanc rtf transfer rtf transfer rtf transfer instanc clipboard set content object text data rtf data transfer text transfer rtf transfer clipboard dispos code pre param data data set clipboard param data type transfer agent convert data platform specif format entri data arrai data type except illeg argument except ul li error invalid argument data null datatyp null length data the length data type li ul except swt error ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error set clipboard clipboard lock unavail li ul public void set content object data transfer data type check widget data null data type null data length data type length dnd error swt error invalid argument os clear current scrap os err dnd error dnd error set clipboard int scrap int 1 os current scrap scrap os err dnd error dnd error set clipboard copi data directli system clipboard defer int 0 data type length int type id data type type id int 0 type id length transfer data transfer data transfer data transfer data type type id data type java nativ data transfer data transfer data result os err dnd error dnd error set clipboard drag drop handl multipl item transfer clipboard byte datum transfer data data 0 os put scrap flavor scrap 0 transfer data type 0 datum length datum os err dnd error dnd error set clipboard textdata rtfdata texttransf texttransf texttransf getinst rtftransfer rtftransfer rtftransfer getinst setcont textdata rtfdata texttransf rtftransfer datatyp datatyp illegalargumentexcept error_invalid_argument datatyp swterror error_widget_dispos error_thread_invalid_access error_cannot_set_clipboard setcont datatyp checkwidget datatyp datatyp error_invalid_argument clearcurrentscrap noerr error_cannot_set_clipboard getcurrentscrap noerr error_cannot_set_clipboard datatyp typeid datatyp gettypeid typeid transferdata transferdata transferdata transferdata typeid datatyp javaton transferdata transferdata noerr error_cannot_set_clipboard transferdata putscrapflavor transferdata noerr error_cannot_set_clipboard return arrai data type system clipboard transfer support type return arrai transfer data except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul transfer support type 3 0 public transfer data type check widget int type getavailabletyp transfer data result transfer data type length int 0 type length result transfer data result type type return result issupportedtyp transferdata swtexcept error_widget_dispos error_thread_invalid_access issupportedtyp transferdata getavailabletyp checkwidget _getavailabletyp transferdata transferdata transferdata return platform specif list data type system clipboard note code type name code util write transfer class applic platform specif inform return platform specif list data type system clipboard except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string type name check widget int type getavailabletyp string name string type length int 0 type length int type type string buffer sb string buffer sb append char type 0xff000000 24 sb append char type 0x00ff0000 16 sb append char type 0x0000ff00 8 sb append char type 0x000000ff 0 name sb string return name getavailabletypenam swtexcept error_widget_dispos error_thread_invalid_access getavailabletypenam checkwidget _getavailabletyp stringbuff stringbuff tostr privat int getavailabletyp int type int 0 int scrap int 1 os current scrap scrap os err return type int count int 1 os scrap flavor count scrap 0 count os err count 0 0 return type int info int count 0 2 os scrap flavor info list scrap 0 count info os err return type type int count 0 int 0 count 0 type info 2 return type _getavailabletyp getcurrentscrap noerr getscrapflavorcount noerr getscrapflavorinfolist noerr control listen listen public void handl event event event event type swt dispos drag sourc dispos drag sourc dispos event type swt drag detect drag sourc dispos drag sourc drag event controllisten handleev dragsourc isdispos dragsourc dragdetect dragsourc isdispos dragsourc add listen swt dispos listen public void handl event event dispos addlisten handleev ondispos creat code drag sourc code handl drag code control code creat instanc drag sourc system resourc alloc depend platform mandatori drag sourc instanc dispos longer requir param control code control code user click initi drag param style bitwis ing allow oper combin of dnd drop dnd drop copi dnd drop move dnd drop link except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li except swt error ul li error init drag unabl initi drag sourc occur drag sourc creat control oper system allow creation drag sourc li ul drag sourc dispos drag sourc check subclass dnd drop dnd drop copi dnd drop move dnd drop link public drag sourc control control int style super control check style style control control control data dragsourceid null dnd error dnd error init drag control set data dragsourceid control listen listen public void handl event event event event type swt dispos drag sourc dispos drag sourc dispos event type swt drag detect drag sourc dispos drag sourc drag event control add listen swt dispos control listen control add listen swt drag detect control listen add listen swt dispos listen public void handl event event dispos dragsourc dragsourc dragsourc drop_none drop_copi drop_move drop_link swtexcept error_thread_invalid_access error_invalid_subclass swterror error_cannot_init_drag dragsourc dragsourc checksubclass drop_none drop_copi drop_move drop_link dragsourc checkstyl getdata error_cannot_init_drag setdata controllisten handleev dragsourc isdispos dragsourc dragdetect dragsourc isdispos dragsourc addlisten controllisten addlisten dragdetect controllisten addlisten handleev ondispos static int check style int style style swt return dnd drop move return style checkstyl drop_move add listen collect listen notifi drag drop oper progress send messag defin code drag sourc listen code interfac ul li code drag start code call user begun action requir drag widget event applic chanc decid drag start li code drag set data code call data requir drag sourc li code drag finish code call drop successfulli complet mous valid target termin hit esc kei perform cleanup remov data sourc side success move oper ul param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul drag sourc listen remov drag listen drag sourc event public void add drag listen drag sourc listen listen listen null dnd error swt error null argument dnd listen type listen dnd listen listen add listen dnd drag start type listen add listen dnd drag set data type listen add listen dnd drag end type listen dragsourcelisten dragstart dragsetdata dragfinish illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access dragsourcelisten removedraglisten dragsourceev adddraglisten dragsourcelisten error_null_argument dndlisten typedlisten dndlisten addlisten dragstart typedlisten addlisten dragsetdata typedlisten addlisten dragend typedlisten protect void check subclass string class string valid drag sourc class valid equal dnd error swt error invalid subclass checksubclass getclass getnam validnam dragsourc getnam validnam error_invalid_subclass privat void drag event drag event dnd event event dnd event event widget event drag event event doit true try notifi listen dnd drag start event catch throwabl return event doit transfer agent null transfer agent length 0 return int drag int 1 os drag drag os err event dnd event event widget event int system current milli event doit fals event detail dnd drop try notifi listen dnd drag end event catch throwabl return point pt point os global mous pt event record event event record event messag os event mous move event modifi short os current event kei modifi event short os os evt event short pt event short pt immedi data transfer platform wait data request mac case file need item transfer regist to data int index 0 int 0 transfer agent length int type transfer agent type id int 0 type length transfer data transfer data transfer data transfer data type type event dnd event event widget event int system current milli event data type transfer data try notifi listen dnd drag set data event catch throwabl continu event data null continu transfer agent java nativ event data transfer data transfer data result os err transfer data data null continu int 0 transfer data data length byte data transfer data data os add drag item flavor drag 0 index type data data length 0 index 0 os dispos drag drag 0 event dnd event event widget event int system current milli event doit fals event detail dnd drop try notifi listen dnd drag end event catch throwabl return int region os rgn os set rect rgn region short pt 10 short pt 10 short pt 10 short pt 10 int oper op os op style set oper local local os set drag allow action drag 0 oper true interact finder understood allow data transfer intern os set drag allow action drag 0 os drag action fals int result os track drag drag 0 event region int oper dnd drop result os err int action int 1 os drag drop action drag 0 action oper os op op action 0 event dnd event event widget event int system current milli event doit result os err event detail oper try notifi listen dnd drag end event catch throwabl os dispos rgn region os dispos drag drag 0 dragev dndevent dndevent dragev notifylisten dragstart transferag transferag thedrag newdrag thedrag noerr dndevent currenttimemilli drop_none notifylisten dragend getglobalmous eventrecord theevent eventrecord theevent keventmousemov theevent getcurrenteventkeymodifi theevent osevt theevent where_h theevent where_v transferag transferag gettypeid transferdata transferdata transferdata transferdata dndevent currenttimemilli datatyp transferdata notifylisten dragsetdata transferag javaton transferdata transferdata noerr transferdata transferdata transferdata adddragitemflavor thedrag disposedrag thedrag dndevent currenttimemilli drop_none notifylisten dragend theregion newrgn setrectrgn theregion optoosop getstyl setdragallowableact thedrag setdragallowableact thedrag kdragactionnoth trackdrag thedrag theevent theregion drop_none noerr outact getdragdropact thedrag outact osoptoop outact dndevent currenttimemilli noerr notifylisten dragend disposergn theregion disposedrag thedrag return control regist drag sourc control user click initi drag return control regist drag sourc public control control return control dragsourc dragsourc getcontrol return list data type transfer drag sourc return list data type transfer drag sourc public transfer transfer return transfer agent dragsourc dragsourc gettransf transferag privat void dispos control null return control listen null control remov listen swt dispos control listen control remov listen swt drag detect control listen control listen null control set data dragsourceid null control null transfer agent null ondispos controllisten removelisten controllisten removelisten dragdetect controllisten controllisten setdata transferag privat int op os op int oper int os oper 0 oper dnd drop copi 0 os oper os drag action copi oper dnd drop link 0 os oper os drag action alia oper dnd drop move 0 os oper os drag action move oper dnd drop target move 0 os oper os drag action delet return os oper optoosop osoper drop_copi osoper kdragactioncopi drop_link osoper kdragactionalia drop_move osoper kdragactionmov drop_target_move osoper kdragactiondelet osoper privat int os op op int os oper int oper 0 os oper os drag action copi 0 oper dnd drop copi os oper os drag action alia 0 oper dnd drop link os oper os drag action delet 0 oper dnd drop target move os oper os drag action move 0 oper dnd drop move os oper os drag action oper dnd drop copi dnd drop move dnd drop link return oper osoptoop osoper osoper kdragactioncopi drop_copi osoper kdragactionalia drop_link osoper kdragactiondelet drop_target_move osoper kdragactionmov drop_move osoper kdragactional drop_copi drop_move drop_link remov listen collect listen notifi drag drop oper progress param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul drag sourc listen add drag listen public void remov drag listen drag sourc listen listen listen null dnd error swt error null argument remov listen dnd drag start listen remov listen dnd drag set data listen remov listen dnd drag end listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access dragsourcelisten adddraglisten removedraglisten dragsourcelisten error_null_argument removelisten dragstart removelisten dragsetdata removelisten dragend specifi list data type transfer drag sourc applic abl provid data match type success drop occur param transfer agent list transfer object defin type data drag sourc public void set transfer transfer transfer agent transfer agent transfer agent dragsourc transferag settransf transferag transferag transferag control listen listen public void handl event event event drop target dispos drop target dispos controllisten handleev droptarget isdispos droptarget add listen swt dispos listen public void handl event event event dispos addlisten handleev ondispos drag heartbeat runnabl public void run drop target control dispos drag start 0 return system current milli int delai dragov hysteresi drag start delai int drag start int allow oper drag event oper transfer data allow type drag event data type pass copi data type listen case applic modifi transfer data data type transfer data allow type length system arraycopi allow type 0 data type 0 data type length dnd event event dnd event event widget drag event widget event drag event event drag event event int event feedback dnd feedback select event data type data type event data type select data type event oper drag event oper event detail select oper try notifi listen dnd drag event catch throwabl event data type null event detail dnd drop effect show event feedback event event select data type null event data type null int 0 allow type length allow type type event data type type select data type event data type break select oper dnd drop select data type null event detail allow oper 0 select oper event detail drop target control displai timer exec delai drag heartbeat dragoverheartbeat droptarget isdispos dragoverstart currenttimemilli dragov_hysteresi dragoverstart dragoverstart allowedoper dragoverev transferdata allowedtyp dragoverev datatyp transferdata datatyp transferdata allowedtyp allowedtyp datatyp datatyp dndevent dndevent dragoverev dragoverev dragoverev feedback_select datatyp datatyp datatyp selecteddatatyp dragoverev selectedoper notifylisten dragov datatyp drop_none selecteddatatyp datatyp allowedtyp allowedtyp datatyp selecteddatatyp datatyp selectedoper drop_none selecteddatatyp allowedoper selectedoper droptarget getdisplai timerexec dragoverheartbeat creat code drop target code allow data drop code control code creat instanc drop target system resourc alloc depend platform mandatori drop target instanc dispos longer requir param control code control code user posit cursor drop data param style bitwis ing allow oper combin of dnd drop dnd drop copi dnd drop move dnd drop link except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li except swt error ul li error init drop unabl initi drop target occur drop target creat control oper system allow creation drop target li ul drop target dispos drop target check subclass dnd drop dnd drop copi dnd drop move dnd drop link public drop target control control int style super control check style style control control drag track handler null drag track handler null dnd error dnd error init drop control data droptargetid null dnd error dnd error init drop control set data droptargetid control listen listen public void handl event event event drop target dispos drop target dispos control add listen swt dispos control listen add listen swt dispos listen public void handl event event event dispos drag effect control instanceof tree effect tree drag effect tree control control instanceof tabl effect tabl drag effect tabl control effect drag effect control drag heartbeat runnabl public void run drop target control dispos drag start 0 return system current milli int delai dragov hysteresi drag start delai int drag start int allow oper drag event oper transfer data allow type drag event data type pass copi data type listen case applic modifi transfer data data type transfer data allow type length system arraycopi allow type 0 data type 0 data type length dnd event event dnd event event widget drag event widget event drag event event drag event event int event feedback dnd feedback select event data type data type event data type select data type event oper drag event oper event detail select oper try notifi listen dnd drag event catch throwabl event data type null event detail dnd drop effect show event feedback event event select data type null event data type null int 0 allow type length allow type type event data type type select data type event data type break select oper dnd drop select data type null event detail allow oper 0 select oper event detail drop target control displai timer exec delai drag heartbeat droptarget droptarget droptarget drop_none drop_copi drop_move drop_link swtexcept error_thread_invalid_access error_invalid_subclass swterror error_cannot_init_drop droptarget droptarget checksubclass drop_none drop_copi drop_move drop_link droptarget checkstyl dragtrackinghandl dragtrackinghandl error_cannot_init_drop getdata error_cannot_init_drop setdata controllisten handleev droptarget isdispos droptarget addlisten controllisten addlisten handleev ondispos treedragundereffect tabledragundereffect nodragundereffect dragoverheartbeat droptarget isdispos dragoverstart currenttimemilli dragov_hysteresi dragoverstart dragoverstart allowedoper dragoverev transferdata allowedtyp dragoverev datatyp transferdata datatyp transferdata allowedtyp allowedtyp datatyp datatyp dndevent dndevent dragoverev dragoverev dragoverev feedback_select datatyp datatyp datatyp selecteddatatyp dragoverev selectedoper notifylisten dragov datatyp drop_none selecteddatatyp datatyp allowedtyp allowedtyp datatyp selecteddatatyp datatyp selectedoper drop_none selecteddatatyp allowedoper selectedoper droptarget getdisplai timerexec dragoverheartbeat static int check style int style style swt return dnd drop move return style checkstyl drop_move privat static int drag receiv handler int window int handler ref con int drag drop target target find drop target window drag target null return os err return target drag receiv handler window handler ref con drag dragreceivehandl thewindow handlerrefcon thedrag droptarget finddroptarget thewindow thedrag noerr dragreceivehandl thewindow handlerrefcon thedrag privat static int drag track handler int messag int window int handler ref con int drag messag os drag track leav handler messag os drag track enter handler current drop target null return os err drop target target find drop target window drag current drop target null target null current drop target control handl target control handl current drop target drag track handler os drag track leav window window handler ref con drag current drop target target messag os drag track enter window current drop target target messag os drag track enter window target null return os err return target drag track handler messag window handler ref con drag dragtrackinghandl thewindow handlerrefcon thedrag kdragtrackingleavehandl kdragtrackingenterhandl currentdroptarget noerr droptarget finddroptarget thewindow thedrag currentdroptarget currentdroptarget currentdroptarget dragtrackinghandl kdragtrackingleavewindow thewindow handlerrefcon thedrag currentdroptarget kdragtrackingenterwindow currentdroptarget kdragtrackingenterwindow noerr dragtrackinghandl thewindow handlerrefcon thedrag privat static drop target find drop target int window int drag displai displai displai find displai thread current thread displai null displai dispos return null point mous point os drag mous drag mous null int root int 1 os root control window root int control int 1 rect rect rect os window bound window short os window content rgn rect cg point point cg point point mous rect left point mous rect top os hi view subview hit root 0 point true control os control enabl control 0 return null widget widget displai find widget control 0 widget null return null return drop target widget data droptargetid droptarget finddroptarget thewindow thedrag finddisplai currentthread isdispos getdragmous thedrag theroot getrootcontrol thewindow theroot thecontrol getwindowbound thewindow kwindowcontentrgn cgpoint inpoint cgpoint inpoint inpoint hiviewgetsubviewhit theroot inpoint thecontrol iscontrolen thecontrol findwidget thecontrol droptarget getdata add listen collect listen notifi drag drop oper progress send messag defin code drop target listen code interfac ul li code drag enter code call cursor enter drop target boundari li code drag leav code call cursor left drop target boundari drop occur cancel li code drag oper chang code call oper perform chang due user chang select modifi kei drag li code drag code call cursor move drop target li code drop accept code call drop perform drop target chanc chang natur drop veto drop set code event detail code field li code drop code call data drop ul param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul drop target listen remov drop listen drop target event public void add drop listen drop target listen listen listen null dnd error swt error null argument dnd listen type listen dnd listen listen add listen dnd drag enter type listen add listen dnd drag leav type listen add listen dnd drag type listen add listen dnd drag oper chang type listen add listen dnd drop type listen add listen dnd drop accept type listen droptargetlisten dragent dragleav dragoperationchang dragov dropaccept illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access droptargetlisten removedroplisten droptargetev adddroplisten droptargetlisten error_null_argument dndlisten typedlisten dndlisten addlisten dragent typedlisten addlisten dragleav typedlisten addlisten dragov typedlisten addlisten dragoperationchang typedlisten addlisten typedlisten addlisten dropaccept typedlisten protect void check subclass string class string valid drop target class valid equal dnd error swt error invalid subclass checksubclass getclass getnam validnam droptarget getnam validnam error_invalid_subclass privat int drag receiv handler int window int handler ref con int drag updat drag hover 0 null effect show dnd feedback 0 0 kei oper 1 return os drag accept err dnd event event dnd event event widget event int system current milli event detail dnd drop try notifi listen dnd drag leav event catch throwabl event dnd event set event data drag event return os drag accept err kei oper 1 int allow oper event oper transfer data allow data type transfer data event data type length system arraycopi event data type 0 allow data type 0 event data type length event data type select data type event detail select oper try notifi listen dnd drop accept event catch throwabl event detail dnd drop event data type null select data type null event data type null int 0 allow data type length allow data type type event data type type select data type allow data type break select oper dnd drop select data type null event detail allow oper 0 select oper event detail select oper dnd drop success drop return os drag accept err ask drag sourc drop data byte data data byte 0 locat item data desir type short num item short 1 os count drag item drag num item short 0 num item 0 int item ref int 1 os drag item refer number drag short 1 item ref int size int 1 os flavor data size drag item ref 0 select data type type size size 0 0 byte buffer byte size 0 os flavor data drag item ref 0 select data type type buffer size 0 byte data byte data length 1 system arraycopi data 0 data 0 data length data data length buffer data data data java format object object null int 0 transfer agent length transfer transfer transfer agent transfer support type select data type select data type data data object transfer nativ java select data type break object null select oper dnd drop event data type select data type event detail select oper event data object try notifi listen dnd drop event select oper dnd drop allow oper event detail event detail select oper event detail catch throwabl select oper dnd drop notifi sourc action int action op os op select oper os set drag drop action drag action return select oper dnd drop os drag accept err os err dragreceivehandl thewindow handlerrefcon thedrag updatedragoverhov feedback_none keyoper dragnotacceptederr dndevent dndevent currenttimemilli drop_none notifylisten dragleav dndevent seteventdata thedrag dragnotacceptederr keyoper allowedoper transferdata alloweddatatyp transferdata datatyp datatyp alloweddatatyp datatyp datatyp selecteddatatyp selectedoper notifylisten dropaccept drop_none datatyp selecteddatatyp datatyp alloweddatatyp alloweddatatyp datatyp selecteddatatyp alloweddatatyp selectedoper drop_none selecteddatatyp allowedoper selectedoper selectedoper drop_none dragnotacceptederr numitem countdragitem thedrag numitem numitem theitemref getdragitemreferencenumb thedrag theitemref getflavordatas thedrag theitemref selecteddatatyp getflavordata thedrag theitemref selecteddatatyp newdata newdata newdata newdata transferag transferag issupportedtyp selecteddatatyp selecteddatatyp nativetojava selecteddatatyp selectedoper drop_none datatyp selecteddatatyp selectedoper notifylisten selectedoper drop_none allowedoper selectedoper selectedoper drop_none optoosop selectedoper setdragdropact thedrag selectedoper drop_none dragnotacceptederr noerr privat int drag track handler int messag int window int handler ref con int drag messag os drag track leav window updat drag hover 0 null effect show dnd feedback 0 0 os set theme cursor os theme arrow cursor kei oper 1 return os drag accept err kei oper 1 dnd event event dnd event event widget event int system current milli event detail dnd drop try notifi listen dnd drag leav event catch throwabl return os err int kei oper kei oper messag os drag track enter window select data type null select oper 0 dnd event event dnd event set event data drag event kei oper 1 os set theme cursor os theme allow cursor return os drag accept err int allow oper event oper transfer data allow data type transfer data event data type length system arraycopi event data type 0 allow data type 0 allow data type length switch messag case os drag track enter window event type dnd drag enter break case os drag track window kei oper kei oper event type dnd drag event data type select data type event detail select oper event type dnd drag oper chang event data type select data type break updat drag hover dragov hysteresi event try notifi listen event type event catch throwabl os set theme cursor os theme allow cursor return os drag accept err event detail dnd drop default event detail allow oper dnd drop move 0 dnd drop move dnd drop select data type null event data type null int 0 allow data type length allow data type type event data type type select data type allow data type break select oper dnd drop select data type null allow oper event detail 0 select oper event detail os set drag drop action drag op os op select oper effect show event feedback event event switch select oper case dnd drop copi os set theme cursor os theme copi arrow cursor break case dnd drop link os set theme cursor os theme alia arrow cursor break case dnd drop move os set theme cursor os theme arrow cursor break default os set theme cursor os theme allow cursor messag os drag track enter window drag heartbeat run return os err dragtrackinghandl thewindow handlerrefcon thedrag kdragtrackingleavewindow updatedragoverhov feedback_none setthemecursor kthemearrowcursor keyoper dragnotacceptederr keyoper dndevent dndevent currenttimemilli drop_none notifylisten dragleav noerr oldkeyoper keyoper kdragtrackingenterwindow selecteddatatyp selectedoper dndevent dndevent seteventdata thedrag keyoper setthemecursor kthemenotallowedcursor dragnotacceptederr allowedoper transferdata alloweddatatyp transferdata datatyp datatyp alloweddatatyp alloweddatatyp kdragtrackingenterwindow dragent kdragtrackinginwindow keyoper oldkeyoper dragov datatyp selecteddatatyp selectedoper dragoperationchang datatyp selecteddatatyp updatedragoverhov dragov_hysteresi notifylisten setthemecursor kthemenotallowedcursor dragnotacceptederr drop_default allowedoper drop_move drop_move drop_none selecteddatatyp datatyp alloweddatatyp alloweddatatyp datatyp selecteddatatyp alloweddatatyp selectedoper drop_none selecteddatatyp allowedoper selectedoper setdragdropact thedrag optoosop selectedoper selectedoper drop_copi setthemecursor kthemecopyarrowcursor drop_link setthemecursor kthemealiasarrowcursor drop_move setthemecursor kthemearrowcursor setthemecursor kthemenotallowedcursor kdragtrackingenterwindow dragoverheartbeat noerr return control regist drop target control user posit cursor drop data return control regist drop target public control control return control droptarget droptarget getcontrol privat int oper kei int drag short modifi short 1 os drag modifi drag modifi null null boolean option modifi 0 os option kei os option kei boolean command modifi 0 os cmd kei os cmd kei option command return dnd drop link option return dnd drop copi command return dnd drop move return dnd drop default getoperationfromkeyst thedrag getdragmodifi thedrag optionkei optionkei cmdkei cmdkei drop_link drop_copi drop_move drop_default return list data type transfer drop target return list data type transfer drop target public transfer transfer return transfer agent droptarget droptarget gettransf transferag public void notifi listen int event type event event org eclips swt graphic point coordin org eclips swt graphic point event event coordin control control coordin control instanceof tree event item tree control item coordin control instanceof tabl event item tabl control item coordin super notifi listen event type event notifylisten eventtyp tocontrol getitem getitem notifylisten eventtyp privat void dispos control null return control listen null control remov listen swt dispos control listen control listen null control set data droptargetid null transfer agent null control null ondispos controllisten removelisten controllisten controllisten setdata transferag privat int op os op int oper int os oper 0 oper dnd drop copi 0 os oper os drag action copi oper dnd drop link 0 os oper os drag action alia oper dnd drop move 0 os oper os drag action move return os oper optoosop osoper drop_copi osoper kdragactioncopi drop_link osoper kdragactionalia drop_move osoper kdragactionmov osoper privat int os op op int os oper int oper 0 os oper os drag action copi 0 oper dnd drop copi os oper os drag action alia 0 oper dnd drop link os oper os drag action move 0 oper dnd drop move os oper os drag action oper dnd drop copi dnd drop move dnd drop link return oper osoptoop osoper osoper kdragactioncopi drop_copi osoper kdragactionalia drop_link osoper kdragactionmov drop_move osoper kdragactional drop_copi drop_move drop_link remov listen collect listen notifi drag drop oper progress param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul drop target listen add drop listen public void remov drop listen drop target listen listen listen null dnd error swt error null argument remov listen dnd drag enter listen remov listen dnd drag leav listen remov listen dnd drag listen remov listen dnd drag oper chang listen remov listen dnd drop listen remov listen dnd drop accept listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access droptargetlisten adddroplisten removedroplisten droptargetlisten error_null_argument removelisten dragent removelisten dragleav removelisten dragov removelisten dragoperationchang removelisten removelisten dropaccept privat boolean set event data int drag dnd event event drag 0 return fals allow oper int style style int action int 1 os drag allow action drag action int oper os op op action 0 style oper dnd drop return fals current oper int oper oper kei drag kei oper oper oper dnd drop default style dnd drop default 0 oper oper dnd drop move 0 dnd drop move dnd drop oper oper 0 oper dnd drop allow transfer type short num item short 1 os count drag item drag num item int flavor int 10 int index 1 uniqu list flavor short 0 num item 0 int item ref int 1 os drag item refer number drag short 1 item ref short num flavor short 1 os count drag item flavor drag item ref 0 num flavor int type int 1 int 0 num flavor length type 0 0 os flavor type drag item ref 0 short 1 type os err boolean uniqu true int 0 flavor length flavor type 0 uniqu fals break uniqu index flavor length 1 int temp int flavor length 10 system arraycopi flavor 0 temp 0 flavor length flavor temp flavor index type 0 index 1 return fals transfer data data type transfer data index 1 index 1 int 0 data type length flavor 0 transfer data data transfer data data type flavor int 0 transfer agent length transfer agent support type data data type index data break index 1 return fals index data type length 1 transfer data temp transfer data index 1 system arraycopi data type 0 temp 0 index 1 data type temp point mous point os drag mous drag mous null event widget event mous event mous event int system current milli event feedback dnd feedback select event data type data type event data type data type 0 event oper oper event detail oper return true seteventdata thedrag dndevent thedrag getstyl outact getdragallowableact thedrag outact osoptoop outact drop_none getoperationfromkeyst thedrag keyoper drop_default drop_default drop_move drop_move drop_none drop_none numitem countdragitem thedrag numitem numitem theitemref getdragitemreferencenumb thedrag theitemref numflavor countdragitemflavor thedrag theitemref numflavor thetyp numflavor thetyp getflavortyp thedrag theitemref thetyp noerr thetyp thetyp transferdata datatyp transferdata datatyp transferdata transferdata transferag transferag issupportedtyp datatyp datatyp transferdata transferdata datatyp datatyp getdragmous thedrag currenttimemilli feedback_select datatyp datatyp datatyp datatyp specifi data type transfer drop target data drag match type drop target notifi drag drop oper current data type null oper dnd param transfer agent list transfer object defin type data drop target except illeg argument except ul li error null argument transfer agent null li ul public void set transfer transfer transfer agent transfer agent null dnd error swt error null argument transfer agent transfer agent droptarget currentdatatyp transferag illegalargumentexcept error_null_argument transferag settransf transferag transferag error_null_argument transferag transferag privat void updat drag hover delai dnd event event delai 0 drag start 0 drag event null return drag start system current milli delai drag event null drag event dnd event drag event event drag event event drag event data type event data type drag event oper event oper drag event data type event data type drag event detail event detail updatedragoverhov dndevent dragoverstart dragoverev dragoverstart currenttimemilli dragoverev dragoverev dndevent dragoverev dragoverev dragoverev datatyp datatyp dragoverev dragoverev datatyp datatyp dragoverev privat static final string urilist separ privat file transfer urilist_separ filetransf return singleton instanc file transfer class return singleton instanc file transfer class public static file transfer instanc return instanc filetransf filetransf filetransf getinst _instanc implement code java nativ code convert list file name repres java code string code platform specif represent code string code arrai absolut path singl file directori addit inform code transfer java nativ code param object java code string code file name convert param transfer data empti code transfer data code object object fill return platform specif format data public void java nativ object object transfer data transfer data transfer data result 1 object null object instanceof string support type transfer data return string file string object file length 0 return transfer data type urilistid creat string separ line repres list file string buffer sb string buffer int 0 length file length length sb append urilist prefix sb append file sb append urilist separ string str sb string char char char str length str char 0 char length char 0 byte buffer byte char length 2 os memcpi buffer char buffer length transfer data data byte 1 transfer data data 0 buffer transfer data result 0 transfer data type hfsid byte data byte file length int 0 data length file file file file boolean directori file directori string file file char char char file length file char 0 char length char 0 int cfstring os cf string creat charact os kcf alloc default char char length cfstring 0 return try int url os cfurl creat file system path os kcf alloc default cfstring os kcfurlposix path style directori url 0 return try byte fs ref byte 80 os cfurl getf ref url fs ref return byte fs spec byte 70 os fs catalog info fs ref 0 null null fs spec null os err return byte hfsflavor byte 10 fs spec length byte finfo byte 16 os sp getf info fs spec finfo system arraycopi finfo 0 hfsflavor 0 10 system arraycopi fs spec 0 hfsflavor 10 fs spec length data hfsflavor final os cf releas url final os cf releas cfstring transfer data data data transfer data result 0 javaton javaton transferdata transferdata javaton transferdata transferdata transferdata issupportedtyp transferdata transferdata stringbuff stringbuff urilist_prefix urilist_separ tostr getchar transferdata transferdata transferdata transferdata isdirectori isdirectori filenam filenam filenam getchar cfstringcreatewithcharact kcfallocatordefault cfurlcreatewithfilesystempath kcfallocatordefault kcfurlposixpathstyl isdirectori fsref cfurlgetfsref fsref fsspec fsgetcataloginfo fsref fsspec noerr fsspec fspgetfinfo fsspec fsspec fsspec cfreleas cfreleas transferdata transferdata implement code nativ java code convert platform specif represent list file name java code string code string arrai absolut path singl file directori addit inform code transfer nativ java code param transfer data platform specif represent data convert return java code string code list file name convers success null public object nativ java transfer data transfer data support type transfer data transfer data data null return null transfer data data length 0 return null transfer data type urilistid byte data transfer data data 0 data length 0 return null char char char data length 1 2 os memcpi char data data length string str string char int start str index urilist prefix start 1 return null start urilist prefix length string file name string 0 start str length int end str index urilist separ start end 1 end str length 1 string file str substr start end string file name string file name length 1 system arraycopi file name 0 file name 0 file name length file name file name length file file name file name start str index urilist prefix end start 1 break start urilist prefix length return file name transfer data type hfsid int count transfer data data length string file name string count int 0 count byte data transfer data data byte fsspec byte data length 10 system arraycopi data 10 fsspec 0 fsspec length byte fs ref byte 80 os sp makef ref fsspec fs ref os err return null int url os cfurl creat fromf ref os kcf alloc default fs ref url 0 return null try int path os cfurl copi file system path url os kcfurlposix path style path 0 return null try int length os cf string length path length 0 return null char buffer char length cf rang rang cf rang rang length length os cf string charact path rang buffer file name string buffer final os cf releas path final os cf releas url return file name return null nativetojava nativetojava transferdata nativetojava transferdata transferdata issupportedtyp transferdata transferdata transferdata transferdata transferdata indexof urilist_prefix urilist_prefix filenam indexof urilist_separ filenam newfilenam filenam filenam newfilenam filenam newfilenam filenam filenam filenam newfilenam indexof urilist_prefix urilist_prefix filenam transferdata transferdata filenam transferdata fsref fspmakefsref fsref noerr cfurlcreatefromfsref kcfallocatordefault fsref cfurlcopyfilesystempath kcfurlposixpathstyl cfstringgetlength cfrang cfrang cfstringgetcharact filenam cfreleas cfreleas filenam protect int type id return int urilistid hfsid gettypeid protect string type name return string urilist hf gettypenam privat static final int rtfid regist type rtf privat rtf transfer registertyp rtftransfer return singleton instanc rtf transfer class return singleton instanc rtf transfer class public static rtf transfer instanc return instanc rtftransfer rtftransfer rtftransfer getinst _instanc implement code java nativ code convert rtf format text repres java code string code platform specif represent addit inform code transfer java nativ code param object java code string code rtf text param transfer data empti code transfer data code object object fill return platform specif format data public void java nativ object object transfer data transfer data transfer data result 1 object null object instanceof string support type transfer data return string string string object int count string length count 0 return char char char count string char 0 count char 0 int cfstring os cf string creat charact os kcf alloc default char count cfstring 0 return try cf rang rang cf rang rang length char length int encod os cf string system encod int size int 1 int num char os cf string byte cfstring rang encod byte true null 0 size num char 0 size 0 0 return byte buffer byte size 0 num char os cf string byte cfstring rang encod byte true buffer size 0 size num char 0 return transfer data data byte 1 transfer data data 0 buffer transfer data result 0 final os cf releas cfstring javaton javaton transferdata transferdata javaton transferdata transferdata transferdata issupportedtyp transferdata getchar cfstringcreatewithcharact kcfallocatordefault cfrang cfrang cfstringgetsystemencod numchar cfstringgetbyt numchar numchar cfstringgetbyt numchar transferdata transferdata transferdata cfreleas implement code nativ java code convert platform specif represent rtf text java code string code addit inform code transfer nativ java code param transfer data platform specif represent data convert return java code string code rtf text convers success null public object nativ java transfer data transfer data support type transfer data transfer data data null return null transfer data data length 0 transfer data data 0 length 0 return null byte buffer transfer data data 0 int encod os cf string system encod int cfstring os cf string creat byte os kcf alloc default buffer buffer length encod true cfstring 0 return null try int length os cf string length cfstring length 0 return null char char char length cf rang rang cf rang rang length length os cf string charact cfstring rang char return string char final os cf releas cfstring nativetojava nativetojava transferdata nativetojava transferdata transferdata issupportedtyp transferdata transferdata transferdata transferdata transferdata cfstringgetsystemencod cfstringcreatewithbyt kcfallocatordefault cfstringgetlength cfrang cfrang cfstringgetcharact cfreleas protect int type id return int rtfid gettypeid protect string type name return string rtf gettypenam privat int current effect dnd feedback tabl drag effect tabl tabl tabl tabl currenteffect feedback_none tabledragundereffect void show int effect int int tabl item item null effect dnd feedback item find item item null effect dnd feedback current effect effect current effect dnd feedback select tabl select tabl set select tabl item 0 boolean restor select current effect effect effect dnd feedback set drag effect effect item restor select tabl set select select select tabl item 0 tableitem feedback_none finditem feedback_none currenteffect currenteffect feedback_none getselect setselect tableitem restoreselect currenteffect feedback_none setdragundereffect restoreselect setselect tableitem privat tabl item find item int int tabl null return null point coordin point coordin tabl control coordin return tabl item coordin tableitem finditem tocontrol getitem privat void set drag effect int effect tabl item item current item item item null tabl set select tabl item 0 tabl set select tabl item item current item item current effect effect setdragundereffect tableitem currentitem setselect tableitem setselect tableitem currentitem currenteffect privat static final int utextid os scrap flavor type unicod privat text transfer kscrapflavortypeunicod texttransf return singleton instanc text transfer class return singleton instanc text transfer class public static text transfer instanc return instanc texttransf texttransf texttransf getinst _instanc implement code java nativ code convert plain text repres java code string code platform specif represent addit inform code transfer java nativ code param object java code string code text param transfer data empti code transfer data code object object fill return platform specif format data public void java nativ object object transfer data transfer data transfer data result 1 object null object instanceof string support type transfer data return string string string object string length 0 return char char char string length string char 0 char length char 0 switch transfer data type case textid int cfstring os cf string creat charact os kcf alloc default char char length cfstring 0 return byte buffer null try cf rang rang cf rang rang length char length int encod os cf string system encod int size int 1 int num char os cf string byte cfstring rang encod byte true null 0 size num char 0 return buffer byte size 0 num char os cf string byte cfstring rang encod byte true buffer size 0 size num char 0 return final os cf releas cfstring transfer data data byte 1 transfer data data 0 buffer transfer data result os err break case utextid byte buffer byte char length 2 os memcpi buffer char buffer length transfer data data byte 1 transfer data data 0 buffer transfer data result os err break javaton javaton transferdata transferdata javaton transferdata transferdata transferdata issupportedtyp transferdata getchar transferdata cfstringcreatewithcharact kcfallocatordefault cfrang cfrang cfstringgetsystemencod numchar cfstringgetbyt numchar numchar cfstringgetbyt numchar cfreleas transferdata transferdata transferdata noerr transferdata transferdata transferdata noerr implement code nativ java code convert platform specif represent plain text java code string code addit inform code transfer nativ java code param transfer data platform specif represent data convert return java code string code text convers success null public object nativ java transfer data transfer data support type transfer data transfer data data null return null transfer data data length 0 transfer data data 0 length 0 return null byte buffer transfer data data 0 switch transfer data type case textid int encod os cf string system encod int cfstring os cf string creat byte os kcf alloc default buffer buffer length encod true cfstring 0 return null try int length os cf string length cfstring length 0 return null char char char length cf rang rang cf rang rang length length os cf string charact cfstring rang char return string char final os cf releas cfstring case utextid char char char buffer length 1 2 os memcpi char buffer buffer length return string char return null nativetojava nativetojava transferdata nativetojava transferdata transferdata issupportedtyp transferdata transferdata transferdata transferdata transferdata transferdata cfstringgetsystemencod cfstringcreatewithbyt kcfallocatordefault cfstringgetlength cfrang cfrang cfstringgetcharact cfreleas protect int type id return int utextid textid gettypeid protect string type name return string utext text gettypenam return list platform specif data type convert transfer agent data type field code transfer data code object fill return list data type convert transfer agent transferdata return true code transfer data code data type convert transfer agent param transfer data platform specif descript data type data type field code transfer data code object need fill return true transfer data data type convert transfer agent transferdata transferdata transferdata transferdata return platform specfic id data type convert transfer agent return platform specfic id data type convert transfer agent return platform specfic name data type convert transfer agent return platform specfic name data type convert transfer agent convert java represent data platform specif represent data success convers transfer data result field set follow ul li window com ok li motif 1 li gtk 1 li photon 1 ul p transfer agent unabl perform convers transfer data result field set failur follow ul li window com dv tyme com fail li motif 0 li gtk 0 li photon 0 ul param object java represent data convert type object pass depend code transfer code subclass param transfer data empti transfer data object object fill return platform specif represent data transferdata s_ok transferdata dv_e_tyme e_fail transferdata transferdata convert platform specif represent data java represent param transfer data platform specif represent data convert return java represent convert data convers success null type object return depend code transfer code subclass transferdata regist data type return uniqu identifi regist type uniqu identifi return type previous regist p note window call method pre defin clipboard format type cf text cf bitmap pre defin identifi return param format data type return uniqu identifi data type public static int regist type string format int length format length todo hashcod uniqu need length 4 return format hash code int type 0 length 0 type format char 0 0xff 24 length 1 type format char 1 0xff 16 length 2 type format char 2 0xff 8 length 3 type format char 3 0xff return type cf_text cf_bitmap formatnam registertyp formatnam formatnam formatnam hashcod formatnam charat formatnam charat formatnam charat formatnam charat privat tree item select tree item 0 tree drag effect tree tree tree tree treeitem treeitem treedragundereffect void show int effect int int tree item item null effect dnd feedback item find item item null effect dnd feedback current effect effect current effect dnd feedback select tree select tree set select tree item 0 boolean restor select current effect effect effect dnd feedback set drag effect effect item restor select tree set select select select tree item 0 treeitem feedback_none finditem feedback_none currenteffect currenteffect feedback_none getselect setselect treeitem restoreselect currenteffect feedback_none setdragundereffect restoreselect setselect treeitem privat tree item find item int int point coordin point coordin tree control coordin return tree item coordin treeitem finditem tocontrol getitem privat void set drag effect int effect tree item item switch effect case dnd feedback select current effect dnd feedback insert current effect dnd feedback insert set insert mark null fals current effect dnd feedback current item null current effect effect current item item set drop select item current effect dnd feedback select current item item break case dnd feedback insert case dnd feedback insert current effect dnd feedback select set drop select null current effect dnd feedback current item null current effect effect current item item set insert mark item effect dnd feedback insert current effect effect current item item break default current effect dnd feedback insert current effect dnd feedback insert set insert mark null fals current effect dnd feedback select set drop select null current effect dnd feedback current item null break setdragundereffect treeitem feedback_select currenteffect feedback_insert_after currenteffect feedback_insert_befor setinsertmark currenteffect feedback_none currentitem currenteffect currentitem setdropselect currenteffect feedback_select currentitem feedback_insert_after feedback_insert_befor currenteffect feedback_select setdropselect currenteffect feedback_none currentitem currenteffect currentitem setinsertmark feedback_insert_after currenteffect currentitem currenteffect feedback_insert_after currenteffect feedback_insert_befor setinsertmark currenteffect feedback_select setdropselect currenteffect feedback_none currentitem privat void set drop select tree item item item null tree set select tree item 0 tree set select tree item item setdropselect treeitem setselect treeitem setselect treeitem privat void set insert mark tree item item boolean implement setinsertmark treeitem devic devic color construct instanc class devic desir red green blue valu express int rang 0 255 0 black 255 full bright limit color devic color instanc creat call rgb valu the argument rgb valu return instanc color valu oper system color dispos color longer requir param devic devic alloc color param red amount red color param green amount green color param blue amount blue color except illeg argument except ul li error null argument devic null current devic li li error invalid argument red green blue argument 0 255 li ul dispos public color devic devic int red int green int blue init devic red green blue illegalargumentexcept error_null_argument error_invalid_argument construct instanc class devic code rgb code describ desir red green blue valu limit color devic color instanc creat call rgb valu the argument rgb valu return instanc color valu oper system color dispos color longer requir param devic devic alloc color param rgb rgb valu desir color except illeg argument except ul li error null argument devic null current devic li li error null argument rgb argument null li li error invalid argument red green blue compon argument 0 255 li ul dispos public color devic devic rgb rgb rgb null swt error swt error null argument init devic rgb red rgb green rgb blue illegalargumentexcept error_null_argument error_null_argument error_invalid_argument error_null_argument dispos oper system resourc color applic dispos color alloc public void dispos handl null return devic dispos return devic null handl null isdispos compar argument receiv return true repres em em object class specif comparison param object object compar object return code true code object object code fals code hash code public boolean equal object object object return true object instanceof color return fals color color color object float rgb color color handl handl rgb color return true return devic color devic handl 0 rgb color 0 handl 1 rgb color 1 handl 2 rgb color 2 hashcod rgbcolor rgbcolor rgbcolor rgbcolor rgbcolor return amount blue color 0 255 return blue compon color except swt except ul li error graphic dispos receiv dispos li ul public int blue dispos swt error swt error graphic dispos return int handl 2 255 swtexcept error_graphic_dispos getblu isdispos error_graphic_dispos return amount green color 0 255 return green compon color except swt except ul li error graphic dispos receiv dispos li ul public int green dispos swt error swt error graphic dispos return int handl 1 255 swtexcept error_graphic_dispos getgreen isdispos error_graphic_dispos return amount red color 0 255 return red compon color except swt except ul li error graphic dispos receiv dispos li ul public int red dispos swt error swt error graphic dispos return int handl 0 255 swtexcept error_graphic_dispos getr isdispos error_graphic_dispos return integ hash code receiv object return code true code pass code equal code return method return receiv hash equal public int hash code dispos return 0 return int handl 0 255 int handl 1 255 int handl 2 255 hashcod isdispos return code rgb code repres receiv return rgb color except swt except ul li error graphic dispos receiv dispos li ul public rgb getrgb dispos swt error swt error graphic dispos return rgb red green blue swtexcept error_graphic_dispos isdispos error_graphic_dispos getr getgreen getblu invok platform specif function alloc color import method em em part public api code color code mark public share packag provid swt platform call applic code param devic devic alloc color param handl handl color privat public static color carbon devic devic float rgb color devic null devic devic devic color color color color handl rgb color color devic devic return color carbon_new rgbcolor getdevic rgbcolor void init devic devic int red int green int blue devic null devic devic devic devic null swt error swt error null argument devic devic red 255 red 0 green 255 green 0 blue 255 blue 0 swt error swt error invalid argument float rgb color float 4 rgb color 0 red 255f rgb color 1 green 255f rgb color 2 blue 255f rgb color 3 1 handl rgb color getdevic error_null_argument error_invalid_argument rgbcolor rgbcolor rgbcolor rgbcolor rgbcolor rgbcolor return code true code color dispos code fals code method dispos color color dispos error invok method color return code true code color dispos code fals code public boolean dispos return handl null isdispos return string concis human readabl descript receiv return string represent receiv public string string dispos return color dispos return color red green blue tostr isdispos getr getgreen getblu prevent uniniti instanc creat packag cursor construct cursor devic style constant describ desir cursor appear dispos cursor longer requir param devic devic alloc cursor param style style cursor alloc except illeg argument except ul li error null argument devic null current devic li li error invalid argument unknown style li ul except swt error ul li error handl handl obtain cursor creation li ul swt cursor arrow swt cursor wait swt cursor cross swt cursor appstart swt cursor help swt cursor sizeal swt cursor sizenesw swt cursor sizen swt cursor sizenws swt cursor sizew swt cursor sizen swt cursor size swt cursor size swt cursor sizew swt cursor sizen swt cursor sizes swt cursor sizesw swt cursor sizenw swt cursor uparrow swt cursor ibeam swt cursor swt cursor hand public cursor devic devic int style devic null devic devic devic devic null swt error swt error null argument devic devic switch style case swt cursor hand handl os theme point hand cursor break case swt cursor arrow handl os theme arrow cursor break case swt cursor wait handl os theme spin cursor break case swt cursor cross handl os theme cross cursor break case swt cursor appstart handl os theme arrow cursor break case swt cursor help handl os theme cross cursor break case swt cursor sizeal handl os theme cross cursor break case swt cursor sizenesw handl os theme cross cursor break case swt cursor sizen org eclips swt intern carbon cursor cursor org eclips swt intern carbon cursor cursor data sizen sourc cursor mask sizen mask cursor hotspot 7 cursor hotspot 7 handl os ptr org eclips swt intern carbon cursor sizeof handl 0 swt error swt error handl os memcpi handl cursor org eclips swt intern carbon cursor sizeof break case swt cursor sizenws handl os theme cross cursor break case swt cursor sizew handl os theme resiz left cursor break case swt cursor sizen handl os theme cross cursor break case swt cursor size handl os theme cross cursor break case swt cursor size handl os theme resiz cursor break case swt cursor sizew handl os theme resiz left cursor break case swt cursor sizen handl os theme cross cursor break case swt cursor sizes handl os theme cross cursor break case swt cursor sizesw handl os theme cross cursor break case swt cursor sizenw handl os theme cross cursor break case swt cursor uparrow handl os theme cross cursor break case swt cursor ibeam handl os themei beam cursor break case swt cursor handl os theme allow cursor break default swt error swt error invalid argument illegalargumentexcept error_null_argument error_invalid_argument swterror error_no_handl cursor_arrow cursor_wait cursor_cross cursor_appstart cursor_help cursor_sizeal cursor_sizenesw cursor_sizen cursor_sizenws cursor_sizew cursor_sizen cursor_size cursor_size cursor_sizew cursor_sizen cursor_sizes cursor_sizesw cursor_sizenw cursor_uparrow cursor_ibeam cursor_no cursor_hand getdevic error_null_argument cursor_hand kthemepointinghandcursor cursor_arrow kthemearrowcursor cursor_wait kthemespinningcursor cursor_cross kthemecrosscursor cursor_appstart kthemearrowcursor cursor_help kthemecrosscursor cursor_sizeal kthemecrosscursor cursor_sizenesw kthemecrosscursor cursor_sizen sizen_sourc sizen_mask hotspot_h hotspot_v newptr error_no_handl cursor_sizenws kthemecrosscursor cursor_sizew kthemeresizeleftrightcursor cursor_sizen kthemecrosscursor cursor_size kthemecrosscursor cursor_size kthemeresizerightcursor cursor_sizew kthemeresizeleftcursor cursor_sizen kthemecrosscursor cursor_sizes kthemecrosscursor cursor_sizesw kthemecrosscursor cursor_sizenw kthemecrosscursor cursor_uparrow kthemecrosscursor cursor_ibeam kthemeibeamcursor cursor_no kthemenotallowedcursor error_invalid_argument construct cursor devic imag mask data describ desir cursor appear coordin em hotspot em point area cover cursor consid screen pointer point mask data allow null case sourc imag data repres icon specifi color data mask data dispos cursor longer requir param devic devic alloc cursor param sourc color data cursor param mask mask data cursor null param hotspotx coordin cursor hotspot param hotspoti coordin cursor hotspot except illeg argument except ul li error null argument devic null current devic li li error null argument sourc null li li error null argument mask null sourc mask li li error invalid argument sourc mask size depth hotspot bound imag li ul except swt error ul li error handl handl obtain cursor creation li ul public cursor devic devic imag data sourc imag data mask int hotspotx int hotspoti devic null devic devic devic devic null swt error swt error null argument devic devic sourc null swt error swt error null argument mask null sourc transpar type swt transpar mask swt error swt error null argument mask sourc transpar mask check bound mask size sourc mask width sourc width mask height sourc height swt error swt error invalid argument check color depth mask depth 1 swt error swt error invalid argument sourc depth 1 swt error swt error invalid argument check hotspot hotspotx sourc width hotspotx 0 hotspoti sourc height hotspoti 0 swt error swt error invalid argument find non transpar pixel cursor bigger 16x16 int width sourc width int height sourc height int minx 0 mini 0 width 16 height 16 minx width mini height int maxx 0 maxi 0 int 0 height int 0 width sourc pixel 1 mask pixel 0 minx math min minx mini math min mini maxx math max maxx maxi math max maxi width maxx minx 1 height maxi mini 1 stretch cursor bigger 16x16 width 16 height 16 int width math min width 16 int height math min height 16 imag data sourc imag data width height sourc depth sourc palett 1 null 0 null null 1 1 sourc type sourc sourc sourc dispos method sourc delai imag data mask imag data width height mask depth mask palett 1 null 0 null null 1 1 mask type mask mask mask dispos method mask delai imag data blit imag data blit src sourc data sourc depth sourc byte line sourc byte order minx mini width height null null null imag data alpha opaqu null 0 minx mini sourc data sourc depth sourc byte line sourc byte order 0 0 width height null null null fals fals imag data blit imag data blit src mask data mask depth mask byte line mask byte order minx mini width height null null null imag data alpha opaqu null 0 minx mini mask data mask depth mask byte line mask byte order 0 0 width height null null null fals fals width width height height minx mini 0 sourc sourc mask mask creat cursor org eclips swt intern carbon cursor cursor org eclips swt intern carbon cursor short src data cursor data short mask data cursor mask int 0 height short 0 0 int 0 width int bit 1 width 1 sourc pixel minx mini 0 bit mask pixel minx mini 0 bit mask pixel minx mini 0 bit src data mask data cursor hotspot short math max 0 math min 15 hotspoti minx cursor hotspot short math max 0 math min 15 hotspoti mini handl os ptr org eclips swt intern carbon cursor sizeof handl 0 swt error swt error handl os memcpi handl cursor org eclips swt intern carbon cursor sizeof imagedata illegalargumentexcept error_null_argument error_null_argument error_null_argument error_invalid_argument swterror error_no_handl imagedata imagedata getdevic error_null_argument error_null_argument gettransparencytyp transpar_mask error_null_argument gettransparencymask error_invalid_argument error_invalid_argument error_invalid_argument error_invalid_argument getpixel getpixel newwidth newheight imagedata newsourc imagedata newwidth newheight disposalmethod delaytim imagedata newmask imagedata newwidth newheight disposalmethod delaytim imagedata imagedata blit_src bytesperlin getbyteord imagedata alpha_opaqu newsourc newsourc newsourc bytesperlin newsourc getbyteord newwidth newheight imagedata imagedata blit_src bytesperlin getbyteord imagedata alpha_opaqu newmask newmask newmask bytesperlin newmask getbyteord newwidth newheight newwidth newheight newsourc newmask srcdata maskdata getpixel getpixel getpixel srcdata maskdata hotspot_h hotspot_v newptr error_no_handl construct cursor devic imag data describ desir cursor appear coordin em hotspot em point area cover cursor consid screen pointer point dispos cursor longer requir param devic devic alloc cursor param sourc imag data cursor param hotspotx coordin cursor hotspot param hotspoti coordin cursor hotspot except illeg argument except ul li error null argument devic null current devic li li error null argument imag null li li error invalid argument hotspot bound imag li ul except swt error ul li error handl handl obtain cursor creation li ul 3 0 public cursor devic devic imag data sourc int hotspotx int hotspoti devic null devic devic devic devic null swt error swt error null argument devic devic sourc null swt error swt error null argument hotspotx sourc width hotspotx 0 hotspoti sourc height hotspoti 0 swt error swt error invalid argument imag data mask sourc transpar mask ensur depth equal 1 sourc depth 1 creat destin imag data imag data sourc imag data sourc width sourc height 1 imag data bw palett 1 null 0 null null 1 1 sourc type sourc sourc sourc dispos method sourc delai convert sourc black white imag depth 1 palett data palett sourc palett palett direct imag data blit imag data blit src sourc data sourc depth sourc byte line sourc byte order 0 0 sourc width sourc height 0 0 0 imag data alpha opaqu null 0 0 0 sourc data sourc depth sourc byte line sourc byte order 0 0 sourc width sourc height 0 0 0 fals fals imag data blit imag data blit src sourc data sourc depth sourc byte line sourc byte order 0 0 sourc width sourc height null null null imag data alpha opaqu null 0 0 0 sourc data sourc depth sourc byte line sourc byte order 0 0 sourc width sourc height null null null fals fals sourc sourc find non transpar pixel cursor bigger 16x16 int width sourc width int height sourc height int minx 0 mini 0 width 16 height 16 minx width mini height int maxx 0 maxi 0 int 0 height int 0 width sourc pixel 1 mask pixel 0 minx math min minx mini math min mini maxx math max maxx maxi math max maxi width maxx minx 1 height maxi mini 1 stretch cursor bigger 16x16 width 16 height 16 int width math min width 16 int height math min height 16 imag data sourc imag data width height sourc depth sourc palett 1 null 0 null null 1 1 sourc type sourc sourc sourc dispos method sourc delai imag data mask imag data width height mask depth mask palett 1 null 0 null null 1 1 mask type mask mask mask dispos method mask delai imag data blit imag data blit src sourc data sourc depth sourc byte line sourc byte order minx mini width height null null null imag data alpha opaqu null 0 minx mini sourc data sourc depth sourc byte line sourc byte order 0 0 width height null null null fals fals imag data blit imag data blit src mask data mask depth mask byte line mask byte order minx mini width height null null null imag data alpha opaqu null 0 minx mini mask data mask depth mask byte line mask byte order 0 0 width height null null null fals fals width width height height minx mini 0 sourc sourc mask mask creat cursor org eclips swt intern carbon cursor cursor org eclips swt intern carbon cursor short src data cursor data short mask data cursor mask int 0 height short 0 0 int 0 width int bit 1 width 1 sourc pixel minx mini 0 mask pixel minx mini 0 bit bit mask pixel minx mini 0 bit src data mask data cursor hotspot short math max 0 math min 15 hotspoti minx cursor hotspot short math max 0 math min 15 hotspoti mini handl os ptr org eclips swt intern carbon cursor sizeof handl 0 swt error swt error handl os memcpi handl cursor org eclips swt intern carbon cursor sizeof illegalargumentexcept error_null_argument error_null_argument error_invalid_argument swterror error_no_handl imagedata getdevic error_null_argument error_null_argument error_invalid_argument imagedata gettransparencymask imagedata newsourc imagedata imagedata bwpalett disposalmethod delaytim palettedata isdirect imagedata imagedata blit_src bytesperlin getbyteord imagedata alpha_opaqu newsourc newsourc newsourc bytesperlin newsourc getbyteord newsourc newsourc imagedata imagedata blit_src bytesperlin getbyteord imagedata alpha_opaqu newsourc newsourc newsourc bytesperlin newsourc getbyteord newsourc newsourc newsourc getpixel getpixel newwidth newheight imagedata newsourc imagedata newwidth newheight disposalmethod delaytim imagedata newmask imagedata newwidth newheight disposalmethod delaytim imagedata imagedata blit_src bytesperlin getbyteord imagedata alpha_opaqu newsourc newsourc newsourc bytesperlin newsourc getbyteord newwidth newheight imagedata imagedata blit_src bytesperlin getbyteord imagedata alpha_opaqu newmask newmask newmask bytesperlin newmask getbyteord newwidth newheight newwidth newheight newsourc newmask srcdata maskdata getpixel getpixel getpixel srcdata maskdata hotspot_h hotspot_v newptr error_no_handl dispos oper system resourc cursor applic dispos cursor alloc public void dispos handl 1 return devic dispos return switch handl case os theme point hand cursor case os theme arrow cursor case os theme spin cursor case os theme cross cursor case os theme watch cursor case os themei beam cursor case os theme allow cursor case os theme resiz left cursor case os theme resiz left cursor case os theme resiz cursor break default os dispos ptr handl handl 1 devic null isdispos kthemepointinghandcursor kthemearrowcursor kthemespinningcursor kthemecrosscursor kthemewatchcursor kthemeibeamcursor kthemenotallowedcursor kthemeresizeleftrightcursor kthemeresizeleftcursor kthemeresizerightcursor disposeptr compar argument receiv return true repres em em object class specif comparison param object object compar object return code true code object object code fals code hash code public boolean equal object object object return true object instanceof cursor return fals cursor cursor cursor object return devic cursor devic handl cursor handl hashcod return integ hash code receiv object return code true code pass code equal code return method return receiv hash equal public int hash code return handl hashcod return code true code cursor dispos code fals code method dispos cursor cursor dispos error invok method cursor return code true code cursor dispos code fals code public boolean dispos return handl 1 isdispos return string concis human readabl descript receiv return string represent receiv public string string dispos return cursor dispos return cursor handl tostr isdispos invok platform specif function alloc cursor import method em em part public api code cursor code mark public share packag provid swt platform call applic code param devic devic alloc color param handl handl cursor privat public static cursor carbon devic devic int handl devic null devic devic devic cursor cursor cursor cursor handl handl cursor devic devic return cursor carbon_new getdevic static devic devic devic finder null devic finder run devic devic current devic current devic null return devic getdevic devicefind devicefind currentdevic currentdevic construct instanc class dispos devic longer requir param data devic data describ receiv creat init devic data public devic devic data data data null debug data debug track data track creat data init track error error 128 object object 128 devicedata devicedata devicedata throw code swt except code receiv access caller includ check the receiv gener entir execut context method em em call devic implementor enforc standard swt invari error invok method code dispos code code dispos code devic code dispos code method call p futur releas swt fewer error check except thrown reason except swt except ul li error widget dispos receiv dispos li ul protect void check devic dispos swt error swt error devic dispos swtexcept isdispos swtexcept error_widget_dispos checkdevic error_devic_dispos creat devic oper system devic handl method depend devic method call code init code p subclass suppos reimplement method call code super code implement param data devic data describ receiv init protect void creat devic data data devicedata devicedata dispos oper system resourc receiv method invok receiv answer code true code messag code dispos code releas destroi check devic public void dispos dispos return check devic releas destroi dispos true track object null error null isdispos checkdevic isdispos checkdevic void dispos object object object int 0 object length object object object null error null return dispos_object destroi devic oper system releas devic handl devic handl method depend devic method call code releas code p subclass suppos reimplement method call code super code implement dispos releas protect void destroi return rectangl describ receiv size locat return bound rectangl except swt except ul li error devic dispos receiv dispos li ul public rectangl bound check devic int gdevic os main devic int ptr int 1 os memcpi ptr gdevic 4 devic devic devic os memcpi devic ptr 0 devic sizeof return rectangl devic left devic top devic devic left devic bottom devic top swtexcept error_devic_dispos getbound checkdevic getmaindevic gdevic gdevic gdevic return code devic data code base receiv modif code devic data code affect receiv return code devic data code devic data attribut except swt except ul li error devic dispos receiv dispos li ul devic data public devic data devic data check devic devic data data devic data data debug debug data track track int count 0 length 0 track length object length int 0 length object null count int index 0 data object object count data error error count int 0 length object null data object index object data error index error index return data devicedata devicedata devicedata swtexcept error_devic_dispos devicedata devicedata getdevicedata checkdevic devicedata devicedata return rectangl describ area receiv capabl displai data return client area except swt except ul li error devic dispos receiv dispos li ul bound public rectangl client area check devic int gdevic os main devic rect rect rect os window posit bound gdevic rect return rectangl rect left rect top rect rect left rect bottom rect top swtexcept error_devic_dispos getbound getclientarea checkdevic getmaindevic getavailablewindowpositioningbound return bit depth screen number bit take repres number uniqu color screen capabl displai number typic 1 8 15 16 24 32 return depth screen except swt except ul li error devic dispos receiv dispos li ul public int depth check devic int gdevic os main devic int ptr int 1 os memcpi ptr gdevic 4 devic devic devic os memcpi devic ptr 0 devic sizeof return os pix depth devic gdp map swtexcept error_devic_dispos getdepth checkdevic getmaindevic gdevic gdevic gdevic getpixdepth gdpmap return point coordin horizont dot inch displai coordin vertic dot inch displai return horizont vertic dpi except swt except ul li error devic dispos receiv dispos li ul public point getdpi check devic int gdevic os main devic int ptr int 1 os memcpi ptr gdevic 4 devic devic devic os memcpi devic ptr 0 devic sizeof os memcpi ptr devic gdp map 4 pix map pixmap pix map os memcpi pixmap ptr 0 pix map sizeof return point os fix2 pixmap re os fix2 pixmap re swtexcept error_devic_dispos checkdevic getmaindevic gdevic gdevic gdevic gdpmap pixmap pixmap pixmap fix2long hre fix2long vre return code font data code object describ font match argument code face code null font return param face the font look null param scalabl true scalabl font return non scalabl font return return match font data except swt except ul li error devic dispos receiv dispos li ul public font data font list string face boolean scalabl check devic scalabl return font data 0 short style short 1 short famili short 1 int font count int 1 int actual length int 1 os atsu fonti ds null 0 font count int fonti ds int font count 0 os atsu fonti ds fonti ds fonti ds length font count font data fd font data font count 0 int 0 fd length int fontid fonti ds os atsu find font fontid os font famili os font platform code os font script code os font languag code 0 null actual length null byte buffer byte actual length 0 os atsu find font fontid os font famili os font platform code os font script code os font languag code buffer length buffer actual length null string string buffer face null compat equal ignor case face name os fm font famili instanc font fontid famili style int swt normal style 0 os ital 0 swt ital style 0 os bold 0 swt bold font data data font data 0 fd data return fd fontdata facenam facenam swtexcept error_devic_dispos fontdata getfontlist facenam checkdevic fontdata fontcount actuallength atsugetfontid fontcount fontid fontcount atsugetfontid fontid fontid fontcount fontdata fontdata fontcount fontid atsufindfontnam kfontfamilynam kfontnoplatformcod kfontnoscriptcod kfontnolanguagecod actuallength actuallength atsufindfontnam kfontfamilynam kfontnoplatformcod kfontnoscriptcod kfontnolanguagecod actuallength facenam equalsignorecas facenam fmgetfontfamilyinstancefromfont fontdata fontdata return match standard color constant color constant class code swt code swt color constant pass result color black color free alloc system applic param id color constant return match color except swt except ul li error devic dispos receiv dispos li ul swt public color system color int id check devic switch id case swt color black return color black case swt color dark red return color dark red case swt color dark green return color dark green case swt color dark yellow return color dark yellow case swt color dark blue return color dark blue case swt color dark magenta return color dark magenta case swt color dark cyan return color dark cyan case swt color grai return color grai case swt color dark grai return color dark grai case swt color red return color red case swt color green return color green case swt color yellow return color yellow case swt color blue return color blue case swt color magenta return color magenta case swt color cyan return color cyan case swt color white return color white return color black swtexcept error_devic_dispos getsystemcolor checkdevic color_black color_black color_dark_red color_dark_red color_dark_green color_dark_green color_dark_yellow color_dark_yellow color_dark_blue color_dark_blue color_dark_magenta color_dark_magenta color_dark_cyan color_dark_cyan color_grai color_grai color_dark_grai color_dark_grai color_red color_red color_green color_green color_yellow color_yellow color_blue color_blue color_magenta color_magenta color_cyan color_cyan color_white color_white color_black return reason font applic platform match default font system font found font free alloc system applic typic applic want default look simpli set font widget creat widget creat correct default font class user interfac compon repres return font except swt except ul li error devic dispos receiv dispos li ul public font system font check devic return system font swtexcept error_devic_dispos getsystemfont checkdevic systemfont return code true code underli window system print warn messag consol code set warn code previous call code true code return code true code warn handl code fals code except swt except ul li error devic dispos receiv dispos li ul public boolean warn check devic return warn setwarn swtexcept error_devic_dispos getwarn checkdevic initi intern resourc need devic method call code creat code p subclass reimplement method call code super code implement creat protect void init colorspac os cg color space creat devicergb colorspac 0 swt error swt error handl creat standard color color black color 0 0 0 color dark red color 0x80 0 0 color dark green color 0 0x80 0 color dark yellow color 0x80 0x80 0 color dark blue color 0 0 0x80 color dark magenta color 0x80 0 0x80 color dark cyan color 0 0x80 0x80 color grai color 0xc0 0xc0 0xc0 color dark grai color 0x80 0x80 0x80 color red color 0xff 0 0 color green color 0 0xff 0 color yellow color 0xff 0xff 0 color blue color 0 0 0xff color magenta color 0xff 0 0xff color cyan color 0 0xff 0xff color white color 0xff 0xff 0xff initi system font slot temporari code boolean small font system properti org eclips swt intern carbon small font null byte famili byte 256 short size short 1 byte style byte 1 int theme font small font os theme small system font os theme system font os theme font short theme font short os sm system script famili size style short id os fm font famili famili int font int 1 os fm font font famili instanc id style 0 font null system font font carbon font 0 id style 0 size 0 cgcolorspacecreatedevicergb error_no_handl color_black color_dark_red color_dark_green color_dark_yellow color_dark_blue color_dark_magenta color_dark_cyan color_grai color_dark_grai color_red color_green color_yellow color_blue color_magenta color_cyan color_white smallfont getproperti smallfont themefont smallfont kthemesmallsystemfont kthemesystemfont getthemefont themefont smsystemscript fmgetfontfamilyfromnam fmgetfontfromfontfamilyinst systemfont carbon_new invok platform specif function alloc gc handl import method em em part public api code devic code mark public share packag provid swt platform call applic code param data platform specif gc data return platform specif gc handl invok platform specif function dispos gc handl import method em em part public api code devic code mark public share packag provid swt platform call applic code param hdc platform specif gc handl param data platform specif gc data return code true code devic dispos code fals code method dispos devic devic dispos error invok method devic return code true code devic dispos code fals code public boolean dispos return dispos isdispos void object object object int 0 object length object null object object error error return object object object object length 128 system arraycopi object 0 object 0 object length object object length object object object error error error error length 128 system arraycopi error 0 error 0 error length error error length error error error new_object newobject newobject newobject newobject newerror newerror newerror newerror releas intern resourc oper system clear field devic handl devic destroi resourc acquir behalf programm need return oper system devic alloc font system font font freed code releas code assist garbag collector minim amount memori reclaim programm keep refer dispos devic field handl handl need code destroi code method call code destroi code p subclass reimplement method call code super code implement dispos destroi protect void releas os cg color space releas colorspac colorspac 0 color black color dark red color dark green color dark yellow color dark blue color dark magenta color dark cyan color grai color dark grai color red color green color yellow color blue color magenta color cyan color white null cgcolorspacereleas color_black color_dark_red color_dark_green color_dark_yellow color_dark_blue color_dark_magenta color_dark_cyan color_grai color_dark_grai color_red color_green color_yellow color_blue color_magenta color_cyan color_white underli window system support print warn messag consol set warn code true code prevent messag print argument code fals code messag print block param warn code true code warn handl code fals code except swt except ul li error devic dispos receiv dispos li ul public void set warn boolean warn check devic warn warn swtexcept error_devic_dispos setwarn checkdevic int atsui style font atsuistyl construct font devic font data describ desir font appear dispos font longer requir param devic devic creat font param fd font data describ desir font null except illeg argument except ul li error null argument devic null current devic li li error null argument fd argument null li ul except swt error ul li error handl font creat font data li ul public font devic devic font data fd devic null devic devic devic devic null swt error swt error null argument fd null swt error swt error null argument init devic fd fd height fd style fontdata illegalargumentexcept error_null_argument error_null_argument swterror error_no_handl fontdata getdevic error_null_argument error_null_argument getnam getheight getstyl construct font devic arrai font data describ desir font appear dispos font longer requir param devic devic creat font param fd arrai font data describ desir font null except illeg argument except ul li error null argument devic null current devic li li error null argument fd argument null li li error invalid argument length fd li li error null argument fd arrai null li ul except swt error ul li error handl font creat font data li ul 2 1 public font devic devic font data fd devic null devic devic devic devic null swt error swt error null argument fd null swt error swt error null argument fd length 0 swt error swt error invalid argument font data fd fd 0 fd null swt error swt error null argument init devic fd fd height fd style fontdata illegalargumentexcept error_null_argument error_null_argument error_invalid_argument error_null_argument swterror error_no_handl fontdata getdevic error_null_argument error_null_argument error_invalid_argument fontdata error_null_argument getnam getheight getstyl construct font devic font height desir font point font style dispos font longer requir param devic devic creat font param the font null param height font height point param style bit combin normal bold ital except illeg argument except ul li error null argument devic null current devic li li error null argument argument null li li error invalid argument height neg li ul except swt error ul li error handl font creat argument li ul public font devic devic string int height int style devic null devic devic devic devic null swt error swt error null argument init devic height style illegalargumentexcept error_null_argument error_null_argument error_invalid_argument swterror error_no_handl getdevic error_null_argument int creat style int buffer int 1 os atsu creat style buffer buffer 0 0 swt error swt error handl int atsu style buffer 0 short real style short 1 os fm font font famili instanc id style buffer real style boolean synthes style real style 0 int ptr os ptr 8 synthes 8 0 os memcpi ptr int handl 4 os memcpi ptr 4 int os x2 fix size 4 int tag size valu synthes os memcpi ptr 8 byte style os bold 0 byte 1 0 1 os memcpi ptr 9 byte style os ital 0 byte 1 0 1 tag int os katsu font tag os katsu size tag os katsuqd boldfac tag os katsuqd ital tag size int 4 4 1 1 valu int ptr ptr 4 ptr 8 ptr 9 tag int os katsu font tag os katsu size tag size int 4 4 valu int ptr ptr 4 os atsu set attribut atsu style tag length tag size valu os dispos ptr ptr short type short os ligatur type short os ligatur type short os ligatur type short os ligatur type short os ligatur type short os ligatur type short os ligatur type short os ligatur type short selector short os requir ligatur selector short os common ligatur selector short os rare ligatur selector short os logo selector short os rebu pictur selector short os diphthong ligatur selector short os squar ligatur selector short os abbrev squar ligatur selector short os symbol ligatur selector os atsu set font featur atsu style type length type selector return atsu style createstyl atsucreatestyl error_no_handl atsustyl realstyl fmgetfontfromfontfamilyinst realstyl realstyl newptr x2fix katsufonttag katsusizetag katsuqdboldfacetag katsuqditalictag katsufonttag katsusizetag atsusetattribut atsustyl disposeptr kligaturestyp kligaturestyp kligaturestyp kligaturestyp kligaturestyp kligaturestyp kligaturestyp kligaturestyp krequiredligaturesoffselector kcommonligaturesoffselector krareligaturesoffselector klogosoffselector krebuspicturesoffselector kdiphthongligaturesoffselector ksquaredligaturesoffselector kabbrevsquaredligaturesoffselector ksymbolligaturesoffselector atsusetfontfeatur atsustyl atsustyl dispos oper system resourc font applic dispos font alloc public void dispos handl 0 return handl 0 id 1 atsui style 0 os atsu dispos style atsui style atsui style 0 devic null atsuistyl atsudisposestyl atsuistyl atsuistyl compar argument receiv return true repres em em object class specif comparison param object object compar object return code true code object object code fals code hash code public boolean equal object object object return true object instanceof font return fals font font font object return handl font handl size font size hashcod return arrai code font data code repres receiv window font data return font code font code object em em compos multipl font support case return arrai font data object return arrai font data object describ receiv except swt except ul li error graphic dispos receiv dispos li ul public font data font data dispos swt error swt error graphic dispos int actual length int 1 os atsu find font handl os font famili os font platform code os font script code os font languag code 0 null actual length null byte buffer byte actual length 0 os atsu find font handl os font famili os font platform code os font script code os font languag code buffer length buffer actual length null string string buffer int style swt normal style os ital 0 style swt ital style os bold 0 style swt bold font data data font data size style return font data data fontdata fontdata swtexcept error_graphic_dispos fontdata getfontdata isdispos error_graphic_dispos actuallength atsufindfontnam kfontfamilynam kfontnoplatformcod kfontnoscriptcod kfontnolanguagecod actuallength actuallength atsufindfontnam kfontfamilynam kfontnoplatformcod kfontnoscriptcod kfontnolanguagecod actuallength fontdata fontdata fontdata invok platform specif function alloc font import method em em part public api code font code mark public share packag provid swt platform call applic code param devic devic alloc color param handl handl font param size size font privat public static font carbon devic devic int handl short id short style short size devic null devic devic devic font font font font handl handl font id id font style style font size size font devic devic return font carbon_new getdevic return integ hash code receiv object return code true code pass code equal code return method return receiv hash equal public int hash code return handl hashcod void init devic devic string int height int style null swt error swt error null argument height 0 swt error swt error invalid argument byte buffer byte 256 int length length length 255 length 255 buffer 0 byte length int 0 length buffer 1 byte char id os fm font famili buffer id os invalid font famili id os app font style swt ital 0 style os ital style swt bold 0 style os bold size short height int font int 1 os fm font font famili instanc id style font null 0 swt error swt error handl font 0 0 swt error swt error handl handl font 0 atsui style creat style error_null_argument error_invalid_argument charat fmgetfontfamilyfromnam kinvalidfontfamili getappfont fmgetfontfromfontfamilyinst error_no_handl error_no_handl atsuistyl createstyl return code true code font dispos code fals code method dispos font font dispos error invok method font return code true code font dispos code fals code public boolean dispos return handl 0 isdispos return string concis human readabl descript receiv return string represent receiv public string string dispos return font dispos return font handl tostr isdispos construct un initi font data public font data 12 swt normal fontdata construct font data string represent form gener code font data string code method note represent vari platform font data creat string gener platform param string string represent code font data code null except illeg argument except ul li error null argument argument null li li error invalid argument argument repres valid descript li ul string public font data string string string null swt error swt error null argument int start 0 int end string index end 1 swt error swt error invalid argument string version1 string substr start end try integ pars int version1 1 swt error swt error invalid argument catch number format except swt error swt error invalid argument start end 1 end string index start end 1 swt error swt error invalid argument string string substr start end start end 1 end string index start end 1 swt error swt error invalid argument int height 0 try height integ pars int string substr start end catch number format except swt error swt error invalid argument start end 1 end string index start end 1 swt error swt error invalid argument int style 0 try style integ pars int string substr start end catch number format except swt error swt error invalid argument start end 1 end string index start set name set height height set style style end 1 return string platform string substr start end start end 1 end string index start end 1 return string version2 string substr start end platform equal carbon version2 equal 1 return fontdata fontdata tostr fontdata fontdata illegalargumentexcept error_null_argument error_invalid_argument tostr fontdata error_null_argument indexof error_invalid_argument parseint error_invalid_argument numberformatexcept error_invalid_argument indexof error_invalid_argument indexof error_invalid_argument parseint numberformatexcept error_invalid_argument indexof error_invalid_argument parseint numberformatexcept error_invalid_argument indexof setnam setheight setstyl indexof construct font data font height desir font point font style param the font null param height font height point param style bit combin normal bold ital except illeg argument except ul li error null argument font null li li error invalid argument height neg li ul public font data string int height int style set name set height height set style style illegalargumentexcept error_null_argument error_invalid_argument fontdata setnam setheight setstyl compar argument receiv return true repres em em object class specif comparison param object object compar object return code true code object object code fals code hash code public boolean equal object object object return true object instanceof font data return fals font data data font data object return equal data height data height style data style hashcod fontdata fontdata fontdata return height receiv point return height font data set height public int height return height fontdata setheight getheight return local receiv local determin platform charact set font go widget graphic oper font convert unicod string platform charact set local p platform multipl charact set languag countri local variant portion local determin charact set return code string code repres local object 3 0 public string local string buffer buffer string buffer char sep lang null buffer append lang buffer append sep countri null buffer append countri buffer append sep variant null buffer append variant string result buffer string int length result length length 0 result char length 1 sep result result substr 0 length 1 return result getlocal stringbuff stringbuff _ tostr charat return the receiv platform support font foundri return foundri dash face return code font data code set public string return fontdata setnam getnam return style receiv bitwis or code swt code constant normal bold ital return style code font data code set style public int style return style fontdata setstyl getstyl return integ hash code receiv object return code true code pass code equal code return method return receiv hash equal public int hash code return hash code height style hashcod hashcod set height receiv paramet term point point seventi inch param height height code font data code except illeg argument except ul li error invalid argument height neg li ul height public void set height int height height 0 swt error swt error invalid argument height height fontdata illegalargumentexcept error_invalid_argument getheight setheight error_invalid_argument set local receiv local determin platform charact set font go widget graphic oper font convert unicod string platform charact set local p platform multipl charact set languag countri local variant portion local determin charact set param local code string code repres local object java util local string public void set local string local lang countri variant null local null char sep int length local length int sep sep sep local index sep sep 1 sep sep length sep local index sep sep 1 sep 1 sep length sep 0 lang local substr 0 sep sep sep 1 countri local substr sep 1 sep length sep 1 variant local substr sep 1 tostr setlocal _ firstsep secondsep firstsep indexof firstsep firstsep secondsep secondsep indexof firstsep secondsep secondsep firstsep firstsep secondsep firstsep firstsep secondsep secondsep secondsep set the receiv platform support font foundri platform the font set form ol li face courier li li foundri dash face adob courier li ol case return includ foundri p platform support font foundri face courier code set code code code param the font data null except illeg argument except ul li error null argument font null li ul public void set string name null swt error swt error null argument name setnam getnam setnam getnam illegalargumentexcept error_null_argument getnam setnam error_null_argument set style receiv argument bitwis or code swt code constant normal bold ital param style style code font data code style public void set style int style style style fontdata getstyl setstyl return string represent receiv suitabl construct equival instanc code font data string code constructor return string represent font data font data public string string string buffer buffer string buffer buffer append 1 buffer append buffer append buffer append height buffer append buffer append style buffer append buffer append carbon 1 return buffer string fontdata fontdata fontdata tostr stringbuff stringbuff getnam getheight getstyl tostr int ascent descent averag char width lead height font metric averagecharwidth fontmetr public static font metric carbon int ascent int descent int averag char width int lead int height font metric font metric font metric font metric ascent ascent font metric descent descent font metric averag char width averag char width font metric lead lead font metric height height return font metric fontmetr carbon_new averagecharwidth fontmetr fontmetr fontmetr fontmetr fontmetr fontmetr averagecharwidth averagecharwidth fontmetr fontmetr fontmetr compar argument receiv return true repres em em object class specif comparison param object object compar object return code true code object object code fals code hash code public boolean equal object object object return true object instanceof font metric return fals font metric metric font metric object return ascent metric ascent descent metric descent averag char width metric averag char width lead metric lead height metric height hashcod fontmetr fontmetr fontmetr averagecharwidth averagecharwidth return ascent font receiv font em ascent em distanc baselin top actual charact includ lead area measur pixel return ascent font public int ascent return ascent getasc return averag charact width measur pixel font receiv return averag charact width font public int averag char width return averag char width getaveragecharwidth averagecharwidth return descent font receiv font em descent em distanc baselin bottom actual charact includ lead area measur pixel return descent font public int descent return descent getdesc return height font receiv measur pixel font em height em sum ascent descent lead area return height font ascent descent lead public int height return height getasc getdesc getlead getheight return lead area font receiv font em lead area em space ascent includ accent mark return lead space font public int lead return lead getlead return integ hash code receiv object return code true code pass code equal code return method return receiv hash equal public int hash code return ascent descent averag char width lead height hashcod averagecharwidth static final int tab count 32 gc tab_count construct instanc class configur draw drawabl set foreground background color gc match drawabl dispos graphic context longer requir param drawabl drawabl draw except illeg argument except ul li error null argument drawabl null li li error null argument current devic li li error invalid argument drawabl imag bitmap icon drawabl imag printer select graphic context li ul except swt error ul li error handl handl obtain gc creation li ul public gc drawabl drawabl drawabl 0 illegalargumentexcept error_null_argument error_null_argument error_invalid_argument swterror error_no_handl construct instanc class configur draw drawabl set foreground background color gc match drawabl dispos graphic context longer requir param drawabl drawabl draw param style style gc construct except illeg argument except ul li error null argument drawabl null li li error null argument current devic li li error invalid argument drawabl imag bitmap icon drawabl imag printer select graphic context li ul except swt error ul li error handl handl obtain gc creation li ul 2 1 2 public gc drawabl drawabl int style drawabl null swt error swt error null argument gc data data gc data data style check style style int gdkgc drawabl intern gc data devic devic data devic devic null devic devic devic devic null swt error swt error null argument data devic devic init drawabl data gdkgc illegalargumentexcept error_null_argument error_null_argument error_invalid_argument swterror error_no_handl error_null_argument gcdata gcdata checkstyl intern_new_gc getdevic error_null_argument static int check style int style style swt left 0 style swt left return style swt left swt left checkstyl left_to_right right_to_left left_to_right right_to_left invok platform specif function alloc graphic context import method em em part public api code gc code mark public share packag provid swt platform call applic code param drawabl drawabl receiv param data data receiv return code gc code privat public static gc carbon drawabl drawabl gc data data gc gc gc int context drawabl intern gc data gc init drawabl data context return gc carbon_new gcdata intern_new_gc copi rectangular area receiv posit imag type code swt bitmap code param imag imag copi param x coordin receiv area copi param y coordin receiv area copi except illeg argument except ul li error null argument imag null li li error invalid argument imag bitmap dispos li ul except swt except ul li error graphic dispos receiv dispos li ul public void copi area imag imag int int handl 0 swt error swt error graphic dispos imag null swt error swt error null argument imag type swt bitmap imag dispos swt error swt error invalid argument data control 0 int offscreen int 1 os hi view creat offscreen imag data control 0 null offscreen copi area imag offscreen 0 offscreen 0 0 os cg imag releas offscreen 0 data imag null copi area imag data imag handl data window 0 int imag handl imag handl cg rect rect cg rect rect x rect y rect width os cg imag width imag handl rect height os cg imag height imag handl int displai int 16 int count int 1 os cg displai rect rect displai length displai count 0 return int 0 count 0 int displai displai int address os cg displai base address displai address 0 int width os cg displai pixel wide displai int height os cg displai pixel high displai int bpr os cg displai byte row displai int bpp os cg displai bit pixel displai int bp os cg displai bit sampl displai int provid os cg data provid creat data 0 address bpr height 0 int src imag os cg imag creat width height bp bpp bpr data devic colorspac os kcg imag alpha skip provid null fals 0 os cg data provid releas provid copi area imag src imag src imag 0 os cg imag releas src imag illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_graphic_dispos copyarea error_graphic_dispos error_null_argument isdispos error_invalid_argument hiviewcreateoffscreenimag copyarea cgimagereleas copyarea imagehandl cgrect cgrect cgimagegetwidth imagehandl cgimagegetheight imagehandl cggetdisplayswithrect cgdisplaybaseaddress cgdisplaypixelswid cgdisplaypixelshigh cgdisplaybytesperrow cgdisplaybitsperpixel cgdisplaybitspersampl cgdataprovidercreatewithdata srcimag cgimagecr kcgimagealphanoneskipfirst cgdataproviderreleas copyarea srcimag srcimag cgimagereleas srcimag void copi area imag imag int int int src imag src imag 0 return int imag handl imag handl int bpc os cg imag bit compon imag handl int width os cg imag width imag handl int height os cg imag height imag handl int bpr os cg imag byte row imag handl int alpha info os cg imag alpha info imag handl int context os cg bitmap context creat imag data width height bpc bpr data devic colorspac alpha info context 0 cg rect rect cg rect rect x rect y rect width os cg imag width src imag rect height os cg imag height src imag os cg context translatectm context 0 rect height height os cg context draw imag context rect src imag os cg context releas context copyarea srcimag srcimag imagehandl cgimagegetbitspercompon imagehandl cgimagegetwidth imagehandl cgimagegetheight imagehandl cgimagegetbytesperrow imagehandl alphainfo cgimagegetalphainfo imagehandl cgbitmapcontextcr alphainfo cgrect cgrect cgimagegetwidth srcimag cgimagegetheight srcimag cgcontexttranslatectm cgcontextdrawimag srcimag cgcontextreleas copi rectangular area receiv sourc posit receiv destin posit param srcx coordin receiv area copi param srcy coordin receiv area copi param width width area copi param height height area copi param destx coordin receiv area copi param desti coordin receiv area copi except swt except ul li error graphic dispos receiv dispos li ul public void copi area int srcx int srcy int width int height int destx int desti handl 0 swt error swt error graphic dispos data updat clip setcg clip width 0 height 0 return int deltax destx srcx deltai desti srcy deltax 0 deltai 0 return data imag null os cg context saveg handl os cg context scalectm handl 1 1 os cg context translatectm handl 0 height 2 desti cg rect rect cg rect rect destx rect desti rect width width rect height height transpar os cg context draw imag handl rect data imag handl os cg context restoreg handl return data control 0 int port data port int window os control owner data control port 0 port os window port window calcul src dest rectangl region rect rect rect os control bound data control rect rect src rect rect int left rect left srcx int top rect top srcy os set rect src rect short left short top short left width short top height int src rgn os rgn os rect rgn src rgn src rect os sect rect rect src rect src rect rect dest rect rect os set rect dest rect src rect left src rect top src rect src rect bottom os offset rect dest rect short deltax short deltai int dest rgn os rgn os rect rgn dest rgn dest rect copi bit appropri clip region os empti rect src rect data visibl rgn 0 os rect rgn src rect data visibl rgn int clip rgn data visibl rgn data clip rgn 0 clip rgn os rgn os sect rgn data clip rgn data visibl rgn clip rgn featur macintosh scroll rect copi bit insid rectangl mean copi non overlap bit copi bit sourc destin rectangl fix check sourc destin rectangl disjoint copi bit os empti rgn clip rgn boolean disjoint destx width srcx srcx width destx desti height srcy srcy height desti disjoint deltax 0 deltai 0 int current port int 1 os port current port os set port port int clip os rgn os clip clip os set clip clip rgn os union rect src rect dest rect rect os scroll rect rect short deltax short deltai 0 os set clip clip os dispos rgn clip os set port current port 0 int port bit map os port bit map copi bit port os copi bit port bit map port bit map src rect dest rect short os src copi clip rgn os qd flush port buffer port dest rgn clip rgn data visibl rgn os dispos rgn clip rgn invalid src obscur area int inval rgn os rgn os diff rgn src rgn data visibl rgn inval rgn os offset rgn inval rgn short deltax short deltai os diff rgn src rgn dest rgn src rgn os union rgn src rgn inval rgn inval rgn os sect rgn data visibl rgn inval rgn inval rgn os inval window rgn window inval rgn os dispos rgn inval rgn dispos src dest region os dispos rgn dest rgn os dispos rgn src rgn swtexcept error_graphic_dispos copyarea error_graphic_dispos updateclip setcgclip cgcontextsavegst cgcontextscalectm cgcontexttranslatectm cgrect cgrect cgcontextdrawimag cgcontextrestoregst getcontrolown getwindowport getcontrolbound srcrect setrect srcrect srcrgn newrgn rectrgn srcrgn srcrect sectrect srcrect srcrect destrect setrect destrect srcrect srcrect srcrect srcrect offsetrect destrect destrgn newrgn rectrgn destrgn destrect emptyrect srcrect visiblergn rectinrgn srcrect visiblergn cliprgn visiblergn cliprgn cliprgn newrgn sectrgn cliprgn visiblergn cliprgn scrollrect copybit emptyrgn cliprgn currentport getport currentport setport oldclip newrgn getclip oldclip setclip cliprgn unionrect srcrect destrect scrollrect setclip oldclip disposergn oldclip setport currentport portbitmap getportbitmapforcopybit copybit portbitmap portbitmap srcrect destrect srccopi cliprgn qdflushportbuff destrgn cliprgn visiblergn disposergn cliprgn invalrgn newrgn diffrgn srcrgn visiblergn invalrgn offsetrgn invalrgn diffrgn srcrgn destrgn srcrgn unionrgn srcrgn invalrgn invalrgn sectrgn visiblergn invalrgn invalrgn invalwindowrgn invalrgn disposergn invalrgn disposergn destrgn disposergn srcrgn void creat layout int buffer int 1 os atsu creat text layout buffer buffer 0 0 swt error swt error handl data layout buffer 0 int ptr1 os ptr 4 buffer 0 handl os memcpi ptr1 buffer 4 int ptr2 os ptr 4 buffer 0 os kat line devic metric os memcpi ptr2 buffer 4 int tag int os katsucg context tag os katsu line layout option tag int size int 4 4 int valu int ptr1 ptr2 os atsu set layout control data layout tag length tag size valu os dispos ptr ptr1 os dispos ptr ptr2 createlayout atsucreatetextlayout error_no_handl newptr newptr katslineusedevicemetr katsucgcontexttag katsulinelayoutoptionstag atsusetlayoutcontrol disposeptr disposeptr void creat tab atsu tab tab atsu tab int tab width char width 8 int ptr os ptr atsu tab sizeof tab count int 0 offset ptr tab count offset atsu tab sizeof tab tab posit os long2 fix tab width os memcpi offset tab atsu tab sizeof data tab ptr createtab atsutab atsutab tabwidth getcharwidth newptr atsutab tab_count tab_count atsutab tabposit long2fix tabwidth atsutab dispos oper system resourc graphic context applic dispos cs alloc public void dispos handl 0 return data devic dispos return free resourc int clip rgn data clip rgn clip rgn 0 os dispos rgn clip rgn imag imag data imag imag null imag memgc null imag transpar pixel 1 imag creat mask int layout data layout layout 0 os atsu dispos text layout layout int atsui style data atsui style atsui style 0 os atsu dispos style atsui style int string ptr data string ptr string ptr 0 os dispos ptr string ptr int tab data tab tab 0 os dispos ptr tab dispos gc drawabl intern dispos gc handl data data clip rgn data atsui style data string ptr data layout data tab 0 drawabl null data imag null data string null data null handl 0 gc isdispos cliprgn cliprgn cliprgn disposergn cliprgn transparentpixel createmask atsudisposetextlayout atsuistyl atsuistyl atsuistyl atsudisposestyl atsuistyl stringptr stringptr stringptr disposeptr stringptr disposeptr intern_dispos_gc cliprgn atsuistyl stringptr draw outlin circular ellipt arc rectangular area result arc begin code start angl code extend code arc angl code degre current color angl interpret 0 degre 3 clock posit posit counter clockwis rotat neg clockwis rotat p center arc center rectangl origin code code code code size code width code code height code argument p result arc cover area code width 1 code pixel wide code height 1 code pixel tall param x coordin upper left corner arc drawn param y coordin upper left corner arc drawn param width width arc drawn param height height arc drawn param start angl begin angl param arc angl angular extent arc rel start angl except swt except ul li error graphic dispos receiv dispos li ul public void draw arc int int int width int height int start angl int arc angl handl 0 swt error swt error graphic dispos data updat clip setcg clip width 0 x width width width height 0 y height height height width 0 height 0 arc angl 0 return os cg context begin path handl os cg context saveg handl float offset data line width 2 1 0 5f 0f os cg context translatectm handl offset width 2f offset height 2f os cg context scalectm handl width 2f height 2f os cg context add arc handl 0 0 1 start angl float compat pi 180 start angl arc angl float compat pi 180 true os cg context restoreg handl os cg context stroke path handl flush startangl arcangl startangl arcangl swtexcept error_graphic_dispos drawarc startangl arcangl error_graphic_dispos updateclip setcgclip arcangl cgcontextbeginpath cgcontextsavegst linewidth cgcontexttranslatectm cgcontextscalectm cgcontextaddarc startangl startangl arcangl cgcontextrestoregst cgcontextstrokepath draw rectangl base argument appear platform em focu rectangl em platform support notion draw simpl rectangl receiv foreground color param x coordin rectangl param y coordin rectangl param width width rectangl param height height rectangl except swt except ul li error graphic dispos receiv dispos li ul draw rectangl public void draw focu int int int width int height handl 0 swt error swt error graphic dispos data updat clip setcg clip draw rectangl width 1 height 1 flush swtexcept error_graphic_dispos drawrectangl drawfocu error_graphic_dispos updateclip setcgclip drawrectangl draw imag receiv coordin param imag imag draw param x coordin draw param y coordin draw except illeg argument except ul li error null argument imag null li li error invalid argument imag dispos li li error invalid argument coordin bound imag li except swt error ul li error handl handl perform oper li ul except swt except ul li error graphic dispos receiv dispos li ul public void draw imag imag imag int int handl 0 swt error swt error graphic dispos imag null swt error swt error null argument imag dispos swt error swt error invalid argument draw imag imag 0 0 1 1 1 1 true illegalargumentexcept error_null_argument error_invalid_argument error_invalid_argument swterror error_no_handl swtexcept error_graphic_dispos drawimag error_graphic_dispos error_null_argument isdispos error_invalid_argument drawimag copi rectangular area sourc imag potenti size rectangular area receiv sourc destin area differ size sourc area stretch shrunk fit destin area copi copi fail part sourc rectangl li bound sourc imag width height argument neg param imag sourc imag param srcx coordin sourc imag copi param srcy coordin sourc imag copi param src width width pixel copi sourc param src height height pixel copi sourc param destx coordin destin copi param desti coordin destin copi param dest width width pixel destin rectangl param dest height height pixel destin rectangl except illeg argument except ul li error null argument imag null li li error invalid argument imag dispos li li error invalid argument width height argument neg li error invalid argument sourc rectangl contain bound sourc imag li ul except swt error ul li error handl handl perform oper li ul except swt except ul li error graphic dispos receiv dispos li ul public void draw imag imag imag int srcx int srcy int src width int src height int destx int desti int dest width int dest height handl 0 swt error swt error graphic dispos src width 0 src height 0 dest width 0 dest height 0 return srcx 0 srcy 0 src width 0 src height 0 dest width 0 dest height 0 swt error swt error invalid argument imag null swt error swt error null argument imag dispos swt error swt error invalid argument draw imag imag srcx srcy src width src height destx desti dest width dest height fals srcwidth srcheight destwidth destheight illegalargumentexcept error_null_argument error_invalid_argument error_invalid_argument error_invalid_argument swterror error_no_handl swtexcept error_graphic_dispos drawimag srcwidth srcheight destwidth destheight error_graphic_dispos srcwidth srcheight destwidth destheight srcwidth srcheight destwidth destheight error_invalid_argument error_null_argument isdispos error_invalid_argument drawimag srcwidth srcheight destwidth destheight void draw imag imag src imag int srcx int srcy int src width int src height int destx int desti int dest width int dest height boolean simpl data updat clip setcg clip int imag handl src imag handl int img width os cg imag width imag handl int img height os cg imag height imag handl simpl src width dest width img width src height dest height img height simpl srcx 0 srcy 0 src width dest width dest width img width src height dest height dest height img height srcx src width img width srcy src height img height swt error swt error invalid argument os cg context saveg handl os cg context scalectm handl 1 1 os cg context translatectm handl 0 dest height 2 desti cg rect rect cg rect rect destx rect desti rect width dest width rect height dest height simpl os cg context draw imag handl rect imag handl int bpc os cg imag bit compon imag handl int bpp os cg imag bit pixel imag handl int bpr os cg imag byte row imag handl int colorspac os cg imag color space imag handl int alpha info os cg imag alpha info imag handl int data src imag data srcy bpr srcx 4 int provid os cg data provid creat data 0 data src height bpr 0 provid 0 int imag os cg imag creat src width src height bpc bpp bpr colorspac alpha info provid null fals 0 os cg data provid releas provid imag 0 os cg context draw imag handl rect imag os cg imag releas imag os cg context restoreg handl flush drawimag srcimag srcwidth srcheight destwidth destheight updateclip setcgclip imagehandl srcimag imgwidth cgimagegetwidth imagehandl imgheight cgimagegetheight imagehandl srcwidth destwidth imgwidth srcheight destheight imgheight srcwidth destwidth destwidth imgwidth srcheight destheight destheight imgheight srcwidth imgwidth srcheight imgheight error_invalid_argument cgcontextsavegst cgcontextscalectm cgcontexttranslatectm destheight cgrect cgrect destwidth destheight cgcontextdrawimag imagehandl cgimagegetbitspercompon imagehandl cgimagegetbitsperpixel imagehandl cgimagegetbytesperrow imagehandl cgimagegetcolorspac imagehandl alphainfo cgimagegetalphainfo imagehandl srcimag cgdataprovidercreatewithdata srcheight subimag cgimagecr srcwidth srcheight alphainfo cgdataproviderreleas subimag cgcontextdrawimag subimag cgimagereleas subimag cgcontextrestoregst draw line foreground color point code x1 code code y1 code code x2 code code y2 code param x1 point coordin param y1 point coordin param x2 point coordin param y2 point coordin except swt except ul li error graphic dispos receiv dispos li ul public void draw line int x1 int y1 int x2 int y2 handl 0 swt error swt error graphic dispos data updat clip setcg clip os cg context begin path handl float offset data line width 2 1 0 5f 0f os cg context move point handl x1 offset y1 offset os cg context add line point handl x2 offset y2 offset os cg context stroke path handl flush swtexcept error_graphic_dispos drawlin error_graphic_dispos updateclip setcgclip cgcontextbeginpath linewidth cgcontextmovetopoint cgcontextaddlinetopoint cgcontextstrokepath draw outlin oval foreground color rectangular area result circl ellips fit rectangl code code code code code width code code height code argument p oval cover area code width 1 code pixel wide code height 1 code pixel tall param x coordin upper left corner oval drawn param y coordin upper left corner oval drawn param width width oval drawn param height height oval drawn except swt except ul li error graphic dispos receiv dispos li ul public void draw oval int int int width int height handl 0 swt error swt error graphic dispos data updat clip setcg clip width 0 x width width width height 0 y height height height os cg context begin path handl os cg context saveg handl float offset data line width 2 1 0 5f 0f os cg context translatectm handl offset width 2f offset height 2f os cg context scalectm handl width 2f height 2f os cg context move point handl 1 0 os cg context add arc handl 0 0 1 0 float 2 compat pi true os cg context restoreg handl os cg context stroke path handl flush swtexcept error_graphic_dispos drawov error_graphic_dispos updateclip setcgclip cgcontextbeginpath cgcontextsavegst linewidth cgcontexttranslatectm cgcontextscalectm cgcontextmovetopoint cgcontextaddarc cgcontextrestoregst cgcontextstrokepath draw pixel foreground color point code code code code note receiv line attribut affect oper param point coordin param point coordin except swt except ul li error graphic dispos receiv dispos li ul 3 0 public void draw point int int handl 0 swt error swt error graphic dispos data updat clip setcg clip cg rect rect cg rect rect x rect y rect width 1 rect height 1 os cg context set fill color handl data foreground os cg context fill rect handl rect os cg context set fill color handl data background flush swtexcept error_graphic_dispos drawpoint error_graphic_dispos updateclip setcgclip cgrect cgrect cgcontextsetfillcolor cgcontextfillrect cgcontextsetfillcolor draw close polygon defin arrai integ coordin receiv foreground color arrai altern valu consid repres point vertic polygon line drawn consecut pair pair pair arrai param point arrai arrai altern valu vertic polygon except illeg argument except ul li error null argument point arrai null li ul except swt except ul li error graphic dispos receiv dispos li ul public void draw polygon int point arrai handl 0 swt error swt error graphic dispos point arrai null swt error swt error null argument data updat clip setcg clip float point float point arrai length int 0 point length point point arrai os cg context begin path handl os cg context add line handl point point length 2 os cg context close path handl os cg context stroke path handl flush pointarrai illegalargumentexcept error_null_argument pointarrai swtexcept error_graphic_dispos drawpolygon pointarrai error_graphic_dispos pointarrai error_null_argument updateclip setcgclip pointarrai pointarrai cgcontextbeginpath cgcontextaddlin cgcontextclosepath cgcontextstrokepath draw polylin defin arrai integ coordin receiv foreground color arrai altern valu consid repres point corner polylin line drawn consecut pair pair pair arrai param point arrai arrai altern valu corner polylin except illeg argument except ul li error null argument point arrai null li ul except swt except ul li error graphic dispos receiv dispos li ul public void draw polylin int point arrai handl 0 swt error swt error graphic dispos point arrai null swt error swt error null argument data updat clip setcg clip float point float point arrai length int 0 point length point point arrai 0 5f os cg context begin path handl os cg context add line handl point point length 2 os cg context stroke path handl flush pointarrai illegalargumentexcept error_null_argument swtexcept error_graphic_dispos drawpolylin pointarrai error_graphic_dispos pointarrai error_null_argument updateclip setcgclip pointarrai pointarrai cgcontextbeginpath cgcontextaddlin cgcontextstrokepath draw outlin rectangl argument receiv foreground color left edg rectangl code code code width code top bottom edg code code code height code param x coordin rectangl drawn param y coordin rectangl drawn param width width rectangl drawn param height height rectangl drawn except swt except ul li error graphic dispos receiv dispos li ul public void draw rectangl int int int width int height handl 0 swt error swt error graphic dispos data updat clip setcg clip width 0 x width width width height 0 y height height height cg rect rect cg rect float offset data line width 2 1 0 5f 0f rect x offset rect y offset rect width width rect height height os cg context stroke rect handl rect flush swtexcept error_graphic_dispos drawrectangl error_graphic_dispos updateclip setcgclip cgrect cgrect linewidth cgcontextstrokerect draw outlin rectangl receiv foreground color left edg rectangl code rect code code rect rect width code top bottom edg code rect code code rect rect height code param rect rectangl draw except illeg argument except ul li error null argument rectangl null li ul except swt except ul li error graphic dispos receiv dispos li ul public void draw rectangl rectangl rect rect null swt error swt error null argument draw rectangl rect rect rect width rect height illegalargumentexcept error_null_argument swtexcept error_graphic_dispos drawrectangl error_null_argument drawrectangl draw outlin round corner rectangl argument receiv foreground color left edg rectangl code code code width code top bottom edg code code code height code em round em corner code arc width code code arc height code argument param x coordin rectangl drawn param y coordin rectangl drawn param width width rectangl drawn param height height rectangl drawn param arc width horizont diamet arc corner param arc height vertic diamet arc corner except swt except ul li error graphic dispos receiv dispos li ul public void draw round rectangl int int int width int height int arc width int arc height handl 0 swt error swt error graphic dispos data updat clip setcg clip arc width 0 arc height 0 draw rectangl width height return int nx int ny int nw width int nh height int naw arc width int nah arc height nw 0 nw 0 nw nx nx nw nh 0 nh 0 nh ny ny nh naw 0 naw 0 naw nah 0 nah 0 nah naw nw naw nw nah nh nah nh float naw2 naw 2f float nah2 nah 2f float fw nw naw2 float fh nh nah2 os cg context begin path handl os cg context saveg handl float offset data line width 2 1 0 5f 0f os cg context translatectm handl nx offset ny offset os cg context scalectm handl naw2 nah2 os cg context move point handl fw 1 0 os cg context add arc point handl 0 0 0 1 1 os cg context add arc point handl 0 fh 1 fh 1 os cg context add arc point handl fw fh fw fh 1 1 os cg context add arc point handl fw 0 fw 1 0 1 os cg context close path handl os cg context restoreg handl os cg context stroke path handl flush arcwidth archeight arcwidth archeight swtexcept error_graphic_dispos drawroundrectangl arcwidth archeight error_graphic_dispos updateclip setcgclip arcwidth archeight drawrectangl arcwidth archeight cgcontextbeginpath cgcontextsavegst linewidth cgcontexttranslatectm cgcontextscalectm cgcontextmovetopoint cgcontextaddarctopoint cgcontextaddarctopoint cgcontextaddarctopoint cgcontextaddarctopoint cgcontextclosepath cgcontextrestoregst cgcontextstrokepath draw string receiv current font foreground color tab expans carriag return process perform background rectangular area string drawn fill receiv background color param string string drawn param x coordin top left corner rectangular area string drawn param y coordin top left corner rectangular area string drawn except illeg argument except ul li error null argument string null li ul except swt except ul li error graphic dispos receiv dispos li ul public void draw string string string int int draw string string fals illegalargumentexcept error_null_argument swtexcept error_graphic_dispos drawstr drawstr draw string receiv current font foreground color tab expans carriag return process perform code transpar code code true code background rectangular area string drawn modifi fill receiv background color param string string drawn param x coordin top left corner rectangular area string drawn param y coordin top left corner rectangular area string drawn param transpar code true code background transpar opaqu except illeg argument except ul li error null argument string null li ul except swt except ul li error graphic dispos receiv dispos li ul public void draw string string string int int boolean transpar draw text string transpar swt draw transpar 0 istranspar istranspar illegalargumentexcept error_null_argument swtexcept error_graphic_dispos drawstr istranspar drawtext istranspar draw_transpar draw string receiv current font foreground color tab expans carriag return process perform background rectangular area text drawn fill receiv background color param string string drawn param x coordin top left corner rectangular area text drawn param y coordin top left corner rectangular area text drawn except illeg argument except ul li error null argument string null li ul except swt except ul li error graphic dispos receiv dispos li ul public void draw text string string int int draw text string swt draw delimit swt draw tab illegalargumentexcept error_null_argument swtexcept error_graphic_dispos drawtext drawtext draw_delimit draw_tab draw string receiv current font foreground color tab expans carriag return process perform code transpar code code true code background rectangular area text drawn modifi fill receiv background color param string string drawn param x coordin top left corner rectangular area text drawn param y coordin top left corner rectangular area text drawn param transpar code true code background transpar opaqu except illeg argument except ul li error null argument string null li ul except swt except ul li error graphic dispos receiv dispos li ul public void draw text string string int int boolean transpar int flag swt draw delimit swt draw tab transpar flag swt draw transpar draw text string flag istranspar istranspar illegalargumentexcept error_null_argument swtexcept error_graphic_dispos drawtext istranspar draw_delimit draw_tab istranspar draw_transpar drawtext draw string receiv current font foreground color tab expans line delimit mnemon process perform accord flag code flag code includ code draw transpar code background rectangular area text drawn modifi fill receiv background color paramet code flag code combin dl dt draw delimit dt dd draw multipl line dd dt draw tab dt dd expand tab dd dt draw mnemon dt dd underlin mnemon charact dd dt draw transpar dt dd transpar background dd dl param string string drawn param x coordin top left corner rectangular area text drawn param y coordin top left corner rectangular area text drawn param flag flag specif process text except illeg argument except ul li error null argument string null li ul except swt except ul li error graphic dispos receiv dispos li ul public void draw text string string int int int flag handl 0 swt error swt error graphic dispos string null swt error swt error null argument data updat clip setcg clip int length string length length 0 return length set string string flag os cg context saveg handl os cg context scalectm handl 1 1 flag swt draw delimit 0 int layout data layout int break count int 1 os atsu soft line break layout 0 length 0 null break count int break int break count 0 1 os atsu soft line break layout 0 length break count 0 break break count break break count 0 length int 0 start 0 break length int line break break draw text start line break start flag data font ascent data font descent start line break draw text 0 length flag os cg context restoreg handl flush draw_transpar draw_delimit draw_tab draw_mnemon draw_transpar illegalargumentexcept error_null_argument swtexcept error_graphic_dispos drawtext error_graphic_dispos error_null_argument updateclip setcgclip setstr cgcontextsavegst cgcontextscalectm draw_delimit breakcount atsugetsoftlinebreak breakcount breakcount atsugetsoftlinebreak breakcount breakcount breakcount linebreak drawtext linebreak fontasc fontdesc linebreak drawtext cgcontextrestoregst void draw text int int int start int length int flag int layout data layout flag swt draw transpar 0 at trapezoid trapezoid at trapezoid os atsu glyph bound layout 0 0 start length short os kat devic origin 1 trapezoid null int width os fix2 trapezoid upperright os fix2 trapezoid upperleft int height os fix2 trapezoid lowerright os fix2 trapezoid upperright cg rect rect cg rect rect x rect y height rect width width rect height height os cg context set fill color handl data background os cg context fill rect handl rect os cg context set fill color handl data foreground os atsu draw text layout start length os long2 fix os long2 fix data font ascent drawtext draw_transpar atstrapezoid atstrapezoid atsugetglyphbound katsusedeviceorigin fix2long upperright_x fix2long upperleft_x fix2long lowerright_y fix2long upperright_y cgrect cgrect cgcontextsetfillcolor cgcontextfillrect cgcontextsetfillcolor atsudrawtext long2fix long2fix fontasc compar argument receiv return true repres em em object class specif comparison param object object compar object return code true code object object code fals code hash code public boolean equal object object object return true object instanceof gc return fals return handl gc object handl hashcod fill interior circular ellipt arc rectangular area receiv background color result arc begin code start angl code extend code arc angl code degre current color angl interpret 0 degre 3 clock posit posit counter clockwis rotat neg clockwis rotat p center arc center rectangl origin code code code code size code width code code height code argument p result arc cover area code width 1 code pixel wide code height 1 code pixel tall param x coordin upper left corner arc fill param y coordin upper left corner arc fill param width width arc fill param height height arc fill param start angl begin angl param arc angl angular extent arc rel start angl except swt except ul li error graphic dispos receiv dispos li ul draw arc public void fill arc int int int width int height int start angl int arc angl handl 0 swt error swt error graphic dispos data updat clip setcg clip width 0 x width width width height 0 y height height height width 0 height 0 arc angl 0 return os cg context begin path handl os cg context saveg handl os cg context translatectm handl width 2f height 2f os cg context scalectm handl width 2f height 2f os cg context move point handl 0 0 os cg context add arc handl 0 0 1 start angl float compat pi 180 start angl arc angl float compat pi 180 true os cg context close path handl os cg context restoreg handl os cg context fill path handl flush startangl arcangl startangl arcangl swtexcept error_graphic_dispos drawarc fillarc startangl arcangl error_graphic_dispos updateclip setcgclip arcangl cgcontextbeginpath cgcontextsavegst cgcontexttranslatectm cgcontextscalectm cgcontextmovetopoint cgcontextaddarc startangl startangl arcangl cgcontextclosepath cgcontextrestoregst cgcontextfillpath fill interior rectangl gradient sweep left top bottom progress receiv foreground color background color param x coordin rectangl fill param y coordin rectangl fill param width width rectangl fill neg invert direct gradient horizont param height height rectangl fill neg invert direct gradient vertic param vertic true sweep top bottom sweep left except swt except ul li error graphic dispos receiv dispos li ul draw rectangl public void fill gradient rectangl int int int width int height boolean vertic handl 0 swt error swt error graphic dispos width 0 height 0 return rewrit gdk pixbuf rgb backgroundrgb foregroundrgb backgroundrgb background getrgb foregroundrgb foreground getrgb rgb fromrgb torgb fromrgb foregroundrgb torgb backgroundrgb boolean swap color fals width 0 width width width vertic swap color true height 0 height height height vertic swap color true swap color fromrgb backgroundrgb torgb foregroundrgb fromrgb equal torgb fill rectangl width height return imag data fill gradient rectangl data devic width height vertic fromrgb torgb 8 8 8 swtexcept error_graphic_dispos drawrectangl fillgradientrectangl error_graphic_dispos gdkpixbuf getbackground getforeground swapcolor swapcolor swapcolor swapcolor fillrectangl imagedata fillgradientrectangl fill interior oval rectangular area receiv background color param x coordin upper left corner oval fill param y coordin upper left corner oval fill param width width oval fill param height height oval fill except swt except ul li error graphic dispos receiv dispos li ul draw oval public void fill oval int int int width int height handl 0 swt error swt error graphic dispos data updat clip setcg clip width 0 x width width width height 0 y height height height os cg context begin path handl os cg context saveg handl os cg context translatectm handl width 2f height 2f os cg context scalectm handl width 2f height 2f os cg context move point handl 1 0 os cg context add arc handl 0 0 1 0 float compat pi 2 fals os cg context close path handl os cg context restoreg handl os cg context fill path handl flush swtexcept error_graphic_dispos drawov fillov error_graphic_dispos updateclip setcgclip cgcontextbeginpath cgcontextsavegst cgcontexttranslatectm cgcontextscalectm cgcontextmovetopoint cgcontextaddarc cgcontextclosepath cgcontextrestoregst cgcontextfillpath fill interior close polygon defin arrai integ coordin receiv background color arrai altern valu consid repres point vertic polygon line drawn consecut pair pair pair arrai param point arrai arrai altern valu vertic polygon except illeg argument except ul li error null argument point arrai null li ul except swt except ul li error graphic dispos receiv dispos li ul draw polygon public void fill polygon int point arrai handl 0 swt error swt error graphic dispos point arrai null swt error swt error null argument data updat clip setcg clip float point float point arrai length int 0 point length point point arrai os cg context begin path handl os cg context add line handl point point length 2 os cg context close path handl os cg contexteo fill path handl flush pointarrai illegalargumentexcept error_null_argument pointarrai swtexcept error_graphic_dispos drawpolygon fillpolygon pointarrai error_graphic_dispos pointarrai error_null_argument updateclip setcgclip pointarrai pointarrai cgcontextbeginpath cgcontextaddlin cgcontextclosepath cgcontexteofillpath fill interior rectangl argument receiv background color param x coordin rectangl fill param y coordin rectangl fill param width width rectangl fill param height height rectangl fill except swt except ul li error graphic dispos receiv dispos li ul draw rectangl public void fill rectangl int int int width int height handl 0 swt error swt error graphic dispos data updat clip setcg clip width 0 x width width width height 0 y height height height cg rect rect cg rect rect x rect y rect width width rect height height os cg context fill rect handl rect flush swtexcept error_graphic_dispos drawrectangl fillrectangl error_graphic_dispos updateclip setcgclip cgrect cgrect cgcontextfillrect fill interior rectangl receiv background color param rect rectangl fill except illeg argument except ul li error null argument rectangl null li ul except swt except ul li error graphic dispos receiv dispos li ul draw rectangl public void fill rectangl rectangl rect handl 0 swt error swt error graphic dispos rect null swt error swt error null argument fill rectangl rect rect rect width rect height illegalargumentexcept error_null_argument swtexcept error_graphic_dispos drawrectangl fillrectangl error_graphic_dispos error_null_argument fillrectangl fill interior round corner rectangl argument receiv background color param x coordin rectangl fill param y coordin rectangl fill param width width rectangl fill param height height rectangl fill param arc width horizont diamet arc corner param arc height vertic diamet arc corner except swt except ul li error graphic dispos receiv dispos li ul draw round rectangl public void fill round rectangl int int int width int height int arc width int arc height handl 0 swt error swt error graphic dispos data updat clip setcg clip arc width 0 arc height 0 fill rectangl width height return int nx int ny int nw width int nh height int naw arc width int nah arc height nw 0 nw 0 nw nx nx nw nh 0 nh 0 nh ny ny nh naw 0 naw 0 naw nah 0 nah 0 nah naw nw naw nw nah nh nah nh float naw2 naw 2f float nah2 nah 2f float fw nw naw2 float fh nh nah2 os cg context begin path handl os cg context saveg handl os cg context translatectm handl nx ny os cg context scalectm handl naw2 nah2 os cg context move point handl fw 1 0 os cg context add arc point handl 0 0 0 1 1 os cg context add arc point handl 0 fh 1 fh 1 os cg context add arc point handl fw fh fw fh 1 1 os cg context add arc point handl fw 0 fw 1 0 1 os cg context close path handl os cg context restoreg handl os cg context fill path handl flush arcwidth archeight swtexcept error_graphic_dispos drawroundrectangl fillroundrectangl arcwidth archeight error_graphic_dispos updateclip setcgclip arcwidth archeight fillrectangl arcwidth archeight cgcontextbeginpath cgcontextsavegst cgcontexttranslatectm cgcontextscalectm cgcontextmovetopoint cgcontextaddarctopoint cgcontextaddarctopoint cgcontextaddarctopoint cgcontextaddarctopoint cgcontextclosepath cgcontextrestoregst cgcontextfillpath void flush data control 0 data paint event 0 data thread thread current thread os cg context flush handl os cg context synchron handl paintev currentthread cgcontextflush cgcontextsynchron return em advanc width em charact font select receiv advanc width defin horizont distanc cursor move print charact select font param ch charact measur return distanc direct move past charact paint except swt except ul li error graphic dispos receiv dispos li ul public int advanc width char ch handl 0 swt error swt error graphic dispos return string extent string char ch swtexcept error_graphic_dispos getadvancewidth error_graphic_dispos stringext return background color return receiv background color except swt except ul li error graphic dispos receiv dispos li ul public color background handl 0 swt error swt error graphic dispos return color carbon data devic data background swtexcept error_graphic_dispos getbackground error_graphic_dispos carbon_new return width charact font select receiv width defin space actual charact includ lead tail whitespac overhang param ch charact measur return width charact except swt except ul li error graphic dispos receiv dispos li ul public int char width char ch handl 0 swt error swt error graphic dispos return string extent string char ch swtexcept error_graphic_dispos getcharwidth error_graphic_dispos stringext return bound rectangl receiv clip region clip region set return rectangl cover entir bound object receiv draw return bound rectangl clip region except swt except ul li error graphic dispos receiv dispos li ul public rectangl clip handl 0 swt error swt error graphic dispos data clip rgn 0 int width 0 height 0 data control 0 rect bound rect os control bound data control bound width bound bound left height bound bottom bound top data imag null int imag data imag handl width os cg imag width imag height os cg imag height imag return rectangl 0 0 width height rect bound rect os region bound data clip rgn bound int width bound bound left int height bound bottom bound top return rectangl bound left bound top width height swtexcept error_graphic_dispos getclip error_graphic_dispos cliprgn getcontrolbound cgimagegetwidth cgimagegetheight getregionbound cliprgn set region manag argument current clip region receiv param region region fill clip region except illeg argument except ul li error null argument region null li ul except swt except ul li error graphic dispos receiv dispos li ul public void clip region region handl 0 swt error swt error graphic dispos region null swt error swt error null argument data clip rgn 0 int width 0 height 0 data control 0 rect bound rect os control bound data control bound width bound bound left height bound bottom bound top data imag null int imag data imag handl width os cg imag width imag height os cg imag height imag os set rect rgn region handl short 0 short 0 short width short height return os copi rgn data clip rgn region handl illegalargumentexcept error_null_argument swtexcept error_graphic_dispos getclip error_graphic_dispos error_null_argument cliprgn getcontrolbound cgimagegetwidth cgimagegetheight setrectrgn copyrgn cliprgn return font receiv draw measur text return receiv font except swt except ul li error graphic dispos receiv dispos li ul public font font handl 0 swt error swt error graphic dispos return data font swtexcept error_graphic_dispos getfont error_graphic_dispos return font metric inform font receiv draw measur text return font metric receiv font except swt except ul li error graphic dispos receiv dispos li ul public font metric font metric handl 0 swt error swt error graphic dispos font font data font font info info font info os fetch font info font id font size font style info int ascent info ascent int descent info descent int lead info lead code intentionali comment fix width font fm averag char width info wid max 3 string abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz0123456789 int averag char width string extent length return font metric carbon ascent descent averag char width lead ascent lead descent fontmetr swtexcept error_graphic_dispos fontmetr getfontmetr error_graphic_dispos fontinfo fontinfo fetchfontinfo averagecharwidth widmax averagecharwidth stringext fontmetr carbon_new averagecharwidth return receiv foreground color return color draw foreground thing except swt except ul li error graphic dispos receiv dispos li ul public color foreground handl 0 swt error swt error widget dispos return color carbon data devic data foreground swtexcept error_graphic_dispos getforeground error_widget_dispos carbon_new return receiv line style constant code swt line solid code code swt line dash code code swt line dot code code swt line dashdot code code swt line dashdotdot code return style draw line except swt except ul li error graphic dispos receiv dispos li ul public int line style handl 0 swt error swt error graphic dispos return data line style line_solid line_dash line_dot line_dashdot line_dashdotdot swtexcept error_graphic_dispos getlinestyl error_graphic_dispos linestyl return width draw line figur draw oper code draw line code code draw rectangl code code draw polylin code return receiv line width except swt except ul li error graphic dispos receiv dispos li ul public int line width handl 0 swt error swt error graphic dispos return data line width drawlin drawrectangl drawpolylin swtexcept error_graphic_dispos getlinewidth error_graphic_dispos linewidth return receiv style inform note return method em match em provid constructor receiv creat occur underli oper system support combin request style return style bit except swt except ul li error graphic dispos receiv dispos li ul 2 1 2 public int style handl 0 swt error swt error graphic dispos return data style swtexcept error_graphic_dispos getstyl error_graphic_dispos return code true code gc draw mode result color destin em exclus em color valu sourc destin code fals code draw mode destin color replac sourc color return code true code true receiv xor mode fals except swt except ul li error graphic dispos receiv dispos li ul public boolean getxor mode handl 0 swt error swt error graphic dispos return data xor mode swtexcept error_graphic_dispos getxormod error_graphic_dispos xormod return integ hash code receiv object return code true code pass code equal code return method return receiv hash except swt except ul li error graphic dispos receiv dispos li ul equal public int hash code return handl swtexcept error_graphic_dispos hashcod void init drawabl drawabl gc data data int context int colorspac data devic colorspac os cg context set stroke color space context colorspac os cg context set fill color space context colorspac float foreground data foreground foreground null os cg context set stroke color context foreground float background data background background null os cg context set fill color context background os cg context set line cap context os kcg line cap round imag imag data imag imag null imag memgc thi drawabl drawabl data data handl context data font null setgc font gcdata cgcontextsetstrokecolorspac cgcontextsetfillcolorspac cgcontextsetstrokecolor cgcontextsetfillcolor cgcontextsetlinecap kcglinecapround setgcfont return code true code receiv clip region set code fals code method return fals receiv draw space destin return true draw area cover region access code clip region code return code true code gc clip region code fals code except swt except ul li error graphic dispos receiv dispos li ul public boolean clip handl 0 swt error swt error graphic dispos return data clip rgn 0 getclip swtexcept error_graphic_dispos isclip error_graphic_dispos cliprgn return code true code gc dispos code fals code method dispos gc gc dispos error invok method gc return code true code gc dispos code fals code public boolean dispos return handl 0 isdispos set background color background color fill oper background color text drawn param color background color receiv except illeg argument except ul li error null argument color null li li error invalid argument color dispos li ul except swt except ul li error graphic dispos receiv dispos li ul public void set background color color handl 0 swt error swt error graphic dispos color null swt error swt error null argument color dispos swt error swt error invalid argument data background color handl os cg context set fill color handl color handl illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_graphic_dispos setbackground error_graphic_dispos error_null_argument isdispos error_invalid_argument cgcontextsetfillcolor set area receiv chang draw oper rectangular area argument param x coordin clip rectangl param y coordin clip rectangl param width width clip rectangl param height height clip rectangl except swt except ul li error graphic dispos receiv dispos li ul public void set clip int int int width int height handl 0 swt error swt error graphic dispos data clip rgn 0 data clip rgn os rgn os set rect rgn data clip rgn short short short width short height data updat clip true swtexcept error_graphic_dispos setclip error_graphic_dispos cliprgn cliprgn newrgn setrectrgn cliprgn updateclip set area receiv chang draw oper rectangular area argument param rect clip rectangl except swt except ul li error graphic dispos receiv dispos li ul public void set clip rectangl handl 0 swt error swt error graphic dispos null data clip rgn 0 os dispos rgn data clip rgn data clip rgn 0 return data clip rgn 0 data clip rgn os rgn os set rect rgn data clip rgn short short short width short height data updat clip true swtexcept error_graphic_dispos setclip error_graphic_dispos cliprgn disposergn cliprgn cliprgn cliprgn cliprgn newrgn setrectrgn cliprgn updateclip set area receiv chang draw oper region argument param region clip region except swt except ul li error graphic dispos receiv dispos li ul public void set clip region region handl 0 swt error swt error graphic dispos region null data clip rgn 0 os dispos rgn data clip rgn data clip rgn 0 return data clip rgn 0 data clip rgn os rgn os copi rgn region handl data clip rgn data updat clip true swtexcept error_graphic_dispos setclip error_graphic_dispos cliprgn disposergn cliprgn cliprgn cliprgn cliprgn newrgn copyrgn cliprgn updateclip void setcg clip data updat clip fals data control 0 os cg context scalectm handl 1 1 data clip rgn 0 os clipcg context region handl rect data clip rgn int rgn os rgn os set rect rgn rgn short 32768 short 32768 short 32767 short 32767 os clipcg context region handl rect rgn os dispos rgn rgn os cg context scalectm handl 1 1 return int port data port port 0 int window os control owner data control port os window port window rect port rect data port rect rect rect data control rect os cg context translatectm handl rect left port rect bottom port rect top rect top os cg context scalectm handl 1 1 os port bound port port rect os control bound data control rect data clip rgn 0 int rgn os rgn os copi rgn data clip rgn rgn os offset rgn rgn rect left rect top os sect rgn data visibl rgn rgn rgn os clipcg context region handl port rect rgn os dispos rgn rgn os clipcg context region handl port rect data visibl rgn os cg context scalectm handl 1 1 os cg context translatectm handl rect left port rect bottom port rect top rect top setcgclip updateclip cgcontextscalectm cliprgn clipcgcontexttoregion cliprgn newrgn setrectrgn clipcgcontexttoregion disposergn cgcontextscalectm getcontrolown getwindowport portrect portrect controlrect cgcontexttranslatectm portrect portrect cgcontextscalectm getportbound portrect getcontrolbound cliprgn newrgn copyrgn cliprgn offsetrgn sectrgn visiblergn clipcgcontexttoregion portrect disposergn clipcgcontexttoregion portrect visiblergn cgcontextscalectm cgcontexttranslatectm portrect portrect set font receiv draw measur text argument argument null default font platform param font font receiv null default font except illeg argument except ul li error invalid argument font dispos li ul except swt except ul li error graphic dispos receiv dispos li ul public void set font font font handl 0 swt error swt error graphic dispos font null font data devic system font font dispos swt error swt error invalid argument data font font setgc font illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos setfont error_graphic_dispos systemfont isdispos error_invalid_argument setgcfont void setgc font int tab data tab tab 0 os dispos ptr tab data tab 0 font font data font font info info font info os fetch font info font id font size font style info data font ascent info ascent data font descent info descent font atsui style 0 data atsui style 0 os atsu dispos style data atsui style data atsui style font creat style data string null data string width data string height 1 setgcfont disposeptr fontinfo fontinfo fetchfontinfo fontasc fontdesc atsuistyl atsuistyl atsudisposestyl atsuistyl atsuistyl createstyl stringwidth stringheight set foreground color foreground color draw oper includ text drawn param color foreground color receiv except illeg argument except ul li error null argument color null li li error invalid argument color dispos li ul except swt except ul li error graphic dispos receiv dispos li ul public void set foreground color color handl 0 swt error swt error graphic dispos color null swt error swt error null argument color dispos swt error swt error invalid argument data foreground color handl os cg context set stroke color handl color handl illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_graphic_dispos setforeground error_graphic_dispos error_null_argument isdispos error_invalid_argument cgcontextsetstrokecolor set receiv line style argument constant code swt line solid code code swt line dash code code swt line dot code code swt line dashdot code code swt line dashdotdot code param line style style draw line except swt except ul li error graphic dispos receiv dispos li ul public void set line style int line style handl 0 swt error swt error graphic dispos switch line style case swt line solid os cg context set line dash handl 0 null 0 break case swt line dash os cg context set line dash handl 0 float 18 6 2 break case swt line dot os cg context set line dash handl 0 float 3 3 2 break case swt line dashdot os cg context set line dash handl 0 float 9 6 3 6 4 break case swt line dashdotdot os cg context set line dash handl 0 float 9 3 3 3 3 3 6 break default swt error swt error invalid argument data line style line style line_solid line_dash line_dot line_dashdot line_dashdotdot linestyl swtexcept error_graphic_dispos setlinestyl linestyl error_graphic_dispos linestyl line_solid cgcontextsetlinedash line_dash cgcontextsetlinedash line_dot cgcontextsetlinedash line_dashdot cgcontextsetlinedash line_dashdotdot cgcontextsetlinedash error_invalid_argument linestyl linestyl set width draw line figur draw oper code draw line code code draw rectangl code code draw polylin code param line width width line except swt except ul li error graphic dispos receiv dispos li ul public void set line width int width handl 0 swt error swt error graphic dispos data line width width os cg context set line width handl width drawlin drawrectangl drawpolylin linewidth swtexcept error_graphic_dispos setlinewidth error_graphic_dispos linewidth cgcontextsetlinewidth int set string string string int flag data layout 0 creat layout string data string flag swt draw transpar data draw flag swt draw transpar return data string length int layout data layout int length string length char char char length string char 0 length char 0 int break count 0 int break null flag swt draw mnemon swt draw delimit 0 int 0 0 char length char char char switch case flag swt draw mnemon 0 char length continu char i continu break case case flag swt draw delimit 0 char length char break null break int 4 break count break length int break int break length 4 system arraycopi break 0 break 0 break length break break break break count break length flag swt draw tab 0 data tab 0 creat tab os atsu set tab arrai layout data tab tab count os atsu set tab arrai layout 0 0 int ptr os ptr length 2 os memcpi ptr char length 2 os atsu set text pointer locat layout ptr 0 length length flag swt draw delimit 0 break null int 0 break count os atsu set soft line break layout break font font data font int atsui style font atsui style 0 font atsui style data atsui style os atsu set run style layout atsui style 0 length os atsu set transient font match layout true data string ptr 0 os dispos ptr data string ptr data string ptr ptr data string string data string length length data string width data string height 1 data draw flag flag return length setstr createlayout draw_transpar drawflag draw_transpar stringlength getchar breakcount draw_mnemon draw_delimit draw_mnemon draw_delimit breakcount newbreak newbreak newbreak breakcount draw_tab createtab atsusettabarrai tab_count atsusettabarrai newptr atsusettextpointerloc draw_delimit breakcount atsusetsoftlinebreak atsuistyl atsuistyl atsuistyl atsuistyl atsusetrunstyl atsuistyl atsusettransientfontmatch stringptr disposeptr stringptr stringptr stringlength stringwidth stringheight drawflag argument code true code put receiv draw mode result color destin em exclus em color valu sourc destin argument code fals code put receiv draw mode destin color replac sourc color param xor code true code em xor em mode em sourc copi em mode except swt except ul li error graphic dispos receiv dispos li ul public void setxor mode boolean xor handl 0 swt error swt error graphic dispos data xor mode xor swtexcept error_graphic_dispos setxormod error_graphic_dispos xormod return extent string tab expans carriag return process perform em extent em string width height rectangular area cover drawn font case current font receiv param string string measur return point extent string except illeg argument except ul li error null argument string null li ul except swt except ul li error graphic dispos receiv dispos li ul public point string extent string string return text extent string 0 illegalargumentexcept error_null_argument swtexcept error_graphic_dispos stringext textext return extent string tab expans carriag return process perform em extent em string width height rectangular area cover drawn font case current font receiv param string string measur return point extent string except illeg argument except ul li error null argument string null li ul except swt except ul li error graphic dispos receiv dispos li ul public point text extent string string return text extent string swt draw delimit swt draw tab illegalargumentexcept error_null_argument swtexcept error_graphic_dispos textext textext draw_delimit draw_tab return extent string tab expans line delimit mnemon process perform accord flag combin dl dt draw delimit dt dd draw multipl line dd dt draw tab dt dd expand tab dd dt draw mnemon dt dd underlin mnemon charact dd dt draw transpar dt dd transpar background dd dl em extent em string width height rectangular area cover drawn font case current font receiv param string string measur param flag flag specif process text return point extent string except illeg argument except ul li error null argument string null li ul except swt except ul li error graphic dispos receiv dispos li ul public point text extent string string int flag handl 0 swt error swt error graphic dispos string null swt error swt error null argument int length set string string flag data string width 1 return point data string width data string height int width 0 height length 0 height data font ascent data font descent at trapezoid trapezoid at trapezoid flag swt draw delimit 0 height 0 int layout data layout int break count int 1 os atsu soft line break layout 0 length 0 null break count int break int break count 0 1 os atsu soft line break layout 0 length break count 0 break break count break break count 0 length int 0 start 0 break length int line break break os atsu glyph bound layout 0 0 start line break start short os kat devic origin 1 trapezoid null width math max width os fix2 trapezoid upperright os fix2 trapezoid upperleft height os fix2 trapezoid lowerright os fix2 trapezoid upperright start line break os atsu glyph bound data layout 0 0 0 length short os kat devic origin 1 trapezoid null width os fix2 trapezoid upperright os fix2 trapezoid upperleft height os fix2 trapezoid lowerright os fix2 trapezoid upperright return point data string width width data string height height draw_delimit draw_tab draw_mnemon draw_transpar illegalargumentexcept error_null_argument swtexcept error_graphic_dispos textext error_graphic_dispos error_null_argument setstr stringwidth stringwidth stringheight fontasc fontdesc atstrapezoid atstrapezoid draw_delimit breakcount atsugetsoftlinebreak breakcount breakcount atsugetsoftlinebreak breakcount breakcount breakcount linebreak atsugetglyphbound linebreak katsusedeviceorigin fix2long upperright_x fix2long upperleft_x fix2long lowerright_y fix2long upperright_y linebreak atsugetglyphbound katsusedeviceorigin fix2long upperright_x fix2long upperleft_x fix2long lowerright_y fix2long upperright_y stringwidth stringheight return string concis human readabl descript receiv return string represent receiv public string string dispos return gc dispos return gc handl tostr isdispos static final int default scanlin pad 4 imag default_scanlin_pad construct empti instanc class width height result drawn creat gc draw oper shown pre imag imag devic width height gc gc gc gc draw rectangl 0 0 50 50 gc dispos pre note platform limit size imag creat size depend width height depth window 95 98 allow imag larger 16m param devic devic creat imag param width width imag param height height imag except illeg argument except ul li error null argument devic null current devic li li error invalid argument width height neg li ul except swt error ul li error handl handl obtain imag creation li ul public imag devic displai int width int height devic null devic devic devic devic null swt error swt error null argument init devic width height drawrectangl illegalargumentexcept error_null_argument error_invalid_argument swterror error_no_handl getdevic error_null_argument construct instanc class base provid imag appear vari depend flag flag valu dl dt imag copi dt dd result ident copi src imag dd dt imag disabl dt dd result copi src imag em disabl em look dd dt imag grai dt dd result copi src imag em grai scale em look dd dl param devic devic creat imag param src imag imag sourc param flag style code imag copi code code imag disabl code code imag grai code except illeg argument except ul li error null argument devic null current devic li li error null argument src imag null li li error invalid argument flag code imag copi code code imag disabl code code imag grai code li li error invalid argument imag dispos li ul except swt except ul li error invalid imag imag bitmap icon invalid li li error unsupport depth depth imag support li ul except swt error ul li error handl handl obtain imag creation li ul public imag devic devic imag src imag int flag devic null devic devic devic devic null swt error swt error null argument src imag null swt error swt error null argument src imag dispos swt error swt error invalid argument switch flag case swt imag copi case swt imag disabl case swt imag grai break default swt error swt error invalid argument devic devic type src imag type sourc imag size int width os cg imag width src imag handl int height os cg imag height src imag handl int bpr os cg imag byte row src imag handl int bpc os cg imag bit compon src imag handl int bpp os cg imag bit pixel src imag handl int colorspac os cg imag color space src imag handl int alpha info os kcg imag alpha skip copi transpar pixel alpha data alpha info os cg imag alpha info src imag handl transpar pixel src imag transpar pixel alpha src imag alpha src imag alpha data null alpha data byte src imag alpha data length system arraycopi src imag alpha data 0 alpha data 0 alpha data length creat imag int data size height bpr data os ptr data size data 0 swt error swt error handl int provid os cg data provid creat data 0 data data size 0 provid 0 os dispos ptr data swt error swt error handl handl os cg imag creat width height bpc bpp bpr colorspac alpha info provid null fals 0 os cg data provid releas provid handl 0 os dispos ptr data swt error swt error handl os memcpi data src imag data data size flag swt imag copi return appli transform switch flag case swt imag disabl color color devic system color swt color widget normal shadow rgb zerorgb color getrgb byte red byte zerorgb red byte green byte zerorgb green byte blue byte zerorgb blue color color devic system color swt color widget background rgb onergb color getrgb byte red byte onergb red byte green byte onergb green byte blue byte onergb blue byte line byte bpr int 0 height os memcpi line data bpr bpr int offset 0 int 0 width int red line offset 1 0xff int green line offset 2 0xff int blue line offset 3 0xff int intens red red green green blue blue intens 98304 line offset 1 red line offset 2 green line offset 3 blue line offset 1 red line offset 2 green line offset 3 blue offset 4 os memcpi data bpr line bpr break case swt imag grai byte line byte bpr int 0 height os memcpi line data bpr bpr int offset 0 int 0 width int red line offset 1 0xff int green line offset 2 0xff int blue line offset 3 0xff byte intens byte red red green green green green green blue 3 line offset 1 line offset 2 line offset 3 intens offset 4 os memcpi data bpr line bpr break imag_copi srcimag imag_disabl srcimag imag_grai srcimag srcimag imag_copi imag_disabl imag_grai illegalargumentexcept error_null_argument error_null_argument srcimag error_invalid_argument imag_copi imag_disabl imag_grai error_invalid_argument swtexcept error_invalid_imag error_unsupport_depth swterror error_no_handl srcimag getdevic error_null_argument srcimag error_null_argument srcimag isdispos error_invalid_argument imag_copi imag_disabl imag_grai error_invalid_argument srcimag cgimagegetwidth srcimag cgimagegetheight srcimag cgimagegetbytesperrow srcimag cgimagegetbitspercompon srcimag cgimagegetbitsperpixel srcimag cgimagegetcolorspac srcimag alphainfo kcgimagealphanoneskipfirst alphainfo cgimagegetalphainfo srcimag transparentpixel srcimag transparentpixel srcimag srcimag alphadata alphadata srcimag alphadata srcimag alphadata alphadata alphadata datas newptr datas error_no_handl cgdataprovidercreatewithdata datas disposeptr error_no_handl cgimagecr alphainfo cgdataproviderreleas disposeptr error_no_handl srcimag datas imag_copi imag_disabl zerocolor getsystemcolor color_widget_normal_shadow zerocolor zeror zerogreen zeroblu onecolor getsystemcolor color_widget_background onecolor oner onegreen oneblu zeror zerogreen zeroblu oner onegreen oneblu imag_grai construct empti instanc class width height rectangl result drawn creat gc draw oper shown pre imag imag devic bound rectangl gc gc gc gc draw rectangl 0 0 50 50 gc dispos pre note platform limit size imag creat size depend width height depth window 95 98 allow imag larger 16m param devic devic creat imag param bound rectangl imag width height null except illeg argument except ul li error null argument devic null current devic li li error null argument bound rectangl null li li error invalid argument rectangl width height neg li ul except swt error ul li error handl handl obtain imag creation li ul public imag devic displai rectangl bound devic null devic devic devic devic null swt error swt error null argument bound null swt error swt error null argument init devic bound width bound height boundsrectangl drawrectangl illegalargumentexcept error_null_argument error_null_argument error_invalid_argument swterror error_no_handl getdevic error_null_argument error_null_argument construct instanc class code imag data code param devic devic creat imag param data imag data creat imag null except illeg argument except ul li error null argument devic null current devic li li error null argument imag data null li ul except swt error ul li error handl handl obtain imag creation li ul except swt except ul li error unsupport depth depth imag data support li ul public imag devic devic imag data data devic null devic devic devic devic null swt error swt error null argument init devic data imagedata illegalargumentexcept error_null_argument error_null_argument swterror error_no_handl swtexcept error_unsupport_depth imagedata imagedata getdevic error_null_argument construct instanc class type code swt icon code code imag data code object imag size mask imag color depth 1 pixel transpar imag imag icon begin except thrown mask imag white icon visibl black icon transpar addit sourc imag black icon transpar param devic devic creat icon param sourc color data icon param mask mask data icon except illeg argument except ul li error null argument devic null current devic li li error null argument sourc mask null li li error invalid argument sourc mask size mask monochrom sourc mask icon li ul except swt error ul li error handl handl obtain imag creation li ul public imag devic displai imag data sourc imag data mask devic null devic devic devic sourc null swt error swt error null argument mask null swt error swt error null argument sourc width mask width sourc height mask height swt error swt error invalid argument mask depth 1 swt error swt error invalid argument imag data imag imag data sourc width sourc height sourc depth sourc palett sourc scanlin pad sourc data imag mask pad mask scanlin pad imag mask data mask data init devic imag imagedata illegalargumentexcept error_null_argument error_null_argument error_invalid_argument swterror error_no_handl imagedata imagedata getdevic error_null_argument error_null_argument error_invalid_argument error_invalid_argument imagedata imagedata scanlinepad maskpad scanlinepad maskdata construct instanc class load represent input stream throw error error occur load imag result imag unsupport type constructor provid conveni load singl imag stream multipl imag load load multipl imag code imag loader load code p constructor load resourc follow pre imag devic clazz resourc stream file gif pre param devic devic creat imag param stream input stream load imag except illeg argument except ul li error null argument devic null current devic li li error null argument stream null li ul except swt except ul li error invalid imag imag file invalid data li li error io io error occur read data li li error unsupport depth input stream describ imag unsupport depth li ul except swt error ul li error handl handl obtain imag creation li ul public imag devic devic input stream stream devic null devic devic devic devic null swt error swt error null argument init devic imag data stream imageload getresourceasstream illegalargumentexcept error_null_argument error_null_argument swtexcept error_invalid_imag error_io error_unsupport_depth inputstream swterror error_no_handl inputstream getdevic error_null_argument imagedata construct instanc class load represent file throw error error occur load imag result imag unsupport type constructor provid conveni load singl imag file multipl imag param devic devic creat imag param filenam the file load imag except illeg argument except ul li error null argument devic null current devic li li error null argument file null li ul except swt except ul li error invalid imag imag file invalid data li li error io io error occur read data li li error unsupport depth imag file unsupport depth li ul except swt error ul li error handl handl obtain imag creation li ul public imag devic displai string filenam devic null devic devic devic devic null swt error swt error null argument init devic imag data filenam illegalargumentexcept error_null_argument error_null_argument swtexcept error_invalid_imag error_io error_unsupport_depth swterror error_no_handl getdevic error_null_argument imagedata void creat mask transpar pixel 1 return int height os cg imag height handl int bpr os cg imag byte row handl int data size height bpr byte src data byte data size os memcpi src data data data size int 0 data size 4 int pixel src data 1 0xff 16 src data 2 0xff 8 src data 3 0xff src data byte pixel transpar pixel 0 0xff os memcpi data src data data size createmask transparentpixel cgimagegetheight cgimagegetbytesperrow datas srcdata datas srcdata datas datas srcdata srcdata srcdata srcdata transparentpixel srcdata datas dispos oper system resourc imag applic dispos imag alloc public void dispos handl 0 return devic dispos return memgc null memgc dispos os cg imag releas handl os dispos ptr data devic null data handl 0 memgc null isdispos cgimagereleas disposeptr compar argument receiv return true repres em em object class specif comparison param object object compar object return code true code object object code fals code hash code public boolean equal object object object return true object instanceof imag return fals imag imag imag object return devic imag devic handl imag handl transpar pixel imag transpar pixel hashcod transparentpixel transparentpixel return color map transpar pixel null receiv transpar pixel imag support transpar set imag button label case desir simul transpar background color widget paint transpar pixel imag method check color case place transpar set set background return background color imag null transpar imag except swt except ul li error graphic dispos receiv dispos li ul public color background dispos swt error swt error graphic dispos transpar pixel 1 return null return null setbackground swtexcept error_graphic_dispos getbackground isdispos error_graphic_dispos transparentpixel return bound receiv rectangl valu 0 width height imag return rectangl imag bound except swt except ul li error graphic dispos receiv dispos li li error invalid imag imag bitmap icon li ul public rectangl bound dispos swt error swt error graphic dispos return rectangl 0 0 os cg imag width handl os cg imag height handl swtexcept error_graphic_dispos error_invalid_imag getbound isdispos error_graphic_dispos cgimagegetwidth cgimagegetheight return code imag data code base receiv modif code imag data code affect imag return code imag data code imag data attribut except swt except ul li error graphic dispos receiv dispos li li error invalid imag imag bitmap icon li ul imag data public imag data imag data dispos swt error swt error graphic dispos int width os cg imag width handl int height os cg imag height handl int bpr os cg imag byte row handl int bpp os cg imag bit pixel handl int data size height bpr byte src data byte data size os memcpi src data data data size palett data palett palett data 0xff0000 0xff00 0xff imag data data imag data width height bpp palett data data src data data byte line bpr data transpar pixel transpar pixel transpar pixel 1 type swt icon icon mask data int mask pad 2 int mask bpl width 7 8 mask pad 1 mask pad mask pad byte mask data byte height mask bpl int offset 0 mask offset 0 int 0 height int 0 width src data offset 0 mask data mask offset 3 1 7 0x7 mask data mask offset 3 1 7 0x7 offset 4 mask offset mask bpl data mask data mask data data mask pad mask pad int 0 src data length 4 src data 0 data alpha alpha alpha 1 alpha data null data alpha data byte alpha data length system arraycopi alpha data 0 data alpha data 0 alpha data length return data imagedata imagedata imagedata swtexcept error_graphic_dispos error_invalid_imag imagedata imagedata getimagedata isdispos error_graphic_dispos cgimagegetwidth cgimagegetheight cgimagegetbytesperrow cgimagegetbitsperpixel datas srcdata datas srcdata datas palettedata palettedata imagedata imagedata srcdata bytesperlin transparentpixel transparentpixel transparentpixel maskpad maskbpl maskpad maskpad maskpad maskdata maskbpl maskoffset srcdata maskdata maskoffset maskdata maskoffset maskoffset maskbpl maskdata maskdata maskpad maskpad srcdata srcdata alphadata alphadata alphadata alphadata alphadata alphadata invok platform specif function alloc imag import method em em part public api code imag code mark public share packag provid swt platform call applic code param devic devic alloc color param type type imag code swt bitmap code code swt icon code param handl os handl imag param data os data imag privat public static imag carbon devic devic int type int handl int data devic null devic devic devic imag imag imag imag type type imag handl handl imag data data imag devic devic return imag carbon_new getdevic return integ hash code receiv object return code true code pass code equal code return method return receiv hash equal public int hash code return handl hashcod void init devic devic int width int height width 0 height 0 swt error swt error invalid argument devic devic type swt bitmap creat imag int bpr width 4 int data size height bpr data os ptr data size data 0 swt error swt error handl int provid os cg data provid creat data 0 data data size 0 provid 0 os dispos ptr data swt error swt error handl int colorspac devic colorspac handl os cg imag creat width height 8 32 bpr colorspac os kcg imag alpha skip provid null fals 0 os cg data provid releas provid handl 0 os dispos ptr data swt error swt error handl fill imag white int bpc os cg imag bit compon handl int context os cg bitmap context creat data width height bpc bpr colorspac os kcg imag alpha skip context 0 swt error swt error handl cg rect rect cg rect rect width width rect height height os cg context setrgb fill color context 1 1 1 1 os cg context fill rect context rect os cg context releas context error_invalid_argument datas newptr datas error_no_handl cgdataprovidercreatewithdata datas disposeptr error_no_handl cgimagecr kcgimagealphanoneskipfirst cgdataproviderreleas disposeptr error_no_handl cgimagegetbitspercompon cgbitmapcontextcr kcgimagealphanoneskipfirst error_no_handl cgrect cgrect cgcontextsetrgbfillcolor cgcontextfillrect cgcontextreleas void init devic devic imag data imag imag null swt error swt error null argument devic devic int width imag width int height imag height palett data palett imag palett imag depth 1 imag depth 2 imag depth 4 imag depth 8 palett direct imag depth 8 imag depth 16 imag depth 24 imag depth 32 palett direct swt error swt error unsupport depth creat imag int data size width height 4 data os ptr data size data 0 swt error swt error handl int provid os cg data provid creat data 0 data data size 0 provid 0 os dispos ptr data swt error swt error handl int colorspac devic colorspac int transpar imag transpar type int alpha info transpar swt transpar os kcg imag alpha skip os kcg imag alpha handl os cg imag creat width height 8 32 width 4 colorspac alpha info provid null fals 0 os cg data provid releas provid handl 0 os dispos ptr data swt error swt error handl initi data int bpr width 4 byte buffer byte data size palett direct imag data blit imag data blit src imag data imag depth imag byte line imag byte order 0 0 width height palett red mask palett green mask palett blue mask imag data alpha opaqu null 0 0 0 buffer 32 bpr imag data msb 0 0 width height 0xff0000 0xff00 0xff fals fals rgb rgb palett getrg bs int length rgb length byte src red byte length byte src green byte length byte src blue byte length int 0 rgb length rgb rgb rgb rgb null continu src red byte rgb red src green byte rgb green src blue byte rgb blue imag data blit imag data blit src imag data imag depth imag byte line imag byte order 0 0 width height src red src green src blue imag data alpha opaqu null 0 0 0 buffer 32 bpr imag data msb 0 0 width height 0xff0000 0xff00 0xff fals fals initi transpar transpar swt transpar mask imag transpar pixel 1 type imag transpar pixel 1 swt bitmap swt icon imag transpar pixel 1 int tran red 0 tran green 0 tran blue 0 palett direct rgb rgb palett getrgb imag transpar pixel tran red rgb red tran green rgb green tran blue rgb blue rgb rgb palett getrg bs imag transpar pixel rgb length rgb rgb rgb imag transpar pixel tran red rgb red tran green rgb green tran blue rgb blue transpar pixel tran red 16 tran green 8 tran blue imag data mask imag imag transpar mask byte mask data mask imag data int mask bpl mask imag byte line int offset 0 mask offset 0 int 0 height int 0 width buffer offset mask data mask offset 3 1 7 0x7 0 byte 0xff 0 offset 4 mask offset mask bpl type swt bitmap imag alpha 1 alpha imag alpha byte byte alpha int data index 0 data index buffer length data index 4 buffer data index imag alpha data null alpha data byte imag alpha data length system arraycopi imag alpha data 0 alpha data 0 alpha data length int offset 0 alpha offset 0 int 0 height int 0 width buffer offset alpha data alpha offset offset 4 alpha offset 1 os memcpi data buffer data size imagedata error_null_argument palettedata isdirect isdirect error_unsupport_depth datas newptr datas error_no_handl cgdataprovidercreatewithdata datas disposeptr error_no_handl gettransparencytyp alphainfo transpar_none kcgimagealphanoneskipfirst kcgimagealphafirst cgimagecr alphainfo cgdataproviderreleas disposeptr error_no_handl datas isdirect imagedata imagedata blit_src bytesperlin getbyteord redmask greenmask bluemask imagedata alpha_opaqu imagedata msb_first getrgb srcred srcgreen srcblue srcred srcgreen srcblue imagedata imagedata blit_src bytesperlin getbyteord srcred srcgreen srcblue imagedata alpha_opaqu imagedata msb_first transpar_mask transparentpixel transparentpixel transparentpixel transr transgreen transblu isdirect transparentpixel transr transgreen transblu getrgb transparentpixel transparentpixel transr transgreen transblu transparentpixel transr transgreen transblu imagedata maskimag gettransparencymask maskdata maskimag maskbpl maskimag bytesperlin maskoffset maskdata maskoffset maskoffset maskbpl dataindex dataindex dataindex dataindex alphadata alphadata alphadata alphadata alphadata alphadata alphaoffset alphadata alphaoffset alphaoffset datas invok platform specif function alloc gc handl import method em em part public api code imag code mark public share packag provid swt platform call applic code param data platform specif gc data return platform specif gc handl public int intern gc gc data data handl 0 swt error swt error graphic dispos type swt bitmap memgc null swt error swt error invalid argument int width os cg imag width handl int height os cg imag height handl int bpc os cg imag bit compon handl int bpr os cg imag byte row handl int colorspac os cg imag color space handl int context os cg bitmap context creat data width height bpc bpr colorspac os kcg imag alpha skip context 0 swt error swt error handl os cg context scalectm context 1 1 os cg context translatectm context 0 height data null int mask swt left swt left data style mask 0 data style swt left data devic devic data background devic color white handl data foreground devic color black handl data font devic system font data imag return context intern_new_gc gcdata error_graphic_dispos error_invalid_argument cgimagegetwidth cgimagegetheight cgimagegetbitspercompon cgimagegetbytesperrow cgimagegetcolorspac cgbitmapcontextcr kcgimagealphanoneskipfirst error_no_handl cgcontextscalectm cgcontexttranslatectm left_to_right right_to_left left_to_right color_white color_black systemfont invok platform specif function dispos gc handl import method em em part public api code imag code mark public share packag provid swt platform call applic code param hdc platform specif gc handl param data platform specif gc data public void intern dispos gc int context gc data data os cg context releas context intern_dispos_gc gcdata cgcontextreleas return code true code imag dispos code fals code method dispos imag imag dispos error invok method imag return code true code imag dispos code fals code public boolean dispos return handl 0 isdispos set color map transpar pixel code imag code support transpar set imag button label case desir simul transpar background color widget paint transpar pixel imag method specifi color case pre button button imag set background background set imag imag pre p imag modifi oper effect transpar region fill suppli color oper revers legal call function null argument p method effect receiv transpar pixel param color color transpar pixel except illeg argument except ul li error null argument color null li li error invalid argument color dispos li ul except swt except ul li error graphic dispos receiv dispos li ul public void set background color color dispos swt error swt error graphic dispos color null swt error swt error null argument color dispos swt error swt error invalid argument transpar pixel 1 return setbackground getbackground setimag illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_graphic_dispos setbackground isdispos error_graphic_dispos error_null_argument isdispos error_invalid_argument transparentpixel return string concis human readabl descript receiv return string represent receiv public string string dispos return imag dispos return imag handl tostr isdispos construct empti region except swt error ul li error handl handl obtain region creation li ul public region null swterror error_no_handl construct empti region dispos region longer requir param devic devic alloc region except swt error ul li error handl handl obtain region creation li ul except illeg argument except ul li error null argument devic null current devic li ul dispos 3 0 public region devic devic devic null devic devic devic devic null swt error swt error null argument devic devic handl os rgn handl 0 swt error swt error handl swterror error_no_handl illegalargumentexcept error_null_argument getdevic error_null_argument newrgn error_no_handl region devic devic int handl devic devic handl handl add polygon collect rectangl receiv maintain describ area param point arrai point describ polygon merg receiv except illeg argument except ul li error null argument argument null li ul except swt except ul li error graphic dispos receiv dispos li ul 3 0 public void add int point arrai dispos swt error swt error graphic dispos point arrai null swt error swt error null argument point arrai length 2 return int poli rgn os rgn os open rgn os move short point arrai 0 short point arrai 1 int 1 point arrai length 2 os line short point arrai 2 short point arrai 2 1 os line short point arrai 0 short point arrai 1 os close rgn poli rgn os union rgn handl poli rgn handl os dispos rgn poli rgn pointarrai illegalargumentexcept error_null_argument swtexcept error_graphic_dispos pointarrai isdispos error_graphic_dispos pointarrai error_null_argument pointarrai polyrgn newrgn openrgn moveto pointarrai pointarrai pointarrai lineto pointarrai pointarrai lineto pointarrai pointarrai closergn polyrgn unionrgn polyrgn disposergn polyrgn add rectangl collect rectangl receiv maintain describ area param rect rectangl merg receiv except illeg argument except ul li error null argument argument null li li error invalid argument rectangl width height neg li ul except swt except ul li error graphic dispos receiv dispos li ul public void add rectangl rect dispos swt error swt error graphic dispos rect null swt error swt error null argument rect width 0 rect height 0 swt error swt error invalid argument int rect rgn os rgn rect rect os set rect short rect short rect short rect rect width short rect rect height os rect rgn rect rgn os union rgn handl rect rgn handl os dispos rgn rect rgn illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_graphic_dispos isdispos error_graphic_dispos error_null_argument error_invalid_argument rectrgn newrgn setrect rectrgn rectrgn unionrgn rectrgn disposergn rectrgn add rectangl area cover argument collect rectangl receiv maintain describ area param region region merg except illeg argument except ul li error null argument argument null li li error invalid argument argument dispos li ul except swt except ul li error graphic dispos receiv dispos li ul public void add region region dispos swt error swt error graphic dispos region null swt error swt error null argument region dispos swt error swt error invalid argument os union rgn handl region handl handl illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_graphic_dispos isdispos error_graphic_dispos error_null_argument isdispos error_invalid_argument unionrgn return code true code point argument insid area receiv code fals code param x coordin point test contain param y coordin point test contain return code true code region point code fals code except swt except ul li error graphic dispos receiv dispos li ul public boolean int int dispos swt error swt error graphic dispos org eclips swt intern carbon point point org eclips swt intern carbon point os set pt point short short return os pt rgn point handl swtexcept error_graphic_dispos isdispos error_graphic_dispos setpt ptinrgn return code true code point insid area receiv code fals code param pt point test contain return code true code region point code fals code except illeg argument except ul li error null argument argument null li ul except swt except ul li error graphic dispos receiv dispos li ul public boolean point pt pt null swt error swt error null argument return pt pt illegalargumentexcept error_null_argument swtexcept error_graphic_dispos error_null_argument dispos oper system resourc region applic dispos region alloc public void dispos handl 0 return os dispos rgn handl handl 0 devic null disposergn compar argument receiv return true repres em em object class specif comparison param object object compar object return code true code object object code fals code hash code public boolean equal object object object return true object instanceof region return fals region region region object return handl region handl hashcod return rectangl repres rectangular union collect rectangl receiv maintain describ area return bound rectangl region except swt except ul li error graphic dispos receiv dispos li ul rectangl union public rectangl bound dispos swt error swt error graphic dispos rect bound rect os region bound handl bound int width bound bound left int height bound bottom bound top return rectangl bound left bound top width height swtexcept error_graphic_dispos getbound isdispos error_graphic_dispos getregionbound public static region carbon devic devic int handl return region devic handl carbon_new return integ hash code receiv object return code true code pass code equal code return method return receiv hash equal public int hash code return handl hashcod intersect rectangl collect rectangl receiv maintain describ area param rect rectangl intersect receiv except illeg argument except ul li error null argument argument null li li error invalid argument rectangl width height neg li ul except swt except ul li error graphic dispos receiv dispos li ul 3 0 public void intersect rectangl rect dispos swt error swt error graphic dispos rect null swt error swt error null argument rect width 0 rect height 0 swt error swt error invalid argument int rect rgn os rgn rect rect os set rect short rect short rect short rect rect width short rect rect height os rect rgn rect rgn os sect rgn handl rect rgn handl os dispos rgn rect rgn illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_graphic_dispos isdispos error_graphic_dispos error_null_argument error_invalid_argument rectrgn newrgn setrect rectrgn rectrgn sectrgn rectrgn disposergn rectrgn intersect rectangl area cover argument collect rectangl receiv maintain describ area param region region intersect except illeg argument except ul li error null argument argument null li li error invalid argument argument dispos li ul except swt except ul li error graphic dispos receiv dispos li ul 3 0 public void intersect region region dispos swt error swt error graphic dispos region null swt error swt error null argument region dispos swt error swt error invalid argument os sect rgn handl region handl handl illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_graphic_dispos isdispos error_graphic_dispos error_null_argument isdispos error_invalid_argument sectrgn return code true code rectangl argument intersect rectangl receiv mainain describ area code fals code param x coordin origin rectangl param y coordin origin rectangl param width width rectangl param height height rectangl return code true code rectangl intersect receiv code fals code except swt except ul li error graphic dispos receiv dispos li ul rectangl intersect public boolean intersect int int int width int height dispos swt error swt error graphic dispos rect rect rect os set rect rect short short short width short height return os rect rgn rect handl swtexcept error_graphic_dispos isdispos error_graphic_dispos setrect rectinrgn return code true code rectangl intersect rectangl receiv mainain describ area code fals code param rect rectangl test intersect return code true code rectangl intersect receiv code fals code except illeg argument except ul li error null argument argument null li ul except swt except ul li error graphic dispos receiv dispos li ul rectangl intersect public boolean intersect rectangl rect rect null swt error swt error null argument return intersect rect rect rect width rect height illegalargumentexcept error_null_argument swtexcept error_graphic_dispos error_null_argument return code true code region dispos code fals code method dispos region region dispos error invok method region return code true code region dispos code fals code public boolean dispos return handl 0 isdispos return code true code receiv cover area coordin plane code fals code receiv cover area plane return code true code receiv empti code fals code except swt except ul li error graphic dispos receiv dispos li ul public boolean empti dispos swt error swt error graphic dispos return os empti rgn handl swtexcept error_graphic_dispos isempti isdispos error_graphic_dispos emptyrgn subtract polygon collect rectangl receiv maintain describ area param point arrai point describ polygon merg receiv except illeg argument except ul li error null argument argument null li ul except swt except ul li error graphic dispos receiv dispos li ul 3 0 public void subtract int point arrai dispos swt error swt error graphic dispos point arrai null swt error swt error null argument point arrai length 2 return int poli rgn os rgn os open rgn os move short point arrai 0 short point arrai 1 int 1 point arrai length 2 os line short point arrai 2 short point arrai 2 1 os line short point arrai 0 short point arrai 1 os close rgn poli rgn os diff rgn handl poli rgn handl os dispos rgn poli rgn pointarrai illegalargumentexcept error_null_argument swtexcept error_graphic_dispos pointarrai isdispos error_graphic_dispos pointarrai error_null_argument pointarrai polyrgn newrgn openrgn moveto pointarrai pointarrai pointarrai lineto pointarrai pointarrai lineto pointarrai pointarrai closergn polyrgn diffrgn polyrgn disposergn polyrgn subtract rectangl collect rectangl receiv maintain describ area param rect rectangl subtract receiv except illeg argument except ul li error null argument argument null li li error invalid argument rectangl width height neg li ul except swt except ul li error graphic dispos receiv dispos li ul 3 0 public void subtract rectangl rect dispos swt error swt error graphic dispos rect null swt error swt error null argument rect width 0 rect height 0 swt error swt error invalid argument int rect rgn os rgn rect rect os set rect short rect short rect short rect rect width short rect rect height os rect rgn rect rgn os diff rgn handl rect rgn handl os dispos rgn rect rgn illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_graphic_dispos isdispos error_graphic_dispos error_null_argument error_invalid_argument rectrgn newrgn setrect rectrgn rectrgn diffrgn rectrgn disposergn rectrgn subtract rectangl area cover argument collect rectangl receiv maintain describ area param region region subtract except illeg argument except ul li error null argument argument null li li error invalid argument argument dispos li ul except swt except ul li error graphic dispos receiv dispos li ul 3 0 public void subtract region region dispos swt error swt error graphic dispos region null swt error swt error null argument region dispos swt error swt error invalid argument os diff rgn handl region handl handl illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_graphic_dispos isdispos error_graphic_dispos error_null_argument isdispos error_invalid_argument diffrgn return string concis human readabl descript receiv return string represent receiv public string string dispos return region dispos return region handl tostr isdispos void creat style font default font atsu style 0 return int buffer int 1 os atsu creat style buffer atsu style buffer 0 atsu style 0 swt error swt error handl int length 0 ptr length 0 index 0 font font null color foreground null style null font style font foreground style foreground font null font default font boolean synthes fals font null length 2 ptr length 8 short real style short 1 os fm font font famili instanc font id font style buffer real style synthes font style real style 0 synthes length 2 ptr length 8 foreground null length 1 ptr length rgb color sizeof int tag int length int size int length int valu int length int ptr os ptr ptr length ptr1 ptr font null buffer 0 font handl tag index os katsu font tag size index 4 valu index ptr1 os memcpi valu index buffer size index ptr1 size index index buffer 0 os x2 fix font size tag index os katsu size tag size index 4 valu index ptr1 os memcpi valu index buffer size index ptr1 size index index synthes byte buffer1 byte 1 buffer1 0 font style os ital 0 byte 1 0 tag index os katsuqd ital tag size index 1 valu index ptr1 os memcpi valu index buffer1 size index ptr1 size index index buffer1 0 font style os bold 0 byte 1 0 tag index os katsuqd boldfac tag size index 1 valu index ptr1 os memcpi valu index buffer1 size index ptr1 size index index foreground null rgb color rgb rgb color float color foreground handl rgb red short color 0 0xffff rgb green short color 1 0xffff rgb blue short color 2 0xffff tag index os katsu color tag size index rgb color sizeof valu index ptr1 os memcpi valu index rgb size index ptr1 size index index os atsu set attribut atsu style tag length tag size valu os dispos ptr ptr createstyl defaultfont atsustyl atsucreatestyl atsustyl atsustyl error_no_handl ptrlength defaultfont ptrlength realstyl fmgetfontfromfontfamilyinst realstyl realstyl ptrlength ptrlength rgbcolor newptr ptrlength katsufonttag x2fix katsusizetag katsuqditalictag katsuqdboldfacetag rgbcolor rgbcolor katsucolortag rgbcolor atsusetattribut atsustyl disposeptr void free style atsu style 0 return os atsu dispos style atsu style atsu style 0 freestyl atsustyl atsudisposestyl atsustyl atsustyl construct instanc class devic dispos text layout longer requir param devic devic alloc text layout except illeg argument except ul li error null argument devic null current devic li ul dispos public text layout devic devic devic null devic devic devic devic null swt error swt error null argument devic devic int buffer int 1 os atsu creat text layout buffer buffer 0 0 swt error swt error handl layout buffer 0 os atsu set highlight method layout 1 atsu unhighlight data ascent descent 1 text style style item 2 style 0 style item style 1 style item illegalargumentexcept error_null_argument textlayout getdevic error_null_argument atsucreatetextlayout error_no_handl atsusethighlightingmethod atsuunhighlightdata styleitem styleitem styleitem void check layout dispos swt error swt error graphic dispos checklayout isdispos error_graphic_dispos void comput run break null return int length text length length 0 int 0 style length 1 style item run style run creat style font int run length style 1 start run start os atsu set run style layout run atsu style run start run length int buffer int 1 ascent 1 os atsu layout control layout os katsu line ascent tag 4 buffer null int ptr os ptr 4 buffer 0 os long2 fix math max ascent os fix2 buffer 0 os memcpi ptr buffer 4 int tag int os katsu line ascent tag int size int 4 int valu int ptr os atsu set line control layout 0 tag length tag size valu os dispos ptr ptr descent 1 os atsu layout control layout os katsu line descent tag 4 buffer null int ptr os ptr 4 buffer 0 os long2 fix math max descent os fix2 buffer 0 os memcpi ptr buffer 4 int tag int os katsu line descent tag int size int 4 int valu int ptr os atsu set line control layout 0 tag length tag size valu os dispos ptr ptr os atsu layout control layout os katsu line width tag 4 buffer null int wrap width os fix2 buffer 0 int width wrap width 0 0x7fff wrap width os atsu batch break line layout 0 os katsu text end os long2 fix width buffer int count math max 0 buffer 0 break int count 1 os atsu soft line break layout 0 os katsu text end count break buffer break count length break int 1 int line count break length linex int line count line width int line count line height int line count line ascent int line count length 0 at trapezoid trapezoid at trapezoid int 0 start 0 line count int line break break int line length skip hard break line break start os atsu glyph bound layout 0 0 start line length 0 1 line length short os kat devic origin 1 trapezoid null linex os fix2 trapezoid lowerleft line ascent os fix2 trapezoid upperright line length 0 line width os fix2 trapezoid upperright os fix2 trapezoid upperleft line height os fix2 trapezoid lowerright line ascent start line break computerun styleitem createstyl runlength atsusetrunstyl atsustyl runlength atsugetlayoutcontrol katsulineascenttag newptr long2fix fix2long katsulineascenttag atsusetlinecontrol disposeptr atsugetlayoutcontrol katsulinedescenttag newptr long2fix fix2long katsulinedescenttag atsusetlinecontrol disposeptr atsugetlayoutcontrol katsulinewidthtag wrapwidth fix2long wrapwidth wrapwidth atsubatchbreaklin katsutotextend long2fix atsugetsoftlinebreak katsutotextend linecount linecount linewidth linecount lineheight linecount lineasc linecount atstrapezoid atstrapezoid linecount linebreak linelength skiphardbreak linebreak atsugetglyphbound linelength linelength katsusedeviceorigin fix2long lowerleft_x lineasc fix2long upperright_y linelength linewidth fix2long upperright_x fix2long upperleft_x lineheight fix2long lowerright_y lineasc linebreak dispos oper system resourc text layout applic dispos alloc text layout public void dispos layout 0 return free run font null text null style null layout 0 os atsu dispos text layout layout layout 0 text ptr 0 os dispos ptr text ptr text ptr 0 tab ptr 0 os dispos ptr tab ptr tab ptr 0 devic null freerun atsudisposetextlayout textptr disposeptr textptr textptr tabsptr disposeptr tabsptr tabsptr draw receiv text gc point param gc gc draw param x coordin top left corner rectangular area text drawn param y coordin top left corner rectangular area text drawn except swt except ul li error graphic dispos receiv dispos li ul public void draw gc gc int int draw gc 1 1 null null swtexcept error_graphic_dispos draw receiv text gc point param gc gc draw param x coordin top left corner rectangular area text drawn param y coordin top left corner rectangular area text drawn param select start offset select start 1 indic select param select end offset select end 1 indic select param select foreground select foreground null system default color param select background select background null system default color except swt except ul li error graphic dispos receiv dispos li ul public void draw gc gc int int int select start int select end color select foreground color select background check layout comput run gc null swt error swt error null argument gc dispos swt error swt error invalid argument select foreground null select foreground dispos swt error swt error invalid argument select background null select background dispos swt error swt error invalid argument int length text length length 0 return int buffer int 1 int ptr os ptr 4 buffer 0 gc handl os memcpi ptr buffer 4 int tag int os katsucg context tag int size int 4 int valu int ptr os atsu set layout control layout tag length tag size valu os dispos ptr ptr boolean select select start select end select start 1 select end 1 os cg context saveg gc handl featur atsu api set background attribut atsu style draw background style ourself rectangl rect null region clip null region null int 0 style length style item run style run style null run style background null continu os cg context set fill color gc handl run style background handl clip null region region clip region gc clip clip rect clip bound int start run start int end 1 style length style 1 start 1 length int 0 line start 0 linei 0 break length int line break break int line end line break 1 start line end end line start int high start math max line start start int high end math min line end end int high len skip hard break high end high start 1 high len 0 os atsu text highlight layout linex linei high start high len region handl os offset rgn region handl short 0 short linei line ascent os offset rgn region handl short short region intersect clip gc set clip region gc fill rectangl rect line end end break linei line height line start line break clip null gc set clip clip os cg context restoreg gc handl os cg context saveg gc handl clip dispos region dispos os cg context scalectm gc handl 1 1 os cg context set fill color gc handl gc data foreground int drawx os long2 fix int drawi int 0 start 0 break length int line break break int line length skip hard break line break start line length 0 int fixi draw os long2 fix drawi line ascent os atsu draw text layout start line length drawx fixi draw int end start line length 1 select select start end start select end int sel start math max select start start int sel end math min select end end os atsu highlight text layout drawx fixi draw sel start sel end sel start 1 drawi line height start line break os cg context restoreg gc handl selectionstart selectionend selectionforeground selectionbackground swtexcept error_graphic_dispos selectionstart selectionend selectionforeground selectionbackground checklayout computerun error_null_argument isdispos error_invalid_argument selectionforeground selectionforeground isdispos error_invalid_argument selectionbackground selectionbackground isdispos error_invalid_argument newptr katsucgcontexttag atsusetlayoutcontrol disposeptr hasselect selectionstart selectionend selectionstart selectionend cgcontextsavegst styleitem cgcontextsetfillcolor getclip getbound linestart linebreak lineend linebreak lineend linestart highstart linestart highend lineend highlen skiphardbreak highend highstart highlen atsugettexthighlight highstart highlen offsetrgn lineasc offsetrgn setclip fillrectangl lineend lineheight linestart linebreak setclip cgcontextrestoregst cgcontextsavegst cgcontextscalectm cgcontextsetfillcolor long2fix linebreak linelength skiphardbreak linebreak linelength fixydraw long2fix lineasc atsudrawtext linelength fixydraw linelength hasselect selectionstart selectionend selstart selectionstart selend selectionend atsuhighlighttext fixydraw selstart selend selstart lineheight linebreak cgcontextrestoregst void free run break null return int 0 style length style item run style run free style break linex line width line height line ascent null freerun styleitem freestyl linewidth lineheight lineasc return receiv horizont text align code swt left code code swt center code code swt code return align posit text horizont except swt except ul li error graphic dispos receiv dispos li ul public int align check layout int buffer int 1 os atsu layout control layout os katsu line flush factor tag 4 buffer null switch buffer 0 case os katsu center align return swt center case os katsu end align return swt return swt left swtexcept error_graphic_dispos getalign checklayout atsugetlayoutcontrol katsulineflushfactortag katsucenteralign katsuendalign return ascent receiv return ascent except swt except ul li error graphic dispos receiv dispos li ul descent set descent int set ascent int line metric int public int ascent check layout return ascent swtexcept error_graphic_dispos getdesc setdesc setasc getlinemetr getasc checklayout return bound receiv return bound receiv except swt except ul li error graphic dispos receiv dispos li ul public rectangl bound check layout comput run int width 0 height 0 int 0 break length width math max width line width height line height int buffer int 1 os atsu layout control layout os katsu line width tag 4 buffer null int wrap width os fix2 buffer 0 wrap width 0 width math max width wrap width return rectangl 0 0 width height swtexcept error_graphic_dispos getbound checklayout computerun linewidth lineheight atsugetlayoutcontrol katsulinewidthtag wrapwidth fix2long wrapwidth wrapwidth return bound rang charact bound smallest rectangl encompass charact rang start end offset inclus clamp rang param start start offset param end end offset return bound charact rang except swt except ul li error graphic dispos receiv dispos li ul public rectangl bound int start int end check layout comput run int length text length length 0 return rectangl 0 0 0 0 start end return rectangl 0 0 0 0 start math min math max 0 start length 1 end math min math max 0 end length 1 int rgn os rgn rect rect rect rect rect1 rect int 0 line start 0 linei 0 break length int line break break int line end line break 1 start line end end line start int high start math max line start start int high end math min line end end int high len skip hard break high end high start 1 high len 0 os atsu text highlight layout linex linei high start high len rgn os region bound rgn rect1 os offset rect rect1 short 0 short linei line ascent os union rect rect rect1 rect line end end break linei line height line start line break os dispos rgn rgn return rectangl rect left rect top rect rect left rect bottom rect top swtexcept error_graphic_dispos getbound checklayout computerun newrgn linestart linebreak lineend linebreak lineend linestart highstart linestart highend lineend highlen skiphardbreak highend highstart highlen atsugettexthighlight highstart highlen getregionbound offsetrect lineasc unionrect lineend lineheight linestart linebreak disposergn return descent receiv return descent except swt except ul li error graphic dispos receiv dispos li ul ascent set ascent int set descent int line metric int public int descent check layout return descent swtexcept error_graphic_dispos getasc setasc setdesc getlinemetr getdesc checklayout return default font receiv draw measur text return receiv font except swt except ul li error graphic dispos receiv dispos li ul public font font check layout return font swtexcept error_graphic_dispos getfont checklayout return embed level charact offset embed level determin direction charact bidirect text param offset charect offset return embed level except illeg argument except ul li error invalid argument charact offset rang li ul except swt except ul li error graphic dispos receiv dispos li public int level int offset check layout comput run int length text length 0 offset offset length swt error swt error invalid rang int level 0 todo return level illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos getlevel checklayout computerun error_invalid_rang return line offset arrai offset charact line length text return line offset except swt except ul li error graphic dispos receiv dispos li ul public int line offset check layout comput run int offset int break length 1 system arraycopi break 0 offset 1 break length return offset swtexcept error_graphic_dispos getlineoffset checklayout computerun return index line charact offset param offset charact offset return line index except illeg argument except ul li error invalid argument charact offset rang li ul except swt except ul li error graphic dispos receiv dispos li ul public int line index int offset check layout comput run int length text length 0 offset offset length swt error swt error invalid argument int 0 break length 1 int line break break line break offset return return break length 1 illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos getlineindex checklayout computerun error_invalid_argument linebreak linebreak return bound line line index param line index line index return line bound except illeg argument except ul li error invalid argument line index rang li ul except swt except ul li error graphic dispos receiv dispos li ul public rectangl line bound int line index check layout comput run int line count break length 0 line index line index line count swt error swt error invalid rang int linei 0 int 0 line index linei line height return rectangl linex line index linei line width line index line height line index lineindex illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos getlinebound lineindex checklayout computerun linecount lineindex lineindex linecount error_invalid_rang lineindex lineheight lineindex linewidth lineindex lineheight lineindex return receiv line count includ line caus wrap return line count except swt except ul li error graphic dispos receiv dispos li ul public int line count check layout comput run return break length swtexcept error_graphic_dispos getlinecount checklayout computerun return font metric line index param line index line index return font metric except illeg argument except ul li error invalid argument line index rang li ul except swt except ul li error graphic dispos receiv dispos li ul public font metric line metric int line index check layout comput run int line count break length 0 line index line index line count swt error swt error invalid rang int length text length length 0 font font font null font devic system font font info info font info os fetch font info font id font size font style info int ascent info ascent int descent info descent int lead info lead return font metric carbon ascent descent 0 lead ascent lead descent int start line index 0 0 break line index 1 int line length break line index start int ascent int 1 descent int 1 os atsu unjustifi bound layout start line length null null ascent descent int height os fix2 ascent 0 os fix2 descent 0 return font metric carbon os fix2 ascent 0 os fix2 descent 0 0 0 height lineindex illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos fontmetr getlinemetr lineindex checklayout computerun linecount lineindex lineindex linecount error_invalid_rang getsystemfont fontinfo fontinfo fetchfontinfo fontmetr carbon_new lineindex lineindex linelength lineindex atsugetunjustifiedbound linelength fix2long fix2long fontmetr carbon_new fix2long fix2long return locat charact offset code trail code argument offset correspond lead trail edg cluster param offset charact offset param trail trail flag return locat charact offset except swt except ul li error graphic dispos receiv dispos li ul offset point int offset int int int public point locat int offset boolean trail check layout comput run int length text length 0 offset offset length swt error swt error invalid rang length 0 return point 0 0 int linei 0 int 0 break length 1 int line break break line break offset break linei line height offset length text char offset trail offset atsu caret caret atsu caret os atsu offset posit layout offset trail caret null null return point math min os fix2 caret fx os fix2 caret deltax linei swtexcept error_graphic_dispos getoffset getoffset getloc checklayout computerun error_invalid_rang linebreak linebreak lineheight charat atsucaret atsucaret atsuoffsettoposit fix2long fix2long fdeltax return offset offset movement type movement code swt movement char code code swt movement cluster code code swt movement word code param offset start offset param movement movement type return offset except illeg argument except ul li error invalid argument offset rang li ul except swt except ul li error graphic dispos receiv dispos li ul previou offset int int public int offset int offset int movement return getoffset offset movement true movement_char movement_cluster movement_word illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos getpreviousoffset getnextoffset _getoffset int getoffset int offset int movement boolean forward check layout comput run int length text length 0 offset offset length swt error swt error invalid rang length 0 return 0 int offset int 1 int type os katsu charact switch movement case swt movement cluster type os katsu charact cluster break case swt movement word type os katsu word break forward os atsu cursor posit layout offset type offset movement swt movement word offset 0 length compat whitespac text char offset 0 offset 0 os atsu previou cursor posit layout offset type offset movement swt movement word offset 0 0 compat whitespac text char offset 0 1 offset 0 return offset 0 _getoffset checklayout computerun error_invalid_rang newoffset katsubycharact movement_cluster katsubycharacterclust movement_word katsubyword atsunextcursorposit newoffset movement_word newoffset iswhitespac charat newoffset newoffset atsupreviouscursorposit newoffset movement_word newoffset iswhitespac charat newoffset newoffset newoffset return charact offset point typic charact trail argument fill point closer lead edg 0 trail edg 1 point cluster compos multipl charact trail argument fill posit charact cluster closest point param point point param trail trail buffer return charact offset except illeg argument except ul li error invalid argument trail length code 1 code li ul except swt except ul li error graphic dispos receiv dispos li ul locat int boolean public int offset point point int trail check layout comput run point null swt error swt error null argument return offset point point trail illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos getloc getoffset checklayout computerun error_null_argument getoffset return charact offset point typic charact trail argument fill point closer lead edg 0 trail edg 1 point cluster compos multipl charact trail argument fill posit charact cluster closest point param x coordin point param y coordin point param trail trail buffer return charact offset except illeg argument except ul li error invalid argument trail length code 1 code li ul except swt except ul li error graphic dispos receiv dispos li ul locat int boolean public int offset int int int trail check layout comput run trail null trail length 1 swt error swt error invalid argument int length text length length 0 return 0 int linei 0 start 0 int 0 break length 1 int line break break int height line height linei height break linei height start line break int offset int start boolean lead boolean 1 os atsu posit offset layout os long2 fix os long2 fix linei offset lead null trail null trail 0 lead 0 0 1 lead 0 offset 0 return offset 0 illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos getloc getoffset checklayout computerun error_invalid_argument linebreak lineheight linebreak atsupositiontooffset long2fix long2fix return orient receiv return orient style except swt except ul li error graphic dispos receiv dispos li ul public int orient check layout int line dir int 1 os atsu layout control layout os katsu line direct tag 1 line dir null return line dir 0 os katsu left base direct swt left swt left swtexcept error_graphic_dispos getorient checklayout linedir atsugetlayoutcontrol katsulinedirectiontag linedir linedir katsurighttoleftbasedirect right_to_left left_to_right return previou offset offset movement type movement code swt movement char code code swt movement cluster code code swt movement word code param offset start offset param movement movement type return previou offset except illeg argument except ul li error invalid argument offset rang li ul except swt except ul li error graphic dispos receiv dispos li ul offset int int public int previou offset int index int movement return getoffset index movement fals movement_char movement_cluster movement_word illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos getnextoffset getpreviousoffset _getoffset return text segment offset receiv return text segment offset except swt except ul li error graphic dispos receiv dispos li ul public int segment check layout return segment swtexcept error_graphic_dispos getseg checklayout return line space receiv return line space except swt except ul li error graphic dispos receiv dispos li ul public int space check layout return space swtexcept error_graphic_dispos getspac checklayout style receiv charact offset param offset text offset return style code null code set except illeg argument except ul li error invalid argument charact offset rang li ul except swt except ul li error graphic dispos receiv dispos li ul public text style style int offset check layout int length text length 0 offset offset length swt error swt error invalid rang int 1 style length style item item style item start offset return style 1 style return null illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos textstyl getstyl checklayout error_invalid_rang styleitem return tab list receiv return tab list except swt except ul li error graphic dispos receiv dispos li ul public int tab check layout return tab swtexcept error_graphic_dispos gettab checklayout receiv text empti string set return receiv text except swt except ul li error graphic dispos receiv dispos li ul public string text check layout return text swtexcept error_graphic_dispos gettext checklayout return width receiv return width except swt except ul li error graphic dispos receiv dispos li ul public int width check layout int buffer int 1 os atsu layout control layout os katsu line width tag 4 buffer null int wrap width os fix2 buffer 0 return wrap width 0 1 wrap width swtexcept error_graphic_dispos getwidth checklayout atsugetlayoutcontrol katsulinewidthtag wrapwidth fix2long wrapwidth wrapwidth return code true code text layout dispos code fals code method dispos text layout text layout dispos error invok method text layout return code true code text layout dispos code fals code public boolean dispos return layout 0 isdispos set text align receiv align control line text posit horizont argument code swt left code code swt code code swt center code default align code swt left code note receiv width set order code swt code code swt center code align param align align except swt except ul li error graphic dispos receiv dispos li ul set width int public void set align int align check layout int mask swt left swt center swt align mask align 0 return align align return free run align swt left 0 align swt left align swt 0 align swt int align os katsu start align switch align case swt center align os katsu center align break case swt align os katsu end align break set layout control os katsu line flush factor tag align 4 swtexcept error_graphic_dispos setwidth setalign checklayout getalign freerun katsustartalign katsucenteralign katsuendalign setlayoutcontrol katsulineflushfactortag set ascent receiv ascent distanc pixel baselin top line appli line default code 1 code mean ascent calcul line font param ascent ascent except illeg argument except ul li error invalid argument ascent code 1 code li ul except swt except ul li error graphic dispos receiv dispos li ul set descent int line metric public void set ascent int ascent check layout ascent 1 swt error swt error invalid argument ascent ascent return free run ascent ascent illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos setdesc getlinemetr setasc checklayout error_invalid_argument freerun set descent receiv descent distanc pixel baselin bottom line appli line default code 1 code mean descent calcul line font param descent descent except illeg argument except ul li error invalid argument descent code 1 code li ul except swt except ul li error graphic dispos receiv dispos li ul set ascent int line metric public void set descent int descent check layout descent 1 swt error swt error invalid argument descent descent return free run descent descent illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos setasc getlinemetr setdesc checklayout error_invalid_argument freerun void set layout control int tag int int size int buffer int 1 int ptr1 os ptr 4 buffer 0 os memcpi ptr1 buffer 4 int tag int tag int size int size int valu int ptr1 os atsu set layout control layout tag length tag size valu os dispos ptr ptr1 setlayoutcontrol newptr atsusetlayoutcontrol disposeptr set default font receiv draw measur text argument null default font platform note text style overrid default font param font font receiv null default font except illeg argument except ul li error invalid argument font dispos li ul except swt except ul li error graphic dispos receiv dispos li ul public void set font font font check layout font null font dispos swt error swt error invalid argument font font return font null font equal font return free run font font illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos setfont checklayout isdispos error_invalid_argument freerun set orient receiv code swt left code code swt left code param orient orient style except swt except ul li error graphic dispos receiv dispos li ul public void set orient int orient check layout int mask swt left swt left orient mask orient 0 return orient swt left 0 orient swt left orient orient return free run int line dir os katsu left base direct orient swt left line dir os katsu left base direct set layout control os katsu line direct tag line dir 1 left_to_right right_to_left swtexcept error_graphic_dispos setorient checklayout right_to_left left_to_right left_to_right left_to_right getorient freerun linedir katsulefttorightbasedirect right_to_left linedir katsurighttoleftbasedirect setlayoutcontrol katsulinedirectiontag linedir set offset receiv text segment text segment overrid default behaviour bidirect algorithm bidirect reorder happen text segment adjac segment text segment determin consecut offset code segment code arrai element arrai equal length text param segment text segment offset except swt except ul li error graphic dispos receiv dispos li ul public void set segment int segment check layout segment null segment null return segment null segment null segment length segment length int i 0 segment length segment segment break segment length return free run segment segment swtexcept error_graphic_dispos setseg checklayout freerun set line space receiv line space space left line param space line space except illeg argument except ul li error invalid argument space neg li ul except swt except ul li error graphic dispos receiv dispos li ul public void set space int space check layout space 0 swt error swt error invalid argument space space return space space illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos setspac checklayout error_invalid_argument set style receiv rang style previous set rang overwritten start end offset inclus clamp rang param style style param start start offset param end end offset except swt except ul li error graphic dispos receiv dispos li ul public void set style text style style int start int end check layout int length text length length 0 return start end return start math min math max 0 start length 1 end math min math max 0 end length 1 int low 1 int high style length high low 1 int index high low 2 start style index start high index low index 0 high high style length style item item style high item start start style high 1 start 1 end style null item style null return style equal item style return free run int count 0 style item style style item style length 2 0 style length style item item style item start start break style count item style item item style item item start start item style style style count item style start end item style item item start end 1 item style style 1 style style count item style length style item item style item start end break end style start 1 style start end 1 style length style item item style item start end style count item style length count style style item count system arraycopi style 0 style 0 count style style swtexcept error_graphic_dispos setstyl textstyl checklayout styleitem freerun styleitem newstyl styleitem styleitem newstyl styleitem newitem styleitem newitem newitem newstyl newitem newitem styleitem newitem newitem newstyl newitem styleitem styleitem newstyl newstyl styleitem newstyl newstyl set receiv tab list tab list specifi space pixel origin text layout respect tab stop tab stop width repeat continu param tab tab list except swt except ul li error graphic dispos receiv dispos li ul public void set tab int tab check layout tab null tab null return tab null tab null tab length tab length int i 0 tab length tab tab break tab length return free run tab tab tab ptr 0 os dispos ptr tab ptr tab ptr 0 tab null os atsu set tab arrai layout 0 0 atsu tab tab atsu tab tab tab posit os long2 fix 0 int length math max tab count tab length int ptr tab ptr os ptr atsu tab sizeof length offset 0 offset ptr tab length offset atsu tab sizeof tab tab type short os katsu left tab tab tab posit os long2 fix tab os memcpi offset tab atsu tab sizeof int width 2 0 tab 1 tab 2 tab 1 width 0 length offset atsu tab sizeof tab tab type short os katsu left tab tab tab posit os long2 fix width os memcpi offset tab atsu tab sizeof os atsu set tab arrai layout ptr swtexcept error_graphic_dispos settab checklayout freerun tabsptr disposeptr tabsptr tabsptr atsusettabarrai atsutab atsutab tabposit long2fix tab_count tabsptr newptr atsutab atsutab tabtyp katsulefttab tabposit long2fix atsutab atsutab tabtyp katsulefttab tabposit long2fix atsutab atsusettabarrai set receiv text param text text except illeg argument except ul li error null argument text null li ul except swt except ul li error graphic dispos receiv dispos li ul public void set text string text check layout text null swt error swt error null argument text equal text return free run text text int length text length length 0 char char char length text char 0 length char 0 text ptr os ptr length 2 os memcpi text ptr char length 2 os atsu set text pointer locat layout text ptr 0 length length os atsu set transient font match layout true style style item 2 style 0 style item style 1 style item style style length 1 start text length illegalargumentexcept error_null_argument swtexcept error_graphic_dispos settext checklayout error_null_argument freerun getchar textptr newptr textptr atsusettextpointerloc textptr atsusettransientfontmatch styleitem styleitem styleitem set line width receiv determin text wrap align default code 1 code mean wrap disabl param width width except illeg argument except ul li error invalid argument width code 0 code code 1 code li ul except swt except ul li error graphic dispos receiv dispos li ul set align int public void set width int width check layout width 1 width 0 swt error swt error invalid argument width width return free run set layout control os katsu line width tag os long2 fix width 4 illegalargumentexcept error_invalid_argument swtexcept error_graphic_dispos setalign setwidth checklayout error_invalid_argument getwidth freerun setlayoutcontrol katsulinewidthtag long2fix int skip hard break int line break true return line break line break 0 char text char line break 1 switch case case break default return line break line break return line break skiphardbreak linebreak linebreak linebreak charat linebreak linebreak linebreak linebreak public static final short hit 0 nativ public static final nativ int khi view window contentid wnohit khiviewwindowcontentid nativ public static final nativ int khi view window contentid public static final nativ int kpm document formatpdf khiviewwindowcontentid kpmdocumentformatpdf public static final nativ int khi view window contentid public static final nativ int kpm document formatpdf public static final nativ int kpm graphic context core graphic khiviewwindowcontentid kpmdocumentformatpdf kpmgraphicscontextcoregraph public static final nativ int kpm document formatpdf public static final nativ int kpm graphic context core graphic public static final nativ int activ non float window kpmdocumentformatpdf kpmgraphicscontextcoregraph activenonfloatingwindow public static final nativ int kpm graphic context core graphic public static final nativ int activ non float window public static final nativ int ae count item ae desc theae desc list int count kpmgraphicscontextcoregraph activenonfloatingwindow aecountitem aedesc theaedesclist thecount public static final nativ int activ non float window public static final nativ int ae count item ae desc theae desc list int count public static final nativ int ae nth ptr ae desc theae desc list int index int desir type int theae keyword int type code int data ptr int maximum size int actual size activenonfloatingwindow aecountitem aedesc theaedesclist thecount aegetnthptr aedesc theaedesclist desiredtyp theaekeyword typecod dataptr maximums actuals public static final nativ int ae count item ae desc theae desc list int count public static final nativ int ae nth ptr ae desc theae desc list int index int desir type int theae keyword int type code int data ptr int maximum size int actual size public static final nativ int ae process appl event event record event record aecountitem aedesc theaedesclist thecount aegetnthptr aedesc theaedesclist desiredtyp theaekeyword typecod dataptr maximums actuals aeprocessappleev eventrecord theeventrecord public static final nativ int ae nth ptr ae desc theae desc list int index int desir type int theae keyword int type code int data ptr int maximum size int actual size public static final nativ int ae process appl event event record event record public static final nativ int at font post script int font int option int aegetnthptr aedesc theaedesclist desiredtyp theaekeyword typecod dataptr maximums actuals aeprocessappleev eventrecord theeventrecord atsfontgetpostscriptnam ifont ioption onam public static final nativ int ae process appl event event record event record public static final nativ int at font post script int font int option int public static final nativ int atsu batch break line int text layout int rang start int rang length int line width int break count aeprocessappleev eventrecord theeventrecord atsfontgetpostscriptnam ifont ioption onam atsubatchbreaklin itextlayout irangestart irangelength ilinewidth obreakcount public static final nativ int at font post script int font int option int public static final nativ int atsu batch break line int text layout int rang start int rang length int line width int break count public static final nativ int atsu creat style int style atsfontgetpostscriptnam ifont ioption onam atsubatchbreaklin itextlayout irangestart irangelength ilinewidth obreakcount atsucreatestyl ostyl public static final nativ int atsu batch break line int text layout int rang start int rang length int line width int break count public static final nativ int atsu creat style int style public static final nativ int atsu creat text layout int text layout atsubatchbreaklin itextlayout irangestart irangelength ilinewidth obreakcount atsucreatestyl ostyl atsucreatetextlayout otextlayout public static final nativ int atsu creat style int style public static final nativ int atsu creat text layout int text layout public static final nativ int atsu creat text layout text ptr int text int text offset int text length int text total length int number run int run length int style int text layout atsucreatestyl ostyl atsucreatetextlayout otextlayout atsucreatetextlayoutwithtextptr itext itextoffset itextlength itexttotallength inumberofrun irunlength istyl otextlayout public static final nativ int atsu creat text layout int text layout public static final nativ int atsu creat text layout text ptr int text int text offset int text length int text total length int number run int run length int style int text layout public static final nativ int atsu dispos style int style atsucreatetextlayout otextlayout atsucreatetextlayoutwithtextptr itext itextoffset itextlength itexttotallength inumberofrun irunlength istyl otextlayout atsudisposestyl istyl public static final nativ int atsu creat text layout text ptr int text int text offset int text length int text total length int number run int run length int style int text layout public static final nativ int atsu dispos style int style public static final nativ int atsu dispos text layout int text layout atsucreatetextlayoutwithtextptr itext itextoffset itextlength itexttotallength inumberofrun irunlength istyl otextlayout atsudisposestyl istyl atsudisposetextlayout itextlayout public static final nativ int atsu dispos style int style public static final nativ int atsu dispos text layout int text layout public static final nativ int atsu draw text int text layout int line offset int line length int locationx int locationi atsudisposestyl istyl atsudisposetextlayout itextlayout atsudrawtext itextlayout ilineoffset ilinelength ilocationx ilocationi public static final nativ int atsu dispos text layout int text layout public static final nativ int atsu draw text int text layout int line offset int line length int locationx int locationi public static final nativ int atsu find font int fontid int font code int font platform int font script int font languag int maximum length byte int actual length int font index atsudisposetextlayout itextlayout atsudrawtext itextlayout ilineoffset ilinelength ilocationx ilocationi atsufindfontnam ifontid ifontnamecod ifontnameplatform ifontnamescript ifontnamelanguag imaximumnamelength onam oactualnamelength ofontnameindex public static final nativ int atsu draw text int text layout int line offset int line length int locationx int locationi public static final nativ int atsu find font int fontid int font code int font platform int font script int font languag int maximum length byte int actual length int font index public static final nativ int atsu fonti ds int fonti ds int arrai size int font count atsudrawtext itextlayout ilineoffset ilinelength ilocationx ilocationi atsufindfontnam ifontid ifontnamecod ifontnameplatform ifontnamescript ifontnamelanguag imaximumnamelength onam oactualnamelength ofontnameindex atsugetfontid ofontid iarrays ofontcount public static final nativ int atsu find font int fontid int font code int font platform int font script int font languag int maximum length byte int actual length int font index public static final nativ int atsu fonti ds int fonti ds int arrai size int font count public static final nativ int atsu glyph bound int text layout int text base pointx int text base pointi int bound char start int bound char length short type bound int max number bound int glyph bound int actual number bound atsufindfontnam ifontid ifontnamecod ifontnameplatform ifontnamescript ifontnamelanguag imaximumnamelength onam oactualnamelength ofontnameindex atsugetfontid ofontid iarrays ofontcount atsugetglyphbound itextlayout itextbasepointx itextbasepointi iboundscharstart iboundscharlength itypeofbound imaxnumberofbound oglyphbound oactualnumberofbound public static final nativ int atsu fonti ds int fonti ds int arrai size int font count public static final nativ int atsu glyph bound int text layout int text base pointx int text base pointi int bound char start int bound char length short type bound int max number bound int glyph bound int actual number bound public static final nativ int atsu glyph bound int text layout int text base pointx int text base pointi int bound char start int bound char length short type bound int max number bound at trapezoid glyph bound int actual number bound atsugetfontid ofontid iarrays ofontcount atsugetglyphbound itextlayout itextbasepointx itextbasepointi iboundscharstart iboundscharlength itypeofbound imaxnumberofbound oglyphbound oactualnumberofbound atsugetglyphbound itextlayout itextbasepointx itextbasepointi iboundscharstart iboundscharlength itypeofbound imaxnumberofbound atstrapezoid oglyphbound oactualnumberofbound public static final nativ int atsu glyph bound int text layout int text base pointx int text base pointi int bound char start int bound char length short type bound int max number bound int glyph bound int actual number bound public static final nativ int atsu glyph bound int text layout int text base pointx int text base pointi int bound char start int bound char length short type bound int max number bound at trapezoid glyph bound int actual number bound public static final nativ int atsu layout control int text layout int tag int expect size int int actual size atsugetglyphbound itextlayout itextbasepointx itextbasepointi iboundscharstart iboundscharlength itypeofbound imaxnumberofbound oglyphbound oactualnumberofbound atsugetglyphbound itextlayout itextbasepointx itextbasepointi iboundscharstart iboundscharlength itypeofbound imaxnumberofbound atstrapezoid oglyphbound oactualnumberofbound atsugetlayoutcontrol itextlayout itag iexpectedvalues ovalu oactualvalues public static final nativ int atsu glyph bound int text layout int text base pointx int text base pointi int bound char start int bound char length short type bound int max number bound at trapezoid glyph bound int actual number bound public static final nativ int atsu layout control int text layout int tag int expect size int int actual size public static final nativ int atsu line control int text layout int line start int tag int expect size int int actual size atsugetglyphbound itextlayout itextbasepointx itextbasepointi iboundscharstart iboundscharlength itypeofbound imaxnumberofbound atstrapezoid oglyphbound oactualnumberofbound atsugetlayoutcontrol itextlayout itag iexpectedvalues ovalu oactualvalues atsugetlinecontrol itextlayout ilinestart itag iexpectedvalues ovalu oactualvalues public static final nativ int atsu layout control int text layout int tag int expect size int int actual size public static final nativ int atsu line control int text layout int line start int tag int expect size int int actual size public static final nativ int atsu soft line break int text layout int rang start int rang length int maximum break int break int break count atsugetlayoutcontrol itextlayout itag iexpectedvalues ovalu oactualvalues atsugetlinecontrol itextlayout ilinestart itag iexpectedvalues ovalu oactualvalues atsugetsoftlinebreak itextlayout irangestart irangelength imaximumbreak obreak obreakcount public static final nativ int atsu line control int text layout int line start int tag int expect size int int actual size public static final nativ int atsu soft line break int text layout int rang start int rang length int maximum break int break int break count public static final nativ int atsu text highlight int text layout int text base pointx int text base pointi int highlight start int highlight length int highlight region atsugetlinecontrol itextlayout ilinestart itag iexpectedvalues ovalu oactualvalues atsugetsoftlinebreak itextlayout irangestart irangelength imaximumbreak obreak obreakcount atsugettexthighlight itextlayout itextbasepointx itextbasepointi ihighlightstart ihighlightlength ohighlightregion public static final nativ int atsu soft line break int text layout int rang start int rang length int maximum break int break int break count public static final nativ int atsu text highlight int text layout int text base pointx int text base pointi int highlight start int highlight length int highlight region public static final nativ int atsu unjustifi bound int text layout int line start int line length int text int text int ascent int descent atsugetsoftlinebreak itextlayout irangestart irangelength imaximumbreak obreak obreakcount atsugettexthighlight itextlayout itextbasepointx itextbasepointi ihighlightstart ihighlightlength ohighlightregion atsugetunjustifiedbound itextlayout ilinestart ilinelength otextbefor otextaft oascent odesc public static final nativ int atsu text highlight int text layout int text base pointx int text base pointi int highlight start int highlight length int highlight region public static final nativ int atsu unjustifi bound int text layout int line start int line length int text int text int ascent int descent public static final nativ int atsu highlight text int text layout int text base pointx int text base pointi int highlight start int highlight length atsugettexthighlight itextlayout itextbasepointx itextbasepointi ihighlightstart ihighlightlength ohighlightregion atsugetunjustifiedbound itextlayout ilinestart ilinelength otextbefor otextaft oascent odesc atsuhighlighttext itextlayout itextbasepointx itextbasepointi ihighlightstart ihighlightlength public static final nativ int atsu unjustifi bound int text layout int line start int line length int text int text int ascent int descent public static final nativ int atsu highlight text int text layout int text base pointx int text base pointi int highlight start int highlight length public static final nativ int atsu cursor posit int text layout int offset int movement type int offset atsugetunjustifiedbound itextlayout ilinestart ilinelength otextbefor otextaft oascent odesc atsuhighlighttext itextlayout itextbasepointx itextbasepointi ihighlightstart ihighlightlength atsunextcursorposit itextlayout ioldoffset imovementtyp onewoffset public static final nativ int atsu highlight text int text layout int text base pointx int text base pointi int highlight start int highlight length public static final nativ int atsu cursor posit int text layout int offset int movement type int offset public static final nativ int atsu offset posit int text layout int offset boolean lead atsu caret main caret atsu caret caret boolean caret split atsuhighlighttext itextlayout itextbasepointx itextbasepointi ihighlightstart ihighlightlength atsunextcursorposit itextlayout ioldoffset imovementtyp onewoffset atsuoffsettoposit itextlayout ioffset iislead atsucaret omaincaret atsucaret osecondcaret ocaretissplit public static final nativ int atsu cursor posit int text layout int offset int movement type int offset public static final nativ int atsu offset posit int text layout int offset boolean lead atsu caret main caret atsu caret caret boolean caret split public static final nativ int atsu posit offset int text layout int locationx int locationi int io primari offset boolean lead int secondari offset atsunextcursorposit itextlayout ioldoffset imovementtyp onewoffset atsuoffsettoposit itextlayout ioffset iislead atsucaret omaincaret atsucaret osecondcaret ocaretissplit atsupositiontooffset itextlayout ilocationx ilocationi ioprimaryoffset oislead osecondaryoffset public static final nativ int atsu offset posit int text layout int offset boolean lead atsu caret main caret atsu caret caret boolean caret split public static final nativ int atsu posit offset int text layout int locationx int locationi int io primari offset boolean lead int secondari offset public static final nativ int atsu previou cursor posit int text layout int offset int movement type int offset atsuoffsettoposit itextlayout ioffset iislead atsucaret omaincaret atsucaret osecondcaret ocaretissplit atsupositiontooffset itextlayout ilocationx ilocationi ioprimaryoffset oislead osecondaryoffset atsupreviouscursorposit itextlayout ioldoffset imovementtyp onewoffset public static final nativ int atsu posit offset int text layout int locationx int locationi int io primari offset boolean lead int secondari offset public static final nativ int atsu previou cursor posit int text layout int offset int movement type int offset public static final nativ int atsu set attribut int style int attribut count int tag int size int atsupositiontooffset itextlayout ilocationx ilocationi ioprimaryoffset oislead osecondaryoffset atsupreviouscursorposit itextlayout ioldoffset imovementtyp onewoffset atsusetattribut istyl iattributecount itag ivalues ivalu public static final nativ int atsu previou cursor posit int text layout int offset int movement type int offset public static final nativ int atsu set attribut int style int attribut count int tag int size int public static final nativ int atsu set font featur int style int featur count short type short selector atsupreviouscursorposit itextlayout ioldoffset imovementtyp onewoffset atsusetattribut istyl iattributecount itag ivalues ivalu atsusetfontfeatur istyl ifeaturecount ityp iselector public static final nativ int atsu set attribut int style int attribut count int tag int size int public static final nativ int atsu set font featur int style int featur count short type short selector public static final nativ int atsu set highlight method int text layout int method atsu unhighlight data unhighlight data atsusetattribut istyl iattributecount itag ivalues ivalu atsusetfontfeatur istyl ifeaturecount ityp iselector atsusethighlightingmethod itextlayout imethod atsuunhighlightdata iunhighlightdata public static final nativ int atsu set font featur int style int featur count short type short selector public static final nativ int atsu set highlight method int text layout int method atsu unhighlight data unhighlight data public static final nativ int atsu set layout control int text layout int attribut count int tag int size int atsusetfontfeatur istyl ifeaturecount ityp iselector atsusethighlightingmethod itextlayout imethod atsuunhighlightdata iunhighlightdata atsusetlayoutcontrol itextlayout iattributecount itag ivalues ivalu public static final nativ int atsu set highlight method int text layout int method atsu unhighlight data unhighlight data public static final nativ int atsu set layout control int text layout int attribut count int tag int size int public static final nativ int atsu set line control int text layout int line start int attribut count int tag int size int atsusethighlightingmethod itextlayout imethod atsuunhighlightdata iunhighlightdata atsusetlayoutcontrol itextlayout iattributecount itag ivalues ivalu atsusetlinecontrol itextlayout ilinestart iattributecount itag ivalues ivalu public static final nativ int atsu set layout control int text layout int attribut count int tag int size int public static final nativ int atsu set line control int text layout int line start int attribut count int tag int size int public static final nativ int atsu set run style int text layout int style int run start int run length atsusetlayoutcontrol itextlayout iattributecount itag ivalues ivalu atsusetlinecontrol itextlayout ilinestart iattributecount itag ivalues ivalu atsusetrunstyl itextlayout istyl irunstart irunlength public static final nativ int atsu set line control int text layout int line start int attribut count int tag int size int public static final nativ int atsu set run style int text layout int style int run start int run length public static final nativ int atsu set soft line break int text layout int line break atsusetlinecontrol itextlayout ilinestart iattributecount itag ivalues ivalu atsusetrunstyl itextlayout istyl irunstart irunlength atsusetsoftlinebreak itextlayout ilinebreak public static final nativ int atsu set run style int text layout int style int run start int run length public static final nativ int atsu set soft line break int text layout int line break public static final nativ int atsu set tab arrai int text layout int tab int tab count atsusetrunstyl itextlayout istyl irunstart irunlength atsusetsoftlinebreak itextlayout ilinebreak atsusettabarrai itextlayout itab itabcount public static final nativ int atsu set soft line break int text layout int line break public static final nativ int atsu set tab arrai int text layout int tab int tab count public static final nativ int atsu set text pointer locat int text layout int text int text offset int text length int text total length atsusetsoftlinebreak itextlayout ilinebreak atsusettabarrai itextlayout itab itabcount atsusettextpointerloc itextlayout itext itextoffset itextlength itexttotallength public static final nativ int atsu set tab arrai int text layout int tab int tab count public static final nativ int atsu set text pointer locat int text layout int text int text offset int text length int text total length public static final nativ int atsu set transient font match int text layout boolean transient font match atsusettabarrai itextlayout itab itabcount atsusettextpointerloc itextlayout itext itextoffset itextlength itexttotallength atsusettransientfontmatch itextlayout itransientfontmatch public static final nativ int atsu set text pointer locat int text layout int text int text offset int text length int text total length public static final nativ int atsu set transient font match int text layout boolean transient font match public static final nativ int atsu text insert int text layout int insert locat int insert length atsusettextpointerloc itextlayout itext itextoffset itextlength itexttotallength atsusettransientfontmatch itextlayout itransientfontmatch atsutextinsert itextlayout iinsertionloc iinsertionlength public static final nativ int atsu set transient font match int text layout boolean transient font match public static final nativ int atsu text insert int text layout int insert locat int insert length public static final nativ int atsu text delet int text layout int insert locat int insert length atsusettransientfontmatch itextlayout itransientfontmatch atsutextinsert itextlayout iinsertionloc iinsertionlength atsutextdelet itextlayout iinsertionloc iinsertionlength public static final nativ int atsu text insert int text layout int insert locat int insert length public static final nativ int atsu text delet int text layout int insert locat int insert length public static final nativ int add data browser item int handl int containerid int num item int itemi ds int pre sort properti atsutextinsert itextlayout iinsertionloc iinsertionlength atsutextdelet itextlayout iinsertionloc iinsertionlength adddatabrowseritem chandl numitem itemid presortproperti public static final nativ int atsu text delet int text layout int insert locat int insert length public static final nativ int add data browser item int handl int containerid int num item int itemi ds int pre sort properti public static final nativ int add data browser list view column int browser data browser list view column desc column desc int posit atsutextdelet itextlayout iinsertionloc iinsertionlength adddatabrowseritem chandl numitem itemid presortproperti adddatabrowserlistviewcolumn databrowserlistviewcolumndesc columndesc public static final nativ int add data browser item int handl int containerid int num item int itemi ds int pre sort properti public static final nativ int add data browser list view column int browser data browser list view column desc column desc int posit public static final nativ int add drag item flavor int drag int item ref int type byte data ptr int data size int flag adddatabrowseritem chandl numitem itemid presortproperti adddatabrowserlistviewcolumn databrowserlistviewcolumndesc columndesc adddragitemflavor thedrag theitemref thetyp dataptr datas theflag public static final nativ int add data browser list view column int browser data browser list view column desc column desc int posit public static final nativ int add drag item flavor int drag int item ref int type byte data ptr int data size int flag public static final nativ int append menu item text withcf string int handl int handl int attribut int commandid short item index adddatabrowserlistviewcolumn databrowserlistviewcolumndesc columndesc adddragitemflavor thedrag theitemref thetyp dataptr datas theflag appendmenuitemtextwithcfstr mhandl shandl outitemindex public static final nativ int add drag item flavor int drag int item ref int type byte data ptr int data size int flag public static final nativ int append menu item text withcf string int handl int handl int attribut int commandid short item index public static final nativ int auto size data browser list view column int handl adddragitemflavor thedrag theitemref thetyp dataptr datas theflag appendmenuitemtextwithcfstr mhandl shandl outitemindex autosizedatabrowserlistviewcolumn chandl public static final nativ int append menu item text withcf string int handl int handl int attribut int commandid short item index public static final nativ int auto size data browser list view column int handl public static final nativ void begin updat int handl appendmenuitemtextwithcfstr mhandl shandl outitemindex autosizedatabrowserlistviewcolumn chandl beginupd whandl public static final nativ int auto size data browser list view column int handl public static final nativ void begin updat int handl public static final nativ void bring front int handl autosizedatabrowserlistviewcolumn chandl beginupd whandl bringtofront whandl public static final nativ void begin updat int handl public static final nativ void bring front int handl public static final nativ void cf releas int handl beginupd whandl bringtofront whandl cfreleas shandl public static final nativ void bring front int handl public static final nativ void cf releas int handl public static final nativ void cf arrai append int arrai int bringtofront whandl cfreleas shandl cfarrayappendvalu thearrai public static final nativ void cf releas int handl public static final nativ void cf arrai append int arrai int public static final nativ int cf arrai creat mutabl int alloc int capac int call back cfreleas shandl cfarrayappendvalu thearrai cfarraycreatemut callback public static final nativ void cf arrai append int arrai int public static final nativ int cf arrai creat mutabl int alloc int capac int call back public static final nativ int cf arrai count int arrai cfarrayappendvalu thearrai cfarraycreatemut callback cfarraygetcount thearrai public static final nativ int cf arrai creat mutabl int alloc int capac int call back public static final nativ int cf arrai count int arrai public static final nativ int cf arrai index int arrai int idx cfarraycreatemut callback cfarraygetcount thearrai cfarraygetvalueatindex thearrai public static final nativ int cf arrai count int arrai public static final nativ int cf arrai index int arrai int idx public static final nativ int cf string creat byte int alloc byte byte int num byte int encod boolean extern represent cfarraygetcount thearrai cfarraygetvalueatindex thearrai cfstringcreatewithbyt numbyt isexternalrepresent public static final nativ int cf arrai index int arrai int idx public static final nativ int cf string creat byte int alloc byte byte int num byte int encod boolean extern represent public static final nativ int cf string creat charact int alloc char char int num char cfarraygetvalueatindex thearrai cfstringcreatewithbyt numbyt isexternalrepresent cfstringcreatewithcharact numchar public static final nativ int cf string creat byte int alloc byte byte int num byte int encod boolean extern represent public static final nativ int cf string creat charact int alloc char char int num char public static final nativ int cf string byte int string cf rang rang int encod byte loss byte boolean extern represent byte buffer int max buf len int buf len cfstringcreatewithbyt numbyt isexternalrepresent cfstringcreatewithcharact numchar cfstringgetbyt thestr cfrang lossbyt isexternalrepresent maxbuflen usedbuflen public static final nativ int cf string creat charact int alloc char char int num char public static final nativ int cf string byte int string cf rang rang int encod byte loss byte boolean extern represent byte buffer int max buf len int buf len public static final nativ void cf string charact int string cf rang rang char buffer cfstringcreatewithcharact numchar cfstringgetbyt thestr cfrang lossbyt isexternalrepresent maxbuflen usedbuflen cfstringgetcharact thestr cfrang public static final nativ int cf string byte int string cf rang rang int encod byte loss byte boolean extern represent byte buffer int max buf len int buf len public static final nativ void cf string charact int string cf rang rang char buffer public static final nativ int cf string length int string cfstringgetbyt thestr cfrang lossbyt isexternalrepresent maxbuflen usedbuflen cfstringgetcharact thestr cfrang cfstringgetlength thestr public static final nativ void cf string charact int string cf rang rang char buffer public static final nativ int cf string length int string public static final nativ int cf string system encod cfstringgetcharact thestr cfrang cfstringgetlength thestr cfstringgetsystemencod public static final nativ int cf string length int string public static final nativ int cf string system encod public static final nativ int cfurl copi file system path int anurl int path style cfstringgetlength thestr cfstringgetsystemencod cfurlcopyfilesystempath pathstyl public static final nativ int cf string system encod public static final nativ int cfurl copi file system path int anurl int path style public static final nativ int cfurl copi path compon int url cfstringgetsystemencod cfurlcopyfilesystempath pathstyl cfurlcopylastpathcompon public static final nativ int cfurl copi file system path int anurl int path style public static final nativ int cfurl copi path compon int url public static final nativ int cfurl creat copi append path compon int alloc int url int path compon boolean directori cfurlcopyfilesystempath pathstyl cfurlcopylastpathcompon cfurlcreatecopyappendingpathcompon pathcompon isdirectori public static final nativ int cfurl copi path compon int url public static final nativ int cfurl creat copi append path compon int alloc int url int path compon boolean directori public static final nativ int cfurl creat copi delet path compon int alloc int url cfurlcopylastpathcompon cfurlcreatecopyappendingpathcompon pathcompon isdirectori cfurlcreatecopydeletinglastpathcompon public static final nativ int cfurl creat copi append path compon int alloc int url int path compon boolean directori public static final nativ int cfurl creat copi delet path compon int alloc int url public static final nativ int cfurl creat fromf ref int alloc byte fs ref cfurlcreatecopyappendingpathcompon pathcompon isdirectori cfurlcreatecopydeletinglastpathcompon cfurlcreatefromfsref fsref public static final nativ int cfurl creat copi delet path compon int alloc int url public static final nativ int cfurl creat fromf ref int alloc byte fs ref public static final nativ int cfurl creat file system path int alloc int file path int path style boolean directori cfurlcreatecopydeletinglastpathcompon cfurlcreatefromfsref fsref cfurlcreatewithfilesystempath filepath pathstyl isdirectori public static final nativ int cfurl creat fromf ref int alloc byte fs ref public static final nativ int cfurl creat file system path int alloc int file path int path style boolean directori public static final nativ boolean cfurl getf ref int url byte fs ref cfurlcreatefromfsref fsref cfurlcreatewithfilesystempath filepath pathstyl isdirectori cfurlgetfsref fsref public static final nativ int cfurl creat file system path int alloc int file path int path style boolean directori public static final nativ boolean cfurl getf ref int url byte fs ref public static final nativ void cg context scalectm int context float sx float sy cfurlcreatewithfilesystempath filepath pathstyl isdirectori cfurlgetfsref fsref cgcontextscalectm incontext public static final nativ boolean cfurl getf ref int url byte fs ref public static final nativ void cg context scalectm int context float sx float sy public static final nativ void cg context translatectm int context float tx float ty cfurlgetfsref fsref cgcontextscalectm incontext cgcontexttranslatectm incontext public static final nativ void cg context scalectm int context float sx float sy public static final nativ void cg context translatectm int context float tx float ty public static final nativ int cg bitmap context creat int data int width int height int bit compon int byte row int colorspac int alpha info cgcontextscalectm incontext cgcontexttranslatectm incontext cgbitmapcontextcr bitspercompon bytesperrow alphainfo public static final nativ void cg context translatectm int context float tx float ty public static final nativ int cg bitmap context creat int data int width int height int bit compon int byte row int colorspac int alpha info public static final nativ int cg color space creat devicergb cgcontexttranslatectm incontext cgbitmapcontextcr bitspercompon bytesperrow alphainfo cgcolorspacecreatedevicergb public static final nativ int cg bitmap context creat int data int width int height int bit compon int byte row int colorspac int alpha info public static final nativ int cg color space creat devicergb public static final nativ void cg color space releas int cs cgbitmapcontextcr bitspercompon bytesperrow alphainfo cgcolorspacecreatedevicergb cgcolorspacereleas public static final nativ int cg color space creat devicergb public static final nativ void cg color space releas int cs public static final nativ void cg context add arc int ctx float float float radiu float start angl float end angl boolean clockwis cgcolorspacecreatedevicergb cgcolorspacereleas cgcontextaddarc startangl endangl public static final nativ void cg color space releas int cs public static final nativ void cg context add arc int ctx float float float radiu float start angl float end angl boolean clockwis public static final nativ void cg context add arc point int ctx float x1 float y1 float x2 float y2 float radiu cgcolorspacereleas cgcontextaddarc startangl endangl cgcontextaddarctopoint public static final nativ void cg context add arc int ctx float float float radiu float start angl float end angl boolean clockwis public static final nativ void cg context add arc point int ctx float x1 float y1 float x2 float y2 float radiu public static final nativ void cg context add line point int ctx float float cgcontextaddarc startangl endangl cgcontextaddarctopoint cgcontextaddlinetopoint public static final nativ void cg context add arc point int ctx float x1 float y1 float x2 float y2 float radiu public static final nativ void cg context add line point int ctx float float public static final nativ void cg context add line int ctx float point int count cgcontextaddarctopoint cgcontextaddlinetopoint cgcontextaddlin public static final nativ void cg context add line point int ctx float float public static final nativ void cg context add line int ctx float point int count public static final nativ void cg context begin path int ctx cgcontextaddlinetopoint cgcontextaddlin cgcontextbeginpath public static final nativ void cg context add line int ctx float point int count public static final nativ void cg context begin path int ctx public static final nativ void cg context clip int ctx cgcontextaddlin cgcontextbeginpath cgcontextclip public static final nativ void cg context begin path int ctx public static final nativ void cg context clip int ctx public static final nativ void cg context clear rect int ctx cg rect rect cgcontextbeginpath cgcontextclip cgcontextclearrect cgrect public static final nativ void cg context clip int ctx public static final nativ void cg context clear rect int ctx cg rect rect public static final nativ void cg context close path int ctx cgcontextclip cgcontextclearrect cgrect cgcontextclosepath public static final nativ void cg context clear rect int ctx cg rect rect public static final nativ void cg context close path int ctx public static final nativ void cg context draw imag int ctx cg rect rect int imag cgcontextclearrect cgrect cgcontextclosepath cgcontextdrawimag cgrect public static final nativ void cg context close path int ctx public static final nativ void cg context draw imag int ctx cg rect rect int imag public static final nativ void cg context fill path int ctx cgcontextclosepath cgcontextdrawimag cgrect cgcontextfillpath public static final nativ void cg context draw imag int ctx cg rect rect int imag public static final nativ void cg context fill path int ctx public static final nativ void cg contexteo fill path int ctx cgcontextdrawimag cgrect cgcontextfillpath cgcontexteofillpath public static final nativ void cg context fill path int ctx public static final nativ void cg contexteo fill path int ctx public static final nativ void cg context stroke rect int ctx cg rect rect cgcontextfillpath cgcontexteofillpath cgcontextstrokerect cgrect public static final nativ void cg contexteo fill path int ctx public static final nativ void cg context stroke rect int ctx cg rect rect public static final nativ void cg context fill rect int ctx cg rect rect cgcontexteofillpath cgcontextstrokerect cgrect cgcontextfillrect cgrect public static final nativ void cg context stroke rect int ctx cg rect rect public static final nativ void cg context fill rect int ctx cg rect rect public static final nativ void cg context flush int ctx cgcontextstrokerect cgrect cgcontextfillrect cgrect cgcontextflush public static final nativ void cg context fill rect int ctx cg rect rect public static final nativ void cg context flush int ctx public static final nativ void cg context text posit int ctx cg point point cgcontextfillrect cgrect cgcontextflush cgcontextgettextposit cgpoint public static final nativ void cg context flush int ctx public static final nativ void cg context text posit int ctx cg point point public static final nativ void cg context move point int ctx float float cgcontextflush cgcontextgettextposit cgpoint cgcontextmovetopoint public static final nativ void cg context text posit int ctx cg point point public static final nativ void cg context move point int ctx float float public static final nativ void cg context releas int ctx cgcontextgettextposit cgpoint cgcontextmovetopoint cgcontextreleas public static final nativ void cg context move point int ctx float float public static final nativ void cg context releas int ctx public static final nativ void cg context restoreg int ctx cgcontextmovetopoint cgcontextreleas cgcontextrestoregst public static final nativ void cg context releas int ctx public static final nativ void cg context restoreg int ctx public static final nativ void cg context saveg int ctx cgcontextreleas cgcontextrestoregst cgcontextsavegst public static final nativ void cg context restoreg int ctx public static final nativ void cg context saveg int ctx public static final nativ void cg context select font int ctx byte float size int text encod cgcontextrestoregst cgcontextsavegst cgcontextselectfont textencod public static final nativ void cg context saveg int ctx public static final nativ void cg context select font int ctx byte float size int text encod public static final nativ void cg context set fill color space int ctx int colorspac cgcontextsavegst cgcontextselectfont textencod cgcontextsetfillcolorspac public static final nativ void cg context select font int ctx byte float size int text encod public static final nativ void cg context set fill color space int ctx int colorspac public static final nativ void cg context set fill color int ctx float cgcontextselectfont textencod cgcontextsetfillcolorspac cgcontextsetfillcolor public static final nativ void cg context set fill color space int ctx int colorspac public static final nativ void cg context set fill color int ctx float public static final nativ void cg context set font int ctx int font cgcontextsetfillcolorspac cgcontextsetfillcolor cgcontextsetfont public static final nativ void cg context set fill color int ctx float public static final nativ void cg context set font int ctx int font public static final nativ void cg context set font size int ctx float size cgcontextsetfillcolor cgcontextsetfont cgcontextsetfonts public static final nativ void cg context set font int ctx int font public static final nativ void cg context set font size int ctx float size public static final nativ void cg context set line cap int context int cap cgcontextsetfont cgcontextsetfonts cgcontextsetlinecap public static final nativ void cg context set font size int ctx float size public static final nativ void cg context set line cap int context int cap public static final nativ void cg context set line dash int ctx float phase float length int count cgcontextsetfonts cgcontextsetlinecap cgcontextsetlinedash public static final nativ void cg context set line cap int context int cap public static final nativ void cg context set line dash int ctx float phase float length int count public static final nativ void cg context set line width int ctx float width cgcontextsetlinecap cgcontextsetlinedash cgcontextsetlinewidth public static final nativ void cg context set line dash int ctx float phase float length int count public static final nativ void cg context set line width int ctx float width public static final nativ void cg context set antialia int ctx boolean antialia cgcontextsetlinedash cgcontextsetlinewidth cgcontextsetshouldantialia shouldantialia public static final nativ void cg context set line width int ctx float width public static final nativ void cg context set antialia int ctx boolean antialia public static final nativ void cg context set smooth font int ctx boolean smooth cgcontextsetlinewidth cgcontextsetshouldantialia shouldantialia cgcontextsetshouldsmoothfont shouldsmooth public static final nativ void cg context set antialia int ctx boolean antialia public static final nativ void cg context set smooth font int ctx boolean smooth public static final nativ void cg context set stroke color space int ctx int colorspac cgcontextsetshouldantialia shouldantialia cgcontextsetshouldsmoothfont shouldsmooth cgcontextsetstrokecolorspac public static final nativ void cg context set smooth font int ctx boolean smooth public static final nativ void cg context set stroke color space int ctx int colorspac public static final nativ void cg context set stroke color int ctx float cgcontextsetshouldsmoothfont shouldsmooth cgcontextsetstrokecolorspac cgcontextsetstrokecolor public static final nativ void cg context set stroke color space int ctx int colorspac public static final nativ void cg context set stroke color int ctx float public static final nativ void cg context setrgb fill color int ctx float float float float alpha cgcontextsetstrokecolorspac cgcontextsetstrokecolor cgcontextsetrgbfillcolor public static final nativ void cg context set stroke color int ctx float public static final nativ void cg context setrgb fill color int ctx float float float float alpha public static final nativ void cg context setrgb stroke color int ctx float float float float alpha cgcontextsetstrokecolor cgcontextsetrgbfillcolor cgcontextsetrgbstrokecolor public static final nativ void cg context setrgb fill color int ctx float float float float alpha public static final nativ void cg context setrgb stroke color int ctx float float float float alpha public static final nativ void cg context set text draw mode int ctx int mode cgcontextsetrgbfillcolor cgcontextsetrgbstrokecolor cgcontextsettextdrawingmod public static final nativ void cg context setrgb stroke color int ctx float float float float alpha public static final nativ void cg context set text draw mode int ctx int mode public static final nativ void cg context set text posit int ctx float float cgcontextsetrgbstrokecolor cgcontextsettextdrawingmod cgcontextsettextposit public static final nativ void cg context set text draw mode int ctx int mode public static final nativ void cg context set text posit int ctx float float public static final nativ void cg context show text int ctx byte cstring int length cgcontextsettextdrawingmod cgcontextsettextposit cgcontextshowtext public static final nativ void cg context set text posit int ctx float float public static final nativ void cg context show text int ctx byte cstring int length public static final nativ void cg context show text point int ctx float float byte cstring int length cgcontextsettextposit cgcontextshowtext cgcontextshowtextatpoint public static final nativ void cg context show text int ctx byte cstring int length public static final nativ void cg context show text point int ctx float float byte cstring int length public static final nativ void cg context set text matrix int ctx float transform cgcontextshowtext cgcontextshowtextatpoint cgcontextsettextmatrix public static final nativ void cg context show text point int ctx float float byte cstring int length public static final nativ void cg context set text matrix int ctx float transform public static final nativ void cg context stroke path int ctx cgcontextshowtextatpoint cgcontextsettextmatrix cgcontextstrokepath public static final nativ void cg context set text matrix int ctx float transform public static final nativ void cg context stroke path int ctx public static final nativ void cg context synchron int ctx cgcontextsettextmatrix cgcontextstrokepath cgcontextsynchron public static final nativ void cg context stroke path int ctx public static final nativ void cg context synchron int ctx public static final nativ int cg data provid creat data int info int data int size int releas data cgcontextstrokepath cgcontextsynchron cgdataprovidercreatewithdata releasedata public static final nativ void cg context synchron int ctx public static final nativ int cg data provid creat data int info int data int size int releas data public static final nativ void cg data provid releas int provid cgcontextsynchron cgdataprovidercreatewithdata releasedata cgdataproviderreleas public static final nativ int cg data provid creat data int info int data int size int releas data public static final nativ void cg data provid releas int provid public static final nativ int cg displai base address int displai cgdataprovidercreatewithdata releasedata cgdataproviderreleas cgdisplaybaseaddress public static final nativ void cg data provid releas int provid public static final nativ int cg displai base address int displai public static final nativ int cg displai bit pixel int displai cgdataproviderreleas cgdisplaybaseaddress cgdisplaybitsperpixel public static final nativ int cg displai base address int displai public static final nativ int cg displai bit pixel int displai public static final nativ int cg displai bit sampl int displai cgdisplaybaseaddress cgdisplaybitsperpixel cgdisplaybitspersampl public static final nativ int cg displai bit pixel int displai public static final nativ int cg displai bit sampl int displai public static final nativ int cg displai byte row int displai cgdisplaybitsperpixel cgdisplaybitspersampl cgdisplaybytesperrow public static final nativ int cg displai bit sampl int displai public static final nativ int cg displai byte row int displai public static final nativ int cg displai pixel high int displai cgdisplaybitspersampl cgdisplaybytesperrow cgdisplaypixelshigh public static final nativ int cg displai byte row int displai public static final nativ int cg displai pixel high int displai public static final nativ int cg displai pixel wide int displai cgdisplaybytesperrow cgdisplaypixelshigh cgdisplaypixelswid public static final nativ int cg displai pixel high int displai public static final nativ int cg displai pixel wide int displai public static final nativ int cg font creat platform font int platform font refer cgdisplaypixelshigh cgdisplaypixelswid cgfontcreatewithplatformfont platformfontrefer public static final nativ int cg displai pixel wide int displai public static final nativ int cg font creat platform font int platform font refer public static final nativ void cg font releas int font cgdisplaypixelswid cgfontcreatewithplatformfont platformfontrefer cgfontreleas public static final nativ int cg font creat platform font int platform font refer public static final nativ void cg font releas int font public static final nativ int cg displai rect cg rect rect int max displai int dspy int dspy cnt cgfontcreatewithplatformfont platformfontrefer cgfontreleas cggetdisplayswithrect cgrect maxdisplai dspycnt public static final nativ void cg font releas int font public static final nativ int cg displai rect cg rect rect int max displai int dspy int dspy cnt public static final nativ int cg imag creat int width int height int bit compon int bit pixel int byte row int colorspac int alpha info int provid float decod boolean interpol int intent cgfontreleas cggetdisplayswithrect cgrect maxdisplai dspycnt cgimagecr bitspercompon bitsperpixel bytesperrow alphainfo shouldinterpol public static final nativ int cg displai rect cg rect rect int max displai int dspy int dspy cnt public static final nativ int cg imag creat int width int height int bit compon int bit pixel int byte row int colorspac int alpha info int provid float decod boolean interpol int intent public static final nativ int cg imag alpha info int imag cggetdisplayswithrect cgrect maxdisplai dspycnt cgimagecr bitspercompon bitsperpixel bytesperrow alphainfo shouldinterpol cgimagegetalphainfo public static final nativ int cg imag creat int width int height int bit compon int bit pixel int byte row int colorspac int alpha info int provid float decod boolean interpol int intent public static final nativ int cg imag alpha info int imag public static final nativ int cg imag bit compon int imag cgimagecr bitspercompon bitsperpixel bytesperrow alphainfo shouldinterpol cgimagegetalphainfo cgimagegetbitspercompon public static final nativ int cg imag alpha info int imag public static final nativ int cg imag bit compon int imag public static final nativ int cg imag bit pixel int imag cgimagegetalphainfo cgimagegetbitspercompon cgimagegetbitsperpixel public static final nativ int cg imag bit compon int imag public static final nativ int cg imag bit pixel int imag public static final nativ int cg imag byte row int imag cgimagegetbitspercompon cgimagegetbitsperpixel cgimagegetbytesperrow public static final nativ int cg imag bit pixel int imag public static final nativ int cg imag byte row int imag public static final nativ int cg imag color space int imag cgimagegetbitsperpixel cgimagegetbytesperrow cgimagegetcolorspac public static final nativ int cg imag byte row int imag public static final nativ int cg imag color space int imag public static final nativ int cg imag height int imag cgimagegetbytesperrow cgimagegetcolorspac cgimagegetheight public static final nativ int cg imag color space int imag public static final nativ int cg imag height int imag public static final nativ int cg imag width int imag cgimagegetcolorspac cgimagegetheight cgimagegetwidth public static final nativ int cg imag height int imag public static final nativ int cg imag width int imag public static final nativ void cg imag releas int imag cgimagegetheight cgimagegetwidth cgimagereleas public static final nativ int cg imag width int imag public static final nativ void cg imag releas int imag public static final nativ int cg post mous event cg point mous cursor posit boolean updat mous cursor posit int button count boolean mous button boolean mous button down2 boolean mous button down3 cgimagegetwidth cgimagereleas cgpostmouseev cgpoint mousecursorposit updatemousecursorposit buttoncount mousebuttondown mousebuttondown2 mousebuttondown3 public static final nativ void cg imag releas int imag public static final nativ int cg post mous event cg point mous cursor posit boolean updat mous cursor posit int button count boolean mous button boolean mous button down2 boolean mous button down3 public static final nativ int cg post keyboard event int kei char int virtual kei boolean kei cgimagereleas cgpostmouseev cgpoint mousecursorposit updatemousecursorposit buttoncount mousebuttondown mousebuttondown2 mousebuttondown3 cgpostkeyboardev keychar virtualkei keydown public static final nativ int cg post mous event cg point mous cursor posit boolean updat mous cursor posit int button count boolean mous button boolean mous button down2 boolean mous button down3 public static final nativ int cg post keyboard event int kei char int virtual kei boolean kei public static final nativ int cg warp mous cursor posit cg point cursor posit cgpostmouseev cgpoint mousecursorposit updatemousecursorposit buttoncount mousebuttondown mousebuttondown2 mousebuttondown3 cgpostkeyboardev keychar virtualkei keydown cgwarpmousecursorposit cgpoint newcursorposit public static final nativ int cg post keyboard event int kei char int virtual kei boolean kei public static final nativ int cg warp mous cursor posit cg point cursor posit public static final nativ int call event handler int handler int event ref handl cgpostkeyboardev keychar virtualkei keydown cgwarpmousecursorposit cgpoint newcursorposit callnexteventhandl nexthandl eventrefhandl public static final nativ int cg warp mous cursor posit cg point cursor posit public static final nativ int call event handler int handler int event ref handl public static final nativ short char width short cgwarpmousecursorposit cgpoint newcursorposit callnexteventhandl nexthandl eventrefhandl charwidth public static final nativ int call event handler int handler int event ref handl public static final nativ short char width short public static final nativ int clear current scrap callnexteventhandl nexthandl eventrefhandl charwidth clearcurrentscrap public static final nativ short char width short public static final nativ int clear current scrap public static final nativ int clear keyboard focu int window charwidth clearcurrentscrap clearkeyboardfocu inwindow public static final nativ int clear current scrap public static final nativ int clear keyboard focu int window public static final nativ void clear menu bar clearcurrentscrap clearkeyboardfocu inwindow clearmenubar public static final nativ int clear keyboard focu int window public static final nativ void clear menu bar public static final nativ int clipcg context region int context rect port rect int rgn handl clearkeyboardfocu inwindow clearmenubar clipcgcontexttoregion incontext portrect rgnhandl public static final nativ void clear menu bar public static final nativ int clipcg context region int context rect port rect int rgn handl public static final nativ int close data browser contain int handl int contain clearmenubar clipcgcontexttoregion incontext portrect rgnhandl closedatabrowsercontain chandl public static final nativ int clipcg context region int context rect port rect int rgn handl public static final nativ int close data browser contain int handl int contain public static final nativ void close poli clipcgcontexttoregion incontext portrect rgnhandl closedatabrowsercontain chandl closepoli public static final nativ int close data browser contain int handl int contain public static final nativ void close poli public static final nativ void close rgn int dst rgn closedatabrowsercontain chandl closepoli closergn dstrgn public static final nativ void close poli public static final nativ void close rgn int dst rgn public static final nativ int collaps window int handl boolean collaps closepoli closergn dstrgn collapsewindow whandl public static final nativ void close rgn int dst rgn public static final nativ int collaps window int handl boolean collaps public static final nativ boolean convert event ref event record int event event record event closergn dstrgn collapsewindow whandl converteventreftoeventrecord inev eventrecord outev public static final nativ int collaps window int handl boolean collaps public static final nativ boolean convert event ref event record int event event record event public static final nativ int convert fromp string unicod int text unicod info byte pascal str int output buf len int unicod len char unicod str collapsewindow whandl converteventreftoeventrecord inev eventrecord outev convertfrompstringtounicod itexttounicodeinfo ipascalstr ioutputbuflen ounicodelen ounicodestr public static final nativ boolean convert event ref event record int event event record event public static final nativ int convert fromp string unicod int text unicod info byte pascal str int output buf len int unicod len char unicod str public static final nativ int convert unicod top string int unicod text info int unicod len char unicod str byte pascal str converteventreftoeventrecord inev eventrecord outev convertfrompstringtounicod itexttounicodeinfo ipascalstr ioutputbuflen ounicodelen ounicodestr convertfromunicodetopstr iunicodetotextinfo iunicodelen iunicodestr opascalstr public static final nativ int convert fromp string unicod int text unicod info byte pascal str int output buf len int unicod len char unicod str public static final nativ int convert unicod top string int unicod text info int unicod len char unicod str byte pascal str public static final nativ void copi bit int src pix map handl int dst pix map handl rect src rect rect dst rect short mode int mask rgn convertfrompstringtounicod itexttounicodeinfo ipascalstr ioutputbuflen ounicodelen ounicodestr convertfromunicodetopstr iunicodetotextinfo iunicodelen iunicodestr opascalstr copybit srcpixmaphandl dstpixmaphandl srcrect dstrect maskrgn public static final nativ int convert unicod top string int unicod text info int unicod len char unicod str byte pascal str public static final nativ void copi bit int src pix map handl int dst pix map handl rect src rect rect dst rect short mode int mask rgn public static final nativ int copi control titl ascf string int handl int handl convertfromunicodetopstr iunicodetotextinfo iunicodelen iunicodestr opascalstr copybit srcpixmaphandl dstpixmaphandl srcrect dstrect maskrgn copycontroltitleascfstr chandl shandl public static final nativ void copi bit int src pix map handl int dst pix map handl rect src rect rect dst rect short mode int mask rgn public static final nativ int copi control titl ascf string int handl int handl public static final nativ void copi deep mask int src pix map handl int mask pix map handl int dst pix map handl rect src rect rect mask rect rect dst rect short mode int mask rgn copybit srcpixmaphandl dstpixmaphandl srcrect dstrect maskrgn copycontroltitleascfstr chandl shandl copydeepmask srcpixmaphandl maskpixmaphandl dstpixmaphandl srcrect maskrect dstrect maskrgn public static final nativ int copi control titl ascf string int handl int handl public static final nativ void copi deep mask int src pix map handl int mask pix map handl int dst pix map handl rect src rect rect mask rect rect dst rect short mode int mask rgn public static final nativ int copi menu item text ascf string int handl short index int handl copycontroltitleascfstr chandl shandl copydeepmask srcpixmaphandl maskpixmaphandl dstpixmaphandl srcrect maskrect dstrect maskrgn copymenuitemtextascfstr mhandl shandl public static final nativ void copi deep mask int src pix map handl int mask pix map handl int dst pix map handl rect src rect rect mask rect rect dst rect short mode int mask rgn public static final nativ int copi menu item text ascf string int handl short index int handl public static final nativ void copi rgn int src rgn handl int dst rgn handl copydeepmask srcpixmaphandl maskpixmaphandl dstpixmaphandl srcrect maskrect dstrect maskrgn copymenuitemtextascfstr mhandl shandl copyrgn srcrgnhandl dstrgnhandl public static final nativ int copi menu item text ascf string int handl short index int handl public static final nativ void copi rgn int src rgn handl int dst rgn handl public static final nativ int count drag item int drag short num item copymenuitemtextascfstr mhandl shandl copyrgn srcrgnhandl dstrgnhandl countdragitem thedrag numitem public static final nativ void copi rgn int src rgn handl int dst rgn handl public static final nativ int count drag item int drag short num item public static final nativ int count drag item flavor int drag int item ref short num flavor copyrgn srcrgnhandl dstrgnhandl countdragitem thedrag numitem countdragitemflavor thedrag theitemref numflavor public static final nativ int count drag item int drag short num item public static final nativ int count drag item flavor int drag int item ref short num flavor public static final nativ short count menu item int handl countdragitem thedrag numitem countdragitemflavor thedrag theitemref numflavor countmenuitem mhandl public static final nativ int count drag item flavor int drag int item ref short num flavor public static final nativ short count menu item int handl public static final nativ int count control int handl short count countdragitemflavor thedrag theitemref numflavor countmenuitem mhandl countsubcontrol chandl public static final nativ short count menu item int handl public static final nativ int count control int handl short count public static final nativ int creat bevel button control int window rect bound rect int titl short thick short behavior int info short menuid short menu behavior short menu placement int control countmenuitem mhandl countsubcontrol chandl createbevelbuttoncontrol boundsrect menubehavior menuplac outcontrol public static final nativ int count control int handl short count public static final nativ int creat bevel button control int window rect bound rect int titl short thick short behavior int info short menuid short menu behavior short menu placement int control public static final nativ int creat check box control int window rect bound rect int titl int initi boolean auto toggl int control countsubcontrol chandl createbevelbuttoncontrol boundsrect menubehavior menuplac outcontrol createcheckboxcontrol boundsrect initialvalu autotoggl outcontrol public static final nativ int creat bevel button control int window rect bound rect int titl short thick short behavior int info short menuid short menu behavior short menu placement int control public static final nativ int creat check box control int window rect bound rect int titl int initi boolean auto toggl int control public static final nativ int createcg context port int port int context createbevelbuttoncontrol boundsrect menubehavior menuplac outcontrol createcheckboxcontrol boundsrect initialvalu autotoggl outcontrol createcgcontextforport inport outcontext public static final nativ int creat check box control int window rect bound rect int titl int initi boolean auto toggl int control public static final nativ int createcg context port int port int context public static final nativ int creat data browser control int window rect bound rect int style int control createcheckboxcontrol boundsrect initialvalu autotoggl outcontrol createcgcontextforport inport outcontext createdatabrowsercontrol boundsrect outcontrol public static final nativ int createcg context port int port int context public static final nativ int creat data browser control int window rect bound rect int style int control public static final nativ int creat event int alloc int classid int kind doubl int flag int event ref createcgcontextforport inport outcontext createdatabrowsercontrol boundsrect outcontrol createev inclassid outeventref public static final nativ int creat data browser control int window rect bound rect int style int control public static final nativ int creat event int alloc int classid int kind doubl int flag int event ref public static final nativ int creat group box control int window rect bound rect int titl boolean primari int control createdatabrowsercontrol boundsrect outcontrol createev inclassid outeventref creategroupboxcontrol boundsrect outcontrol public static final nativ int creat event int alloc int classid int kind doubl int flag int event ref public static final nativ int creat group box control int window rect bound rect int titl boolean primari int control public static final nativ int creat icon control int window rect bound rect control button content info icon boolean dont track int control createev inclassid outeventref creategroupboxcontrol boundsrect outcontrol createiconcontrol boundsrect controlbuttoncontentinfo donttrack outcontrol public static final nativ int creat group box control int window rect bound rect int titl boolean primari int control public static final nativ int creat icon control int window rect bound rect control button content info icon boolean dont track int control public static final nativ int creat menu short menuid int menu attribut int menu ref creategroupboxcontrol boundsrect outcontrol createiconcontrol boundsrect controlbuttoncontentinfo donttrack outcontrol createnewmenu menuattribut outmenuref public static final nativ int creat icon control int window rect bound rect control button content info icon boolean dont track int control public static final nativ int creat menu short menuid int menu attribut int menu ref public static final nativ int creat window int window class int attribut rect bound int handl createiconcontrol boundsrect controlbuttoncontentinfo donttrack outcontrol createnewmenu menuattribut outmenuref createnewwindow windowclass whandl public static final nativ int creat menu short menuid int menu attribut int menu ref public static final nativ int creat window int window class int attribut rect bound int handl public static final nativ int creat popup arrow control int window rect bound rect short orient short size int control createnewmenu menuattribut outmenuref createnewwindow windowclass whandl createpopuparrowcontrol boundsrect outcontrol public static final nativ int creat window int window class int attribut rect bound int handl public static final nativ int creat popup arrow control int window rect bound rect short orient short size int control public static final nativ int creat popup button control int window rect bound rect int titl short menuid boolean variabl width short titl width short titl justif int titl style int control createnewwindow windowclass whandl createpopuparrowcontrol boundsrect outcontrol createpopupbuttoncontrol boundsrect variablewidth titlewidth titlejustif titlestyl outcontrol public static final nativ int creat popup arrow control int window rect bound rect short orient short size int control public static final nativ int creat popup button control int window rect bound rect int titl short menuid boolean variabl width short titl width short titl justif int titl style int control public static final nativ int creat progress bar control int window rect bound rect int int minimim int maximum boolean indetermin int control createpopuparrowcontrol boundsrect outcontrol createpopupbuttoncontrol boundsrect variablewidth titlewidth titlejustif titlestyl outcontrol createprogressbarcontrol boundsrect outcontrol public static final nativ int creat popup button control int window rect bound rect int titl short menuid boolean variabl width short titl width short titl justif int titl style int control public static final nativ int creat progress bar control int window rect bound rect int int minimim int maximum boolean indetermin int control public static final nativ int creat push button control int window rect bound rect int titl int control createpopupbuttoncontrol boundsrect variablewidth titlewidth titlejustif titlestyl outcontrol createprogressbarcontrol boundsrect outcontrol createpushbuttoncontrol boundsrect outcontrol public static final nativ int creat progress bar control int window rect bound rect int int minimim int maximum boolean indetermin int control public static final nativ int creat push button control int window rect bound rect int titl int control public static final nativ int creat push button icon control int window rect bound rect int titl control button content info icon short icon align int control createprogressbarcontrol boundsrect outcontrol createpushbuttoncontrol boundsrect outcontrol createpushbuttonwithiconcontrol boundsrect controlbuttoncontentinfo iconalign outcontrol public static final nativ int creat push button control int window rect bound rect int titl int control public static final nativ int creat push button icon control int window rect bound rect int titl control button content info icon short icon align int control public static final nativ int creat radio button control int window rect bound rect int titl int initi boolean auto toggl int control createpushbuttoncontrol boundsrect outcontrol createpushbuttonwithiconcontrol boundsrect controlbuttoncontentinfo iconalign outcontrol createradiobuttoncontrol boundsrect initialvalu autotoggl outcontrol public static final nativ int creat push button icon control int window rect bound rect int titl control button content info icon short icon align int control public static final nativ int creat radio button control int window rect bound rect int titl int initi boolean auto toggl int control public static final nativ int creat root control int window handl int handl createpushbuttonwithiconcontrol boundsrect controlbuttoncontentinfo iconalign outcontrol createradiobuttoncontrol boundsrect initialvalu autotoggl outcontrol createrootcontrol windowhandl chandl public static final nativ int creat radio button control int window rect bound rect int titl int initi boolean auto toggl int control public static final nativ int creat root control int window handl int handl public static final nativ int creat slider control int window rect bound rect int int minimum int maximum int orient short num tick mark boolean live track int live track proc int control createradiobuttoncontrol boundsrect initialvalu autotoggl outcontrol createrootcontrol windowhandl chandl createslidercontrol boundsrect numtickmark livetrack livetrackingproc outcontrol public static final nativ int creat root control int window handl int handl public static final nativ int creat slider control int window rect bound rect int int minimum int maximum int orient short num tick mark boolean live track int live track proc int control public static final nativ int creat scroll bar control int window rect bound rect int int minimum int maximum int view size boolean live track int live track proc int control createrootcontrol windowhandl chandl createslidercontrol boundsrect numtickmark livetrack livetrackingproc outcontrol createscrollbarcontrol boundsrect viewsiz livetrack livetrackingproc outcontrol public static final nativ int creat slider control int window rect bound rect int int minimum int maximum int orient short num tick mark boolean live track int live track proc int control public static final nativ int creat scroll bar control int window rect bound rect int int minimum int maximum int view size boolean live track int live track proc int control public static final nativ int creat separ control int window rect bound rect int control createslidercontrol boundsrect numtickmark livetrack livetrackingproc outcontrol createscrollbarcontrol boundsrect viewsiz livetrack livetrackingproc outcontrol createseparatorcontrol boundsrect outcontrol public static final nativ int creat scroll bar control int window rect bound rect int int minimum int maximum int view size boolean live track int live track proc int control public static final nativ int creat separ control int window rect bound rect int control public static final nativ int creat standard alert short alert type int error handl int explan handl alert stdcf string alert param rec alert param handl int dialog handl createscrollbarcontrol boundsrect viewsiz livetrack livetrackingproc outcontrol createseparatorcontrol boundsrect outcontrol createstandardalert alerttyp errorshandl explanationshandl alertstdcfstringalertparamrec alertparamhandl dialoghandl public static final nativ int creat separ control int window rect bound rect int control public static final nativ int creat standard alert short alert type int error handl int explan handl alert stdcf string alert param rec alert param handl int dialog handl public static final nativ int creat static text control int window rect bound rect int text control font style rec style int control createseparatorcontrol boundsrect outcontrol createstandardalert alerttyp errorshandl explanationshandl alertstdcfstringalertparamrec alertparamhandl dialoghandl createstatictextcontrol boundsrect controlfontstylerec outcontrol public static final nativ int creat standard alert short alert type int error handl int explan handl alert stdcf string alert param rec alert param handl int dialog handl public static final nativ int creat static text control int window rect bound rect int text control font style rec style int control public static final nativ int creat tab control int window rect bound rect short size short direct short num tab int tab arrai int control createstandardalert alerttyp errorshandl explanationshandl alertstdcfstringalertparamrec alertparamhandl dialoghandl createstatictextcontrol boundsrect controlfontstylerec outcontrol createtabscontrol boundsrect numtab tabarrai outcontrol public static final nativ int creat static text control int window rect bound rect int text control font style rec style int control public static final nativ int creat tab control int window rect bound rect short size short direct short num tab int tab arrai int control public static final nativ int creat text unicod info encod int encod int text unicod info createstatictextcontrol boundsrect controlfontstylerec outcontrol createtabscontrol boundsrect numtab tabarrai outcontrol createtexttounicodeinfobyencod iencod otexttounicodeinfo public static final nativ int creat tab control int window rect bound rect short size short direct short num tab int tab arrai int control public static final nativ int creat text unicod info encod int encod int text unicod info public static final nativ int creat unicod text info encod int encod int unicod text info createtabscontrol boundsrect numtab tabarrai outcontrol createtexttounicodeinfobyencod iencod otexttounicodeinfo createunicodetotextinfobyencod iencod ounicodetotextinfo public static final nativ int creat text unicod info encod int encod int text unicod info public static final nativ int creat unicod text info encod int encod int unicod text info public static final nativ int creat edit unicod text control int window rect bound rect int text boolean password control font style rec style int control createtexttounicodeinfobyencod iencod otexttounicodeinfo createunicodetotextinfobyencod iencod ounicodetotextinfo createeditunicodetextcontrol boundsrect ispassword controlfontstylerec outcontrol public static final nativ int creat unicod text info encod int encod int unicod text info public static final nativ int creat edit unicod text control int window rect bound rect int text boolean password control font style rec style int control public static final nativ int creat user pane control int window rect bound rect int featur int control createunicodetotextinfobyencod iencod ounicodetotextinfo createeditunicodetextcontrol boundsrect ispassword controlfontstylerec outcontrol createuserpanecontrol boundsrect outcontrol public static final nativ int creat edit unicod text control int window rect bound rect int text boolean password control font style rec style int control public static final nativ int creat user pane control int window rect bound rect int featur int control public static final nativ int creat window group int attribut int group createeditunicodetextcontrol boundsrect ispassword controlfontstylerec outcontrol createuserpanecontrol boundsrect outcontrol createwindowgroup inattribut outgroup public static final nativ int creat user pane control int window rect bound rect int featur int control public static final nativ int creat window group int attribut int group public static final nativ void delet menu short menuid createuserpanecontrol boundsrect outcontrol createwindowgroup inattribut outgroup deletemenu public static final nativ int creat window group int attribut int group public static final nativ void delet menu short menuid public static final nativ void delet menu item int handl short index createwindowgroup inattribut outgroup deletemenu deletemenuitem mhandl public static final nativ void delet menu short menuid public static final nativ void delet menu item int handl short index public static final nativ int delet menu item int handl short item int num item deletemenu deletemenuitem mhandl deletemenuitem mhandl firstitem numitem public static final nativ void delet menu item int handl short index public static final nativ int delet menu item int handl short item int num item public static final nativ void diff rgn int src rgna int src rgnb int dst rgn deletemenuitem mhandl deletemenuitem mhandl firstitem numitem diffrgn srcrgna srcrgnb dstrgn public static final nativ int delet menu item int handl short item int num item public static final nativ void diff rgn int src rgna int src rgnb int dst rgn public static final nativ int disabl control int handl deletemenuitem mhandl firstitem numitem diffrgn srcrgna srcrgnb dstrgn disablecontrol chandl public static final nativ void diff rgn int src rgna int src rgnb int dst rgn public static final nativ int disabl control int handl public static final nativ void disabl menu command int handl int command id diffrgn srcrgna srcrgnb dstrgn disablecontrol chandl disablemenucommand mhandl commandid public static final nativ int disabl control int handl public static final nativ void disabl menu command int handl int command id public static final nativ void disabl menu item int handl short index disablecontrol chandl disablemenucommand mhandl commandid disablemenuitem mhandl public static final nativ void disabl menu command int handl int command id public static final nativ void disabl menu item int handl short index public static final nativ void dispos control int handl disablemenucommand mhandl commandid disablemenuitem mhandl disposecontrol chandl public static final nativ void disabl menu item int handl short index public static final nativ void dispos control int handl public static final nativ int dispos drag int drag disablemenuitem mhandl disposecontrol chandl disposedrag thedrag public static final nativ void dispos control int handl public static final nativ int dispos drag int drag public static final nativ void disposeg int offscreeng disposecontrol chandl disposedrag thedrag disposegworld offscreengworld public static final nativ int dispos drag int drag public static final nativ void disposeg int offscreeng public static final nativ void dispos handl int handl disposedrag thedrag disposegworld offscreengworld disposehandl public static final nativ void disposeg int offscreeng public static final nativ void dispos handl int handl public static final nativ void dispos menu int handl disposegworld offscreengworld disposehandl disposemenu mhandl public static final nativ void dispos handl int handl public static final nativ void dispos menu int handl public static final nativ void dispos ptr int ptr disposehandl disposemenu mhandl disposeptr public static final nativ void dispos menu int handl public static final nativ void dispos ptr int ptr public static final nativ void dispos rgn int rgn handl disposemenu mhandl disposeptr disposergn rgnhandl public static final nativ void dispos ptr int ptr public static final nativ void dispos rgn int rgn handl public static final nativ int dispos text unicod info int io text unicod info disposeptr disposergn rgnhandl disposetexttounicodeinfo iotexttounicodeinfo public static final nativ void dispos rgn int rgn handl public static final nativ int dispos text unicod info int io text unicod info public static final nativ int dispos unicod text info int io unicod text info disposergn rgnhandl disposetexttounicodeinfo iotexttounicodeinfo disposeunicodetotextinfo iounicodetotextinfo public static final nativ int dispos text unicod info int io text unicod info public static final nativ int dispos unicod text info int io unicod text info public static final nativ void dispos window int handl disposetexttounicodeinfo iotexttounicodeinfo disposeunicodetotextinfo iounicodetotextinfo disposewindow whandl public static final nativ int dispos unicod text info int io unicod text info public static final nativ void dispos window int handl public static final nativ int dm screen devic int devic boolean activ disposeunicodetotextinfo iounicodetotextinfo disposewindow whandl dmgetnextscreendevic thedevic activeonli public static final nativ void dispos window int handl public static final nativ int dm screen devic int devic boolean activ public static final nativ int dm screen devic boolean activ disposewindow whandl dmgetnextscreendevic thedevic activeonli dmgetfirstscreendevic activeonli public static final nativ int dm screen devic int devic boolean activ public static final nativ int dm screen devic boolean activ public static final nativ void draw control current port int control dmgetnextscreendevic thedevic activeonli dmgetfirstscreendevic activeonli drawcontrolincurrentport incontrol public static final nativ int dm screen devic boolean activ public static final nativ void draw control current port int control public static final nativ void draw menu bar dmgetfirstscreendevic activeonli drawcontrolincurrentport incontrol drawmenubar public static final nativ void draw control current port int control public static final nativ void draw menu bar public static final nativ void draw text byte text buf short byte short byte count drawcontrolincurrentport incontrol drawmenubar drawtext textbuf firstbyt bytecount public static final nativ void draw menu bar public static final nativ void draw text byte text buf short byte short byte count public static final nativ int draw theme button rect bound short kind theme button draw info info theme button draw info prev info int eras proc int label proc int user data drawmenubar drawtext textbuf firstbyt bytecount drawthemebutton inbound inkind themebuttondrawinfo innewinfo themebuttondrawinfo inprevinfo ineraseproc inlabelproc inuserdata public static final nativ void draw text byte text buf short byte short byte count public static final nativ int draw theme button rect bound short kind theme button draw info info theme button draw info prev info int eras proc int label proc int user data public static final nativ int draw theme edit text frame rect bound int drawtext textbuf firstbyt bytecount drawthemebutton inbound inkind themebuttondrawinfo innewinfo themebuttondrawinfo inprevinfo ineraseproc inlabelproc inuserdata drawthemeedittextfram public static final nativ int draw theme button rect bound short kind theme button draw info info theme button draw info prev info int eras proc int label proc int user data public static final nativ int draw theme edit text frame rect bound int public static final nativ int draw theme focu rect rect bound boolean focu drawthemebutton inbound inkind themebuttondrawinfo innewinfo themebuttondrawinfo inprevinfo ineraseproc inlabelproc inuserdata drawthemeedittextfram drawthemefocusrect hasfocu public static final nativ int draw theme edit text frame rect bound int public static final nativ int draw theme focu rect rect bound boolean focu public static final nativ int draw theme popup arrow rect bound short orient short size int int eras proc int eras data drawthemeedittextfram drawthemefocusrect hasfocu drawthemepopuparrow eraseproc erasedata public static final nativ int draw theme focu rect rect bound boolean focu public static final nativ int draw theme popup arrow rect bound short orient short size int int eras proc int eras data public static final nativ int draw theme separ rect bound int drawthemefocusrect hasfocu drawthemepopuparrow eraseproc erasedata drawthemesepar public static final nativ int draw theme popup arrow rect bound short orient short size int int eras proc int eras data public static final nativ int draw theme separ rect bound int public static final nativ int draw theme text box int handl short fontid int boolean wrap width rect bound short int context drawthemepopuparrow eraseproc erasedata drawthemesepar drawthemetextbox shandl wraptowidth public static final nativ int draw theme separ rect bound int public static final nativ int draw theme text box int handl short fontid int boolean wrap width rect bound short int context public static final nativ int emb control int control int contain drawthemesepar drawthemetextbox shandl wraptowidth embedcontrol incontrol incontain public static final nativ int draw theme text box int handl short fontid int boolean wrap width rect bound short int context public static final nativ int emb control int control int contain public static final nativ boolean empti rect rect drawthemetextbox shandl wraptowidth embedcontrol incontrol incontain emptyrect public static final nativ int emb control int control int contain public static final nativ boolean empti rect rect public static final nativ boolean empti rgn int rgn handl embedcontrol incontrol incontain emptyrect emptyrgn rgnhandl public static final nativ boolean empti rect rect public static final nativ boolean empti rgn int rgn handl public static final nativ int enabl control int handl emptyrect emptyrgn rgnhandl enablecontrol chandl public static final nativ boolean empti rgn int rgn handl public static final nativ int enabl control int handl public static final nativ void enabl menu command int handl int command id emptyrgn rgnhandl enablecontrol chandl enablemenucommand mhandl commandid public static final nativ int enabl control int handl public static final nativ void enabl menu command int handl int command id public static final nativ void enabl menu item int handl short index enablecontrol chandl enablemenucommand mhandl commandid enablemenuitem mhandl public static final nativ void enabl menu command int handl int command id public static final nativ void enabl menu item int handl short index public static final nativ void end updat int handl enablemenucommand mhandl commandid enablemenuitem mhandl endupd whandl public static final nativ void enabl menu item int handl short index public static final nativ void end updat int handl public static final nativ boolean equal rect rect rect1 rect rect2 enablemenuitem mhandl endupd whandl equalrect public static final nativ void end updat int handl public static final nativ boolean equal rect rect rect1 rect rect2 public static final nativ void eras rect rect bound endupd whandl equalrect eraserect public static final nativ boolean equal rect rect rect1 rect rect2 public static final nativ void eras rect rect bound public static final nativ void eras rgn int rgn handl equalrect eraserect erasergn rgnhandl public static final nativ void eras rect rect bound public static final nativ void eras rgn int rgn handl public static final nativ int fetch font info short fontid short font size short font style font info info eraserect erasergn rgnhandl fetchfontinfo fontsiz fontstyl fontinfo public static final nativ void eras rgn int rgn handl public static final nativ int fetch font info short fontid short font size short font style font info info public static final nativ int fix2 int erasergn rgnhandl fetchfontinfo fontsiz fontstyl fontinfo fix2long public static final nativ int fetch font info short fontid short font size short font style font info info public static final nativ int fix2 int public static final nativ int fm creat font famili instanc iter short font famili int io iter fetchfontinfo fontsiz fontstyl fontinfo fix2long fmcreatefontfamilyinstanceiter ifontfamili ioiter public static final nativ int fix2 int public static final nativ int fm creat font famili instanc iter short font famili int io iter public static final nativ int fm creat font famili iter int filter int ref con int option int io iter fix2long fmcreatefontfamilyinstanceiter ifontfamili ioiter fmcreatefontfamilyiter ifilt irefcon ioption ioiter public static final nativ int fm creat font famili instanc iter short font famili int io iter public static final nativ int fm creat font famili iter int filter int ref con int option int io iter public static final nativ int fm dispos font famili iter int io iter fmcreatefontfamilyinstanceiter ifontfamili ioiter fmcreatefontfamilyiter ifilt irefcon ioption ioiter fmdisposefontfamilyiter ioiter public static final nativ int fm creat font famili iter int filter int ref con int option int io iter public static final nativ int fm dispos font famili iter int io iter public static final nativ int fm dispos font famili instanc iter int io iter fmcreatefontfamilyiter ifilt irefcon ioption ioiter fmdisposefontfamilyiter ioiter fmdisposefontfamilyinstanceiter ioiter public static final nativ int fm dispos font famili iter int io iter public static final nativ int fm dispos font famili instanc iter int io iter public static final nativ int fm getat font ref font int font fmdisposefontfamilyiter ioiter fmdisposefontfamilyinstanceiter ioiter fmgetatsfontreffromfont ifont public static final nativ int fm dispos font famili instanc iter int io iter public static final nativ int fm getat font ref font int font public static final nativ int fm font famili short id byte fmdisposefontfamilyinstanceiter ioiter fmgetatsfontreffromfont ifont fmgetfontfamilynam public static final nativ int fm getat font ref font int font public static final nativ int fm font famili short id byte public static final nativ short fm font famili byte fmgetatsfontreffromfont ifont fmgetfontfamilynam fmgetfontfamilyfromnam public static final nativ int fm font famili short id byte public static final nativ short fm font famili byte public static final nativ int fm font famili instanc font int font short font famili short style fmgetfontfamilynam fmgetfontfamilyfromnam fmgetfontfamilyinstancefromfont ifont ofontfamili ostyl public static final nativ short fm font famili byte public static final nativ int fm font famili instanc font int font short font famili short style public static final nativ int fm font font famili instanc short font famili short style int font short intrins style fmgetfontfamilyfromnam fmgetfontfamilyinstancefromfont ifont ofontfamili ostyl fmgetfontfromfontfamilyinst ifontfamili istyl ofont ointrinsicstyl public static final nativ int fm font famili instanc font int font short font famili short style public static final nativ int fm font font famili instanc short font famili short style int font short intrins style public static final nativ int fm font famili int io iter short font famili fmgetfontfamilyinstancefromfont ifont ofontfamili ostyl fmgetfontfromfontfamilyinst ifontfamili istyl ofont ointrinsicstyl fmgetnextfontfamili ioiter ofontfamili public static final nativ int fm font font famili instanc short font famili short style int font short intrins style public static final nativ int fm font famili int io iter short font famili public static final nativ int fm font famili instanc int io iter int font short style short size fmgetfontfromfontfamilyinst ifontfamili istyl ofont ointrinsicstyl fmgetnextfontfamili ioiter ofontfamili fmgetnextfontfamilyinst ioiter ofont ostyl osiz public static final nativ int fm font famili int io iter short font famili public static final nativ int fm font famili instanc int io iter int font short style short size public static final nativ boolean fp font panel visibl fmgetnextfontfamili ioiter ofontfamili fmgetnextfontfamilyinst ioiter ofont ostyl osiz fpisfontpanelvis public static final nativ int fm font famili instanc int io iter int font short style short size public static final nativ boolean fp font panel visibl public static final nativ int fp show hide font panel fmgetnextfontfamilyinst ioiter ofont ostyl osiz fpisfontpanelvis fpshowhidefontpanel public static final nativ boolean fp font panel visibl public static final nativ int fp show hide font panel public static final nativ int sp getf info byte spec byte fndr info fpisfontpanelvis fpshowhidefontpanel fspgetfinfo fndrinfo public static final nativ int fp show hide font panel public static final nativ int sp getf info byte spec byte fndr info public static final nativ int sp makef ref byte sourc byte ref fpshowhidefontpanel fspgetfinfo fndrinfo fspmakefsref newref public static final nativ int sp getf info byte spec byte fndr info public static final nativ int sp makef ref byte sourc byte ref public static final nativ int fs catalog info byte ref int info byte catalog info byte byte fs spec byte parent ref fspgetfinfo fndrinfo fspmakefsref newref fsgetcataloginfo whichinfo cataloginfo outnam fsspec parentref public static final nativ int sp makef ref byte sourc byte ref public static final nativ int fs catalog info byte ref int info byte catalog info byte byte fs spec byte parent ref public static final nativ short find window point int handl fspmakefsref newref fsgetcataloginfo whichinfo cataloginfo outnam fsspec parentref findwindow whandl public static final nativ int fs catalog info byte ref int info byte catalog info byte byte fs spec byte parent ref public static final nativ short find window point int handl public static final nativ void frame oval rect bound fsgetcataloginfo whichinfo cataloginfo outnam fsspec parentref findwindow whandl frameov public static final nativ short find window point int handl public static final nativ void frame oval rect bound public static final nativ void frame poli int poli handl findwindow whandl frameov framepoli polyhandl public static final nativ void frame oval rect bound public static final nativ void frame poli int poli handl public static final nativ void frame rect rect bound frameov framepoli polyhandl framerect public static final nativ void frame poli int poli handl public static final nativ void frame rect rect bound public static final nativ void frame round rect rect bound short oval width short oval height framepoli polyhandl framerect frameroundrect ovalwidth ovalheight public static final nativ void frame rect rect bound public static final nativ void frame round rect rect bound short oval width short oval height public static final nativ int front window framerect frameroundrect ovalwidth ovalheight frontwindow public static final nativ void frame round rect rect bound short oval width short oval height public static final nativ int front window public static final nativ int gestalt int selector int respons frameroundrect ovalwidth ovalheight frontwindow public static final nativ int front window public static final nativ int gestalt int selector int respons public static final nativ short app font frontwindow getappfont public static final nativ int gestalt int selector int respons public static final nativ short app font public static final nativ int applic event target getappfont getapplicationeventtarget public static final nativ short app font public static final nativ int applic event target public static final nativ int window attribut int window class getappfont getapplicationeventtarget getavailablewindowattribut windowclass public static final nativ int applic event target public static final nativ int window attribut int window class public static final nativ int window posit bound int devic rect rect getapplicationeventtarget getavailablewindowattribut windowclass getavailablewindowpositioningbound indevic outavailablerect public static final nativ int window attribut int window class public static final nativ int window posit bound int devic rect rect public static final nativ int control rect int control rect rect short base line offset getavailablewindowattribut windowclass getavailablewindowpositioningbound indevic outavailablerect getbestcontrolrect incontrol outrect outbaselineoffset public static final nativ int window posit bound int devic rect rect public static final nativ int control rect int control rect rect short base line offset public static final nativ int caret getavailablewindowpositioningbound indevic outavailablerect getbestcontrolrect incontrol outrect outbaselineoffset getcarettim public static final nativ int control rect int control rect rect short base line offset public static final nativ int caret public static final nativ void clip int rgn handl getbestcontrolrect incontrol outrect outbaselineoffset getcarettim getclip rgnhandl public static final nativ int caret public static final nativ void clip int rgn handl public static final nativ int control32 bit maximum int handl getcarettim getclip rgnhandl getcontrol32bitmaximum chandl public static final nativ void clip int rgn handl public static final nativ int control32 bit maximum int handl public static final nativ int control32 bit minimum int handl getclip rgnhandl getcontrol32bitmaximum chandl getcontrol32bitminimum chandl public static final nativ int control32 bit maximum int handl public static final nativ int control32 bit minimum int handl public static final nativ int control32 bit int handl getcontrol32bitmaximum chandl getcontrol32bitminimum chandl getcontrol32bitvalu chandl public static final nativ int control32 bit minimum int handl public static final nativ int control32 bit int handl public static final nativ void control bound int handl rect bound getcontrol32bitminimum chandl getcontrol32bitvalu chandl getcontrolbound chandl public static final nativ int control32 bit int handl public static final nativ void control bound int handl rect bound public static final nativ int control data int control short part int tag int buffer size control font style rec buffer int actual size getcontrol32bitvalu chandl getcontrolbound chandl getcontroldata incontrol inpart intagnam inbuffers controlfontstylerec inbuff outactuals public static final nativ void control bound int handl rect bound public static final nativ int control data int control short part int tag int buffer size control font style rec buffer int actual size public static final nativ int control data int control short part int tag int buffer size rect buffer int actual size getcontrolbound chandl getcontroldata incontrol inpart intagnam inbuffers controlfontstylerec inbuff outactuals getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals public static final nativ int control data int control short part int tag int buffer size control font style rec buffer int actual size public static final nativ int control data int control short part int tag int buffer size rect buffer int actual size public static final nativ int control data int control short part int tag int buffer size int buffer int actual size getcontroldata incontrol inpart intagnam inbuffers controlfontstylerec inbuff outactuals getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals public static final nativ int control data int control short part int tag int buffer size rect buffer int actual size public static final nativ int control data int control short part int tag int buffer size int buffer int actual size public static final nativ int control data int control short part int tag int buffer size short buffer int actual size getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals public static final nativ int control data int control short part int tag int buffer size int buffer int actual size public static final nativ int control data int control short part int tag int buffer size short buffer int actual size public static final nativ int control data int control short part int tag int buffer size byte buffer int actual size getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals public static final nativ int control data int control short part int tag int buffer size short buffer int actual size public static final nativ int control data int control short part int tag int buffer size byte buffer int actual size public static final nativ int control event target int handl getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals getcontroleventtarget chandl public static final nativ int control data int control short part int tag int buffer size byte buffer int actual size public static final nativ int control event target int handl public static final nativ int control featur int control int featur getcontroldata incontrol inpart intagnam inbuffers inbuff outactuals getcontroleventtarget chandl getcontrolfeatur incontrol outfeatur public static final nativ int control event target int handl public static final nativ int control featur int control int featur public static final nativ int control owner int handl getcontroleventtarget chandl getcontrolfeatur incontrol outfeatur getcontrolown chandl public static final nativ int control featur int control int featur public static final nativ int control owner int handl public static final nativ int control properti int control int properti creator int properti tag int buffer size int actual size int properti buffer getcontrolfeatur incontrol outfeatur getcontrolown chandl getcontrolproperti propertycr propertytag buffers actuals propertybuff public static final nativ int control owner int handl public static final nativ int control properti int control int properti creator int properti tag int buffer size int actual size int properti buffer public static final nativ int control refer int handl getcontrolown chandl getcontrolproperti propertycr propertytag buffers actuals propertybuff getcontrolrefer chandl public static final nativ int control properti int control int properti creator int properti tag int buffer size int actual size int properti buffer public static final nativ int control refer int handl public static final nativ int control region int handl short part int rgn handl getcontrolproperti propertycr propertytag buffers actuals propertybuff getcontrolrefer chandl getcontrolregion chandl inpart rgnhandl public static final nativ int control refer int handl public static final nativ int control region int handl short part int rgn handl public static final nativ short control int handl getcontrolrefer chandl getcontrolregion chandl inpart rgnhandl getcontrolvalu chandl public static final nativ int control region int handl short part int rgn handl public static final nativ short control int handl public static final nativ int control view size int handl getcontrolregion chandl inpart rgnhandl getcontrolvalu chandl getcontrolviews chandl public static final nativ short control int handl public static final nativ int control view size int handl public static final nativ int current event button getcontrolvalu chandl getcontrolviews chandl getcurrenteventbuttonst public static final nativ int control view size int handl public static final nativ int current event button public static final nativ int current event loop getcontrolviews chandl getcurrenteventbuttonst getcurrenteventloop public static final nativ int current event button public static final nativ int current event loop public static final nativ int current event kei modifi getcurrenteventbuttonst getcurrenteventloop getcurrenteventkeymodifi public static final nativ int current event loop public static final nativ int current event kei modifi public static final nativ int current event queue getcurrenteventloop getcurrenteventkeymodifi getcurrenteventqueu public static final nativ int current event kei modifi public static final nativ int current event queue public static final nativ int current process int psn getcurrenteventkeymodifi getcurrenteventqueu getcurrentprocess public static final nativ int current event queue public static final nativ int current process int psn public static final nativ int current scrap int scrap getcurrenteventqueu getcurrentprocess getcurrentscrap public static final nativ int current process int psn public static final nativ int current scrap int scrap public static final nativ int data browser callback int browser data browser callback callback getcurrentprocess getcurrentscrap getdatabrowsercallback databrowsercallback public static final nativ int current scrap int scrap public static final nativ int data browser callback int browser data browser callback callback public static final nativ int data browser item count int handl int contain boolean recurs int int num item getcurrentscrap getdatabrowsercallback databrowsercallback getdatabrowseritemcount chandl numitem public static final nativ int data browser callback int browser data browser callback callback public static final nativ int data browser item count int handl int contain boolean recurs int int num item public static final nativ int data browser item data button int item data short data getdatabrowsercallback databrowsercallback getdatabrowseritemcount chandl numitem getdatabrowseritemdatabuttonvalu itemdata thedata public static final nativ int data browser item count int handl int contain boolean recurs int int num item public static final nativ int data browser item data button int item data short data public static final nativ int data browser item part bound int handl int item int properti int part rect bound getdatabrowseritemcount chandl numitem getdatabrowseritemdatabuttonvalu itemdata thedata getdatabrowseritempartbound chandl public static final nativ int data browser item data button int item data short data public static final nativ int data browser item part bound int handl int item int properti int part rect bound public static final nativ int data browser item int browser int contain boolean recurs int int item getdatabrowseritemdatabuttonvalu itemdata thedata getdatabrowseritempartbound chandl getdatabrowseritem public static final nativ int data browser item part bound int handl int item int properti int part rect bound public static final nativ int data browser item int browser int contain boolean recurs int int item public static final nativ int data browser item int browser int item int getdatabrowseritempartbound chandl getdatabrowseritem getdatabrowseritemst public static final nativ int data browser item int browser int contain boolean recurs int int item public static final nativ int data browser item int browser int item int public static final nativ int data browser list view header btn height int browser short height getdatabrowseritem getdatabrowseritemst getdatabrowserlistviewheaderbtnheight public static final nativ int data browser item int browser int item int public static final nativ int data browser list view header btn height int browser short height public static final nativ int data browser list view header desc int browser int column data browser list view header desc desc getdatabrowseritemst getdatabrowserlistviewheaderbtnheight getdatabrowserlistviewheaderdesc databrowserlistviewheaderdesc public static final nativ int data browser list view header btn height int browser short height public static final nativ int data browser list view header desc int browser int column data browser list view header desc desc public static final nativ int data browser tabl view itemid int browser int row int item getdatabrowserlistviewheaderbtnheight getdatabrowserlistviewheaderdesc databrowserlistviewheaderdesc getdatabrowsertableviewitemid public static final nativ int data browser list view header desc int browser int column data browser list view header desc desc public static final nativ int data browser tabl view itemid int browser int row int item public static final nativ int data browser tabl view item row int browser int item int row getdatabrowserlistviewheaderdesc databrowserlistviewheaderdesc getdatabrowsertableviewitemid getdatabrowsertableviewitemrow public static final nativ int data browser tabl view itemid int browser int row int item public static final nativ int data browser tabl view item row int browser int item int row public static final nativ int data browser tabl view column posit int browser int column int posit getdatabrowsertableviewitemid getdatabrowsertableviewitemrow getdatabrowsertableviewcolumnposit public static final nativ int data browser tabl view item row int browser int item int row public static final nativ int data browser tabl view column posit int browser int column int posit public static final nativ int data browser tabl view name column width int browser int column short width getdatabrowsertableviewitemrow getdatabrowsertableviewcolumnposit getdatabrowsertableviewnamedcolumnwidth public static final nativ int data browser tabl view column posit int browser int column int posit public static final nativ int data browser tabl view name column width int browser int column short width public static final nativ int data browser tabl view row height int browser short height getdatabrowsertableviewcolumnposit getdatabrowsertableviewnamedcolumnwidth getdatabrowsertableviewrowheight public static final nativ int data browser tabl view name column width int browser int column short width public static final nativ int data browser tabl view row height int browser short height public static final nativ int data browser scroll bar inset int browser rect inset rect getdatabrowsertableviewnamedcolumnwidth getdatabrowsertableviewrowheight getdatabrowserscrollbarinset insetrect public static final nativ int data browser tabl view row height int browser short height public static final nativ int data browser scroll bar inset int browser rect inset rect public static final nativ int data browser scroll posit int handl int top int left getdatabrowsertableviewrowheight getdatabrowserscrollbarinset insetrect getdatabrowserscrollposit chandl public static final nativ int data browser scroll bar inset int browser rect inset rect public static final nativ int data browser scroll posit int handl int top int left public static final nativ int data browser select anchor int browser int int getdatabrowserscrollbarinset insetrect getdatabrowserscrollposit chandl getdatabrowserselectionanchor public static final nativ int data browser scroll posit int handl int top int left public static final nativ int data browser select anchor int browser int int public static final nativ int data browser select flag int browser int select flag getdatabrowserscrollposit chandl getdatabrowserselectionanchor getdatabrowserselectionflag selectionflag public static final nativ int data browser select anchor int browser int int public static final nativ int data browser select flag int browser int select flag public static final nativ int data browser sort properti int browser int properti getdatabrowserselectionanchor getdatabrowserselectionflag selectionflag getdatabrowsersortproperti public static final nativ int data browser select flag int browser int select flag public static final nativ int data browser sort properti int browser int properti public static final nativ int dbl getdatabrowserselectionflag selectionflag getdatabrowsersortproperti getdbltim public static final nativ int data browser sort properti int browser int properti public static final nativ int dbl public static final nativ short def font size getdatabrowsersortproperti getdbltim getdeffonts public static final nativ int dbl public static final nativ short def font size public static final nativ int devic list getdbltim getdeffonts getdevicelist public static final nativ short def font size public static final nativ int devic list public static final nativ int drag allow action int drag int action getdeffonts getdevicelist getdragallowableact thedrag outact public static final nativ int devic list public static final nativ int drag allow action int drag int action public static final nativ int drag drop action int drag int action getdevicelist getdragallowableact thedrag outact getdragdropact thedrag outact public static final nativ int drag allow action int drag int action public static final nativ int drag drop action int drag int action public static final nativ int drag item refer number int drag short index int item ref getdragallowableact thedrag outact getdragdropact thedrag outact getdragitemreferencenumb thedrag theitemref public static final nativ int drag drop action int drag int action public static final nativ int drag item refer number int drag short index int item ref public static final nativ int drag modifi int drag short modifi short mous modifi short mous modifi getdragdropact thedrag outact getdragitemreferencenumb thedrag theitemref getdragmodifi thedrag mousedownmodifi mouseupmodifi public static final nativ int drag item refer number int drag short index int item ref public static final nativ int drag modifi int drag short modifi short mous modifi short mous modifi public static final nativ int drag mous int drag point mous point global pin mous getdragitemreferencenumb thedrag theitemref getdragmodifi thedrag mousedownmodifi mouseupmodifi getdragmous thedrag globalpinnedmous public static final nativ int drag modifi int drag short modifi short mous modifi short mous modifi public static final nativ int drag mous int drag point mous point global pin mous public static final nativ int event class int handl getdragmodifi thedrag mousedownmodifi mouseupmodifi getdragmous thedrag globalpinnedmous geteventclass ehandl public static final nativ int drag mous int drag point mous point global pin mous public static final nativ int event class int handl public static final nativ int event dispatch target getdragmous thedrag globalpinnedmous geteventclass ehandl geteventdispatchertarget public static final nativ int event class int handl public static final nativ int event dispatch target public static final nativ int event kind int handl geteventclass ehandl geteventdispatchertarget geteventkind ehandl public static final nativ int event dispatch target public static final nativ int event kind int handl public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size int data geteventdispatchertarget geteventkind ehandl geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata public static final nativ int event kind int handl public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size int data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size char data geteventkind ehandl geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size int data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size char data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size short data geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size char data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size short data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size byte data geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size short data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size byte data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size hi command data geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals hicommand outdata public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size byte data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size hi command data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size point data geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals hicommand outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size hi command data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size point data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size cg point data geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals hicommand outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals cgpoint outdata public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size point data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size cg point data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size rgb color data geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals cgpoint outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals rgbcolor outdata public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size cg point data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size rgb color data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size rect data geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals cgpoint outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals rgbcolor outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size rgb color data public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size rect data public static final nativ doubl event int handl geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals rgbcolor outdata geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventtim ehandl public static final nativ int event paramet int event int int desir type int actual type int buffer size int actual size rect data public static final nativ doubl event int handl public static final nativ int flavor data int drag int item ref int type byte data ptr int data size int data offset geteventparamet inev innam indesiredtyp outactualtyp inbuffers outactuals outdata geteventtim ehandl getflavordata thedrag theitemref thetyp dataptr datas dataoffset public static final nativ doubl event int handl public static final nativ int flavor data int drag int item ref int type byte data ptr int data size int data offset public static final nativ int flavor data size int drag int item ref int type int data size geteventtim ehandl getflavordata thedrag theitemref thetyp dataptr datas dataoffset getflavordatas thedrag theitemref thetyp datas public static final nativ int flavor data int drag int item ref int type byte data ptr int data size int data offset public static final nativ int flavor data size int drag int item ref int type int data size public static final nativ int flavor type int drag int item ref short index int type getflavordata thedrag theitemref thetyp dataptr datas dataoffset getflavordatas thedrag theitemref thetyp datas getflavortyp thedrag theitemref thetyp public static final nativ int flavor data size int drag int item ref int type int data size public static final nativ int flavor type int drag int item ref short index int type public static final nativ void font info font info info getflavordatas thedrag theitemref thetyp datas getflavortyp thedrag theitemref thetyp getfontinfo fontinfo public static final nativ int flavor type int drag int item ref short index int type public static final nativ void font info font info info public static final nativ int getg devic getflavortyp thedrag theitemref thetyp getfontinfo fontinfo getgdevic public static final nativ void font info font info info public static final nativ int getg devic public static final nativ void getg int port handl int gd handl getfontinfo fontinfo getgdevic getgworld porthandl gdhandl public static final nativ int getg devic public static final nativ void getg int port handl int gd handl public static final nativ void global mous point getgdevic getgworld porthandl gdhandl getglobalmous public static final nativ void getg int port handl int gd handl public static final nativ void global mous point public static final nativ int handl size int handl getgworld porthandl gdhandl getglobalmous gethandles public static final nativ void global mous point public static final nativ int handl size int handl public static final nativ int icon famili data int icon famili int icon type int getglobalmous gethandles geticonfamilydata iconfamili icontyp public static final nativ int handl size int handl public static final nativ int icon famili data int icon famili int icon type int public static final nativ int icon ref short ref num int creator int icon type int icon ref gethandles geticonfamilydata iconfamili icontyp geticonref vrefnum icontyp theiconref public static final nativ int icon famili data int icon famili int icon type int public static final nativ int icon ref short ref num int creator int icon type int icon ref public static final nativ int ind menu item commandid int handl int command id int index int menu short index geticonfamilydata iconfamili icontyp geticonref vrefnum icontyp theiconref getindmenuitemwithcommandid mhandl commandid outmenu outindex public static final nativ int icon ref short ref num int creator int icon type int icon ref public static final nativ int ind menu item commandid int handl int command id int index int menu short index public static final nativ int index control int handl short index int handl geticonref vrefnum icontyp theiconref getindmenuitemwithcommandid mhandl commandid outmenu outindex getindexedsubcontrol chandl outhandl public static final nativ int ind menu item commandid int handl int command id int index int menu short index public static final nativ int index control int handl short index int handl public static final nativ void item mark int menu short item short mark char getindmenuitemwithcommandid mhandl commandid outmenu outindex getindexedsubcontrol chandl outhandl getitemmark themenu markchar public static final nativ int index control int handl short index int handl public static final nativ void item mark int menu short item short mark char public static final nativ int keyboard focu int handl int handl getindexedsubcontrol chandl outhandl getitemmark themenu markchar getkeyboardfocu whandl chandl public static final nativ void item mark int menu short item short mark char public static final nativ int keyboard focu int handl int handl public static final nativ doubl user event getitemmark themenu markchar getkeyboardfocu whandl chandl getlastusereventtim public static final nativ int keyboard focu int handl int handl public static final nativ doubl user event public static final nativ int main devic getkeyboardfocu whandl chandl getlastusereventtim getmaindevic public static final nativ doubl user event public static final nativ int main devic public static final nativ int main event queue getlastusereventtim getmaindevic getmaineventqueu public static final nativ int main devic public static final nativ int main event queue public static final nativ int getm bar height getmaindevic getmaineventqueu getmbarheight public static final nativ int main event queue public static final nativ int getm bar height public static final nativ int menu command mark int menu int command id char mark getmaineventqueu getmbarheight getmenucommandmark themenu commandid outmark public static final nativ int getm bar height public static final nativ int menu command mark int menu int command id char mark public static final nativ int menu event target int handl getmbarheight getmenucommandmark themenu commandid outmark getmenueventtarget chandl public static final nativ int menu command mark int menu int command id char mark public static final nativ int menu event target int handl public static final nativ int menu font int menu short fontid short font size getmenucommandmark themenu commandid outmark getmenueventtarget chandl getmenufont inmenu outfontid outfonts public static final nativ int menu event target int handl public static final nativ int menu font int menu short fontid short font size public static final nativ short menu height int menu getmenueventtarget chandl getmenufont inmenu outfontid outfonts getmenuheight inmenu public static final nativ int menu font int menu short fontid short font size public static final nativ short menu height int menu public static final nativ short menuid int menu getmenufont inmenu outfontid outfonts getmenuheight inmenu getmenuid public static final nativ short menu height int menu public static final nativ short menuid int menu public static final nativ int menu item commandid int menu short item int commandid getmenuheight inmenu getmenuid getmenuitemcommandid inmenu initem outcommandid public static final nativ short menuid int menu public static final nativ int menu item commandid int menu short item int commandid public static final nativ int menu item hierarch menu int menu short item int hier menu getmenuid getmenuitemcommandid inmenu initem outcommandid getmenuitemhierarchicalmenu inmenu initem outhiermenu public static final nativ int menu item commandid int menu short item int commandid public static final nativ int menu item hierarch menu int menu short item int hier menu public static final nativ int menu item ref con int menu short int item int ref con getmenuitemcommandid inmenu initem outcommandid getmenuitemhierarchicalmenu inmenu initem outhiermenu getmenuitemrefcon inmenu intitem outrefcon public static final nativ int menu item hierarch menu int menu short item int hier menu public static final nativ int menu item ref con int menu short int item int ref con public static final nativ int menu track data int menu menu track data data getmenuitemhierarchicalmenu inmenu initem outhiermenu getmenuitemrefcon inmenu intitem outrefcon getmenutrackingdata menutrackingdata outdata public static final nativ int menu item ref con int menu short int item int ref con public static final nativ int menu track data int menu menu track data data public static final nativ short menu width int menu getmenuitemrefcon inmenu intitem outrefcon getmenutrackingdata menutrackingdata outdata getmenuwidth inmenu public static final nativ int menu track data int menu menu track data data public static final nativ short menu width int menu public static final nativ void mous point getmenutrackingdata menutrackingdata outdata getmenuwidth inmenu getmous public static final nativ short menu width int menu public static final nativ void mous point public static final nativ int devic int cur devic getmenuwidth inmenu getmous getnextdevic curdevic public static final nativ void mous point public static final nativ int devic int cur devic public static final nativ void pix bound int handl rect bound getmous getnextdevic curdevic getpixbound phandl public static final nativ int devic int cur devic public static final nativ void pix bound int handl rect bound public static final nativ short pix depth int handl getnextdevic curdevic getpixbound phandl getpixdepth phandl public static final nativ void pix bound int handl rect bound public static final nativ short pix depth int handl public static final nativ void port int port getpixbound phandl getpixdepth phandl getport public static final nativ short pix depth int handl public static final nativ void port int port public static final nativ int port bit map copi bit int port handl getpixdepth phandl getport getportbitmapforcopybit porthandl public static final nativ void port int port public static final nativ int port bit map copi bit int port handl public static final nativ void port bound int handl rect rect getport getportbitmapforcopybit porthandl getportbound phandl public static final nativ int port bit map copi bit int port handl public static final nativ void port bound int handl rect rect public static final nativ void port clip region int port int clip rgn getportbitmapforcopybit porthandl getportbound phandl getportclipregion cliprgn public static final nativ void port bound int handl rect rect public static final nativ void port clip region int port int clip rgn public static final nativ int port visibl region int port handl int rgn handl getportbound phandl getportclipregion cliprgn getportvisibleregion porthandl rgnhandl public static final nativ void port clip region int port int clip rgn public static final nativ int port visibl region int port handl int rgn handl public static final nativ int ptr size int ptr getportclipregion cliprgn getportvisibleregion porthandl rgnhandl getptrsiz public static final nativ int port visibl region int port handl int rgn handl public static final nativ int ptr size int ptr public static final nativ void region bound int rgn handl rect bound getportvisibleregion porthandl rgnhandl getptrsiz getregionbound rgnhandl public static final nativ int ptr size int ptr public static final nativ void region bound int rgn handl rect bound public static final nativ int root control int window handl int handl getptrsiz getregionbound rgnhandl getrootcontrol windowhandl chandl public static final nativ void region bound int rgn handl rect bound public static final nativ int root control int window handl int handl public static final nativ int scrap flavor count int scrap int info count getregionbound rgnhandl getrootcontrol windowhandl chandl getscrapflavorcount infocount public static final nativ int root control int window handl int handl public static final nativ int scrap flavor count int scrap int info count public static final nativ int scrap flavor data int scrap int flavor type int byte count byte destin getrootcontrol windowhandl chandl getscrapflavorcount infocount getscrapflavordata flavortyp bytecount public static final nativ int scrap flavor count int scrap int info count public static final nativ int scrap flavor data int scrap int flavor type int byte count byte destin public static final nativ int scrap flavor info list int scrap int info count int info getscrapflavorcount infocount getscrapflavordata flavortyp bytecount getscrapflavorinfolist infocount public static final nativ int scrap flavor data int scrap int flavor type int byte count byte destin public static final nativ int scrap flavor info list int scrap int info count int info public static final nativ int scrap flavor size int scrap int flavor type int byte count getscrapflavordata flavortyp bytecount getscrapflavorinfolist infocount getscrapflavors flavortyp bytecount public static final nativ int scrap flavor info list int scrap int info count int info public static final nativ int scrap flavor size int scrap int flavor type int byte count public static final nativ int script manag variabl short selector getscrapflavorinfolist infocount getscrapflavors flavortyp bytecount getscriptmanagervari public static final nativ int scrap flavor size int scrap int flavor type int byte count public static final nativ int script manag variabl short selector public static final nativ int super control int handl int parent handl getscrapflavors flavortyp bytecount getscriptmanagervari getsupercontrol chandl parenthandl public static final nativ int script manag variabl short selector public static final nativ int super control int handl int parent handl public static final nativ int tab content rect int control rect rect getscriptmanagervari getsupercontrol chandl parenthandl gettabcontentrect thecontrol public static final nativ int super control int handl int parent handl public static final nativ int tab content rect int control rect rect public static final nativ int theme brush color short brush short depth boolean color dev rgb color color getsupercontrol chandl parenthandl gettabcontentrect thecontrol getthemebrushascolor inbrush indepth incolordev rgbcolor outcolor public static final nativ int tab content rect int control rect rect public static final nativ int theme brush color short brush short depth boolean color dev rgb color color public static final nativ int theme button content bound rect bound int kind theme button draw info draw info rect bound gettabcontentrect thecontrol getthemebrushascolor inbrush indepth incolordev rgbcolor outcolor getthemebuttoncontentbound inbound inkind themebuttondrawinfo indrawinfo outbound public static final nativ int theme brush color short brush short depth boolean color dev rgb color color public static final nativ int theme button content bound rect bound int kind theme button draw info draw info rect bound public static final nativ int theme draw int getthemebrushascolor inbrush indepth incolordev rgbcolor outcolor getthemebuttoncontentbound inbound inkind themebuttondrawinfo indrawinfo outbound getthemedrawingst public static final nativ int theme button content bound rect bound int kind theme button draw info draw info rect bound public static final nativ int theme draw int public static final nativ int theme font short theme font id short script code byte font short font size byte style getthemebuttoncontentbound inbound inkind themebuttondrawinfo indrawinfo outbound getthemedrawingst getthemefont themefontid scriptcod fontnam fontsiz public static final nativ int theme draw int public static final nativ int theme font short theme font id short script code byte font short font size byte style public static final nativ int theme menu item extra short item type short height short width getthemedrawingst getthemefont themefontid scriptcod fontnam fontsiz getthememenuitemextra initemtyp outheight outwidth public static final nativ int theme font short theme font id short script code byte font short font size byte style public static final nativ int theme menu item extra short item type short height short width public static final nativ int theme metric int metric int metric getthemefont themefontid scriptcod fontnam fontsiz getthememenuitemextra initemtyp outheight outwidth getthememetr inmetr outmetr public static final nativ int theme menu item extra short item type short height short width public static final nativ int theme metric int metric int metric public static final nativ int theme text color short color short depth boolean color dev rgb color color getthememenuitemextra initemtyp outheight outwidth getthememetr inmetr outmetr getthemetextcolor incolor indepth incolordev rgbcolor outcolor public static final nativ int theme metric int metric int metric public static final nativ int theme text color short color short depth boolean color dev rgb color color public static final nativ int theme text dimens int handl short fontid int boolean wrap width point io bound short base line getthememetr inmetr outmetr getthemetextcolor incolor indepth incolordev rgbcolor outcolor getthemetextdimens shandl wraptowidth iobound baselin public static final nativ int theme text color short color short depth boolean color dev rgb color color public static final nativ int theme text dimens int handl short fontid int boolean wrap width point io bound short base line public static final nativ int user focu event target getthemetextcolor incolor indepth incolordev rgbcolor outcolor getthemetextdimens shandl wraptowidth iobound baselin getuserfocuseventtarget public static final nativ int theme text dimens int handl short fontid int boolean wrap width point io bound short base line public static final nativ int user focu event target public static final nativ int user focu window getthemetextdimens shandl wraptowidth iobound baselin getuserfocuseventtarget getuserfocuswindow public static final nativ int user focu event target public static final nativ int user focu window public static final nativ int getw ref con int handl getuserfocuseventtarget getuserfocuswindow getwrefcon whandl public static final nativ int user focu window public static final nativ int getw ref con int handl public static final nativ int window activ scope int window int scope getuserfocuswindow getwrefcon whandl getwindowactivationscop inwindow outscop public static final nativ int getw ref con int handl public static final nativ int window activ scope int window int scope public static final nativ void window bound int handl short window region rect bound getwrefcon whandl getwindowactivationscop inwindow outscop getwindowbound whandl windowregion public static final nativ int window activ scope int window int scope public static final nativ void window bound int handl short window region rect bound public static final nativ int window default button int handl int handl getwindowactivationscop inwindow outscop getwindowbound whandl windowregion getwindowdefaultbutton whandl chandl public static final nativ void window bound int handl short window region rect bound public static final nativ int window default button int handl int handl public static final nativ int window event target int handl getwindowbound whandl windowregion getwindowdefaultbutton whandl chandl getwindoweventtarget whandl public static final nativ int window default button int handl int handl public static final nativ int window event target int handl public static final nativ int window port int handl getwindowdefaultbutton whandl chandl getwindoweventtarget whandl getwindowfromport phandl public static final nativ int window event target int handl public static final nativ int window port int handl public static final nativ int window group class int window class getwindoweventtarget whandl getwindowfromport phandl getwindowgroupofclass windowclass public static final nativ int window port int handl public static final nativ int window group class int window class public static final nativ int window modal int window int modal kind int unavail window getwindowfromport phandl getwindowgroupofclass windowclass getwindowmod inwindow outmodalkind outunavailablewindow public static final nativ int window group class int window class public static final nativ int window modal int window int modal kind int unavail window public static final nativ int window port int handl getwindowgroupofclass windowclass getwindowmod inwindow outmodalkind outunavailablewindow getwindowport whandl public static final nativ int window modal int window int modal kind int unavail window public static final nativ int window port int handl public static final nativ int window region int window short region code int io win rgn getwindowmod inwindow outmodalkind outunavailablewindow getwindowport whandl getwindowregion inregioncod iowinrgn public static final nativ int window port int handl public static final nativ int window region int window short region code int io win rgn public static final nativ void window structur width int int window rect rect getwindowport whandl getwindowregion inregioncod iowinrgn getwindowstructurewidth intwindow outrect public static final nativ int window region int window short region code int io win rgn public static final nativ void window structur width int int window rect rect public static final nativ int handl control set cursor int control point local point int modifi boolean cursor set getwindowregion inregioncod iowinrgn getwindowstructurewidth intwindow outrect handlecontrolsetcursor localpoint cursorwasset public static final nativ void window structur width int int window rect rect public static final nativ int handl control set cursor int control point local point int modifi boolean cursor set public static final nativ int hi combo box append text item int combo box int text int index getwindowstructurewidth intwindow outrect handlecontrolsetcursor localpoint cursorwasset hicomboboxappendtextitem incombobox intext outindex public static final nativ int handl control set cursor int control point local point int modifi boolean cursor set public static final nativ int hi combo box append text item int combo box int text int index public static final nativ int hi combo box copi text item index int combo box int index int string handlecontrolsetcursor localpoint cursorwasset hicomboboxappendtextitem incombobox intext outindex hicomboboxcopytextitematindex incombobox inindex outstr public static final nativ int hi combo box append text item int combo box int text int index public static final nativ int hi combo box copi text item index int combo box int index int string public static final nativ int hi combo box creat cg rect bound rect int text control font style rec style int list int attribut int combo box hicomboboxappendtextitem incombobox intext outindex hicomboboxcopytextitematindex incombobox inindex outstr hicomboboxcr cgrect boundsrect controlfontstylerec inattribut outcombobox public static final nativ int hi combo box copi text item index int combo box int index int string public static final nativ int hi combo box creat cg rect bound rect int text control font style rec style int list int attribut int combo box public static final nativ int hi combo box item count int combo box hicomboboxcopytextitematindex incombobox inindex outstr hicomboboxcr cgrect boundsrect controlfontstylerec inattribut outcombobox hicomboboxgetitemcount incombobox public static final nativ int hi combo box creat cg rect bound rect int text control font style rec style int list int attribut int combo box public static final nativ int hi combo box item count int combo box public static final nativ int hi combo box insert text item index int combo box int index int text hicomboboxcr cgrect boundsrect controlfontstylerec inattribut outcombobox hicomboboxgetitemcount incombobox hicomboboxinserttextitematindex incombobox inindex intext public static final nativ int hi combo box item count int combo box public static final nativ int hi combo box insert text item index int combo box int index int text public static final nativ int hi combo box remov item index int combo box int index hicomboboxgetitemcount incombobox hicomboboxinserttextitematindex incombobox inindex intext hicomboboxremoveitematindex incombobox inindex public static final nativ int hi combo box insert text item index int combo box int index int text public static final nativ int hi combo box remov item index int combo box int index public static final nativ int hi object copi classid int object hicomboboxinserttextitematindex incombobox inindex intext hicomboboxremoveitematindex incombobox inindex hiobjectcopyclassid inobject public static final nativ int hi combo box remov item index int combo box int index public static final nativ int hi object copi classid int object public static final nativ int hi object creat int classid int construct data int object hicomboboxremoveitematindex incombobox inindex hiobjectcopyclassid inobject hiobjectcr inclassid inconstructdata outobject public static final nativ int hi object copi classid int object public static final nativ int hi object creat int classid int construct data int object public static final nativ int hi object regist subclass int classid int base classid int option int construct proc int num event int event list int construct data int class ref hiobjectcopyclassid inobject hiobjectcr inclassid inconstructdata outobject hiobjectregistersubclass inclassid inbaseclassid inopt inconstructproc innumev ineventlist inconstructdata outclassref public static final nativ int hi object creat int classid int construct data int object public static final nativ int hi object regist subclass int classid int base classid int option int construct proc int num event int event list int construct data int class ref public static final nativ int hi view add subview int parent int child hiobjectcr inclassid inconstructdata outobject hiobjectregistersubclass inclassid inbaseclassid inopt inconstructproc innumev ineventlist inconstructdata outclassref hiviewaddsubview public static final nativ int hi object regist subclass int classid int base classid int option int construct proc int num event int event list int construct data int class ref public static final nativ int hi view add subview int parent int child public static final nativ int hi view click int view int event hiobjectregistersubclass inclassid inbaseclassid inopt inconstructproc innumev ineventlist inconstructdata outclassref hiviewaddsubview hiviewclick inview inev public static final nativ int hi view add subview int parent int child public static final nativ int hi view click int view int event public static final nativ int hi view convert point cg point io point int sourc view int dest view hiviewaddsubview hiviewclick inview inev hiviewconvertpoint cgpoint iopoint insourceview indestview public static final nativ int hi view click int view int event public static final nativ int hi view convert point cg point io point int sourc view int dest view public static final nativ int hi view creat offscreen imag int view int option cg rect frame int imag hiviewclick inview inev hiviewconvertpoint cgpoint iopoint insourceview indestview hiviewcreateoffscreenimag inview inopt cgrect outfram outimag public static final nativ int hi view convert point cg point io point int sourc view int dest view public static final nativ int hi view creat offscreen imag int view int option cg rect frame int imag public static final nativ int hi view find byid int start view int inid int control hiviewconvertpoint cgpoint iopoint insourceview indestview hiviewcreateoffscreenimag inview inopt cgrect outfram outimag hiviewfindbyid instartview outcontrol public static final nativ int hi view creat offscreen imag int view int option cg rect frame int imag public static final nativ int hi view find byid int start view int inid int control public static final nativ int hi view subview int view hiviewcreateoffscreenimag inview inopt cgrect outfram outimag hiviewfindbyid instartview outcontrol hiviewgetfirstsubview inview public static final nativ int hi view find byid int start view int inid int control public static final nativ int hi view subview int view public static final nativ int hi view subview int view hiviewfindbyid instartview outcontrol hiviewgetfirstsubview inview hiviewgetlastsubview inview public static final nativ int hi view subview int view public static final nativ int hi view subview int view public static final nativ int hi view view int view hiviewgetfirstsubview inview hiviewgetlastsubview inview hiviewgetnextview inview public static final nativ int hi view subview int view public static final nativ int hi view view int view public static final nativ int hi view frame int view cg rect rect hiviewgetlastsubview inview hiviewgetnextview inview hiviewgetfram inview cgrect outrect public static final nativ int hi view view int view public static final nativ int hi view frame int view cg rect rect public static final nativ int hi view root int handl hiviewgetnextview inview hiviewgetfram inview cgrect outrect hiviewgetroot whandl public static final nativ int hi view frame int view cg rect rect public static final nativ int hi view root int handl public static final nativ int hi view size constraint int view cg rect min size cg rect max size hiviewgetfram inview cgrect outrect hiviewgetroot whandl hiviewgetsizeconstraint inview cgrect outmins cgrect outmaxs public static final nativ int hi view root int handl public static final nativ int hi view size constraint int view cg rect min size cg rect max size public static final nativ int hi view subview hit int view cg point point boolean deep int view hiviewgetroot whandl hiviewgetsizeconstraint inview cgrect outmins cgrect outmaxs hiviewgetsubviewhit inview cgpoint inpoint indeep outview public static final nativ int hi view size constraint int view cg rect min size cg rect max size public static final nativ int hi view subview hit int view cg point point boolean deep int view public static final nativ int hi view view mous event int view int event int view hiviewgetsizeconstraint inview cgrect outmins cgrect outmaxs hiviewgetsubviewhit inview cgpoint inpoint indeep outview hiviewgetviewformouseev inview inev outview public static final nativ int hi view subview hit int view cg point point boolean deep int view public static final nativ int hi view view mous event int view int event int view public static final nativ boolean hi view visibl int view hiviewgetsubviewhit inview cgpoint inpoint indeep outview hiviewgetviewformouseev inview inev outview hiviewisvis inview public static final nativ int hi view view mous event int view int event int view public static final nativ boolean hi view visibl int view public static final nativ int hi view remov superview int view hiviewgetviewformouseev inview inev outview hiviewisvis inview hiviewremovefromsuperview inview public static final nativ boolean hi view visibl int view public static final nativ int hi view remov superview int view public static final nativ int hi view set bound origin int view float inx float ini hiviewisvis inview hiviewremovefromsuperview inview hiviewsetboundsorigin inview public static final nativ int hi view remov superview int view public static final nativ int hi view set bound origin int view float inx float ini public static final nativ int hi view set draw enabl int view boolean enabl hiviewremovefromsuperview inview hiviewsetboundsorigin inview hiviewsetdrawingen inview isen public static final nativ int hi view set bound origin int view float inx float ini public static final nativ int hi view set draw enabl int view boolean enabl public static final nativ int hi view set frame int view cg rect rect hiviewsetboundsorigin inview hiviewsetdrawingen inview isen hiviewsetfram inview cgrect inrect public static final nativ int hi view set draw enabl int view boolean enabl public static final nativ int hi view set frame int view cg rect rect public static final nativ int hi view set need displai int view boolean need displai hiviewsetdrawingen inview isen hiviewsetfram inview cgrect inrect hiviewsetneedsdisplai inview inneedsdisplai public static final nativ int hi view set frame int view cg rect rect public static final nativ int hi view set need displai int view boolean need displai public static final nativ int hi view set need displai region int view int rgn boolean need displai hiviewsetfram inview cgrect inrect hiviewsetneedsdisplai inview inneedsdisplai hiviewsetneedsdisplayinregion inview inrgn inneedsdisplai public static final nativ int hi view set need displai int view boolean need displai public static final nativ int hi view set need displai region int view int rgn boolean need displai public static final nativ int hi view set visibl int view boolean visibl hiviewsetneedsdisplai inview inneedsdisplai hiviewsetneedsdisplayinregion inview inrgn inneedsdisplai hiviewsetvis inview invis public static final nativ int hi view set need displai region int view int rgn boolean need displai public static final nativ int hi view set visibl int view boolean visibl public static final nativ int hi view setz order int view int op int hiviewsetneedsdisplayinregion inview inrgn inneedsdisplai hiviewsetvis inview invis hiviewsetzord inview inop inoth public static final nativ int hi view set visibl int view boolean visibl public static final nativ int hi view setz order int view int op int public static final nativ int hi view simul click int view short part click int modifi short part click hiviewsetvis inview invis hiviewsetzord inview inop inoth hiviewsimulateclick inview inparttoclick outpartclick public static final nativ int hi view setz order int view int op int public static final nativ int hi view simul click int view short part click int modifi short part click public static final nativ short handl control click int handl point int modifi int actionupp hiviewsetzord inview inop inoth hiviewsimulateclick inview inparttoclick outpartclick handlecontrolclick chandl public static final nativ int hi view simul click int view short part click int modifi short part click public static final nativ short handl control click int handl point int modifi int actionupp public static final nativ short hi word int doubl word hiviewsimulateclick inview inparttoclick outpartclick handlecontrolclick chandl hiword doubleword public static final nativ short handl control click int handl point int modifi int actionupp public static final nativ short hi word int doubl word public static final nativ void hide window int handl handlecontrolclick chandl hiword doubleword hidewindow whandl public static final nativ short hi word int doubl word public static final nativ void hide window int handl public static final nativ void hilit menu short menuid hiword doubleword hidewindow whandl hilitemenu public static final nativ void hide window int handl public static final nativ void hilit menu short menuid public static final nativ void lock int hidewindow whandl hilitemenu hlock public static final nativ void hilit menu short menuid public static final nativ void lock int public static final nativ int hm tag delai int delai hilitemenu hlock hmgettagdelai outdelai public static final nativ void lock int public static final nativ int hm tag delai int delai public static final nativ int hm hide tag hlock hmgettagdelai outdelai hmhidetag public static final nativ int hm tag delai int delai public static final nativ int hm hide tag public static final nativ int hm set tag delai int delai hmgettagdelai outdelai hmhidetag hmsettagdelai indelai public static final nativ int hm hide tag public static final nativ int hm set tag delai int delai public static final nativ void hm instal control content callback int control int contentupp hmhidetag hmsettagdelai indelai hminstallcontrolcontentcallback incontrol incontentupp public static final nativ int hm set tag delai int delai public static final nativ void hm instal control content callback int control int contentupp public static final nativ void unlock int hmsettagdelai indelai hminstallcontrolcontentcallback incontrol incontentupp hunlock public static final nativ void hm instal control content callback int control int contentupp public static final nativ void unlock int public static final nativ int icon ref icon famili int icon ref int icon int icon famili hminstallcontrolcontentcallback incontrol incontentupp hunlock iconreftoiconfamili theiconref whichicon iconfamili public static final nativ void unlock int public static final nativ int icon ref icon famili int icon ref int icon int icon famili public static final nativ int init contextu menu hunlock iconreftoiconfamili theiconref whichicon iconfamili initcontextualmenu public static final nativ int icon ref icon famili int icon ref int icon int icon famili public static final nativ int init contextu menu public static final nativ void init cursor iconreftoiconfamili theiconref whichicon iconfamili initcontextualmenu initcursor public static final nativ int init contextu menu public static final nativ void init cursor public static final nativ int init data browser callback data browser callback callback initcontextualmenu initcursor initdatabrowsercallback databrowsercallback public static final nativ void init cursor public static final nativ int init data browser callback data browser callback callback public static final nativ int init data browser custom callback data browser custom callback callback initcursor initdatabrowsercallback databrowsercallback initdatabrowsercustomcallback databrowsercustomcallback public static final nativ int init data browser callback data browser callback callback public static final nativ int init data browser custom callback data browser custom callback callback public static final nativ void insert menu int handl short beforeid initdatabrowsercallback databrowsercallback initdatabrowsercustomcallback databrowsercustomcallback insertmenu mhandl public static final nativ int init data browser custom callback data browser custom callback callback public static final nativ void insert menu int handl short beforeid public static final nativ int insert menu item text withcf string int handl int handl short index int attribut int commandid initdatabrowsercustomcallback databrowsercustomcallback insertmenu mhandl insertmenuitemtextwithcfstr mhandl shandl public static final nativ void insert menu int handl short beforeid public static final nativ int insert menu item text withcf string int handl int handl short index int attribut int commandid public static final nativ int instal event handler int target int handler int num type int list int user data int ref insertmenu mhandl insertmenuitemtextwithcfstr mhandl shandl installeventhandl intarget inhandl innumtyp inlist inuserdata outref public static final nativ int insert menu item text withcf string int handl int handl short index int attribut int commandid public static final nativ int instal event handler int target int handler int num type int list int user data int ref public static final nativ int instal event loop timer int event loop doubl fire delai doubl interv int timer proc int timer data int timer insertmenuitemtextwithcfstr mhandl shandl installeventhandl intarget inhandl innumtyp inlist inuserdata outref installeventlooptim ineventloop infiredelai ininterv intimerproc intimerdata outtim public static final nativ int instal event handler int target int handler int num type int list int user data int ref public static final nativ int instal event loop timer int event loop doubl fire delai doubl interv int timer proc int timer data int timer public static final nativ int instal receiv handler int receiv handler int window int handler ref con installeventhandl intarget inhandl innumtyp inlist inuserdata outref installeventlooptim ineventloop infiredelai ininterv intimerproc intimerdata outtim installreceivehandl receivehandl thewindow handlerrefcon public static final nativ int instal event loop timer int event loop doubl fire delai doubl interv int timer proc int timer data int timer public static final nativ int instal receiv handler int receiv handler int window int handler ref con public static final nativ int instal track handler int track handler int window int handler ref con installeventlooptim ineventloop infiredelai ininterv intimerproc intimerdata outtim installreceivehandl receivehandl thewindow handlerrefcon installtrackinghandl trackinghandl thewindow handlerrefcon public static final nativ int instal receiv handler int receiv handler int window int handler ref con public static final nativ int instal track handler int track handler int window int handler ref con public static final nativ void inval window rect int handl rect bound installreceivehandl receivehandl thewindow handlerrefcon installtrackinghandl trackinghandl thewindow handlerrefcon invalwindowrect whandl public static final nativ int instal track handler int track handler int window int handler ref con public static final nativ void inval window rect int handl rect bound public static final nativ void inval window rgn int handl int rgn handl installtrackinghandl trackinghandl thewindow handlerrefcon invalwindowrect whandl invalwindowrgn whandl rgnhandl public static final nativ void inval window rect int handl rect bound public static final nativ void inval window rgn int handl int rgn handl public static final nativ void invert rect rect invalwindowrect whandl invalwindowrgn whandl rgnhandl invertrect public static final nativ void inval window rgn int handl int rgn handl public static final nativ void invert rect rect public static final nativ void invert rgn int rgn handl invalwindowrgn whandl rgnhandl invertrect invertrgn rgnhandl public static final nativ void invert rect rect public static final nativ void invert rgn int rgn handl public static final nativ boolean control activ int control invertrect invertrgn rgnhandl iscontrolact incontrol public static final nativ void invert rgn int rgn handl public static final nativ boolean control activ int control public static final nativ boolean control enabl int handl invertrgn rgnhandl iscontrolact incontrol iscontrolen chandl public static final nativ boolean control activ int control public static final nativ boolean control enabl int handl public static final nativ boolean control visibl int handl iscontrolact incontrol iscontrolen chandl iscontrolvis chandl public static final nativ boolean control enabl int handl public static final nativ boolean control visibl int handl public static final nativ boolean data browser item select int handl int itemid iscontrolen chandl iscontrolvis chandl isdatabrowseritemselect chandl public static final nativ boolean control visibl int handl public static final nativ boolean data browser item select int handl int itemid public static final nativ boolean menu command enabl int handl int command id iscontrolvis chandl isdatabrowseritemselect chandl ismenucommanden mhandl commandid public static final nativ boolean data browser item select int handl int itemid public static final nativ boolean menu command enabl int handl int command id public static final nativ boolean menu item enabl int handl short index isdatabrowseritemselect chandl ismenucommanden mhandl commandid ismenuitemen mhandl public static final nativ boolean menu command enabl int handl int command id public static final nativ boolean menu item enabl int handl short index public static final nativ boolean valid control handl int handl ismenucommanden mhandl commandid ismenuitemen mhandl isvalidcontrolhandl chandl public static final nativ boolean menu item enabl int handl short index public static final nativ boolean valid control handl int handl public static final nativ boolean valid menu int handl ismenuitemen mhandl isvalidcontrolhandl chandl isvalidmenu mhandl public static final nativ boolean valid control handl int handl public static final nativ boolean valid menu int handl public static final nativ boolean valid window ptr int graf port isvalidcontrolhandl chandl isvalidmenu mhandl isvalidwindowptr grafport public static final nativ boolean valid menu int handl public static final nativ boolean valid window ptr int graf port public static final nativ boolean window activ int window isvalidmenu mhandl isvalidwindowptr grafport iswindowact public static final nativ boolean valid window ptr int graf port public static final nativ boolean window activ int window public static final nativ boolean window collaps int window isvalidwindowptr grafport iswindowact iswindowcollaps public static final nativ boolean window activ int window public static final nativ boolean window collaps int window public static final nativ boolean window visibl int window iswindowact iswindowcollaps iswindowvis public static final nativ boolean window collaps int window public static final nativ boolean window visibl int window public static final nativ int kei translat int tran data short keycod int iswindowcollaps iswindowvis keytransl transdata public static final nativ boolean window visibl int window public static final nativ int kei translat int tran data short keycod int public static final nativ void kill poli int poli handl iswindowvis keytransl transdata killpoli polyhandl public static final nativ int kei translat int tran data short keycod int public static final nativ void kill poli int poli handl public static final nativ void line short short keytransl transdata killpoli polyhandl lineto public static final nativ void kill poli int poli handl public static final nativ void line short short public static final nativ int long2 fix int killpoli polyhandl lineto long2fix public static final nativ void line short short public static final nativ int long2 fix int public static final nativ short lo word int doubl word lineto long2fix loword doubleword public static final nativ int long2 fix int public static final nativ short lo word int doubl word public static final nativ int lock port bit int port handl long2fix loword doubleword lockportbit porthandl public static final nativ short lo word int doubl word public static final nativ int lock port bit int port handl public static final nativ int menu select point handl loword doubleword lockportbit porthandl menuselect mhandl public static final nativ int lock port bit int port handl public static final nativ int menu select point handl public static final nativ void move control int control short short lockportbit porthandl menuselect mhandl movecontrol thecontrol public static final nativ int menu select point handl public static final nativ void move control int control short short public static final nativ void move short short menuselect mhandl movecontrol thecontrol moveto public static final nativ void move control int control short short public static final nativ void move short short public static final nativ void move window int handl short short boolean front movecontrol thecontrol moveto movewindow whandl tofront public static final nativ void move short short public static final nativ void move window int handl short short boolean front public static final nativ int nav creat choos folder dialog nav dialog creation option option int event proc int filter proc int client data int dialog moveto movewindow whandl tofront navcreatechoosefolderdialog navdialogcreationopt inopt ineventproc infilterproc inclientdata outdialog public static final nativ void move window int handl short short boolean front public static final nativ int nav creat choos folder dialog nav dialog creation option option int event proc int filter proc int client data int dialog public static final nativ int nav creat file dialog nav dialog creation option option int type list int event proc int preview proc int filter proc int client data int dialog movewindow whandl tofront navcreatechoosefolderdialog navdialogcreationopt inopt ineventproc infilterproc inclientdata outdialog navcreategetfiledialog navdialogcreationopt inopt intypelist ineventproc inpreviewproc infilterproc inclientdata outdialog public static final nativ int nav creat choos folder dialog nav dialog creation option option int event proc int filter proc int client data int dialog public static final nativ int nav creat file dialog nav dialog creation option option int type list int event proc int preview proc int filter proc int client data int dialog public static final nativ int nav creat put file dialog nav dialog creation option option int file type int file creator int event proc int client data int dialog navcreatechoosefolderdialog navdialogcreationopt inopt ineventproc infilterproc inclientdata outdialog navcreategetfiledialog navdialogcreationopt inopt intypelist ineventproc inpreviewproc infilterproc inclientdata outdialog navcreateputfiledialog navdialogcreationopt inopt infiletyp infilecr ineventproc inclientdata outdialog public static final nativ int nav creat file dialog nav dialog creation option option int type list int event proc int preview proc int filter proc int client data int dialog public static final nativ int nav creat put file dialog nav dialog creation option option int file type int file creator int event proc int client data int dialog public static final nativ void nav dialog dispos int dialog handl navcreategetfiledialog navdialogcreationopt inopt intypelist ineventproc inpreviewproc infilterproc inclientdata outdialog navcreateputfiledialog navdialogcreationopt inopt infiletyp infilecr ineventproc inclientdata outdialog navdialogdispos dialoghandl public static final nativ int nav creat put file dialog nav dialog creation option option int file type int file creator int event proc int client data int dialog public static final nativ void nav dialog dispos int dialog handl public static final nativ int nav dialog save file int dialog handl navcreateputfiledialog navdialogcreationopt inopt infiletyp infilecr ineventproc inclientdata outdialog navdialogdispos dialoghandl navdialoggetsavefilenam dialoghandl public static final nativ void nav dialog dispos int dialog handl public static final nativ int nav dialog save file int dialog handl public static final nativ int nav dialog user action int dialog handl navdialogdispos dialoghandl navdialoggetsavefilenam dialoghandl navdialoggetuseract dialoghandl public static final nativ int nav dialog save file int dialog handl public static final nativ int nav dialog user action int dialog handl public static final nativ int nav dialog run int dialog handl navdialoggetsavefilenam dialoghandl navdialoggetuseract dialoghandl navdialogrun dialoghandl public static final nativ int nav dialog user action int dialog handl public static final nativ int nav dialog run int dialog handl public static final nativ int nav dialog set save file int dialog handl int file handl navdialoggetuseract dialoghandl navdialogrun dialoghandl navdialogsetsavefilenam dialoghandl filenamehandl public static final nativ int nav dialog run int dialog handl public static final nativ int nav dialog set save file int dialog handl int file handl public static final nativ int nav default dialog creation option nav dialog creation option option navdialogrun dialoghandl navdialogsetsavefilenam dialoghandl filenamehandl navgetdefaultdialogcreationopt navdialogcreationopt outopt public static final nativ int nav dialog set save file int dialog handl int file handl public static final nativ int nav default dialog creation option nav dialog creation option option public static final nativ int nav dialog repli int dialog nav repli record repli navdialogsetsavefilenam dialoghandl filenamehandl navgetdefaultdialogcreationopt navdialogcreationopt outopt navdialoggetrepli indialog navreplyrecord outrepli public static final nativ int nav default dialog creation option nav dialog creation option option public static final nativ int nav dialog repli int dialog nav repli record repli public static final nativ int control int own window rect bound rect byte control titl boolean initi visibl short initi short minimum short maximum short procid int control refer navgetdefaultdialogcreationopt navdialogcreationopt outopt navdialoggetrepli indialog navreplyrecord outrepli newcontrol owningwindow boundsrect controltitl initiallyvis initialvalu minimumvalu maximumvalu controlrefer public static final nativ int nav dialog repli int dialog nav repli record repli public static final nativ int control int own window rect bound rect byte control titl boolean initi visibl short initi short minimum short maximum short procid int control refer public static final nativ int drag int drag navdialoggetrepli indialog navreplyrecord outrepli newcontrol owningwindow boundsrect controltitl initiallyvis initialvalu minimumvalu maximumvalu controlrefer newdrag thedrag public static final nativ int control int own window rect bound rect byte control titl boolean initi visibl short initi short minimum short maximum short procid int control refer public static final nativ int drag int drag public static final nativ int newg ptr int offscreeng int pixel format rect bound rect int tabl int ag devic int flag int buffer int row byte newcontrol owningwindow boundsrect controltitl initiallyvis initialvalu minimumvalu maximumvalu controlrefer newdrag thedrag newgworldfromptr offscreengworld pixelformat boundsrect ctabl agdevic newbuff rowbyt public static final nativ int drag int drag public static final nativ int newg ptr int offscreeng int pixel format rect bound rect int tabl int ag devic int flag int buffer int row byte public static final nativ int handl int size newdrag thedrag newgworldfromptr offscreengworld pixelformat boundsrect ctabl agdevic newbuff rowbyt newhandl public static final nativ int newg ptr int offscreeng int pixel format rect bound rect int tabl int ag devic int flag int buffer int row byte public static final nativ int handl int size public static final nativ int handl clear int size newgworldfromptr offscreengworld pixelformat boundsrect ctabl agdevic newbuff rowbyt newhandl newhandleclear public static final nativ int handl int size public static final nativ int handl clear int size public static final nativ int ptr int size newhandl newhandleclear newptr public static final nativ int handl clear int size public static final nativ int ptr int size public static final nativ int ptr clear int size newhandleclear newptr newptrclear public static final nativ int ptr int size public static final nativ int ptr clear int size public static final nativ int rgn newptr newptrclear newrgn public static final nativ int ptr clear int size public static final nativ int rgn public static final nativ void offset rect rect rect short dh short dv newptrclear newrgn offsetrect public static final nativ int rgn public static final nativ void offset rect rect rect short dh short dv public static final nativ void offset rgn int rgn handl short dh short dv newrgn offsetrect offsetrgn rgnhandl public static final nativ void offset rect rect rect short dh short dv public static final nativ void offset rgn int rgn handl short dh short dv public static final nativ int open data browser contain int handl int contain offsetrect offsetrgn rgnhandl opendatabrowsercontain chandl public static final nativ void offset rgn int rgn handl short dh short dv public static final nativ int open data browser contain int handl int contain public static final nativ int open poli offsetrgn rgnhandl opendatabrowsercontain chandl openpoli public static final nativ int open data browser contain int handl int contain public static final nativ int open poli public static final nativ void open rgn opendatabrowsercontain chandl openpoli openrgn public static final nativ int open poli public static final nativ void open rgn public static final nativ void paint oval rect bound openpoli openrgn paintov public static final nativ void open rgn public static final nativ void paint oval rect bound public static final nativ void paint poli int poli handl openrgn paintov paintpoli polyhandl public static final nativ void paint oval rect bound public static final nativ void paint poli int poli handl public static final nativ void paint rect rect bound paintov paintpoli polyhandl paintrect public static final nativ void paint poli int poli handl public static final nativ void paint rect rect bound public static final nativ void paint round rect rect bound short oval width short oval height paintpoli polyhandl paintrect paintroundrect ovalwidth ovalheight public static final nativ void paint rect rect bound public static final nativ void paint round rect rect bound short oval width short oval height public static final nativ void pen size short short paintrect paintroundrect ovalwidth ovalheight pensiz public static final nativ void paint round rect rect bound short oval width short oval height public static final nativ void pen size short short public static final nativ int pick color color picker info color info paintroundrect ovalwidth ovalheight pensiz pickcolor colorpickerinfo thecolorinfo public static final nativ void pen size short short public static final nativ int pick color color picker info color info public static final nativ int pop menu select int handl short top short left short pop item pensiz pickcolor colorpickerinfo thecolorinfo popupmenuselect mhandl popupitem public static final nativ int pick color color picker info color info public static final nativ int pop menu select int handl short top short left short pop item public static final nativ int post event short event num int event msg pickcolor colorpickerinfo thecolorinfo popupmenuselect mhandl popupitem postev eventnum eventmsg public static final nativ int pop menu select int handl short top short left short pop item public static final nativ int post event short event num int event msg public static final nativ int post event queue int queue int event short prioriti popupmenuselect mhandl popupitem postev eventnum eventmsg posteventtoqueu inqueu inev inprior public static final nativ int post event short event num int event msg public static final nativ int post event queue int queue int event short prioriti public static final nativ int pm creat page format int page format postev eventnum eventmsg posteventtoqueu inqueu inev inprior pmcreatepageformat pageformat public static final nativ int post event queue int queue int event short prioriti public static final nativ int pm creat page format int page format public static final nativ int pm creat print set int print set posteventtoqueu inqueu inev inprior pmcreatepageformat pageformat pmcreateprintset printset public static final nativ int pm creat page format int page format public static final nativ int pm creat print set int print set public static final nativ int pm creat session int print session pmcreatepageformat pageformat pmcreateprintset printset pmcreatesess printsess public static final nativ int pm creat print set int print set public static final nativ int pm creat session int print session public static final nativ int pm flatten page format int page format int flat format pmcreateprintset printset pmcreatesess printsess pmflattenpageformat pageformat flatformat public static final nativ int pm creat session int print session public static final nativ int pm flatten page format int page format int flat format public static final nativ int pm flatten print set int print set int flat set pmcreatesess printsess pmflattenpageformat pageformat flatformat pmflattenprintset printset flatset public static final nativ int pm flatten page format int page format int flat format public static final nativ int pm flatten print set int print set int flat set public static final nativ int pm adjust page rect int page format pm rect page rect pmflattenpageformat pageformat flatformat pmflattenprintset printset flatset pmgetadjustedpagerect pageformat pmrect pagerect public static final nativ int pm flatten print set int print set int flat set public static final nativ int pm adjust page rect int page format pm rect page rect public static final nativ int pm adjust paper rect int page format pm rect paper rect pmflattenprintset printset flatset pmgetadjustedpagerect pageformat pmrect pagerect pmgetadjustedpaperrect pageformat pmrect paperrect public static final nativ int pm adjust page rect int page format pm rect page rect public static final nativ int pm adjust paper rect int page format pm rect paper rect public static final nativ int pm collat int print set boolean collat pmgetadjustedpagerect pageformat pmrect pagerect pmgetadjustedpaperrect pageformat pmrect paperrect pmgetcol printset public static final nativ int pm adjust paper rect int page format pm rect paper rect public static final nativ int pm collat int print set boolean collat public static final nativ int pm copi int print set int copi pmgetadjustedpaperrect pageformat pmrect paperrect pmgetcol printset pmgetcopi printset public static final nativ int pm collat int print set boolean collat public static final nativ int pm copi int print set int copi public static final nativ int pm page int print set int pmgetcol printset pmgetcopi printset pmgetfirstpag printset public static final nativ int pm copi int print set int copi public static final nativ int pm page int print set int public static final nativ int pm job namecf string int print set int pmgetcopi printset pmgetfirstpag printset pmgetjobnamecfstr printset public static final nativ int pm page int print set int public static final nativ int pm job namecf string int print set int public static final nativ int pm page int print set int pmgetfirstpag printset pmgetjobnamecfstr printset pmgetlastpag printset public static final nativ int pm job namecf string int print set int public static final nativ int pm page int print set int public static final nativ int pm page rang int print set int min page int max page pmgetjobnamecfstr printset pmgetlastpag printset pmgetpagerang printset minpag maxpag public static final nativ int pm page int print set int public static final nativ int pm page rang int print set int min page int max page public static final nativ int pm releas int print manag object pmgetlastpag printset pmgetpagerang printset minpag maxpag pmreleas printmanagerobject public static final nativ int pm page rang int print set int min page int max page public static final nativ int pm releas int print manag object public static final nativ int pm resolut int page format pm resolut resolut pmgetpagerang printset minpag maxpag pmreleas printmanagerobject pmgetresolut pageformat pmresolut public static final nativ int pm releas int print manag object public static final nativ int pm resolut int page format pm resolut resolut public static final nativ int pm session begin document dialog int print session int print set int page format pmreleas printmanagerobject pmgetresolut pageformat pmresolut pmsessionbegindocumentnodialog printsess printset pageformat public static final nativ int pm resolut int page format pm resolut resolut public static final nativ int pm session begin document dialog int print session int print set int page format public static final nativ int pm session begin page dialog int print session int page format pm rect page frame pmgetresolut pageformat pmresolut pmsessionbegindocumentnodialog printsess printset pageformat pmsessionbeginpagenodialog printsess pageformat pmrect pagefram public static final nativ int pm session begin document dialog int print session int print set int page format public static final nativ int pm session begin page dialog int print session int page format pm rect page frame public static final nativ int pm session copi destin locat int print session int print set int dest locationp pmsessionbegindocumentnodialog printsess printset pageformat pmsessionbeginpagenodialog printsess pageformat pmrect pagefram pmsessioncopydestinationloc printsess printset destlocationp public static final nativ int pm session begin page dialog int print session int page format pm rect page frame public static final nativ int pm session copi destin locat int print session int print set int dest locationp public static final nativ int pm session creat printer list int print session int printer list int current index int current printer pmsessionbeginpagenodialog printsess pageformat pmrect pagefram pmsessioncopydestinationloc printsess printset destlocationp pmsessioncreateprinterlist printsess printerlist currentindex currentprint public static final nativ int pm session copi destin locat int print session int print set int dest locationp public static final nativ int pm session creat printer list int print session int printer list int current index int current printer public static final nativ int pm session default page format int print session int page format pmsessioncopydestinationloc printsess printset destlocationp pmsessioncreateprinterlist printsess printerlist currentindex currentprint pmsessiondefaultpageformat printsess pageformat public static final nativ int pm session creat printer list int print session int printer list int current index int current printer public static final nativ int pm session default page format int print session int page format public static final nativ int pm session default print set int print session int print set pmsessioncreateprinterlist printsess printerlist currentindex currentprint pmsessiondefaultpageformat printsess pageformat pmsessiondefaultprintset printsess printset public static final nativ int pm session default page format int print session int page format public static final nativ int pm session default print set int print session int print set public static final nativ int pm session end document dialog int print session pmsessiondefaultpageformat printsess pageformat pmsessiondefaultprintset printsess printset pmsessionenddocumentnodialog printsess public static final nativ int pm session default print set int print session int print set public static final nativ int pm session end document dialog int print session public static final nativ int pm session end page dialog int print session pmsessiondefaultprintset printsess printset pmsessionenddocumentnodialog printsess pmsessionendpagenodialog printsess public static final nativ int pm session end document dialog int print session public static final nativ int pm session end page dialog int print session public static final nativ int pm session error int print session pmsessionenddocumentnodialog printsess pmsessionendpagenodialog printsess pmsessionerror printsess public static final nativ int pm session end page dialog int print session public static final nativ int pm session error int print session public static final nativ int pm session destin type int print session int print set short dest typep pmsessionendpagenodialog printsess pmsessionerror printsess pmsessiongetdestinationtyp printsess printset desttypep public static final nativ int pm session error int print session public static final nativ int pm session destin type int print session int print set short dest typep public static final nativ int pm session graphic context int print session int graphic type int graphic context pmsessionerror printsess pmsessiongetdestinationtyp printsess printset desttypep pmsessiongetgraphicscontext printsess graphicstyp graphicscontext public static final nativ int pm session destin type int print session int print set short dest typep public static final nativ int pm session graphic context int print session int graphic type int graphic context public static final nativ int pm session page setup dialog int print session int page format boolean result pmsessiongetdestinationtyp printsess printset desttypep pmsessiongetgraphicscontext printsess graphicstyp graphicscontext pmsessionpagesetupdialog printsess pageformat public static final nativ int pm session graphic context int print session int graphic type int graphic context public static final nativ int pm session page setup dialog int print session int page format boolean result public static final nativ int pm session print dialog int print session int set int page format boolean accept pmsessiongetgraphicscontext printsess graphicstyp graphicscontext pmsessionpagesetupdialog printsess pageformat pmsessionprintdialog printsess pageformat public static final nativ int pm session page setup dialog int print session int page format boolean result public static final nativ int pm session print dialog int print session int set int page format boolean accept public static final nativ int pm session set current printer int session int printer pmsessionpagesetupdialog printsess pageformat pmsessionprintdialog printsess pageformat pmsessionsetcurrentprint printernam public static final nativ int pm session print dialog int print session int set int page format boolean accept public static final nativ int pm session set current printer int session int printer public static final nativ int pm session set destin int print session int print set short dest type int dest format int dest locat pmsessionprintdialog printsess pageformat pmsessionsetcurrentprint printernam pmsessionsetdestin printsess printset desttyp destformat destloc public static final nativ int pm session set current printer int session int printer public static final nativ int pm session set destin int print session int print set short dest type int dest format int dest locat public static final nativ int pm session set error int print session int print error pmsessionsetcurrentprint printernam pmsessionsetdestin printsess printset desttyp destformat destloc pmsessionseterror printsess printerror public static final nativ int pm session set destin int print session int print set short dest type int dest format int dest locat public static final nativ int pm session set error int print session int print error public static final nativ int pm session set document format gener int print session int doc format int graphic context int option pmsessionsetdestin printsess printset desttyp destformat destloc pmsessionseterror printsess printerror pmsessionsetdocumentformatgener printsess docformat graphicscontext public static final nativ int pm session set error int print session int print error public static final nativ int pm session set document format gener int print session int doc format int graphic context int option public static final nativ int pm session sheet int print session int document window int sheet proc pmsessionseterror printsess printerror pmsessionsetdocumentformatgener printsess docformat graphicscontext pmsessionusesheet printsess documentwindow sheetdoneproc public static final nativ int pm session set document format gener int print session int doc format int graphic context int option public static final nativ int pm session sheet int print session int document window int sheet proc public static final nativ int pm session valid page format int print session int page format boolean result pmsessionsetdocumentformatgener printsess docformat graphicscontext pmsessionusesheet printsess documentwindow sheetdoneproc pmsessionvalidatepageformat printsess pageformat public static final nativ int pm session sheet int print session int document window int sheet proc public static final nativ int pm session valid page format int print session int page format boolean result public static final nativ int pm session valid print set int print session int print set boolean result pmsessionusesheet printsess documentwindow sheetdoneproc pmsessionvalidatepageformat printsess pageformat pmsessionvalidateprintset printsess printset public static final nativ int pm session valid page format int print session int page format boolean result public static final nativ int pm session valid print set int print session int print set boolean result public static final nativ int pm set collat int print set boolean collat pmsessionvalidatepageformat printsess pageformat pmsessionvalidateprintset printsess printset pmsetcol printset public static final nativ int pm session valid print set int print session int print set boolean result public static final nativ int pm set collat int print set boolean collat public static final nativ int pm set page int print set int boolean lock pmsessionvalidateprintset printsess printset pmsetcol printset pmsetfirstpag printset public static final nativ int pm set collat int print set boolean collat public static final nativ int pm set page int print set int boolean lock public static final nativ int pm set job namecf string int print set int pmsetcol printset pmsetfirstpag printset pmsetjobnamecfstr printset public static final nativ int pm set page int print set int boolean lock public static final nativ int pm set job namecf string int print set int public static final nativ int pm set page int print set int boolean lock pmsetfirstpag printset pmsetjobnamecfstr printset pmsetlastpag printset public static final nativ int pm set job namecf string int print set int public static final nativ int pm set page int print set int boolean lock public static final nativ int pm set page rang int print set int min page int max page pmsetjobnamecfstr printset pmsetlastpag printset pmsetpagerang printset minpag maxpag public static final nativ int pm set page int print set int boolean lock public static final nativ int pm set page rang int print set int min page int max page public static final nativ int pm unflatten page format int flat format int page format pmsetlastpag printset pmsetpagerang printset minpag maxpag pmunflattenpageformat flatformat pageformat public static final nativ int pm set page rang int print set int min page int max page public static final nativ int pm unflatten page format int flat format int page format public static final nativ int pm unflatten print set int flat set int print set pmsetpagerang printset minpag maxpag pmunflattenpageformat flatformat pageformat pmunflattenprintset flatset printset public static final nativ int pm unflatten page format int flat format int page format public static final nativ int pm unflatten print set int flat set int print set public static final nativ boolean pt rect point pt rect pmunflattenpageformat flatformat pageformat pmunflattenprintset flatset printset ptinrect public static final nativ int pm unflatten print set int flat set int print set public static final nativ boolean pt rect point pt rect public static final nativ boolean pt rgn point pt int rgn handl pmunflattenprintset flatset printset ptinrect ptinrgn rgnhandl public static final nativ boolean pt rect point pt rect public static final nativ boolean pt rgn point pt int rgn handl public static final nativ int put scrap flavor int scrap int flavor type int flavor flag int flavor size byte flavor data ptinrect ptinrgn rgnhandl putscrapflavor flavortyp flavorflag flavors flavordata public static final nativ boolean pt rgn point pt int rgn handl public static final nativ int put scrap flavor int scrap int flavor type int flavor flag int flavor size byte flavor data public static final nativ int qd begincg context int port int context ptinrgn rgnhandl putscrapflavor flavortyp flavorflag flavors flavordata qdbegincgcontext inport outcontext public static final nativ int put scrap flavor int scrap int flavor type int flavor flag int flavor size byte flavor data public static final nativ int qd begincg context int port int context public static final nativ int qd endcg context int port int inout context putscrapflavor flavortyp flavorflag flavors flavordata qdbegincgcontext inport outcontext qdendcgcontext inport inoutcontext public static final nativ int qd begincg context int port int context public static final nativ int qd endcg context int port int inout context public static final nativ void qd flush port buffer int port int rgn handl qdbegincgcontext inport outcontext qdendcgcontext inport inoutcontext qdflushportbuff rgnhandl public static final nativ int qd endcg context int port int inout context public static final nativ void qd flush port buffer int port int rgn handl public static final nativ void qd global local point int port point point qdendcgcontext inport inoutcontext qdflushportbuff rgnhandl qdglobaltolocalpoint public static final nativ void qd flush port buffer int port int rgn handl public static final nativ void qd global local point int port point point public static final nativ void qd local global point int port point point qdflushportbuff rgnhandl qdglobaltolocalpoint qdlocaltoglobalpoint public static final nativ void qd global local point int port point point public static final nativ void qd local global point int port point point public static final nativ int qd set dirti region int port int rgn qdglobaltolocalpoint qdlocaltoglobalpoint qdsetdirtyregion public static final nativ void qd local global point int port point point public static final nativ int qd set dirti region int port int rgn public static final nativ void qd set pattern origin point point qdlocaltoglobalpoint qdsetdirtyregion qdsetpatternorigin public static final nativ int qd set dirti region int port int rgn public static final nativ void qd set pattern origin point point public static final nativ int qd swap text flag int flag qdsetdirtyregion qdsetpatternorigin qdswaptextflag public static final nativ void qd set pattern origin point point public static final nativ int qd swap text flag int flag public static final nativ void rgb color rgb color color qdsetpatternorigin qdswaptextflag rgbbackcolor rgbcolor public static final nativ int qd swap text flag int flag public static final nativ void rgb color rgb color color public static final nativ void rgb fore color rgb color color qdswaptextflag rgbbackcolor rgbcolor rgbforecolor rgbcolor public static final nativ void rgb color rgb color color public static final nativ void rgb fore color rgb color color public static final nativ int receiv event int num type int list doubl timeout boolean pull event int event rgbbackcolor rgbcolor rgbforecolor rgbcolor receivenextev innumtyp inlist intimeout inpullev outev public static final nativ void rgb fore color rgb color color public static final nativ int receiv event int num type int list doubl timeout boolean pull event int event public static final nativ boolean rect rgn rect rect int rgn handl rgbforecolor rgbcolor receivenextev innumtyp inlist intimeout inpullev outev rectinrgn rgnhandl public static final nativ int receiv event int num type int list doubl timeout boolean pull event int event public static final nativ boolean rect rgn rect rect int rgn handl public static final nativ void rect rgn int rgn handl rect left receivenextev innumtyp inlist intimeout inpullev outev rectinrgn rgnhandl rectrgn rgnhandl public static final nativ boolean rect rgn rect rect int rgn handl public static final nativ void rect rgn int rgn handl rect left public static final nativ int regist appear client rectinrgn rgnhandl rectrgn rgnhandl registerappearancecli public static final nativ void rect rgn int rgn handl rect left public static final nativ int regist appear client public static final nativ void releas event int event rectrgn rgnhandl registerappearancecli releaseev theevent public static final nativ int regist appear client public static final nativ void releas event int event public static final nativ void releas icon ref int icon ref registerappearancecli releaseev theevent releaseiconref theiconref public static final nativ void releas event int event public static final nativ void releas icon ref int icon ref public static final nativ int releas menu int handl releaseev theevent releaseiconref theiconref releasemenu mhandl public static final nativ void releas icon ref int icon ref public static final nativ int releas menu int handl public static final nativ int releas window group int group releaseiconref theiconref releasemenu mhandl releasewindowgroup ingroup public static final nativ int releas menu int handl public static final nativ int releas window group int group public static final nativ int releas window int window releasemenu mhandl releasewindowgroup ingroup releasewindow inwindow public static final nativ int releas window group int group public static final nativ int releas window int window public static final nativ int remov control properti int control int properti creator int properti tag releasewindowgroup ingroup releasewindow inwindow removecontrolproperti propertycr propertytag public static final nativ int releas window int window public static final nativ int remov control properti int control int properti creator int properti tag public static final nativ int remov data browser item int handl int containerid int num item int itemi ds int pre sort properti releasewindow inwindow removecontrolproperti propertycr propertytag removedatabrowseritem chandl numitem itemid presortproperti public static final nativ int remov control properti int control int properti creator int properti tag public static final nativ int remov data browser item int handl int containerid int num item int itemi ds int pre sort properti public static final nativ int remov data browser tabl view column int browser int column removecontrolproperti propertycr propertytag removedatabrowseritem chandl numitem itemid presortproperti removedatabrowsertableviewcolumn public static final nativ int remov data browser item int handl int containerid int num item int itemi ds int pre sort properti public static final nativ int remov data browser tabl view column int browser int column public static final nativ int remov event handler int handler ref removedatabrowseritem chandl numitem itemid presortproperti removedatabrowsertableviewcolumn removeeventhandl inhandlerref public static final nativ int remov data browser tabl view column int browser int column public static final nativ int remov event handler int handler ref public static final nativ int remov event loop timer int timer removedatabrowsertableviewcolumn removeeventhandl inhandlerref removeeventlooptim intim public static final nativ int remov event handler int handler ref public static final nativ int remov event loop timer int timer public static final nativ int remov receiv handler int receiv handler int window removeeventhandl inhandlerref removeeventlooptim intim removereceivehandl receivehandl thewindow public static final nativ int remov event loop timer int timer public static final nativ int remov receiv handler int receiv handler int window public static final nativ int remov track handler int track handler int window removeeventlooptim intim removereceivehandl receivehandl thewindow removetrackinghandl trackinghandl thewindow public static final nativ int remov receiv handler int receiv handler int window public static final nativ int remov track handler int track handler int window public static final nativ int reposit window int window int parent window int method removereceivehandl receivehandl thewindow removetrackinghandl trackinghandl thewindow repositionwindow parentwindow public static final nativ int remov track handler int track handler int window public static final nativ int reposit window int window int parent window int method public static final nativ int reshap custom window int window removetrackinghandl trackinghandl thewindow repositionwindow parentwindow reshapecustomwindow public static final nativ int reposit window int window int parent window int method public static final nativ int reshap custom window int window public static final nativ int retain event int event repositionwindow parentwindow reshapecustomwindow retainev inev public static final nativ int reshap custom window int window public static final nativ int retain event int event public static final nativ int retain menu int handl reshapecustomwindow retainev inev retainmenu mhandl public static final nativ int retain event int event public static final nativ int retain menu int handl public static final nativ int retain window int window retainev inev retainmenu mhandl retainwindow inwindow public static final nativ int retain menu int handl public static final nativ int retain window int window public static final nativ int reveal data browser item int browser int item int properti byte option retainmenu mhandl retainwindow inwindow revealdatabrowseritem public static final nativ int retain window int window public static final nativ int reveal data browser item int browser int item int properti byte option public static final nativ int run standard alert int dialog handl int modal filterupp short item hit retainwindow inwindow revealdatabrowseritem runstandardalert dialoghandl modalfilterupp itemhit public static final nativ int reveal data browser item int browser int item int properti byte option public static final nativ int run standard alert int dialog handl int modal filterupp short item hit public static final nativ void scroll rect rect rect short dh short dv int updat rgn revealdatabrowseritem runstandardalert dialoghandl modalfilterupp itemhit scrollrect updatergn public static final nativ int run standard alert int dialog handl int modal filterupp short item hit public static final nativ void scroll rect rect rect short dh short dv int updat rgn public static final nativ boolean sect rect rect src1 rect src2 rect dst rect runstandardalert dialoghandl modalfilterupp itemhit scrollrect updatergn sectrect dstrect public static final nativ void scroll rect rect rect short dh short dv int updat rgn public static final nativ boolean sect rect rect src1 rect src2 rect dst rect public static final nativ void sect rgn int src rgna int src rgnb int dst rgn scrollrect updatergn sectrect dstrect sectrgn srcrgna srcrgnb dstrgn public static final nativ boolean sect rect rect src1 rect src2 rect dst rect public static final nativ void sect rgn int src rgna int src rgnb int dst rgn public static final nativ void select window int handl sectrect dstrect sectrgn srcrgna srcrgnb dstrgn selectwindow whandl public static final nativ void sect rgn int src rgna int src rgnb int dst rgn public static final nativ void select window int handl public static final nativ void send int window int window sectrgn srcrgna srcrgnb dstrgn selectwindow whandl sendbehind behindwindow public static final nativ void select window int handl public static final nativ void send int window int window public static final nativ int send event event target int event int target selectwindow whandl sendbehind behindwindow sendeventtoeventtarget theevent thetarget public static final nativ void send int window int window public static final nativ int send event event target int event int target public static final nativ int set bevel button content info int button control button content info content sendbehind behindwindow sendeventtoeventtarget theevent thetarget setbevelbuttoncontentinfo inbutton controlbuttoncontentinfo incont public static final nativ int send event event target int event int target public static final nativ int set bevel button content info int button control button content info content public static final nativ void set clip int rgn handl sendeventtoeventtarget theevent thetarget setbevelbuttoncontentinfo inbutton controlbuttoncontentinfo incont setclip rgnhandl public static final nativ int set bevel button content info int button control button content info content public static final nativ void set clip int rgn handl public static final nativ void set control32 bit maximum int handl int maximum setbevelbuttoncontentinfo inbutton controlbuttoncontentinfo incont setclip rgnhandl setcontrol32bitmaximum chandl public static final nativ void set clip int rgn handl public static final nativ void set control32 bit maximum int handl int maximum public static final nativ void set control32 bit minimum int handl int minimum setclip rgnhandl setcontrol32bitmaximum chandl setcontrol32bitminimum chandl public static final nativ void set control32 bit maximum int handl int maximum public static final nativ void set control32 bit minimum int handl int minimum public static final nativ void set control32 bit int handl int setcontrol32bitmaximum chandl setcontrol32bitminimum chandl setcontrol32bitvalu chandl public static final nativ void set control32 bit minimum int handl int minimum public static final nativ void set control32 bit int handl int public static final nativ void set control action int handl int action proc setcontrol32bitminimum chandl setcontrol32bitvalu chandl setcontrolact chandl actionproc public static final nativ void set control32 bit int handl int public static final nativ void set control action int handl int action proc public static final nativ void set control bound int handl rect bound setcontrol32bitvalu chandl setcontrolact chandl actionproc setcontrolbound chandl public static final nativ void set control action int handl int action proc public static final nativ void set control bound int handl rect bound public static final nativ int set control color proc int control int proc setcontrolact chandl actionproc setcontrolbound chandl setcontrolcolorproc incontrol inproc public static final nativ void set control bound int handl rect bound public static final nativ int set control color proc int control int proc public static final nativ int set control data int control int part int tag int size control button content info data setcontrolbound chandl setcontrolcolorproc incontrol inproc setcontroldata incontrol inpart intagnam insiz controlbuttoncontentinfo indata public static final nativ int set control color proc int control int proc public static final nativ int set control data int control int part int tag int size control button content info data public static final nativ int set control data int control int part int tag int size control tab info recv1 data setcontrolcolorproc incontrol inproc setcontroldata incontrol inpart intagnam insiz controlbuttoncontentinfo indata setcontroldata incontrol inpart intagnam insiz controltabinforecv1 indata public static final nativ int set control data int control int part int tag int size control button content info data public static final nativ int set control data int control int part int tag int size control tab info recv1 data public static final nativ int set control data int control int part int tag int size rect data setcontroldata incontrol inpart intagnam insiz controlbuttoncontentinfo indata setcontroldata incontrol inpart intagnam insiz controltabinforecv1 indata setcontroldata incontrol inpart intagnam insiz indata public static final nativ int set control data int control int part int tag int size control tab info recv1 data public static final nativ int set control data int control int part int tag int size rect data public static final nativ int set control data int control int part int tag int size short data setcontroldata incontrol inpart intagnam insiz controltabinforecv1 indata setcontroldata incontrol inpart intagnam insiz indata setcontroldata incontrol inpart intagnam insiz indata public static final nativ int set control data int control int part int tag int size rect data public static final nativ int set control data int control int part int tag int size short data public static final nativ int set control data int control int part int tag int size int data setcontroldata incontrol inpart intagnam insiz indata setcontroldata incontrol inpart intagnam insiz indata setcontroldata incontrol inpart intagnam insiz indata public static final nativ int set control data int control int part int tag int size short data public static final nativ int set control data int control int part int tag int size int data public static final nativ int set control data int control int part int tag int size int data setcontroldata incontrol inpart intagnam insiz indata setcontroldata incontrol inpart intagnam insiz indata setcontroldata incontrol inpart intagnam insiz indata public static final nativ int set control data int control int part int tag int size int data public static final nativ int set control data int control int part int tag int size int data public static final nativ int set control data int control int part int tag int size byte data setcontroldata incontrol inpart intagnam insiz indata setcontroldata incontrol inpart intagnam insiz indata setcontroldata incontrol inpart intagnam insiz indata public static final nativ int set control data int control int part int tag int size int data public static final nativ int set control data int control int part int tag int size byte data public static final nativ int set control font style int control control font style rec style setcontroldata incontrol inpart intagnam insiz indata setcontroldata incontrol inpart intagnam insiz indata setcontrolfontstyl incontrol controlfontstylerec instyl public static final nativ int set control data int control int part int tag int size byte data public static final nativ int set control font style int control control font style rec style public static final nativ void set control popup menu handl int handl int popup menu handl setcontroldata incontrol inpart intagnam insiz indata setcontrolfontstyl incontrol controlfontstylerec instyl setcontrolpopupmenuhandl chandl popupmenuhandl public static final nativ int set control font style int control control font style rec style public static final nativ void set control popup menu handl int handl int popup menu handl public static final nativ int set control properti int control int properti creator int properti tag int properti size int properti data setcontrolfontstyl incontrol controlfontstylerec instyl setcontrolpopupmenuhandl chandl popupmenuhandl setcontrolproperti propertycr propertytag propertys propertydata public static final nativ void set control popup menu handl int handl int popup menu handl public static final nativ int set control properti int control int properti creator int properti tag int properti size int properti data public static final nativ void set control refer int handl int data setcontrolpopupmenuhandl chandl popupmenuhandl setcontrolproperti propertycr propertytag propertys propertydata setcontrolrefer chandl public static final nativ int set control properti int control int properti creator int properti tag int properti size int properti data public static final nativ void set control refer int handl int data public static final nativ int set control titl withcf string int handl int handl setcontrolproperti propertycr propertytag propertys propertydata setcontrolrefer chandl setcontroltitlewithcfstr chandl shandl public static final nativ void set control refer int handl int data public static final nativ int set control titl withcf string int handl int handl public static final nativ void set control view size int handl int view size setcontrolrefer chandl setcontroltitlewithcfstr chandl shandl setcontrolviews chandl viewsiz public static final nativ int set control titl withcf string int handl int handl public static final nativ void set control view size int handl int view size public static final nativ int set control visibl int control boolean visibl boolean draw setcontroltitlewithcfstr chandl shandl setcontrolviews chandl viewsiz setcontrolvis incontrol inisvis indodraw public static final nativ void set control view size int handl int view size public static final nativ int set control visibl int control boolean visibl boolean draw public static final nativ void set cursor int cursor setcontrolviews chandl viewsiz setcontrolvis incontrol inisvis indodraw setcursor public static final nativ int set control visibl int control boolean visibl boolean draw public static final nativ void set cursor int cursor public static final nativ int set data browser callback int browser data browser callback callback setcontrolvis incontrol inisvis indodraw setcursor setdatabrowsercallback databrowsercallback public static final nativ void set cursor int cursor public static final nativ int set data browser callback int browser data browser callback callback public static final nativ int set data browser custom callback int browser data browser custom callback callback setcursor setdatabrowsercallback databrowsercallback setdatabrowsercustomcallback databrowsercustomcallback public static final nativ int set data browser callback int browser data browser callback callback public static final nativ int set data browser custom callback int browser data browser custom callback callback public static final nativ int set data browser scroll bar int handl boolean scroll boolean scroll setdatabrowsercallback databrowsercallback setdatabrowsercustomcallback databrowsercustomcallback setdatabrowserhasscrollbar chandl hscroll vscroll public static final nativ int set data browser custom callback int browser data browser custom callback callback public static final nativ int set data browser scroll bar int handl boolean scroll boolean scroll public static final nativ int set data browser item data boolean int item ref boolean data setdatabrowsercustomcallback databrowsercustomcallback setdatabrowserhasscrollbar chandl hscroll vscroll setdatabrowseritemdatabooleanvalu itemref public static final nativ int set data browser scroll bar int handl boolean scroll boolean scroll public static final nativ int set data browser item data boolean int item ref boolean data public static final nativ int set data browser item data button int item ref short theme button setdatabrowserhasscrollbar chandl hscroll vscroll setdatabrowseritemdatabooleanvalu itemref setdatabrowseritemdatabuttonvalu itemref themebuttonvalu public static final nativ int set data browser item data boolean int item ref boolean data public static final nativ int set data browser item data button int item ref short theme button public static final nativ int set data browser item data icon int item ref int icon ref setdatabrowseritemdatabooleanvalu itemref setdatabrowseritemdatabuttonvalu itemref themebuttonvalu setdatabrowseritemdataicon itemref iconref public static final nativ int set data browser item data button int item ref short theme button public static final nativ int set data browser item data icon int item ref int icon ref public static final nativ int set data browser item data itemid int item ref int itemid setdatabrowseritemdatabuttonvalu itemref themebuttonvalu setdatabrowseritemdataicon itemref iconref setdatabrowseritemdataitemid itemref public static final nativ int set data browser item data icon int item ref int icon ref public static final nativ int set data browser item data itemid int item ref int itemid public static final nativ int set data browser item data text int item ref int handl setdatabrowseritemdataicon itemref iconref setdatabrowseritemdataitemid itemref setdatabrowseritemdatatext itemref shandl public static final nativ int set data browser item data itemid int item ref int itemid public static final nativ int set data browser item data text int item ref int handl public static final nativ int set data browser list view disclosur column int handl int colid boolean setdatabrowseritemdataitemid itemref setdatabrowseritemdatatext itemref shandl setdatabrowserlistviewdisclosurecolumn chandl public static final nativ int set data browser item data text int item ref int handl public static final nativ int set data browser list view disclosur column int handl int colid boolean public static final nativ int set data browser list view header btn height int handl short height setdatabrowseritemdatatext itemref shandl setdatabrowserlistviewdisclosurecolumn chandl setdatabrowserlistviewheaderbtnheight chandl public static final nativ int set data browser list view disclosur column int handl int colid boolean public static final nativ int set data browser list view header btn height int handl short height public static final nativ int set data browser list view header desc int browser int column data browser list view header desc desc setdatabrowserlistviewdisclosurecolumn chandl setdatabrowserlistviewheaderbtnheight chandl setdatabrowserlistviewheaderdesc databrowserlistviewheaderdesc public static final nativ int set data browser list view header btn height int handl short height public static final nativ int set data browser list view header desc int browser int column data browser list view header desc desc public static final nativ int set data browser scroll posit int handl int top int left setdatabrowserlistviewheaderbtnheight chandl setdatabrowserlistviewheaderdesc databrowserlistviewheaderdesc setdatabrowserscrollposit chandl public static final nativ int set data browser list view header desc int browser int column data browser list view header desc desc public static final nativ int set data browser scroll posit int handl int top int left public static final nativ int set data browser select item int handl int num item int item int oper setdatabrowserlistviewheaderdesc databrowserlistviewheaderdesc setdatabrowserscrollposit chandl setdatabrowserselecteditem chandl numitem public static final nativ int set data browser scroll posit int handl int top int left public static final nativ int set data browser select item int handl int num item int item int oper public static final nativ int set data browser select flag int handl int select flag setdatabrowserscrollposit chandl setdatabrowserselecteditem chandl numitem setdatabrowserselectionflag chandl selectionflag public static final nativ int set data browser select item int handl int num item int item int oper public static final nativ int set data browser select flag int handl int select flag public static final nativ int set data browser sort order int browser short order setdatabrowserselecteditem chandl numitem setdatabrowserselectionflag chandl selectionflag setdatabrowsersortord public static final nativ int set data browser select flag int handl int select flag public static final nativ int set data browser sort order int browser short order public static final nativ int set data browser tabl view column posit int browser int column int posit setdatabrowserselectionflag chandl selectionflag setdatabrowsersortord setdatabrowsertableviewcolumnposit public static final nativ int set data browser sort order int browser short order public static final nativ int set data browser tabl view column posit int browser int column int posit public static final nativ int set data browser tabl view hilit style int browser int hilit style setdatabrowsersortord setdatabrowsertableviewcolumnposit setdatabrowsertableviewhilitestyl hilitestyl public static final nativ int set data browser tabl view column posit int browser int column int posit public static final nativ int set data browser tabl view hilit style int browser int hilit style public static final nativ int set data browser tabl view item row int browser int item int row setdatabrowsertableviewcolumnposit setdatabrowsertableviewhilitestyl hilitestyl setdatabrowsertableviewitemrow public static final nativ int set data browser tabl view hilit style int browser int hilit style public static final nativ int set data browser tabl view item row int browser int item int row public static final nativ int set data browser tabl view name column width int browser int column short width setdatabrowsertableviewhilitestyl hilitestyl setdatabrowsertableviewitemrow setdatabrowsertableviewnamedcolumnwidth public static final nativ int set data browser tabl view item row int browser int item int row public static final nativ int set data browser tabl view name column width int browser int column short width public static final nativ int set data browser target int handl int rootid setdatabrowsertableviewitemrow setdatabrowsertableviewnamedcolumnwidth setdatabrowsertarget chandl public static final nativ int set data browser tabl view name column width int browser int column short width public static final nativ int set data browser target int handl int rootid public static final nativ int set drag allow action int drag int action boolean local setdatabrowsertableviewnamedcolumnwidth setdatabrowsertarget chandl setdragallowableact thedrag inact isloc public static final nativ int set data browser target int handl int rootid public static final nativ int set drag allow action int drag int action boolean local public static final nativ int set drag drop action int drag int action setdatabrowsertarget chandl setdragallowableact thedrag inact isloc setdragdropact thedrag inact public static final nativ int set drag allow action int drag int action boolean local public static final nativ int set drag drop action int drag int action public static final nativ int set drag input proc int drag int input proc int drag input ref con setdragallowableact thedrag inact isloc setdragdropact thedrag inact setdraginputproc thedrag inputproc draginputrefcon public static final nativ int set drag drop action int drag int action public static final nativ int set drag input proc int drag int input proc int drag input ref con public static final nativ int set event loop timer fire int timer doubl fire setdragdropact thedrag inact setdraginputproc thedrag inputproc draginputrefcon seteventlooptimernextfiretim intim innextfir public static final nativ int set drag input proc int drag int input proc int drag input ref con public static final nativ int set event loop timer fire int timer doubl fire public static final nativ int set event paramet int event int int type int size char data ptr setdraginputproc thedrag inputproc draginputrefcon seteventlooptimernextfiretim intim innextfir seteventparamet inev innam intyp insiz indataptr public static final nativ int set event loop timer fire int timer doubl fire public static final nativ int set event paramet int event int int type int size char data ptr public static final nativ int set event paramet int event int int type int size short data ptr seteventlooptimernextfiretim intim innextfir seteventparamet inev innam intyp insiz indataptr seteventparamet inev innam intyp insiz indataptr public static final nativ int set event paramet int event int int type int size char data ptr public static final nativ int set event paramet int event int int type int size short data ptr public static final nativ int set font info select int style type int num style int style int ifp event target seteventparamet inev innam intyp insiz indataptr seteventparamet inev innam intyp insiz indataptr setfontinfoforselect istyletyp inumstyl istyl ifpeventtarget public static final nativ int set event paramet int event int int type int size short data ptr public static final nativ int set font info select int style type int num style int style int ifp event target public static final nativ int set front process int psn seteventparamet inev innam intyp insiz indataptr setfontinfoforselect istyletyp inumstyl istyl ifpeventtarget setfrontprocess public static final nativ int set font info select int style type int num style int style int ifp event target public static final nativ int set front process int psn public static final nativ int set front process option int psn int option setfontinfoforselect istyletyp inumstyl istyl ifpeventtarget setfrontprocess setfrontprocesswithopt inopt public static final nativ int set front process int psn public static final nativ int set front process option int psn int option public static final nativ void setg int port handl int gd handl setfrontprocess setfrontprocesswithopt inopt setgworld porthandl gdhandl public static final nativ int set front process option int psn int option public static final nativ void setg int port handl int gd handl public static final nativ void set item mark int menu short item short mark char setfrontprocesswithopt inopt setgworld porthandl gdhandl setitemmark themenu markchar public static final nativ void setg int port handl int gd handl public static final nativ void set item mark int menu short item short mark char public static final nativ int set keyboard focu int handl int handl short part setgworld porthandl gdhandl setitemmark themenu markchar setkeyboardfocu whandl chandl inpart public static final nativ void set item mark int menu short item short mark char public static final nativ int set keyboard focu int handl int handl short part public static final nativ int set menu command mark int handl int command id char mark setitemmark themenu markchar setkeyboardfocu whandl chandl inpart setmenucommandmark mhandl commandid public static final nativ int set keyboard focu int handl int handl short part public static final nativ int set menu command mark int handl int command id char mark public static final nativ int set menu font int handl short fontid short size setkeyboardfocu whandl chandl inpart setmenucommandmark mhandl commandid setmenufont mhandl public static final nativ int set menu command mark int handl int command id char mark public static final nativ int set menu font int handl short fontid short size public static final nativ int set menu item command kei int handl short index boolean virtual kei char kei setmenucommandmark mhandl commandid setmenufont mhandl setmenuitemcommandkei mhandl virtualkei public static final nativ int set menu font int handl short fontid short size public static final nativ int set menu item command kei int handl short index boolean virtual kei char kei public static final nativ int set menu item hierarch menu int handl short index int hier menu handl setmenufont mhandl setmenuitemcommandkei mhandl virtualkei setmenuitemhierarchicalmenu mhandl hiermenuhandl public static final nativ int set menu item command kei int handl short index boolean virtual kei char kei public static final nativ int set menu item hierarch menu int handl short index int hier menu handl public static final nativ int set menu item icon handl int handl short item byte icon type int icon handl setmenuitemcommandkei mhandl virtualkei setmenuitemhierarchicalmenu mhandl hiermenuhandl setmenuitemiconhandl mhandl icontyp iconhandl public static final nativ int set menu item hierarch menu int handl short index int hier menu handl public static final nativ int set menu item icon handl int handl short item byte icon type int icon handl public static final nativ int set menu item kei glyph int handl short index short glyph setmenuitemhierarchicalmenu mhandl hiermenuhandl setmenuitemiconhandl mhandl icontyp iconhandl setmenuitemkeyglyph mhandl public static final nativ int set menu item icon handl int handl short item byte icon type int icon handl public static final nativ int set menu item kei glyph int handl short index short glyph public static final nativ int set menu item modifi int handl short index byte modifi setmenuitemiconhandl mhandl icontyp iconhandl setmenuitemkeyglyph mhandl setmenuitemmodifi mhandl public static final nativ int set menu item kei glyph int handl short index short glyph public static final nativ int set menu item modifi int handl short index byte modifi public static final nativ int set menu item ref con int handl short index int ref con setmenuitemkeyglyph mhandl setmenuitemmodifi mhandl setmenuitemrefcon mhandl refcon public static final nativ int set menu item modifi int handl short index byte modifi public static final nativ int set menu item ref con int handl short index int ref con public static final nativ int set menu item text withcf string int handl short index int handl setmenuitemmodifi mhandl setmenuitemrefcon mhandl refcon setmenuitemtextwithcfstr mhandl shandl public static final nativ int set menu item ref con int handl short index int ref con public static final nativ int set menu item text withcf string int handl short index int handl public static final nativ int set menu titl withcf string int handl int handl setmenuitemrefcon mhandl refcon setmenuitemtextwithcfstr mhandl shandl setmenutitlewithcfstr mhandl shandl public static final nativ int set menu item text withcf string int handl short index int handl public static final nativ int set menu titl withcf string int handl int handl public static final nativ void set origin short short setmenuitemtextwithcfstr mhandl shandl setmenutitlewithcfstr mhandl shandl setorigin public static final nativ int set menu titl withcf string int handl int handl public static final nativ void set origin short short public static final nativ void set port int handl setmenutitlewithcfstr mhandl shandl setorigin setport phandl public static final nativ void set origin short short public static final nativ void set port int handl public static final nativ void set port bound int port rect rect setorigin setport phandl setportbound public static final nativ void set port int handl public static final nativ void set port bound int port rect rect public static final nativ void set port window port int handl setport phandl setportbound setportwindowport whandl public static final nativ void set port bound int port rect rect public static final nativ void set port window port int handl public static final nativ void set pt point short short setportbound setportwindowport whandl setpt public static final nativ void set port window port int handl public static final nativ void set pt point short short public static final nativ void set rect rect short left short top short short bottom setportwindowport whandl setpt setrect public static final nativ void set pt point short short public static final nativ void set rect rect short left short top short short bottom public static final nativ void set rect rgn int rgn handl short left short top short short bottom setpt setrect setrectrgn rgnhandl public static final nativ void set rect rect short left short top short short bottom public static final nativ void set rect rgn int rgn handl short left short top short short bottom public static final nativ int set root menu int handl setrect setrectrgn rgnhandl setrootmenu mhandl public static final nativ void set rect rgn int rgn handl short left short top short short bottom public static final nativ int set root menu int handl public static final nativ int set theme background short brush short depth boolean color devic setrectrgn rgnhandl setrootmenu mhandl setthemebackground inbrush iscolordevic public static final nativ int set root menu int handl public static final nativ int set theme background short brush short depth boolean color devic public static final nativ int set theme cursor int theme cursor setrootmenu mhandl setthemebackground inbrush iscolordevic setthemecursor themecursor public static final nativ int set theme background short brush short depth boolean color devic public static final nativ int set theme cursor int theme cursor public static final nativ int set theme draw int boolean dispos setthemebackground inbrush iscolordevic setthemecursor themecursor setthemedrawingst disposenow public static final nativ int set theme cursor int theme cursor public static final nativ int set theme draw int boolean dispos public static final nativ int set theme text color short brush short depth boolean color devic setthemecursor themecursor setthemedrawingst disposenow setthemetextcolor inbrush iscolordevic public static final nativ int set theme draw int boolean dispos public static final nativ int set theme text color short brush short depth boolean color devic public static final nativ int set theme window background int handl short brush boolean updat setthemedrawingst disposenow setthemetextcolor inbrush iscolordevic setthemewindowbackground whandl public static final nativ int set theme text color short brush short depth boolean color devic public static final nativ int set theme window background int handl short brush boolean updat public static final nativ int set control background int handl short depth boolean color devic setthemetextcolor inbrush iscolordevic setthemewindowbackground whandl setupcontrolbackground chandl iscolordevic public static final nativ int set theme window background int handl short brush boolean updat public static final nativ int set control background int handl short depth boolean color devic public static final nativ void setw ref con int handl int data setthemewindowbackground whandl setupcontrolbackground chandl iscolordevic setwrefcon whandl public static final nativ int set control background int handl short depth boolean color devic public static final nativ void setw ref con int handl int data public static final nativ int set window activ scope int handl int scope setupcontrolbackground chandl iscolordevic setwrefcon whandl setwindowactivationscop whandl public static final nativ void setw ref con int handl int data public static final nativ int set window activ scope int handl int scope public static final nativ void set window bound int window int region code rect global bound setwrefcon whandl setwindowactivationscop whandl setwindowbound regioncod globalbound public static final nativ int set window activ scope int handl int scope public static final nativ void set window bound int window int region code rect global bound public static final nativ int set window default button int handl int handl setwindowactivationscop whandl setwindowbound regioncod globalbound setwindowdefaultbutton whandl chandl public static final nativ void set window bound int window int region code rect global bound public static final nativ int set window default button int handl int handl public static final nativ int set window group int window int group setwindowbound regioncod globalbound setwindowdefaultbutton whandl chandl setwindowgroup inwindow innewgroup public static final nativ int set window default button int handl int handl public static final nativ int set window group int window int group public static final nativ int set window group owner int group int window setwindowdefaultbutton whandl chandl setwindowgroup inwindow innewgroup setwindowgroupown ingroup inwindow public static final nativ int set window group int window int group public static final nativ int set window group owner int group int window public static final nativ int set window group parent int group int group setwindowgroup inwindow innewgroup setwindowgroupown ingroup inwindow setwindowgrouppar ingroup innewgroup public static final nativ int set window group owner int group int window public static final nativ int set window group parent int group int group public static final nativ int set window modal int window int modal kind int unavail window setwindowgroupown ingroup inwindow setwindowgrouppar ingroup innewgroup setwindowmod inwindow inmodalkind inunavailablewindow public static final nativ int set window group parent int group int group public static final nativ int set window modal int window int modal kind int unavail window public static final nativ int set window titl withcf string int handl int handl setwindowgrouppar ingroup innewgroup setwindowmod inwindow inmodalkind inunavailablewindow setwindowtitlewithcfstr whandl shandl public static final nativ int set window modal int window int modal kind int unavail window public static final nativ int set window titl withcf string int handl int handl public static final nativ void show window int handl setwindowmod inwindow inmodalkind inunavailablewindow setwindowtitlewithcfstr whandl shandl showwindow whandl public static final nativ int set window titl withcf string int handl int handl public static final nativ void show window int handl public static final nativ void size control int handl short short setwindowtitlewithcfstr whandl shandl showwindow whandl sizecontrol chandl public static final nativ void show window int handl public static final nativ void size control int handl short short public static final nativ void size window int handl short short boolean updat showwindow whandl sizecontrol chandl sizewindow whandl public static final nativ void size control int handl short short public static final nativ void size window int handl short short boolean updat public static final nativ boolean sizecontrol chandl sizewindow whandl stilldown public static final nativ void size window int handl short short boolean updat public static final nativ boolean public static final nativ int synccg context origin port int context int port sizewindow whandl stilldown synccgcontextoriginwithport incontext public static final nativ boolean public static final nativ int synccg context origin port int context int port public static final nativ void sy beep short durat stilldown synccgcontextoriginwithport incontext sysbeep public static final nativ int synccg context origin port int context int port public static final nativ void sy beep short durat public static final nativ int txn activ int tx handl int frameid boolean scroll bar synccgcontextoriginwithport incontext sysbeep txnactiv txhandl scrollbarst public static final nativ void sy beep short durat public static final nativ int txn activ int tx handl int frameid boolean scroll bar public static final nativ void txn adjust cursor int itxn object int io cursor rgn sysbeep txnactiv txhandl scrollbarst txnadjustcursor itxnobject iocursorrgn public static final nativ int txn activ int tx handl int frameid boolean scroll bar public static final nativ void txn adjust cursor int itxn object int io cursor rgn public static final nativ void txn click int itxn object event record event txnactiv txhandl scrollbarst txnadjustcursor itxnobject iocursorrgn txnclick itxnobject eventrecord ievent public static final nativ void txn adjust cursor int itxn object int io cursor rgn public static final nativ void txn click int itxn object event record event public static final nativ int txn copi int tx handl txnadjustcursor itxnobject iocursorrgn txnclick itxnobject eventrecord ievent txncopi txhandl public static final nativ void txn click int itxn object event record event public static final nativ int txn copi int tx handl public static final nativ int txn cut int tx handl txnclick itxnobject eventrecord ievent txncopi txhandl txncut txhandl public static final nativ int txn copi int tx handl public static final nativ int txn cut int tx handl public static final nativ int txn data size int tx handl txncopi txhandl txncut txhandl txndatas txhandl public static final nativ int txn cut int tx handl public static final nativ int txn data size int tx handl public static final nativ void txn delet object int tx handl txncut txhandl txndatas txhandl txndeleteobject txhandl public static final nativ int txn data size int tx handl public static final nativ void txn delet object int tx handl public static final nativ void txn draw int tx handl int devic txndatas txhandl txndeleteobject txhandl txndraw txhandl gdevic public static final nativ void txn delet object int tx handl public static final nativ void txn draw int tx handl int devic public static final nativ int txn echo mode int tx handl char echo charact int encod boolean txndeleteobject txhandl txndraw txhandl gdevic txnechomod txhandl echocharact public static final nativ void txn draw int tx handl int devic public static final nativ int txn echo mode int tx handl char echo charact int encod boolean public static final nativ void txn focu int tx handl boolean focus txndraw txhandl gdevic txnechomod txhandl echocharact txnfocu txhandl becomingfocus public static final nativ int txn echo mode int tx handl char echo charact int encod boolean public static final nativ void txn focu int tx handl boolean focus public static final nativ int txn data int tx handl int start offset int end offset int data handl txnechomod txhandl echocharact txnfocu txhandl becomingfocus txngetdata txhandl startoffset endoffset datahandl public static final nativ void txn focu int tx handl boolean focus public static final nativ int txn data int tx handl int start offset int end offset int data handl public static final nativ int txn line count int tx handl int line total txnfocu txhandl becomingfocus txngetdata txhandl startoffset endoffset datahandl txngetlinecount txhandl linetot public static final nativ int txn data int tx handl int start offset int end offset int data handl public static final nativ int txn line count int tx handl int line total public static final nativ int txn line metric int itxn object int line number int line width int line height txngetdata txhandl startoffset endoffset datahandl txngetlinecount txhandl linetot txngetlinemetr itxnobject ilinenumb olinewidth olineheight public static final nativ int txn line count int tx handl int line total public static final nativ int txn line metric int itxn object int line number int line width int line height public static final nativ int txn gettxn object control int itxn object int control count int control tag int control data txngetlinecount txhandl linetot txngetlinemetr itxnobject ilinenumb olinewidth olineheight txngettxnobjectcontrol itxnobject icontrolcount icontroltag ocontroldata public static final nativ int txn line metric int itxn object int line number int line width int line height public static final nativ int txn gettxn object control int itxn object int control count int control tag int control data public static final nativ int txn rect bound int itxn object rect view rect txn rect destin rect txn rect text rect txngetlinemetr itxnobject ilinenumb olinewidth olineheight txngettxnobjectcontrol itxnobject icontrolcount icontroltag ocontroldata txngetrectbound itxnobject oviewrect txnlongrect odestinationrect txnlongrect otextrect public static final nativ int txn gettxn object control int itxn object int control count int control tag int control data public static final nativ int txn rect bound int itxn object rect view rect txn rect destin rect txn rect text rect public static final nativ void txn select int tx handl int start offset int end offset txngettxnobjectcontrol itxnobject icontrolcount icontroltag ocontroldata txngetrectbound itxnobject oviewrect txnlongrect odestinationrect txnlongrect otextrect txngetselect txhandl startoffset endoffset public static final nativ int txn rect bound int itxn object rect view rect txn rect destin rect txn rect text rect public static final nativ void txn select int tx handl int start offset int end offset public static final nativ void txn view rect int itxn object rect view rect txngetrectbound itxnobject oviewrect txnlongrect odestinationrect txnlongrect otextrect txngetselect txhandl startoffset endoffset txngetviewrect itxnobject oviewrect public static final nativ void txn select int tx handl int start offset int end offset public static final nativ void txn view rect int itxn object rect view rect public static final nativ int txn init textens int default font int count default font int usag flag txngetselect txhandl startoffset endoffset txngetviewrect itxnobject oviewrect txninittextens idefaultfont icountdefaultfont iusageflag public static final nativ void txn view rect int itxn object rect view rect public static final nativ int txn init textens int default font int count default font int usag flag public static final nativ int txn object int file spec int windw rect frame int frame option int frame type int file type int perman encod int otxn object int otxn frameid int ref cpm txngetviewrect itxnobject oviewrect txninittextens idefaultfont icountdefaultfont iusageflag txnnewobject ifilespec iwindw ifram iframeopt iframetyp ifiletyp ipermanentencod otxnobject otxnframeid irefcpm public static final nativ int txn init textens int default font int count default font int usag flag public static final nativ int txn object int file spec int windw rect frame int frame option int frame type int file type int perman encod int otxn object int otxn frameid int ref cpm public static final nativ int txn offset point int tx handl int offset point point txninittextens idefaultfont icountdefaultfont iusageflag txnnewobject ifilespec iwindw ifram iframeopt iframetyp ifiletyp ipermanentencod otxnobject otxnframeid irefcpm txnoffsettopoint txhandl public static final nativ int txn object int file spec int windw rect frame int frame option int frame type int file type int perman encod int otxn object int otxn frameid int ref cpm public static final nativ int txn offset point int tx handl int offset point point public static final nativ int txn past int tx handl txnnewobject ifilespec iwindw ifram iframeopt iframetyp ifiletyp ipermanentencod otxnobject otxnframeid irefcpm txnoffsettopoint txhandl txnpast txhandl public static final nativ int txn offset point int tx handl int offset point point public static final nativ int txn past int tx handl public static final nativ int txn point offset int itxn object point point int offset txnoffsettopoint txhandl txnpast txhandl txnpointtooffset itxnobject ipoint ooffset public static final nativ int txn past int tx handl public static final nativ int txn point offset int itxn object point point int offset public static final nativ void txn select int tx handl txnpast txhandl txnpointtooffset itxnobject ipoint ooffset txnselectal txhandl public static final nativ int txn point offset int itxn object point point int offset public static final nativ void txn select int tx handl public static final nativ void txn set rect bound int itxn object rect view rect txn rect destin rect boolean updat txnpointtooffset itxnobject ipoint ooffset txnselectal txhandl txnsetrectbound itxnobject iviewrect txnlongrect idestinationrect iupdat public static final nativ void txn select int tx handl public static final nativ void txn set rect bound int itxn object rect view rect txn rect destin rect boolean updat public static final nativ int txn set background int itxn object txn background background info txnselectal txhandl txnsetrectbound itxnobject iviewrect txnlongrect idestinationrect iupdat txnsetbackground itxnobject txnbackground ibackgroundinfo public static final nativ void txn set rect bound int itxn object rect view rect txn rect destin rect boolean updat public static final nativ int txn set background int itxn object txn background background info public static final nativ int txn set data int itxn object int data type char data ptr int data size int start offset int end offset txnsetrectbound itxnobject iviewrect txnlongrect idestinationrect iupdat txnsetbackground itxnobject txnbackground ibackgroundinfo txnsetdata itxnobject idatatyp idataptr idatas istartoffset iendoffset public static final nativ int txn set background int itxn object txn background background info public static final nativ int txn set data int itxn object int data type char data ptr int data size int start offset int end offset public static final nativ void txn set frame bound int tx handl int top int left int bottom int int frameid txnsetbackground itxnobject txnbackground ibackgroundinfo txnsetdata itxnobject idatatyp idataptr idatas istartoffset iendoffset txnsetframebound txhandl public static final nativ int txn set data int itxn object int data type char data ptr int data size int start offset int end offset public static final nativ void txn set frame bound int tx handl int top int left int bottom int int frameid public static final nativ int txn set select int tx handl int start offset int end offset txnsetdata itxnobject idatatyp idataptr idatas istartoffset iendoffset txnsetframebound txhandl txnsetselect txhandl startoffset endoffset public static final nativ void txn set frame bound int tx handl int top int left int bottom int int frameid public static final nativ int txn set select int tx handl int start offset int end offset public static final nativ int txn set type attribut int itxn object int attr count int attribut int start offset int end offset txnsetframebound txhandl txnsetselect txhandl startoffset endoffset txnsettypeattribut itxnobject iattrcount iattribut istartoffset iendoffset public static final nativ int txn set select int tx handl int start offset int end offset public static final nativ int txn set type attribut int itxn object int attr count int attribut int start offset int end offset public static final nativ int txn settxn object control int itxn object boolean clear int control count int control tag int control data txnsetselect txhandl startoffset endoffset txnsettypeattribut itxnobject iattrcount iattribut istartoffset iendoffset txnsettxnobjectcontrol itxnobject iclearal icontrolcount icontroltag icontroldata public static final nativ int txn set type attribut int itxn object int attr count int attribut int start offset int end offset public static final nativ int txn settxn object control int itxn object boolean clear int control count int control tag int control data public static final nativ void txn show select int tx handl boolean show end txnsettypeattribut itxnobject iattrcount iattribut istartoffset iendoffset txnsettxnobjectcontrol itxnobject iclearal icontrolcount icontroltag icontroldata txnshowselect txhandl showend public static final nativ int txn settxn object control int itxn object boolean clear int control count int control tag int control data public static final nativ void txn show select int tx handl boolean show end public static final nativ short test control int control point point txnsettxnobjectcontrol itxnobject iclearal icontrolcount icontroltag icontroldata txnshowselect txhandl showend testcontrol public static final nativ void txn show select int tx handl boolean show end public static final nativ short test control int control point point public static final nativ void text face short face txnshowselect txhandl showend testcontrol textfac public static final nativ short test control int control point point public static final nativ void text face short face public static final nativ void text font short fontid testcontrol textfac textfont public static final nativ void text face short face public static final nativ void text font short fontid public static final nativ void text mode short mode textfac textfont textmod public static final nativ void text font short fontid public static final nativ void text mode short mode public static final nativ void text size short size textfont textmod textsiz public static final nativ void text mode short mode public static final nativ void text size short size public static final nativ short text width byte text buf short byte short byte count textmod textsiz textwidth textbuf firstbyt bytecount public static final nativ void text size short size public static final nativ short text width byte text buf short byte short byte count public static final nativ int track drag int drag event record event int region textsiz textwidth textbuf firstbyt bytecount trackdrag thedrag eventrecord theevent theregion public static final nativ short text width byte text buf short byte short byte count public static final nativ int track drag int drag event record event int region public static final nativ int track mous locat option int port int option doubl point pt int modifi short result textwidth textbuf firstbyt bytecount trackdrag thedrag eventrecord theevent theregion trackmouselocationwithopt inport inopt intim outpt outmodifi outresult public static final nativ int track drag int drag event record event int region public static final nativ int track mous locat option int port int option doubl point pt int modifi short result public static final nativ void union rect rect srca rect srcb rect dst trackdrag thedrag eventrecord theevent theregion trackmouselocationwithopt inport inopt intim outpt outmodifi outresult unionrect public static final nativ int track mous locat option int port int option doubl point pt int modifi short result public static final nativ void union rect rect srca rect srcb rect dst public static final nativ void union rgn int src rgna int src rgnb int dst rgn trackmouselocationwithopt inport inopt intim outpt outmodifi outresult unionrect unionrgn srcrgna srcrgnb dstrgn public static final nativ void union rect rect srca rect srcb rect dst public static final nativ void union rgn int src rgna int src rgnb int dst rgn public static final nativ int unlock port bit int port handl unionrect unionrgn srcrgna srcrgnb dstrgn unlockportbit porthandl public static final nativ void union rgn int src rgna int src rgnb int dst rgn public static final nativ int unlock port bit int port handl public static final nativ void updat control int handl int rgn handl unionrgn srcrgna srcrgnb dstrgn unlockportbit porthandl updatecontrol whandl rgnhandl public static final nativ int unlock port bit int port handl public static final nativ void updat control int handl int rgn handl public static final nativ int updat data browser item int handl int contain int num item int item int pre sort properti int propertyid unlockportbit porthandl updatecontrol whandl rgnhandl updatedatabrowseritem chandl numitem presortproperti public static final nativ void updat control int handl int rgn handl public static final nativ int updat data browser item int handl int contain int num item int item int pre sort properti int propertyid public static final nativ int upgrad script info text encod short text scriptid short text languageid short regionid byte text fontnam int encod updatecontrol whandl rgnhandl updatedatabrowseritem chandl numitem presortproperti upgradescriptinfototextencod itextscriptid itextlanguageid iregionid itextfontnam oencod public static final nativ int updat data browser item int handl int contain int num item int item int pre sort properti int propertyid public static final nativ int upgrad script info text encod short text scriptid short text languageid short regionid byte text fontnam int encod public static final nativ boolean wait mous move point initi global mous updatedatabrowseritem chandl numitem presortproperti upgradescriptinfototextencod itextscriptid itextlanguageid iregionid itextfontnam oencod waitmousemov initialglobalmous public static final nativ int upgrad script info text encod short text scriptid short text languageid short regionid byte text fontnam int encod public static final nativ boolean wait mous move point initi global mous public static final nativ int x2 fix doubl upgradescriptinfototextencod itextscriptid itextlanguageid iregionid itextfontnam oencod waitmousemov initialglobalmous x2fix public static final nativ boolean wait mous move point initi global mous public static final nativ int x2 fix doubl public static final nativ int zoom window ideal int window short part code point io ideal size waitmousemov initialglobalmous x2fix zoomwindowid inwindow inpartcod ioideals public static final nativ int x2 fix doubl public static final nativ int zoom window ideal int window short part code point io ideal size public static final nativ void memcpi at trapezoid dest int src int x2fix zoomwindowid inwindow inpartcod ioideals atstrapezoid public static final nativ int zoom window ideal int window short part code point io ideal size public static final nativ void memcpi at trapezoid dest int src int public static final nativ void memcpi byte dest int src int zoomwindowid inwindow inpartcod ioideals atstrapezoid public static final nativ void memcpi at trapezoid dest int src int public static final nativ void memcpi byte dest int src int public static final nativ void memcpi char dest int src int atstrapezoid public static final nativ void memcpi byte dest int src int public static final nativ void memcpi char dest int src int public static final nativ void memcpi int dest int src int public static final nativ void memcpi char dest int src int public static final nativ void memcpi int dest int src int public static final nativ void memcpi int dest int src int public static final nativ void memcpi int dest int src int public static final nativ void memcpi int dest int src int public static final nativ void memcpi int dest pix map src int pixmap public static final nativ void memcpi int dest int src int public static final nativ void memcpi int dest pix map src int public static final nativ void memcpi int dest cursor src int pixmap public static final nativ void memcpi int dest pix map src int public static final nativ void memcpi int dest cursor src int public static final nativ void memcpi devic dest int src int pixmap gdevic public static final nativ void memcpi int dest cursor src int public static final nativ void memcpi devic dest int src int public static final nativ void memcpi pix map dest int src int gdevic pixmap public static final nativ void memcpi devic dest int src int public static final nativ void memcpi pix map dest int src int public static final nativ void memcpi font selectionqd style dest int src int gdevic pixmap fontselectionqdstyl public static final nativ void memcpi pix map dest int src int public static final nativ void memcpi font selectionqd style dest int src int public static final nativ void memcpi hm help content rec dest int src int pixmap fontselectionqdstyl hmhelpcontentrec public static final nativ void memcpi font selectionqd style dest int src int public static final nativ void memcpi hm help content rec dest int src int public static final nativ void memcpi int dest hm help content rec src int fontselectionqdstyl hmhelpcontentrec hmhelpcontentrec public static final nativ void memcpi hm help content rec dest int src int public static final nativ void memcpi int dest hm help content rec src int public static final nativ void memcpi int dest bit map src int hmhelpcontentrec hmhelpcontentrec bitmap public static final nativ void memcpi int dest hm help content rec src int public static final nativ void memcpi int dest bit map src int public static final nativ void memcpi int dest char src int hmhelpcontentrec bitmap public static final nativ void memcpi int dest bit map src int public static final nativ void memcpi int dest char src int public static final nativ void memcpi int dest int src int bitmap public static final nativ void memcpi int dest char src int public static final nativ void memcpi int dest int src int public static final nativ void memcpi int dest byte src int public static final nativ void memcpi int dest int src int public static final nativ void memcpi int dest byte src int public static final nativ void memcpi int dest font selectionqd style src int fontselectionqdstyl public static final nativ void memcpi int dest byte src int public static final nativ void memcpi int dest font selectionqd style src int public static final nativ void memcpi int dest rgb color src int fontselectionqdstyl rgbcolor public static final nativ void memcpi int dest font selectionqd style src int public static final nativ void memcpi int dest rgb color src int public static final nativ void memcpi rect dest int src int fontselectionqdstyl rgbcolor public static final nativ void memcpi int dest rgb color src int public static final nativ void memcpi rect dest int src int public static final nativ void memcpi int dest rect src int rgbcolor public static final nativ void memcpi rect dest int src int public static final nativ void memcpi int dest rect src int public static final nativ void memcpi char dest byte src int size public static final nativ void memcpi int dest rect src int public static final nativ void memcpi char dest byte src int size public static final nativ void memcpi byte dest char src int size public static final nativ void memcpi char dest byte src int size public static final nativ void memcpi byte dest char src int size public static final nativ void memcpi int dest event record src int size eventrecord public static final nativ void memcpi byte dest char src int size public static final nativ void memcpi int dest event record src int size public static final nativ void memcpi int dest atsu tab src int size eventrecord atsutab public static final nativ void memcpi int dest event record src int size public static final nativ void memcpi int dest atsu tab src int size public static final nativ void memcpi float dest int src int size eventrecord atsutab public static final nativ void memcpi int dest atsu tab src int size public static final nativ void memcpi float dest int src int size public static final nativ void memset int dest int int size atsutab return default code page platform applic run return default code page public static string default code page return code page defaultcodepag codepag static byte ascii byte string str int length str length byte buffer byte length 1 int 0 length buffer byte str char return buffer getasciibyt charat convert arrai byte repres platform encod code page charact data arrai match unicod charact param code page code page convers param buffer arrai byte convert return unicod convers public static char mbc wc string code page byte buffer check simpl case buffer null return empti char arrai int length buffer length length 0 return empti char arrai string string buffer int length char char char char 0 char 0 return char codepag mbcstowc codepag empti_char_arrai empti_char_arrai getchar free cach resourc public static void releas convert arrai char unicod data arrai byte repres platform encod charact code page param code page code page convers param buffer arrai char convert return platform encod public static byte wc mbc string code page char buffer return wc mbc code page buffer fals codepag wcstombc codepag wcstombc codepag convert arrai char unicod data arrai byte repres platform encod charact code page termin flag true result byte data null termin param code page code page convers param buffer arrai char convert param termin code true code result null termin fals return platform encod public static byte wc mbc string code page char buffer boolean termin check simpl case buffer null return termin null byte arrai empti byte arrai int length buffer length length 0 return termin null byte arrai empti byte arrai string string buffer byte byte termin return byte b2 byte length 1 system arraycopi 0 b2 0 length return b2 codepag wcstombc codepag null_byte_arrai empti_byte_arrai null_byte_arrai empti_byte_arrai getbyt convert string unicod data arrai byte repres platform encod charact code page param code page code page convers param string string convert return platform encod public static byte wc mbc string code page string string return wc mbc code page string fals codepag wcstombc codepag wcstombc codepag convert string unicod data arrai byte repres platform encod charact code page termin flag true result byte data null termin param code page code page convers param string string convert param termin code true code result null termin fals return platform encod public static byte wc mbc string code page string string boolean termin termin string null return null byte arrai int count string length char buffer char count 1 string char 0 count buffer 0 return wc mbc code page buffer fals string null return empti byte arrai int count string length char buffer char count string char 0 count buffer 0 return wc mbc code page buffer fals codepag wcstombc codepag null_byte_arrai getchar wcstombc codepag empti_byte_arrai getchar wcstombc codepag construct instanc class parent param parent composit control parent instanc null except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public print dialog shell parent parent swt primari modal illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl printdialog primari_modal construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public print dialog shell parent int style super parent style check subclass illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl printdialog checksubclass make receiv visibl bring front displai return printer data object describ desir print job paramet except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public printer data open int buffer int 1 os pm creat session buffer os err int print session buffer 0 os pm creat print set buffer os err int print set buffer 0 os pm session default print set print session print set os pm creat page format buffer os err int page format buffer 0 os pm session default page format print session page format os pm session set destin print session print set short print file os kpm destin file os kpm destin printer 0 0 scope printer data page rang os pm set page print set start page fals os pm set page print set end page fals os pm set page rang print set start page end page os pm set page rang print set 1 os kpm print page boolean accept boolean 1 os pm session page setup dialog print session page format accept accept 0 os pm session print dialog print session print set page format accept accept 0 short dest type short 1 os pm session destin type print session print set dest type string printer current printer print session string driver printer driver switch dest type 0 case os kpm destin fax driver printer fax driver break case os kpm destin file driver printer file driver break case os kpm destin preview driver printer preview driver break case os kpm destin printer driver printer printer driver break printer data data printer data driver dest type 0 os kpm destin file data print file true os pm session copi destin locat print session print set buffer int file os cfurl copi file system path buffer 0 os kcfurlposix path style os cf releas buffer 0 data file printer string file os cf releas file os pm copi print set buffer data copi count buffer 0 os pm page print set buffer data start page buffer 0 os pm page print set buffer data end page buffer 0 os pm page rang print set null buffer data start page 1 data end page os kpm print page data scope printer data page data scope printer data page rang boolean collat boolean 1 os pm collat print set collat data collat collat 0 serial set int flat set int 1 os pm flatten print set print set flat set int flat format int 1 os pm flatten page format page format flat format int set length os handl size flat set 0 int format length os handl size flat format 0 byte data data data byte set length format length 8 int offset 0 offset printer pack data flat set 0 data offset offset printer pack data flat format 0 data offset os dispos handl flat set 0 os dispos handl flat format 0 scope data scope start page data start page end page data end page print file data print file return data os pm releas page format os pm releas print set os pm releas print session return null swtexcept error_widget_dispos error_thread_invalid_access printerdata pmcreatesess noerr printsess pmcreateprintset noerr printset pmsessiondefaultprintset printsess printset pmcreatepageformat noerr pageformat pmsessiondefaultpageformat printsess pageformat pmsessionsetdestin printsess printset printtofil kpmdestinationfil kpmdestinationprint printerdata page_rang pmsetfirstpag printset startpag pmsetlastpag printset endpag pmsetpagerang printset startpag endpag pmsetpagerang printset kpmprintallpag pmsessionpagesetupdialog printsess pageformat pmsessionprintdialog printsess printset pageformat desttyp pmsessiongetdestinationtyp printsess printset desttyp getcurrentprinternam printsess desttyp kpmdestinationfax fax_driver kpmdestinationfil file_driver kpmdestinationpreview preview_driver kpmdestinationprint printer_driver printerdata printerdata desttyp kpmdestinationfil printtofil pmsessioncopydestinationloc printsess printset filenam cfurlcopyfilesystempath kcfurlposixpathstyl cfreleas filenam getstr filenam cfreleas filenam pmgetcopi printset copycount pmgetfirstpag printset startpag pmgetlastpag printset endpag pmgetpagerang printset startpag endpag kpmprintallpag printerdata all_page printerdata page_rang pmgetcol printset flatset pmflattenprintset printset flatset flatformat pmflattenpageformat pageformat flatformat settingslength gethandles flatset formatlength gethandles flatformat otherdata otherdata settingslength formatlength packdata flatset otherdata packdata flatformat otherdata disposehandl flatset disposehandl flatformat startpag startpag endpag endpag printtofil printtofil pmreleas pageformat pmreleas printset pmreleas printsess return print job scope user select press ok dialog valu dl dt code page code dt dd print page current document dd dt code page rang code dt dd print rang page start page end page dd dt code select code dt dd print current select dd dl return scope set user select public int scope return scope all_page page_rang startpag endpag getscop set scope print job user set dialog open valu dl dt code page code dt dd print page current document dd dt code page rang code dt dd print rang page start page end page dd dt code select code dt dd print current select dd dl param scope scope set dialog open public void set scope int scope scope scope all_page page_rang startpag endpag setscop return start page set user select press ok dialog note base valid scope code page rang code return start page set user select public int start page return start page page_rang getstartpag startpag set start page user dialog open note base valid scope code page rang code param start page start page set dialog open public void set start page int start page start page start page page_rang startpag startpag setstartpag startpag startpag startpag return end page set user select press ok dialog note base valid scope code page rang code return end page set user select public int end page return end page page_rang getendpag endpag set end page user dialog open note base valid scope code page rang code param end page end page set dialog open public void set end page int end page end page end page page_rang endpag setendpag endpag endpag endpag return print file set user select press ok dialog return print file set user select public boolean print file return print file getprinttofil printtofil set print file set user dialog open param print file print file set dialog open public void set print file boolean print file print file print file printtofil setprinttofil printtofil printtofil printtofil protect void check subclass checksubclass return arrai code printer data code object repres printer return list printer public static printer data printer list printer data result null int print session int 1 os pm creat session print session print session 0 0 int printer list int 1 current index int 1 current printer int 1 os pm session creat printer list print session 0 printer list current index current printer printer list 0 0 int count os cf arrai count printer list 0 result printer data count int 0 count string string os cf arrai index printer list 0 result printer data driver os cf releas printer list 0 os pm releas print session 0 return result null printer data 0 result printerdata printerdata getprinterlist printerdata printsess pmcreatesess printsess printsess printerlist currentindex currentprint pmsessioncreateprinterlist printsess printerlist currentindex currentprint printerlist cfarraygetcount printerlist printerdata getstr cfarraygetvalueatindex printerlist printerdata cfreleas printerlist pmreleas printsess printerdata return code printer data code object repres default printer code null code printer system return default printer data null 2 1 public static printer data default printer data printer data result null int print session int 1 os pm creat session print session print session 0 0 string current printer print session 0 null result printer data driver os pm releas print session 0 return result printerdata printerdata getdefaultprinterdata printerdata printsess pmcreatesess printsess printsess getcurrentprinternam printsess printerdata pmreleas printsess static string current printer int print session string result null int printer list int 1 current index int 1 current printer int 1 os pm session creat printer list print session printer list current index current printer printer list 0 0 int count os cf arrai count printer list 0 current index 0 0 current index 0 count result string os cf arrai index printer list 0 current index 0 os cf releas printer list 0 return result getcurrentprinternam printsess printerlist currentindex currentprint pmsessioncreateprinterlist printsess printerlist currentindex currentprint printerlist cfarraygetcount printerlist currentindex currentindex getstr cfarraygetvalueatindex printerlist currentindex cfreleas printerlist static string string int ptr int length os cf string length ptr char buffer char length cf rang rang cf rang rang length length os cf string charact ptr rang buffer return string buffer getstr cfstringgetlength cfrang cfrang cfstringgetcharact static int pack data int handl byte buffer int offset int length os handl size handl buffer offset byte length 0xff 0 buffer offset byte length 0xff00 8 buffer offset byte length 0xff0000 16 buffer offset byte length 0xff000000 24 int ptr int 1 os lock handl os memcpi ptr handl 4 byte buffer1 byte length os memcpi buffer1 ptr 0 length os unlock handl system arraycopi buffer1 0 buffer offset length return offset length packdata gethandles hlock hunlock static int unpack data int handl byte buffer int offset int length buffer offset 0xff 0 buffer offset 0xff 8 buffer offset 0xff 16 buffer offset 0xff 24 handl 0 os handl length handl 0 0 swt error swt error handl int ptr int 1 os lock handl 0 os memcpi ptr handl 0 4 byte buffer1 byte length system arraycopi buffer offset buffer1 0 length os memcpi ptr 0 buffer1 length os unlock handl 0 return offset length unpackdata newhandl error_no_handl hlock hunlock construct printer repres default printer dispos printer longer requir except swt error ul li error handl valid printer ul devic dispos public printer null swterror error_no_handl construct printer code printer data code object repres desir printer dispos printer longer requir param data printer data printer except illeg argument except ul li error invalid argument printer data repres valid printer ul except swt error ul li error handl valid printer ul devic dispos public printer printer data data super check null data printerdata illegalargumentexcept error_invalid_argument swterror error_no_handl printerdata checknul desir em client area em receiv argument return bound rectangl requir produc client area word return rectangl receiv bound set rectangl area receiv capabl displai data cover trim rectangl argument rel receiv parent note set bound printer method pass client area printabl area printer pass 0 0 0 0 param desir coordin client area param desir coordin client area param width desir width client area param height desir height client area return requir bound produc client area except swt except ul li error devic dispos receiv dispos li ul bound client area public rectangl comput trim int int int width int height check devic pm rect page rect pm rect pm rect paper rect pm rect os pm adjust page rect page format page rect os pm adjust paper rect page format paper rect return rectangl int paper rect left int paper rect top width int paper rect page rect height int paper rect bottom page rect bottom setbound swtexcept error_devic_dispos getbound getclientarea computetrim checkdevic pmrect pagerect pmrect pmrect paperrect pmrect pmgetadjustedpagerect pageformat pagerect pmgetadjustedpaperrect pageformat paperrect paperrect paperrect paperrect pagerect paperrect pagerect creat printer handl method call intern instanc creation mechan code devic code class protect void creat devic data devic data data printer data devic data int buffer int 1 os pm creat session buffer os err swt error swt error handl print session buffer 0 print session 0 swt error swt error handl data data null deseri set int offset 0 byte data data data offset unpack data buffer data offset int flat set buffer 0 offset unpack data buffer data offset int flat format buffer 0 os pm unflatten print set flat set buffer os err swt error swt error handl print set buffer 0 print set 0 swt error swt error handl os pm unflatten page format flat format buffer os err swt error swt error handl page format buffer 0 page format 0 swt error swt error handl os dispos handl flat set os dispos handl flat format creat default set os pm creat print set buffer os err swt error swt error handl print set buffer 0 print set 0 swt error swt error handl os pm session default print set print session print set os pm creat page format buffer os err swt error swt error handl page format buffer 0 page format 0 swt error swt error handl os pm session default page format print session page format preview driver equal data driver os pm session set destin print session print set short os kpm destin preview 0 0 string data char buffer1 char length char 0 buffer1 length buffer1 0 int ptr os cf string creat charact os kcf alloc default buffer1 buffer1 length ptr 0 os pm session set current printer print session ptr os cf releas ptr os pm session valid print set print session print set null os pm session valid page format print session page format null int graphic context arrai os cf arrai creat mutabl os kcf alloc default 1 0 graphic context arrai 0 os cf arrai append graphic context arrai os kpm graphic context core graphic os pm session set document format gener print session os kpm document formatpdf graphic context arrai 0 os cf releas graphic context arrai devicedata devicedata printerdata devicedata pmcreatesess noerr error_no_handl printsess printsess error_no_handl otherdata otherdata otherdata unpackdata otherdata flatset unpackdata otherdata flatformat pmunflattenprintset flatset noerr error_no_handl printset printset error_no_handl pmunflattenpageformat flatformat noerr error_no_handl pageformat pageformat error_no_handl disposehandl flatset disposehandl flatformat pmcreateprintset noerr error_no_handl printset printset error_no_handl pmsessiondefaultprintset printsess printset pmcreatepageformat noerr error_no_handl pageformat pageformat error_no_handl pmsessiondefaultpageformat printsess pageformat preview_driver pmsessionsetdestin printsess printset kpmdestinationpreview getchar cfstringcreatewithcharact kcfallocatordefault pmsessionsetcurrentprint printsess cfreleas pmsessionvalidateprintset printsess printset pmsessionvalidatepageformat printsess pageformat graphicscontextsarrai cfarraycreatemut kcfallocatordefault graphicscontextsarrai cfarrayappendvalu graphicscontextsarrai kpmgraphicscontextcoregraph pmsessionsetdocumentformatgener printsess kpmdocumentformatpdf graphicscontextsarrai cfreleas graphicscontextsarrai destroi printer handl method call intern dispos mechan code devic code class protect void destroi page format 0 os pm releas page format page format 0 print set 0 os pm releas print set print set 0 print session 0 os pm releas print session print session 0 pageformat pmreleas pageformat pageformat printset pmreleas printset printset printsess pmreleas printsess printsess invok platform specif function alloc gc handl import method em em part public api code printer code mark public share packag provid swt platform call applic code param data platform specif gc data return platform specif gc handl public int intern gc gc data data dispos swt error swt error graphic dispos setup page data null isgc creat swt error swt error invalid argument data devic data background system color swt color white handl data foreground system color swt color black handl data font system font isgc creat true return context intern_new_gc gcdata isdispos error_graphic_dispos setupnewpag isgccreat error_invalid_argument getsystemcolor color_white getsystemcolor color_black getsystemfont isgccreat protect void init super init colorspac os cg color space creat devicergb colorspac 0 swt error swt error handl cgcolorspacecreatedevicergb error_no_handl invok platform specif function dispos gc handl import method em em part public api code printer code mark public share packag provid swt platform call applic code param hdc platform specif gc handl param data platform specif gc data public void intern dispos gc int context gc data data data null isgc creat fals intern_dispos_gc gcdata isgccreat releas intern prior destroi printer method call intern dispos mechan code devic code class protect void releas colorspac 0 os cg color space releas colorspac colorspac 0 super releas cgcolorspacereleas start print job return true job start successfulli fals method call initi print job number start page end page call end job call start page end page end job start job result undefin behavior param job the print job start return true job start successfulli fals except swt except ul li error devic dispos receiv dispos li ul start page end page end job public boolean start job string job check devic job null job length 0 char buffer char job length job char 0 buffer length buffer 0 int ptr os cf string creat charact os kcf alloc default buffer buffer length ptr 0 os pm set job namecf string print set ptr os cf releas ptr return os pm session begin document dialog print session print set page format os err startpag endpag endjob startpag endpag endjob startjob jobnam swtexcept error_devic_dispos startpag endpag endjob startjob jobnam checkdevic jobnam jobnam jobnam jobnam getchar cfstringcreatewithcharact kcfallocatordefault pmsetjobnamecfstr printset cfreleas pmsessionbegindocumentnodialog printsess printset pageformat noerr end current print job except swt except ul li error devic dispos receiv dispos li ul start job start page end page public void end job check devic page os pm session end page dialog print session page fals os pm session end document dialog print session swtexcept error_devic_dispos startjob startpag endpag endjob checkdevic inpag pmsessionendpagenodialog printsess inpag pmsessionenddocumentnodialog printsess cancel print job progress except swt except ul li error devic dispos receiv dispos li ul public void cancel job check devic os pm session set error print session os kpm cancel swtexcept error_devic_dispos canceljob checkdevic pmsessionseterror printsess kpmcancel static devic data check null printer data data data null data printer data data driver null data null printer data default printer default printer data default printer null swt error swt error handl data driver default printer driver data default printer return data devicedata checknul printerdata printerdata printerdata defaultprint getdefaultprinterdata defaultprint error_no_handl defaultprint defaultprint start page return true page start successfulli fals call start job method call number time match end page return true page start successfulli fals except swt except ul li error devic dispos receiv dispos li ul end page start job end job public boolean start page check devic os pm session error print session os err return fals setup page return context 0 startjob endpag swtexcept error_devic_dispos endpag startjob endjob startpag checkdevic pmsessionerror printsess noerr setupnewpag end current page except swt except ul li error devic dispos receiv dispos li ul start page start job end job public void end page check devic page os pm session end page dialog print session page fals swtexcept error_devic_dispos startpag startjob endjob endpag checkdevic inpag pmsessionendpagenodialog printsess inpag return point coordin horizont dot inch printer coordin vertic dot inch printer return horizont vertic dpi except swt except ul li error devic dispos receiv dispos li ul public point getdpi check devic pm resolut resolut pm resolut os pm resolut page format resolut return point int resolut re int resolut re swtexcept error_devic_dispos checkdevic pmresolut pmresolut pmgetresolut pageformat hre vre return rectangl describ receiv size locat printer size page pixel return bound rectangl except swt except ul li error devic dispos receiv dispos li ul client area comput trim public rectangl bound check devic pm rect paper rect pm rect os pm adjust paper rect page format paper rect return rectangl 0 0 int paper rect paper rect left int paper rect bottom paper rect top swtexcept error_devic_dispos getclientarea computetrim getbound checkdevic pmrect paperrect pmrect pmgetadjustedpaperrect pageformat paperrect paperrect paperrect paperrect paperrect return rectangl describ area receiv capabl displai data printer size printabl area page pixel return client area except swt except ul li error devic dispos receiv dispos li ul bound comput trim public rectangl client area check devic pm rect page rect pm rect os pm adjust page rect page format page rect return rectangl 0 0 int page rect page rect left int page rect bottom page rect top swtexcept error_devic_dispos getbound computetrim getclientarea checkdevic pmrect pagerect pmrect pmgetadjustedpagerect pageformat pagerect pagerect pagerect pagerect pagerect return code printer data code object repres target printer print job return printer data object describ receiv public printer data printer data check devic return data printerdata printerdata printerdata getprinterdata checkdevic mac core graphic context print valid pm session begin page pm session end page print code retriev initi graphic context page pre pm session begin document pm session begin page pm session graphic context context pm session end page pm session end document pre swt ok creat gc start job end job page pre start job gc gc gc printer start page gc end page gc dispos end job pre solut resolv differ reli fact mac os return reiniti graphic context page account fact swt assum graphic context keep set page break actual copi set exist cgc pm session end page cgc pm session begin page addit cope situat swt creat gc call pm session begin page decoupl call pm session begin page swt method start page follow gc creat call start page intern gc pm session begin page start page void setup page page page true os pm session begin page dialog print session page format null int buffer int 1 os pm session graphic context print session 0 buffer context 0 context buffer 0 context buffer 0 swt error swt error unspecifi pm rect paper rect pm rect os pm adjust paper rect page format paper rect os cg context scalectm context 1 1 os cg context translatectm context 0 float paper rect bottom paper rect top os cg context set stroke color space context colorspac os cg context set fill color space context colorspac pmsessionbeginpag pmsessionendpag pmsessionbegindocu pmsessionbeginpag pmsessiongetgraphicscontext pmsessionendpag pmsessionenddocu startjob endjob startjob startpag endpag endjob pmsessionendpag pmsessionbeginpag pmsessionbeginpag pmsessionbeginpag startpag startpag intern_new_gc pmsessionbeginpag startpag setupnewpag inpag inpag pmsessionbeginpagenodialog printsess pageformat pmsessiongetgraphicscontext printsess error_unspecifi pmrect paperrect pmrect pmgetadjustedpaperrect pageformat paperrect cgcontextscalectm cgcontexttranslatectm paperrect paperrect cgcontextsetstrokecolorspac cgcontextsetfillcolorspac prevent uniniti instanc creat packag program find program extens extens begin note code displai code exist guarante method return result param extens program extens return program code null code except swt error ul li error null argument extens null li ul public static program find program string extens extens null swt error swt error null argument extens length 0 return null extens char 0 extens extens charact encod default local aw tchar kei tchar 0 extens true int phk result int 1 os reg open kei os hkei class root kei 0 os kei read phk result 0 return null int lpcb data int 256 tchar lp data tchar 0 lpcb data 0 int result os reg queri phk result 0 null 0 null lp data lpcb data os reg close kei phk result 0 result 0 return null return program lp data string 0 lp data strlen return program extens swterror error_null_argument findprogram error_null_argument charat phkresult regopenkeyex hkei_class_root kei_read phkresult lpcbdata lpdata lpcbdata regqueryvalueex phkresult lpdata lpcbdata regclosekei phkresult getprogram lpdata tostr lpdata getprogram answer program extens oper system note code displai code exist guarante method return result return arrai extens public static string extens string extens string 1024 charact encod default local aw tchar lp tchar 0 1024 int lpc int lp length filetim ft filetim int count 0 aw int dw index 0 os reg enum kei os hkei class root dw index lp lpc null null null ft os error item string extens lp string 0 lpc 0 lpc 0 lp length extens length 0 extens char 0 count extens length string extens string extens length 1024 system arraycopi extens 0 extens 0 extens length extens extens extens count extens dw index extens count xml extens count java extens count properti extens count jar extens count zip extens count xml count extens length string extens string count system arraycopi extens 0 extens 0 count extens extens return extens getextens lpname lpcname lpname dwindex regenumkeyex hkei_class_root dwindex lpname lpcname error_no_more_item lpname tostr lpcname lpcname lpname charat newextens newextens newextens dwindex newextens newextens newextens static program program string kei aw string kei kei string kei null length 0 return null command aw string command shell open command string command kei kei command string command usr bin open command null command length 0 return null icon aw string default icon default icon string icon kei kei default icon string icon icon icon null icon length 0 return null program program program program name program command command program icon icon return program getprogram getkeyvalu getkeyvalu default_icon defaulticon iconnam getkeyvalu default_icon iconnam iconnam iconnam iconnam iconnam answer program oper system note code displai code exist guarante method return result return arrai program public static program program program program program 1024 charact encod default local tchar lp tchar 0 1024 int lpc int lp length filetim ft filetim int count 0 int dw index 0 os reg enum kei os hkei class root dw index lp lpc null null null ft os error item string path lp string 0 lpc 0 lpc 0 lp length program program program path program null count program length program program program program length 1024 system arraycopi program 0 program 0 program length program program program count program dw index program count program html count program length program program program count system arraycopi program 0 program 0 count program program return program getprogram lpname lpcname lpname dwindex regenumkeyex hkei_class_root dwindex lpname lpcname error_no_more_item lpname tostr lpcname lpcname lpname getprogram newprogram newprogram newprogram dwindex getprogram newprogram newprogram newprogram launch execut file oper system file execut execut launch note code displai code exist guarante method return result param file file program return code true code file launch code fals code except swt error ul li error null argument file null li ul public static boolean launch string file file null swt error swt error null argument string arg string usr bin open file try compat exec arg return true catch io except return fals filenam swterror error_null_argument filenam filenam filenam error_null_argument filenam ioexcept execut program file singl argument oper system respons programm ensur file valid data program param file file program return code true code file launch code fals code except swt error ul li error null argument file null li ul public boolean execut string file file null swt error swt error null argument boolean quot true string prefix command suffix int index command index 1 index 1 int count 0 int index 2 length command length length command char count quot count 2 0 prefix command substr 0 index suffix command substr index 2 length quot file file try compat exec prefix file suffix catch io except return fals return true filenam swterror error_null_argument filenam filenam filenam error_null_argument indexof charat filenam filenam filenam ioexcept return receiv imag data icon reciev oper system return imag data program null public imag data imag data aw int icon index 0 string file icon int index icon index index 1 file icon substr 0 index string icon index icon substr index 1 icon length trim try icon index integ pars int icon index catch number format except charact encod default local tchar lpsz file tchar 0 file true int phicon small int 1 phicon larg null os extract icon lpsz file icon index phicon larg phicon small 1 phicon small 0 0 return null imag imag imag win32 null swt icon phicon small 0 imag data null imag data imag data 16 16 4 palett data rgb rgb 0xff 0xff 0xff rgb 0x5f 0x5f 0x5f rgb 0x80 0x80 0x80 rgb 0xc0 0xc0 0xc0 rgb 0xdf 0xdf 0xbf rgb 0xff 0xdf 0x9f rgb 0x00 0x00 0x00 imag data transpar pixel 6 black transpar string ccccccccggg cfaaaaacbgg caaaaaacfbg caaaaaacbbb caaaaaaaaeb caaaaaaaaeb caaaaaaaaeb caaaaaaaaeb caaaaaaaaeb caaaaaaaaeb caaaaaaaaeb caaaaaaaaeb cdddddddddb cbbbbbbbbbb int 0 length int 0 11 imag data set pixel 3 1 char return imag data imagedata getimagedata niconindex filenam iconnam iconnam indexof filenam iconnam iconindex iconnam iconnam niconindex parseint iconindex numberformatexcept lpszfile filenam phiconsmal phiconlarg extracticonex lpszfile niconindex phiconlarg phiconsmal phiconsmal win32_new phiconsmal fimagedata fimagedata imagedata palettedata fimagedata transparentpixel fimagedata setpixel charat fimagedata return receiv short descript program program descript string execut path empti return the program public string return getnam return true receiv argument repres program return true program public boolean equal object return true instanceof program final program program program return equal program command equal program command icon equal program icon return fals iconnam iconnam return hash code suitabl object return hash code public int hash code return hash code command hash code icon hash code hashcod hashcod hashcod iconnam hashcod public string string return program tostr construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt arrow swt check swt push swt radio swt toggl swt flat swt left swt swt center widget check subclass widget style public button composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl checkstyl add listen collect listen notifi control select send messag defin code select listen code interfac code widget select code call control select code widget default select code call param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten static int check style int style style check bit style swt push swt arrow swt check swt radio swt toggl 0 style swt push swt toggl 0 return check bit style swt center swt left swt 0 0 0 style swt check swt radio 0 return check bit style swt left swt swt center 0 0 0 style swt arrow 0 style swt focu return check bit style swt swt swt left swt 0 0 return style checkstyl checkbit checkbit checkbit no_focu checkbit void click post event swt select postev public point comput size int hint int hint boolean chang check widget need empti string style swt arrow 0 int metric int 1 os theme metric os theme metric disclosur triangl height metric int width metric 0 height metric 0 hint swt default width hint hint swt default height hint return point width height int width 0 height 0 imag imag null rectangl bound imag bound width bound width height bound height int ptr int 1 os copi control titl ascf string handl ptr ptr 0 0 org eclips swt intern carbon point io bound org eclips swt intern carbon point font null os theme text dimens ptr 0 short default theme font os theme activ fals io bound null int current port int 1 os port current port os set port window port os control owner handl os text font font id os text face font style os text size font size os theme text dimens ptr 0 short os theme current port font os theme activ fals io bound null os set port current port 0 width io bound height io bound os cf releas ptr 0 width default width height default height style swt check swt radio 0 int metric int 1 int metric style swt check 0 os theme metric check box width os theme metric radio button width os theme metric metric metric width metric 0 3 3 gap button text imag height math max metric 0 height style swt flat 0 style swt toggl 0 width 10 height 10 width 28 int metric int 1 os theme metric os theme metric push button height metric height math max height metric 0 rect inset inset width inset left inset height inset top inset bottom featur mac os set width bevel button widget 20 fail mean button small forc width greater equal 20 height button small 0 width math max 20 width int border style swt push 0 2 0 hint swt default width hint border 2 hint swt default height hint border 2 return point width height computes whint hhint checkwidget outmetr getthememetr kthememetricdisclosuretriangleheight outmetr outmetr outmetr whint whint hhint hhint isimag getbound copycontroltitleascfstr iobound getthemetextdimens defaultthemefont kthemestateact iobound currentport getport currentport setportwindowport getcontrolown textfont textfac textsiz getthemetextdimens kthemecurrentportfont kthemestateact iobound setport currentport iobound iobound cfreleas default_width default_height outmetr kthememetriccheckboxwidth kthememetricradiobuttonwidth getthememetr outmetr outmetr outmetr outmetr getthememetr kthememetricpushbuttonheight outmetr outmetr getinset whint whint hhint hhint void creat handl int control int 1 int window os control owner parent handl style swt arrow 0 int orient os theme disclosur style swt 0 orient os theme disclosur need style swt 0 orient os theme disclosur style swt left 0 orient os theme disclosur left os creat bevel button control window null 0 short 0 short os control behavior pushbutton 0 short 0 short 0 short 0 control control 0 0 error swt error handl handl control 0 os set control data handl os control entir control os control bevel button kind tag 2 short short os theme disclosur button os set control32 bit maximum handl 2 os set control32 bit handl orient style swt check 0 os creat check box control window null 0 0 initi true control os creat bevel button control window null 0 short 0 short os control behavior toggl 0 short 0 short 0 short 0 control control 0 0 error swt error handl handl control 0 os set control data handl os control entir control os control bevel button kind tag 2 short short os theme check box style swt radio 0 os creat radio button control window null 0 0 initi true control os creat bevel button control window null 0 short 0 short os control behavior toggl 0 short 0 short 0 short 0 control control 0 0 error swt error handl handl control 0 os set control data handl os control entir control os control bevel button kind tag 2 short short os theme radio button style swt toggl 0 os creat bevel button control window null 0 short os control bevel button normal bevel short os control behavior toggl 0 short 0 short 0 short 0 control control 0 0 error swt error handl handl control 0 style swt flat 0 os set control data handl os control entir control os control bevel button kind tag 2 short short os theme round bevel button style swt push 0 style swt flat 0 os creat bevel button control window null 0 short 2 short os control behavior pushbutton 0 short 0 short 0 short 0 control os creat push button control window null 0 control os creat bevel button control window null 0 short 2 short os control behavior pushbutton 0 short 0 short 0 short 0 control control 0 0 error swt error handl handl control 0 style swt flat 0 os set control data handl os control entir control os control bevel button kind tag 2 short short os theme push button control font style rec font rec control font style rec font rec flag short os control theme fontid mask font rec font short default theme font os set control font style handl font rec style swt left swt swt center 0 int text align 0 int graphic align 0 style swt left 0 text align os control bevel button align text flush left graphic align os control bevel button align left style swt center 0 text align os control bevel button align text center graphic align os control bevel button align center style swt 0 text align os control bevel button align text flush graphic align os control bevel button align os set control data handl os control entir control os control bevel button text align tag 2 short short text align os set control data handl os control entir control os control bevel button graphic align tag 2 short short graphic align createhandl outcontrol getcontrolown kthemedisclosureright kthemedisclosureright kthemedisclosuredown kthemedisclosureleft createbevelbuttoncontrol kcontrolbehaviorpushbutton outcontrol outcontrol error_no_handl outcontrol setcontroldata kcontrolentirecontrol kcontrolbevelbuttonkindtag kthemedisclosurebutton setcontrol32bitmaximum setcontrol32bitvalu createcheckboxcontrol outcontrol createbevelbuttoncontrol kcontrolbehaviortoggl outcontrol outcontrol error_no_handl outcontrol setcontroldata kcontrolentirecontrol kcontrolbevelbuttonkindtag kthemecheckbox createradiobuttoncontrol outcontrol createbevelbuttoncontrol kcontrolbehaviortoggl outcontrol outcontrol error_no_handl outcontrol setcontroldata kcontrolentirecontrol kcontrolbevelbuttonkindtag kthemeradiobutton createbevelbuttoncontrol kcontrolbevelbuttonnormalbevel kcontrolbehaviortoggl outcontrol outcontrol error_no_handl outcontrol setcontroldata kcontrolentirecontrol kcontrolbevelbuttonkindtag kthemeroundedbevelbutton createbevelbuttoncontrol kcontrolbehaviorpushbutton outcontrol createpushbuttoncontrol outcontrol createbevelbuttoncontrol kcontrolbehaviorpushbutton outcontrol outcontrol error_no_handl outcontrol setcontroldata kcontrolentirecontrol kcontrolbevelbuttonkindtag kthemepushbutton controlfontstylerec fontrec controlfontstylerec fontrec kcontrolusethemefontidmask fontrec defaultthemefont setcontrolfontstyl fontrec textalign graphicalign textalign kcontrolbevelbuttonaligntextflushleft graphicalign kcontrolbevelbuttonalignleft textalign kcontrolbevelbuttonaligntextcent graphicalign kcontrolbevelbuttonaligncent textalign kcontrolbevelbuttonaligntextflushright graphicalign kcontrolbevelbuttonalignright setcontroldata kcontrolentirecontrol kcontrolbevelbuttontextaligntag textalign setcontroldata kcontrolentirecontrol kcontrolbevelbuttongraphicaligntag graphicalign int default theme font displai small font return os theme small system font return os theme push button font defaultthemefont smallfont kthemesmallsystemfont kthemepushbuttonfont void draw widget int control int damag rgn int visibl rgn int event imag imag null style swt push 0 style swt flat 0 rect bound rect content rect os control bound handl bound theme button draw info draw info theme button draw info draw info os control activ handl os theme activ os theme inact draw info adorn os theme adorn default os theme button content bound bound os theme push button draw info content int width imag null 0 os cg imag width imag handl int height imag null 0 os cg imag height imag handl int bound bound left width 2 int content bottom content top height 2 gc data data gc data data paint event event data visibl rgn visibl rgn gc gc gc carbon data gc draw imag imag gc dispos super draw widget control damag rgn visibl rgn event drawwidget damagergn visiblergn theevent isimag getcontrolbound themebuttondrawinfo drawinfo themebuttondrawinfo drawinfo iscontrolact kthemestateact kthemestateinact drawinfo kthemeadornmentdefault getthemebuttoncontentbound kthemepushbutton drawinfo cgimagegetwidth cgimagegetheight gcdata gcdata paintev theevent visiblergn visiblergn carbon_new drawimag drawwidget damagergn visiblergn theevent return describ posit text imag receiv code left code code code code center code receiv code arrow code button case align direct arrow code left code code code code code code code return align except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int align check widget style swt arrow 0 style swt 0 return swt style swt 0 return swt style swt left 0 return swt left style swt 0 return swt return swt style swt left 0 return swt left style swt center 0 return swt center style swt 0 return swt return swt left swtexcept error_widget_dispos error_thread_invalid_access getalign checkwidget return receiv imag null return receiv imag except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public imag imag check widget return imag swtexcept error_widget_dispos error_thread_invalid_access getimag checkwidget return imag string text return text getnametext gettext return code true code receiv select fals receiv type code check code code radio code select check type code toggl code select push receiv type method return fals return select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean select check widget style swt check swt radio swt toggl 0 return fals return os control32 bit handl 0 swtexcept error_widget_dispos error_thread_invalid_access getselect checkwidget getcontrol32bitvalu return receiv text empti string set receiv code arrow code button return receiv text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string text check widget return text swtexcept error_widget_dispos error_thread_invalid_access gettext checkwidget rect inset style swt push 0 return super inset return displai button inset getinset getinset buttoninset int event control hit int handler int event int user data int result super event control hit handler event user data result os err return result style swt radio 0 parent style swt radio group 0 select radio post event swt select return os event handl err keventcontrolhit nexthandl theevent userdata keventcontrolhit nexthandl theevent userdata noerr getstyl no_radio_group selectradio postev eventnothandlederr int event control set focu part int handler int event int user data int result super event control set focu part handler event user data result os err return result style swt push 0 short part short 1 os event paramet event os event param control part os type control part code null 2 null part menu shell set default button part 0 0 null fals return result keventcontrolsetfocuspart nexthandl theevent userdata keventcontrolsetfocuspart nexthandl theevent userdata noerr geteventparamet theevent keventparamcontrolpart typecontrolpartcod menushel setdefaultbutton void releas widget super releas widget icon 0 destroyc icon icon icon 0 releasewidget releasewidget cicon destroycicon cicon cicon remov listen collect listen notifi control select param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect void select radio code intention comment group radio button parent separ control correct behavior group act independ consist radio tool menu item comment code implement behavior int index 0 control children parent getchildren index children length children index index int index 1 0 children set radio select fals int index 1 children length children set radio select fals set select true control children parent getchildren int 0 children length control child children child child set radio select fals set select true selectradio _getchildren setradioselect setradioselect setselect _getchildren setradioselect setselect control text imag arrow displai receiv argument code left code code code code center code receiv code arrow code button case argument direct arrow code left code code code code code code code param align align except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set align int align style swt arrow 0 style swt swt swt left swt 0 return style swt swt swt left swt style align swt swt swt left swt int orient os theme disclosur style swt 0 orient os theme disclosur need style swt 0 orient os theme disclosur style swt left 0 orient os theme disclosur left os set control32 bit handl orient return align swt left swt swt center 0 return style swt left swt swt center style align swt left swt swt center int text align 0 int graphic align 0 style swt left 0 text align os control bevel button align text flush left graphic align os control bevel button align left style swt center 0 text align os control bevel button align text center graphic align os control bevel button align center style swt 0 text align os control bevel button align text flush graphic align os control bevel button align os set control data handl os control entir control os control bevel button text align tag 2 short short text align os set control data handl os control entir control os control bevel button graphic align tag 2 short short graphic align redraw swtexcept error_widget_dispos error_thread_invalid_access setalign kthemedisclosureright kthemedisclosureright kthemedisclosuredown kthemedisclosureleft setcontrol32bitvalu textalign graphicalign textalign kcontrolbevelbuttonaligntextflushleft graphicalign kcontrolbevelbuttonalignleft textalign kcontrolbevelbuttonaligntextcent graphicalign kcontrolbevelbuttonaligncent textalign kcontrolbevelbuttonaligntextflushright graphicalign kcontrolbevelbuttonalignright setcontroldata kcontrolentirecontrol kcontrolbevelbuttontextaligntag textalign setcontroldata kcontrolentirecontrol kcontrolbevelbuttongraphicaligntag graphicalign public void set bound int int int width int height check widget bug maco set height bevel button 20 button drawn incorrectli fix forc height greater equal 20 style swt arrow 0 height math max 20 height super set bound width height setbound checkwidget setbound void set default boolean style swt push 0 return int window os control owner handl os set window default button window handl 0 setdefault getcontrolown setwindowdefaultbutton set receiv imag argument null indic imag displai param imag imag displai receiv null except illeg argument except ul li error invalid argument imag dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set imag imag imag check widget style swt arrow 0 return imag null imag dispos error swt error invalid argument icon 0 destroyc icon icon icon 0 imag imag imag true imag null set text text return text length 0 int ptr os cf string creat charact os kcf alloc default null 0 ptr 0 error swt error set text os set control titl withcf string handl ptr os cf releas ptr icon createc icon imag control button content info content control button content info content content type short os control contentc icon handl content icon ref icon os set bevel button content info handl content redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setimag checkwidget isdispos error_invalid_argument cicon destroycicon cicon cicon isimag settext cfstringcreatewithcharact kcfallocatordefault error_cannot_set_text setcontroltitlewithcfstr cfreleas cicon createcicon controlbuttoncontentinfo incont controlbuttoncontentinfo incont contenttyp kcontrolcontentciconhandl incont iconref cicon setbevelbuttoncontentinfo incont boolean set radio select boolean style swt radio 0 return fals select set select post event swt select return true setradioselect getselect setselect postev set select receiv type code check code code radio code code toggl code receiv type code check code code radio code select check type code toggl code select push param select select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select boolean select check widget style swt check swt radio swt toggl 0 return os set control32 bit handl select 1 0 swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget setcontrol32bitvalu set receiv text method set button label label includ mnemon charact line delimit p mnemon amp charact mnemon user press kei sequenc match mnemon select event occur platform mnemon appear underlin emphasis platform specif manner mnemon indic charact amp escap doubl string caus singl amp displai param string text except illeg argument except ul li error null argument text null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string string check widget string null error swt error null argument style swt arrow 0 return text string imag control button content info content control button content info content content type short os control content text os set bevel button content info handl content imag fals char buffer char text length text char 0 buffer length buffer 0 int length fix mnemon buffer int ptr os cf string creat charact os kcf alloc default buffer length ptr 0 error swt error set text os set control titl withcf string handl ptr os cf releas ptr redraw illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget error_null_argument isimag controlbuttoncontentinfo incont controlbuttoncontentinfo incont contenttyp kcontrolcontenttextonli setbevelbuttoncontentinfo incont isimag getchar fixmnemon cfstringcreatewithcharact kcfallocatordefault error_cannot_set_text setcontroltitlewithcfstr cfreleas int travers code int kei int event int code super travers code kei event style swt radio 0 code swt travers arrow swt travers arrow previou return code traversalcod theevent traversalcod theevent travers_arrow_next travers_arrow_previou caret caret canva construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public canva composit parent int style super parent style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl return caret caret control automat hidden shown control paint resiz focu gain lost control scroll avoid draw top caret programm hide show caret draw window return caret except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public caret caret check widget return caret swtexcept error_widget_dispos error_thread_invalid_access getcaret checkwidget int event control draw int handler int event int user data int control int 1 os event paramet event os event param direct object os type control ref null 4 null control boolean focu control 0 handl caret null caret focu caret focu caret kill focu int result super event control draw handler event user data focu caret set focu return result keventcontroldraw nexthandl theevent userdata thecontrol geteventparamet theevent keventparamdirectobject typecontrolref thecontrol isfocu thecontrol isfocuscaret isfocu killfocu keventcontroldraw nexthandl theevent userdata isfocu setfocu int event control set focu part int handler int event int user data int result super event control set focu part handler event user data caret null dispos short part short 1 os event paramet event os event param control part os type control part code null 2 null part part 0 0 caret set focu caret kill focu return result keventcontrolsetfocuspart nexthandl theevent userdata keventcontrolsetfocuspart nexthandl theevent userdata isdispos geteventparamet theevent keventparamcontrolpart typecontrolpartcod setfocu killfocu void redraw widget int control boolean children boolean focu caret null caret focu caret focu caret kill focu super redraw widget control children focu caret set focu redrawwidget isfocu isfocuscaret isfocu killfocu redrawwidget isfocu setfocu void redraw widget int control int int int width int height boolean boolean focu caret null caret focu caret focu caret kill focu super redraw widget control width height focu caret set focu redrawwidget isfocu isfocuscaret isfocu killfocu redrawwidget isfocu setfocu void releas widget caret null caret releas resourc caret null super releas widget releasewidget releaseresourc releasewidget scroll rectangular area receiv copi sourc area destin caus area sourc cover destin repaint children intersect rectangl option move oper addit outstand paint event flush sourc area copi ensur content canva drawn correctli param destx coordin destin param desti coordin destin param x coordin sourc param y coordin sourc param width width area param height height area param code true code children scroll code fals code except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void scroll int destx int desti int int int width int height boolean check widget width 0 height 0 return int deltax destx deltai desti deltax 0 deltai 0 return draw handl return boolean focu caret null caret focu caret focu caret kill focu rectangl client rect client area rectangl sourc rect rectangl width height sourc rect intersect client rect updat gc gc gc gc copi area width height destx desti gc dispos control children getchildren int 0 children length control child children rectangl rect child bound math min width rect rect width math max rect math min height rect rect height math max rect child set locat rect deltax rect deltai focu caret set focu swtexcept error_widget_dispos error_thread_invalid_access checkwidget isdraw isfocu isfocuscaret isfocu killfocu clientrect getclientarea sourcerect sourcerect clientrect copyarea _getchildren getbound setloc isfocu setfocu set receiv caret caret control automat hidden shown control paint resiz focu gain lost control scroll avoid draw top caret programm hide show caret draw window param caret caret receiv null except illeg argument except ul li error invalid argument caret dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set caret caret caret check widget caret caret caret caret caret caret caret caret focu caret null caret kill focu caret null caret dispos error swt error invalid argument caret set focu illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setcaret checkwidget newcaret oldcaret newcaret hasfocu oldcaret oldcaret killfocu newcaret newcaret isdispos error_invalid_argument newcaret setfocu public void set font font font check widget caret null caret set font font super set font font setfont checkwidget setfont setfont construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public caret canva parent int style super parent style parent parent creat widget illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl createwidget boolean blink caret visibl return true show return show caret blink rate 0 return true return hide caret blinkcaret isvis isshow showcaret blinkrat hidecaret void creat widget super creat widget blink rate displai caret blink visibl true parent caret null parent set caret createwidget createwidget blinkrat getcaretblinktim isvis getcaret setcaret boolean draw caret parent null return fals parent dispos return fals int parent handl parent handl parent draw parent handl return fals int width width height height width 0 width 1 int window os control owner parent handl int port os window port window int current port int 1 os port current port os set port port int clip os rgn int visibl rgn parent visibl region parent handl true os clip clip os set clip visibl rgn rect rect rect os control bound parent handl rect int left rect left int top rect top imag null os set rect rect short left short top short left width short top height rgb color color rgb color color red short 0xffff color green short 0xffff color blue short 0xffff os rgb color color os invert rect rect int imag handl imag handl width os cg imag width imag handl height os cg imag height imag handl int bpl os cg imag byte row imag handl rect bound rect bound short width bound bottom short height rect port rect rect os window bound window short os window content rgn port rect left port rect left top port rect top os set rect rect short left short top short left width short top height int int 1 os newg ptr os k32argb pixel format bound 0 0 0 imag data bpl int cur port int 1 int curg int 1 os getg cur port curg os setg world 0 curg 0 int port bit map os port bit map copi bit port int gworld bit map os port bit map copi bit 0 os offset rgn visibl rgn port rect left port rect top os copi bit gworld bit map port bit map bound rect short os src xor visibl rgn os offset rgn visibl rgn short port rect left short port rect top os setg cur port 0 curg 0 os disposeg world 0 os set clip clip os dispos rgn visibl rgn os dispos rgn clip os set port current port 0 return true drawcaret isdispos parenthandl isdraw parenthandl nwidth nheight nwidth nwidth getcontrolown parenthandl getwindowport currentport getport currentport setport oldclip newrgn visiblergn getvisibleregion parenthandl getclip oldclip setclip visiblergn getcontrolbound parenthandl setrect nwidth nheight rgbcolor rgbcolor rgbbackcolor invertrect imagehandl nwidth cgimagegetwidth imagehandl nheight cgimagegetheight imagehandl cgimagegetbytesperrow imagehandl nwidth nheight portrect getwindowbound kwindowcontentrgn portrect portrect portrect setrect nwidth nheight gworld newgworldfromptr gworld k32argbpixelformat curport curgworld getgworld curport curgworld setgworld gworld curgworld portbitmap getportbitmapforcopybit gworldbitmap getportbitmapforcopybit gworld offsetrgn visiblergn portrect portrect copybit gworldbitmap portbitmap notsrcxor visiblergn offsetrgn visiblergn portrect portrect setgworld curport curgworld disposegworld gworld setclip oldclip disposergn visiblergn disposergn oldclip setport currentport return rectangl describ receiv size locat rel parent displai parent null return receiv bound rectangl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public rectangl bound check widget imag null rectangl rect imag bound return rectangl rect width rect height return rectangl width height swtexcept error_widget_dispos error_thread_invalid_access getbound checkwidget getbound return font receiv paint textual inform return receiv font except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public font font check widget font null return font return parent font swtexcept error_widget_dispos error_thread_invalid_access getfont checkwidget getfont return imag receiv paint caret return receiv imag except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public imag imag check widget return imag swtexcept error_widget_dispos error_thread_invalid_access getimag checkwidget return point describ receiv locat rel parent displai parent null return receiv locat except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point locat check widget return point swtexcept error_widget_dispos error_thread_invalid_access getloc checkwidget return receiv parent code canva code return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public canva parent check widget return parent swtexcept error_widget_dispos error_thread_invalid_access getpar checkwidget return point describ receiv size return receiv size except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point size check widget imag null rectangl rect imag bound return point rect width rect height return point width height swtexcept error_widget_dispos error_thread_invalid_access getsiz checkwidget getbound return code true code receiv visibl code fals code receiv ancestor visibl condit make receiv visibl method consid visibl actual show return receiv visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean visibl check widget return visibl swtexcept error_widget_dispos error_thread_invalid_access getvis checkwidget isvis boolean hide caret show return true show fals return draw caret hidecaret isshow isshow drawcaret return code true code receiv visibl receiv ancestor visibl code fals code return receiv visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul visibl public boolean visibl check widget return visibl parent visibl parent focu swtexcept error_widget_dispos error_thread_invalid_access getvis isvis checkwidget isvis isvis hasfocu boolean focu caret return displai current caret isfocuscaret currentcaret void kill focu displai current caret return displai set current caret null visibl hide caret killfocu currentcaret setcurrentcaret isvis hidecaret void releas child super releas child parent caret parent set caret null releasechild releasechild getcaret setcaret void releas widget super releas widget displai current caret hide caret displai set current caret null parent null imag null releasewidget releasewidget currentcaret hidecaret setcurrentcaret set receiv size locat rectangular area argument code code code code argument rel receiv parent displai parent null param x coordin receiv param y coordin receiv param width width receiv param height height receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set bound int int int width int height check widget x y width width height height return boolean focu focu caret focu hide caret x y width width height height parent updat caret focu show caret swtexcept error_widget_dispos error_thread_invalid_access setbound checkwidget isfocu isfocuscaret isfocu hidecaret updatecaret isfocu showcaret set receiv size locat rectangular area argument code code code code field rectangl rel receiv parent displai parent null param rect bound receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set bound rectangl rect check widget rect null error swt error null argument set bound rect rect rect width rect height swtexcept error_widget_dispos error_thread_invalid_access setbound checkwidget error_null_argument setbound void set focu displai current caret return displai set current caret visibl show caret setfocu currentcaret setcurrentcaret isvis showcaret set font receiv paint textual inform font argument default font kind control argument null param font font null except illeg argument except ul li error invalid argument font dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set font font font check widget font null font dispos error swt error invalid argument font font illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setfont checkwidget isdispos error_invalid_argument set imag receiv paint caret imag argument default fill rectangl argument null param imag imag null except illeg argument except ul li error invalid argument imag dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set imag imag imag check widget imag null imag dispos error swt error invalid argument boolean focu focu caret focu hide caret imag imag focu show caret illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setimag checkwidget isdispos error_invalid_argument isfocu isfocuscaret isfocu hidecaret isfocu showcaret set receiv locat point argument rel receiv parent displai parent null param x coordin receiv param y coordin receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set locat int int check widget set bound width height swtexcept error_widget_dispos error_thread_invalid_access setloc checkwidget setbound set receiv locat point argument rel receiv parent displai parent null param locat locat receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set locat point locat check widget locat null error swt error null argument set locat locat locat swtexcept error_widget_dispos error_thread_invalid_access setloc checkwidget error_null_argument setloc set receiv size point argument param width width receiv param height height receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set size int width int height check widget set bound width height swtexcept error_widget_dispos error_thread_invalid_access setsiz checkwidget setbound set receiv size point argument param size extent receiv except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set size point size check widget size null error swt error null argument set size size size illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setsiz checkwidget error_null_argument setsiz mark receiv visibl argument code true code mark invis receiv ancestor visibl condit make receiv visibl mark visibl actual displai param visibl visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set visibl boolean visibl check widget visibl visibl return visibl visibl focu caret return visibl show caret hide caret swtexcept error_widget_dispos error_thread_invalid_access setvis checkwidget isvis isvis isfocuscaret isvis showcaret hidecaret boolean show caret show return true show true return draw caret showcaret isshow isshow drawcaret construct instanc class parent param parent composit control parent instanc except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public color dialog shell parent parent swt applic modal illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl colordialog applic_modal construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public color dialog shell parent int style super parent style check subclass illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl colordialog checksubclass return select color receiv return rgb select color null palett data getrg bs public rgb getrgb return rgb palettedata getrgb make receiv visibl bring front displai return select color null dialog cancel color select error occur except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public rgb open color picker info info color picker info rgb null info red short rgb red 257 info green short rgb green 257 info blue short rgb blue 257 info red short 255 257 info green short 255 257 info blue short 255 257 info flag os color picker dialog moveabl os color picker dialog modal need shouldn mous locat info place short os origin org eclips swt intern carbon point mp org eclips swt intern carbon point os global mous mp info mp info mp titl null need titl displai info prompt byte 256 int length titl length length 255 length 255 info prompt 0 byte length int 0 length info prompt 1 byte titl char rgb null os pick color info os err info color chosen int red info red 8 0xff int green info green 8 0xff int blue info blue 8 0xff rgb rgb red green blue return rgb swtexcept error_widget_dispos error_thread_invalid_access colorpickerinfo colorpickerinfo kcolorpickerdialogismov kcolorpickerdialogismod placewher katspecifiedorigin getglobalmous charat pickcolor noerr newcolorchosen set receiv select color argument param rgb rgb select color null let platform select default open call palett data getrg bs public void setrgb rgb rgb rgb rgb palettedata getrgb construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt drop swt read swt simpl widget check subclass widget style public combo composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass drop_down read_onli checksubclass getstyl checkstyl add argument end receiv list param string item except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item ad oper fail oper system failur li ul add string int public void add string string check widget string null error swt error null argument char buffer char string length string char 0 buffer length buffer 0 int ptr os cf string creat charact os kcf alloc default buffer buffer length ptr 0 error swt error item ad int result style swt read 0 result os append menu item text withcf string menu handl ptr 0 0 null result os hi combo box append text item handl ptr null os cf releas ptr result os err error swt error item ad illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_ad checkwidget error_null_argument getchar cfstringcreatewithcharact kcfallocatordefault error_item_not_ad read_onli appendmenuitemtextwithcfstr menuhandl hicomboboxappendtextitem cfreleas noerr error_item_not_ad add argument receiv list rel index note add item end list result call code item count code index code add string code param string item param index index item except illeg argument except ul li error null argument string null li li error invalid rang index 0 number element list inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item ad oper fail oper system failur li ul add string public void add string string int index check widget string null error swt error null argument int count item count 0 index index count error swt error invalid rang char buffer char string length string char 0 buffer length buffer 0 int ptr os cf string creat charact os kcf alloc default buffer buffer length ptr 0 error swt error item ad int result style swt read 0 result os insert menu item text withcf string menu handl ptr short index 0 0 result os hi combo box insert text item index handl index ptr os cf releas ptr result os err error swt error item ad getitemcount illegalargumentexcept error_null_argument error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_ad checkwidget error_null_argument getitemcount error_invalid_rang getchar cfstringcreatewithcharact kcfallocatordefault error_item_not_ad read_onli insertmenuitemtextwithcfstr menuhandl hicomboboxinserttextitematindex cfreleas noerr error_item_not_ad add listen collect listen notifi receiv text modifi send messag defin code modifi listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul modifi listen remov modifi listen public void add modifi listen modifi listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt modifi type listen modifylisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access modifylisten removemodifylisten addmodifylisten modifylisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten add listen collect listen notifi receiv select send messag defin code select listen code interfac code widget select code call combo list select code widget default select code typic call enter press combo text area param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten static int check style int style featur window creat combo box border window style bit combo box draw border standard window border style matter style bit clear border bit swt style match window widget window behavior implement platform style swt border legal creat widget scroll bar serv purpos automat scroll widget client area fix clear swt style style swt scroll swt scroll style check bit style swt drop swt simpl 0 0 0 0 style swt simpl 0 return style swt read return style checkstyl h_scroll v_scroll checkbit drop_down read_onli protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass set select receiv text field empti select start charact text field edit effect place beam start text note clear select item receiv list code deselect code except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul deselect public void clear select check widget style swt read 0 os set control32 bit handl 0 char buffer char 0 int ptr os cf string creat charact os kcf alloc default buffer buffer length ptr 0 return os set control data handl os khi combo box edit text part os control edit textcf string tag 4 int ptr os cf releas ptr deselectal swtexcept error_widget_dispos error_thread_invalid_access deselectal clearselect checkwidget read_onli setcontrol32bitvalu cfstringcreatewithcharact kcfallocatordefault setcontroldata khicomboboxedittextpart kcontroledittextcfstringtag cfreleas public point comput size int hint int hint boolean chang check widget int width 0 height 0 int current port int 1 short theme font short default theme font font null theme font os theme current port font os port current port os set port window port os control owner handl os text font font id os text face font style os text size font size font info info font info os font info info height info ascent info descent int ptr int 1 style swt read 0 int index os control handl 1 os copi menu item text ascf string menu handl short index 1 ptr os control data handl short os khi combo box edit text part os control edit textcf string tag 4 ptr null org eclips swt intern carbon point io bound org eclips swt intern carbon point ptr 0 0 os theme text dimens ptr 0 theme font os theme activ fals io bound null width math max width io bound height math max height io bound os cf releas ptr 0 int count style swt read 0 count os count menu item menu handl count os hi combo box item count handl int 0 count int result style swt read 0 result os copi menu item text ascf string menu handl short 1 ptr result os hi combo box copi text item index handl ptr result os err os theme text dimens ptr 0 theme font os theme activ fals io bound null width math max width io bound os cf releas ptr 0 font null os set port current port 0 int metric int 1 style swt read 0 os theme metric os theme metric disclosur button width metric width metric 0 width 13 os theme metric os theme metric combo box larg disclosur width metric width metric 0 os theme metric os theme metric edit text whitespac metric width metric 0 2 height metric 0 2 rect inset inset width inset left inset height inset top inset bottom hint swt default width hint hint swt default height hint return point width height computes whint hhint checkwidget currentport themefont defaultthemefont themefont kthemecurrentportfont getport currentport setportwindowport getcontrolown textfont textfac textsiz fontinfo fontinfo getfontinfo read_onli getcontrolvalu copymenuitemtextascfstr menuhandl getcontroldata khicomboboxedittextpart kcontroledittextcfstringtag iobound getthemetextdimens themefont kthemestateact iobound iobound iobound cfreleas read_onli countmenuitem menuhandl hicomboboxgetitemcount read_onli copymenuitemtextascfstr menuhandl hicomboboxcopytextitematindex noerr getthemetextdimens themefont kthemestateact iobound iobound cfreleas setport currentport read_onli getthememetr kthememetricdisclosurebuttonwidth getthememetr kthememetriccomboboxlargedisclosurewidth getthememetr kthememetricedittextwhitespac getinset whint whint hhint hhint copi select text current select copi clipboard except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public void copi check widget int str int 1 short start end style swt read 0 need get text select int index os control handl os copi menu item text ascf string menu handl short index str os err return start 0 end short os cf string length str 0 start end os cf releas str 0 return short short 2 os control data handl short os khi combo box edit text part os control edit text select tag 4 null 0 1 return start 0 end 1 os control data handl short os khi combo box edit text part os control edit textcf string tag 4 str null os err return cf rang rang cf rang rang locat start rang length end start int encod os cf string system encod int size int 1 os cf string byte str 0 rang encod byte true null 0 size byte buffer byte size 0 os cf string byte str 0 rang encod byte true buffer size 0 size os cf releas str 0 os clear current scrap int scrap int 1 os current scrap scrap os put scrap flavor scrap 0 os scrap flavor type text 0 buffer length buffer swtexcept error_widget_dispos error_thread_invalid_access checkwidget read_onli getcontrolvalu copymenuitemtextascfstr menuhandl noerr cfstringgetlength cfreleas getcontroldata khicomboboxedittextpart kcontroledittextselectiontag getcontroldata khicomboboxedittextpart kcontroledittextcfstringtag noerr cfrang cfrang cfstringgetsystemencod cfstringgetbyt cfstringgetbyt cfreleas clearcurrentscrap getcurrentscrap putscrapflavor kscrapflavortypetext void creat handl need simpl style swt read 0 int control int 1 int window os control owner parent handl control definit pass menu id 12345 popup try menu resourc build menu later stuff menu ref field popup data inform os creat popup button control window null 0 short 12345 fals short 0 short 0 0 control control 0 0 error swt error handl handl control 0 int menu ref int 1 os creat menu short 0 0 menu ref menu ref 0 0 error swt error handl menu handl menu ref 0 os set control popup menu handl handl menu handl os set control32 bit maximum handl 0x7fff int control int 1 cg rect rect cg rect int attribut os khi combo box auto size list attribut code intention comment auto complet allow user chang case text combo box attribut os khi combo box auto complet attribut os hi combo box creat rect 0 null 0 attribut control control 0 0 error swt error handl handl control 0 os set control data handl short os khi combo box edit text part os ktxn draw caret inact tag 4 byte 0 os hi view set visibl handl true os set control visibl handl true fals createhandl read_onli outcontrol getcontrolown controldefinit menuref createpopupbuttoncontrol outcontrol outcontrol error_no_handl outcontrol menuref createnewmenu menuref menuref error_no_handl menuhandl menuref setcontrolpopupmenuhandl menuhandl setcontrol32bitmaximum outcontrol cgrect cgrect inattribut khicomboboxautosizelistattribut inattribut khicomboboxautocompletionattribut hicomboboxcr inattribut outcontrol outcontrol error_no_handl outcontrol setcontroldata khicomboboxedittextpart ktxndrawcaretwheninactivetag hiviewsetvis setcontrolvis cut select text current select copi clipboard delet widget except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public void cut need modifi verifi check widget int str int 1 short start end style swt read 0 need get text select int index os control handl os copi menu item text ascf string menu handl short index str os err return start 0 end short os cf string length str 0 start end os cf releas str 0 return short short 2 os control data handl short os khi combo box edit text part os control edit text select tag 4 null 0 1 return start 0 end 1 os control data handl short os khi combo box edit text part os control edit textcf string tag 4 str null os err return cf rang rang cf rang rang locat start rang length end start int encod os cf string system encod int size int 1 os cf string byte str 0 rang encod byte true null 0 size byte buffer byte size 0 os cf string byte str 0 rang encod byte true buffer size 0 size os clear current scrap int scrap int 1 os current scrap scrap os put scrap flavor scrap 0 os scrap flavor type text 0 buffer length buffer delet select style swt read 0 need byte buffer rang locat 0 rang length start size int 1 os cf string byte str 0 rang encod byte true null 0 size byte pre buffer byte size 0 os cf string byte str 0 rang encod byte true pre buffer size 0 size rang locat end rang length os cf string length str 0 end size int 1 os cf string byte str 0 rang encod byte true null 0 size byte post buffer byte size 0 os cf string byte str 0 rang encod byte true post buffer size 0 size buffer byte pre buffer length post buffer length system arraycopi pre buffer 0 buffer 0 pre buffer length system arraycopi post buffer 0 buffer pre buffer length post buffer length int ptr os cf string creat byte os kcf alloc default buffer buffer length encod true os set control data handl os khi combo box edit text part os control edit textcf string tag 4 int ptr os cf releas ptr send event swt modifi os cf releas str 0 swtexcept error_widget_dispos error_thread_invalid_access checkwidget read_onli getcontrolvalu copymenuitemtextascfstr menuhandl noerr cfstringgetlength cfreleas getcontroldata khicomboboxedittextpart kcontroledittextselectiontag getcontroldata khicomboboxedittextpart kcontroledittextcfstringtag noerr cfrang cfrang cfstringgetsystemencod cfstringgetbyt cfstringgetbyt clearcurrentscrap getcurrentscrap putscrapflavor kscrapflavortypetext read_onli newbuff cfstringgetbyt prebuff cfstringgetbyt prebuff cfstringgetlength cfstringgetbyt postbuff cfstringgetbyt postbuff newbuff prebuff postbuff prebuff newbuff prebuff postbuff newbuff prebuff postbuff cfstringcreatewithbyt kcfallocatordefault newbuff newbuff setcontroldata khicomboboxedittextpart kcontroledittextcfstringtag cfreleas sendev cfreleas deselect item rel index receiv list item index deselect remain deselect indic rang param index index item deselect except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void deselect int index check widget index 1 return need swtexcept error_widget_dispos error_thread_invalid_access checkwidget deselect select item receiv list note clear select receiv text field code clear select code except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul clear select public void deselect check widget need clearselect swtexcept error_widget_dispos error_thread_invalid_access clearselect deselectal checkwidget return item rel index receiv list throw except index rang param index index item return return item index except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item oper fail oper system failur li ul public string item int index check widget int count item count 0 index index count error swt error invalid rang int ptr int 1 int result style swt read 0 result os copi menu item text ascf string menu handl short index 1 ptr result os hi combo box copi text item index handl index ptr result os err error swt error item int length os cf string length ptr 0 char buffer char length cf rang rang cf rang rang length length os cf string charact ptr 0 rang buffer os cf releas ptr 0 return string buffer illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_item getitem checkwidget getitemcount error_invalid_rang read_onli copymenuitemtextascfstr menuhandl hicomboboxcopytextitematindex noerr error_cannot_get_item cfstringgetlength cfrang cfrang cfstringgetcharact cfreleas return number item contain receiv list return number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error count oper fail oper system failur li ul public int item count check widget style swt read 0 return os count menu item menu handl return os hi combo box item count handl swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_count getitemcount checkwidget read_onli countmenuitem menuhandl hicomboboxgetitemcount return height area displai em em item receiv list return height item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item height oper fail oper system failur li ul public int item height check widget return 26 need swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_item_height getitemheight checkwidget return arrai code string code item receiv list note actual structur receiv maintain list item modifi arrai affect receiv return item receiv list except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item oper fail oper system failur li ul public string item check widget int count item count string result string count int 0 count result item return result swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_item getitem checkwidget getitemcount getitem return orient receiv return orient style except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 2 public int orient check widget return style swt left swt left swtexcept error_widget_dispos error_thread_invalid_access getorient checkwidget left_to_right right_to_left return code point code coordin start select receiv text field coordin end select return valu rel empti select the coordin return point repres select start end except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point select check widget point select style swt read 0 need select point 0 0 short short 2 os control data handl short os khi combo box edit text part os control edit text select tag 4 null select point 0 1 return select swtexcept error_widget_dispos error_thread_invalid_access getselect checkwidget read_onli getcontroldata khicomboboxedittextpart kcontroledittextselectiontag return rel index item select receiv list 1 item select return index select item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select index check widget int index style swt read 0 index os control handl 1 need index index text return index swtexcept error_widget_dispos error_thread_invalid_access getselectionindex checkwidget read_onli getcontrolvalu indexof gettext return string copi content receiv text field return receiv text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string text check widget int ptr int 1 int result style swt read 0 int index os control handl 1 result os copi menu item text ascf string menu handl short index 1 ptr int actual size int 1 result os control data handl short os khi combo box edit text part os control edit textcf string tag 4 ptr actual size result os err return int length os cf string length ptr 0 char buffer char length cf rang rang cf rang rang length length os cf string charact ptr 0 rang buffer os cf releas ptr 0 return string buffer swtexcept error_widget_dispos error_thread_invalid_access gettext checkwidget read_onli getcontrolvalu copymenuitemtextascfstr menuhandl actuals getcontroldata khicomboboxedittextpart kcontroledittextcfstringtag actuals noerr cfstringgetlength cfrang cfrang cfstringgetcharact cfreleas return height receiv text field return text height except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item height oper fail oper system failur li ul public int text height check widget return 26 need swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_item_height gettextheight checkwidget return maximum number charact receiv text field capabl hold chang code set text limit code constant code combo limit code return text limit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int text limit check widget return limit need settextlimit swtexcept error_widget_dispos error_thread_invalid_access gettextlimit checkwidget number item visibl drop portion receiv list return number item visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public int visibl item count check widget style swt read 0 todo return item count int buffer int 1 os control data handl short os control entir control os khi combo box num visibl item tag 4 buffer null return buffer 0 swtexcept error_widget_dispos error_thread_invalid_access getvisibleitemcount checkwidget read_onli getitemcount getcontroldata kcontrolentirecontrol khicomboboxnumvisibleitemstag void hook event super hook event style swt read 0 int command proc displai command proc int mask int os event class command os event process command int menu target os menu event target menu handl os instal event handler menu target command proc mask length 2 mask handl null hookev hookev read_onli commandproc commandproc keventclasscommand keventprocesscommand menutarget getmenueventtarget menuhandl installeventhandl menutarget commandproc search receiv list start item index 0 item found equal argument return index item item found return 1 param string search item return index item except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int index string string return index string 0 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access indexof indexof search receiv list start rel index item found equal argument return index item item found start index rang return 1 param string search item param start rel index begin search return index item except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int index string string int start check widget string null error swt error null argument int count item count 0 start start count return 1 int start count string equal item return return 1 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access indexof checkwidget error_null_argument getitemcount getitem rect inset return displai combo inset getinset comboinset int event control activ int handler int event int user data int result super event control activ handler event user data result os err return result featur macintosh combo box event control activ start caret blink clip macintosh caret blink widget obscur fix avoid run default handler return os err keventcontrolactiv nexthandl theevent userdata keventcontrolactiv nexthandl theevent userdata noerr keventcontrolactiv noerr int event process command int handler int event int user data int result super event process command handler event user data result os err return result unlik applic code dispos widget modifi event happen end process window messag return result window proc note send event select updat post event swt modifi dispos return os event handl err post event swt select return os event handl err keventprocesscommand nexthandl theevent userdata keventprocesscommand nexthandl theevent userdata noerr postev isdispos eventnothandlederr postev eventnothandlederr int event raw kei int handler int event int user data featur macintosh combo box widget consum event raw kei event return kei press caus event text input unicod kei event fix handl return kei event raw kei int kei code int 1 os event paramet event os event param kei code os typeu int32 null kei code length 4 null kei code kei code 0 36 return translat travers kei code 0 event return os err send kei event swt kei event return os err post event swt default select return os event handl err keventrawkei nexthandl theevent userdata keventrawkeydown keventtextinputunicodeforkeyev keventrawkeydown keycod geteventparamet theevent keventparamkeycod typeuint32 keycod keycod keycod translatetravers keycod theevent noerr sendkeyev keydown theevent noerr postev defaultselect eventnothandlederr past text clipboard select text delet widget text insert clipboard except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public void past check widget need modifi verifi int scrap int 1 os current scrap scrap int size int 1 os scrap flavor size scrap 0 os scrap flavor type text size os err size 0 0 return byte buffer byte size 0 os scrap flavor data scrap 0 os scrap flavor type text size buffer os err return style swt read 0 string string string buffer int index index string index 1 select index byte buffer int encod os cf string system encod int ptr int 1 os control data handl short os khi combo box edit text part os control edit textcf string tag 4 ptr null os err short short 2 os control data handl short os khi combo box edit text part os control edit text select tag 4 null cf rang rang cf rang rang locat 0 rang length 0 size int 1 os cf string byte ptr 0 rang encod byte true null 0 size byte pre buffer byte size 0 os cf string byte ptr 0 rang encod byte true pre buffer size 0 size rang locat 1 rang length os cf string length ptr 0 1 size int 1 os cf string byte ptr 0 rang encod byte true null 0 size byte post buffer byte size 0 os cf string byte ptr 0 rang encod byte true post buffer size 0 size buffer byte pre buffer length buffer length post buffer length system arraycopi pre buffer 0 buffer 0 pre buffer length system arraycopi buffer 0 buffer pre buffer length buffer length system arraycopi post buffer 0 buffer pre buffer length buffer length post buffer length os cf releas ptr 0 buffer buffer int ptr os cf string creat byte os kcf alloc default buffer buffer length encod true os set control data handl os khi combo box edit text part os control edit textcf string tag 4 int ptr os cf releas ptr send event swt modifi swtexcept error_widget_dispos error_thread_invalid_access checkwidget getcurrentscrap getscrapflavors kscrapflavortypetext noerr getscrapflavordata kscrapflavortypetext noerr read_onli indexof newbuff cfstringgetsystemencod ptrold getcontroldata khicomboboxedittextpart kcontroledittextcfstringtag ptrold noerr getcontroldata khicomboboxedittextpart kcontroledittextselectiontag cfrang cfrang cfstringgetbyt ptrold prebuff cfstringgetbyt ptrold prebuff cfstringgetlength ptrold cfstringgetbyt ptrold postbuff cfstringgetbyt ptrold postbuff newbuff prebuff postbuff prebuff newbuff prebuff newbuff prebuff postbuff newbuff prebuff postbuff cfreleas ptrold newbuff cfstringcreatewithbyt kcfallocatordefault newbuff newbuff setcontroldata khicomboboxedittextpart kcontroledittextcfstringtag cfreleas sendev void releas widget super releas widget menu handl 0 os delet menu os menuid menu handl os dispos menu menu handl menu handl 0 releasewidget releasewidget menuhandl deletemenu getmenuid menuhandl disposemenu menuhandl menuhandl remov item receiv list rel index param index index item except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov oper fail oper system failur li ul public void remov int index check widget index 1 error swt error invalid rang int count item count 0 index index count error swt error invalid rang style swt read 0 os delet menu item menu handl short index 1 1 index os control handl 1 os set control32 bit handl 0 os hi combo box remov item index handl index illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov checkwidget error_invalid_rang getitemcount error_invalid_rang read_onli deletemenuitem menuhandl getcontrolvalu setcontrol32bitvalu hicomboboxremoveitematindex remov item receiv list rel start end indic inclus param start start rang param end end rang except illeg argument except ul li error invalid rang start end 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov oper fail oper system failur li ul public void remov int start int end check widget start end return int count item count 0 start start end end count error swt error invalid rang int end math min end count 1 style swt read 0 os delet menu item menu handl short start 1 end start 1 int index os control handl 1 start index index end os set control32 bit handl 0 need int end start os hi combo box remov item index handl illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov checkwidget getitemcount error_invalid_rang newend read_onli deletemenuitem menuhandl newend getcontrolvalu setcontrol32bitvalu newend hicomboboxremoveitematindex search receiv list start item item found equal argument remov item list param string item remov except illeg argument except ul li error null argument string null li li error invalid argument string found list li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov oper fail oper system failur li ul public void remov string string check widget string null error swt error null argument need int count item count int 0 count string item string equal remov return error swt error invalid argument illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov checkwidget error_null_argument getitemcount getitem error_invalid_argument remov item receiv list except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void remov check widget int count item count style swt read 0 os delet menu item menu handl short 1 count os set control32 bit handl 0 need count 0 int count 1 0 os hi combo box remov item index handl swtexcept error_widget_dispos error_thread_invalid_access removeal checkwidget getitemcount read_onli deletemenuitem menuhandl setcontrol32bitvalu hicomboboxremoveitematindex remov listen collect listen notifi receiv text modifi param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul modifi listen add modifi listen public void remov modifi listen modifi listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt modifi listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access modifylisten addmodifylisten removemodifylisten modifylisten checkwidget error_null_argument eventt eventt remov listen collect listen notifi receiv select param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect select item rel index receiv list item index select remain select indic rang param index index item select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void select int index check widget need modifi verifi int count item count 0 index index count style swt read 0 os set control32 bit handl index 1 int ptr int 1 os hi combo box copi text item index handl index ptr os err return os set control data handl short os khi combo box edit text part os control edit textcf string tag 4 ptr os cf releas ptr 0 send event swt modifi swtexcept error_widget_dispos error_thread_invalid_access checkwidget getitemcount read_onli setcontrol32bitvalu hicomboboxcopytextitematindex noerr setcontroldata khicomboboxedittextpart kcontroledittextcfstringtag cfreleas sendev boolean send kei event int type event event super send kei event type event return fals type swt kei return true event charact 0 return true style swt read 0 return true post modifi event charact insert widget modifi event deliv modifi event safe post event method call event loop post event swt modifi return true sendkeyev sendkeyev keydown read_onli postev set text item receiv list rel index string argument equival code remov code ing item index code add code ing item index param index index item param string text item except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov remov oper fail oper system failur li li error item ad add oper fail oper system failur li ul public void set item int index string string check widget string null error swt error null argument int count item count 0 index index count error swt error invalid rang char buffer char string length string char 0 buffer length buffer 0 int ptr os cf string creat charact os kcf alloc default buffer buffer length ptr 0 error swt error item ad int result style swt read 0 result os set menu item text withcf string menu handl short index 1 ptr result os hi combo box insert text item index handl index ptr os hi combo box remov item index handl index 1 os cf releas ptr result os err error swt error item ad illegalargumentexcept error_invalid_rang error_null_argument swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov error_item_not_ad setitem checkwidget error_null_argument getitemcount error_invalid_rang getchar cfstringcreatewithcharact kcfallocatordefault error_item_not_ad read_onli setmenuitemtextwithcfstr menuhandl hicomboboxinserttextitematindex hicomboboxremoveitematindex cfreleas noerr error_item_not_ad set receiv list arrai item param item arrai item except illeg argument except ul li error null argument item arrai null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item ad oper fail oper system failur li ul public void set item string item check widget item null error swt error null argument remov item length 0 return int 0 item length string string item string null continu char buffer char string length string char 0 buffer length buffer 0 int ptr os cf string creat charact os kcf alloc default buffer buffer length ptr 0 error swt error item ad int result style swt read 0 result os append menu item text withcf string menu handl ptr 0 0 null int index int 1 result os hi combo box append text item handl ptr index os cf releas ptr result os err error swt error item ad illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_ad setitem checkwidget error_null_argument removeal getchar cfstringcreatewithcharact kcfallocatordefault error_item_not_ad read_onli appendmenuitemtextwithcfstr menuhandl outindex hicomboboxappendtextitem outindex cfreleas noerr error_item_not_ad set orient receiv constant code swt left code code swt left code param orient orient style except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 2 public void set orient int orient check widget left_to_right right_to_left swtexcept error_widget_dispos error_thread_invalid_access setorient checkwidget set select receiv text field rang argument coordin start select coordin end select param select point repres select start end except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select point select check widget select null error swt error null argument style swt read 0 need short short short select short select os set control data handl os khi combo box edit text part os control edit text select tag 4 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget error_null_argument read_onli setcontroldata khicomboboxedittextpart kcontroledittextselectiontag set content receiv text field string note text field code combo code typic capabl displai singl line text set text string line break special charact displai incorrectli param string text except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string string check widget need modifi verifi string null error swt error null argument style swt read 0 int index index string index 1 select index char buffer char string length string char 0 buffer length buffer 0 int ptr os cf string creat charact os kcf alloc default buffer buffer length ptr 0 return os set control data handl os khi combo box edit text part os control edit textcf string tag 4 int ptr os cf releas ptr send event swt modifi illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget error_null_argument read_onli indexof getchar cfstringcreatewithcharact kcfallocatordefault setcontroldata khicomboboxedittextpart kcontroledittextcfstringtag cfreleas sendev set maximum number charact receiv text field capabl hold argument param limit text limit except illeg argument except ul li error limit li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text limit int limit check widget limit 0 error swt error need illegalargumentexcept error_cannot_be_zero swtexcept error_widget_dispos error_thread_invalid_access settextlimit checkwidget error_cannot_be_zero set number item visibl drop portion receiv list param count number item visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set visibl item count int count check widget count 0 return style swt read 0 todo os set control data handl os control entir control os khi combo box num visibl item tag 4 int count swtexcept error_widget_dispos error_thread_invalid_access setvisibleitemcount checkwidget read_onli setcontroldata kcontrolentirecontrol khicomboboxnumvisibleitemstag int scroll visibl rgn sibl visibl rgn composit scrolledvisiblergn siblingsvisiblergn construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt background swt focu swt merg paint swt redraw resiz swt radio group widget style public composit composit parent int style super parent style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access no_background no_focu no_merg_paint no_redraw_resiz no_radio_group getstyl control getchildren short count short 1 os count control handl count count 0 0 return control 0 control children control count 0 int control int 1 int 0 0 count 0 int statu os index control handl short 1 control statu os err widget widget displai widget control 0 widget null widget widget instanceof control children control widget count 0 return children control children control system arraycopi children 0 children 0 return children _getchildren countsubcontrol outcontrol getindexedsubcontrol outcontrol noerr getwidget outcontrol newchildren newchildren newchildren control gettablist tab list null return null int count 0 int 0 tab list length tab list dispos count count tab list length return tab list control list control count int index 0 int 0 tab list length tab list dispos list index tab list tab list list return tab list _gettablist tablist tablist tablist isdispos tablist tablist newlist tablist tablist isdispos newlist tablist tablist newlist tablist public point comput size int hint int hint boolean chang check widget point size layout null hint swt default hint swt default size layout comput size hint hint chang size point hint hint size minimum size size 0 size default width size 0 size default height hint swt default size hint hint swt default size hint rectangl trim comput trim 0 0 size size return point trim width trim height computes whint hhint checkwidget whint hhint computes whint hhint whint hhint minimums default_width default_height whint whint hhint hhint computetrim protect void check subclass subclass allow checksubclass control comput tab list control result super comput tab list result length 0 return result control list tab list null gettablist getchildren int 0 list length control child list control child list child comput tab list child list length 0 control result control result length child list length system arraycopi result 0 result 0 result length system arraycopi child list 0 result result length child list length result result return result computetablist computetablist tablist _gettablist _getchildren childlist computetablist childlist newresult childlist newresult childlist newresult childlist newresult void creat handl canva grab style swt border swt scroll swt scroll 0 creat scroll handl parent handl creat handl parent handl createhandl h_scroll v_scroll createscrolledhandl createhandl void creat handl int parent handl int featur os control support embed os control support focu os control focu click int control int 1 int window os control owner parent handl os creat user pane control window null featur control control 0 0 error swt error handl handl control 0 createhandl parenthandl kcontrolsupportsembed kcontrolsupportsfocu kcontrolgetsfocusonclick outcontrol getcontrolown parenthandl createuserpanecontrol outcontrol outcontrol error_no_handl outcontrol void creat scroll handl int parent handl int featur os control support embed int control int 1 int window os control owner parent handl os creat user pane control window null featur control control 0 0 error swt error handl scroll handl control 0 control 0 0 featur os control support focu os control focu click os creat user pane control window null featur control control 0 0 error swt error handl handl control 0 createscrolledhandl parenthandl kcontrolsupportsembed outcontrol getcontrolown parenthandl createuserpanecontrol outcontrol outcontrol error_no_handl scrolledhandl outcontrol outcontrol kcontrolsupportsfocu kcontrolgetsfocusonclick createuserpanecontrol outcontrol outcontrol error_no_handl outcontrol void draw background int control control scroll handl style swt focu 0 hook kei draw focu control focu draw focu ring border parent background inset draw background control parent background canva 0 style swt background 0 draw background control background drawbackground scrolledhandl no_focu hookskei drawfocu hasfocu drawfocusr hasbord getparentbackground drawbackground getparentbackground no_background drawbackground void enabl widget boolean enabl account current scroll bar state canva 0 horizont bar null horizont bar enabl widget enabl vertic bar null vertic bar enabl widget enabl return super enabl widget enabl enablewidget horizontalbar horizontalbar enablewidget verticalbar verticalbar enablewidget enablewidget return arrai receiv children note actual structur receiv maintain list children modifi arrai affect receiv return arrai children except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public control children check widget return getchildren swtexcept error_widget_dispos error_thread_invalid_access getchildren checkwidget _getchildren int children count note current implement count non regist children short count short 1 os count control handl count return count 0 getchildrencount countsubcontrol return layout receiv null set return receiv layout null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public layout layout check widget return layout swtexcept error_widget_dispos error_thread_invalid_access getlayout checkwidget tab order control return tab list order list control repres tab order except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul set tab list public control tab list check widget control tab list gettablist tab list null int count 0 control list getchildren int 0 list length list tab group count tab list control count int index 0 int 0 list length list tab group tab list index list return tab list tablist swtexcept error_widget_dispos error_thread_invalid_access settablist gettablist checkwidget tablist _gettablist tablist _getchildren istabgroup tablist istabgroup tablist tablist int visibl region int control boolean clip children clip children control handl sibl visibl rgn 0 sibl visibl rgn os rgn calcul visibl region control sibl visibl rgn clip children int result os rgn os copi rgn sibl visibl rgn result return result control scroll handl clip children return super visibl region control clip children scroll visibl rgn 0 scroll visibl rgn os rgn calcul visibl region control scroll visibl rgn clip children int result os rgn os copi rgn scroll visibl rgn result return result return super visibl region control clip children getvisibleregion clipchildren clipchildren siblingsvisiblergn siblingsvisiblergn newrgn calculatevisibleregion siblingsvisiblergn clipchildren newrgn copyrgn siblingsvisiblergn scrolledhandl clipchildren getvisibleregion clipchildren scrolledvisiblergn scrolledvisiblergn newrgn calculatevisibleregion scrolledvisiblergn clipchildren newrgn copyrgn scrolledvisiblergn getvisibleregion clipchildren int event control click int handler int event int user data int result super event control click handler event user data result os err return result canva 0 enabl return result style swt focu 0 hook kei int control int 1 int window os control owner handl os keyboard focu window control handl control 0 short count short 1 os count control handl count count 0 0 os set keyboard focu window handl short os control focu part os err return os err return result keventcontrolclick nexthandl theevent userdata keventcontrolclick nexthandl theevent userdata noerr isen no_focu hookskei thecontrol getcontrolown getkeyboardfocu thecontrol thecontrol countsubcontrol setkeyboardfocu kcontrolfocusnextpart noerr noerr int event control set focu part int handler int event int user data int result super event control set focu part handler event user data result os err return result canva 0 scroll handl 0 style swt focu 0 hook kei short part short 1 os event paramet event os event param control part os type control part code null 2 null part draw focu clip scroll handl part 0 0 draw focu ring border parent background inset return os err return result keventcontrolsetfocuspart nexthandl theevent userdata keventcontrolsetfocuspart nexthandl theevent userdata noerr scrolledhandl no_focu hookskei geteventparamet theevent keventparamcontrolpart typecontrolpartcod drawfocusclip scrolledhandl drawfocusr hasbord getparentbackground noerr int event raw kei int handler int event int user data featur macintosh reason default handler issu event text input unicod kei event user type command space fix look case send kei event raw kei note code reli command space consum deliv event canva 0 int kei code int 1 os event paramet event os event param kei code os typeu int32 null kei code length 4 null kei code kei code 0 49 space int modifi int 1 os event paramet event os event param kei modifi os typeu int32 null 4 null modifi modifi 0 os cmd kei send kei event swt kei event return os err return os event handl err keventrawkei nexthandl theevent userdata keventtextinputunicodeforkeyev keventrawkeydown keycod geteventparamet theevent keventparamkeycod typeuint32 keycod keycod keycod geteventparamet theevent keventparamkeymodifi typeuint32 cmdkei sendkeyev keydown theevent noerr eventnothandlederr int event text input unicod kei event int handler int event int user data int result super event text input unicod kei event handler event user data canva 0 int keyboard event int 1 os event paramet event os event param text input send keyboard event os type event ref null keyboard event length 4 null keyboard event int kei code int 1 os event paramet keyboard event 0 os event param kei code os typeu int32 null kei code length 4 null kei code switch kei code 0 case 36 return featur macintosh default behaviour return kei press select default button expect behaviour composit subclass fix avoid call default handler return os err return result keventtextinputunicodeforkeyev nexthandl theevent userdata keventtextinputunicodeforkeyev nexthandl theevent userdata keyboardev geteventparamet theevent keventparamtextinputsendkeyboardev typeeventref keyboardev keyboardev keycod geteventparamet keyboardev keventparamkeycod typeuint32 keycod keycod keycod noerr boolean hook kei return hook swt kei hook swt kei hookskei keydown keyup void invalid children visibl region int control control children getchildren int 0 children length control child children child reset visibl region control child invalid children visibl region control invalidatechildrenvisibleregion _getchildren resetvisibleregion invalidatechildrenvisibleregion boolean tab group canva 0 return true return super tab group istabgroup istabgroup receiv layout ask layout em lai em set size locat receiv children receiv layout equival call code layout true code except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void layout check widget layout true swtexcept error_widget_dispos error_thread_invalid_access checkwidget receiv layout ask layout em lai em set size locat receiv children the argument code true code layout reli cach inform keep children code fals code layout potenti simplifi assum the receiv children chang layout receiv layout param chang code true code layout flush cach code fals code except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void layout boolean chang check widget layout null return int count children count count 0 return layout layout chang swtexcept error_widget_dispos error_thread_invalid_access checkwidget getchildrencount point minimum size control children getchildren int width 0 height 0 int 0 children length rectangl rect children bound width math max width rect rect width height math max height rect rect height return point width height minimums _getchildren getbound void releas children control children getchildren int 0 children length control child children child dispos child releas resourc releasechildren _getchildren isdispos releaseresourc void releas widget releas children super releas widget scroll visibl rgn 0 os dispos rgn scroll visibl rgn sibl visibl rgn 0 os dispos rgn sibl visibl rgn sibl visibl rgn scroll visibl rgn 0 layout null tab list null releasewidget releasechildren releasewidget scrolledvisiblergn disposergn scrolledvisiblergn siblingsvisiblergn disposergn siblingsvisiblergn siblingsvisiblergn scrolledvisiblergn tablist void reset visibl region int control scroll visibl rgn 0 os dispos rgn scroll visibl rgn scroll visibl rgn 0 sibl visibl rgn 0 os dispos rgn sibl visibl rgn sibl visibl rgn 0 super reset visibl region control resetvisibleregion scrolledvisiblergn disposergn scrolledvisiblergn scrolledvisiblergn siblingsvisiblergn disposergn siblingsvisiblergn siblingsvisiblergn resetvisibleregion int set bound int control int int int width int height boolean move boolean resiz boolean event int result super set bound control width height move resiz event layout null result resiz 0 layout layout fals return result setbound setbound public boolean set focu check widget control children getchildren int 0 children length children set focu return true return super set focu setfocu checkwidget _getchildren setfocu setfocu set layout receiv argument null param layout receiv layout null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set layout layout layout check widget layout layout swtexcept error_widget_dispos error_thread_invalid_access setlayout checkwidget boolean set tab group focu tab item return set tab item focu boolean focu style swt focu 0 canva 0 focu hook kei focu set tab item focu return true control children getchildren int 0 children length control child children child tab item child set tab item focu return true return fals settabgroupfocu istabitem settabitemfocu takefocu no_focu takefocu hookskei takefocu settabitemfocu _getchildren istabitem settabitemfocu set tab order control match order occur argument list param tab list order list control repres tab order null except illeg argument except ul li error invalid argument widget tab list null dispos li li error invalid parent widget tab list widget tree li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set tab list control tab list check widget tab list null int 0 tab list length control control tab list control null error swt error invalid argument control dispos error swt error invalid argument control parent error swt error invalid parent control list control tab list length system arraycopi tab list 0 list 0 tab list length tab list list tab list tab list tablist illegalargumentexcept error_invalid_argument tablist error_invalid_parent tablist swtexcept error_widget_dispos error_thread_invalid_access settablist tablist checkwidget tablist tablist tablist error_invalid_argument isdispos error_invalid_argument error_invalid_parent newlist tablist tablist newlist tablist tablist newlist tablist tablist void setz order super setz order scroll handl 0 os hi view add subview scroll handl handl setzord setzord scrolledhandl hiviewaddsubview scrolledhandl int travers code int kei int event canva 0 style swt focu 0 return 0 hook kei return 0 return super travers code kei event traversalcod theevent no_focu hookskei traversalcod theevent access access control construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt border widget check subclass widget style public control composit parent int style super parent style parent parent creat widget illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl createwidget add listen collect listen notifi control move resiz send messag defin code control listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul control listen remov control listen public void add control listen control listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt resiz type listen add listen swt move type listen controllisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access controllisten removecontrollisten addcontrollisten controllisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten typedlisten add listen collect listen notifi control gain lose focu send messag defin code focu listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul focu listen remov focu listen public void add focu listen focu listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt focu type listen add listen swt focu type listen focuslisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access focuslisten removefocuslisten addfocuslisten focuslisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten focusin typedlisten addlisten focusout typedlisten add listen collect listen notifi help event gener control send messag defin code help listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul help listen remov help listen public void add help listen help listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt help type listen helplisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access helplisten removehelplisten addhelplisten helplisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten add listen collect listen notifi kei press releas system keyboard send messag defin code kei listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul kei listen remov kei listen public void add kei listen kei listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt kei type listen add listen swt kei type listen keylisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access keylisten removekeylisten addkeylisten keylisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten keyup typedlisten addlisten keydown typedlisten add listen collect listen notifi mous button press releas send messag defin code mous listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul mous listen remov mous listen public void add mous listen mous listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt mous type listen add listen swt mous type listen add listen swt mous doubl click type listen mouselisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access mouselisten removemouselisten addmouselisten mouselisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten mousedown typedlisten addlisten mouseup typedlisten addlisten mousedoubleclick typedlisten add listen collect listen notifi mous pass hover control send messag defin code mous track listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul mous track listen remov mous track listen public void add mous track listen mous track listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt mous enter type listen add listen swt mous exit type listen add listen swt mous hover type listen mousetracklisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access mousetracklisten removemousetracklisten addmousetracklisten mousetracklisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten mouseent typedlisten addlisten mouseexit typedlisten addlisten mousehov typedlisten add listen collect listen notifi mous move send messag defin code mous move listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul mous move listen remov mous move listen public void add mous move listen mous move listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt mous move type listen mousemovelisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access mousemovelisten removemousemovelisten addmousemovelisten mousemovelisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten mousemov typedlisten add listen collect listen notifi receiv need paint send messag defin code paint listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul paint listen remov paint listen public void add paint listen paint listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt paint type listen paintlisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access paintlisten removepaintlisten addpaintlisten paintlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten add listen collect listen notifi travers event occur send messag defin code travers listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul travers listen remov travers listen public void add travers listen travers listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt travers type listen traverselisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access traverselisten removetraverselisten addtraverselisten traverselisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten int color proc int control int messag int draw depth int draw color switch messag case os control msg appli text color foreground null os rgb fore color torgb color foreground os set theme text color short os theme text color dialog activ short draw depth draw color 0 return os err case os control msg set background float background background null background parent background background null os rgb color torgb color background os set theme background short os theme brush dialog background activ short draw depth draw color 0 return os err return os event handl err colorproc incontrol inmessag indrawdepth indrawincolor inmessag kcontrolmsgapplytextcolor rgbforecolor torgbcolor setthemetextcolor kthemetextcolordialogact indrawdepth indrawincolor noerr kcontrolmsgsetupbackground getparentbackground rgbbackcolor torgbcolor setthemebackground kthemebrushdialogbackgroundact indrawdepth indrawincolor noerr eventnothandlederr return prefer size receiv em prefer size em control size displai width hint height hint argument allow caller ask control question width high control need to show content caller wish constrain dimens constant code swt default code pass hint param hint width hint code swt default code param hint height hint code swt default code return prefer size control except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul layout border width bound size pack comput trim client area control implement public point comput size int hint int hint return comput size hint hint true whint hhint swtexcept error_widget_dispos error_thread_invalid_access getborderwidth getbound getsiz computetrim getclientarea computes whint hhint computes whint hhint return prefer size receiv em prefer size em control size displai width hint height hint argument allow caller ask control question width high control need to show content caller wish constrain dimens constant code swt default code pass hint p chang flag code true code receiv em content em chang cach layout manag control keep need flush control resiz chang flag code fals code layout manag cach retain param hint width hint code swt default code param hint height hint code swt default code param chang code true code control content chang code fals code return prefer size control except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul layout border width bound size pack comput trim client area control implement public point comput size int hint int hint boolean chang check widget int width default width int height default height hint swt default width hint hint swt default height hint int border border width width border 2 height border 2 return point width height whint hhint swtexcept error_widget_dispos error_thread_invalid_access getborderwidth getbound getsiz computetrim getclientarea computes whint hhint checkwidget default_width default_height whint whint hhint hhint getborderwidth control comput tab group tab group return return parent comput tab group computetabgroup istabgroup computetabgroup control comput tab list tab group visibl enabl return control return control 0 computetablist istabgroup getvis geten control comput tab root control tab list parent gettablist tab list null int index 0 index tab list length tab list index break index index tab list length tab group return return parent comput tab root computetabroot tablist _gettablist tablist tablist tablist tablist istabgroup computetabroot void creat widget check orient parent super creat widget set default font setz order createwidget checkorient createwidget setdefaultfont setzord color default background return displai system color swt color widget background defaultbackground getsystemcolor color_widget_background font default font byte famili byte 256 short size short 1 byte style byte 1 os theme font short default theme font short os sm system script famili size style short id os fm font famili famili int font int 1 os fm font font famili instanc id style 0 font null return font carbon displai font 0 id style 0 size 0 defaultfont getthemefont defaultthemefont smsystemscript fmgetfontfamilyfromnam fmgetfontfromfontfamilyinst carbon_new color default foreground return displai system color swt color widget foreground defaultforeground getsystemcolor color_widget_foreground int default theme font displai small font return os theme small system font return os theme system font defaultthemefont smallfont kthemesmallsystemfont kthemesystemfont void deregist super deregist displai remov widget handl removewidget void destroi widget int control top handl releas handl control 0 os dispos control control destroywidget thecontrol tophandl releasehandl thecontrol disposecontrol thecontrol boolean draw focu ring return displai focu ring shell parent null drawfocusr nofocusr getshel boolean draw gripper int int int width int height return fals drawgripp void draw widget int control int damag rgn int visibl rgn int event control handl return hook swt paint filter swt paint return retriev damag rect rect rect rect os region bound visibl rgn rect rect bound rect os control bound handl bound os offset rect rect short bound left short bound top send paint event int port int 1 os port port gc data data gc data data port port 0 data paint event event data visibl rgn visibl rgn gc gc gc carbon data event event event event gc gc event rect left event rect top event width rect rect left event height rect bottom rect top send event swt paint event event gc null gc dispos drawwidget damagergn visiblergn theevent getregionbound visiblergn getcontrolbound offsetrect getport gcdata gcdata paintev theevent visiblergn visiblergn carbon_new sendev void enabl widget boolean enabl int top handl top handl enabl os enabl control top handl os disabl control top handl enablewidget tophandl tophandl enablecontrol tophandl disablecontrol tophandl cursor find cursor cursor null return cursor return parent find cursor findcursor findcursor void fix focu control focu control shell shell shell control control control control parent null control set focu return control shell break shell set save focu focu control int window os control owner handl os clear keyboard focu window fixfocu focuscontrol getshel setfocu setsavedfocu focuscontrol getcontrolown clearkeyboardfocu forc receiv em keyboard focu em caus keyboard event deliv return code true code control focu code fals code unabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul set focu public boolean forc focu check widget decor shell menu shell shell set save focu enabl visibl activ return fals focu control return true shell set save focu null shell bring top fals dispos return fals int window os control owner handl os set keyboard focu window handl short os control focu part dispos return fals shell set save focu return focu swtexcept error_widget_dispos error_thread_invalid_access setfocu forcefocu checkwidget menushel setsavedfocu isen isvis isact isfocuscontrol setsavedfocu bringtotop isdispos getcontrolown setkeyboardfocu kcontrolfocusnextpart isdispos setsavedfocu hasfocu return access object receiv object request object creat return return access object except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul access add access listen access add access control listen 2 0 public access access check widget access null access access intern access return access swtexcept error_widget_dispos error_thread_invalid_access addaccessiblelisten addaccessiblecontrollisten getaccess checkwidget intern_new_access return receiv background color return background color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public color background check widget default color background null return default background return color carbon displai background swtexcept error_widget_dispos error_thread_invalid_access getbackground checkwidget defaultbackground carbon_new return receiv border width return border width except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int border width check widget return 0 swtexcept error_widget_dispos error_thread_invalid_access getborderwidth checkwidget return rectangl describ receiv size locat rel parent displai parent null receiv shell case locat rel displai return receiv bound rectangl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public rectangl bound check widget rect rect control bound top handl return rectangl rect left rect top rect rect left rect bottom rect top swtexcept error_widget_dispos error_thread_invalid_access getbound checkwidget getcontrolbound tophandl int draw count int control trim handl control draw count 0 return draw count return parent draw count control getdrawcount istrimhandl drawcount drawcount getdrawcount return code true code receiv enabl code fals code disabl control typic select user interfac draw inact grai look return receiv enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul enabl public boolean enabl check widget return disabl 0 swtexcept error_widget_dispos error_thread_invalid_access isen geten checkwidget return font receiv paint textual inform return receiv font except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public font font check widget return font null font default font swtexcept error_widget_dispos error_thread_invalid_access getfont checkwidget defaultfont return foreground color receiv draw return receiv foreground color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public color foreground check widget default color foreground null return default foreground return color carbon displai foreground swtexcept error_widget_dispos error_thread_invalid_access getforeground checkwidget defaultforeground carbon_new return layout data receiv return receiv layout data except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public object layout data check widget return layout data swtexcept error_widget_dispos error_thread_invalid_access getlayoutdata checkwidget layoutdata return point describ receiv locat rel parent displai parent null receiv shell case point rel displai return receiv locat except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point locat check widget rect rect control bound top handl return point rect left rect top swtexcept error_widget_dispos error_thread_invalid_access getloc checkwidget getcontrolbound tophandl return receiv pop menu null control option pop menu displai user request control sequenc kei stroke button press button releas request pop menu platform specif return receiv menu except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public menu menu check widget return menu swtexcept error_widget_dispos error_thread_invalid_access getmenu checkwidget return receiv monitor return receiv monitor 3 0 public monitor monitor check widget monitor monitor displai monitor monitor length 1 return monitor 0 int index 1 1 rectangl bound bound shell bound displai map parent null bound int 0 monitor length rectangl rect bound intersect monitor bound int area rect width rect height area 0 area index area index 0 return monitor index int centerx bound bound width 2 centeri bound bound height 2 int 0 monitor length rectangl rect monitor bound int centerx rect rect centerx centerx rect rect width centerx rect rect width 0 int centeri rect rect centeri centeri rect rect height centeri rect rect height 0 int distanc x y index 1 distanc index distanc return monitor index getmonitor checkwidget getmonitor getbound getshel getbound getbound return receiv parent code composit code null receiv shell creat null displai parent return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public composit parent check widget return parent swtexcept error_widget_dispos error_thread_invalid_access getpar checkwidget float parent background return parent background getparentbackground control path int count 0 shell shell shell control control control shell count control control parent control control result control count control shell result count control control control parent return result getpath getshel return receiv shell control shell simpli return control nearest ancestor shell shell return children shell return receiv shell except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul parent public shell shell check widget return parent shell swtexcept error_widget_dispos error_thread_invalid_access getpar getshel checkwidget getshel return point describ receiv size coordin result width receiv coordin result height receiv return receiv size except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point size check widget rect rect control size top handl return point rect rect left rect bottom rect top swtexcept error_widget_dispos error_thread_invalid_access getsiz checkwidget getcontrols tophandl return receiv tool tip text null set return receiv tool tip text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string tool tip text check widget return tool tip text swtexcept error_widget_dispos error_thread_invalid_access gettooltiptext checkwidget tooltiptext return code true code receiv visibl code fals code receiv ancestor visibl condit make receiv visibl method consid visibl actual show return receiv visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean visibl check widget return hidden 0 swtexcept error_widget_dispos error_thread_invalid_access getvis checkwidget int visibl region int control boolean clip children clip children return super visibl region control clip children visibl rgn 0 visibl rgn os rgn calcul visibl region control visibl rgn clip children int result os rgn os copi rgn visibl rgn result return result getvisibleregion clipchildren clipchildren getvisibleregion clipchildren visiblergn visiblergn newrgn calculatevisibleregion visiblergn clipchildren newrgn copyrgn visiblergn boolean focu return displai focu control hasfocu getfocuscontrol int help proc int control int global mous int request int content provid int io help content switch request case os khm suppli content int content provid int os khm content provid dont propag tool tip text null tool tip text length 0 char buffer char tool tip text length tool tip text char 0 buffer length buffer 0 int length fix mnemon buffer displai help string 0 os cf releas displai help string displai help string os cf string creat charact os kcf alloc default buffer length hm help content rec help content hm help content rec os memcpi help content io help content hm help content rec sizeof help content version os mac help version featur macintosh despit fact mac 23 type align help text allow text posit current mous posit fix center text rectangl surround origin posit mous mous move rectangl grown includ locat mous help text center mac rectangl carefulli construct help text stai posit int cursor height 16 help content tag side short os khm absolut center align int short global mous 0xffff int short global mous 16 displai help control displai helpx cursor height 2 displai helpi cursor height cursor height 2 int jitter 4 int deltax math ab displai helpx jitter int deltai math ab displai helpi jitter displai helpx deltax displai helpi deltai int width deltax 2 int height deltai 2 displai help control help content abshotrect left short help content abshotrect top short help content abshotrect short width help content abshotrect bottom short height help content content0 contenttyp os khmcf string content help content content0 tagcfstr displai help string help content content1 contenttyp os khmcf string content help content content1 tagcfstr displai help string os memcpi io help content help content hm help content rec sizeof content provid 0 os khm content provid os memcpi content provid content provid 4 break case os khm dispos content displai help string 0 os cf releas displai help string displai help string 0 break return os err helpproc incontrol inglobalmous inrequest outcontentprovid iohelpcont inrequest khmsupplycont contentprovid khmcontentnotprovideddontpropag tooltiptext tooltiptext tooltiptext tooltiptext getchar fixmnemon helpstr cfreleas helpstr helpstr cfstringcreatewithcharact kcfallocatordefault hmhelpcontentrec helpcont hmhelpcontentrec helpcont iohelpcont hmhelpcontentrec helpcont kmachelpvers cursorheight helpcont tagsid khmabsolutecenteralign inglobalmous inglobalmous helpcontrol lasthelpx cursorheight lasthelpi cursorheight cursorheight lasthelpx lasthelpi lasthelpx lasthelpi helpcontrol helpcont abshotrect_left helpcont abshotrect_top helpcont abshotrect_right helpcont abshotrect_bottom helpcont content0_contenttyp khmcfstringcont helpcont content0_tagcfstr helpstr helpcont content1_contenttyp khmcfstringcont helpcont content1_tagcfstr helpstr iohelpcont helpcont hmhelpcontentrec contentprovid khmcontentprovid outcontentprovid contentprovid khmdisposecont helpstr cfreleas helpstr helpstr noerr void hook event super hook event int control proc displai control proc int mask int os event class control os event control activ os event class control os event control appli background os event class control os event control bound chang os event class control os event control click os event class control os event control contextu menu click os event class control os event control deactiv os event class control os event control draw os event class control os event control hit os event class control os event control set cursor os event class control os event control set focu part os event class control os event control track int control target os control event target handl os instal event handler control target control proc mask length 2 mask handl null int help proc displai help proc os hm instal control content callback handl help proc int color proc displai color proc os set control color proc handl color proc hookev hookev controlproc controlproc keventclasscontrol keventcontrolactiv keventclasscontrol keventcontrolapplybackground keventclasscontrol keventcontrolboundschang keventclasscontrol keventcontrolclick keventclasscontrol keventcontrolcontextualmenuclick keventclasscontrol keventcontroldeactiv keventclasscontrol keventcontroldraw keventclasscontrol keventcontrolhit keventclasscontrol keventcontrolsetcursor keventclasscontrol keventcontrolsetfocuspart keventclasscontrol keventcontroltrack controltarget getcontroleventtarget installeventhandl controltarget controlproc helpproc helpproc hminstallcontrolcontentcallback helpproc colorproc colorproc setcontrolcolorproc colorproc invok platform specif function alloc gc handl import method em em part public api code control code mark public share packag provid swt platform call applic code param data platform specif gc data return platform specif gc handl public int intern gc gc data data check widget int port data null data port 0 port 0 int window os control owner handl port os window port window int buffer int 1 os createcg context port port buffer int context buffer 0 context 0 swt error swt error handl int visibl rgn 0 data null data paint event 0 visibl rgn data visibl rgn draw count handl 0 visibl rgn os rgn visibl rgn visibl region handl true rect rect rect rect port rect rect os control bound handl rect os port bound port port rect os clipcg context region context port rect visibl rgn int port height port rect bottom port rect top os cg context scalectm context 1 1 os cg context translatectm context rect left port height rect top data null int mask swt left swt left data style mask 0 data style style mask swt mirror data devic displai data thread displai thread data background background null background default background handl data foreground foreground null foreground default foreground handl data font font null font default font data visibl rgn visibl rgn data control handl data port rect port rect data control rect rect data paint event 0 gc null gc gc data 4 int index 0 index gc length gc index null index index gc length gc data newg cs gc data gc length 4 system arraycopi gc 0 newg cs 0 gc length gc newg cs gc index data return context intern_new_gc gcdata checkwidget getcontrolown getwindowport createcgcontextforport error_no_handl visiblergn paintev visiblergn visiblergn getdrawcount visiblergn newrgn visiblergn getvisibleregion portrect getcontrolbound getportbound portrect clipcgcontexttoregion portrect visiblergn portheight portrect portrect cgcontextscalectm cgcontexttranslatectm portheight left_to_right right_to_left defaultbackground defaultforeground defaultfont visiblergn visiblergn portrect portrect controlrect paintev gcdata gcdata newgc gcdata newgc newgc invok platform specif function dispos gc handl import method em em part public api code control code mark public share packag provid swt platform call applic code param hdc platform specif gc handl param data platform specif gc data public void intern dispos gc int context gc data data check widget data null data paint event 0 data visibl rgn 0 os dispos rgn data visibl rgn data visibl rgn 0 int index 0 index gc length gc index data index index gc length gc index null index 0 index gc length gc index null index index gc length gc null code intentionali comment cg context synchron cg context flush improv perform os cg context flush context os cg context synchron context os cg context releas context intern_dispos_gc gcdata checkwidget paintev visiblergn disposergn visiblergn visiblergn cgcontextsynchron cgcontextflush cgcontextflush cgcontextsynchron cgcontextreleas void invalid children visibl region int control invalidatechildrenvisibleregion void invalid visibl region int control int index 0 control sibl parent getchildren index sibl length sibl index index int index sibl length control sibl sibl sibl reset visibl region control sibl invalid children visibl region control parent reset visibl region control invalidatevisibleregion _getchildren resetvisibleregion invalidatechildrenvisibleregion resetvisibleregion void inval window rgn int window int rgn parent inval window rgn window rgn invalwindowrgn invalwindowrgn return code true code receiv enabl receiv ancestor enabl code fals code disabl control typic select user interfac draw inact grai look return receiv enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul enabl public boolean enabl check widget return enabl parent enabl swtexcept error_widget_dispos error_thread_invalid_access geten isen checkwidget geten isen boolean enabl cursor return enabl isenabledcursor isen boolean enabl modal fail multipl app modal shell shell shell displai shell int 0 shell length shell modal shell modal modal visibl modal style swt primari modal 0 shell shell shell modal parent shell return fals int bit swt applic modal swt system modal modal style bit 0 control control control null control modal break control control parent control modal return fals return true isenabledmod getshel isvis primari_modal getshel applic_modal system_modal boolean focu ancestor control control control null control control control parent return control isfocusancestor return code true code receiv user interfac focu code fals code return receiv focu except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean focu control check widget return focu swtexcept error_widget_dispos error_thread_invalid_access isfocuscontrol checkwidget hasfocu return code true code underli oper system support repar code fals code return code true code widget repar code fals code except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean reparent check widget return fals swtexcept error_widget_dispos error_thread_invalid_access isreparent checkwidget boolean show complet need check widget obscur parent sibl visibl return fals control control control null point size control size size 0 size 0 return fals control control parent return true isshow isvis getsiz boolean tab group control tab list parent gettablist tab list null int 0 tab list length tab list return true int code travers code 0 0 code swt travers arrow previou swt travers arrow 0 return fals return code swt travers tab previou swt travers tab 0 istabgroup tablist _gettablist tablist tablist tablist traversalcod travers_arrow_previou travers_arrow_next travers_tab_previou travers_tab_next boolean tab item control tab list parent gettablist tab list null int 0 tab list length tab list return fals int code travers code 0 0 return code swt travers arrow previou swt travers arrow 0 istabitem tablist _gettablist tablist tablist tablist traversalcod travers_arrow_previou travers_arrow_next return code true code receiv visibl receiv ancestor visibl code fals code return receiv visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul visibl public boolean visibl check widget return os control visibl top handl swtexcept error_widget_dispos error_thread_invalid_access getvis isvis checkwidget iscontrolvis tophandl decor menu shell return parent menu shell menushel menushel int event control contextu menu click int handler int event int user data int sizeof org eclips swt intern carbon point sizeof org eclips swt intern carbon point pt org eclips swt intern carbon point os event paramet event os event param mous locat os typeqd point null sizeof null pt rect rect rect int window os control owner handl os window bound window short os window content rgn rect int pt rect left int pt rect top event event event event x event y send event swt menu detect event event doit menu null menu dispos event x event y menu set locat event event menu set visibl true return os event handl err keventcontrolcontextualmenuclick nexthandl theevent userdata geteventparamet theevent keventparammouseloc typeqdpoint getcontrolown getwindowbound kwindowcontentrgn sendev menudetect isdispos setloc setvis eventnothandlederr int event control set cursor int handler int event int user data enabl cursor return os err cursor cursor null enabl modal cursor find cursor null displai set cursor cursor handl return cursor null os err os event handl err keventcontrolsetcursor nexthandl theevent userdata isenabledcursor noerr isenabledmod findcursor setcursor noerr eventnothandlederr int event control set focu part int handler int event int user data displai ignor focu short part short 1 os event paramet event os event param control part os type control part code null 2 null part send focu event part 0 0 fals widget dispos point dispos return os err return os event handl err keventcontrolsetfocuspart nexthandl theevent userdata ignorefocu geteventparamet theevent keventparamcontrolpart typecontrolpartcod sendfocusev isdispos noerr eventnothandlederr int event control track int handler int event int user data enabl modal send mous event swt mous move event return os event handl err keventcontroltrack nexthandl theevent userdata isenabledmod sendmouseev mousemov theevent eventnothandlederr int event mous int handler int event int user data shell shell shell short button short 1 os event paramet event os event param mous button os type mous button null 2 null button int click count int 1 os event paramet event os event param click count os typeu int32 null 4 null click count send mous event swt mous button 0 event click count 0 2 send mous event swt mous doubl click button 0 event grab 0 displai grab control shell dispos point happen don send activ deactiv event shell dispos shell set activ control hook swt drag detect org eclips swt intern carbon point pt org eclips swt intern carbon point int sizeof org eclips swt intern carbon point sizeof os event paramet event os event param mous locat os typeqd point null sizeof null pt displai drag mous start pt displai drag fals return os event handl err keventmousedown nexthandl theevent userdata getshel geteventparamet theevent keventparammousebutton typemousebutton clickcount geteventparamet theevent keventparamclickcount typeuint32 clickcount sendmouseev mousedown theevent clickcount sendmouseev mousedoubleclick theevent grabcontrol isdispos setactivecontrol dragdetect geteventparamet theevent keventparammouseloc typeqdpoint dragmousestart eventnothandlederr int event mous drag int handler int event int user data canva 0 enabl modal send mous event swt mous move short 0 event displai drag detect return os event handl err keventmousedrag nexthandl theevent userdata isenabledmod sendmouseev mousemov theevent dragdetect eventnothandlederr int event mous move int handler int event int user data enabl modal send mous event swt mous move short 0 event return os event handl err keventmousemov nexthandl theevent userdata isenabledmod sendmouseev mousemov theevent eventnothandlederr int event mous int handler int event int user data short button short 1 os event paramet event os event param mous button os type mous button null 2 null button send mous event swt mous button 0 event return os event handl err keventmouseup nexthandl theevent userdata geteventparamet theevent keventparammousebutton typemousebutton sendmouseev mouseup theevent eventnothandlederr int event raw kei int handler int event int user data return os event handl err keventrawkei nexthandl theevent userdata eventnothandlederr int event raw kei int handler int event int user data return event raw kei handler event user data keventrawkeydown nexthandl theevent userdata keventrawkei nexthandl theevent userdata int event raw kei modifi chang int handler int event int user data displai displai displai int modifi int 1 os event paramet event os event param kei modifi os typeu int32 null modifi length 4 null modifi int modifi displai modifi int chord os current event button int type swt kei modifi 0 os alpha lock 0 modifi os alpha lock 0 type swt kei modifi 0 os shift kei 0 modifi os shift kei 0 type swt kei modifi 0 os control kei 0 modifi os control kei 0 type swt kei modifi 0 os cmd kei 0 modifi os cmd kei 0 type swt kei modifi 0 os option kei 0 modifi os option kei 0 type swt kei type swt kei modifi 0 os alpha lock 0 modifi os alpha lock 0 event event event event kei code swt cap lock set input event swt kei chord modifi 0 send kei event swt kei event event event event set input event type chord modifi 0 event kei code 0 event charact 0 return os event handl err boolean result send kei event type event type swt kei modifi 0 os alpha lock 0 modifi os alpha lock 0 event event event kei code swt cap lock set input event swt kei chord modifi 0 send kei event swt kei event displai modifi modifi 0 return result os event handl err os err keventrawkeymodifierschang nexthandl theevent userdata geteventparamet theevent keventparamkeymodifi typeuint32 lastmodifi lastmodifi getcurrenteventbuttonst keyup alphalock lastmodifi alphalock keydown shiftkei lastmodifi shiftkei keydown controlkei lastmodifi controlkei keydown cmdkei lastmodifi cmdkei keydown optionkei lastmodifi optionkei keydown keyup alphalock lastmodifi alphalock keycod cap_lock setinputst keydown sendkeyev keydown setinputst keycod eventnothandlederr sendkeyev keydown alphalock lastmodifi alphalock keycod cap_lock setinputst keyup sendkeyev keyup lastmodifi eventnothandlederr noerr int event raw kei repeat int handler int event int user data return event raw kei handler event user data keventrawkeyrepeat nexthandl theevent userdata keventrawkei nexthandl theevent userdata int event raw kei int handler int event int user data send kei event swt kei event return os err return os event handl err keventrawkeyup nexthandl theevent userdata sendkeyev keyup theevent noerr eventnothandlederr int event text input unicod kei event int handler int event int user data int keyboard event int 1 os event paramet event os event param text input send keyboard event os type event ref null keyboard event length 4 null keyboard event int kei code int 1 os event paramet keyboard event 0 os event param kei code os typeu int32 null kei code length 4 null kei code translat travers kei code 0 keyboard event 0 return os err kei code 0 114 help control control control null control hook swt help control post event swt help break control control parent send kei event swt kei keyboard event 0 return os err return os event handl err keventtextinputunicodeforkeyev nexthandl theevent userdata keyboardev geteventparamet theevent keventparamtextinputsendkeyboardev typeeventref keyboardev keyboardev keycod geteventparamet keyboardev keventparamkeycod typeuint32 keycod keycod translatetravers keycod keyboardev noerr keycod postev sendkeyev keydown keyboardev noerr eventnothandlederr move receiv control draw order argument null receiv move top draw order control top draw order cover control occupi intersect area param control sibl control null except illeg argument except ul li error invalid argument control dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul move public void move control control check widget control null control dispos error swt error invalid argument parent control parent return setz order control true illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access movebelow moveabov checkwidget isdispos error_invalid_argument setzord move receiv control draw order argument null receiv move bottom draw order control bottom draw order cover control occupi intersect area param control sibl control null except illeg argument except ul li error invalid argument control dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul move public void move control control check widget control null control dispos error swt error invalid argument parent control parent return setz order control fals illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access moveabov movebelow checkwidget isdispos error_invalid_argument setzord receiv resiz prefer size composit involv comput prefer size layout except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul comput size public void pack check widget pack true swtexcept error_widget_dispos error_thread_invalid_access computes checkwidget receiv resiz prefer size composit involv comput prefer size layout chang flag code true code receiv em content em chang cach layout manag control keep need flush control resiz chang flag code fals code layout manag cach retain param chang receiv content chang except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul comput size public void pack boolean chang check widget set size comput size swt default swt default chang swtexcept error_widget_dispos error_thread_invalid_access computes checkwidget setsiz computes entir bound receiv mark need redrawn paint request process control complet paint includ background except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul updat paint listen swt paint swt background swt redraw resiz swt merg paint public void redraw check widget redraw widget handl fals swtexcept error_widget_dispos error_thread_invalid_access paintlisten no_background no_redraw_resiz no_merg_paint checkwidget redrawwidget rectangular area receiv argument mark need redrawn paint request process area receiv paint includ background code code flag code true code children receiv intersect area paint intersect area code code flag code fals code children paint param x coordin area draw param y coordin area draw param width width area draw param height height area draw param code true code children redraw code fals code except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul updat paint listen swt paint swt background swt redraw resiz swt merg paint public void redraw int int int width int height boolean check widget redraw widget handl width height swtexcept error_widget_dispos error_thread_invalid_access paintlisten no_background no_redraw_resiz no_merg_paint checkwidget redrawwidget void regist super regist displai add widget handl addwidget void releas child super releas child set visibl top handl fals releasechild releasechild setvis tophandl void releas handl super releas handl handl 0 releasehandl releasehandl void releas widget super releas widget menu null menu dispos menu dispos visibl rgn 0 os dispos rgn visibl rgn visibl rgn 0 menu null parent null layout data null releasewidget releasewidget isdispos visiblergn disposergn visiblergn visiblergn layoutdata remov listen collect listen notifi control move resiz param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul control listen add control listen public void remov control listen control listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt move listen event tabl unhook swt resiz listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access controllisten addcontrollisten removecontrollisten controllisten checkwidget error_null_argument eventt eventt eventt remov listen collect listen notifi control gain lose focu param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul focu listen add focu listen public void remov focu listen focu listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt focu listen event tabl unhook swt focu listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access focuslisten addfocuslisten removefocuslisten focuslisten checkwidget error_null_argument eventt eventt focusin eventt focusout remov listen collect listen notifi help event gener control param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul help listen add help listen public void remov help listen help listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt help listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access helplisten addhelplisten removehelplisten helplisten checkwidget error_null_argument eventt eventt remov listen collect listen notifi kei press releas system keyboard param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul kei listen add kei listen public void remov kei listen kei listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt kei listen event tabl unhook swt kei listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access keylisten addkeylisten removekeylisten keylisten checkwidget error_null_argument eventt eventt keyup eventt keydown remov listen collect listen notifi mous button press releas param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul mous listen add mous listen public void remov mous listen mous listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt mous listen event tabl unhook swt mous listen event tabl unhook swt mous doubl click listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access mouselisten addmouselisten removemouselisten mouselisten checkwidget error_null_argument eventt eventt mousedown eventt mouseup eventt mousedoubleclick remov listen collect listen notifi mous move param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul mous move listen add mous move listen public void remov mous move listen mous move listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt mous move listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access mousemovelisten addmousemovelisten removemousemovelisten mousemovelisten checkwidget error_null_argument eventt eventt mousemov remov listen collect listen notifi mous pass hover control param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul mous track listen add mous track listen public void remov mous track listen mous track listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt mous enter listen event tabl unhook swt mous exit listen event tabl unhook swt mous hover listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access mousetracklisten addmousetracklisten removemousetracklisten mousetracklisten checkwidget error_null_argument eventt eventt mouseent eventt mouseexit eventt mousehov remov listen collect listen notifi receiv need paint param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul paint listen add paint listen public void remov paint listen paint listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt paint listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access paintlisten addpaintlisten removepaintlisten paintlisten checkwidget error_null_argument eventt eventt remov listen collect listen notifi travers event occur param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul travers listen add travers listen public void remov travers listen travers listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt travers listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access traverselisten addtraverselisten removetraverselisten traverselisten checkwidget error_null_argument eventt eventt void reset visibl region int control visibl rgn 0 os dispos rgn visibl rgn visibl rgn 0 gc null int visibl rgn visibl region handl true int 0 gc length gc data data gc data null data updat clip true os copi rgn visibl rgn data visibl rgn os dispos rgn visibl rgn resetvisibleregion visiblergn disposergn visiblergn visiblergn visiblergn getvisibleregion gcdata updateclip copyrgn visiblergn visiblergn disposergn visiblergn void send focu event boolean focu boolean post shell shell shell post post event focu swt focu swt focu send event focu swt focu swt focu shell dispos point happen don send activ deactiv event shell dispos focu shell set activ control displai displai shell displai control control displai focu control control null shell control shell shell set activ control null sendfocusev focusin getshel postev focusin focusin focusout sendev focusin focusin focusout isdispos focusin setactivecontrol getfocuscontrol getshel setactivecontrol boolean send kei event int type int event int length int 1 int statu os event paramet event os event param kei unicod os type unicod text null 4 length char null statu os err length 0 2 int count 0 int chord int 1 os event paramet event os event param mous chord os typeu int32 null 4 null chord int modifi int 1 os event paramet event os event param kei modifi os typeu int32 null 4 null modifi char char char length 0 2 os event paramet event os event param kei unicod os type unicod text null char length 2 null char int 0 char length event event event event charact char set input event type chord 0 modifi 0 send kei event type event char count char count 0 return fals count char length 1 os set event paramet event os event param kei unicod os type unicod text count 2 char return true event event event set kei event type event return true return send kei event type event sendkeyev theevent geteventparamet theevent keventparamkeyunicod typeunicodetext noerr geteventparamet theevent keventparammousechord typeuint32 geteventparamet theevent keventparamkeymodifi typeuint32 geteventparamet theevent keventparamkeyunicod typeunicodetext setinputst sendkeyev seteventparamet theevent keventparamkeyunicod typeunicodetext setkeyst theevent sendkeyev boolean send kei event int type event event send event type event widget dispos point unlik applic code dispos widget kei event happen end process kei return fals dispos return fals return event doit sendkeyev sendev isdispos boolean send mous event int type short button int event int sizeof org eclips swt intern carbon point sizeof org eclips swt intern carbon point pt org eclips swt intern carbon point os event paramet event os event param mous locat os typeqd point null sizeof null pt rect rect rect int window os control owner handl os window bound window short os window content rgn rect int pt rect left int pt rect top os control bound handl rect rect left rect top int chord int 1 os event paramet event os event param mous chord os typeu int32 null 4 null chord int modifi int 1 os event paramet event os event param kei modifi os typeu int32 null 4 null modifi return send mous event type button chord 0 short short modifi 0 fals sendmouseev theevent geteventparamet theevent keventparammouseloc typeqdpoint getcontrolown getwindowbound kwindowcontentrgn getcontrolbound geteventparamet theevent keventparammousechord typeuint32 geteventparamet theevent keventparamkeymodifi typeuint32 sendmouseev boolean send mous event int type short button int chord short short int modifi boolean send event event event switch button case 1 event button 1 break case 2 event button 3 break case 3 event button 2 break event x event y set input event type chord modifi send event type event send return true sendmouseev setinputst sendev set receiv background color color argument default system color control argument null param color color null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set background color color check widget color null color dispos swt error swt error invalid argument background color null color handl null set background background redraw widget handl fals illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setbackground checkwidget isdispos error_invalid_argument setbackground redrawwidget void set background float color control font style rec font style control font style rec os control data handl short os control entir control os control font style tag control font style rec sizeof font style null color null font style backcolor red short color 0 0xffff font style backcolor green short color 1 0xffff font style backcolor blue short color 2 0xffff font style flag os control color mask font style flag os control color mask os set control font style handl font style setbackground controlfontstylerec fontstyl controlfontstylerec getcontroldata kcontrolentirecontrol kcontrolfontstyletag controlfontstylerec fontstyl fontstyl backcolor_red fontstyl backcolor_green fontstyl backcolor_blue fontstyl kcontrolusebackcolormask fontstyl kcontrolusebackcolormask setcontrolfontstyl fontstyl set receiv size locat rectangular area argument code code code code argument rel receiv parent displai parent null receiv shell case code code code code argument rel displai note attempt set width height receiv neg number set param x coordin receiv param y coordin receiv param width width receiv param height height receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set bound int int int width int height check widget set bound top handl width height true true true swtexcept error_widget_dispos error_thread_invalid_access setbound checkwidget setbound tophandl set receiv size locat rectangular area argument code code code code field rectangl rel receiv parent displai parent null note attempt set width height receiv neg number set param rect bound receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set bound rectangl rect rect null error swt error null argument set bound rect rect rect width rect height swtexcept error_widget_dispos error_thread_invalid_access setbound error_null_argument setbound argument code true code receiv mous event deliv method call code fals code argument param captur code true code captur mous code fals code releas except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set captur boolean captur check widget swtexcept error_widget_dispos error_thread_invalid_access setcaptur checkwidget set receiv cursor cursor argument default cursor kind control argument null mous pointer pass control appear chang match control cursor param cursor cursor null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set cursor cursor cursor check widget cursor null cursor dispos error swt error invalid argument cursor cursor enabl return org eclips swt intern carbon point org eclips swt intern carbon point os global mous int window int 1 displai grab control window 0 os control owner handl os find window window os content return window 0 0 return rect rect rect os window bound window 0 short os window content rgn rect int control int 1 displai grab control control 0 handl cg point point cg point point rect left point rect top int root int 1 os root control window 0 root os hi view subview hit root 0 point true control int cursor control control 0 control 0 0 control 0 handl os super control control 0 control control 0 0 return control 0 cursor control widget widget displai widget control 0 widget null widget instanceof control control control control widget control enabl break os super control control 0 control control 0 0 control 0 0 control 0 root 0 widget widget displai widget control 0 widget null widget instanceof control control control control widget control 0 control handl rect left rect top int modifi os current event kei modifi boolean cursor set boolean 1 os handl control set cursor control 0 short modifi cursor set cursor set 0 os set theme cursor os theme arrow cursor illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setcursor checkwidget isdispos error_invalid_argument isen getglobalmous thewindow grabcontrol thewindow getcontrolown findwindow thewindow incont thewindow getwindowbound thewindow kwindowcontentrgn thecontrol grabcontrol thecontrol cgpoint inpoint cgpoint inpoint inpoint theroot getrootcontrol thewindow theroot hiviewgetsubviewhit theroot inpoint thecontrol cursorcontrol thecontrol thecontrol thecontrol getsupercontrol thecontrol thecontrol thecontrol thecontrol cursorcontrol getwidget thecontrol isen getsupercontrol thecontrol thecontrol thecontrol thecontrol thecontrol theroot getwidget thecontrol thecontrol getcurrenteventkeymodifi cursorwasset handlecontrolsetcursor thecontrol cursorwasset cursorwasset setthemecursor kthemearrowcursor void set default font displai small font set font style default font setdefaultfont smallfont setfontstyl defaultfont enabl receiv argument code true code disabl disabl control typic select user interfac draw inact grai look param enabl enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set enabl boolean enabl check widget disabl 0 enabl return control control null boolean fix focu fals enabl control displai focu control fix focu focu ancestor control enabl disabl disabl enabl widget enabl fix focu fix focu control swtexcept error_widget_dispos error_thread_invalid_access seten checkwidget fixfocu getfocuscontrol fixfocu isfocusancestor enablewidget fixfocu fixfocu receiv em keyboard focu em keyboard event deliv focu reassign respect applic platform constraint return code true code control focu code fals code unabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul forc focu public boolean set focu check widget style swt focu 0 return fals return forc focu swtexcept error_widget_dispos error_thread_invalid_access forcefocu setfocu checkwidget no_focu forcefocu set font receiv paint textual inform font argument default font kind control argument null param font font null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set font font font check widget font null font dispos swt error swt error invalid argument font font set font style font redraw widget handl fals illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setfont checkwidget isdispos error_invalid_argument setfontstyl redrawwidget void set font style font font control font style rec font style control font style rec os control data handl short os control entir control os control font style tag control font style rec sizeof font style null font null font style flag os control font mask os control size mask os control face mask font style font font id font style style font style font style size font size font style flag os control theme fontid mask font style font short default theme font os set control font style handl font style setfontstyl controlfontstylerec fontstyl controlfontstylerec getcontroldata kcontrolentirecontrol kcontrolfontstyletag controlfontstylerec fontstyl fontstyl kcontrolusefontmask kcontrolusesizemask kcontrolusefacemask fontstyl fontstyl fontstyl fontstyl kcontrolusethemefontidmask fontstyl defaultthemefont setcontrolfontstyl fontstyl set receiv foreground color color argument default system color control argument null param color color null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set foreground color color check widget color null color dispos swt error swt error invalid argument foreground color null color handl null set foreground foreground redraw widget handl fals illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setforeground checkwidget isdispos error_invalid_argument setforeground redrawwidget void set foreground float color control font style rec font style control font style rec os control data handl short os control entir control os control font style tag control font style rec sizeof font style null color null font style forecolor red short color 0 0xffff font style forecolor green short color 1 0xffff font style forecolor blue short color 2 0xffff font style flag os control fore color mask font style flag os control fore color mask os set control font style handl font style setforeground controlfontstylerec fontstyl controlfontstylerec getcontroldata kcontrolentirecontrol kcontrolfontstyletag controlfontstylerec fontstyl fontstyl forecolor_red fontstyl forecolor_green fontstyl forecolor_blue fontstyl kcontroluseforecolormask fontstyl kcontroluseforecolormask setcontrolfontstyl fontstyl set layout data receiv argument param layout data layout data receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set layout data object layout data check widget layout data layout data layoutdata swtexcept error_widget_dispos error_thread_invalid_access setlayoutdata layoutdata checkwidget layoutdata layoutdata set receiv locat point argument rel receiv parent displai parent null receiv shell case point rel displai param x coordin receiv param y coordin receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set locat int int check widget set bound top handl 0 0 true fals true swtexcept error_widget_dispos error_thread_invalid_access setloc checkwidget setbound tophandl set receiv locat point argument rel receiv parent displai parent null receiv shell case point rel displai param locat locat receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set locat point locat locat null error swt error null argument set locat locat locat swtexcept error_widget_dispos error_thread_invalid_access setloc error_null_argument setloc set receiv pop menu argument control option pop menu displai user request control sequenc kei stroke button press button releas request pop menu platform specif param menu pop menu except illeg argument except ul li error menu pop menu pop menu li li error invalid parent menu widget tree li li error invalid argument menu dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set menu menu menu check widget menu null menu dispos swt error swt error invalid argument menu style swt pop 0 error swt error menu pop menu parent menu shell error swt error invalid parent menu menu illegalargumentexcept error_menu_not_pop_up error_invalid_parent error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setmenu checkwidget isdispos error_invalid_argument pop_up error_menu_not_pop_up menushel error_invalid_parent parent widget provid underli oper system support featur answer code true code parent successfulli chang param parent parent control return code true code parent chang code fals code except illeg argument except ul li error invalid argument argument dispos li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public boolean set parent composit parent check widget parent dispos swt error swt error invalid argument return fals illegalargumentexcept error_invalid_argument swterror error_thread_invalid_access error_widget_dispos setpar checkwidget isdispos error_invalid_argument argument code fals code subsequ draw oper receiv draw kind occur receiv flag set true graphic oper occur flag code fals code lost flag set code true code entir widget mark need redrawn note oper hint support platform widget param redraw redraw except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul redraw updat public void set redraw boolean redraw check widget redraw draw count 0 invalid visibl region handl redraw widget handl true draw count 0 invalid visibl region handl draw count swtexcept error_widget_dispos error_thread_invalid_access setredraw checkwidget drawcount invalidatevisibleregion redrawwidget drawcount invalidatevisibleregion drawcount boolean set radio select boolean return fals setradioselect set receiv size point argument note attempt set width height receiv neg number set param width width receiv param height height receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set size int width int height check widget set bound top handl 0 0 width height fals true true swtexcept error_widget_dispos error_thread_invalid_access setsiz checkwidget setbound tophandl set receiv size point argument note attempt set width height receiv neg number set param size size receiv except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set size point size size null error swt error null argument set size size size illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setsiz error_null_argument setsiz boolean set tab group focu return set tab item focu settabgroupfocu settabitemfocu boolean set tab item focu show return fals return forc focu settabitemfocu isshow forcefocu set receiv tool tip text argument null indic tool tip text shown param string tool tip text null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set tool tip text string string check widget tool tip text string swtexcept error_widget_dispos error_thread_invalid_access settooltiptext checkwidget tooltiptext mark receiv visibl argument code true code mark invis receiv ancestor visibl condit make receiv visibl mark visibl actual displai param visibl visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set visibl boolean visibl check widget visibl hidden 0 return hidden hidden 0 return hidden visibl unlik applic code dispos widget show event happen return send event swt show dispos return featur macintosh receiv focu hide receiv control focu focu need clear txn object stop blink caret fix assign focu ancestor control take focu control focu clear focu control control control null boolean fix focu fals visibl control displai focu control fix focu focu ancestor control set visibl top handl visibl visibl unlik applic code dispos widget show event happen return send event swt hide dispos return fix focu fix focu control swtexcept error_widget_dispos error_thread_invalid_access setvis checkwidget sendev isdispos txnobject fixfocu getfocuscontrol fixfocu isfocusancestor setvis tophandl sendev isdispos fixfocu fixfocu void setz order int top handl top handl int parent handl parent handl os hi view add subview parent handl top handl os emb control top handl parent handl place child 0 0 parent rect parent rect rect os control bound parent handl parent rect rect inset inset rect bound rect bound left short parent rect left inset left bound top short parent rect top inset top bound short bound left inset inset left bound bottom short bound top inset bottom inset top bound bottom bound top bound bottom bound top bound bound left bound bound left os set control bound top handl bound setzord tophandl tophandl parenthandl hiviewaddsubview parenthandl tophandl embedcontrol tophandl parenthandl parentrect getcontrolbound parenthandl parentrect getinset newbound newbound parentrect newbound parentrect newbound newbound newbound newbound newbound newbound newbound newbound newbound newbound newbound newbound setcontrolbound tophandl newbound void setz order control control boolean int control control null 0 control top handl setz order top handl control setzord othercontrol tophandl setzord tophandl othercontrol void sort int item shell sort pg 108 int length item length int gap length 2 gap 0 gap 2 int gap length int gap 0 gap item item gap int swap item item item gap item gap swap return point result convert argument displai rel coordin coordin rel receiv param x coordin translat param y coordin translat return translat coordin except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public point control int int check widget rect rect rect int window os control owner handl os window bound window short os window content rgn rect rect left rect top os control bound handl rect return point rect left rect top swtexcept error_widget_dispos error_thread_invalid_access tocontrol checkwidget getcontrolown getwindowbound kwindowcontentrgn getcontrolbound return point result convert argument displai rel coordin coordin rel receiv param point point translat null return translat coordin except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point control point point check widget point null error swt error null argument return control point point illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access tocontrol checkwidget error_null_argument tocontrol return point result convert argument coordin rel receiv displai rel coordin param x coordin translat param y coordin translat return translat coordin except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public point displai int int check widget rect rect rect os control bound handl rect rect left rect top int window os control owner handl os window bound window short os window content rgn rect return point rect left rect top swtexcept error_widget_dispos error_thread_invalid_access todisplai checkwidget getcontrolbound getcontrolown getwindowbound kwindowcontentrgn return point result convert argument coordin rel receiv displai rel coordin param point point translat null return translat coordin except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point displai point point check widget point null error swt error null argument return displai point point illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access todisplai checkwidget error_null_argument todisplai int top handl return handl tophandl boolean translat travers int kei int event int detail swt travers int code travers code kei event boolean fals switch kei case 53 esc true detail swt travers escap break case 36 return true detail swt travers return break case 48 tab int modifi int 1 os event paramet event os event param kei modifi os typeu int32 null 4 null modifi boolean modifi 0 os shift kei 0 detail swt travers tab swt travers tab previou break case 126 arrow case 123 left arrow case 125 arrow case 124 arrow boolean kei 125 arrow kei 124 arrow detail swt travers arrow swt travers arrow previou break case 116 page case 121 page true int modifi int 1 os event paramet event os event param kei modifi os typeu int32 null 4 null modifi modifi 0 os control kei 0 return fals detail kei 121 page swt travers page swt travers page previou break default return fals event event event event doit code detail 0 event detail detail set kei event swt travers event return fals shell shell shell control control control travers event return true event doit control hook swt travers return fals control shell return fals control control parent control null return fals translatetravers theevent travers_none traversalcod theevent travers_escap travers_return geteventparamet theevent keventparamkeymodifi typeuint32 shiftkei travers_tab_next travers_tab_previou travers_arrow_next travers_arrow_previou geteventparamet theevent keventparamkeymodifi typeuint32 controlkei travers_page_next travers_page_previou setkeyst theevent getshel int travers code int kei int event int code swt travers return swt travers tab swt travers tab previou shell shell shell shell parent null code swt travers escap return code traversalcod theevent travers_return travers_tab_next travers_tab_previou getshel travers_escap boolean travers mnemon char kei return fals traversemnemon base argument perform expect platform travers action argument constant code swt travers escap code code swt travers return code code swt travers tab code code swt travers tab previou code code swt travers arrow code code swt travers arrow previou code param travers type travers return true travers succeed except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean travers int travers check widget event event event event doit true event detail travers return travers event travers_escap travers_return travers_tab_next travers_tab_previou travers_arrow_next travers_arrow_previou swtexcept error_widget_dispos error_thread_invalid_access checkwidget boolean travers event event send event swt travers event dispos return true event doit return fals switch event detail case swt travers return true case swt travers escap return travers escap case swt travers return return travers return case swt travers tab return travers group true case swt travers tab previou return travers group fals case swt travers arrow return travers item true case swt travers arrow previou return travers item fals case swt travers mnemon return travers mnemon event case swt travers page return travers page true case swt travers page previou return travers page fals return fals sendev isdispos travers_none travers_escap traverseescap travers_return traversereturn travers_tab_next traversegroup travers_tab_previou traversegroup travers_arrow_next traverseitem travers_arrow_previou traverseitem travers_mnemon traversemnemon travers_page_next traversepag travers_page_previou traversepag boolean travers escap return fals traverseescap boolean travers group boolean control root comput tab root control group comput tab group control list root comput tab list int length list length int index 0 index length list index group break index unlik applic code dispos widget focu event ensur dispos widget access index length return fals int start index offset 1 1 index index offset length length start control control list index control dispos control set tab group focu return true group dispos return fals return group set tab group focu traversegroup computetabroot computetabgroup computetablist isdispos settabgroupfocu isdispos settabgroupfocu boolean travers item boolean control children parent getchildren int length children length int index 0 index length children index break index unlik applic code dispos widget focu event ensur dispos widget access index length return fals int start index offset 1 1 index index offset length length start control child children index child dispos child tab item child set tab item focu return true return fals traverseitem _getchildren isdispos istabitem settabitemfocu boolean travers return return fals traversereturn boolean travers page boolean return fals traversepag boolean travers mnemon event event return fals traversemnemon forc outstand paint request widget process method return except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul redraw paint listen swt paint public void updat check widget updat fals swtexcept error_widget_dispos error_thread_invalid_access paintlisten checkwidget void updat boolean check widget draw handl return int window os control owner handl int port os window port window int port rgn os rgn os port visibl region port port rgn os empti rgn port rgn int updat rgn os rgn os window region window short os window updat rgn updat rgn os empti rgn updat rgn rect rect rect os window bound window short os window content rgn rect os offset rgn updat rgn short rect left short rect top os sect rgn port rgn updat rgn updat rgn os empti rgn updat rgn int visibl rgn visibl region handl os empti rgn visibl rgn os sect rgn updat rgn visibl rgn visibl rgn os empti rgn visibl rgn int current port int 1 os port current port os set port port os begin updat window os diff rgn updat rgn visibl rgn updat rgn inval window rgn window updat rgn os updat control window visibl rgn os end updat window os set port current port 0 os dispos rgn visibl rgn os dispos rgn updat rgn os dispos rgn port rgn checkwidget isdraw getcontrolown getwindowport portrgn newrgn getportvisibleregion portrgn emptyrgn portrgn updatergn newrgn getwindowregion kwindowupdatergn updatergn emptyrgn updatergn getwindowbound kwindowcontentrgn offsetrgn updatergn sectrgn portrgn updatergn updatergn emptyrgn updatergn visiblergn getvisibleregion emptyrgn visiblergn sectrgn updatergn visiblergn visiblergn emptyrgn visiblergn currentport getport currentport setport beginupd diffrgn updatergn visiblergn updatergn invalwindowrgn updatergn updatecontrol visiblergn endupd setport currentport disposergn visiblergn disposergn updatergn disposergn portrgn button default button save default decor defaultbutton savedefault construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt border swt close swt min swt max swt resiz swt titl swt trim swt shell trim swt dialog trim swt top swt tool widget check subclass widget style public decor composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass no_trim shell_trim dialog_trim on_top checksubclass getstyl checkstyl static int check style int style style swt menu swt min swt max swt close 0 style swt titl return style checkstyl void bring top boolean forc move null bringtotop moveabov protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass control comput tab group return computetabgroup control comput tab root return computetabroot return receiv default button previous set return null return default button null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul set default button public button default button check widget return default button swtexcept error_widget_dispos error_thread_invalid_access setdefaultbutton getdefaultbutton checkwidget defaultbutton return receiv imag previous set code set imag code imag typic displai window manag instanc mark iconifi displai trim instanc normal maxim state note method return null call code set imag code call provid access window manag provid default imag exist return imag except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public imag imag check widget return imag setimag setimag swtexcept error_widget_dispos error_thread_invalid_access getimag checkwidget return receiv imag previous set code set imag code imag typic displai window manag instanc mark iconifi displai trim instanc normal maxim state depend icon displai platform choos icon size expect arrai icon render resolut note method return empti arrai call code set imag code call provid access window manag provid default imag exist return imag except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public imag imag check widget return imag setimag setimag swtexcept error_widget_dispos error_thread_invalid_access getimag checkwidget return code true code receiv maxim fals return maxim except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul set maxim public boolean maxim check widget return maxim swtexcept error_widget_dispos error_thread_invalid_access setmaxim getmaxim checkwidget return receiv menu bar previous set return null return menu bar null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public menu menu bar check widget return menu bar swtexcept error_widget_dispos error_thread_invalid_access getmenubar checkwidget menubar return code true code receiv minim fals return minim except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul set minim public boolean minim check widget return minim swtexcept error_widget_dispos error_thread_invalid_access setminim getminim checkwidget string text return text getnametext gettext return receiv text string window manag typic displai receiv em titl em text previous set return empti string return text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string text check widget return text swtexcept error_widget_dispos error_thread_invalid_access gettext checkwidget boolean tab group return true istabgroup boolean tab item return fals istabitem decor menu shell return menushel void releas widget menu bar null menu bar dispos menu bar null menu menu displai menu menu null int index 0 index menu length menu menu menu index menu null menu dispos menu parent menu null menu menu parent menu menu dispos break index index menu length break true menu null super releas widget imag null imag null save focu null default button save default null releasewidget menubar menubar menubar getmenu isdispos getparentmenu getparentmenu releasewidget savedfocu defaultbutton savedefault boolean restor focu save focu null save focu dispos save focu null save focu null return fals return save focu forc focu restorefocu savedfocu savedfocu isdispos savedfocu savedfocu savedfocu forcefocu void save focu int window os control owner handl control control displai focu control window control null control thi control menu shell set save focu control savefocu getcontrolown getfocuscontrol menushel setsavedfocu argument null set receiv default button argument argument null set receiv default button button set receiv default button call em save default button em default button previous set save default button dispos receiv default button set null param button default button except illeg argument except ul li error invalid argument button dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set default button button button check widget set default button button true illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setdefaultbutton checkwidget setdefaultbutton void set default button button button boolean save button null default button save default save save default null return button dispos error swt error invalid argument button style swt push 0 return button default button return default button null default button dispos default button set default fals default button button null default button save default default button null default button dispos default button set default true save save default default button save default null save default dispos save default null setdefaultbutton defaultbutton savedefault savedefault isdispos error_invalid_argument defaultbutton defaultbutton defaultbutton isdispos defaultbutton setdefault defaultbutton defaultbutton savedefault defaultbutton defaultbutton isdispos defaultbutton setdefault savedefault defaultbutton savedefault savedefault isdispos savedefault set receiv imag argument null imag typic displai window manag instanc mark iconifi displai trim instanc normal maxim state param imag imag null except illeg argument except ul li error invalid argument imag dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set imag imag imag check widget imag null imag dispos error swt error invalid argument imag imag illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setimag checkwidget isdispos error_invalid_argument set receiv imag argument empti arrai imag typic displai window manag instanc mark iconifi displai trim instanc normal maxim state depend icon displai platform choos icon size expect arrai icon render resolut param imag imag arrai except illeg argument except ul li error null argument arrai imag null li li error invalid argument imag dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set imag imag imag check widget imag null error swt error invalid argument int 0 imag length imag null imag dispos error swt error invalid argument imag imag illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setimag checkwidget error_invalid_argument isdispos error_invalid_argument set maxim receiv argument code true code receiv switch maxim argument code fals code receiv previous maxim receiv switch minim normal state note result intermix call code set maxim true code code set minim true code vari platform typic behavior match platform user expect avoid param maxim maxim except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul set minim public void set maxim boolean maxim check widget maxim maxim setmaxim setminim swtexcept error_widget_dispos error_thread_invalid_access setminim setmaxim checkwidget set receiv menu bar argument null param menu menu bar except illeg argument except ul li error invalid argument menu dispos li li error invalid parent menu widget tree li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set menu bar menu menu check widget menu bar menu return menu null menu dispos error swt error invalid argument menu style swt bar 0 error swt error menu bar menu parent error swt error invalid parent menu bar menu illegalargumentexcept error_invalid_argument error_invalid_parent swtexcept error_widget_dispos error_thread_invalid_access setmenubar checkwidget menubar isdispos error_invalid_argument error_menu_not_bar error_invalid_parent menubar set minim state receiv argument code true code receiv switch minim argument code fals code receiv previous minim receiv switch maxim normal state note result intermix call code set maxim true code code set minim true code vari platform typic behavior match platform user expect avoid param minim maxim except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul set maxim public void set minim boolean minim check widget minim minim setmaxim setminim swtexcept error_widget_dispos error_thread_invalid_access setmaxim setminim checkwidget void set save focu control control save focu control setsavedfocu savedfocu set receiv text string window manag typic displai receiv em titl em argument null param string text except illeg argument except ul li error null argument text null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string string check widget string null error swt error null argument text string illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget error_null_argument boolean travers item boolean return fals traverseitem boolean travers return default button null default button dispos return fals default button visibl default button enabl return fals default button click return true traversereturn defaultbutton defaultbutton isdispos defaultbutton isvis defaultbutton isen defaultbutton construct instanc class parent param parent shell parent instanc except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul public directori dialog shell parent parent swt applic modal illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass directorydialog applic_modal construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent shell parent instanc param style style dialog construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul public directori dialog shell parent int style super parent style check subclass illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass directorydialog checksubclass return path dialog filter directori show return filter path public string filter path return filter path getfilterpath filterpath return dialog messag descript purpos open messag visibl dialog open return messag public string messag return messag getmessag make dialog visibl bring front displai return string describ absolut path select directori null dialog cancel error occur except swt except ul li error widget dispos dialog dispos li li error thread invalid access call thread creat dialog li ul public string open string directori path null int titl ptr 0 int messag ptr 0 titl null char buffer char titl length titl char 0 buffer length buffer 0 titl ptr os cf string creat charact os kcf alloc default buffer buffer length char buffer char messag length messag char 0 buffer length buffer 0 messag ptr os cf string creat charact os kcf alloc default buffer buffer length nav dialog creation option option nav dialog creation option option parent window os control owner parent handl need titl displai option window titl option client titl ptr option option flag os nav support packag os nav allow open packag os nav allow invis file option messag messag ptr option locat 1 option locat 1 int dialog int 1 need filter proc handl filter os nav creat choos folder dialog option 0 0 0 dialog os err os nav dialog run dialog 0 os nav dialog user action dialog 0 os nav user action choos nav repli record record nav repli record os nav dialog repli dialog 0 record ae desc select ae desc select descriptor type record select descriptortyp select data handl record select datahandl int count int 1 os ae count item select count count 0 0 int theae keyword int 1 int type code int 1 int maximum size 80 size fs ref int data ptr os ptr maximum size int actual size int 1 int statu os ae nth ptr select 1 os typef ref theae keyword type code data ptr maximum size actual size statu os err type code 0 os typef ref byte fs ref byte actual size 0 os memcpi fs ref data ptr actual size 0 int dir url os cfurl creat fromf ref os kcf alloc default fs ref int dir string os cfurl copi file system path dir url os kcfurlposix path style os cf releas dir url int length os cf string length dir string buffer char length cf rang rang cf rang rang length length os cf string charact dir string rang buffer os cf releas dir string filter path directori path string buffer os dispos ptr data ptr titl ptr 0 os cf releas titl ptr messag ptr 0 os cf releas messag ptr dialog 0 0 os nav dialog dispos dialog 0 return directori path swtexcept error_widget_dispos error_thread_invalid_access directorypath titleptr messageptr getchar titleptr cfstringcreatewithcharact kcfallocatordefault getchar messageptr cfstringcreatewithcharact kcfallocatordefault navdialogcreationopt navdialogcreationopt parentwindow getcontrolown windowtitl clientnam titleptr optionflag knavsupportpackag knavallowopenpackag knavallowinvisiblefil messageptr locat_h locat_v outdialog infilterproc navcreatechoosefolderdialog outdialog noerr navdialogrun outdialog navdialoggetuseract outdialog knavuseractionchoos navreplyrecord navreplyrecord navdialoggetrepli outdialog aedesc aedesc descriptortyp select_descriptortyp datahandl select_datahandl aecountitem theaekeyword typecod maximums fsref dataptr newptr maximums actuals aegetnthptr typefsref theaekeyword typecod dataptr maximums actuals noerr typecod typefsref fsref actuals fsref dataptr actuals dirurl cfurlcreatefromfsref kcfallocatordefault fsref dirstr cfurlcopyfilesystempath dirurl kcfurlposixpathstyl cfreleas dirurl cfstringgetlength dirstr cfrang cfrang cfstringgetcharact dirstr cfreleas dirstr filterpath directorypath disposeptr dataptr titleptr cfreleas titleptr messageptr cfreleas messageptr outdialog navdialogdispos outdialog directorypath set dialog messag descript purpos open messag visibl dialog open param string messag except illeg argument except ul li error null argument string null li ul public void set messag string string string null error swt error null argument messag string illegalargumentexcept error_null_argument setmessag error_null_argument set path dialog filter directori show argument null param string filter path public void set filter path string string filter path string setfilterpath filterpath devic finder runnabl public void run devic devic current devic null devic default set devic devic devicefind getcurr getdefault setdevic temporari code static void set devic devic devic current devic devic setdevic currentdevic static int translat kei int kei int 0 kei tabl length kei tabl 0 kei return kei tabl 1 return 0 translatekei keytabl keytabl keytabl static int untransl kei int kei int 0 kei tabl length kei tabl 1 kei return kei tabl 0 return 0 untranslatekei keytabl keytabl keytabl int action proc int control int part code widget widget widget control widget null return widget action proc control part code return os err actionproc thecontrol partcod getwidget thecontrol actionproc thecontrol partcod noerr int appl event proc int handler int event int user data int ae eventid int 1 os event paramet event os event parama eventid os type type null 4 null ae eventid os err ae eventid 0 os kae quit applic event event event send event swt close event event doit applic close swt program continu run order avoid run code displai dispos exit java dispos system exit 0 return os user cancel err return os event handl err appleeventproc nexthandl theevent userdata aeeventid geteventparamet theevent keventparamaeeventid typetyp aeeventid noerr aeeventid kaequitappl sendev usercancelederr eventnothandlederr add listen collect listen notif event type occur displai event occur listen notifi send code handl event code messag param event type type event listen param listen listen notifi event occur except illeg argument except ul li error null argument listen null li ul except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul listen remov filter remov listen 3 0 public void add filter int event type listen listen check devic listen null error swt error null argument filter tabl null filter tabl event tabl filter tabl hook event type listen handleev eventtyp illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_devic_dispos removefilt removelisten addfilt eventtyp checkdevic error_null_argument filtert filtert eventt filtert eventtyp add listen collect listen notif event type occur event occur displai listen notifi send code handl event code messag param event type type event listen param listen listen notifi event occur except illeg argument except ul li error null argument listen null li ul except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul listen remov listen 2 0 public void add listen int event type listen listen check devic listen null error swt error null argument event tabl null event tabl event tabl event tabl hook event type listen handleev eventtyp illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_devic_dispos removelisten addlisten eventtyp checkdevic error_null_argument eventt eventt eventt eventt eventtyp void add menu menu menu menu null menu menu 12 int 0 menu length menu null menu id short id start menu menu return menu menu menu menu length 12 menu id short id start menu length menu menu length menu system arraycopi menu 0 menu 0 menu length menu menu addmenu id_start newmenu id_start newmenu newmenu newmenu void add popup menu menu popup null popup menu 4 int length popup length int 0 length popup menu return int index 0 index length popup index null break index index length menu popup menu length 4 system arraycopi popup 0 popup 0 length popup popup popup index menu addpopup newpopup newpopup newpopup void add widget int handl widget widget handl 0 return free slot 1 int length free slot index tabl length grow size int index tabl int length widget widget tabl widget length system arraycopi index tabl 0 index tabl 0 free slot system arraycopi widget tabl 0 widget tabl 0 free slot int free slot length 1 index tabl i 1 index tabl length 1 1 index tabl index tabl widget tabl widget tabl properti 0 free slot 1 os set control properti handl swt0 swt0 4 properti int slot free slot free slot index tabl slot index tabl slot 2 widget tabl slot widget addwidget freeslot freeslot indext grow_size newindext newwidgett indext newindext freeslot widgett newwidgett freeslot freeslot newindext newindext indext newindext widgett newwidgett freeslot setcontrolproperti oldslot freeslot freeslot indext oldslot indext oldslot widgett oldslot code run code method runnabl invok user interfac thread reason opportun caller method continu run parallel notifi runnabl complet param runnabl code run user interfac thread except swt except ul li error devic dispos receiv dispos li ul sync exec public void async exec runnabl runnabl dispos error swt error devic dispos synchron async exec runnabl swtexcept error_devic_dispos syncexec asyncexec isdispos error_devic_dispos asyncexec system hardwar emit short sound support capabl except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public void beep check devic os sy beep short 100 swtexcept error_thread_invalid_access error_devic_dispos checkdevic sysbeep int caret proc int id int client data current caret null current caret dispos return 0 current caret blink caret int blink rate current caret blink rate os set event loop timer fire id blink rate 1000 0 current caret null return 0 caretproc clientdata currentcaret currentcaret isdispos currentcaret blinkcaret blinkrat currentcaret blinkrat seteventlooptimernextfiretim blinkrat currentcaret protect void check devic thread null error swt error widget dispos thread thread current thread error swt error thread invalid access dispos error swt error devic dispos checkdevic error_widget_dispos currentthread error_thread_invalid_access isdispos error_devic_dispos check class subclass import comment code widget check subclass code except swt except ul li error invalid subclass class allow subclass li ul widget check subclass protect void check subclass displai valid class class error swt error invalid subclass checksubclass swtexcept error_invalid_subclass checksubclass checksubclass isvalidclass getclass error_invalid_subclass int creat imag int type int ref int 1 int result os icon ref os system disk os system icon creator type ref result os err return null int famili int 1 result os icon ref icon famili ref 0 os selector data famili os releas icon ref ref 0 result os err return null int data handl os handl 0 result os icon famili data famili 0 os larg32 bit data data handl result os err os dispos handl data handl os dispos handl famili 0 return null int mask handl os handl 0 result os icon famili data famili 0 os larg8 bit mask mask handl result os err os dispos handl mask handl os dispos handl data handl os dispos handl famili 0 return null int width 32 height 32 int bpr width 4 int data size os handl size data handl int data os ptr clear data size data 0 os dispos handl mask handl os dispos handl data handl os dispos handl famili 0 return null os lock data handl os lock mask handl int icon ptr int 1 int mask ptr int 1 os memcpi icon ptr data handl 4 os memcpi mask ptr mask handl 4 os memcpi data icon ptr 0 data size int pixel count data size 4 int 0 pixel count os memcpi data 4 mask ptr 0 1 os unlock mask handl os unlock data handl os dispos handl mask handl os dispos handl data handl os dispos handl famili 0 int provid os cg data provid creat data 0 data data size 0 provid 0 os dispos ptr data return null int colorspac os cg color space creat devicergb colorspac 0 os cg data provid releas provid os dispos ptr data return null int cg imag os cg imag creat width height 8 32 bpr colorspac os kcg imag alpha provid null fals 0 os cg color space releas colorspac os cg data provid releas provid return int cg imag data createimag geticonref konsystemdisk ksystemiconscr noerr iconreftoiconfamili kselectorallavailabledata releaseiconref noerr datahandl newhandl geticonfamilydata klarg32bitdata datahandl noerr disposehandl datahandl disposehandl maskhandl newhandl geticonfamilydata klarg8bitmask maskhandl noerr disposehandl maskhandl disposehandl datahandl disposehandl datas gethandles datahandl newptrclear datas disposehandl maskhandl disposehandl datahandl disposehandl hlock datahandl hlock maskhandl iconptr maskptr iconptr datahandl maskptr maskhandl iconptr datas pixelcount datas pixelcount maskptr hunlock maskhandl hunlock datahandl disposehandl maskhandl disposehandl datahandl disposehandl cgdataprovidercreatewithdata datas disposeptr cgcolorspacecreatedevicergb cgdataproviderreleas disposeptr cgimag cgimagecr kcgimagealphafirst cgcolorspacereleas cgdataproviderreleas cgimag int creat overlai window int gdevic os main devic int ptr int 1 os memcpi ptr gdevic 4 devic devic devic os memcpi devic ptr 0 devic sizeof rect rect rect os set rect rect devic left devic top devic devic bottom int window int 1 os creat window os overlai window class 0 rect window window 0 0 swt error swt error handl return window 0 createoverlaywindow getmaindevic gdevic gdevic gdevic setrect outwindow createnewwindow koverlaywindowclass outwindow outwindow error_no_handl outwindow construct instanc class note result displai mark em current em displai displai construct applic start mark em default em displai except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul current default widget check subclass shell public displai null swtexcept error_thread_invalid_access error_invalid_subclass getcurr getdefault checksubclass public displai devic data data super data devicedata static synchron void check displai thread thread int 0 displai length displai null displai thread thread swt error swt error thread invalid access checkdisplai error_thread_invalid_access int color proc int control int messag int draw depth int draw color widget widget widget control widget null return widget color proc control messag draw depth draw color return os event handl err colorproc incontrol inmessag indrawdepth indrawincolor getwidget incontrol colorproc incontrol inmessag indrawdepth indrawincolor eventnothandlederr int command proc int handler int event int user data int event kind os event kind event hi command command hi command os event paramet event os event param direct object os typehi command null hi command sizeof null command switch event kind case os event process command command commandid os kae quit applic close return os err command attribut os khi command menu 0 user data 0 widget widget widget user data widget null return widget command proc handler event user data int menu ref command menu menuref short menuid os menuid menu ref menu menu find menu menuid menu null featur macintosh menu item select user macintosh send event menu open rememb index item user select send event menu close send event process command applic code modifi menu insid event menu close ad remov item index item user select invalid fix detect menu modifi event menu close target item rememb event menu target item menu item item null menu close menu modifi item menu target item menu item command menu menuitemindex 1 item null return item event process command handler event user data os hilit menu short 0 return os event handl err commandproc nexthandl theevent userdata eventkind geteventkind theevent hicommand hicommand geteventparamet theevent keventparamdirectobject typehicommand hicommand eventkind keventprocesscommand kaequitappl noerr khicommandfrommenu userdata getwidget userdata commandproc nexthandl theevent userdata menuref menu_menuref getmenuid menuref findmenu keventmenuopen keventmenuclos keventprocesscommand keventmenuclos keventmenuclos keventmenutargetitem menuitem lasttarget getitem menu_menuitemindex keventprocesscommand nexthandl theevent userdata hilitemenu eventnothandlederr rect comput inset int control int temp rgn os rgn rect rect rect os control region control short os control structur meta part temp rgn os control bound control rect rect rgn rect rect os region bound temp rgn rgn rect os dispos rgn temp rgn rect left rgn rect left rect top rgn rect top rect short rgn rect rect rect bottom short rgn rect bottom rect bottom return rect computeinset temprgn newrgn getcontrolregion kcontrolstructuremetapart temprgn getcontrolbound rgnrect getregionbound temprgn rgnrect disposergn temprgn rgnrect rgnrect rgnrect rgnrect int control proc int handler int event int user data widget widget widget user data widget null return widget control proc handler event user data return os event handl err controlproc nexthandl theevent userdata getwidget userdata controlproc nexthandl theevent userdata eventnothandlederr static string convert lf string text char cr char lf int length text length length 0 return text check lf cr lf assum rest string format string mix delimit int text index lf 0 1 0 return text text char 1 cr return text string format cr lf creat string lf line delimit 0 string buffer result string buffer length int text index cr 1 length string text substr result append 2 result append lf return result string converttolf indexof charat stringbuff stringbuff indexof tostr void clear menu flag menu null return int 0 menu length menu menu menu menu null menu modifi menu close fals menu target null clearmenuflag lasttarget request connect swt underli oper system close except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul devic dispos 2 0 public void close check devic event event event send event swt close event event doit dispos swtexcept error_thread_invalid_access error_devic_dispos checkdevic sendev creat devic oper system devic handl method depend devic method call code init code param data devic data describ receiv init protect void creat devic data data check subclass check displai thread thread current thread creat displai data regist default null default devicedata devicedata checksubclass checkdisplai currentthread createdisplai void creat displai devic data data queue os current event queue os txn init textens 0 0 0 createdisplai devicedata getcurrenteventqueu txninittextens synchron static void deregist displai displai int 0 displai length displai displai displai null destroi devic oper system releas devic handl devic handl method depend devic method call code releas code dispos releas protect void destroi default default null deregist destroi displai destroydisplai void destroi displai destroydisplai code run code method runnabl invok user interfac thread receiv dispos param runnabl code run dispos except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public void dispos exec runnabl runnabl check devic dispos list null dispos list runnabl 4 int 0 dispos list length dispos list null dispos list runnabl return runnabl dispos list runnabl dispos list length 4 system arraycopi dispos list 0 dispos list 0 dispos list length dispos list dispos list length runnabl dispos list dispos list swtexcept error_thread_invalid_access error_devic_dispos disposeexec checkdevic disposelist disposelist disposelist disposelist disposelist newdisposelist disposelist disposelist newdisposelist disposelist newdisposelist disposelist disposelist newdisposelist void drag detect control control drag control hook swt drag detect drag mous start null os wait mous move drag mous start drag true rect rect rect int window os control owner control handl os window bound window short os window content rgn rect int drag mous start rect left int drag mous start rect top os control bound control handl rect rect left rect top event event event event x event y control post event swt drag detect event control send event swt drag detect event drag mous start null dragdetect dragdetect dragmousestart waitmousemov dragmousestart getcontrolown getwindowbound kwindowcontentrgn dragmousestart dragmousestart getcontrolbound postev dragdetect sendev dragdetect dragmousestart int draw item proc int browser int item int properti int item int rect int gd depth int color devic widget widget widget browser widget null return widget draw item proc browser item properti item rect gd depth color devic return os err drawitemproc itemst therect gddepth colordevic getwidget drawitemproc itemst therect gddepth colordevic noerr void error int code swt error code boolean filter event event event filter tabl null filter tabl send event event return fals filterev filtert filtert sendev boolean filter int event type filter tabl null return fals return filter tabl hook event type eventtyp filtert filtert eventtyp menu find menu int id menu null return null int index id id start 0 index index menu length return menu index return null findmenu id_start oper system handl widget return instanc code widget code subclass repres run applic exist null match widget found param handl handl widget return swt widget handl repres except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public widget find widget int handl check devic return widget handl swtexcept error_thread_invalid_access error_devic_dispos findwidget checkdevic getwidget return displai thread user interfac thread null thread user interfac thread displai param thread user interfac thread return displai thread public static synchron displai find displai thread thread int 0 displai length displai displai displai displai null displai thread thread return displai return null finddisplai return activ code shell code null shell belong run applic activ return activ shell null except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public shell activ shell check devic int 0 widget tabl length widget widget widget tabl widget null widget instanceof shell shell shell shell widget os window activ shell shell handl return shell return null swtexcept error_thread_invalid_access error_devic_dispos getactiveshel checkdevic widgett widgett iswindowact shellhandl return rectangl describ receiv size locat return bound rectangl except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public rectangl bound check devic int gdevic os devic list gdevic 0 os devic gdevic 0 return super bound monitor monitor monitor rectangl rect monitor 0 bound int 1 monitor length rect rect union monitor bound return rect swtexcept error_thread_invalid_access error_devic_dispos getbound checkdevic getdevicelist getnextdevic getbound getmonitor getbound getbound return displai run thread user interfac thread null run thread user interfac thread displai return current displai public static synchron displai current return find displai thread current thread getcurr finddisplai currentthread int caret blink return os caret 1000 60 getcaretblinktim getcarettim return rectangl describ area receiv capabl displai data return client area except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul bound public rectangl client area check devic int gdevic os devic list gdevic 0 os devic gdevic 0 return super client area monitor monitor monitor rectangl rect monitor 0 bound int 1 monitor length rect rect union monitor bound return rect swtexcept error_thread_invalid_access error_devic_dispos getbound getclientarea checkdevic getdevicelist getnextdevic getclientarea getmonitor getbound getbound return control screen pointer top null control built run applic return control cursor except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public control cursor control org eclips swt intern carbon point org eclips swt intern carbon point os global mous int window int 1 os find window window os content return null window 0 0 return null rect rect rect os window bound window 0 short os window content rgn rect cg point point cg point point rect left point rect top int root int 1 os root control window 0 root int control int 1 os hi view subview hit root 0 point true control control 0 0 os control enabl control 0 os super control control 0 control control 0 0 widget widget widget control 0 widget null widget instanceof control control control control widget control enabl return control enabl modal control null os super control control 0 control control 0 0 widget widget widget root 0 widget null widget instanceof control return control widget return null swtexcept error_thread_invalid_access error_devic_dispos getcursorcontrol getglobalmous thewindow findwindow thewindow incont thewindow getwindowbound thewindow kwindowcontentrgn cgpoint inpoint cgpoint inpoint inpoint theroot getrootcontrol thewindow theroot thecontrol hiviewgetsubviewhit theroot inpoint thecontrol thecontrol iscontrolen thecontrol getsupercontrol thecontrol thecontrol thecontrol getwidget thecontrol isen isenabledmod getsupercontrol thecontrol thecontrol thecontrol getwidget theroot return locat screen pointer rel top left corner screen return cursor locat except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public point cursor locat check devic org eclips swt intern carbon point pt org eclips swt intern carbon point os global mous pt return point pt pt swtexcept error_thread_invalid_access error_devic_dispos getcursorloc checkdevic getglobalmous return arrai recommend cursor size return arrai cursor size except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul 3 0 public point cursor size check devic return point point 16 16 swtexcept error_thread_invalid_access error_devic_dispos getcursors checkdevic return default displai creat make thread invok method user interfac thread exist return default displai public static synchron displai default default null default displai return default getdefault return applic defin properti receiv null set applic arbitrari object receiv fashion object store properti need notifi displai dispos applic respons provid code dispos exec code handler param kei the properti return properti null set except illeg argument except ul li error null argument kei null li ul except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul set data dispos exec public object data string kei check devic kei null error swt error null argument kei null return null int 0 kei length kei equal kei return valu return null disposeexec illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_devic_dispos setdata disposeexec getdata checkdevic error_null_argument return applic defin displai specif data receiv null set em displai specif data em singl unnam field store displai applic put arbitrari object field object store displai specif data need notifi displai dispos applic respons provid code dispos exec code handler return displai specif data except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul set data dispos exec public object data check devic return data disposeexec swtexcept error_thread_invalid_access error_devic_dispos setdata disposeexec getdata checkdevic return button dismiss align code left code code code button dismiss align order posit default dismiss button dialog dialog ok cancel button platform button dismiss align code left code button order ok cancel button dismiss align code code button order cancel ok return button dismiss order except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul 2 1 public int dismiss align check devic return swt swtexcept error_thread_invalid_access error_devic_dispos getdismissalalign checkdevic return longest durat millisecond mous button click consid em doubl click em underli oper system return doubl click except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public int doubl click check devic return os dbl 1000 60 swtexcept error_thread_invalid_access error_devic_dispos getdoubleclicktim checkdevic getdbltim return control keyboard focu null keyboard event go control built run applic return control cursor except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public control focu control check devic int window os user focu window window 0 return null return focu control window swtexcept error_thread_invalid_access error_devic_dispos getfocuscontrol checkdevic thewindow getuserfocuswindow thewindow getfocuscontrol thewindow control focu control int window int control int 1 os keyboard focu window control control 0 0 return null widget widget widget control 0 widget null widget instanceof control control control control widget return control enabl control null os super control control 0 control control 0 0 return null getfocuscontrol thecontrol getkeyboardfocu thecontrol thecontrol getwidget thecontrol isen getsupercontrol thecontrol thecontrol thecontrol return true high contrast mode enabl fals return note oper hint support platform concept return high contrast mode except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul 3 0 public boolean high contrast check devic return fals swtexcept error_thread_invalid_access error_devic_dispos gethighcontrast checkdevic return maximum allow depth icon displai platform actual depth displai return maximum icon depth except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public int icon depth return depth swtexcept error_thread_invalid_access error_devic_dispos geticondepth getdepth return arrai recommend icon size return arrai icon size except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul decor set imag imag 3 0 public point icon size check devic return point point 16 16 point 32 32 point 64 64 point 128 128 swtexcept error_thread_invalid_access error_devic_dispos setimag geticons checkdevic int event code intention comment event second need accur millisecond return int os user event 1000 0 return int system current milli getlasteventtim getlastusereventtim currenttimemilli menu menu decor shell menu null return menu 0 int count 0 int 0 menu length menu menu menu menu null menu parent shell count int index 0 menu result menu count int 0 menu length menu menu menu menu null menu parent shell result index menu return result getmenu menu menu bar return menu bar getmenubar menubar int messag count return synchron messag count getmessagecount getmessagecount return arrai monitor attach devic return arrai monitor 3 0 public monitor monitor check devic int count 0 monitor monitor monitor 1 rect rect rect devic devic devic int gdevic os devic list gdevic 0 count monitor length monitor monitor monitor monitor length 4 system arraycopi monitor 0 monitor 0 monitor length monitor monitor monitor monitor monitor monitor handl gdevic int ptr int 1 os memcpi ptr gdevic 4 os memcpi devic ptr 0 devic sizeof monitor devic left monitor devic top monitor width devic devic left monitor height devic bottom devic top os window posit bound gdevic rect monitor clientx rect left monitor clienti rect top monitor client width rect rect left monitor client height rect bottom rect top monitor count monitor gdevic os devic gdevic count monitor length monitor monitor monitor count system arraycopi monitor 0 monitor 0 count monitor monitor return monitor getmonitor checkdevic gdevic gdevic getdevicelist newmonitor newmonitor newmonitor gdevic getavailablewindowpositioningbound clientwidth clientheight getnextdevic newmonitor newmonitor newmonitor return primari monitor devic return primari monitor 3 0 public monitor primari monitor check devic int gdevic os main devic monitor monitor monitor monitor handl gdevic int ptr int 1 os memcpi ptr gdevic 4 devic devic devic os memcpi devic ptr 0 devic sizeof monitor devic left monitor devic top monitor width devic devic left monitor height devic bottom devic top rect rect rect os window posit bound gdevic rect monitor clientx rect left monitor clienti rect top monitor client width rect rect left monitor client height rect bottom rect top return monitor getprimarymonitor checkdevic getmaindevic gdevic gdevic gdevic getavailablewindowpositioningbound clientwidth clientheight return arrai shell dispos receiv displai return receiv shell except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public shell shell check devic int length 0 int 0 widget tabl length widget widget widget tabl widget null widget instanceof shell length int index 0 shell result shell length int 0 widget tabl length widget widget widget tabl widget null widget instanceof shell int 0 index result widget break j index result index shell widget index length return result shell result shell index system arraycopi result 0 result 0 index return result swtexcept error_thread_invalid_access error_devic_dispos getshel checkdevic widgett widgett widgett widgett newresult newresult newresult return thread invok code sync exec code null runnabl invok user interfac thread note runnabl invok async exec run method return null return receiv sync interfac thread except swt except ul li error devic dispos receiv dispos li ul public thread sync thread dispos error swt error devic dispos return synchron sync thread syncexec asyncexec swtexcept error_devic_dispos getsyncthread isdispos error_devic_dispos syncthread return match standard color constant color constant class code swt code swt color constant pass result color black color free alloc system applic param id color constant return match color except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul swt public color system color int id check devic rgb color rgb rgb color switch id case swt color info foreground return super system color swt color black case swt color info background return color carbon float 0xff 255f 0xff 255f 0xe1 255f 1 case swt color titl foreground os theme text color short os theme text color document window titl activ short depth true rgb break case swt color titl background os theme brush color short 5 undocu darker highlight color short depth true rgb break case swt color titl background gradient os theme brush color short os theme brush primari highlight color short depth true rgb break case swt color titl inact foreground os theme text color short os theme text color document window titl inact short depth true rgb break case swt color titl inact background os theme brush color short os theme brush secondari highlight color short depth true rgb break case swt color titl inact background gradient os theme brush color short os theme brush secondari highlight color short depth true rgb break case swt color widget dark shadow return color carbon float 0x33 255f 0x33 255f 0x33 255f 1 case swt color widget normal shadow return color carbon float 0x66 255f 0x66 255f 0x66 255f 1 case swt color widget light shadow return color carbon float 0x99 255f 0x99 255f 0x99 255f 1 case swt color widget highlight shadow return color carbon float 0xcc 255f 0xcc 255f 0xcc 255f 1 case swt color widget background os theme brush color short os theme brush button face activ short depth true rgb break case swt color widget foreground os theme text color short os theme text color push button activ short depth true rgb break case swt color widget border return super system color swt color black case swt color list foreground os theme text color short os theme text color list view short depth true rgb break case swt color list background os theme brush color short os theme brush list view background short depth true rgb break case swt color list select text os theme text color short os theme text color list view short depth true rgb break case swt color list select os theme brush color short os theme brush primari highlight color short depth true rgb break default return super system color id float red rgb red 8 0xff 255f float green rgb green 8 0xff 255f float blue rgb blue 8 0xff 255f return color carbon float red green blue 1 swtexcept error_thread_invalid_access error_devic_dispos getsystemcolor checkdevic rgbcolor rgbcolor color_info_foreground getsystemcolor color_black color_info_background carbon_new color_titl_foreground getthemetextcolor kthemetextcolordocumentwindowtitleact getdepth color_titl_background getthemebrushascolor getdepth color_titl_background_gradient getthemebrushascolor kthemebrushprimaryhighlightcolor getdepth color_titl_inact_foreground getthemetextcolor kthemetextcolordocumentwindowtitleinact getdepth color_titl_inact_background getthemebrushascolor kthemebrushsecondaryhighlightcolor getdepth color_titl_inact_background_gradient getthemebrushascolor kthemebrushsecondaryhighlightcolor getdepth color_widget_dark_shadow carbon_new color_widget_normal_shadow carbon_new color_widget_light_shadow carbon_new color_widget_highlight_shadow carbon_new color_widget_background getthemebrushascolor kthemebrushbuttonfaceact getdepth color_widget_foreground getthemetextcolor kthemetextcolorpushbuttonact getdepth color_widget_border getsystemcolor color_black color_list_foreground getthemetextcolor kthemetextcolorlistview getdepth color_list_background getthemebrushascolor kthemebrushlistviewbackground getdepth color_list_select_text getthemetextcolor kthemetextcolorlistview getdepth color_list_select getthemebrushascolor kthemebrushprimaryhighlightcolor getdepth getsystemcolor carbon_new return match standard platform cursor constant cursor constant class code swt code cursor free alloc system applic code null code return suppli constant swt cursor constant param id swt cursor constant return cursor code null code except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul swt cursor arrow swt cursor wait swt cursor cross swt cursor appstart swt cursor help swt cursor sizeal swt cursor sizenesw swt cursor sizen swt cursor sizenws swt cursor sizew swt cursor sizen swt cursor size swt cursor size swt cursor sizew swt cursor sizen swt cursor sizes swt cursor sizesw swt cursor sizenw swt cursor uparrow swt cursor ibeam swt cursor swt cursor hand 3 0 public cursor system cursor int id check devic 0 id id cursor length return null cursor id null cursor id cursor id return cursor id swtexcept error_thread_invalid_access error_devic_dispos cursor_arrow cursor_wait cursor_cross cursor_appstart cursor_help cursor_sizeal cursor_sizenesw cursor_sizen cursor_sizenws cursor_sizew cursor_sizen cursor_size cursor_size cursor_sizew cursor_sizen cursor_sizes cursor_sizesw cursor_sizenw cursor_uparrow cursor_ibeam cursor_no cursor_hand getsystemcursor checkdevic return match standard platform imag constant icon constant class code swt code imag free alloc system applic code null code return suppli constant swt icon constant platform defin imag correspond constant param id swt icon constant return imag code null code except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul swt icon error swt icon inform swt icon question swt icon warn swt icon work 3 0 public imag system imag int id int cg imag 0 int imag data 0 switch id case swt icon error error imag 0 int imag creat imag os alert stop icon imag null error imag imag 0 error imag data imag 1 cg imag error imag imag data error imag data break case swt icon inform case swt icon question case swt icon work info imag 0 int imag creat imag os alert note icon imag null info imag imag 0 info imag data imag 1 cg imag info imag imag data info imag data break case swt icon warn warn imag 0 int imag creat imag os alert caution icon imag null warn imag imag 0 warn imag data imag 1 cg imag warn imag imag data warn imag data break cg imag 0 return null return imag carbon swt icon cg imag imag data swtexcept error_thread_invalid_access error_devic_dispos icon_error icon_inform icon_question icon_warn icon_work getsystemimag cgimag imagedata icon_error errorimag createimag kalertstopicon errorimag errorimagedata cgimag errorimag imagedata errorimagedata icon_inform icon_question icon_work infoimag createimag kalertnoteicon infoimag infoimagedata cgimag infoimag imagedata infoimagedata icon_warn warningimag createimag kalertcautionicon warningimag warningimagedata cgimag warningimag imagedata warningimagedata cgimag carbon_new cgimag imagedata return singl instanc system trai return receiv user interfac thread except swt except ul li error devic dispos receiv dispos li ul 3 0 public trai system trai check devic trai null return trai return trai trai swt swtexcept error_devic_dispos getsystemtrai checkdevic return user interfac thread receiv return receiv user interfac thread except swt except ul li error devic dispos receiv dispos li ul public thread thread dispos error swt error devic dispos return thread swtexcept error_devic_dispos getthread isdispos error_devic_dispos widget widget int handl handl 0 return null properti 0 0 os control properti handl swt0 swt0 4 null properti int index properti 0 1 0 index index widget tabl length return widget tabl index return null getwidget getcontrolproperti widgett widgett int help proc int control int global mous int request int content provid int io help content widget widget widget control widget null return widget help proc control global mous request content provid io help content return os event handl err helpproc incontrol inglobalmous inrequest outcontentprovid iohelpcont getwidget incontrol helpproc incontrol inglobalmous inrequest outcontentprovid iohelpcont eventnothandlederr int hit test proc int browser int item int properti int rect int mous rect widget widget widget browser widget null return widget hit test proc browser item properti rect mous rect return os err hittestproc therect mouserect getwidget hittestproc therect mouserect noerr initi intern resourc need devic method call code creat code creat protect void init super init initi callback initi inset initi widget tabl initi font initializecallback initializeinset initializewidgett initializefont void initi callback creat callback action callback callback action proc 2 action proc action callback address action proc 0 error swt error callback appl event callback callback appl event proc 3 appl event proc appl event callback address appl event proc 0 error swt error callback caret callback callback caret proc 2 caret proc caret callback address caret proc 0 error swt error callback command callback callback command proc 3 command proc command callback address command proc 0 error swt error callback control callback callback control proc 3 control proc control callback address control proc 0 error swt error callback draw item callback callback draw item proc 7 draw item proc draw item callback address draw item proc 0 error swt error callback item compar callback callback item compar proc 4 item compar proc item compar callback address item compar proc 0 error swt error callback item data callback callback item data proc 5 item data proc item data callback address item data proc 0 error swt error callback item notif callback callback item notif proc 3 item notif proc item notif callback address item notif proc 0 error swt error callback help callback callback help proc 5 help proc help callback address help proc 0 error swt error callback hit test callback callback hit test proc 5 hit test proc hit test callback address hit test proc 0 error swt error callback keyboard callback callback keyboard proc 3 keyboard proc keyboard callback address keyboard proc 0 error swt error callback menu callback callback menu proc 3 menu proc menu callback address menu proc 0 error swt error callback mous hover callback callback mous hover proc 2 mous hover proc mous hover callback address mous hover proc 0 error swt error callback mous callback callback mous proc 3 mous proc mous callback address mous proc 0 error swt error callback timer callback callback timer proc 2 timer proc timer callback address timer proc 0 error swt error callback track callback callback track proc 6 track proc track callback address track proc 0 error swt error callback window callback callback window proc 3 window proc window callback address window proc 0 error swt error callback color callback callback color proc 4 color proc color callback address color proc 0 error swt error callback text input callback callback text input proc 3 text input proc text input callback address text input proc 0 error swt error callback instal event handler int mask1 int os event class command os event process command int app target os applic event target os instal event handler app target command proc mask1 length 2 mask1 0 null int mask2 int os event class mous os event mous os event class mous os event mous drag os event class mous os event mous enter os event class mous os event mous exit os event class mous os event mous move os event class mous os event mous os event class mous os event mous wheel move os instal event handler app target mous proc mask2 length 2 mask2 0 null int mask3 int os event class appl event os event appl event os instal event handler app target appl event proc mask3 length 2 mask3 0 null int mask4 int os event class keyboard os event raw kei os event class keyboard os event raw kei modifi chang os event class keyboard os event raw kei repeat os event class keyboard os event raw kei int focu target os user focu event target os instal event handler focu target keyboard proc mask4 length 2 mask4 0 null int mask5 int os event class text input os event text input unicod kei event os instal event handler focu target text input proc mask5 length 2 mask5 0 null initializecallback actioncallback actionproc actionproc actioncallback getaddress actionproc error_no_more_callback appleeventcallback appleeventproc appleeventproc appleeventcallback getaddress appleeventproc error_no_more_callback caretcallback caretproc caretproc caretcallback getaddress caretproc error_no_more_callback commandcallback commandproc commandproc commandcallback getaddress commandproc error_no_more_callback controlcallback controlproc controlproc controlcallback getaddress controlproc error_no_more_callback drawitemcallback drawitemproc drawitemproc drawitemcallback getaddress drawitemproc error_no_more_callback itemcomparecallback itemcompareproc itemcompareproc itemcomparecallback getaddress itemcompareproc error_no_more_callback itemdatacallback itemdataproc itemdataproc itemdatacallback getaddress itemdataproc error_no_more_callback itemnotificationcallback itemnotificationproc itemnotificationproc itemnotificationcallback getaddress itemnotificationproc error_no_more_callback helpcallback helpproc helpproc helpcallback getaddress helpproc error_no_more_callback hittestcallback hittestproc hittestproc hittestcallback getaddress hittestproc error_no_more_callback keyboardcallback keyboardproc keyboardproc keyboardcallback getaddress keyboardproc error_no_more_callback menucallback menuproc menuproc menucallback getaddress menuproc error_no_more_callback mousehovercallback mousehoverproc mousehoverproc mousehovercallback getaddress mousehoverproc error_no_more_callback mousecallback mouseproc mouseproc mousecallback getaddress mouseproc error_no_more_callback timercallback timerproc timerproc timercallback getaddress timerproc error_no_more_callback trackingcallback trackingproc trackingproc trackingcallback getaddress trackingproc error_no_more_callback windowcallback windowproc windowproc windowcallback getaddress windowproc error_no_more_callback colorcallback colorproc colorproc colorcallback getaddress colorproc error_no_more_callback textinputcallback textinputproc textinputproc textinputcallback getaddress textinputproc error_no_more_callback keventclasscommand keventprocesscommand apptarget getapplicationeventtarget installeventhandl apptarget commandproc keventclassmous keventmousedown keventclassmous keventmousedrag keventclassmous keventmouseent keventclassmous keventmouseexit keventclassmous keventmousemov keventclassmous keventmouseup keventclassmous keventmousewheelmov installeventhandl apptarget mouseproc keventclassappleev keventappleev installeventhandl apptarget appleeventproc keventclasskeyboard keventrawkeydown keventclasskeyboard keventrawkeymodifierschang keventclasskeyboard keventrawkeyrepeat keventclasskeyboard keventrawkeyup focustarget getuserfocuseventtarget installeventhandl focustarget keyboardproc keventclasstextinput keventtextinputunicodeforkeyev installeventhandl focustarget textinputproc void initi font temporari code small font system properti org eclips swt intern carbon small font null focu ring system properti org eclips swt intern carbon focu ring null initializefont smallfont getproperti smallfont nofocusr getproperti nofocusr void initi inset int control int 1 rect rect rect rect rect bottom short 200 os creat push button control 0 rect 0 control button inset comput inset control 0 os dispos control control 0 os creat tab control 0 rect short os control tab size larg short os control tab direct north short 0 0 control tab folder north inset comput inset control 0 os dispos control control 0 os creat tab control 0 rect short os control tab size larg short os control tab direct south short 0 0 control tab folder south inset comput inset control 0 os dispos control control 0 cg rect cg rect cg rect cg rect width cg rect height 200 int attribut os khi combo box auto complet attribut os khi combo box auto size list attribut os hi combo box creat cg rect 0 null 0 attribut control combo inset comput inset control 0 fixm combo inset bottom combo inset top os dispos control control 0 initializeinset outcontrol createpushbuttoncontrol outcontrol buttoninset computeinset outcontrol disposecontrol outcontrol createtabscontrol kcontroltabsizelarg kcontroltabdirectionnorth outcontrol tabfoldernorthinset computeinset outcontrol disposecontrol outcontrol createtabscontrol kcontroltabsizelarg kcontroltabdirectionsouth outcontrol tabfoldersouthinset computeinset outcontrol disposecontrol outcontrol cgrect cgrect cgrect cgrect cgrect inattribut khicomboboxautocompletionattribut khicomboboxautosizelistattribut hicomboboxcr cgrect inattribut outcontrol comboinset computeinset outcontrol comboinset comboinset disposecontrol outcontrol void initi widget tabl properti int 1 index tabl int grow size widget tabl widget grow size int 0 grow size 1 index tabl i 1 index tabl grow size 1 1 initializewidgett indext grow_size widgett grow_size grow_size indext indext grow_size invok platform specif function alloc gc handl import method em em part public api code displai code mark public share packag provid swt platform call applic code param data platform specif gc data return platform specif gc handl except swt error ul li error handl handl obtain imag creation li ul except swt except ul li error devic dispos receiv dispos li ul public int intern gc gc data data dispos swt error swt error devic dispos todo multipl monitor int window creat overlai window os show window window int port os window port window int buffer int 1 os createcg context port port buffer int context buffer 0 context 0 swt error swt error handl rect port rect rect os port bound port port rect os cg context scalectm context 1 1 os cg context translatectm context 0 port rect top port rect bottom data null int mask swt left swt left data style mask 0 data style swt left data devic data window window data background system color swt color white handl data foreground system color swt color black handl data font system font return context swterror error_no_handl swtexcept error_devic_dispos intern_new_gc gcdata isdispos error_devic_dispos createoverlaywindow showwindow getwindowport createcgcontextforport error_no_handl portrect getportbound portrect cgcontextscalectm cgcontexttranslatectm portrect portrect left_to_right right_to_left left_to_right getsystemcolor color_white getsystemcolor color_black getsystemfont invok platform specif function dispos gc handl import method em em part public api code displai code mark public share packag provid swt platform call applic code param hdc platform specif gc handl param data platform specif gc data public void intern dispos gc int context gc data data dispos swt error swt error devic dispos data null int window data window os dispos window window data window 0 code intentionali comment cg context synchron cg context flush improv perform os cg context flush context os cg context synchron context os cg context releas context intern_dispos_gc gcdata isdispos error_devic_dispos disposewindow cgcontextsynchron cgcontextflush cgcontextflush cgcontextsynchron cgcontextreleas static boolean valid class class clazz string clazz int index index return substr 0 index 1 equal packag prefix isvalidclass getnam lastindexof packag_prefix boolean valid thread return thread thread current thread isvalidthread currentthread int item compar proc int browser int item int item int sort properti widget widget widget browser widget null return widget item compar proc browser item item sort properti return os err itemcompareproc itemon itemtwo sortproperti getwidget itemcompareproc itemon itemtwo sortproperti noerr int item data proc int browser int item int properti int item data int set widget widget widget browser widget null return widget item data proc browser item properti item data set return os err itemdataproc itemdata setvalu getwidget itemdataproc itemdata setvalu noerr int item notif proc int browser int item int messag widget widget widget browser widget null return widget item notif proc browser item messag return os err itemnotificationproc getwidget itemnotificationproc noerr int keyboard proc int handler int event int user data widget widget widget user data widget null int window os user focu window window 0 return os event handl err int control int 1 os keyboard focu window control widget widget control 0 widget null return widget keyboard proc handler event user data return os event handl err keyboardproc nexthandl theevent userdata getwidget userdata thewindow getuserfocuswindow thewindow eventnothandlederr thecontrol getkeyboardfocu thewindow thecontrol getwidget thecontrol keyboardproc nexthandl theevent userdata eventnothandlederr gener low level system event code post code gener low level keyboard mous event intent enabl autom ui test simul input user swt applic need call method event type kei kei field code event code appli ul li type kei kei li li charact charact correspond keyboard kei li li kei code kei code kei type defin kei code constant class code swt code li ul mous mous p field code event code appli ul li type mous mous li button button press releas ul mous move p field code event code appli ul li type mous move li x coordin move mous pointer screen coordin li y coordin move mous pointer screen coordin ul dl param event event gener return true event gener fals except illeg argument except ul li error null argument event null li ul except swt except ul li error devic dispos receiv dispos li ul 3 0 public boolean post event event dispos error swt error devic dispos event null error swt error null argument int type event type switch type case swt kei case swt kei int kei displai untransl kei event kei code kei 0 return os cg post keyboard event 0 kei type swt kei 0 kei 1 int kchr ptr os script manag variabl short os smkchr cach int kei 1 int int 1 int encod int 1 short kei script short os script manag variabl short os sm kei script short region code short os script manag variabl short os sm region code os upgrad script info text encod kei script short os text languag dont care region code null encod os param err os upgrad script info text encod kei script short os text languag dont care short os text region dont care null encod os param err encod 0 os text encod mac roman int encod info int 1 os creat unicod text info encod encod 0 encod info encod info 0 0 char input event charact byte buffer byte 2 os convert unicod top string encod info 0 2 input buffer os dispos unicod text info encod info kei buffer 1 0x7f kei 1 return fals int 0 0x7f int result1 os kei translat kchr ptr short 512 int result2 os kei translat kchr ptr short result1 0x7f kei result2 0x7f kei kei break kei 1 return fals return os cg post keyboard event kei kei type swt kei 0 case swt mous case swt mous move case swt mous cg point mous cursor posit cg point int chord os current event button type swt mous move mous cursor posit event mous cursor posit event return os cg post mous event mous cursor posit true 3 chord 0x1 0 chord 0x2 0 chord 0x4 0 0 int button event button button 1 button 3 return fals boolean button1 fals button2 fals button3 fals switch button case 1 button1 type swt mous button2 chord 0x4 0 button3 chord 0x2 0 break case 2 button1 chord 0x1 0 button2 type swt mous button3 chord 0x2 0 break case 3 button1 chord 0x1 0 button2 chord 0x4 0 button3 type swt mous break org eclips swt intern carbon point pt org eclips swt intern carbon point os global mous pt mous cursor posit pt mous cursor posit pt return os cg post mous event mous cursor posit true 3 button1 button3 button2 0 return fals keydown keyup keydown keyup keycod mousedown mouseup mousedown mouseup mousemov mousemov illegalargumentexcept error_null_argument swtexcept error_devic_dispos isdispos error_devic_dispos error_null_argument keydown keyup vkei untranslatekei keycod vkei cgpostkeyboardev vkei keydown vkei kchrptr getscriptmanagervari smkchrcach keyscript getscriptmanagervari smkeyscript regioncod getscriptmanagervari smregioncod upgradescriptinfototextencod keyscript ktextlanguagedontcar regioncod paramerr upgradescriptinfototextencod keyscript ktextlanguagedontcar ktextregiondontcar paramerr ktextencodingmacroman encodinginfo createunicodetotextinfobyencod encodinginfo encodinginfo convertfromunicodetopstr encodinginfo disposeunicodetotextinfo encodinginfo keytransl kchrptr keytransl kchrptr vkei vkei cgpostkeyboardev vkei keydown mousedown mousemov mouseup cgpoint mousecursorposit cgpoint getcurrenteventbuttonst mousemov mousecursorposit mousecursorposit cgpostmouseev mousecursorposit mousedown mousedown mousedown getglobalmous mousecursorposit mousecursorposit cgpostmouseev mousecursorposit void post event event event place event end event queue code call displai thread re enter need synchron event queue null event queue event 4 int index 0 int length event queue length index length event queue index null break index index length event queue event length 4 system arraycopi event queue 0 queue 0 length event queue queue event queue index event postev eventqueu eventqueu eventqueu eventqueu newqueu eventqueu newqueu eventqueu newqueu eventqueu map point coordin system control null coordin map displai note left platform coordin system mirror special care need map coordin control to ensur result correctli mirror map point origin rectangl ad width height equival map rectangl control mirror ad width height point map rectangl extend wrong direct map entir rectangl point origin corner rectangl map param sourc code control code code null code param destin code control code code null code param point map return point map coordin except illeg argument except ul li error null argument rectangl null li li error invalid argument control control dispos li ul except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul 2 1 2 public point map control control point point check devic point null error swt error null argument return map point point illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_thread_invalid_access error_devic_dispos checkdevic error_null_argument map point coordin system control null coordin map displai note left platform coordin system mirror special care need map coordin control to ensur result correctli mirror map point origin rectangl ad width height equival map rectangl control mirror ad width height point map rectangl extend wrong direct map entir rectangl point origin corner rectangl map param sourc code control code code null code param destin code control code code null code param coordin map param coordin map return point map coordin except illeg argument except ul li error invalid argument control control dispos li ul except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul 2 1 2 public point map control control int int check devic null dispos error swt error invalid argument null dispos error swt error invalid argument point point point null rect rect rect os control bound handl rect point rect left point rect top int window os control owner handl os window bound window short os window content rgn rect point rect left point rect top null rect rect rect os control bound handl rect point rect left point rect top int window os control owner handl os window bound window short os window content rgn rect point rect left point rect top return point illegalargumentexcept error_invalid_argument swtexcept error_thread_invalid_access error_devic_dispos checkdevic isdispos error_invalid_argument isdispos error_invalid_argument getcontrolbound getcontrolown getwindowbound kwindowcontentrgn getcontrolbound getcontrolown getwindowbound kwindowcontentrgn map point coordin system control null coordin map displai note left platform coordin system mirror special care need map coordin control to ensur result correctli mirror map point origin rectangl ad width height equival map rectangl control mirror ad width height point map rectangl extend wrong direct map entir rectangl point origin corner rectangl map param sourc code control code code null code param destin code control code code null code param rectangl map return rectangl map coordin except illeg argument except ul li error null argument rectangl null li li error invalid argument control control dispos li ul except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul 2 1 2 public rectangl map control control rectangl rectangl check devic rectangl null error swt error null argument return map rectangl rectangl rectangl width rectangl height illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_thread_invalid_access error_devic_dispos checkdevic error_null_argument map point coordin system control null coordin map displai note left platform coordin system mirror special care need map coordin control to ensur result correctli mirror map point origin rectangl ad width height equival map rectangl control mirror ad width height point map rectangl extend wrong direct map entir rectangl point origin corner rectangl map param sourc code control code code null code param destin code control code code null code param coordin map param coordin map param width coordin map param height coordin map return rectangl map coordin except illeg argument except ul li error invalid argument control control dispos li ul except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul 2 1 2 public rectangl map control control int int int width int height check devic null dispos error swt error invalid argument null dispos error swt error invalid argument rectangl rectangl rectangl width height null rect rect rect os control bound handl rect rectangl rect left rectangl rect top int window os control owner handl os window bound window short os window content rgn rect rectangl rect left rectangl rect top null rect rect rect os control bound handl rect rectangl rect left rectangl rect top int window os control owner handl os window bound window short os window content rgn rect rectangl rect left rectangl rect top return rectangl illegalargumentexcept error_invalid_argument swtexcept error_thread_invalid_access error_devic_dispos checkdevic isdispos error_invalid_argument isdispos error_invalid_argument getcontrolbound getcontrolown getwindowbound kwindowcontentrgn getcontrolbound getcontrolown getwindowbound kwindowcontentrgn int menu proc int handler int event int user data user data 0 widget widget widget user data widget null return widget menu proc handler event user data int menu int 1 os event paramet event os event param direct object os type menu ref null 4 null menu short menuid os menuid menu 0 menu menu find menu menuid menu null return menu menu proc handler event user data return os event handl err menuproc nexthandl theevent userdata userdata getwidget userdata menuproc nexthandl theevent userdata themenu geteventparamet theevent keventparamdirectobject typemenuref themenu getmenuid themenu findmenu menuproc nexthandl theevent userdata eventnothandlederr int mous proc int handler int event int user data int event kind os event kind event mous control null event kind os event mous mous control dispos mous control mous proc handler event user data mous control null return os err mous control null int sizeof org eclips swt intern carbon point sizeof org eclips swt intern carbon point org eclips swt intern carbon point os event paramet event os event param mous locat os typeqd point null sizeof null int window int 1 int part os find window window switch part case os menu bar event kind os event mous clear menu flag menu bar null menu bar enabl os menu select clear menu flag return os err break case os content rect window rect rect os window bound window 0 short os window content rgn window rect cg point point cg point point window rect left point window rect top int root int 1 os root control window 0 root int control int 1 os hi view subview hit root 0 point true control control 0 0 os control enabl control 0 os super control control 0 control widget widget null boolean consum fals control 0 0 control 0 root 0 widget widget control 0 widget null widget enabl break consum true os super control control 0 control control 0 0 control 0 0 widget widget root 0 widget null int result user data 0 widget mous proc handler event user data os event handl err return consum os err result break switch event kind case os event mous drag case os event mous move os init cursor return os event handl err mouseproc nexthandl theevent userdata eventkind geteventkind theevent mouseupcontrol eventkind keventmouseup mouseupcontrol isdispos mouseupcontrol mouseproc nexthandl theevent userdata mouseupcontrol noerr mouseupcontrol geteventparamet theevent keventparammouseloc typeqdpoint thewindow findwindow thewindow inmenubar eventkind keventmousedown clearmenuflag menubar menubar isen menuselect clearmenuflag noerr incont windowrect getwindowbound thewindow kwindowcontentrgn windowrect cgpoint inpoint cgpoint inpoint windowrect inpoint windowrect theroot getrootcontrol thewindow theroot thecontrol hiviewgetsubviewhit theroot inpoint thecontrol thecontrol iscontrolen thecontrol getsupercontrol thecontrol thecontrol thecontrol thecontrol theroot getwidget thecontrol isen getsupercontrol thecontrol thecontrol thecontrol thecontrol getwidget theroot userdata mouseproc nexthandl theevent userdata eventnothandlederr noerr eventkind keventmousedrag keventmousemov initcursor eventnothandlederr int mous hover proc int id int handl current control null return 0 current control dispos optim os call int chord os current event button int modifi os current event kei modifi point pt current control control cursor locat current control send mous event swt mous hover short 0 chord short pt short pt modifi true return 0 mousehoverproc currentcontrol currentcontrol isdispos getcurrenteventbuttonst getcurrenteventkeymodifi currentcontrol tocontrol getcursorloc currentcontrol sendmouseev mousehov read event oper system event queue dispatch appropri return code true code potenti code fals code caller sleep event event queue addit check system event queue method check inter thread messag creat code sync exec code code async exec code wait process handl return return code fals code caller sleep return method except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul sleep wake public boolean read dispatch check devic boolean event run timer event run enter exit event run popup event run grab int event int 1 int statu os receiv event 0 null os event durat wait true event statu os err event true int event class os event class event 0 int event kind os event kind event 0 os send event event target event 0 os event dispatch target os releas event event 0 featur macintosh indetermin progress bar run flood event queue messag order show anim mean async messag run messag oper system fix run async messag wake messag note correct behavior oper system messag suppos prioriti async messag event class wake class event kind wake kind run async messag event run defer event return true return run async messag syncexec asyncexec swtexcept error_thread_invalid_access error_devic_dispos readanddispatch checkdevic runtim runenterexit runpopup rungrab outev receivenextev keventdurationnowait outev noerr eventclass geteventclass outev eventkind geteventkind outev sendeventtoeventtarget outev geteventdispatchertarget releaseev outev eventclass wake_class eventkind wake_kind runasyncmessag rundeferredev runasyncmessag static synchron void regist displai displai int 0 displai length displai null displai displai return displai displai displai displai length 4 system arraycopi displai 0 displai 0 displai length displai displai length displai displai displai newdisplai newdisplai newdisplai newdisplai releas intern resourc oper system clear field devic handl dispos shell open displai method invok relat relat shell answer code true code messag code dispos code p devic destroi resourc acquir behalf programm need return oper system devic alloc font system font font freed code releas code assist garbag collector minim amount memori reclaim programm keep refer dispos devic field handl handl need code destroi code method call code destroi code dispos destroi protect void releas send event swt dispos event shell shell shell int 0 shell length shell shell shell shell dispos shell dispos trai null trai dispos trai null read dispatch dispos list null int 0 dispos list length dispos list null dispos list run dispos list null synchron releas synchron synchron null releas displai super releas isdispos sendev getshel isdispos readanddispatch disposelist disposelist disposelist disposelist disposelist releasesynchron releasedisplai void releas displai action callback dispos appl event callback dispos caret callback dispos command callback dispos control callback dispos draw item callback dispos item compar callback dispos item data callback dispos item notif callback dispos help callback dispos hit test callback dispos keyboard callback dispos menu callback dispos mous hover callback dispos mous callback dispos track callback dispos window callback dispos color callback dispos text input callback dispos action callback appl event callback caret callback command callback null control callback draw item callback item data callback item notif callback null help callback hit test callback keyboard callback menu callback item compar callback null mous hover callback mous callback track callback window callback color callback null text input callback null action proc appl event proc caret proc command proc 0 control proc draw item proc item data proc item notif proc item compar proc 0 help proc hit test proc keyboard proc menu proc 0 mous hover proc mous proc track proc window proc color proc 0 text input proc 0 timer callback dispos timer callback null timer proc 0 grab control help control current control null help string 0 os cf releas help string help string 0 releas system imag error imag 0 os cg imag releas error imag info imag 0 os cg imag releas info imag warn imag 0 os cg imag releas warn imag error imag data 0 os dispos ptr error imag data info imag data 0 os dispos ptr info imag data warn imag data 0 os dispos ptr warn imag data error imag info imag warn imag 0 error imag data info imag data warn imag data 0 releas system cursor int 0 cursor length cursor null cursor dispos cursor null call termin txn displai note displai creat dispos need synchron platform txn termin textens releasedisplai actioncallback appleeventcallback caretcallback commandcallback controlcallback drawitemcallback itemcomparecallback itemdatacallback itemnotificationcallback helpcallback hittestcallback keyboardcallback menucallback mousehovercallback mousecallback trackingcallback windowcallback colorcallback textinputcallback actioncallback appleeventcallback caretcallback commandcallback controlcallback drawitemcallback itemdatacallback itemnotificationcallback helpcallback hittestcallback keyboardcallback menucallback itemcomparecallback mousehovercallback mousecallback trackingcallback windowcallback colorcallback textinputcallback actionproc appleeventproc caretproc commandproc controlproc drawitemproc itemdataproc itemnotificationproc itemcompareproc helpproc hittestproc keyboardproc menuproc mousehoverproc mouseproc trackingproc windowproc colorproc textinputproc timercallback timercallback timerproc grabcontrol helpcontrol currentcontrol helpstr cfreleas helpstr helpstr errorimag cgimagereleas errorimag infoimag cgimagereleas infoimag warningimag cgimagereleas warningimag errorimagedata disposeptr errorimagedata infoimagedata disposeptr infoimagedata warningimagedata disposeptr warningimagedata errorimag infoimag warningimag errorimagedata infoimagedata warningimagedata txnterminatetextens remov listen collect listen notif event type occur displai param event type type event listen param listen listen longer notifi event occur except illeg argument except ul li error null argument listen null li ul except swt except ul li error thread invalid access call thread creat receiv li ul listen add filter add listen 3 0 public void remov filter int event type listen listen check devic listen null error swt error null argument filter tabl null return filter tabl unhook event type listen filter tabl size 0 filter tabl null eventtyp illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access addfilt addlisten removefilt eventtyp checkdevic error_null_argument filtert filtert eventtyp filtert filtert remov listen collect listen notif event type occur param event type type event listen param listen listen longer notifi event occur except illeg argument except ul li error null argument listen null li ul except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul listen add listen 2 0 public void remov listen int event type listen listen check devic listen null error swt error null argument event tabl null return event tabl unhook event type listen eventtyp illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_devic_dispos addlisten removelisten eventtyp checkdevic error_null_argument eventt eventt eventtyp void remov menu menu menu menu null return menu menu id id start null removemenu id_start void remov popup menu menu popup null return int 0 popup length popup menu popup null return removepopup widget remov widget int handl handl 0 return null widget widget null properti 0 0 os control properti handl swt0 swt0 4 null properti int index properti 0 1 0 index index widget tabl length widget widget tabl index widget tabl index null index tabl index free slot free slot index os remov control properti handl swt0 swt0 return widget removewidget getcontrolproperti widgett widgett widgett indext freeslot freeslot removecontrolproperti boolean run async messag return synchron run async messag runasyncmessag runasyncmessag boolean run enter exit optim garbag widget hit test mous move boolean event fals control control null int control int 1 org eclips swt intern carbon point org eclips swt intern carbon point os global mous int window int 1 os find window window os content window 0 0 rect rect rect os window bound window 0 short os window content rgn rect cg point point cg point point rect left point rect top int root int 1 os root control window 0 root os hi view subview hit root 0 point true control control 0 0 os control enabl control 0 os super control control 0 control control 0 0 widget widget widget control 0 widget null widget trim handl control 0 break widget instanceof control control cursor control control widget cursor control enabl cursor control enabl modal control cursor control break os super control control 0 control control 0 0 control null control 0 root 0 widget widget widget control 0 widget null widget instanceof control control control widget control 0 control handl control current control current control null current control dispos event true int chord os current event button int modifi os current event kei modifi point pt current control control where current control send mous event swt mous exit short 0 chord short pt short pt modifi true mous hoverid 0 os remov event loop timer mous hoverid mous hoverid 0 widget dispos point control null control dispos control null current control control null event true int chord os current event button int modifi os current event kei modifi point pt current control control where current control send mous event swt mous enter short 0 chord short pt short pt modifi true mous hoverid 0 os remov event loop timer mous hoverid int id int 1 delai int 1 os hm tag delai delai int event loop os current event loop os instal event loop timer event loop delai 0 1000 0 0 0 mous hover proc 0 id mous hoverid id 0 control null mous hoverid 0 int delai int 1 os hm tag delai delai os set event loop timer fire mous hoverid delai 0 1000 0 os window 0 0 control 0 0 rect rect rect os window bound window 0 short os window content rgn rect rect left rect top int modifi os current event kei modifi boolean cursor set boolean 1 os handl control set cursor control 0 short modifi cursor set cursor set 0 os set theme cursor os theme arrow cursor return event runenterexit events thecontrol getglobalmous thewindow findwindow thewindow incont thewindow getwindowbound thewindow kwindowcontentrgn cgpoint inpoint cgpoint inpoint inpoint theroot getrootcontrol thewindow theroot hiviewgetsubviewhit theroot inpoint thecontrol thecontrol iscontrolen thecontrol getsupercontrol thecontrol thecontrol thecontrol getwidget thecontrol istrimhandl thecontrol cursorcontrol cursorcontrol isen cursorcontrol isenabledmod cursorcontrol getsupercontrol thecontrol thecontrol thecontrol thecontrol theroot getwidget thecontrol thecontrol currentcontrol currentcontrol currentcontrol isdispos events getcurrenteventbuttonst getcurrenteventkeymodifi currentcontrol tocontrol currentcontrol sendmouseev mouseexit mousehoverid removeeventlooptim mousehoverid mousehoverid isdispos currentcontrol events getcurrenteventbuttonst getcurrenteventkeymodifi currentcontrol tocontrol currentcontrol sendmouseev mouseent mousehoverid removeeventlooptim mousehoverid outdelai hmgettagdelai outdelai eventloop getcurrenteventloop installeventlooptim eventloop outdelai mousehoverproc mousehoverid mousehoverid outdelai hmgettagdelai outdelai seteventlooptimernextfiretim mousehoverid outdelai stilldown thewindow thecontrol getwindowbound thewindow kwindowcontentrgn getcurrenteventkeymodifi cursorwasset handlecontrolsetcursor thecontrol cursorwasset cursorwasset setthemecursor kthemearrowcursor events boolean run defer event run defer event code call displai thread re enter need synchron event queue null event queue event event event queue 0 event null break int length event queue length system arraycopi event queue 1 event queue 0 length event queue length null run event widget widget event widget widget null widget dispos widget item event item item null item dispos widget notifi listen event type event point event queue null due recurs invok run event clear queue event queue null return true rundeferredev eventqueu eventqueu eventqueu eventqueu eventqueu eventqueu isdispos isdispos notifylisten eventqueu boolean run event loop timer allow timer fals boolean result os receiv event 0 null os event durat wait fals null os err allow timer true return result runeventlooptim allowtim receivenextev keventdurationnowait noerr allowtim boolean run grab grab control null grab return fals rect rect rect int modifi int 1 short result short 1 org eclips swt intern carbon point pt org eclips swt intern carbon point grab true mous control null try grab control null grab control dispos result 0 os mous track mous temporari code grab control shell updat true modifi os current event kei modifi int os current event button int handl grab control handl int window os control owner handl int port os window port window os track mous locat option port os track mous locat option dont consum mous 50 1000 0 pt modifi result int type 0 button 0 switch int result 0 case os mous track time run async messag break case os mous track mous type swt mous int os current event button state 0x1 0 0x1 0 button 1 0x2 0 0x2 0 button 2 0x4 0 0x4 0 button 3 break case os mous track mous type swt mous int os current event button state 0x1 0 0x1 0 button 1 0x2 0 0x2 0 button 2 0x4 0 0x4 0 button 3 break case os mous track mous exit type swt mous exit break case os mous track mous enter type swt mous enter break case os mous track mous drag type swt mous move drag detect grab control break case os mous track mous kei modifi chang break case os mous track user cancel break case os mous track mous move type swt mous move break boolean event type 0 event run enter exit type 0 os control bound handl rect int pt rect left int pt rect top int chord os current event button grab control null grab control dispos type swt mous mous control grab control grab control send mous event type short button chord short short modifi 0 true event run defer event final grab fals grab control null return true rungrab grabcontrol outmodifi outresult outpt mouseupcontrol grabcontrol grabcontrol isdispos outresult kmousetrackingmouseup grabcontrol getshel lastmodifi getcurrenteventkeymodifi oldstat getcurrenteventbuttonst grabcontrol getcontrolown getwindowport trackmouselocationwithopt ktrackmouselocationoptiondontconsumemouseup outpt outmodifi outresult outresult kmousetrackingtimedout runasyncmessag kmousetrackingmousedown mousedown newstat getcurrenteventbuttonst oldstat newstat oldstat newstat oldstat newstat kmousetrackingmouseup mouseup newstat getcurrenteventbuttonst oldstat newstat oldstat newstat oldstat newstat kmousetrackingmouseexit mouseexit kmousetrackingmouseent mouseent kmousetrackingmousedrag mousemov dragdetect grabcontrol kmousetrackingmousekeymodifierschang kmousetrackingusercancel kmousetrackingmousemov mousemov runenterexit getcontrolbound outpt outpt getcurrenteventbuttonst grabcontrol grabcontrol isdispos mouseup mouseupcontrol grabcontrol grabcontrol sendmouseev outmodifi rundeferredev grabcontrol boolean run popup popup null return fals grab control null boolean result fals popup null menu menu popup 0 menu null break int length popup length system arraycopi popup 1 popup 0 length popup length null clear menu flag run defer event menu setvis true clear menu flag result true popup null return result runpopup grabcontrol clearmenuflag rundeferredev _setvis clearmenuflag boolean run timer timer list null return fals boolean result fals int 0 timer list length timer id 1 runnabl runnabl timer list timer list null timer id 0 runnabl null result true runnabl run return result runtim timerlist timerlist timerid timerlist timerlist timerid void send event int event type event event event tabl null filter tabl null return event null event event event displai event type event type event 0 event event filter event event event tabl null event tabl send event event sendev eventtyp eventt filtert eventtyp getlasteventtim filterev eventt eventt sendev platform support set applic argument motif set resourc lookup param app public static void set app string setappnam void set current caret caret caret caretid 0 os remov event loop timer caretid caretid 0 current caret caret current caret null int blink rate current caret blink rate int timer id int 1 doubl blink rate 1000 0 int event loop os current event loop os instal event loop timer event loop time caret proc 0 timer id caretid timer id 0 setcurrentcaret removeeventlooptim currentcaret currentcaret blinkrat currentcaret blinkrat timerid blinkrat eventloop getcurrenteventloop installeventlooptim eventloop caretproc timerid timerid void set cursor int cursor switch cursor case os theme point hand cursor case os theme arrow cursor case os theme spin cursor case os theme cross cursor case os theme watch cursor case os themei beam cursor case os theme allow cursor case os theme resiz left cursor case os theme resiz left cursor case os theme resiz cursor os set theme cursor cursor break default os set cursor cursor setcursor kthemepointinghandcursor kthemearrowcursor kthemespinningcursor kthemecrosscursor kthemewatchcursor kthemeibeamcursor kthemenotallowedcursor kthemeresizeleftrightcursor kthemeresizeleftcursor kthemeresizerightcursor setthemecursor setcursor set locat screen pointer rel top left corner screen note typic consid bad practic program move screen pointer locat param x coordin cursor param y coordin cursor except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul 2 1 public void set cursor locat int int check devic cg point pt cg point pt x pt y os cg warp mous cursor posit pt swtexcept error_thread_invalid_access error_devic_dispos setcursorloc checkdevic cgpoint cgpoint cgwarpmousecursorposit set locat screen pointer rel top left corner screen note typic consid bad practic program move screen pointer locat param point posit except swt except ul li error thread invalid access call thread creat receiv li li error null argument point null li error devic dispos receiv dispos li ul 2 0 public void set cursor locat point point check devic point null error swt error null argument set cursor locat point point swtexcept error_thread_invalid_access error_null_argument error_devic_dispos setcursorloc checkdevic error_null_argument setcursorloc set applic defin properti receiv argument applic arbitrari object receiv fashion object store properti need notifi displai dispos applic respons provid code dispos exec code handler param kei the properti param valu properti except illeg argument except ul li error null argument kei null li ul except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul set data dispos exec public void set data string kei object check devic kei null error swt error null argument remov kei pair null kei null return int index 0 index kei length kei index equal kei index index kei length return kei length 1 kei null valu null string kei string kei length 1 object valu object valu length 1 system arraycopi kei 0 kei 0 index system arraycopi kei index 1 kei index kei length index system arraycopi valu 0 valu 0 index system arraycopi valu index 1 valu index valu length index kei kei valu valu return add kei pair kei null kei string kei valu object return int 0 kei length kei equal kei valu return string kei string kei length 1 object valu object valu length 1 system arraycopi kei 0 kei 0 kei length system arraycopi valu 0 valu 0 valu length kei kei length kei valu valu length kei kei valu valu disposeexec illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_devic_dispos setdata disposeexec setdata checkdevic error_null_argument newkei newvalu newkei newkei newkei newvalu newvalu newvalu newkei newvalu newkei newvalu newkei newvalu newkei newvalu newkei newvalu set applic defin displai specif data receiv argument em displai specif data em singl unnam field store displai applic put arbitrari object field object store displai specif data need notifi displai dispos applic respons provid code dispos exec code handler param data displai specif data except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul data dispos exec public void set data object data check devic data data disposeexec swtexcept error_thread_invalid_access error_devic_dispos getdata disposeexec setdata checkdevic set synchron displai argument null param synchron synchron displai null except illeg argument except ul li error null argument synchron null li ul except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul public void set synchron synchron synchron check devic synchron null error swt error null argument synchron null synchron run async messag synchron synchron illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_devic_dispos setsynchron checkdevic error_null_argument runasyncmessag void set menu bar menu menu featur macintosh set root menu accept null menu bar fix creat temporari empti menu set menu bar clear menu bar delet temporari menu menu menu bar return int menu 0 menu null int menu ref int 1 os creat menu short id temporari 0 menu ref menu menu ref 0 menu menu handl os set root menu menu menu null os clear menu bar os delet menu os menuid menu os dispos menu menu menu bar menu setmenubar setrootmenu menubar themenu outmenuref createnewmenu id_temporari outmenuref themenu outmenuref themenu setrootmenu themenu clearmenubar deletemenu getmenuid themenu disposemenu themenu menubar user interfac thread em sleep em put consum cpu cycl event receiv awaken return code true code event requir dispatch queue except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul wake public boolean sleep check devic messag count 0 return true allow timer fals boolean result os receiv event 0 null os event durat forev fals null os err allow timer true return result swtexcept error_thread_invalid_access error_devic_dispos checkdevic getmessagecount allowtim receivenextev keventdurationforev noerr allowtim code run code method runnabl invok user interfac thread reason opportun thread call method suspend runnabl complet param runnabl code run user interfac thread except swt except ul li error fail exec except occur execut runnabl li li error devic dispos receiv dispos li ul async exec public void sync exec runnabl runnabl dispos error swt error devic dispos synchron sync exec runnabl swtexcept error_fail_exec error_devic_dispos asyncexec syncexec isdispos error_devic_dispos syncexec int text input proc int handler int event int user data widget widget widget user data widget null int window os user focu window window 0 return os event handl err int control int 1 os keyboard focu window control widget widget control 0 widget null return widget text input proc handler event user data return os event handl err textinputproc nexthandl theevent userdata getwidget userdata thewindow getuserfocuswindow thewindow eventnothandlederr thecontrol getkeyboardfocu thewindow thecontrol getwidget thecontrol textinputproc nexthandl theevent userdata eventnothandlederr code run code method runnabl invok user interfac thread number millisecond elaps millisecond runnabl execut param millisecond delai run runnabl param runnabl code run user interfac thread except illeg argument except ul li error null argument runnabl null li ul except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul async exec public void timer exec int millisecond runnabl runnabl check devic runnabl null error swt error null argument timer list null timer list runnabl 4 timer id null timer id int 4 int index 0 index timer list length timer list index runnabl break index index timer list length int timer id timer id index millisecond 0 os remov event loop timer timer id timer list index null timer id index 0 os set event loop timer fire timer id millisecond 1000 0 return millisecond 0 return index 0 index timer list length timer list index null break index index timer list length runnabl timer list runnabl timer list length 4 system arraycopi timer list 0 timer list 0 timer list length timer list timer list int timer id int timer id length 4 system arraycopi timer id 0 timer id 0 timer id length timer id timer id int timer id int 1 int event loop os current event loop os instal event loop timer event loop millisecond 1000 0 0 0 timer proc index timer id timer id 0 0 timer id index timer id 0 timer list index runnabl illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_devic_dispos asyncexec timerexec checkdevic error_null_argument timerlist timerlist timerid timerid timerlist timerlist timerlist timerid timerid removeeventlooptim timerid timerlist timerid seteventlooptimernextfiretim timerid timerlist timerlist timerlist newtimerlist timerlist timerlist newtimerlist timerlist timerlist newtimerlist newtimerid timerid timerid newtimerid timerid timerid newtimerid timerid eventloop getcurrenteventloop installeventlooptim eventloop timerproc timerid timerid timerid timerid timerlist int timer proc int id int index timer list null return 0 0 index index timer list length allow timer runnabl runnabl timer list index timer list index null timer id index 0 runnabl null runnabl run timer id index 1 wake thread return 0 timerproc timerlist timerlist allowtim timerlist timerlist timerid timerid wakethread int track proc int browser int itemid int properti int rect int start pt int modifi widget widget widget browser widget null return widget track proc browser itemid properti rect start pt modifi return os err trackingproc therect startpt getwidget trackingproc therect startpt noerr forc outstand paint request displai process method return except swt except ul li error thread invalid access call thread creat receiv li li error devic dispos receiv dispos li ul control updat public void updat check devic shell shell shell int 0 shell length shell shell shell shell dispos shell updat true code intention comment int event int 1 int mask int os event class window os event window updat os receiv event mask length 2 mask os event durat wait true event os err bug macintosh reason hierarchi window dispos event window close despit fact dispos window call window dispos outstand event window updat event event queue dispatch event segment fault fix dispatch event visibl window int window int 1 os event paramet event 0 os event param direct object os type window ref null 4 null window os window visibl window 0 os send event event target event 0 os event dispatch target os releas event event 0 swtexcept error_thread_invalid_access error_devic_dispos checkdevic getshel isdispos outev keventclasswindow keventwindowupd receivenextev keventdurationnowait outev noerr keventwindowclos disposewindow keventwindowupd thewindow geteventparamet outev keventparamdirectobject typewindowref thewindow iswindowvis thewindow sendeventtoeventtarget outev geteventdispatchertarget releaseev outev void updat quit menu boolean enabl true shell shell shell int mask swt primari modal swt applic modal swt system modal int 0 shell length shell shell shell shell style mask 0 shell visibl enabl fals break enabl os enabl menu command 0 os khi command quit os disabl menu command 0 os khi command quit updatequitmenu getshel primari_modal applic_modal system_modal isvis enablemenucommand khicommandquit disablemenucommand khicommandquit receiv user interfac thread code sleep code ing awaken start run note method call thread except swt except ul li error devic dispos receiv dispos li ul sleep public void wake dispos error swt error devic dispos thread thread current thread return wake thread swtexcept error_devic_dispos isdispos error_devic_dispos currentthread wakethread void wake thread int wake event int 1 os creat event 0 wake class wake kind 0 0 os event attribut user event wake event os post event queue queue wake event 0 short os event prioriti standard wake event 0 0 os releas event wake event 0 wakethread wakeev createev wake_class wake_kind keventattributeuserev wakeev posteventtoqueu wakeev keventprioritystandard wakeev releaseev wakeev int window proc int handler int event int user data widget widget widget user data widget null int window int 1 os event paramet event os event param direct object os type window ref null 4 null window int root int 1 os root control window 0 root widget widget root 0 widget null return widget window proc handler event user data return os event handl err windowproc nexthandl theevent userdata getwidget userdata thewindow geteventparamet theevent keventparamdirectobject typewindowref thewindow theroot getrootcontrol thewindow theroot getwidget theroot windowproc nexthandl theevent userdata eventnothandlederr construct instanc class parent param parent shell parent instanc except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul public file dialog shell parent parent swt applic modal illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass filedialog applic_modal construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent shell parent instanc param style style dialog construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul public file dialog shell parent int style super parent style check subclass illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass filedialog checksubclass return path file select dialog rel filter path return rel path file public string file return file getfilenam filenam return path file select dialog rel filter path return rel path file public string file name return file name getfilenam filenam return file extens dialog filter file show return file extens filter public string filter extens return filter extens getfilterextens filterextens return file name dialog filter file show return file filter public string filter name return filter name getfilternam filternam return directori path dialog file name path dialog filter accord filter extens return directori path string set filter extens public string filter path return filter path setfilterextens getfilterpath filterpath make dialog visibl bring front displai return string describ absolut path select file null dialog cancel error occur except swt except ul li error widget dispos dialog dispos li li error thread invalid access call thread creat dialog li ul public string open string full path null file name string 0 int titl ptr 0 titl null char buffer char titl length titl char 0 buffer length buffer 0 titl ptr os cf string creat charact os kcf alloc default buffer buffer length int file ptr 0 file null char buffer char file length file char 0 buffer length buffer 0 file ptr os cf string creat charact os kcf alloc default buffer buffer length nav dialog creation option option nav dialog creation option option window titl option client titl ptr option parent window os control owner parent handl option option flag os nav support packag os nav allow invis file option locat 1 option locat 1 option save file file ptr int dialog int 1 style swt save 0 need filter extens start filter path allow user select exist file os nav creat put file dialog option 0 0 0 0 dialog style swt multi 0 option option flag os nav allow multipl file need filter extens start filter path select file exist os nav creat file dialog option 0 0 0 0 0 dialog dialog 0 0 os nav dialog run dialog 0 int action os nav dialog user action dialog 0 switch action case os nav user action open case os nav user action choos case os nav user action save nav repli record record nav repli record os nav dialog repli dialog 0 record ae desc select ae desc select descriptor type record select descriptortyp select data handl record select datahandl int count int 1 os ae count item select count count 0 0 file name string count 0 int maximum size 80 size fs ref int data ptr os ptr maximum size int ae keyword int 1 int type code int 1 int actual size int 1 int path string 0 int full string 0 int file string 0 style swt save 0 os ae nth ptr select 1 os typef ref ae keyword type code data ptr maximum size actual size os err byte fs ref byte actual size 0 os memcpi fs ref data ptr actual size 0 int path url os cfurl creat fromf ref os kcf alloc default fs ref int full url os cfurl creat copi append path compon os kcf alloc default path url record save file fals path string os cfurl copi file system path path url os kcfurlposix path style full string os cfurl copi file system path full url os kcfurlposix path style file string record save file os cf releas path url os cf releas full url int 0 count 0 os ae nth ptr select 1 os typef ref ae keyword type code data ptr maximum size actual size os err byte fs ref byte actual size 0 os memcpi fs ref data ptr actual size 0 int url os cfurl creat fromf ref os kcf alloc default fs ref 0 int path url os cfurl creat copi delet path compon os kcf alloc default url path string os cfurl copi file system path path url os kcfurlposix path style full string os cfurl copi file system path url os kcfurlposix path style file string os cfurl copi path compon url os cf releas path url int string os cfurl copi path compon url int length os cf string length string char buffer char length cf rang rang cf rang rang length length os cf string charact string rang buffer file name string buffer os cf releas string os cf releas url os dispos ptr data ptr path string 0 int length os cf string length path string char buffer char length cf rang rang cf rang rang length length os cf string charact path string rang buffer os cf releas path string filter path string buffer full string 0 int length os cf string length full string char buffer char length cf rang rang cf rang rang length length os cf string charact full string rang buffer os cf releas full string full path string buffer file string 0 int length os cf string length file string char buffer char length cf rang rang cf rang rang length length os cf string charact file string rang buffer os cf releas file string file file name 0 string buffer titl ptr 0 os cf releas titl ptr file ptr 0 os cf releas file ptr dialog 0 0 os nav dialog dispos dialog 0 return full path swtexcept error_widget_dispos error_thread_invalid_access fullpath filenam titleptr getchar titleptr cfstringcreatewithcharact kcfallocatordefault filenameptr filenam filenam filenam getchar filenameptr cfstringcreatewithcharact kcfallocatordefault navdialogcreationopt navdialogcreationopt windowtitl clientnam titleptr parentwindow getcontrolown optionflag knavsupportpackag knavallowinvisiblefil locat_h locat_v savefilenam filenameptr outdialog navcreateputfiledialog outdialog optionflag knavallowmultiplefil navcreategetfiledialog outdialog outdialog navdialogrun outdialog navdialoggetuseract outdialog knavuseractionopen knavuseractionchoos knavuseractionsavea navreplyrecord navreplyrecord navdialoggetrepli outdialog aedesc aedesc descriptortyp select_descriptortyp datahandl select_datahandl aecountitem filenam maximums fsref dataptr newptr maximums aekeyword typecod actuals pathstr fullstr filestr aegetnthptr typefsref aekeyword typecod dataptr maximums actuals noerr fsref actuals fsref dataptr actuals pathurl cfurlcreatefromfsref kcfallocatordefault fsref fullurl cfurlcreatecopyappendingpathcompon kcfallocatordefault pathurl savefilenam pathstr cfurlcopyfilesystempath pathurl kcfurlposixpathstyl fullstr cfurlcopyfilesystempath fullurl kcfurlposixpathstyl filestr savefilenam cfreleas pathurl cfreleas fullurl aegetnthptr typefsref aekeyword typecod dataptr maximums actuals noerr fsref actuals fsref dataptr actuals cfurlcreatefromfsref kcfallocatordefault fsref pathurl cfurlcreatecopydeletinglastpathcompon kcfallocatordefault pathstr cfurlcopyfilesystempath pathurl kcfurlposixpathstyl fullstr cfurlcopyfilesystempath kcfurlposixpathstyl filestr cfurlcopylastpathcompon cfreleas pathurl laststr cfurlcopylastpathcompon cfstringgetlength laststr cfrang cfrang cfstringgetcharact laststr filenam cfreleas laststr cfreleas disposeptr dataptr pathstr cfstringgetlength pathstr cfrang cfrang cfstringgetcharact pathstr cfreleas pathstr filterpath fullstr cfstringgetlength fullstr cfrang cfrang cfstringgetcharact fullstr cfreleas fullstr fullpath filestr cfstringgetlength filestr cfrang cfrang cfstringgetcharact filestr cfreleas filestr filenam filenam titleptr cfreleas titleptr filenameptr cfreleas filenameptr outdialog navdialogdispos outdialog fullpath set initi filenam dialog select default open argument null prefix filter path suppli param string file public void set file string string file string setfilenam filenam set file extens dialog filter file show argument null param extens file extens filter public void set filter extens string extens filter extens extens setfilterextens filterextens set file name dialog filter file show argument null param name file filter public void set filter name string name filter name name setfilternam filternam set directori path dialog argument null file name path dialog filter accord filter extens param string directori path set filter extens public void set filter path string string filter path string setfilterextens setfilterpath filterpath construct instanc class parent param parent shell parent instanc except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul public font dialog shell parent parent swt applic modal illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass fontdialog applic_modal construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent shell parent instanc param style style dialog construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul public font dialog shell parent int style super parent style check subclass illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass fontdialog checksubclass return font data object describ font select dialog null return font data select font null deprec font list public font data font data return font data fontdata fontdata getfontlist fontdata getfontdata fontdata return font data set describ font select dialog null return font data select font null 2 1 1 public font data font list font data null return null font data result font data 1 result 0 font data return result fontdata fontdata fontdata getfontlist fontdata fontdata fontdata fontdata return select color receiv return rgb select color null palett data getrg bs 2 1 public rgb getrgb return rgb palettedata getrgb int font proc int handler int event int user data int kind os event kind event switch kind case os event font panel close open fals break case os event font select font data null font data font data int fontid int 1 os event paramet event os event paramatsu fontid os typeu int32 null 4 null fontid os err int actual length int 1 os atsu find font fontid 0 os font famili os font platform code os font script code os font languag code 0 null actual length null byte buffer byte actual length 0 os atsu find font fontid 0 os font famili os font platform code os font script code os font languag code buffer length buffer actual length null string string buffer font data set name short font style short 1 os event paramet event os event paramfm font style os type int16 null 2 null font style os err int style swt normal font style 0 os bold 0 style swt bold font style 0 os ital 0 style swt ital font data set style style short font size short 1 os event paramet event os event paramfm font size os type int16 null 2 null font size os err font data set height font size 0 need color support nativ dialog carbon rgb color color rgb color int actual size int 1 os event paramet event os event param font color os typergb color null rgb color sizeof actual size color os err int red color red 8 0xff int green color green 8 0xff int blue color blue 8 0xff rgb rgb red green blue break return os err fontproc nexthandl theevent userdata geteventkind theevent keventfontpanelclos keventfontselect fontdata fontdata fontdata geteventparamet theevent keventparamatsufontid typeuint32 noerr actuallength atsufindfontnam kfontfamilynam kfontnoplatformcod kfontnoscriptcod kfontnolanguagecod actuallength actuallength atsufindfontnam kfontfamilynam kfontnoplatformcod kfontnoscriptcod kfontnolanguagecod actuallength fontdata setnam fontstyl geteventparamet theevent keventparamfmfontstyl typesint16 fontstyl noerr fontstyl fontstyl fontdata setstyl fontsiz geteventparamet theevent keventparamfmfonts typesint16 fontsiz noerr fontdata setheight fontsiz rgbcolor rgbcolor actuals geteventparamet theevent keventparamfontcolor typergbcolor rgbcolor actuals noerr noerr make dialog visibl bring front displai return font data object describ font select null dialog cancel error occur except swt except ul li error widget dispos dialog dispos li li error thread invalid access call thread creat dialog li ul public font data open font selectionqd style qd style font selectionqd style qd style version os font selectionqd style version need color support nativ dialog carbon rgb null qd style color true qd style color red short rgb red 257 qd style color green short rgb green 257 qd style color blue short rgb blue 257 font data null string famili font data byte buffer byte 256 int length famili length length 255 length 255 buffer 0 byte length int 0 length buffer 1 byte famili char int id os fm font famili buffer id os invalid font famili id os app font qd style instanc fontfamili short id int style font data style int font style os normal style swt bold 0 font style os bold style swt ital 0 font style os ital qd style instanc fontstyl short font style qd style size short font data height int ptr os ptr font selectionqd style sizeof os memcpi ptr qd style font selectionqd style sizeof os set font info select os font selectionqd type 1 ptr 0 os dispos ptr ptr int mask int os event class font os event font select os event class font os event font panel close callback font panel callback callback font proc 3 int app target os applic event target int ref int 1 os instal event handler app target font panel callback address mask length 2 mask 0 ref font data null rgb null open true os fp show hide font panel displai displai parent displai parent dispos open displai read dispatch displai sleep os remov event handler ref 0 font panel callback dispos return font data fontdata swtexcept error_widget_dispos error_thread_invalid_access fontdata fontselectionqdstyl qdstyle fontselectionqdstyl qdstyle kfontselectionqdstyleversionzero qdstyle hascolor qdstyle color_red qdstyle color_green qdstyle color_blue fontdata familynam fontdata familynam familynam charat fmgetfontfamilyfromnam kinvalidfontfamili getappfont qdstyle instanc_fontfamili fontdata fontstyl fontstyl fontstyl qdstyle instanc_fontstyl fontstyl qdstyle fontdata newptr fontselectionqdstyl qdstyle fontselectionqdstyl setfontinfoforselect kfontselectionqdtyp disposeptr keventclassfont keventfontselect keventclassfont keventfontpanelclos fontpanelcallback fontproc apptarget getapplicationeventtarget outref installeventhandl apptarget fontpanelcallback getaddress outref fontdata fpshowhidefontpanel isdispos readanddispatch removeeventhandl outref fontpanelcallback fontdata set font data object describ font select default dialog null let platform choos param font data font data initi null deprec set font list font data public void set font data font data font data font data font data fontdata fontdata fontdata setfontlist fontdata setfontdata fontdata fontdata fontdata fontdata set set font data object describ font select default dialog null let platform choos param font data set font data object initi null 2 1 1 public void set font list font data font data font data null font data length 0 font data font data 0 font data null fontdata fontdata fontdata setfontlist fontdata fontdata fontdata fontdata fontdata fontdata fontdata set receiv select color argument param rgb rgb select color null let platform select default open call palett data getrg bs 2 1 public void setrgb rgb rgb rgb rgb palettedata getrgb construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt shadow etch swt shadow etch swt shadow swt shadow swt shadow widget check subclass widget style public group composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass shadow_etch_in shadow_etch_out shadow_in shadow_out shadow_none checksubclass getstyl checkstyl static int check style int style style swt focu legal creat widget scroll bar serv purpos automat scroll widget client area fix clear swt style return style swt scroll swt scroll checkstyl no_focu h_scroll v_scroll protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass public rectangl comput trim int int int width int height check widget rect bound bound rect os control bound handl bound boolean fix bound bound bound left 100 bound bottom bound top 100 fix bound bound rect bound bound bottom 100 os set control bound handl bound bound bound int rgn handl os rgn os control region handl short os control content meta part rgn handl rect client rect os region bound rgn handl client os dispos rgn rgn handl fix bound os set control bound handl bound client left bound left client top bound top width math max 8 bound bound left client client left height math max text length 0 8 22 bound bottom bound top client bottom client top return rectangl width height computetrim checkwidget oldbound getcontrolbound oldbound fixbound oldbound oldbound oldbound oldbound fixbound setcontrolbound oldbound rgnhandl newrgn getcontrolregion kcontrolcontentmetapart rgnhandl getregionbound rgnhandl disposergn rgnhandl fixbound setcontrolbound oldbound void creat handl int control int 1 int window os control owner parent handl os creat group box control window null 0 true control control 0 0 error swt error handl handl control 0 createhandl outcontrol getcontrolown creategroupboxcontrol outcontrol outcontrol error_no_handl outcontrol void draw background int control draw background control background drawbackground drawbackground public rectangl client area check widget rect bound rect os control bound handl bound int rgn handl os rgn os control region handl short os control content meta part rgn handl rect client rect os region bound rgn handl client os dispos rgn rgn handl int math max 0 client left bound left int text length 0 math max 0 client top bound top int width math max 0 client client left int height math max 0 text length 0 bound bottom bound top 2 client bottom client top return rectangl width height getclientarea checkwidget getcontrolbound rgnhandl newrgn getcontrolregion kcontrolcontentmetapart rgnhandl getregionbound rgnhandl disposergn rgnhandl return receiv text string em titl em text previous set return empti string return text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string text check widget return text swtexcept error_widget_dispos error_thread_invalid_access gettext checkwidget set receiv text string displai receiv em titl em argument null string includ mnemon charact mnemon amp charact mnemon user press kei sequenc match mnemon focu assgn child group platform mnemon appear underlin emphasis platform specif manner mnemon indic charact amp escap doubl string caus singl amp displai param string text except illeg argument except ul li error null argument text null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string string check widget string null error swt error null argument text string char buffer char text length text char 0 buffer length buffer 0 int length fix mnemon buffer int ptr os cf string creat charact os kcf alloc default buffer length ptr 0 error swt error set text os set control titl withcf string handl ptr os cf releas ptr illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget error_null_argument getchar fixmnemon cfstringcreatewithcharact kcfallocatordefault error_cannot_set_text setcontroltitlewithcfstr cfreleas construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt separ swt horizont swt vertic swt shadow swt shadow swt shadow swt center swt left swt swt wrap widget check subclass widget style public label composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass shadow_in shadow_out shadow_none checksubclass getstyl checkstyl static int check style int style style swt focu style swt separ 0 style check bit style swt vertic swt horizont 0 0 0 0 return check bit style swt shadow swt shadow swt shadow 0 0 0 return check bit style swt left swt center swt 0 0 0 checkstyl no_focu checkbit checkbit shadow_out shadow_in shadow_none checkbit public point comput size int hint int hint boolean chang check widget int width 0 height 0 style swt separ 0 style swt horizont 0 width default width height 3 width 3 height default height imag imag null rectangl imag bound width width height height int length text length length 0 int ptr int 1 os control data handl short 0 os control static textcf string tag 4 ptr null ptr 0 0 org eclips swt intern carbon point io bound org eclips swt intern carbon point style swt wrap 0 hint swt default io bound short hint font null os theme text dimens ptr 0 short default theme font os theme activ io bound 0 io bound null int current port int 1 os port current port os set port window port os control owner handl os text font font id os text face font style os text size font size os theme text dimens ptr 0 short os theme current port font os theme activ io bound 0 io bound null os set port current port 0 width io bound height io bound os cf releas ptr 0 font font font font info info font info os fetch font info font id font size font style info int font height info ascent info descent height font height hint swt default width hint hint swt default height hint return point width height computes whint hhint checkwidget default_width default_height isimag getbound getcontroldata kcontrolstatictextcfstringtag iobound whint iobound whint getthemetextdimens defaultthemefont kthemestateact iobound iobound currentport getport currentport setportwindowport getcontrolown textfont textfac textsiz getthemetextdimens kthemecurrentportfont kthemestateact iobound iobound setport currentport iobound iobound cfreleas getfont fontinfo fontinfo fetchfontinfo fontheight fontheight whint whint hhint hhint void creat handl grab int control int 1 int window os control owner parent handl style swt separ 0 os creat separ control window null control int os te flush left style swt center 0 os te center style swt 0 os te flush control font style rec font style control font style rec font style flag os control mask font style short os creat static text control window null 0 font style control control 0 0 error swt error handl handl control 0 createhandl outcontrol getcontrolown createseparatorcontrol outcontrol teflushleft tecent teflushright controlfontstylerec fontstyl controlfontstylerec fontstyl kcontrolusejustmask fontstyl createstatictextcontrol fontstyl outcontrol outcontrol error_no_handl outcontrol int default theme font displai small font return os theme small system font return os theme push button font defaultthemefont smallfont kthemesmallsystemfont kthemepushbuttonfont void draw background int control style swt separ 0 draw background control background drawbackground drawbackground void draw widget int control int damag rgn int visibl rgn int event imag imag null gc data data gc data data paint event event data visibl rgn visibl rgn gc gc gc carbon data int 0 point size size rectangl bound imag bound style swt center 0 size bound width 2 style swt 0 size bound width gc draw imag imag 0 gc dispos super draw widget control damag rgn visibl rgn event drawwidget damagergn visiblergn theevent isimag gcdata gcdata paintev theevent visiblergn visiblergn carbon_new getsiz getbound drawimag drawwidget damagergn visiblergn theevent return describ posit text imag receiv code left code code code code center code receiv code separ code label case code code return return align except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int align check widget style swt separ 0 return swt left style swt center 0 return swt center style swt 0 return swt return swt left swtexcept error_widget_dispos error_thread_invalid_access getalign checkwidget public int border width check widget return style swt border 0 1 0 getborderwidth checkwidget return receiv imag null return receiv imag except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public imag imag check widget return imag swtexcept error_widget_dispos error_thread_invalid_access getimag checkwidget string text return text getnametext gettext return receiv text empti string set receiv code separ code label return receiv text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string text check widget style swt separ 0 return return text swtexcept error_widget_dispos error_thread_invalid_access gettext checkwidget control text imag displai receiv argument code left code code code code center code receiv code separ code label argument align chang param align align except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set align int align check widget style swt separ 0 return align swt left swt swt center 0 return style swt left swt swt center style align swt left swt swt center int os te flush left align swt center 0 os te center align swt 0 os te flush control font style rec font style control font style rec os control data handl short os control entir control os control font style tag control font style rec sizeof font style null font style flag os control mask font style short os set control font style handl font style redraw swtexcept error_widget_dispos error_thread_invalid_access setalign checkwidget teflushleft tecent teflushright controlfontstylerec fontstyl controlfontstylerec getcontroldata kcontrolentirecontrol kcontrolfontstyletag controlfontstylerec fontstyl fontstyl kcontrolusejustmask fontstyl setcontrolfontstyl fontstyl set receiv imag argument null indic imag displai param imag imag displai receiv null except illeg argument except ul li error invalid argument imag dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set imag imag imag check widget style swt separ 0 return imag null imag dispos error swt error invalid argument imag imag imag true imag null set text text return text length 0 int ptr os cf string creat charact os kcf alloc default null 0 ptr 0 error swt error set text os set control data handl 0 os control static textcf string tag 4 int ptr os cf releas ptr redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setimag checkwidget isdispos error_invalid_argument isimag settext cfstringcreatewithcharact kcfallocatordefault error_cannot_set_text setcontroldata kcontrolstatictextcfstringtag cfreleas set receiv text method set widget label label includ mnemon charact line delimit p mnemon amp charact mnemon user press kei sequenc match mnemon focu assign control follow label platform mnemon appear underlin emphasis platform specif manner mnemon indic charact amp escap doubl string caus singl amp displai param string text except illeg argument except ul li error null argument text null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string string check widget string null error swt error null argument style swt separ 0 return imag fals text string char buffer char text length text char 0 buffer length buffer 0 int length fix mnemon buffer int ptr os cf string creat charact os kcf alloc default buffer length ptr 0 error swt error set text os set control data handl 0 os control static textcf string tag 4 int ptr os cf releas ptr redraw illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget error_null_argument isimag getchar fixmnemon cfstringcreatewithcharact kcfallocatordefault error_cannot_set_text setcontroldata kcontrolstatictextcfstringtag cfreleas construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt singl swt multi widget check subclass widget style public list composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl checkstyl add argument end receiv list param string item except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item ad oper fail oper system failur li ul add string int public void add string string check widget string null error swt error null argument int id int item count 1 os add data browser item handl os data browser item 1 id os data browser item properti os err error swt error item ad item count item length string item string item count 4 system arraycopi item 0 item 0 item length item item item item count string illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_ad checkwidget error_null_argument itemcount adddatabrowseritem kdatabrowsernoitem kdatabrowseritemnoproperti noerr error_item_not_ad itemcount newitem itemcount newitem newitem itemcount add argument receiv list rel index note add item end list result call code item count code index code add string code param string item param index index item except illeg argument except ul li error null argument string null li li error invalid rang index 0 number element list inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item ad oper fail oper system failur li ul add string public void add string string int index check widget string null error swt error null argument 0 index index item count error swt error invalid rang int id int item count 1 os add data browser item handl os data browser item 1 id os data browser item properti os err error swt error item ad item count item length string item string item count 4 system arraycopi item 0 item 0 item length item item system arraycopi item index item index 1 item count index item index string os updat data browser item handl 0 0 null os data browser item properti os data browser item getitemcount illegalargumentexcept error_null_argument error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_ad checkwidget error_null_argument itemcount error_invalid_rang itemcount adddatabrowseritem kdatabrowsernoitem kdatabrowseritemnoproperti noerr error_item_not_ad itemcount newitem itemcount newitem newitem itemcount updatedatabrowseritem kdatabrowseritemnoproperti kdatabrowsernoitem add listen collect listen notifi receiv select send messag defin code select listen code interfac code widget select code call select code widget default select code typic call item doubl click param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten static int check style int style return check bit style swt singl swt multi 0 0 0 0 checkstyl checkbit public point comput size int hint int hint boolean chang check widget int width 0 hint swt default gc gc gc int 0 item count point extent gc string extent item width math max width extent gc dispos width extra width width hint width 0 width default width int height 0 hint swt default height item count item height height hint height 0 height default height rectangl rect comput trim 0 0 width height return point rect width rect height computes whint hhint checkwidget whint itemcount stringext extra_width whint default_width hhint itemcount getitemheight hhint default_height computetrim public rectangl comput trim int int int width int height check widget int border 0 int metric int 1 os theme metric os theme metric focu rect outset metric border metric 0 os theme metric os theme metric edit text frame outset metric border metric 0 rect rect rect os data browser scroll bar inset handl rect rect left border rect top border width rect left rect border border height rect top rect bottom border border return rectangl width height computetrim checkwidget outmetr getthememetr kthememetricfocusrectoutset outmetr outmetr getthememetr kthememetricedittextframeoutset outmetr outmetr getdatabrowserscrollbarinset void creat handl int control int 1 int window os control owner parent handl os creat data browser control window null os data browser list view control control 0 0 error swt error handl handl control 0 draw focu ring os set control data handl os control entir control os control data browser includ frame focu tag 1 byte 0 int select flag style swt singl 0 os data browser select os data browser empti select set os data browser cmd toggl select os set data browser select flag handl select flag os set data browser list view header btn height handl short 0 os set data browser scroll bar handl style swt scroll 0 style swt scroll 0 data browser list view column desc column data browser list view column desc column headerbtndesc version os data browser list view latest header desc column propertydesc propertyid column id column propertydesc propertytyp os data browser text type column propertydesc propertyflag os data browser list view select column os data browser default properti flag column headerbtndesc maximumwidth 0x7fff column headerbtndesc initialord short os data browser order increas os add data browser list view column handl column 0 featur macintosh scroll bar creat data browser need draw fix forc scroll bar creat temporarili give widget size draw offscreen buffer avoid flash restor size int size 50 rect rect rect rect rect bottom short size os set control bound handl rect int bpl size 4 int int 1 int data os ptr bpl size os newg ptr os k32argb pixel format rect 0 0 0 data bpl int cur port int 1 int curg int 1 os getg cur port curg os setg world 0 curg 0 os draw control current port handl os setg cur port 0 curg 0 os disposeg world 0 os dispos ptr data rect rect bottom short 0 os set control bound handl rect createhandl outcontrol getcontrolown createdatabrowsercontrol kdatabrowserlistview outcontrol outcontrol error_no_handl outcontrol drawfocusr setcontroldata kcontrolentirecontrol kcontroldatabrowserincludesframeandfocustag selectionflag kdatabrowserselectonlyon kdatabrowserneveremptyselectionset kdatabrowsercmdtogglesselect setdatabrowserselectionflag selectionflag setdatabrowserlistviewheaderbtnheight setdatabrowserhasscrollbar h_scroll v_scroll databrowserlistviewcolumndesc databrowserlistviewcolumndesc headerbtndesc_version kdatabrowserlistviewlatestheaderdesc propertydesc_propertyid column_id propertydesc_propertytyp kdatabrowsertexttyp propertydesc_propertyflag kdatabrowserlistviewselectioncolumn kdatabrowserdefaultpropertyflag headerbtndesc_maximumwidth headerbtndesc_initialord kdatabrowserorderincreas adddatabrowserlistviewcolumn setcontrolbound gworld newptr newgworldfromptr gworld k32argbpixelformat curport curgworld getgworld curport curgworld setgworld gworld curgworld drawcontrolincurrentport setgworld curport curgworld disposegworld gworld disposeptr setcontrolbound void creat widget super creat widget item string 4 createwidget createwidget scroll bar creat scroll bar int style return creat standard bar style scrollbar createscrollbar createstandardbar color default background return displai system color swt color list background defaultbackground getsystemcolor color_list_background color default foreground return displai system color swt color list foreground defaultforeground getsystemcolor color_list_foreground int default theme font displai small font return os theme small system font return os theme view font defaultthemefont smallfont kthemesmallsystemfont kthemeviewsfont deselect item rel index receiv item index deselect remain deselect indic rang param index index item deselect except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void deselect int index check widget 0 index index item count int id int index 1 deselect id id length swtexcept error_widget_dispos error_thread_invalid_access checkwidget itemcount deselect item rel indic receiv item rel index receiv select deselect item index select remain deselect rang indic inclus indic rang param start start index item deselect param end end index item deselect except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void deselect int start int end check widget start end return end 0 start item count return start math max 0 start end math min item count 1 end int length end start 1 length 0 return int id int length int 0 length id end 1 deselect id length swtexcept error_widget_dispos error_thread_invalid_access checkwidget itemcount itemcount deselect item rel indic receiv item rel index receiv select deselect item index select remain deselect indic rang duplic indic param indic arrai indic item deselect except illeg argument except ul li error null argument set indic null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void deselect int indic check widget indic null error swt error null argument rang check int length indic length int id int length int 0 length id indic length 1 1 deselect id length illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access checkwidget error_null_argument void deselect int id int count ignor select true int select flag null style swt singl 0 select flag int 1 os data browser select flag handl select flag os set data browser select flag handl select flag 0 os data browser empti select set os set data browser select item handl count id os data browser item remov style swt singl 0 os set data browser select flag handl select flag 0 ignor select fals ignoreselect selectionflag selectionflag getdatabrowserselectionflag selectionflag setdatabrowserselectionflag selectionflag kdatabrowserneveremptyselectionset setdatabrowserselecteditem kdatabrowseritemsremov setdatabrowserselectionflag selectionflag ignoreselect deselect select item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void deselect check widget deselect null 0 swtexcept error_widget_dispos error_thread_invalid_access deselectal checkwidget public rectangl client area check widget int border 0 int metric int 1 os theme metric os theme metric focu rect outset metric border metric 0 os theme metric os theme metric edit text frame outset metric border metric 0 rect rect rect inset rect os control bound handl rect os data browser scroll bar inset handl inset int width math max 0 rect rect left inset border border int height math max 0 rect bottom rect top inset bottom border border return rectangl inset left inset top width height getclientarea checkwidget outmetr getthememetr kthememetricfocusrectoutset outmetr outmetr getthememetr kthememetricedittextframeoutset outmetr outmetr getcontrolbound getdatabrowserscrollbarinset return rel index item focu receiv 1 item focu return index select item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int focu index check widget int int 1 int 1 os data browser select anchor handl os err return 1 return 0 1 swtexcept error_widget_dispos error_thread_invalid_access getfocusindex checkwidget getdatabrowserselectionanchor noerr return item rel index receiv throw except index rang param index index item return return item index except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item oper fail oper system failur li ul public string item int index check widget 0 index index item count error swt error invalid rang return item index illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_item getitem checkwidget itemcount error_invalid_rang return number item contain receiv return number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error count oper fail oper system failur li ul public int item count check widget return item count swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_count getitemcount checkwidget itemcount return height area displai em em item tree return height item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item height oper fail oper system failur li ul public int item height check widget short height short 1 os data browser tabl view row height handl height os err error swt error item height return height 0 swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_item_height getitemheight checkwidget getdatabrowsertableviewrowheight noerr error_cannot_get_item_height return arrai code string code item receiv note actual structur receiv maintain list item modifi arrai affect receiv return item receiv list except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item oper fail oper system failur get item li li error count oper fail oper system failur get item count li ul public string item check widget string result string item count system arraycopi item 0 result 0 item count return result swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_item error_cannot_get_count getitem checkwidget itemcount itemcount return arrai code string code select receiv empti arrai item select note actual structur receiv maintain select modifi arrai affect receiv return arrai repres select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error select oper fail oper system failur get select li li error item oper fail oper system failur get item li ul public string select check widget int ptr os handl 0 os data browser item handl os data browser item true os data browser item select ptr os err error swt error select int count os handl size ptr 4 string result string count os lock ptr int start int 1 os memcpi start ptr 4 int id int 1 int 0 count os memcpi id start 0 4 4 result item id 0 1 os unlock ptr os dispos handl ptr return result swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_select error_cannot_get_item getselect checkwidget newhandl getdatabrowseritem kdatabrowsernoitem kdatabrowseritemisselect noerr error_cannot_get_select gethandles hlock hunlock disposehandl return number select item contain receiv return number select item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error count oper fail oper system failur li ul public int select count check widget int count int 1 os data browser item count handl os data browser item true os data browser item select count os err error swt error count return count 0 swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_count getselectioncount checkwidget getdatabrowseritemcount kdatabrowsernoitem kdatabrowseritemisselect noerr error_cannot_get_count return rel index item select receiv 1 item select return index select item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error select oper fail oper system failur li ul public int select index check widget int int 1 int 1 os data browser select anchor handl os err return 1 return 0 1 swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_select getselectionindex checkwidget getdatabrowserselectionanchor noerr return rel indic item select receiv arrai empti item select note actual structur receiv maintain select modifi arrai affect receiv return arrai indic select item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error select oper fail oper system failur li ul public int select indic check widget int ptr os handl 0 os data browser item handl os data browser item true os data browser item select ptr os err error swt error select int count os handl size ptr 4 int result int count os lock ptr int start int 1 os memcpi start ptr 4 int id int 1 int 0 count os memcpi id start 0 4 4 result id 0 1 os unlock ptr os dispos handl ptr return result swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_select getselectionindic checkwidget newhandl getdatabrowseritem kdatabrowsernoitem kdatabrowseritemisselect noerr error_cannot_get_select gethandles hlock hunlock disposehandl return rel index item top receiv index chang item scroll item ad remov return index top item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int top index check widget int top int 1 left int 1 os data browser scroll posit handl top left return top 0 item height swtexcept error_widget_dispos error_thread_invalid_access gettopindex checkwidget getdatabrowserscrollposit getitemheight void hook event super hook event data browser callback callback data browser callback callback version os data browser latest callback os init data browser callback callback callback v1 itemdatacallback displai item data proc callback v1 itemnotificationcallback displai item notif proc os set data browser callback handl callback hookev hookev databrowsercallback databrowsercallback kdatabrowserlatestcallback initdatabrowsercallback v1_itemdatacallback itemdataproc v1_itemnotificationcallback itemnotificationproc setdatabrowsercallback int item data proc int browser int id int properti int item data int set int index id 1 switch properti case column id string text item index char buffer char text length text char 0 buffer length buffer 0 int ptr os cf string creat charact os kcf alloc default buffer buffer length ptr 0 error swt error set text os set data browser item data text item data ptr os cf releas ptr break return os err itemdataproc itemdata setvalu column_id getchar cfstringcreatewithcharact kcfallocatordefault error_cannot_set_text setdatabrowseritemdatatext itemdata cfreleas noerr int event mous int handler int event int user data int result super event mous handler event user data result os err return result shell shell shell shell bring top true featur macintosh reason user click data browser focu assign lost reassign caus control set focu part event fix ignor control set focu part user click send focu event event mous control focu displai focu control displai ignor focu true result os call event handler handler event displai ignor focu fals focu focu null focu dispos focu send focu event fals fals dispos enabl send focu event true fals return result keventmousedown nexthandl theevent userdata keventmousedown nexthandl theevent userdata noerr getshel bringtotop kevencontrolsetfocuspart kevencontrolsetfocuspart keventmousedown oldfocu getfocuscontrol ignorefocu callnexteventhandl nexthandl theevent ignorefocu oldfocu oldfocu oldfocu isdispos oldfocu sendfocusev isdispos isen sendfocusev int event text input unicod kei event int handler int event int user data int result super event text input unicod kei event handler event user data result os err return result int keyboard event int 1 os event paramet event os event param text input send keyboard event os type event ref null keyboard event length 4 null keyboard event int kei code int 1 os event paramet keyboard event 0 os event param kei code os typeu int32 null kei code length 4 null kei code switch kei code 0 case 36 return post event swt default select break featur macintosh reason user hit arrow travers item data browser item scroll left white space visibl the item scroll view fix arrow travers java call default handler case 125 int index select index set select math min item count 1 index 1 true return os err case 126 int index select index set select math max 0 index 1 true return os err return result keventtextinputunicodeforkeyev nexthandl theevent userdata keventtextinputunicodeforkeyev nexthandl theevent userdata noerr keyboardev geteventparamet theevent keventparamtextinputsendkeyboardev typeeventref keyboardev keyboardev keycod geteventparamet keyboardev keventparamkeycod typeuint32 keycod keycod keycod postev defaultselect getselectionindex setselect itemcount noerr getselectionindex setselect noerr int item notif proc int browser int id int messag switch messag case os data browser item select case os data browser item deselect ignor select break int int 1 int 1 os data browser select anchor handl boolean select fals style swt multi 0 int modifi os current event kei modifi modifi os shift kei 0 messag os data browser item select select 0 id 0 id select id anchor id anchor modifi os cmd kei 0 select true select 0 0 select messag os data browser item select select anchor first 0 anchor last 0 post event swt select break case os data browser item doubl click post event swt default select break return os err itemnotificationproc kdatabrowseritemselect kdatabrowseritemdeselect ignoreselect getdatabrowserselectionanchor getcurrenteventkeymodifi shiftkei kdatabrowseritemselect anchorfirst anchorlast cmdkei kdatabrowseritemselect anchorfirst anchorlast postev kdatabrowseritemdoubleclick postev defaultselect noerr index item list search start 0 item found equal search item item found 1 return index base param string search item return index item except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int index string item check widget item null error swt error null argument int 0 item count item equal item return return 1 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access indexof checkwidget error_null_argument itemcount search receiv list start rel index item found equal argument return index item item found start index rang return 1 param string search item param start rel index start search return index item except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error count oper fail oper system failur get item count li li error item oper fail oper system failur get item li ul public int index string string int start check widget string null error swt error null argument int start item count item equal string return return 1 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_count error_cannot_get_item indexof checkwidget error_null_argument itemcount return code true code item select code fals code indic rang param index index item return visibl item index except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean select int index check widget 0 index index item count return fals return os data browser item select handl index 1 swtexcept error_widget_dispos error_thread_invalid_access isselect checkwidget itemcount isdatabrowseritemselect remov item receiv rel index param index index item except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov oper fail oper system failur li ul public void remov int index check widget 0 index index item count error swt error invalid rang int id int item count os remov data browser item handl os data browser item id length id 0 os err error swt error item remov system arraycopi item index 1 item index item count index item item count null os updat data browser item handl 0 0 null os data browser item properti os data browser item illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov checkwidget itemcount error_invalid_rang itemcount removedatabrowseritem kdatabrowsernoitem noerr error_item_not_remov itemcount itemcount updatedatabrowseritem kdatabrowseritemnoproperti kdatabrowsernoitem remov item receiv rel start end indic inclus param start start rang param end end rang except illeg argument except ul li error invalid rang start end 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov oper fail oper system failur li ul public void remov int start int end check widget start end return 0 start start end end item count error swt error invalid rang int length end start 1 int 0 length remov start illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov checkwidget itemcount error_invalid_rang search receiv list start item item found equal argument remov item list param string item remov except illeg argument except ul li error null argument string null li li error invalid argument string found list li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov oper fail oper system failur li ul public void remov string string check widget string null error swt error null argument int index index string 0 index 1 error swt error invalid argument remov index illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov checkwidget error_null_argument indexof error_invalid_argument remov item receiv rel indic param indic arrai indic item except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li li error null argument indic arrai null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov oper fail oper system failur li ul public void remov int indic check widget indic null error swt error null argument indic length 0 return int indic int indic length system arraycopi indic 0 indic 0 indic length sort indic int start indic indic length 1 end indic 0 int count item count 0 start start end end count error swt error invalid rang int 1 int 0 indic length int index indic index remov index index illegalargumentexcept error_invalid_rang error_null_argument swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov checkwidget error_null_argument newindic newindic newindic newindic newindic newindic getitemcount error_invalid_rang newindic newindic remov item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void remov check widget os remov data browser item handl os data browser item 0 null 0 os set data browser scroll posit handl 0 0 item string 4 item count anchor anchor 0 swtexcept error_widget_dispos error_thread_invalid_access removeal checkwidget removedatabrowseritem kdatabrowsernoitem setdatabrowserscrollposit itemcount anchorfirst anchorlast remov listen collect listen notifi receiv select param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect select item rel index receiv list item index select remain select indic rang param index index item select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void select int index check widget 0 index index item count int id int index 1 select id id length fals swtexcept error_widget_dispos error_thread_invalid_access checkwidget itemcount select item rang rel indic receiv rang indic inclus current select clear item select item rang select select item rang select remain select indic rang item select start greater end receiv singl select item rang indic param start start rang param end end rang except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul list set select int int public void select int start int end check widget end 0 start end style swt singl 0 start end return item count 0 start item count return start math max 0 start end math min end item count 1 int length end start 1 int id int length int 0 length id end 1 select id length fals swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget itemcount itemcount itemcount select item rel indic receiv current select clear item select item index select select item index select remain select indic rang duplic indic receiv singl select multipl indic indic param indic arrai indic item select except illeg argument except ul li error null argument arrai indic null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul list set select int public void select int indic check widget indic null error swt error null argument int length indic length length 0 style swt singl 0 length 1 return int id int length int count 0 int 0 length int index indic length 1 index 0 index item count id count index 1 count 0 select id count fals illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget error_null_argument itemcount void select int id int count boolean clear ignor select true bug macintosh data broswer select flag includ data browser empti select set data browser select item select set data browser select item call data browser item assign assign selet despit fact data browser select fix save restor data browser empti select set call set data browser select item int select flag null style swt singl 0 select flag int 1 os data browser select flag handl select flag os set data browser select flag handl select flag 0 os data browser empti select set int oper os data browser item assign style swt multi 0 clear oper os data browser item add os set data browser select item handl count id oper style swt singl 0 os set data browser select flag handl select flag 0 ignor select fals ignoreselect databrosw kdatabrowserneveremptyselectionset kdatabrowserselectonlyon setdatabrowserselecteditem kdatabrowseritemsassign kdatabrowserselectonlyon kdatabrowserneveremptyselectionset setdatabrowserselecteditem selectionflag selectionflag getdatabrowserselectionflag selectionflag setdatabrowserselectionflag selectionflag kdatabrowserneveremptyselectionset kdatabrowseritemsassign kdatabrowseritemsadd setdatabrowserselecteditem setdatabrowserselectionflag selectionflag ignoreselect void select string item check widget item null error swt error null argument rang check int length item length int id int length int 0 length id index item length 1 1 select id length fals checkwidget error_null_argument indexof select item receiv receiv singl select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void select check widget style swt singl 0 return select null 0 fals swtexcept error_widget_dispos error_thread_invalid_access selectal checkwidget int set bound int control int int int width int height boolean move boolean resiz boolean event ensur top item visibl tree resiz size size show select todo optim int index 1 resiz control handl rectangl rect client area rect height item height index top index int result super set bound control width height move resiz event index 1 show index index return result setbound getclientarea getitemheight gettopindex setbound showindex set text item receiv list rel index string argument equival code remov code ing item index code add code ing item index param index index item param string text item except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov remov oper fail oper system failur li li error item ad add oper fail oper system failur li ul public void set item int index string string check widget string null error swt error null argument 0 index index item count error swt error invalid rang int id int index 1 item index string os updat data browser item handl os data browser item id length id os data browser item properti os data browser item illegalargumentexcept error_invalid_rang error_null_argument swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov error_item_not_ad setitem checkwidget error_null_argument itemcount error_invalid_rang updatedatabrowseritem kdatabrowsernoitem kdatabrowseritemnoproperti kdatabrowsernoitem set receiv item arrai item param item arrai item except illeg argument except ul li error null argument item arrai null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item ad oper fail oper system failur li ul public void set item string item check widget item null error swt error null argument os remov data browser item handl os data browser item 0 null 0 os add data browser item handl os data browser item item length null os data browser item properti os err error swt error item ad item string item length system arraycopi item 0 item 0 item length item count item length illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_ad setitem checkwidget error_null_argument removedatabrowseritem kdatabrowsernoitem adddatabrowseritem kdatabrowsernoitem kdatabrowseritemnoproperti noerr error_item_not_ad itemcount select item rel index receiv item index select remain select current select clear item select indic rang param index index item select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul list deselect list select int public void set select int index check widget style swt multi 0 deselect set select index fals swtexcept error_widget_dispos error_thread_invalid_access deselectal setselect checkwidget deselectal setselect void set select int index boolean notifi check widget 0 index index item count int id int index 1 select id id length true show index index notifi post event swt select setselect checkwidget itemcount showindex postev select item rang rel indic receiv rang indic inclus current select clear item select indic rang item select start greater end receiv singl select item rang indic param start start index item select param end end index item select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul list deselect list select int int public void set select int start int end check widget deselect end 0 start end style swt singl 0 start end return item count 0 start item count return start math max 0 start end math min end item count 1 int length end start 1 int id int length int 0 length id end 1 select id length true id length 0 show index id 0 1 swtexcept error_widget_dispos error_thread_invalid_access deselectal setselect checkwidget deselectal itemcount itemcount itemcount showindex select item rel indic receiv current select clear item select indic rang duplic indic receiv singl select multipl indic indic param indic indic item select except illeg argument except ul li error null argument arrai indic null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul list deselect list select int public void set select int indic check widget indic null error swt error null argument deselect int length indic length length 0 style swt singl 0 length 1 return int id int length int count 0 int 0 length int index indic length 1 index 0 index item count id count index 1 count 0 select id count true show index id 0 1 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access deselectal setselect checkwidget error_null_argument deselectal itemcount showindex set receiv select arrai item current select clear item select item receiv receiv singl select multipl item item param item arrai item except illeg argument except ul li error null argument arrai item null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul list deselect list select int list set select int public void set select string item check widget item null error swt error null argument deselect int length item length length 0 style swt singl 0 length 1 return int count 0 int id int length int 0 length string string item length 1 style swt singl 0 int index index string 0 index 1 count 1 id int index 1 int index 0 index index string index 1 count id length int id int id length 4 system arraycopi id 0 id 0 id length id id id count index 1 index count 0 select id count true show index id 0 1 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access deselectal setselect setselect checkwidget error_null_argument deselectal indexof indexof newid newid newid showindex set rel index item top receiv index chang item scroll item ad remov param index index top item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set top index int index check widget 0 index index item count return int top int 1 left int 1 os data browser scroll posit handl top left top 0 index item height os set data browser scroll posit handl top 0 left 0 swtexcept error_widget_dispos error_thread_invalid_access settopindex checkwidget itemcount getdatabrowserscrollposit getitemheight setdatabrowserscrollposit void show index int index 0 index index item count short width short 1 os data browser tabl view name column width handl column id width rect rect rect inset rect os control bound handl rect os data browser scroll bar inset handl inset os set data browser tabl view name column width handl column id short rect rect left inset left inset os reveal data browser item handl index 1 column id byte os data browser reveal select os data browser reveal center view os set data browser tabl view name column width handl column id width 0 showindex itemcount getdatabrowsertableviewnamedcolumnwidth column_id getcontrolbound getdatabrowserscrollbarinset setdatabrowsertableviewnamedcolumnwidth column_id revealdatabrowseritem column_id kdatabrowserrevealwithoutselect kdatabrowserrevealandcenterinview setdatabrowsertableviewnamedcolumnwidth column_id show select select show receiv method simpli return item scroll select visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void show select check widget int index select index index 0 show index index swtexcept error_widget_dispos error_thread_invalid_access showselect checkwidget getselectionindex showindex construct instanc class parent set style instanc instanc popup menu parent shell param parent control parent instanc null except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt pop widget check subclass widget style public menu control parent check null parent menu shell swt pop illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass pop_up checksubclass getstyl checknul menushel pop_up construct instanc class parent code decor code style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent decor control parent instanc null param style style menu construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt bar swt drop swt pop widget check subclass widget style public menu decor parent int style super parent check style style parent parent creat widget illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass drop_down pop_up checksubclass getstyl checkstyl createwidget construct instanc class parent code menu code set style instanc instanc drop menu parent parent param parent menu menu parent instanc null except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt drop widget check subclass widget style public menu menu parent menu check null parent menu parent swt drop parentmenu illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass drop_down checksubclass getstyl parentmenu checknul parentmenu drop_down construct instanc class parent code menu item code set style instanc instanc drop menu parent parent menu param parent item menu item parent instanc null except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt drop widget check subclass widget style public menu menu item parent item check null parent item parent menuitem parentitem illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass drop_down checksubclass getstyl menuitem parentitem checknul parentitem static control check null control control control null swt error swt error null argument return control checknul error_null_argument static menu check null menu menu menu null swt error swt error null argument return menu checknul error_null_argument static menu item check null menu item item item null swt error swt error null argument return item menuitem checknul menuitem error_null_argument static int check style int style return check bit style swt pop swt bar swt drop 0 0 0 checkstyl checkbit pop_up drop_down void setvis boolean visibl style swt bar swt drop 0 return visibl return int left top locat org eclips swt intern carbon point org eclips swt intern carbon point os global mous left top os pop menu select handl short top short left short 1 _setvis drop_down hasloc getglobalmous popupmenuselect add listen collect listen notifi help event gener control send messag defin code help listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul help listen remov help listen public void add help listen help listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt help type listen helplisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access helplisten removehelplisten addhelplisten helplisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten add listen collect listen notifi menu hidden shown send messag defin code menu listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul menu listen remov menu listen public void add menu listen menu listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt hide type listen add listen swt show type listen menulisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access menulisten removemenulisten addmenulisten menulisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten typedlisten void creat handl displai add menu int menu ref int 1 os creat menu id 0 menu ref menu ref 0 0 displai remov menu error swt error handl handl menu ref 0 createhandl addmenu outmenuref createnewmenu outmenuref outmenuref removemenu error_no_handl outmenuref void creat item menu item item int index check widget int count os count menu item handl 0 index index count error swt error invalid rang int attribut os menu item attr auto repeat os menu item attr custom draw item style swt separ 0 attribut os menu item attr separ int result os insert menu item text withcf string handl 0 short index attribut 0 result os err error swt error item ad count item length menu item item menu item item length 4 system arraycopi item 0 item 0 item length item item system arraycopi item index item index 1 count index item index item modifi true style swt bar 0 displai displai displai short menuid displai menu id int menu ref int 1 os creat menu menuid 0 menu ref os err error swt error handl os set menu item hierarch menu handl short index 1 menu ref 0 createitem menuitem checkwidget countmenuitem error_invalid_rang kmenuitemattrautorepeat kmenuitemattrcustomdraw kmenuitemattrsepar insertmenuitemtextwithcfstr noerr error_item_not_ad menuitem newitem menuitem newitem newitem getdisplai nextmenuid outmenuref createnewmenu outmenuref noerr error_no_handl setmenuitemhierarchicalmenu outmenuref void creat widget check orient parent super creat widget item menu item 4 createwidget checkorient createwidget menuitem void destroi item menu item item int count os count menu item handl int index 0 index count item index item break index index count return system arraycopi item index 1 item index count index item count null count 0 item menu item 4 modifi true style swt bar 0 int menu ref int 1 os menu item hierarch menu handl index 0 menu ref menu ref 0 0 os delet menu os menuid menu ref 0 os dispos menu menu ref 0 os delet menu item handl short index 1 destroyitem menuitem countmenuitem menuitem outmenuref getmenuitemhierarchicalmenu outindex outmenuref outmenuref deletemenu getmenuid outmenuref disposemenu outmenuref deletemenuitem void destroi widget int menu handl releas handl menu 0 os delet menu os menuid menu os dispos menu menu destroywidget themenu releasehandl themenu deletemenu getmenuid themenu disposemenu themenu return default menu item null previous set return default menu item ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public menu item default item check widget return default item swtexcept error_widget_dispos error_thread_invalid_access menuitem getdefaultitem checkwidget defaultitem return code true code receiv enabl code fals code disabl control typic select user interfac draw inact grai look return receiv enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul enabl public boolean enabl check widget return disabl 0 swtexcept error_widget_dispos error_thread_invalid_access isen geten checkwidget return item rel index receiv throw except index rang param index index item return return item index except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public menu item item int index check widget int count os count menu item handl 0 index index count error swt error invalid rang return item index illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access menuitem getitem checkwidget countmenuitem error_invalid_rang return number item contain receiv return number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int item count check widget return os count menu item handl swtexcept error_widget_dispos error_thread_invalid_access getitemcount checkwidget countmenuitem return arrai code menu item code item receiv note actual structur receiv maintain list item modifi arrai affect receiv return item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public menu item item check widget int count os count menu item handl menu item result menu item count system arraycopi item 0 result 0 count return result menuitem swtexcept error_widget_dispos error_thread_invalid_access menuitem getitem checkwidget countmenuitem menuitem menuitem string text string result menu item item item int length item length length 0 int 0 length 1 result result item text result result item length 1 text return result getnametext menuitem getitem getnametext getnametext return receiv parent code decor code return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public decor parent check widget return parent swtexcept error_widget_dispos error_thread_invalid_access getpar checkwidget return receiv parent item code menu item code null receiv root return receiv parent item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public menu item parent item check widget return cascad menuitem swtexcept error_widget_dispos error_thread_invalid_access menuitem getparentitem checkwidget return receiv parent item code menu code null receiv root return receiv parent item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public menu parent menu check widget cascad null return cascad parent return null swtexcept error_widget_dispos error_thread_invalid_access getparentmenu checkwidget return receiv shell control shell simpli return control nearest ancestor shell shell return children shell return receiv shell except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul parent public shell shell check widget return parent shell swtexcept error_widget_dispos error_thread_invalid_access getpar getshel checkwidget getshel public point size style swt bar 0 int height os getm bar height int gdevic os main devic int ptr int 1 os memcpi ptr gdevic 4 devic devic devic os memcpi devic ptr 0 devic sizeof return point devic devic left height int width os menu width handl int height os menu height handl return point width height getsiz getmbarheight getmaindevic gdevic gdevic gdevic getmenuwidth getmenuheight return code true code receiv visibl code fals code receiv ancestor visibl condit make receiv visibl method consid visibl actual show return receiv visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean visibl check widget style swt bar 0 return parent menu shell menu bar style swt pop 0 menu popup displai popup popup null return fals int 0 popup length popup return true menu track data data menu track data return os menu track data handl data os err swtexcept error_widget_dispos error_thread_invalid_access getvis checkwidget menushel menubar pop_up menutrackingdata outdata menutrackingdata getmenutrackingdata outdata noerr void hook event super hook event int menu proc displai menu proc int mask int os event class menu os event menu close os event class menu os event menu open os event class menu os event menu target item os event class menu os event menu measur item width os event class menu os event menu draw item content int menu target os menu event target handl os instal event handler menu target menu proc mask length 2 mask 0 null hookev hookev menuproc menuproc keventclassmenu keventmenuclos keventclassmenu keventmenuopen keventclassmenu keventmenutargetitem keventclassmenu keventmenumeasureitemwidth keventclassmenu keventmenudrawitemcont menutarget getmenueventtarget installeventhandl menutarget menuproc int event menu close int handler int event int user data int result super event menu close handler event user data result os err return result close true send event swt hide return os event handl err keventmenuclos nexthandl theevent userdata keventmenuclos nexthandl theevent userdata noerr sendev eventnothandlederr int event menu draw item content int handler int event int user data short index short 1 os event paramet event os event param menu item index os type menu item index null 2 null index menu item item item index 0 1 item acceler 0 int accel index item text index accel index 1 string accel text item text substr accel index 1 int length accel text length length 0 int result os call event handler handler event rect rect rect os event paramet event os event param menu item bound os typeqd rectangl null rect sizeof null rect int context int 1 os event paramet event os event paramcg context ref os typecg context ref null 4 null context draw kei int modifi index modifi index accel text char buffer char length modifi index 1 accel text char modifi index 1 length buffer 0 int font os theme menu item font buffer length 1 font os theme menu item cmd kei font byte famili byte 256 short size short 1 byte style byte 1 os theme font short font short os sm system script famili size style font info info font info os fetch font info famili 0 size 0 style 0 info int metric int 1 os theme metric os theme metric menu icon trail edg margin metric int str os cf string creat charact os kcf alloc default buffer buffer length org eclips swt intern carbon point size1 org eclips swt intern carbon point os theme text dimens str short font 0 fals size1 null rect left short rect math max info wid max size1 metric 0 os draw theme text box str short font os theme activ fals rect short os te flush left context 0 os cf releas str draw modifi modifi index 1 buffer char modifi index 1 accel text char 0 buffer length buffer 0 str os cf string creat charact os kcf alloc default buffer buffer length os theme text dimens str short os theme menu item cmd kei font 0 fals size1 null rect rect left rect left short rect size1 os draw theme text box str short os theme menu item cmd kei font os theme activ fals rect short os te flush left context 0 os cf releas str return result return os event handl err keventmenudrawitemcont nexthandl theevent userdata geteventparamet theevent keventparammenuitemindex typemenuitemindex menuitem accelindex indexof accelindex acceltext accelindex acceltext callnexteventhandl nexthandl theevent geteventparamet theevent keventparammenuitembound typeqdrectangl geteventparamet theevent keventparamcgcontextref typecgcontextref modifierindex modifierindex acceltext modifierindex acceltext getchar modifierindex kthememenuitemfont kthememenuitemcmdkeyfont getthemefont smsystemscript fontinfo fontinfo fetchfontinfo getthememetr kthememetricmenuicontrailingedgemargin cfstringcreatewithcharact kcfallocatordefault getthemetextdimens widmax drawthemetextbox kthemestateact teflushleft cfreleas modifierindex modifierindex acceltext getchar cfstringcreatewithcharact kcfallocatordefault getthemetextdimens kthememenuitemcmdkeyfont drawthemetextbox kthememenuitemcmdkeyfont kthemestateact teflushleft cfreleas eventnothandlederr int event menu measur item width int handler int event int user data short index short 1 os event paramet event os event param menu item index os type menu item index null 2 null index menu item item item index 0 1 item acceler 0 int accel index item text index accel index 1 string accel text item text substr accel index 1 accel text length 0 int result os call event handler handler event char buffer char accel text length accel text char 0 buffer length buffer 0 int str os cf string creat charact os kcf alloc default buffer buffer length org eclips swt intern carbon point size org eclips swt intern carbon point os theme text dimens str short os theme menu item cmd kei font 0 fals size null os cf releas str short width short 1 os event paramet event os event param menu item width os type int16 null 2 null width int metric int 1 os theme metric os theme metric menu text trail edg margin metric width 0 metric 0 size os set event paramet event os event param menu item width os type int16 2 width return result return os event handl err keventmenumeasureitemwidth nexthandl theevent userdata geteventparamet theevent keventparammenuitemindex typemenuitemindex menuitem accelindex indexof accelindex acceltext accelindex acceltext callnexteventhandl nexthandl theevent acceltext acceltext getchar cfstringcreatewithcharact kcfallocatordefault getthemetextdimens kthememenuitemcmdkeyfont cfreleas geteventparamet theevent keventparammenuitemwidth typesint16 getthememetr kthememetricmenutexttrailingedgemargin seteventparamet theevent keventparammenuitemwidth typesint16 eventnothandlederr int event menu open int handler int event int user data int result super event menu open handler event user data result os err return result close fals send event swt show modifi fals return os event handl err keventmenuopen nexthandl theevent userdata keventmenuopen nexthandl theevent userdata noerr sendev eventnothandlederr int event menu target item int handler int event int user data int result super event menu target item handler event user data result os err return result target null short index short 1 os event paramet event os event param menu item index os type menu item index null 2 null index os err index 0 0 target item index 0 1 target null target send event swt arm return os event handl err keventmenutargetitem nexthandl theevent userdata keventmenutargetitem nexthandl theevent userdata noerr lasttarget geteventparamet theevent keventparammenuitemindex typemenuitemindex noerr lasttarget lasttarget lasttarget sendev eventnothandlederr search receiv list start item index 0 item found equal argument return index item item found return 1 param item search item return index item except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int index menu item item check widget item null error swt error null argument int count os count menu item handl int 0 count item item return return 1 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access indexof menuitem checkwidget error_null_argument countmenuitem return code true code receiv enabl receiv ancestor enabl code fals code disabl control typic select user interfac draw inact grai look return receiv enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul enabl public boolean enabl check widget menu parent menu parent menu parent menu null return enabl return enabl parent menu enabl swtexcept error_widget_dispos error_thread_invalid_access geten isen checkwidget parentmenu getparentmenu parentmenu geten geten parentmenu isen return code true code receiv visibl receiv ancestor visibl code fals code return receiv visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul visibl public boolean visibl check widget return visibl swtexcept error_widget_dispos error_thread_invalid_access getvis isvis checkwidget getvis int modifi index string accel text int start accel text length 1 int index start index 0 char accel text char index switch case index start return index break case u2303 case u2325 case u21e7 case u2318 return index index return 1 modifierindex acceltext acceltext acceltext charat void releas child super releas child cascad null cascad set menu null style swt bar 0 parent menu bar parent set menu bar null releasechild releasechild setmenu menubar setmenubar void releas handl super releas handl handl 0 releasehandl releasehandl void releas widget int count os count menu item handl int 0 count menu item item item item dispos item releas resourc item null super releas widget displai remov menu parent null cascad default item target null releasewidget countmenuitem menuitem isdispos releaseresourc releasewidget removemenu defaultitem lasttarget remov listen collect listen notifi help event gener control param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul help listen add help listen public void remov help listen help listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt help listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access helplisten addhelplisten removehelplisten helplisten checkwidget error_null_argument eventt eventt remov listen collect listen notifi menu event gener control param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul menu listen add menu listen public void remov menu listen menu listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt hide listen event tabl unhook swt show listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access menulisten addmenulisten removemenulisten menulisten checkwidget error_null_argument eventt eventt eventt set default menu item argument remov default emphasi argument code null code param item default menu item null except illeg argument except ul li error invalid argument menu item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set default item menu item item check widget item null item dispos error swt error invalid argument default item item illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setdefaultitem menuitem checkwidget isdispos error_invalid_argument defaultitem enabl receiv argument code true code disabl disabl control typic select user interfac draw inact grai look param enabl enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set enabl boolean enabl check widget enabl disabl os enabl menu item handl short 0 disabl os disabl menu item handl short 0 swtexcept error_widget_dispos error_thread_invalid_access seten checkwidget enablemenuitem disablemenuitem set receiv locat point argument rel displai note widget locat widget rel parent param x coordin receiv param y coordin receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set locat int int check widget x y locat true swtexcept error_widget_dispos error_thread_invalid_access setloc checkwidget hasloc set receiv locat point argument rel displai note widget locat widget rel parent param locat locat receiv except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public void set locat point locat check widget locat null error swt error null argument set locat locat locat illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setloc checkwidget error_null_argument setloc mark receiv visibl argument code true code mark invis receiv ancestor visibl condit make receiv visibl mark visibl actual displai param visibl visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set visibl boolean visibl check widget style swt bar swt drop 0 return visibl displai add popup displai remov popup setvis fals swtexcept error_widget_dispos error_thread_invalid_access setvis checkwidget drop_down addpopup removepopup _setvis construct instanc class parent code menu code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent menu control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt check swt cascad swt push swt radio swt separ widget check subclass widget style public menu item menu parent int style super parent check style style parent parent parent creat item parent item count illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl menuitem checkstyl createitem getitemcount construct instanc class parent code menu code style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent menu control parent instanc null param style style control construct param index index store receiv parent except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt check swt cascad swt push swt radio swt separ widget check subclass widget style public menu item menu parent int style int index super parent check style style parent parent parent creat item index illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl menuitem checkstyl createitem public void seten boolean enabl int index parent index index 1 return int menu ref int 1 short menu index short index 1 os menu item hierarch menu parent handl menu index menu ref enabl menu ref 0 0 os enabl menu item menu ref 0 short 0 os enabl menu item parent handl menu index menu ref 0 0 os disabl menu item menu ref 0 short 0 os disabl menu item parent handl menu index _seten indexof outmenuref menuindex getmenuitemhierarchicalmenu menuindex outmenuref outmenuref enablemenuitem outmenuref enablemenuitem menuindex outmenuref disablemenuitem outmenuref disablemenuitem menuindex add listen collect listen notifi arm event gener control send messag defin code arm listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul arm listen remov arm listen public void add arm listen arm listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt arm type listen armlisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access armlisten removearmlisten addarmlisten armlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten add listen collect listen notifi help event gener control send messag defin code help listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul help listen remov help listen public void add help listen help listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt help type listen helplisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access helplisten removehelplisten addhelplisten helplisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten add listen collect listen notifi control select send messag defin code select listen code interfac code widget select code call mask field event object valid code widget default select code call param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect statemask widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass static int check style int style return check bit style swt push swt check swt radio swt separ swt cascad 0 checkstyl checkbit return widget acceler acceler bit wise modifi mask kei exampl code swt control swt shift swt alt swt f2 code return acceler ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int acceler check widget return acceler swtexcept error_widget_dispos error_thread_invalid_access getacceler checkwidget return code true code receiv enabl code fals code disabl control typic select user interfac draw inact grai look return receiv enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul enabl public boolean enabl check widget return disabl 0 swtexcept error_widget_dispos error_thread_invalid_access isen geten checkwidget return receiv cascad menu null code cascad code menu item pull menu sequenc kei stroke button press button releas request pull menu platform specif return receiv menu except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public menu menu check widget return menu swtexcept error_widget_dispos error_thread_invalid_access getmenu checkwidget string text style swt separ 0 return return super text getnametext getnametext return receiv parent code menu code return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public menu parent check widget return parent swtexcept error_widget_dispos error_thread_invalid_access getpar checkwidget return code true code receiv select fals receiv type code check code code radio code select check return select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean select check widget style swt check swt radio 0 return fals int index parent index index 1 return fals short mark short 1 os item mark parent handl short index 1 mark return mark 0 0 swtexcept error_widget_dispos error_thread_invalid_access getselect checkwidget indexof outmark getitemmark outmark outmark int event process command int handler int event int user data temporari code enabl return os err style swt check 0 set select select style swt radio 0 parent style swt radio group 0 set select select select radio int modifi int 1 os event paramet event os event param kei modifi os typeu int32 null 4 null modifi event event event set input event short 0 os current event button modifi 0 post event swt select event return os err keventprocesscommand nexthandl theevent userdata isen noerr setselect getselect getstyl no_radio_group setselect getselect selectradio geteventparamet theevent keventparamkeymodifi typeuint32 setinputst getcurrenteventbuttonst postev noerr return code true code receiv enabl receiv ancestor enabl code fals code disabl control typic select user interfac draw inact grai look return receiv enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul enabl public boolean enabl return enabl parent enabl swtexcept error_widget_dispos error_thread_invalid_access geten isen geten isen int kei glyph int kei switch kei case swt bs return os menu delet left glyph case swt cr return os menu return glyph case swt del return os menu delet glyph case swt esc return os menu escap glyph case swt lf return os menu return glyph case swt tab return os menu tab glyph case return os menu blank glyph case return os menu space glyph case swt alt return os menu option glyph case swt shift return os menu shift glyph case swt control return os menu controliso glyph case swt command return os menu command glyph case swt arrow return os menu arrow glyph case swt arrow return os menu arrow glyph case swt arrow left return os menu left arrow glyph case swt arrow return os menu arrow glyph case swt page return os menu page glyph case swt page return os menu page glyph case swt f1 return os menuf1 glyph case swt f2 return os menuf2 glyph case swt f3 return os menuf3 glyph case swt f4 return os menuf4 glyph case swt f5 return os menuf5 glyph case swt f6 return os menuf6 glyph case swt f7 return os menuf7 glyph case swt f8 return os menuf8 glyph case swt f9 return os menuf9 glyph case swt f10 return os menuf10 glyph case swt f11 return os menuf11 glyph case swt f12 return os menuf12 glyph return os menu null glyph keyglyph kmenudeleteleftglyph kmenureturnglyph kmenudeleterightglyph kmenuescapeglyph kmenureturnglyph kmenutabrightglyph kmenublankglyph kmenuspaceglyph kmenuoptionglyph kmenushiftglyph kmenucontrolisoglyph kmenucommandglyph arrow_up kmenuuparrowglyph arrow_down kmenudownarrowglyph arrow_left kmenuleftarrowglyph arrow_right kmenurightarrowglyph page_up kmenupageupglyph page_down kmenupagedownglyph kmenuf1glyph kmenuf2glyph kmenuf3glyph kmenuf4glyph kmenuf5glyph kmenuf6glyph kmenuf7glyph kmenuf8glyph kmenuf9glyph kmenuf10glyph kmenuf11glyph kmenuf12glyph kmenunullglyph void releas child super releas child menu null menu dispos menu null parent destroi item releasechild releasechild destroyitem void releas widget menu null menu releas widget menu destroi widget parent style swt bar 0 short index short 1 os ind menu item commandid parent handl id 1 null index os err int menu ref int 1 os menu item hierarch menu parent handl index 0 menu ref menu ref 0 0 os delet menu os menuid menu ref 0 os dispos menu menu ref 0 menu null super releas widget acceler 0 parent default item parent default item null parent null releasewidget releasewidget destroywidget outindex getindmenuitemwithcommandid outindex noerr outmenuref getmenuitemhierarchicalmenu outindex outmenuref outmenuref deletemenu getmenuid outmenuref disposemenu outmenuref releasewidget defaultitem defaultitem remov listen collect listen notifi arm event gener control param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul arm listen add arm listen public void remov arm listen arm listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt arm listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access armlisten addarmlisten removearmlisten armlisten checkwidget error_null_argument eventt eventt remov listen collect listen notifi help event gener control param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul help listen add help listen public void remov help listen help listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt help listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access helplisten addhelplisten removehelplisten helplisten checkwidget error_null_argument eventt eventt remov listen collect listen notifi control select param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect void select radio int index 0 menu item item parent item index item length item index index int index 1 0 item set radio select fals int index 1 item length item set radio select fals set select true selectradio menuitem getitem setradioselect setradioselect setselect set widget acceler acceler bit wise modifi mask kei exampl code swt mod1 swt mod2 swt mod3 swt f2 code code swt control swt shift swt alt swt f2 code param acceler integ bit wise mask kei ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set acceler int acceler check widget int index parent index index 1 return boolean updat acceler 0 acceler 0 acceler 0 acceler 0 acceler acceler boolean set virtual kei fals int modifi os menu modifi glyph os menu null glyph kei 0 acceler 0 kei acceler swt kei mask glyph kei glyph kei int virtual kei displai untransl kei kei kei virtual kei 49 virtual kei 0 set virtual kei true kei virtual kei kei charact upper case char kei modifi byte os menu command modifi acceler swt shift 0 modifi os menu shift modifi acceler swt control 0 modifi os menu control modifi acceler swt command 0 modifi os menu command modifi acceler swt alt 0 modifi os menu option modifi short menu index short index 1 os set menu item modifi parent handl menu index byte modifi os set menu item command kei parent handl menu index set virtual kei char kei os set menu item kei glyph parent handl menu index short glyph updat updat text menu index swtexcept error_widget_dispos error_thread_invalid_access setacceler checkwidget indexof insetvirtualkei inmodifi kmenunomodifi inglyph kmenunullglyph inkei inkei kei_mask inglyph keyglyph inkei virtualkei untranslatekei inkei inkei virtualkei virtualkei insetvirtualkei inkei virtualkei inkei touppercas inkei inmodifi kmenunocommandmodifi inmodifi kmenushiftmodifi inmodifi kmenucontrolmodifi inmodifi kmenunocommandmodifi inmodifi kmenuoptionmodifi menuindex setmenuitemmodifi menuindex inmodifi setmenuitemcommandkei menuindex insetvirtualkei inkei setmenuitemkeyglyph menuindex inglyph updatetext menuindex enabl receiv argument code true code disabl disabl control typic select user interfac draw inact grai look param enabl enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set enabl boolean enabl check widget enabl disabl disabl seten enabl swtexcept error_widget_dispos error_thread_invalid_access seten checkwidget _seten set imag receiv displai argument note featur window system window nt case call method silent param imag imag displai except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set imag imag imag check widget style swt separ 0 return int index parent index index 1 return super set imag imag int imag handl imag null imag handl 0 byte type imag null byte os menucg imag ref type byte os menu icon os set menu item icon handl parent handl short index 1 type imag handl swtexcept error_widget_dispos error_thread_invalid_access setimag checkwidget indexof setimag imagehandl kmenucgimagereftyp kmenunoicon setmenuitemiconhandl imagehandl set receiv pull menu argument code cascad code menu item pull menu sequenc kei stroke button press button releas request pull menu platform specif param menu pull menu except illeg argument except ul li error menu drop menu drop menu li li error menuitem cascad menu item code cascad code li li error invalid argument menu dispos li li error invalid parent menu widget tree li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set menu menu menu check widget check sure menu valid style swt cascad 0 error swt error menuitem cascad menu null menu dispos error swt error invalid argument menu style swt drop 0 error swt error menu drop menu parent parent parent error swt error invalid parent assign menu menu menu menu menu menu return menu null menu cascad null menu menu updat menu os int index parent index index 1 return short menu index short index 1 int menu ref int 1 menu null parent style swt bar 0 displai displai displai short menuid displai menu id os creat menu menuid 0 menu ref os err error swt error handl menu cascad parent style swt bar 0 menu null os menu item hierarch menu parent handl index 0 menu ref menu ref 0 0 os delet menu os menuid menu ref 0 os dispos menu menu ref 0 menu ref 0 menu handl int string int 1 os copi menu item text ascf string parent handl menu index string os err error swt error set menu os set menu titl withcf string menu ref 0 string 0 os cf releas string 0 os set menu item hierarch menu parent handl menu index menu ref 0 os err error swt error set menu illegalargumentexcept error_menu_not_drop_down error_menuitem_not_cascad error_invalid_argument error_invalid_parent swtexcept error_widget_dispos error_thread_invalid_access setmenu checkwidget error_menuitem_not_cascad isdispos error_invalid_argument drop_down error_menu_not_drop_down error_invalid_parent oldmenu oldmenu oldmenu oldmenu indexof menuindex outmenuref getdisplai nextmenuid createnewmenu outmenuref noerr error_no_handl oldmenu getmenuitemhierarchicalmenu outindex outmenuref outmenuref deletemenu getmenuid outmenuref disposemenu outmenuref outmenuref outstr copymenuitemtextascfstr menuindex outstr noerr error_cannot_set_menu setmenutitlewithcfstr outmenuref outstr cfreleas outstr setmenuitemhierarchicalmenu menuindex outmenuref noerr error_cannot_set_menu boolean set radio select boolean style swt radio 0 return fals select set select post event swt select return true setradioselect getselect setselect postev set select receiv receiv type code check code code radio code select check param select select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select boolean select check widget style swt check swt radio 0 return int index parent index index 1 return int mark select style swt radio 0 os diamond mark os check mark 0 os set item mark parent handl short index 1 short mark swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget indexof inmark diamondmark checkmark setitemmark inmark set receiv text string includ mnemon charact acceler text mnemon amp charact mnemon user press kei sequenc match mnemon select event occur platform mnemon appear underlin emphasis platform specif manner mnemon indic charact amp escap doubl string caus singl amp displai p acceler text charact platform support acceler text text follow charact displai user typic indic kei stroke item select platform acceler text appear align menu set acceler text instal acceler kei sequenc acceler kei sequenc instal set acceler param string text except illeg argument except ul li error null argument text null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul set acceler public void set text string string check widget string null error swt error null argument style swt separ 0 return int index parent index index 1 return super set text string updat text short index 1 setacceler illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setacceler settext checkwidget error_null_argument indexof settext updatetext void updat text short menu index style swt separ 0 return char buffer char text length text char 0 buffer length buffer 0 int 0 0 buffer length buffer break buffer buffer buffer length continu buffer i continu int str os cf string creat charact os kcf alloc default buffer str 0 error swt error set text os set menu item text withcf string parent handl menu index str int hier menu int 1 os menu item hierarch menu parent handl menu index hier menu hier menu 0 0 os set menu titl withcf string hier menu 0 str os cf releas str updatetext menuindex getchar cfstringcreatewithcharact kcfallocatordefault error_cannot_set_text setmenuitemtextwithcfstr menuindex outhiermenu getmenuitemhierarchicalmenu menuindex outhiermenu outhiermenu setmenutitlewithcfstr outhiermenu cfreleas construct instanc class parent param parent shell parent instanc except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul public messag box shell parent parent swt ok swt icon inform swt applic modal illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass messagebox icon_inform applic_modal construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent shell parent instanc param style style dialog construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul public messag box shell parent int style super parent check style style check subclass illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass messagebox checkstyl checksubclass static int check style int style style swt primari modal swt applic modal swt system modal 0 style swt applic modal int mask swt ye swt swt ok swt cancel swt abort swt retri swt ignor int bit style mask bit swt ok bit swt cancel bit swt ok swt cancel return style bit swt ye bit swt bit swt ye swt bit swt ye swt swt cancel return style bit swt retri swt cancel bit swt abort swt retri swt ignor return style style style mask swt ok return style checkstyl primari_modal applic_modal system_modal applic_modal int createcf string string id string string swt messag id char buffer char string length string char 0 buffer length buffer 0 return os cf string creat charact os kcf alloc default buffer buffer length createcfstr getmessag getchar cfstringcreatewithcharact kcfallocatordefault return dialog messag descript purpos open messag visibl dialog open return messag public string messag return messag getmessag make dialog visibl bring front displai return id button select dismiss messag box swt ok swt cancel except swt except ul li error widget dispos dialog dispos li li error thread invalid access call thread creat dialog li ul public int open int alert type os alert plain alert style swt icon error 0 alert type os alert stop alert style swt icon inform 0 alert type os alert note alert style swt icon question 0 alert type os alert note alert style swt icon warn 0 alert type os alert caution alert style swt icon work 0 alert type os alert note alert int error 0 int explan 0 string error string titl titl messag messag null string explan string titl null messag messag null error string null char buffer char error string length error string char 0 buffer length buffer 0 error os cf string creat charact os kcf alloc default buffer buffer length explan string null char buffer char explan string length explan string char 0 buffer length buffer 0 explan os cf string creat charact os kcf alloc default buffer buffer length alert stdcf string alert param rec param alert stdcf string alert param rec param version os stdcf string alert version param posit short os window alert posit parent window screen int default str 0 cancel str 0 str 0 int mask swt ye swt swt ok swt cancel swt abort swt retri swt ignor int bit style mask switch bit case swt ok param default button short os alert std alertok button param default text os alert defaultok text break case swt cancel param default button short os alert std alertok button param default text default str createcf string swt cancel break case swt ok swt cancel param default button short os alert std alertok button param default text os alert defaultok text param cancel button short os alert std alert cancel button param cancel text os alert default cancel text break case swt ye param default button short os alert std alertok button param default text default str createcf string swt ye break case swt param cancel button short os alert std alertok button param cancel text default str createcf string swt break case swt ye swt param default button short os alert std alertok button param default text default str createcf string swt ye param cancel button short os alert std alert cancel button param cancel text cancel str createcf string swt break case swt ye swt swt cancel param default button short os alert std alertok button param default text default str createcf string swt ye param text cancel str createcf string swt param cancel button short os alert std alert cancel button param cancel text os alert default cancel text break case swt retri swt cancel param default button short os alert std alertok button param default text default str createcf string swt retri param cancel button short os alert std alert cancel button param cancel text os alert default cancel text break case swt abort swt retri swt ignor param default button short os alert std alertok button param default text default str createcf string swt abort param text cancel str createcf string swt retri param cancel button short os alert std alert cancel button param cancel text str createcf string swt ignor break int dialog ref int 1 os creat standard alert short alert type error explan param dialog ref error 0 os cf releas error explan 0 os cf releas explan default str 0 os cf releas default str cancel str 0 os cf releas cancel str str 0 os cf releas str dialog ref 0 0 short item hit short 1 os run standard alert dialog ref 0 0 item hit item hit 0 0 switch bit case swt ok return swt ok case swt cancel return swt cancel case swt ok swt cancel item hit 0 os alert std alertok button return swt ok return swt cancel case swt ye return swt ye case swt return swt case swt ye swt item hit 0 os alert std alertok button return swt ye return swt case swt ye swt swt cancel item hit 0 os alert std alertok button return swt ye item hit 0 os alert std alert button return swt return swt cancel case swt retri swt cancel item hit 0 os alert std alertok button return swt retri return swt cancel case swt abort swt retri swt ignor item hit 0 os alert std alertok button return swt abort item hit 0 os alert std alert button return swt retri return swt ignor return swt cancel swtexcept error_widget_dispos error_thread_invalid_access alerttyp kalertplainalert icon_error alerttyp kalertstopalert icon_inform alerttyp kalertnotealert icon_question alerttyp kalertnotealert icon_warn alerttyp kalertcautionalert icon_work alerttyp kalertnotealert errorstr explanationstr errorstr errorstr errorstr getchar cfstringcreatewithcharact kcfallocatordefault explanationstr explanationstr explanationstr getchar cfstringcreatewithcharact kcfallocatordefault alertstdcfstringalertparamrec alertstdcfstringalertparamrec kstdcfstringalertversionon kwindowalertpositionparentwindowscreen defaultstr cancelstr otherstr defaultbutton kalertstdalertokbutton defaulttext kalertdefaultoktext defaultbutton kalertstdalertokbutton defaulttext defaultstr createcfstr swt_cancel defaultbutton kalertstdalertokbutton defaulttext kalertdefaultoktext cancelbutton kalertstdalertcancelbutton canceltext kalertdefaultcanceltext defaultbutton kalertstdalertokbutton defaulttext defaultstr createcfstr swt_ye cancelbutton kalertstdalertokbutton canceltext defaultstr createcfstr swt_no defaultbutton kalertstdalertokbutton defaulttext defaultstr createcfstr swt_ye cancelbutton kalertstdalertcancelbutton canceltext cancelstr createcfstr swt_no defaultbutton kalertstdalertokbutton defaulttext defaultstr createcfstr swt_ye othertext cancelstr createcfstr swt_no cancelbutton kalertstdalertcancelbutton canceltext kalertdefaultcanceltext defaultbutton kalertstdalertokbutton defaulttext defaultstr createcfstr swt_retri cancelbutton kalertstdalertcancelbutton canceltext kalertdefaultcanceltext defaultbutton kalertstdalertokbutton defaulttext defaultstr createcfstr swt_abort othertext cancelstr createcfstr swt_retri cancelbutton kalertstdalertcancelbutton canceltext otherstr createcfstr swt_ignor dialogref createstandardalert alerttyp dialogref cfreleas cfreleas defaultstr cfreleas defaultstr cancelstr cfreleas cancelstr otherstr cfreleas otherstr dialogref outitemhit runstandardalert dialogref outitemhit outitemhit outitemhit kalertstdalertokbutton outitemhit kalertstdalertokbutton outitemhit kalertstdalertokbutton outitemhit kalertstdalertotherbutton outitemhit kalertstdalertokbutton outitemhit kalertstdalertokbutton outitemhit kalertstdalertotherbutton set dialog messag descript purpos open messag visibl dialog open param string messag except illeg argument except ul li error null argument string null li ul public void set messag string string string null error swt error null argument messag string illegalargumentexcept error_null_argument setmessag error_null_argument construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt smooth swt horizont swt vertic widget check subclass widget style public progress bar composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl progressbar checkstyl static int check style int style style swt focu return check bit style swt horizont swt vertic 0 0 0 0 checkstyl no_focu checkbit public point comput size int hint int hint boolean chang check widget int metric int 1 os theme metric os theme metric normal progress bar thick metric int width 0 height 0 style swt horizont 0 height metric 0 width height 10 width metric 0 height width 10 hint swt default width hint hint swt default height hint return point width height computes whint hhint checkwidget outmetr getthememetr kthememetricnormalprogressbarthick outmetr outmetr outmetr whint whint hhint hhint void creat handl int control int 1 int window os control owner parent handl os creat progress bar control window null 0 0 100 style swt indetermin 0 control control 0 0 error swt error handl handl control 0 createhandl outcontrol getcontrolown createprogressbarcontrol outcontrol outcontrol error_no_handl outcontrol void draw background int control draw background control background drawbackground drawbackground return maximum receiv allow return maximum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int maximum check widget return os control32 bit maximum handl swtexcept error_widget_dispos error_thread_invalid_access getmaximum checkwidget getcontrol32bitmaximum return minimum receiv allow return minimum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int minimum check widget return os control32 bit minimum handl swtexcept error_widget_dispos error_thread_invalid_access getminimum checkwidget getcontrol32bitminimum return singl em select em receiv posit return select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select check widget return os control32 bit handl swtexcept error_widget_dispos error_thread_invalid_access getselect checkwidget getcontrol32bitvalu set maximum receiv allow greater receiv current minimum maximum appli receiv select adjust fall rang param maximum greater current minimum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set maximum int check widget 0 return int minimum os control32 bit minimum handl minimum os set control32 bit maximum handl swtexcept error_widget_dispos error_thread_invalid_access setmaximum checkwidget getcontrol32bitminimum setcontrol32bitmaximum set minimum receiv allow neg receiv current maximum minimum appli receiv select adjust fall rang param minimum nonneg current maximum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set minimum int check widget 0 return int maximum os control32 bit maximum handl maximum os set control32 bit minimum handl swtexcept error_widget_dispos error_thread_invalid_access setminimum checkwidget getcontrol32bitmaximum setcontrol32bitminimum set singl em select em receiv posit argument greater equal param select greater except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select int check widget os set control32 bit handl featur macintosh progress bar updat event loop timer indetermin mean drawn event loop fix allow oper system timer run dispatch event displai run event loop timer swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget setcontrol32bitvalu runeventlooptim construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt horizont swt vertic widget check subclass widget style public sash composit parent int style super parent check style style int cursor style style swt vertic 0 swt cursor sizew swt cursor sizen size cursor cursor displai cursor style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl checkstyl cursorstyl cursor_sizew cursor_sizen sizecursor cursorstyl add listen collect listen notifi control select send messag defin code select listen code interfac code widget select code call width height field event object valid reciev drag event object detail field code swt drag code code widget default select code call param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten static int check style int style return check bit style swt horizont swt vertic 0 0 0 0 checkstyl checkbit public point comput size int hint int hint boolean chang check widget int width 0 height 0 style swt horizont 0 width default width height 5 width 5 height default height hint swt default width hint hint swt default height hint return point width height computes whint hhint checkwidget default_width default_height whint whint hhint hhint void creat handl int featur os control support focu int control int 1 int window os control owner parent handl os creat user pane control window null featur control control 0 0 error swt error handl handl control 0 createhandl kcontrolsupportsfocu outcontrol getcontrolown createuserpanecontrol outcontrol outcontrol error_no_handl outcontrol void draw background int control draw background control background drawbackground drawbackground int event control click int handler int event int user data int result super event control click handler event user data result os err return result enabl return os err return result keventcontrolclick nexthandl theevent userdata keventcontrolclick nexthandl theevent userdata noerr isen noerr int event control set cursor int handler int event int user data int result super event control set cursor handler event user data result os err return result displai set cursor size cursor handl return os err keventcontrolsetcursor nexthandl theevent userdata keventcontrolsetcursor nexthandl theevent userdata noerr setcursor sizecursor noerr int event mous int handler int event int user data int result super event mous handler event user data result os err return result rect rect rect os control bound handl rect int startx rect left int starti rect top int width rect rect left int height rect bottom rect top os control bound parent handl rect event event event event startx rect left event starti rect top event width width event height height send event swt select event dispos return result event doit return result int sizeof org eclips swt intern carbon point sizeof org eclips swt intern carbon point pt org eclips swt intern carbon point os event paramet event os event param mous locat os typeqd point null sizeof null pt int window os control owner handl os window bound window short os window content rgn rect int offsetx pt rect left int offseti pt rect top os control bound handl rect offsetx rect left offseti rect top int port os window port window int modifi int 1 short result short 1 org eclips swt intern carbon point pt org eclips swt intern carbon point result 0 os mous track mous os track mous locat option port 0 os event durat forev pt modifi result switch result 0 case os mous track mous case os mous track mous case os mous track mous drag os control bound parent handl rect int pt rect left int pt rect top int newx startx newi starti style swt vertic 0 int client width rect rect left newx math min math max 0 offsetx client width width int client height rect bottom rect top newi math min math max 0 offseti client height height event event event newx event newi event width width event height height event detail 0 result 0 os mous track mous drag swt drag 0 send event swt select event dispos return result event doit set bound event event width height shell shell parent shell shell updat true break default result 0 os mous track mous break return result keventmousedown nexthandl theevent userdata keventmousedown nexthandl theevent userdata noerr getcontrolbound getcontrolbound sendev isdispos geteventparamet theevent keventparammouseloc typeqdpoint getcontrolown getwindowbound kwindowcontentrgn getcontrolbound getwindowport outmodifi outresult outpt outresult kmousetrackingmouseup trackmouselocationwithopt keventdurationforev outpt outmodifi outresult outresult kmousetrackingmousedown kmousetrackingmouseup kmousetrackingmousedrag getcontrolbound outpt outpt clientwidth clientwidth clientheight clientheight outresult kmousetrackingmousedrag sendev isdispos setbound getshel outresult kmousetrackingmouseup int event control set focu part int handler int event int user data int result super event control set focu part handler event user data result os err return result point locat locat lastx locat lasti locat return os err keventcontrolsetfocuspart nexthandl theevent userdata keventcontrolsetfocuspart nexthandl theevent userdata noerr getloc noerr int event text input unicod kei event int handler int event int user data int result super event text input unicod kei event handler event user data result os err return result int keyboard event int 1 os event paramet event os event param text input send keyboard event os type event ref null keyboard event length 4 null keyboard event int kei code int 1 os event paramet keyboard event 0 os event param kei code os typeu int32 null kei code length 4 null kei code switch kei code 0 case 126 arrow case 123 left arrow case 125 arrow case 124 arrow int chang 0 chang 0 int step size page increment int modifi int 1 os event paramet event os event param kei modifi os typeu int32 null 4 null modifi modifi 0 os control kei 0 step size increment style swt vertic 0 kei code 0 126 kei code 0 125 break chang kei code 0 123 step size step size kei code 0 123 kei code 0 124 break chang kei code 0 126 step size step size rectangl bound bound int width bound width height bound height rectangl parent bound parent bound int parent width parent bound width int parent height parent bound height int newx lastx newi lasti style swt vertic 0 newx math min math max 0 lastx chang startx parent width width newi math min math max 0 lasti chang starti parent height height newx lastx newi lasti return result event doit flag event event event event newx event newi event width width event height height send event swt select event unlik client code dispos widget select event happen end process messag return dispos break event doit lastx event lasti event adjust pointer posit int cursorx newx int cursori newi style swt vertic 0 cursori height 2 cursorx width 2 displai set cursor locat parent displai cursorx cursori break return result keventtextinputunicodeforkeyev nexthandl theevent userdata keventtextinputunicodeforkeyev nexthandl theevent userdata noerr keyboardev geteventparamet theevent keventparamtextinputsendkeyboardev typeeventref keyboardev keyboardev keycod geteventparamet keyboardev keventparamkeycod typeuint32 keycod keycod keycod xchang ychang stepsiz page_increment geteventparamet theevent keventparamkeymodifi typeuint32 controlkei stepsiz keycod keycod xchang keycod stepsiz stepsiz keycod keycod ychang keycod stepsiz stepsiz getbound parentbound getbound parentwidth parentbound parentheight parentbound xchang parentwidth ychang parentheight sendev isdispos setcursorloc todisplai void releas widget super releas widget size cursor null size cursor dispos size cursor null releasewidget releasewidget sizecursor sizecursor sizecursor remov listen collect listen notifi control select param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect int travers code int kei int event return 0 traversalcod theevent construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt horizont swt vertic widget check subclass widget style public scale composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl checkstyl int action proc int control int part code send event swt select shell shell shell shell updat true return 0 actionproc thecontrol partcod sendev getshel add listen collect listen notifi receiv send messag defin code select listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten static int check style int style return check bit style swt horizont swt vertic 0 0 0 0 checkstyl checkbit public point comput size int hint int hint boolean chang check widget int width 0 height 0 style swt horizont 0 int metric int 1 os theme metric os theme metrich slider height metric height metric 0 width height 10 int metric int 1 os theme metric os theme metricv slider width metric width metric 0 height width 10 hint swt default width hint hint swt default height hint return point width height computes whint hhint checkwidget outmetr getthememetr kthememetrichsliderheight outmetr outmetr outmetr getthememetr kthememetricvsliderwidth outmetr outmetr whint whint hhint hhint void creat handl int action proc displai action proc int control int 1 int window os control owner parent handl os creat slider control window null 0 0 100 os control slider point short 0 true action proc control control 0 0 error swt error handl handl control 0 createhandl actionproc actionproc outcontrol getcontrolown createslidercontrol kcontrolsliderdoesnotpoint actionproc outcontrol outcontrol error_no_handl outcontrol return amount receiv modifi left arrow press return increment except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int increment check widget return increment swtexcept error_widget_dispos error_thread_invalid_access getincr checkwidget return maximum receiv allow return maximum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int maximum check widget return os control32 bit maximum handl swtexcept error_widget_dispos error_thread_invalid_access getmaximum checkwidget getcontrol32bitmaximum return minimum receiv allow return minimum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int minimum check widget return os control32 bit minimum handl swtexcept error_widget_dispos error_thread_invalid_access getminimum checkwidget getcontrol32bitminimum return amount receiv modifi page increment decrement area select return page increment except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int page increment check widget return page increment swtexcept error_widget_dispos error_thread_invalid_access getpageincr checkwidget pageincr return singl em select em receiv posit return select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select check widget return os control32 bit handl swtexcept error_widget_dispos error_thread_invalid_access getselect checkwidget getcontrol32bitvalu remov listen collect listen notifi receiv param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect set amount receiv modifi left arrow press argument param increment increment greater except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set increment int check widget 1 return increment swtexcept error_widget_dispos error_thread_invalid_access setincr checkwidget set maximum receiv allow greater receiv current minimum maximum appli receiv select adjust fall rang param maximum greater current minimum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set maximum int check widget 0 return int minimum os control32 bit minimum handl minimum os set control32 bit maximum handl swtexcept error_widget_dispos error_thread_invalid_access setmaximum checkwidget getcontrol32bitminimum setcontrol32bitmaximum set minimum receiv allow neg receiv current maximum minimum appli receiv select adjust fall rang param minimum nonneg current maximum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set minimum int check widget 0 return int maximum os control32 bit maximum handl maximum os set control32 bit minimum handl swtexcept error_widget_dispos error_thread_invalid_access setminimum checkwidget getcontrol32bitmaximum setcontrol32bitminimum set amount receiv modifi page increment decrement area select argument param page increment page increment greater except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set page increment int check widget 1 return page increment pageincr swtexcept error_widget_dispos error_thread_invalid_access setpageincr checkwidget pageincr set singl em select em receiv argument greater equal param select greater except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select int check widget os set control32 bit handl swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget setcontrol32bitvalu scroll bar horizont bar vertic bar scrollabl scrollbar horizontalbar verticalbar construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt scroll swt scroll widget check subclass widget style public scrollabl composit parent int style super parent style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass h_scroll v_scroll checksubclass getstyl desir em client area em receiv argument return bound rectangl requir produc client area word return rectangl receiv bound set rectangl area receiv capabl displai data cover trim rectangl argument rel receiv parent param desir coordin client area param desir coordin client area param width desir width client area param height desir height client area return requir bound produc client area except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul client area public rectangl comput trim int int int width int height check widget int metric int 1 os theme metric os theme metric scroll bar width metric horizont bar null height metric 0 vertic bar null width metric 0 rect inset inset inset left inset top width inset left inset height inset top inset bottom return rectangl width height swtexcept error_widget_dispos error_thread_invalid_access getclientarea computetrim checkwidget outmetr getthememetr kthememetricscrollbarwidth outmetr horizontalbar outmetr verticalbar outmetr scroll bar creat scroll bar int style return scroll bar style scrollbar createscrollbar scrollbar scroll bar creat standard bar int style short count short 1 os count control handl count count 0 0 return null int control int 1 int index style swt scroll 0 1 2 int statu os index control handl short index control statu os err return null scroll bar bar scroll bar bar parent bar style style bar displai displai bar handl control 0 bar regist bar hook event return bar scrollbar createstandardbar countsubcontrol outcontrol h_scroll getindexedsubcontrol outcontrol noerr scrollbar scrollbar outcontrol hookev void creat widget super creat widget style swt scroll 0 horizont bar creat scroll bar swt scroll style swt scroll 0 vertic bar creat scroll bar swt scroll createwidget createwidget h_scroll horizontalbar createscrollbar h_scroll v_scroll verticalbar createscrollbar v_scroll void deregist super deregist scroll handl 0 displai remov widget scroll handl scrolledhandl removewidget scrolledhandl return rectangl describ area receiv capabl displai data cover trim return client area except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul comput trim public rectangl client area check widget rect rect rect os control bound handl rect return rectangl 0 0 rect rect left rect bottom rect top swtexcept error_widget_dispos error_thread_invalid_access computetrim getclientarea checkwidget getcontrolbound return receiv horizont scroll bar null return horizont scroll bar null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public scroll bar horizont bar check widget return horizont bar swtexcept error_widget_dispos error_thread_invalid_access scrollbar gethorizontalbar checkwidget horizontalbar return receiv vertic scroll bar null return vertic scroll bar null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public scroll bar vertic bar check widget return vertic bar swtexcept error_widget_dispos error_thread_invalid_access scrollbar getverticalbar checkwidget verticalbar boolean border return style swt border 0 hasbord void hook event super hook event canva 0 scroll handl 0 int control proc displai control proc int mask int os event class control os event control draw int control target os control event target scroll handl os instal event handler control target control proc mask length 2 mask scroll handl null hookev hookev scrolledhandl controlproc controlproc keventclasscontrol keventcontroldraw controltarget getcontroleventtarget scrolledhandl installeventhandl controltarget controlproc scrolledhandl boolean hook kei return hook swt kei hook swt kei hook swt travers hookskei keydown keyup rect inset canva 0 rect rect rect int metric int 1 draw focu ring style swt focu 0 hook kei os theme metric os theme metric focu rect outset metric rect left metric 0 rect top metric 0 rect metric 0 rect bottom metric 0 border os theme metric os theme metric edit text frame outset metric rect left metric 0 rect top metric 0 rect metric 0 rect bottom metric 0 return rect return empti rect outmetr drawfocusr no_focu hookskei getthememetr kthememetricfocusrectoutset outmetr outmetr outmetr outmetr outmetr hasbord getthememetr kthememetricedittextframeoutset outmetr outmetr outmetr outmetr outmetr empti_rect boolean trim handl int trim handl horizont bar null horizont bar handl trim handl return true vertic bar null vertic bar handl trim handl return true return trim handl scroll handl istrimhandl trimhandl horizontalbar horizontalbar trimhandl verticalbar verticalbar trimhandl trimhandl scrolledhandl int event mous wheel move int handler int event int user data int result super event mous wheel move handler event user data result os err return result canva 0 short wheel axi short 1 os event paramet event os event param mous wheel axi os type mous wheel axi null 2 null wheel axi scroll bar bar wheel axi 0 os event mous wheel axisx horizont bar vertic bar bar null bar visibl int wheel delta int 1 os event paramet event os event param mous wheel delta os type int32 null 4 null wheel delta bar set select math max 0 bar select bar increment wheel delta 0 event event event event detail wheel delta 0 0 swt page swt page bar send event swt select event displai displai displai displai updat updat featur macintosh reason event handl err return event mous wheel move event twice control mous wheel data fix return err stop event process return os err int posit vertic bar null 0 vertic bar select int posit horizont bar null 0 horizont bar select result os call event handler handler event vertic bar null int posit vertic bar select posit posit event event event event detail posit posit swt page swt page vertic bar send event swt select event horizont bar null int posit horizont bar select posit posit event event event event detail posit posit swt page swt page horizont bar send event swt select event return result keventmousewheelmov nexthandl theevent userdata keventmousewheelmov nexthandl theevent userdata noerr wheelaxi geteventparamet theevent keventparammousewheelaxi typemousewheelaxi wheelaxi scrollbar wheelaxi keventmousewheelaxisx horizontalbar verticalbar getvis wheeldelta geteventparamet theevent keventparammousewheeldelta typesint32 wheeldelta setselect getselect getincr wheeldelta wheeldelta page_up page_down sendev getdisplai eventnothandlederr keventmousewheelmov noerr noerr vposit verticalbar verticalbar getselect hposit horizontalbar horizontalbar getselect callnexteventhandl nexthandl theevent verticalbar verticalbar getselect vposit vposit page_up page_down verticalbar sendev horizontalbar horizontalbar getselect hposit vposit page_up page_down horizontalbar sendev void layout control boolean event scroll handl 0 return int width 0 height 0 int metric int 1 os theme metric os theme metric scroll bar width metric boolean visibleh bar horizont bar null horizont bar visibl boolean visiblev bar vertic bar null vertic bar visibl visibleh bar height metric 0 visiblev bar width metric 0 rect rect rect os control bound scroll handl rect rect inset inset int width math max 0 rect rect left width inset left inset int height math max 0 rect bottom rect top height inset top inset bottom set bound handl inset left inset top width height true true fals visibleh bar set bound horizont bar handl inset left inset top height width height true true fals visiblev bar set bound vertic bar handl inset left width inset top width height true true fals event send event swt resiz layoutcontrol scrolledhandl vwidth hheight outmetr getthememetr kthememetricscrollbarwidth outmetr isvisiblehbar horizontalbar horizontalbar getvis isvisiblevbar verticalbar verticalbar getvis isvisiblehbar hheight outmetr isvisiblevbar vwidth outmetr getcontrolbound scrolledhandl vwidth hheight setbound isvisiblehbar setbound horizontalbar hheight isvisiblevbar setbound verticalbar vwidth sendev void regist super regist scroll handl 0 displai add widget scroll handl scrolledhandl addwidget scrolledhandl void releas handl super releas handl scroll handl 0 releasehandl releasehandl scrolledhandl void releas widget horizont bar null horizont bar releas resourc vertic bar null vertic bar releas resourc horizont bar vertic bar null super releas widget releasewidget horizontalbar horizontalbar releaseresourc verticalbar verticalbar releaseresourc horizontalbar verticalbar releasewidget void reset visibl region int control vertic bar null vertic bar reset visibl region control horizont bar null horizont bar reset visibl region control super reset visibl region control resetvisibleregion verticalbar verticalbar resetvisibleregion horizontalbar horizontalbar resetvisibleregion resetvisibleregion int set bound int control int int int width int height boolean move boolean resiz boolean event int result super set bound control width height move resiz fals result move 0 event send event swt move result resiz 0 control scroll handl layout control fals event send event swt resiz return result setbound setbound sendev scrolledhandl layoutcontrol sendev void set scrollbar visibl scroll bar bar boolean visibl scroll handl 0 return visibl bar hidden 0 return bar hidden bar hidden 0 return bar hidden set visibl bar handl visibl layout control true bar send event visibl swt show swt hide setscrollbarvis scrollbar scrolledhandl setvis layoutcontrol sendev int top handl scroll handl 0 return scroll handl return handl tophandl scrolledhandl scrolledhandl int page increment 10 scroll bar pageincr scrollbar scroll bar scrollabl parent int style super parent check style style parent parent creat widget scrollbar checkstyl createwidget add listen collect listen notifi receiv send messag defin code select listen code interfac code widget select code call event object detail field valu code 0 code end drag code swt drag code code swt home code code swt end code code swt arrow code code swt arrow code code swt page code code swt page code code widget default select code call param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect arrow_down arrow_up page_down page_up widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten static int check style int style return check bit style swt horizont swt vertic 0 0 0 0 checkstyl checkbit int action proc int control int part code event event event int os control32 bit handl switch part code case os control button part increment event detail swt arrow break case os control page part page increment event detail swt page break case os control page part page increment event detail swt page break case os control button part increment event detail swt arrow break case os control indic part drag true event detail swt drag break default return 0 os set control32 bit handl send event swt select event parent updat true return 0 actionproc thecontrol partcod getcontrol32bitvalu partcod kcontrolupbuttonpart arrow_up kcontrolpageuppart pageincr page_up kcontrolpagedownpart pageincr page_down kcontroldownbuttonpart arrow_down kcontrolindicatorpart setcontrol32bitvalu sendev void destroi widget int control handl releas handl control 0 os dispos control control destroywidget thecontrol releasehandl thecontrol disposecontrol thecontrol void enabl widget boolean enabl enabl os enabl control handl os disabl control handl enablewidget enablecontrol disablecontrol void creat handl int action proc displai action proc int control int 1 int window os control owner parent scroll handl os creat scroll bar control window null 0 0 90 10 true action proc control control 0 0 error swt error handl handl control 0 createhandl actionproc actionproc outcontrol getcontrolown scrolledhandl createscrollbarcontrol actionproc outcontrol outcontrol error_no_handl outcontrol void creat widget super creat widget setz order createwidget createwidget setzord void deregist super deregist displai remov widget handl removewidget int draw count int control return parent draw count control getdrawcount getdrawcount return code true code receiv enabl code fals code disabl control typic select user interfac draw inact grai look return receiv enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul enabl public boolean enabl check widget return disabl 0 swtexcept error_widget_dispos error_thread_invalid_access isen geten checkwidget return amount receiv modifi left arrow press return increment except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int increment check widget return increment swtexcept error_widget_dispos error_thread_invalid_access getincr checkwidget return maximum receiv allow return maximum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int maximum check widget int maximum os control32 bit maximum handl 0x7fffffff int view size os control view size handl return maximum view size swtexcept error_widget_dispos error_thread_invalid_access getmaximum checkwidget getcontrol32bitmaximum viewsiz getcontrolviews viewsiz return minimum receiv allow return minimum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int minimum check widget return os control32 bit minimum handl 0x7fffffff swtexcept error_widget_dispos error_thread_invalid_access getminimum checkwidget getcontrol32bitminimum return amount receiv modifi page increment decrement area select return page increment except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int page increment check widget return page increment swtexcept error_widget_dispos error_thread_invalid_access getpageincr checkwidget pageincr return receiv parent scrollabl return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public scrollabl parent check widget return parent swtexcept error_widget_dispos error_thread_invalid_access getpar checkwidget return singl em select em receiv return select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select check widget return os control32 bit handl 0x7fffffff swtexcept error_widget_dispos error_thread_invalid_access getselect checkwidget getcontrol32bitvalu return point describ receiv size coordin result width receiv coordin result height receiv return receiv size except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point size check widget rect rect control size handl return point rect rect left rect bottom rect top swtexcept error_widget_dispos error_thread_invalid_access getsiz checkwidget getcontrols answer size receiv thumb rel differ maximum minimum valu return thumb except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul scroll bar public int thumb check widget return os control view size handl swtexcept error_widget_dispos error_thread_invalid_access scrollbar getthumb checkwidget getcontrolviews return code true code receiv visibl code fals code receiv ancestor visibl condit make receiv visibl method consid visibl actual show return receiv visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean visibl check widget return hidden 0 swtexcept error_widget_dispos error_thread_invalid_access getvis checkwidget int visibl region int control boolean clip children visibl rgn 0 visibl rgn os rgn calcul visibl region control visibl rgn clip children int result os rgn os copi rgn visibl rgn result return result getvisibleregion clipchildren visiblergn visiblergn newrgn calculatevisibleregion visiblergn clipchildren newrgn copyrgn visiblergn void hook event super hook event int control proc displai control proc int mask int os event class control os event control draw int control target os control event target handl os instal event handler control target control proc mask length 2 mask handl null hookev hookev controlproc controlproc keventclasscontrol keventcontroldraw controltarget getcontroleventtarget installeventhandl controltarget controlproc void invalid visibl region int control reset visibl region control parent reset visibl region control invalidatevisibleregion resetvisibleregion resetvisibleregion void inval window rgn int window int rgn parent inval window rgn window rgn invalwindowrgn invalwindowrgn boolean draw int control featur macintosh scroll bar data browser invis accord control visibl despit fact drawn fix check visibl flag call control visibl note resiz control visibl return true allow clip properli calcul return visibl draw count control 0 isdraw databrows iscontrolvis iscontrolvis iscontrolvis isvis getdrawcount return code true code receiv enabl receiv ancestor enabl code fals code disabl control typic select user interfac draw inact grai look return receiv enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul enabl public boolean enabl check widget return enabl parent enabl swtexcept error_widget_dispos error_thread_invalid_access geten isen checkwidget geten isen boolean trim handl int trim handl return handl trim handl istrimhandl trimhandl trimhandl return code true code receiv visibl receiv ancestor visibl code fals code return receiv visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul visibl public boolean visibl check widget return visibl parent visibl swtexcept error_widget_dispos error_thread_invalid_access getvis isvis checkwidget getvis isvis int event mous int handler int event int user data int statu super event mous handler event user data statu os err return statu drag fals statu os call event handler handler event drag event event event send event swt select event drag fals return statu keventmousedown nexthandl theevent userdata keventmousedown nexthandl theevent userdata noerr callnexteventhandl nexthandl theevent sendev void redraw redraw widget handl fals redrawwidget remov listen collect listen notifi receiv param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect void regist super regist displai add widget handl addwidget void releas child super releas child parent horizont bar parent horizont bar null parent vertic bar parent vertic bar null parent layout control true releasechild releasechild horizontalbar horizontalbar verticalbar verticalbar layoutcontrol void releas handl super releas handl handl 0 releasehandl releasehandl void releas widget super releas widget visibl rgn 0 os dispos rgn visibl rgn visibl rgn 0 parent null releasewidget releasewidget visiblergn disposergn visiblergn visiblergn void reset visibl region int control visibl rgn 0 os dispos rgn visibl rgn visibl rgn 0 resetvisibleregion visiblergn disposergn visiblergn visiblergn set amount receiv modifi left arrow press argument param increment greater except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set increment int check widget 1 return increment swtexcept error_widget_dispos error_thread_invalid_access setincr checkwidget enabl receiv argument code true code disabl disabl control typic select user interfac draw inact grai look param enabl enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set enabl boolean enabl check widget enabl disabl 0 return disabl os enabl control handl disabl 0 return disabl os disabl control handl swtexcept error_widget_dispos error_thread_invalid_access seten checkwidget enablecontrol disablecontrol set maximum neg equal minimum thumb select adjust fit rang param maximum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set maximum int check widget 0 return int minimum os control32 bit minimum handl minimum return int view size os control view size handl minimum view size view size minimum os set control view size handl view size os set control32 bit maximum handl view size swtexcept error_widget_dispos error_thread_invalid_access setmaximum checkwidget getcontrol32bitminimum viewsiz getcontrolviews viewsiz viewsiz setcontrolviews viewsiz setcontrol32bitmaximum viewsiz set minimum valu neg greater equal maximum thumb select adjust fit rang param minimum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set minimum int check widget 0 return int view size os control view size handl int maximum os control32 bit maximum handl view size maximum return maximum view size view size maximum os set control32 bit maximum handl maximum view size os set control view size handl view size os set control32 bit minimum handl swtexcept error_widget_dispos error_thread_invalid_access setminimum checkwidget viewsiz getcontrolviews getcontrol32bitmaximum viewsiz viewsiz viewsiz setcontrol32bitmaximum viewsiz setcontrolviews viewsiz setcontrol32bitminimum set amount receiv modifi page increment decrement area select argument param page increment greater except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set page increment int check widget 1 return page increment swtexcept error_widget_dispos error_thread_invalid_access setpageincr checkwidget pageincr set singl em select em receiv argument greater equal param select select greater except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select int check widget os set control32 bit handl swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget setcontrol32bitvalu set size receiv thumb rel differ maximum minimum valu will clamp exce receiv current rang param thumb larger size current rang except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set thumb int check widget 1 return int minimum os control32 bit minimum handl int view size os control view size handl int maximum os control32 bit maximum handl view size math min maximum minimum os set control32 bit maximum handl maximum os set control view size handl swtexcept error_widget_dispos error_thread_invalid_access setthumb checkwidget getcontrol32bitminimum viewsiz getcontrolviews getcontrol32bitmaximum viewsiz setcontrol32bitmaximum setcontrolviews set receiv select minimum maximum thumb increment page increment note equival set valu individu method implement effici fashion platform param select select param minimum minimum param maximum maximum param thumb thumb param increment increment param page increment page increment except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set valu int select int minimum int maximum int thumb int increment int page increment check widget minimum 0 return maximum 0 return thumb 1 return increment 1 return page increment 1 return thumb math min thumb maximum minimum os set control32 bit minimum handl minimum os set control32 bit maximum handl maximum thumb os set control view size handl thumb os set control32 bit handl select increment increment page increment page increment pageincr pageincr swtexcept error_widget_dispos error_thread_invalid_access setvalu pageincr checkwidget pageincr setcontrol32bitminimum setcontrol32bitmaximum setcontrolviews setcontrol32bitvalu pageincr pageincr mark receiv visibl argument code true code mark invis receiv ancestor visibl condit make receiv visibl mark visibl actual displai param visibl visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set visibl boolean visibl check widget parent set scrollbar visibl visibl swtexcept error_widget_dispos error_thread_invalid_access setvis checkwidget setscrollbarvis void setz order os hi view add subview parent scroll handl handl setzord hiviewaddsubview scrolledhandl construct instanc class equival call code shell displai null code except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul public shell displai null swtexcept error_thread_invalid_access error_invalid_subclass construct instanc class style describ behavior appear equival call code shell displai null style code style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param style style control construct except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt border swt close swt min swt max swt resiz swt titl swt trim swt shell trim swt dialog trim swt modeless swt primari modal swt applic modal swt system modal public shell int style displai null style swtexcept error_thread_invalid_access error_invalid_subclass no_trim shell_trim dialog_trim primari_modal applic_modal system_modal construct instanc class displai creat creat style code swt shell trim code note null pass displai argument effect creat shell activ displai there current displai shell creat default displai pass null displai argument consid code style support futur releas swt param displai displai creat shell except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul public shell displai displai displai swt shell trim shell_trim swtexcept error_thread_invalid_access error_invalid_subclass shell_trim construct instanc class displai creat style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass p note null pass displai argument effect creat shell activ displai there current displai shell creat default displai pass null displai argument consid code style support futur releas swt param displai displai creat shell param style style control construct except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt border swt close swt min swt max swt resiz swt titl swt trim swt shell trim swt dialog trim swt modeless swt primari modal swt applic modal swt system modal public shell displai displai int style displai null style 0 swtexcept error_thread_invalid_access error_invalid_subclass no_trim shell_trim dialog_trim primari_modal applic_modal system_modal shell displai displai shell parent int style int handl super check subclass displai null displai displai current displai null displai displai default displai valid thread error swt error thread invalid access style check style style parent parent displai displai handl handl creat widget checksubclass getcurr getdefault isvalidthread error_thread_invalid_access checkstyl createwidget construct instanc class parent creat style code swt dialog trim code note null pass parent effect creat shell activ displai there current displai shell creat default displai pass null parent consid code style support futur releas swt param parent shell parent instanc except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul public shell shell parent parent swt dialog trim dialog_trim illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass dialog_trim construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass p note null pass parent effect creat shell activ displai there current displai shell creat default displai pass null parent consid code style support futur releas swt param parent shell parent instanc param style style control construct except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt border swt close swt min swt max swt resiz swt titl swt trim swt shell trim swt dialog trim swt modeless swt primari modal swt applic modal swt system modal public shell shell parent int style parent null parent displai null parent style 0 swtexcept error_thread_invalid_access error_invalid_subclass no_trim shell_trim dialog_trim primari_modal applic_modal system_modal static int check style int style style decor check style style int mask swt system modal swt applic modal swt primari modal int bit style mask style swt system modal 0 return bit swt system modal style swt applic modal 0 return bit swt applic modal style swt primari modal 0 return bit swt primari modal return bit checkstyl checkstyl system_modal applic_modal primari_modal system_modal system_modal applic_modal applic_modal primari_modal primari_modal add listen collect listen notifi oper perform receiv send listen messag defin code shell listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul shell listen remov shell listen public void add shell listen shell listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt activ type listen add listen swt close type listen add listen swt deactiv type listen add listen swt iconifi type listen add listen swt deiconifi type listen shelllisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access shelllisten removeshelllisten addshelllisten shelllisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten typedlisten addlisten typedlisten addlisten typedlisten addlisten typedlisten void bring top boolean forc forc forc activ set activ bringtotop forceact setact request window manag close receiv close user click close box perform platform specif kei mous combin window remov except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul swt close dispos public void close check widget close widget swtexcept error_widget_dispos error_thread_invalid_access checkwidget closewidget void close widget enabl return event event event send event swt close event event doit dispos dispos closewidget isen sendev isdispos public rectangl comput trim int int int width int height check widget rectangl trim super comput trim width height rect rect rect os window structur width shell handl rect trim rect left trim rect top trim width rect left rect trim height rect top rect bottom return trim computetrim checkwidget computetrim getwindowstructurewidth shellhandl void creat handl canva grab hidden int attribut os window standard handler attribut os window composit attribut style swt trim 0 style swt close 0 attribut os window close box attribut style swt min 0 attribut os window collaps box attribut style swt max 0 attribut os window full zoom attribut style swt resiz 0 attribut os window resiz attribut bug macintosh reason window titl bar window resiz attribut rubber band feedback window resiz fix creat window window live resiz attribut case inconsist window user feedback resiz style swt titl 0 attribut os window live resiz attribut int window class os document window class style swt close swt titl 0 window class os sheet window class int window class parent null os document window class os sheet window class style swt applic modal 0 window class os movabl modal window class style swt system modal 0 window class os modal window class monitor monitor monitor rectangl rect monitor client area int width rect width 5 8 int height rect height 5 8 rect bound rect os set rect bound short 0 short 0 short width short height int window int 1 attribut os window attribut window class os creat window window class attribut bound window window 0 0 error swt error handl shell handl window 0 os reposit window shell handl 0 os window cascad main screen os set theme window background shell handl short os theme brush dialog background activ fals int root int 1 os creat root control shell handl root os root control shell handl root root 0 0 error swt error handl style swt scroll swt scroll 0 creat scroll handl root 0 creat handl root 0 os set control visibl top handl fals fals int group int 1 os creat window group os window group attr hide collaps group group 0 0 error swt error handl window group group 0 parent null shell shell parent shell int parent group shell window group os set window group shell handl parent group os set window group parent window group parent group int parent group os window group class window class os set window group parent window group parent group os set window group owner window group shell handl createhandl kwindowstandardhandlerattribut kwindowcompositingattribut no_trim kwindowcloseboxattribut kwindowcollapseboxattribut kwindowfullzoomattribut kwindowresizableattribut kwindowresizableattribut kwindowliveresizeattribut kwindowliveresizeattribut windowclass kdocumentwindowclass windowclass ksheetwindowclass windowclass kdocumentwindowclass ksheetwindowclass applic_modal windowclass kmovablemodalwindowclass system_modal windowclass kmodalwindowclass getmonitor getclientarea setrect outwindow getavailablewindowattribut windowclass createnewwindow windowclass outwindow outwindow error_no_handl shellhandl outwindow repositionwindow shellhandl kwindowcascadeonmainscreen setthemewindowbackground shellhandl kthemebrushdialogbackgroundact theroot createrootcontrol shellhandl theroot getrootcontrol shellhandl theroot theroot error_no_handl h_scroll v_scroll createscrolledhandl theroot createhandl theroot setcontrolvis tophandl outgroup createwindowgroup kwindowgroupattrhideoncollaps outgroup outgroup error_no_handl windowgroup outgroup getshel parentgroup windowgroup setwindowgroup shellhandl parentgroup setwindowgrouppar windowgroup parentgroup parentgroup getwindowgroupofclass windowclass setwindowgrouppar windowgroup parentgroup setwindowgroupown windowgroup shellhandl void creat widget super creat widget layout control fals createwidget createwidget layoutcontrol void deregist super deregist int root int 1 os root control shell handl root displai remov widget root 0 theroot getrootcontrol shellhandl theroot removewidget theroot void destroi widget int window shell handl os hide window shell handl releas handl window 0 os dispos window window destroywidget thewindow shellhandl hidewindow shellhandl releasehandl thewindow disposewindow thewindow void draw widget int control int damag rgn int visibl rgn int event super draw widget control damag rgn visibl rgn event bug macintosh event window region carbon assum origin region 0 0 ignor actual origin window shift non origin size window size region size set size set bound fix includ 0 0 bottom corner size region point transpar region null region dispos return boolean origin region 0 0 boolean limit region rgn rect 1 rgn rect bottom 1 origin limit return int context int 1 int port os window port shell handl rect port rect rect os port bound port port rect os qd begincg context port context os cg context scalectm context 0 1 1 os cg context translatectm context 0 0 port rect top port rect bottom cg rect cg rect cg rect cg rect width 1 cg rect height 1 origin os cg context clear rect context 0 cg rect limit cg rect rgn rect 1 cg rect rgn rect bottom 1 os cg context clear rect context 0 cg rect os cg context synchron context 0 os qd endcg context port context drawwidget damagergn visiblergn theevent drawwidget damagergn visiblergn theevent keventwindowgetregion setsiz setbound isdispos rgnrect rgnrect getwindowport shellhandl portrect getportbound portrect qdbegincgcontext cgcontextscalectm cgcontexttranslatectm portrect portrect cgrect cgrect cgrect cgrect cgrect cgcontextclearrect cgrect cgrect rgnrect cgrect rgnrect cgcontextclearrect cgrect cgcontextsynchron qdendcgcontext cursor find cursor return cursor findcursor move receiv top draw order displai creat shell displai receiv children drawn forc window manag shell activ except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 control move control set focu control set visibl displai activ shell decor set default button shell open shell set activ public void forc activ check widget activ return os select window shell handl os set front process option int 0 os current process os set front process front window swtexcept error_widget_dispos error_thread_invalid_access moveabov setfocu setvis getactiveshel setdefaultbutton setact forceact checkwidget selectwindow shellhandl setfrontprocesswithopt kcurrentprocess ksetfrontprocessfrontwindowonli public rectangl client area check widget rect rect rect os window bound shell handl short os window content rgn rect return rectangl 0 0 rect rect left rect bottom rect top getclientarea checkwidget getwindowbound shellhandl kwindowcontentrgn public rectangl bound check widget rect rect rect os window bound shell handl short os window structur rgn rect return rectangl rect left rect top rect rect left rect bottom rect top getbound checkwidget getwindowbound shellhandl kwindowstructurergn int draw count int control trim handl control return draw count return 0 getdrawcount istrimhandl drawcount return receiv input method editor mode result bitwis ing constant defin class code swt code code code code roman code code dbc code code phonet code code nativ code code alpha code return im mode except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul swt public int im input mode check widget return swt swtexcept error_widget_dispos error_thread_invalid_access getimeinputmod checkwidget public point locat check widget rect rect rect os window bound shell handl short os window structur rgn rect return point rect left rect top getloc checkwidget getwindowbound shellhandl kwindowstructurergn public boolean maxim check widget return super maxim getmaxim checkwidget getmaxim public boolean minim check widget visibl return super minim return os window collaps shell handl getminim checkwidget getvis getminim iswindowcollaps shellhandl float parent background return null getparentbackground return region defin shape shell null shell default shape return region defin shape shell null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public region region check widget return region swtexcept error_widget_dispos error_thread_invalid_access getregion checkwidget public shell shell check widget return getshel checkwidget return arrai shell descend receiv return dialog shell except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public shell shell check widget int count 0 shell shell displai shell int 0 shell length control shell shell shell shell parent shell null shell shell count int index 0 shell result shell count int 0 shell length control shell shell shell shell parent shell null shell shell result index shell return result swtexcept error_widget_dispos error_thread_invalid_access getshel checkwidget getshel public point size check widget rect rect rect os window bound shell handl short os window structur rgn rect return point rect rect left rect bottom rect top getsiz checkwidget getwindowbound shellhandl kwindowstructurergn public boolean visibl check widget return os window visibl shell handl getvis checkwidget iswindowvis shellhandl boolean border return fals hasbord void hook event super hook event int mous proc displai mous proc int window proc displai window proc int mask1 int os event class window os event window activ os event class window os event window bound chang os event class window os event window close os event class window os event window collaps os event class window os event window deactiv os event class window os event window draw content os event class window os event window expand os event class window os event window region os event class window os event window hidden os event class window os event window hit test os event class window os event window shown os event class window os event window updat int window target os window event target shell handl os instal event handler window target window proc mask1 length 2 mask1 shell handl null int mask2 int os event class mous os event mous os event class mous os event mous drag os event class mous os event mous enter os event class mous os event mous exit os event class mous os event mous move os event class mous os event mous os event class mous os event mous wheel move os instal event handler window target mous proc mask2 length 2 mask2 shell handl null hookev hookev mouseproc mouseproc windowproc windowproc keventclasswindow keventwindowactiv keventclasswindow keventwindowboundschang keventclasswindow keventwindowclos keventclasswindow keventwindowcollaps keventclasswindow keventwindowdeactiv keventclasswindow keventwindowdrawcont keventclasswindow keventwindowexpand keventclasswindow keventwindowgetregion keventclasswindow keventwindowhidden keventclasswindow keventwindowhittest keventclasswindow keventwindowshown keventclasswindow keventwindowupd windowtarget getwindoweventtarget shellhandl installeventhandl windowtarget windowproc shellhandl keventclassmous keventmousedown keventclassmous keventmousedrag keventclassmous keventmouseent keventclassmous keventmouseexit keventclassmous keventmousemov keventclassmous keventmouseup keventclassmous keventmousewheelmov installeventhandl windowtarget mouseproc shellhandl void invalid visibl region int control reset visibl region control invalid children visibl region control invalidatevisibleregion resetvisibleregion invalidatechildrenvisibleregion void inval window rgn int window int rgn bug macintosh invalid window rgn invalid window call default event window updat handler fix detect case acumul region invalid call inval window rgn default handler updat inval rgn 0 inval rgn os rgn os union rgn rgn inval rgn inval rgn os inval window rgn window rgn invalwindowrgn invalidwindowrgn keventwindowupd invalwindowrgn invalrgn invalrgn newrgn unionrgn invalrgn invalrgn invalwindowrgn public boolean enabl check widget return enabl isen checkwidget geten boolean enabl cursor return true isenabledcursor public boolean visibl check widget return visibl isvis checkwidget getvis int event window activ int handler int event int user data int result super event window activ handler event user data result os err return result bug macintosh despit window scope window activ scope event window activ event event window deactiv event fix ignor event window activ event int scope int 1 os window activ scope shell handl scope scope 0 os window activ scope return result displai set menu bar menu bar activ true send event swt activ dispos return result restor focu activ fals return result keventwindowactiv nexthandl theevent userdata keventwindowactiv nexthandl theevent userdata noerr kwindowactivationscopenon keventwindowactiv keventwindowdeactiv keventwindowactiv outscop getwindowactivationscop shellhandl outscop outscop kwindowactivationscopenon setmenubar menubar sendev isdispos restorefocu int event window bound chang int handler int event int user data int result super event window bound chang handler event user data result os err return result int attribut int 1 os event paramet event os event param attribut os typeu int32 null attribut length 4 null attribut attribut 0 os window bound chang origin chang 0 send event swt move attribut 0 os window bound chang size chang 0 resiz true layout control fals send event swt resiz layout null layout layout fals region null region dispos os event paramet event os event param current bound os typeqd rectangl null rect sizeof null rgn rect os set rect rgn rect short 0 short 0 short rgn rect rgn rect left short rgn rect bottom rgn rect top os reshap custom window shell handl return result keventwindowboundschang nexthandl theevent userdata keventwindowboundschang nexthandl theevent userdata noerr geteventparamet theevent keventparamattribut typeuint32 kwindowboundschangeoriginchang sendev kwindowboundschangesizechang layoutcontrol sendev isdispos geteventparamet theevent keventparamcurrentbound typeqdrectangl rgnrect setrect rgnrect rgnrect rgnrect rgnrect rgnrect reshapecustomwindow shellhandl int event window close int handler int event int user data int result super event window close handler event user data result os err return result close widget return os err keventwindowclos nexthandl theevent userdata keventwindowclos nexthandl theevent userdata noerr closewidget noerr int event window collaps int handler int event int user data int result super event window collaps handler event user data result os err return result minim true send event swt iconifi return result keventwindowcollaps nexthandl theevent userdata keventwindowcollaps nexthandl theevent userdata noerr sendev int event window deactiv int handler int event int user data int result super event window deactiv handler event user data result os err return result temporari code send gp post event swt deactiv dispos return result save focu save focu null bug macintosh clear keyboard focu call control focu event control set focu event indic focu lost fix ignor send focu lost event explicitli displai ignor focu true os clear keyboard focu shell handl displai ignor focu fals temporari code send gp save focu dispos save focu send focu event fals true displai set menu bar null return result keventwindowdeactiv nexthandl theevent userdata keventwindowdeactiv nexthandl theevent userdata noerr postev isdispos savefocu savedfocu clearkeyboardfocu keventcontrolsetfocu ignorefocu clearkeyboardfocu shellhandl ignorefocu savedfocu isdispos savedfocu sendfocusev setmenubar int event window draw content int handler int event int user data draw true int result os call event handler handler event draw fals reshap reshap fals os reshap custom window shell handl return result keventwindowdrawcont nexthandl theevent userdata callnexteventhandl nexthandl theevent reshapecustomwindow shellhandl int event window expand int handler int event int user data int result super event window expand handler event user data result os err return result minim fals send event swt deiconifi return result keventwindowexpand nexthandl theevent userdata keventwindowexpand nexthandl theevent userdata noerr sendev int event window region int handler int event int user data int result super event window region handler event user data result os err return result region null region dispos return os event handl err short region code short 1 os event paramet event os event param window region code os type window region code null 2 null region code int temp int 1 os event paramet event os event param rgn handl os typeqd rgn handl null 4 null temp int region temp 0 switch region code 0 case os window content rgn case os window structur rgn os rect rgn region rgn rect os sect rgn region region handl region bug macintosh event window region carbon assum origin region 0 0 ignor actual origin window shift non origin size window size region size set size set bound fix includ 0 0 bottom corner size region point transpar region 0 0 rect rect os set rect short 0 short 0 short 1 short 1 int rect rgn os rgn os rect rgn rect rgn os union rgn rect rgn region region os dispos rgn rect rgn region rgn rect 1 rgn rect bottom 1 rect rect os set rect short rgn rect 1 short rgn rect bottom 1 rgn rect rgn rect bottom int rect rgn os rgn os rect rgn rect rgn os union rgn rect rgn region region os dispos rgn rect rgn return os err default os diff rgn region region region return os err keventwindowgetregion nexthandl theevent userdata keventwindowgetregion nexthandl theevent userdata noerr isdispos eventnothandlederr regioncod geteventparamet theevent keventparamwindowregioncod typewindowregioncod regioncod geteventparamet theevent keventparamrgnhandl typeqdrgnhandl hregion regioncod kwindowcontentrgn kwindowstructurergn rectrgn hregion rgnrect sectrgn hregion hregion keventwindowgetregion setsiz setbound setrect rectrgn newrgn rectrgn rectrgn unionrgn rectrgn hregion hregion disposergn rectrgn rgnrect rgnrect setrect rgnrect rgnrect rgnrect rgnrect rectrgn newrgn rectrgn rectrgn unionrgn rectrgn hregion hregion disposergn rectrgn noerr diffrgn hregion hregion hregion noerr int event window hidden int handler int event int user data int result super event window hidden handler event user data result os err return result shell shell shell int 0 shell length shell shell shell shell dispos shell set window visibl fals return os event handl err keventwindowhidden nexthandl theevent userdata keventwindowhidden nexthandl theevent userdata noerr getshel isdispos setwindowvis eventnothandlederr int event window hit test int handler int event int user data int result super event window hit test handler event user data result os err return result region null region dispos return os event handl err org eclips swt intern carbon point pt org eclips swt intern carbon point int sizeof org eclips swt intern carbon point sizeof os event paramet event os event param mous locat os typeqd point null sizeof null pt rect rect rect os window bound shell handl short os window content rgn rect os set pt pt short pt rect left short pt rect top int rgn os rgn os rect rgn rgn rgn rect os sect rgn rgn region handl rgn short data os pt rgn pt rgn os content os hit os dispos rgn rgn os set event paramet event os event param window def part os type window def part code 2 short data return os err keventwindowhittest nexthandl theevent userdata keventwindowhittest nexthandl theevent userdata noerr isdispos eventnothandlederr geteventparamet theevent keventparammouseloc typeqdpoint getwindowbound shellhandl kwindowcontentrgn setpt newrgn rectrgn rgnrect sectrgn indata ptinrgn wincont wnohit disposergn seteventparamet theevent keventparamwindowdefpart typewindowdefpartcod indata noerr int event window shown int handler int event int user data int result super event window shown handler event user data result os err return result shell shell shell int 0 shell length shell shell shell shell dispos shell visibl shell set window visibl true return os event handl err keventwindowshown nexthandl theevent userdata keventwindowshown nexthandl theevent userdata noerr getshel isdispos getvis setwindowvis eventnothandlederr int event window updat int handler int event int user data updat true int result os call event handler handler event updat fals inval rgn 0 os inval window rgn shell handl inval rgn os dispos rgn inval rgn inval rgn 0 return result keventwindowupd nexthandl theevent userdata callnexteventhandl nexthandl theevent invalrgn invalwindowrgn shellhandl invalrgn disposergn invalrgn invalrgn void layout control boolean event rect rect rect os window bound shell handl short os window content rgn rect int control scroll handl 0 scroll handl handl set bound control 0 0 rect rect left rect bottom rect top fals true fals super layout control event layoutcontrol getwindowbound shellhandl kwindowcontentrgn scrolledhandl scrolledhandl setbound layoutcontrol move receiv top draw order displai creat shell displai receiv children drawn mark visibl set focu ask window manag shell activ except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul control move control set focu control set visibl displai activ shell decor set default button shell set activ shell forc activ public void open check widget os select window shell handl set visibl true restor focu travers group true swtexcept error_widget_dispos error_thread_invalid_access moveabov setfocu setvis getactiveshel setdefaultbutton setact forceact checkwidget selectwindow shellhandl setvis restorefocu traversegroup void regist super regist int root int 1 os root control shell handl root displai add widget root 0 theroot getrootcontrol shellhandl theroot addwidget theroot void releas handl super releas handl shell handl 0 releasehandl releasehandl shellhandl void releas shell shell shell shell int 0 shell length shell shell shell shell dispos shell dispos releaseshel getshel isdispos void releas widget releas shell super releas widget window group 0 os releas window group window group displai updat quit menu inval rgn 0 os dispos rgn inval rgn inval rgn window group 0 activ null region null releasewidget releaseshel releasewidget windowgroup releasewindowgroup windowgroup updatequitmenu invalrgn disposergn invalrgn invalrgn windowgroup lastact remov listen collect listen notifi oper perform receiv param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul shell listen add shell listen public void remov shell listen shell listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt activ listen event tabl unhook swt close listen event tabl unhook swt deactiv listen event tabl unhook swt iconifi listen event tabl unhook swt deiconifi listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access shelllisten addshelllisten removeshelllisten shelllisten checkwidget error_null_argument eventt eventt eventt eventt eventt eventt move receiv top draw order displai creat shell displai receiv children drawn ask window manag shell activ except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 control move control set focu control set visibl displai activ shell decor set default button shell open shell set activ public void set activ check widget activ return os select window shell handl swtexcept error_widget_dispos error_thread_invalid_access moveabov setfocu setvis getactiveshel setdefaultbutton setact setact checkwidget selectwindow shellhandl void set activ control control control control null control dispos control null activ null activ dispos activ null activ control return comput list control activ deactiv find common parent control control activ control null control 0 control path control deactiv activ null control 0 activ path activ control int index 0 length math min activ length deactiv length index length activ index deactiv index break index unlik applic code destroi widget happen process widget dispos int deactiv length 1 index deactiv dispos deactiv send event swt deactiv int activ length 1 index activ dispos activ send event swt activ setactivecontrol isdispos lastact lastact isdispos lastact lastact getpath lastact lastact getpath lastact isdispos sendev isdispos sendev public void set bound int int int width int height check widget width math max 0 width height math max 0 height rect rect rect os set rect rect short short short width short height os set window bound shell handl short os window structur rgn rect setbound checkwidget setrect setwindowbound shellhandl kwindowstructurergn public void set enabl boolean enabl check widget disabl 0 enabl return super set enabl enabl enabl os window activ shell handl restor focu travers group fals seten checkwidget seten iswindowact shellhandl restorefocu traversegroup public void set menu bar menu menu check widget super set menu bar menu displai activ shell displai set menu bar menu bar setmenubar checkwidget setmenubar getactiveshel setmenubar menubar set input method editor mode argument result bitwis ing constant defin class code swt code code code code roman code code dbc code code phonet code code nativ code code alpha code param mode im mode except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul swt public void set im input mode int mode check widget swtexcept error_widget_dispos error_thread_invalid_access setimeinputmod checkwidget public void set locat int int check widget rect rect rect os window bound shell handl short os window structur rgn rect int width rect rect left int height rect bottom rect top os set rect rect short short short width short height os set window bound shell handl short os window structur rgn rect setloc checkwidget getwindowbound shellhandl kwindowstructurergn setrect setwindowbound shellhandl kwindowstructurergn public void set maxim boolean maxim check widget super set maxim maxim org eclips swt intern carbon point pt org eclips swt intern carbon point short part code short maxim os zoom os zoom fixm return 50 err param os zoom window ideal shell handl part code pt setmaxim checkwidget setmaxim inpartcod inzoomout inzoomin errparam zoomwindowid shellhandl inpartcod public void set minim boolean minim check widget minim minim return super set minim minim minim os window collaps shell handl activ os select window shell handl os collaps window shell handl minim setminim checkwidget setminim iswindowcollaps shellhandl selectwindow shellhandl collapsewindow shellhandl set shape shell region argument argument null default shape shell restor shell creat style swt trim order region param region region defin shape shell null except illeg argument except ul li error invalid argument region dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set region region region check widget style swt trim 0 return region null region dispos error swt error invalid argument region null rgn rect null rgn rect null rgn rect rect os window bound shell handl short os window structur rgn rgn rect os set rect rgn rect short 0 short 0 short rgn rect rgn rect left short rgn rect bottom rgn rect top region region bug macintosh call reshap custom window event window draw content handler origin show window deadlock fix detect case call reshap custom window default handler draw reshap true os reshap custom window shell handl no_trim illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setregion checkwidget no_trim isdispos error_invalid_argument rgnrect rgnrect rgnrect getwindowbound shellhandl kwindowstructurergn rgnrect setrect rgnrect rgnrect rgnrect rgnrect rgnrect reshapecustomwindow keventwindowdrawcont showwindow reshapecustomwindow reshapecustomwindow shellhandl public void set size int width int height check widget width math max 0 width height math max 0 height rect rect rect os window bound shell handl short os window structur rgn rect os set rect rect rect left rect top short rect left width short rect top height os set window bound shell handl short os window structur rgn rect setsiz checkwidget getwindowbound shellhandl kwindowstructurergn setrect setwindowbound shellhandl kwindowstructurergn public void set text string string check widget string null error swt error null argument super set text string char buffer char string length string char 0 buffer length buffer 0 int ptr os cf string creat charact os kcf alloc default buffer buffer length ptr 0 error swt error set text os set window titl withcf string shell handl ptr os cf releas ptr settext checkwidget error_null_argument settext getchar cfstringcreatewithcharact kcfallocatordefault error_cannot_set_text setwindowtitlewithcfstr shellhandl cfreleas public void set visibl boolean visibl check widget visibl hidden 0 return hidden hidden 0 return hidden set window visibl visibl setvis checkwidget setwindowvis void set window visibl boolean visibl os window visibl shell handl visibl return visibl resiz send event swt resiz layout null layout layout fals send event swt show dispos return int modal kind os window modal style swt primari modal 0 modal kind os window modal window modal style swt applic modal 0 modal kind os window modal app modal style swt system modal 0 modal kind os window modal system modal modal kind os window modal int unavail window 0 parent null unavail window os control owner parent handl os set window modal shell handl modal kind unavail window int top handl top handl os set control visibl top handl true fals invalid visibl region top handl int scope int 1 style swt top 0 os window activ scope shell handl scope os set window activ scope shell handl os window activ scope int shell handl shell handl os retain window shell handl os show window shell handl os releas window shell handl dispos minim os window collaps shell handl os collaps window shell handl minim style swt top 0 os set window activ scope shell handl scope 0 os hide window shell handl int top handl top handl os set control visibl top handl fals fals invalid visibl region top handl send event swt hide displai updat quit menu setwindowvis iswindowvis shellhandl sendev sendev isdispos inmodalkind kwindowmodalitynon primari_modal inmodalkind kwindowmodalitywindowmod applic_modal inmodalkind kwindowmodalityappmod system_modal inmodalkind kwindowmodalitysystemmod inmodalkind kwindowmodalitynon inunavailablewindow inunavailablewindow getcontrolown setwindowmod shellhandl inmodalkind inunavailablewindow tophandl tophandl setcontrolvis tophandl invalidatevisibleregion tophandl on_top getwindowactivationscop shellhandl setwindowactivationscop shellhandl kwindowactivationscopenon shellhandl shellhandl retainwindow shellhandl showwindow shellhandl releasewindow shellhandl isdispos iswindowcollaps shellhandl collapsewindow shellhandl on_top setwindowactivationscop shellhandl hidewindow shellhandl tophandl tophandl setcontrolvis tophandl invalidatevisibleregion tophandl sendev updatequitmenu void setz order scroll handl 0 os hi view add subview scroll handl handl setzord scrolledhandl hiviewaddsubview scrolledhandl void setz order control control boolean move window os bring front shell handl int window control null 0 os control owner control handl os send shell handl window setzord bringtofront shellhandl getcontrolown sendbehind shellhandl boolean travers escap parent null return fals visibl enabl return fals close return true traverseescap isvis isen construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt horizont swt vertic widget check subclass widget style public slider composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl checkstyl add listen collect listen notifi receiv send messag defin code select listen code interfac code widget select code call event object detail field valu code 0 code end drag code swt drag code code swt home code code swt end code code swt arrow code code swt arrow code code swt page code code swt page code code widget default select code call param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect arrow_down arrow_up page_down page_up widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten static int check style int style return check bit style swt horizont swt vertic 0 0 0 0 checkstyl checkbit int action proc int control int part code event event event int os control32 bit handl switch part code case os control button part increment event detail swt arrow break case os control page part page increment event detail swt page break case os control page part page increment event detail swt page break case os control button part increment event detail swt arrow break case os control indic part drag true event detail swt drag break default return 0 os set control32 bit handl send event swt select event shell shell shell shell updat true return 0 actionproc thecontrol partcod getcontrol32bitvalu partcod kcontrolupbuttonpart arrow_up kcontrolpageuppart pageincr page_up kcontrolpagedownpart pageincr page_down kcontroldownbuttonpart arrow_down kcontrolindicatorpart setcontrol32bitvalu sendev getshel public point comput size int hint int hint boolean chang check widget int metric int 1 os theme metric os theme metric scroll bar width metric int width 0 height 0 style swt horizont 0 height metric 0 width height 10 width metric 0 height width 10 hint swt default width hint hint swt default height hint return point width height computes whint hhint checkwidget outmetr getthememetr kthememetricscrollbarwidth outmetr outmetr outmetr whint whint hhint hhint void creat handl int action proc displai action proc int control int 1 int window os control owner parent handl os creat scroll bar control window null 0 0 90 10 true action proc control control 0 0 error swt error handl handl control 0 createhandl actionproc actionproc outcontrol getcontrolown createscrollbarcontrol actionproc outcontrol outcontrol error_no_handl outcontrol void draw background int control draw background control background drawbackground drawbackground return amount receiv modifi left arrow press return increment except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int increment check widget return increment swtexcept error_widget_dispos error_thread_invalid_access getincr checkwidget return maximum receiv allow return maximum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int maximum check widget int maximum os control32 bit maximum handl int view size os control view size handl return maximum view size swtexcept error_widget_dispos error_thread_invalid_access getmaximum checkwidget getcontrol32bitmaximum viewsiz getcontrolviews viewsiz return minimum receiv allow return minimum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int minimum check widget return os control32 bit minimum handl swtexcept error_widget_dispos error_thread_invalid_access getminimum checkwidget getcontrol32bitminimum return amount receiv modifi page increment decrement area select return page increment except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int page increment check widget return page increment swtexcept error_widget_dispos error_thread_invalid_access getpageincr checkwidget pageincr return singl em select em receiv return select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select check widget return os control32 bit handl swtexcept error_widget_dispos error_thread_invalid_access getselect checkwidget getcontrol32bitvalu return size receiv thumb rel differ maximum minimum valu return thumb except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int thumb check widget return os control view size handl swtexcept error_widget_dispos error_thread_invalid_access getthumb checkwidget getcontrolviews int event mous int handler int event int user data int statu super event mous handler event user data statu os err return statu drag fals statu os call event handler handler event drag event event event send event swt select event drag fals return statu keventmousedown nexthandl theevent userdata keventmousedown nexthandl theevent userdata noerr callnexteventhandl nexthandl theevent sendev remov listen collect listen notifi receiv param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect set amount receiv modifi left arrow press argument param increment greater except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set increment int check widget 1 return increment swtexcept error_widget_dispos error_thread_invalid_access setincr checkwidget set maximum neg equal minimum thumb select adjust fit rang param maximum greater current minimum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set maximum int check widget 0 return int minimum os control32 bit minimum handl minimum return int view size os control view size handl minimum view size view size minimum os set control view size handl view size os set control32 bit maximum handl view size swtexcept error_widget_dispos error_thread_invalid_access setmaximum checkwidget getcontrol32bitminimum viewsiz getcontrolviews viewsiz viewsiz setcontrolviews viewsiz setcontrol32bitmaximum viewsiz set minimum valu neg greater equal maximum thumb select adjust fit rang param minimum except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set minimum int check widget 0 return int view size os control view size handl int maximum os control32 bit maximum handl view size maximum return maximum view size view size maximum os set control32 bit maximum handl maximum view size os set control view size handl view size os set control32 bit minimum handl swtexcept error_widget_dispos error_thread_invalid_access setminimum checkwidget viewsiz getcontrolviews getcontrol32bitmaximum viewsiz viewsiz viewsiz setcontrol32bitmaximum viewsiz setcontrolviews viewsiz setcontrol32bitminimum set amount receiv modifi page increment decrement area select argument param page increment greater except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set page increment int check widget 1 return page increment swtexcept error_widget_dispos error_thread_invalid_access setpageincr checkwidget pageincr set singl em select em receiv argument greater equal param select greater except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select int check widget os set control32 bit handl swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget setcontrol32bitvalu set size receiv thumb rel differ maximum minimum valu will clamp exce receiv current rang param thumb larger size current rang except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set thumb int check widget 1 return int minimum os control32 bit minimum handl int view size os control view size handl int maximum os control32 bit maximum handl view size math min maximum minimum os set control32 bit maximum handl maximum os set control view size handl swtexcept error_widget_dispos error_thread_invalid_access setthumb checkwidget getcontrol32bitminimum viewsiz getcontrolviews getcontrol32bitmaximum viewsiz setcontrol32bitmaximum setcontrolviews set receiv select minimum maximum thumb increment page increment note equival set valu individu method implement effici fashion platform param select select param minimum minimum param maximum maximum param thumb thumb param increment increment param page increment page increment except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set valu int select int minimum int maximum int thumb int increment int page increment check widget minimum 0 return maximum 0 return thumb 1 return increment 1 return page increment 1 return thumb math min thumb maximum minimum os set control32 bit minimum handl minimum os set control32 bit maximum handl maximum thumb os set control view size handl thumb os set control32 bit handl select increment increment page increment page increment pageincr pageincr swtexcept error_widget_dispos error_thread_invalid_access setvalu pageincr checkwidget pageincr setcontrol32bitminimum setcontrol32bitmaximum setcontrolviews setcontrol32bitvalu pageincr pageincr construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public tab folder composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl tabfold checkstyl add listen collect listen notifi receiv select send messag defin code select listen code interfac code widget select code call item field event object valid code widget default select code call param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten static int check style int style style check bit style swt top swt bottom 0 0 0 0 legal creat widget scroll bar serv purpos automat scroll widget client area fix clear swt style return style swt scroll swt scroll checkstyl checkbit h_scroll v_scroll protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass public point comput size int hint int hint boolean chang check widget int width 0 height 0 hint swt default gc gc gc int 0 item length item null width item calcul width gc gc dispos point size layout null size layout comput size hint hint chang size minimum size hint hint chang size 0 size default width size 0 size default height hint swt default size hint hint swt default size hint width math max width size height math max height size rectangl trim comput trim 0 0 width height width trim width height trim height return point width height computes whint hhint checkwidget whint calculatewidth computes whint hhint minimums whint hhint default_width default_height whint whint hhint hhint computetrim public rectangl comput trim int int int width int height check widget rect bound bound rect os control bound handl bound boolean fix bound bound bound left 100 bound bottom bound top 100 fix bound bound rect bound bound bottom 100 os set control bound handl bound bound bound rect client rect os tab content rect handl client fix bound os set control bound handl bound client left bound left client top bound top width bound bound left client client left height bound bottom bound top client bottom client top rect inset inset inset left inset top width inset left inset height inset top inset bottom return rectangl width height computetrim checkwidget oldbound getcontrolbound oldbound fixbound oldbound oldbound oldbound oldbound fixbound setcontrolbound oldbound gettabcontentrect fixbound setcontrolbound oldbound getinset void creat handl int control int 1 int window os control owner parent handl short direct style swt bottom 0 short os control tab direct south short os control tab direct north os creat tab control window rect short os control tab size larg direct short 0 0 control control 0 0 error swt error handl handl control 0 createhandl outcontrol getcontrolown kcontroltabdirectionsouth kcontroltabdirectionnorth createtabscontrol kcontroltabsizelarg outcontrol outcontrol error_no_handl outcontrol void creat item tab item item int index int count os control32 bit maximum handl 0 index index count error swt error invalid rang os set control32 bit maximum handl count 1 count item length tab item item tab item item length 4 system arraycopi item 0 item 0 item length item item system arraycopi item index item index 1 count index item index item send select event item ad select happen item ad count 0 os set control32 bit handl 1 select 0 event event event event item item 0 send event swt select event widget destroi point createitem tabitem getcontrol32bitmaximum error_invalid_rang setcontrol32bitmaximum tabitem newitem tabitem newitem newitem setcontrol32bitvalu lastselect sendev void creat widget super creat widget item tab item 4 createwidget createwidget tabitem void destroi item tab item item int count os control32 bit maximum handl int index 0 index count item index item break index index count return int select index os control32 bit handl 1 count os set control32 bit maximum handl count system arraycopi item index 1 item index count index item count null count 0 item tab item 4 count 0 index select index set select math max 0 select index 1 true destroyitem tabitem getcontrol32bitmaximum selectionindex getcontrol32bitvalu setcontrol32bitmaximum tabitem selectionindex setselect selectionindex public rectangl client area check widget rect bound rect os control bound handl bound rect client rect os control data handl short os control entir control os control tab content rect tag rect sizeof client null int math max 0 client left bound left int math max 0 client top bound top int width math max 0 client client left int height math max 0 client bottom client top return rectangl width height getclientarea checkwidget getcontrolbound getcontroldata kcontrolentirecontrol kcontroltabcontentrecttag return item rel index receiv throw except index rang param index index item return return item index except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tab item item int index check widget int count os control32 bit maximum handl 0 index index count error swt error invalid rang return item index illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access tabitem getitem checkwidget getcontrol32bitmaximum error_invalid_rang return number item contain receiv return number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int item count check widget return os control32 bit maximum handl swtexcept error_widget_dispos error_thread_invalid_access getitemcount checkwidget getcontrol32bitmaximum return arrai code tab item code item receiv note actual structur receiv maintain list item modifi arrai affect receiv return item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tab item item check widget int count os control32 bit maximum handl tab item result tab item count system arraycopi item 0 result 0 count return result tabitem swtexcept error_widget_dispos error_thread_invalid_access tabitem getitem checkwidget getcontrol32bitmaximum tabitem tabitem return arrai code tab item code select receiv empti arrai item select note actual structur receiv maintain select modifi arrai affect receiv return arrai repres select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tab item select check widget int index os control32 bit handl 1 index 1 return tab item 0 return tab item item index tabitem swtexcept error_widget_dispos error_thread_invalid_access tabitem getselect checkwidget getcontrol32bitvalu tabitem tabitem return rel index item select receiv 1 item select return index select item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select index check widget return os control32 bit handl 1 swtexcept error_widget_dispos error_thread_invalid_access getselectionindex checkwidget getcontrol32bitvalu search receiv list start item index 0 item found equal argument return index item item found return 1 param item search item return index item except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int index tab item item check widget item null error swt error null argument int count os control32 bit maximum handl int 0 count item item return return 1 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access indexof tabitem checkwidget error_null_argument getcontrol32bitmaximum point minimum size int hint int hint boolean flush cach control children getchildren int width 0 height 0 int 0 children length control child children int index 0 int count os control32 bit maximum handl index count item index control child break index index count rectangl rect child bound width math max width rect rect width height math max height rect rect height point size child comput size hint hint flush cach width math max width size height math max height size return point width height minimums whint hhint flushcach _getchildren getcontrol32bitmaximum getbound computes whint hhint flushcach rect inset return style swt bottom 0 displai tab folder south inset displai tab folder north inset getinset tabfoldersouthinset tabfoldernorthinset int event control appli background int handler int event int user data featur macintosh reason tab folder appli theme background draw theme set window fix avoid run default handler return os err keventcontrolapplybackground nexthandl theevent userdata noerr int event control hit int handler int event int user data int result super event control hit handler event user data result os err return result int index os control32 bit handl 1 index select return result select index int count os control32 bit maximum handl int 0 count index control control item control control null control dispos control set visibl fals tab item item null index 1 item item index item null control control item control control null control dispos control set bound client area control set visibl true event event event event item item post event swt select event return os err keventcontrolhit nexthandl theevent userdata keventcontrolhit nexthandl theevent userdata noerr getcontrol32bitvalu lastselect lastselect getcontrol32bitmaximum isdispos setvis tabitem isdispos setbound getclientarea setvis postev noerr void releas widget int count os control32 bit maximum handl int 0 count tab item item item item dispos item releas resourc item null super releas widget releasewidget getcontrol32bitmaximum tabitem isdispos releaseresourc releasewidget remov listen collect listen notifi receiv select param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect int set bound int int int int width int height boolean move boolean resiz boolean event int result super set bound width height move resiz event result resiz 0 int index os control32 bit handl 1 index 1 tab item item item index control control item control control null control dispos control set bound client area return result setbound setbound getcontrol32bitvalu tabitem isdispos setbound getclientarea set receiv select arrai item current select clear item select param item arrai item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select tab item item check widget item null error swt error null argument item length 0 set select 1 fals int item length 1 0 int index index item index 1 set select index fals swtexcept error_widget_dispos error_thread_invalid_access setselect tabitem checkwidget error_null_argument setselect indexof setselect select item rel index receiv item index select remain select current select clear item select indic rang param index index item select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select int index check widget int count os control32 bit maximum handl 0 index index count return set select index fals swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget getcontrol32bitmaximum setselect void set select int index boolean notifi index os control32 bit maximum handl return int current index os control32 bit handl 1 current index 1 tab item item item current index item null control control item control control null control dispos control set visibl fals os set control32 bit handl index 1 index os control32 bit handl 1 select index index 1 tab item item item index item null control control item control control null control dispos control set bound client area control set visibl true notifi event event event event item item send event swt select event setselect getcontrol32bitmaximum currentindex getcontrol32bitvalu currentindex tabitem currentindex isdispos setvis setcontrol32bitvalu getcontrol32bitvalu lastselect tabitem isdispos setbound getclientarea setvis sendev boolean travers page boolean int count item count count 0 return fals int index select index index 1 index 0 int offset 1 1 index index offset count count set select index true return index select index traversepag getitemcount getselectionindex setselect getselectionindex construct instanc class parent code tab folder code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public tab item tab folder parent int style super parent style parent parent parent creat item parent item count tabfold illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl tabitem tabfold createitem getitemcount construct instanc class parent code tab folder code style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct param index index store receiv parent except illeg argument except ul li error null argument parent null li li error invalid rang index neg greater parent current tab count li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public tab item tab folder parent int style int index super parent style parent parent parent creat item index tabfold illegalargumentexcept error_null_argument error_invalid_rang swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl tabitem tabfold createitem int calcul width gc gc int width 0 imag imag imag string text text imag null width imag bound width 2 text null text length 0 width gc string extent text return width extra width calculatewidth getimag gettext getbound stringext extra_width protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass return control fill client area tab folder user select tab item control set return code null code return control except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public control control check widget return control swtexcept error_widget_dispos error_thread_invalid_access getcontrol checkwidget return receiv parent code tab folder code return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tab folder parent check widget return parent tabfold swtexcept error_widget_dispos error_thread_invalid_access tabfold getpar checkwidget return receiv tool tip text null set return receiv tool tip text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string tool tip text check widget return tool tip text swtexcept error_widget_dispos error_thread_invalid_access gettooltiptext checkwidget tooltiptext void releas child super releas child int index parent index index parent select index control null control set visibl fals parent destroi item releasechild releasechild indexof getselectionindex setvis destroyitem void releas widget temporari code control null control set visibl fals super releas widget icon 0 destroyc icon icon icon 0 control null parent null releasewidget setvis releasewidget cicon destroycicon cicon cicon set control fill client area tab folder user select tab item param control control null except illeg argument except ul li error invalid argument control dispos li li error invalid parent control widget tree li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set control control control check widget control null control dispos error swt error invalid argument control parent parent error swt error invalid parent control null control dispos control null control control control control control control control int index parent index index parent select index control null control set visibl fals return control null control set bound parent client area control set visibl true control null control set visibl fals illegalargumentexcept error_invalid_argument error_invalid_parent swtexcept error_widget_dispos error_thread_invalid_access setcontrol checkwidget isdispos error_invalid_argument error_invalid_parent isdispos oldcontrol newcontrol indexof getselectionindex newcontrol newcontrol setvis newcontrol newcontrol setbound getclientarea newcontrol setvis oldcontrol oldcontrol setvis public void set imag imag imag check widget int index parent index index 1 return super set imag imag icon 0 destroyc icon icon icon 0 control button content info content control button content info imag null content content type short os control content text icon createc icon imag content content type short os control contentc icon handl content icon ref icon os set control data parent handl index 1 os control tab imag content tag control button content info sizeof content parent redraw setimag checkwidget indexof setimag cicon destroycicon cicon cicon controlbuttoncontentinfo incont controlbuttoncontentinfo incont contenttyp kcontrolcontenttextonli cicon createcicon incont contenttyp kcontrolcontentciconhandl incont iconref cicon setcontroldata kcontroltabimagecontenttag controlbuttoncontentinfo incont set receiv text string includ mnemon charact p mnemon amp charact mnemon user press kei sequenc match mnemon select event occur platform mnemon appear underlin emphasis platform specif manner mnemon indic charact amp escap doubl string caus singl amp displai param string text except illeg argument except ul li error null argument text null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string string check widget string null error swt error null argument int index parent index index 1 return super set text string char buffer char text length text char 0 buffer length buffer 0 int length fix mnemon buffer int ptr os cf string creat charact os kcf alloc default buffer length ptr 0 error swt error set text control tab info recv1 tab control tab info recv1 tab version short os control tab info version tab icon suiteid 0 tab ptr os set control data parent handl index 1 os control tab info tag control tab info recv1 sizeof tab os cf releas ptr illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget error_null_argument indexof settext getchar fixmnemon cfstringcreatewithcharact kcfallocatordefault error_cannot_set_text controltabinforecv1 controltabinforecv1 kcontroltabinfoversionon iconsuiteid setcontroldata kcontroltabinfotag controltabinforecv1 cfreleas set receiv tool tip text argument null indic tool tip text shown param string tool tip text null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set tool tip text string string check widget tool tip text string swtexcept error_widget_dispos error_thread_invalid_access settooltiptext checkwidget tooltiptext construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt singl swt multi swt check swt full select swt hide select widget check subclass widget style public tabl composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass full_select hide_select checksubclass getstyl checkstyl add listen collect listen notifi receiv select send messag defin code select listen code interfac code widget select code call item field event object valid reciev code swt check code style set check select event object detail field code swt check code code widget default select code typic call item doubl click item field event object valid default select detail field param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten tabl item getitem int index item index null return item index return item index tabl item swt null 1 fals tableitem _getitem tableitem static int check style int style featur window creat tabl scroll bar matter style bit set scroll scroll bit swt style match widget window creat style swt scroll swt scroll return check bit style swt singl swt multi 0 0 0 0 checkstyl h_scroll v_scroll h_scroll v_scroll checkbit int call paint event handler int control int damag rgn int visibl rgn int event int handler gc currentgc paintgc currentgc null gc data data gc data data paint event event data visibl rgn visibl rgn paintgc gc carbon data int result super call paint event handler control damag rgn visibl rgn event handler currentgc null paintgc dispos paintgc null return result callpainteventhandl damagergn visiblergn theevent nexthandl gcdata gcdata paintev theevent visiblergn visiblergn carbon_new callpainteventhandl damagergn visiblergn theevent nexthandl void check item boolean set scroll width int count int 1 os data browser item count handl os data browser item true os data browser item count os err error swt error count item count count 0 featur mac add data browser item add item item notif callback issu messag data browser item ad item ad slow fix temporarili remov item notif callback data browser callback callback data browser callback os data browser callback handl callback callback v1 itemnotificationcallback 0 os set data browser callback handl callback int delta item count count 0 delta 1024 int id int delta int 0 id length id count 0 1 os add data browser item handl os data browser item id length id os data browser item properti os err error swt error item ad os updat data browser item handl 0 0 null os data browser item properti os data browser item os add data browser item handl 0 item count null os data browser item properti os err error swt error item ad callback v1 itemnotificationcallback displai item notif proc os set data browser callback handl callback set scroll width set scroll width item true checkitem setscrollwidth getdatabrowseritemcount kdatabrowsernoitem kdatabrowseritemanyst noerr error_cannot_get_count itemcount adddatabrowseritem kdatabrowseritemad databrowsercallback databrowsercallback getdatabrowsercallback v1_itemnotificationcallback setdatabrowsercallback itemcount adddatabrowseritem kdatabrowsernoitem kdatabrowseritemnoproperti noerr error_item_not_ad updatedatabrowseritem kdatabrowseritemnoproperti kdatabrowsernoitem adddatabrowseritem itemcount kdatabrowseritemnoproperti noerr error_item_not_ad v1_itemnotificationcallback itemnotificationproc setdatabrowsercallback setscrollwidth setscrollwidth protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass clear item rel index receiv text icon attribu item set default tabl creat swt virtual style attribut request need param index index item clear except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul swt virtual swt set data 3 0 public void clear int index check widget 0 index index item count error swt error invalid rang tabl item item item index item null item clear item cach fals ignor redraw draw count 0 int id int index 1 os updat data browser item handl 0 id length id os data browser item properti os data browser item set scroll width item illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access setdata checkwidget itemcount error_invalid_rang tableitem ignoreredraw drawcount updatedatabrowseritem kdatabrowseritemnoproperti kdatabrowsernoitem setscrollwidth remov item receiv rel start end indic inclus text icon attribu item set default valu tabl creat swt virtual style attribut request need param start start index item clear param end end index item clear except illeg argument except ul li error invalid rang start end 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul swt virtual swt set data 3 0 public void clear int start int end check widget start end return 0 start start end end item count error swt error invalid rang start 0 end item count 1 clear int start end clear illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access setdata checkwidget itemcount error_invalid_rang itemcount clearal clear item rel indic receiv text icon attribu item set default valu tabl creat swt virtual style attribut request need param indic arrai indic item except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li li error null argument indic arrai null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul swt virtual swt set data 3 0 public void clear int indic check widget indic null error swt error null argument indic length 0 return int 0 indic length 0 indic indic item count error swt error invalid rang int 0 indic length clear indic illegalargumentexcept error_invalid_rang error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setdata checkwidget error_null_argument itemcount error_invalid_rang clear item receiv text icon attribu item set default valu tabl creat swt virtual style attribut request need except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul swt virtual swt set data 3 0 public void clear check widget int 0 item count tabl item item item item null item clear item cach fals ignor redraw draw count 0 os updat data browser item handl 0 0 null os data browser item properti os data browser item set scroll width item true swtexcept error_widget_dispos error_thread_invalid_access setdata clearal checkwidget itemcount tableitem ignoreredraw drawcount updatedatabrowseritem kdatabrowseritemnoproperti kdatabrowsernoitem setscrollwidth public point comput size int hint int hint boolean chang check widget int width 0 hint swt default gc gc gc int column count math max column count 1 int 0 column count int column width 0 int 0 item count tabl item item item item null column width math max column width item calcul width gc width column width extra width gc dispos style swt check 0 width check column width width hint width 0 width default width int height 0 hint swt default height item count item height header height height hint height 0 height default height rectangl rect comput trim 0 0 width height return point rect width rect height computes whint hhint checkwidget whint columncount columncount columncount columnwidth itemcount tableitem columnwidth columnwidth calculatewidth columnwidth extra_width check_column_width whint default_width hhint itemcount getitemheight getheaderheight hhint default_height computetrim public rectangl comput trim int int int width int height check widget int border 0 int metric int 1 os theme metric os theme metric focu rect outset metric border metric 0 os theme metric os theme metric edit text frame outset metric border metric 0 rect rect rect os data browser scroll bar inset handl rect rect left border rect top border width rect left rect border border height rect top rect bottom border border return rectangl width height computetrim checkwidget outmetr getthememetr kthememetricfocusrectoutset outmetr outmetr getthememetr kthememetricedittextframeoutset outmetr outmetr getdatabrowserscrollbarinset void creat handl column id 1025 int control int 1 int window os control owner parent handl os creat data browser control window null os data browser list view control control 0 0 error swt error handl handl control 0 draw focu ring os set control data handl os control entir control os control data browser includ frame focu tag 1 byte 0 int select flag style swt singl 0 os data browser select os data browser empti select set os data browser cmd toggl select os set data browser select flag handl select flag short height short 1 os data browser list view header btn height handl height header height height 0 os set data browser list view header btn height handl short 0 os set data browser scroll bar handl style swt scroll 0 style swt scroll 0 style swt full select 0 os set data browser tabl view hilit style handl os data browser tabl view fill hilit int posit 0 style swt check 0 data browser list view column desc check column data browser list view column desc check column headerbtndesc version os data browser list view latest header desc check column propertydesc propertyid check column id check column propertydesc propertytyp os data browser checkbox type check column propertydesc propertyflag os data browser properti mutabl todo check column size check column headerbtndesc minimumwidth check column width check column headerbtndesc maximumwidth check column width check column headerbtndesc initialord short os data browser order increas os add data browser list view column handl check column posit data browser list view column desc column data browser list view column desc column headerbtndesc version os data browser list view latest header desc column propertydesc propertyid column id column propertydesc propertytyp os data browser custom type column propertydesc propertyflag os data browser list view select column os data browser default properti flag column headerbtndesc maximumwidth 0x7fff column headerbtndesc initialord short os data browser order increas os add data browser list view column handl column posit os set data browser tabl view name column width handl column id short 0 featur macintosh scroll bar creat data browser need draw fix forc scroll bar creat temporarili give widget size draw offscreen buffer avoid flash restor size int size 50 rect rect rect rect rect bottom short size os set control bound handl rect int bpl size 4 int int 1 int data os ptr bpl size os newg ptr os k32argb pixel format rect 0 0 0 data bpl int cur port int 1 int curg int 1 os getg cur port curg os setg world 0 curg 0 os draw control current port handl os setg cur port 0 curg 0 os disposeg world 0 os dispos ptr data rect rect bottom short 0 os set control bound handl rect createhandl column_id outcontrol getcontrolown createdatabrowsercontrol kdatabrowserlistview outcontrol outcontrol error_no_handl outcontrol drawfocusr setcontroldata kcontrolentirecontrol kcontroldatabrowserincludesframeandfocustag selectionflag kdatabrowserselectonlyon kdatabrowserneveremptyselectionset kdatabrowsercmdtogglesselect setdatabrowserselectionflag selectionflag getdatabrowserlistviewheaderbtnheight headerheight setdatabrowserlistviewheaderbtnheight setdatabrowserhasscrollbar h_scroll v_scroll full_select setdatabrowsertableviewhilitestyl kdatabrowsertableviewfillhilit databrowserlistviewcolumndesc checkcolumn databrowserlistviewcolumndesc checkcolumn headerbtndesc_version kdatabrowserlistviewlatestheaderdesc checkcolumn propertydesc_propertyid check_column_id checkcolumn propertydesc_propertytyp kdatabrowsercheckboxtyp checkcolumn propertydesc_propertyflag kdatabrowserpropertyismut checkcolumn headerbtndesc_minimumwidth check_column_width checkcolumn headerbtndesc_maximumwidth check_column_width checkcolumn headerbtndesc_initialord kdatabrowserorderincreas adddatabrowserlistviewcolumn checkcolumn databrowserlistviewcolumndesc databrowserlistviewcolumndesc headerbtndesc_version kdatabrowserlistviewlatestheaderdesc propertydesc_propertyid column_id propertydesc_propertytyp kdatabrowsercustomtyp propertydesc_propertyflag kdatabrowserlistviewselectioncolumn kdatabrowserdefaultpropertyflag headerbtndesc_maximumwidth headerbtndesc_initialord kdatabrowserorderincreas adddatabrowserlistviewcolumn setdatabrowsertableviewnamedcolumnwidth column_id setcontrolbound gworld newptr newgworldfromptr gworld k32argbpixelformat curport curgworld getgworld curport curgworld setgworld gworld curgworld drawcontrolincurrentport setgworld curport curgworld disposegworld gworld disposeptr setcontrolbound void creat item tabl column column int index 0 index index column count error swt error invalid rang column id column id id count int posit index style swt check 0 1 0 column count 0 data browser list view column desc desc data browser list view column desc desc headerbtndesc version os data browser list view latest header desc desc propertydesc propertyid column id desc propertydesc propertytyp os data browser custom type desc propertydesc propertyflag os data browser default properti flag desc headerbtndesc maximumwidth 0x7fff desc headerbtndesc initialord os data browser order increas desc headerbtndesc btnfontstyl os te flush left style swt center 0 desc headerbtndesc btnfontstyl os te center style swt 0 desc headerbtndesc btnfontstyl os te flush desc headerbtndesc btnfontstyl flag os control mask os add data browser list view column handl desc posit os set data browser tabl view name column width handl column id short 0 column count column length tabl column column tabl column column count 4 system arraycopi column 0 column 0 column length column column system arraycopi column index column index 1 column count index column index column column count 1 int 0 item count tabl item item item item null string string item string string null string temp string column count system arraycopi string 0 temp 0 index system arraycopi string index temp index 1 column count index 1 temp index item string temp index 0 item text imag imag item imag imag null imag temp imag column count system arraycopi imag 0 temp 0 index system arraycopi imag index temp index 1 column count index 1 item imag temp index 0 item imag null color cell background item cell background cell background null color temp color column count system arraycopi cell background 0 temp 0 index system arraycopi cell background index temp index 1 column count index 1 item cell background temp color cell foreground item cell foreground cell foreground null color temp color column count system arraycopi cell foreground 0 temp 0 index system arraycopi cell foreground index temp index 1 column count index 1 item cell foreground temp font cell font item cell font cell font null font temp font column count system arraycopi cell font 0 temp 0 index system arraycopi cell font index temp index 1 column count index 1 item cell font temp createitem tablecolumn columncount error_invalid_rang column_id idcount columncount databrowserlistviewcolumndesc databrowserlistviewcolumndesc headerbtndesc_version kdatabrowserlistviewlatestheaderdesc propertydesc_propertyid propertydesc_propertytyp kdatabrowsercustomtyp propertydesc_propertyflag kdatabrowserdefaultpropertyflag headerbtndesc_maximumwidth headerbtndesc_initialord kdatabrowserorderincreas headerbtndesc_btnfontstyl_just teflushleft headerbtndesc_btnfontstyl_just tecent headerbtndesc_btnfontstyl_just teflushright headerbtndesc_btnfontstyl_flag kcontrolusejustmask adddatabrowserlistviewcolumn setdatabrowsertableviewnamedcolumnwidth columncount tablecolumn newcolumn tablecolumn columncount newcolumn newcolumn columncount columncount itemcount tableitem columncount columncount columncount columncount cellbackground cellbackground cellbackground columncount cellbackground cellbackground columncount cellbackground cellforeground cellforeground cellforeground columncount cellforeground cellforeground columncount cellforeground cellfont cellfont cellfont columncount cellfont cellfont columncount cellfont void creat item tabl item item int index 0 index index item count error swt error invalid rang boolean add draw count 0 index item count add int id int item count 1 os add data browser item handl os data browser item 1 id os data browser item properti os err error swt error item ad item count item length grow arrai faster redraw int length draw count 0 item length 4 math max 4 item length 3 2 tabl item item tabl item length system arraycopi item 0 item 0 item length item item system arraycopi item index item index 1 item count index item index item add os updat data browser item handl 0 0 null os data browser item properti os data browser item createitem tableitem itemcount error_invalid_rang drawcount itemcount itemcount adddatabrowseritem kdatabrowsernoitem kdatabrowseritemnoproperti noerr error_item_not_ad itemcount drawcount tableitem newitem tableitem newitem newitem itemcount updatedatabrowseritem kdatabrowseritemnoproperti kdatabrowsernoitem scroll bar creat scroll bar int style return creat standard bar style scrollbar createscrollbar createstandardbar void creat widget super creat widget item tabl item 4 column tabl column 4 show index 1 createwidget createwidget tableitem tablecolumn showindex color default background return displai system color swt color list background defaultbackground getsystemcolor color_list_background color default foreground return displai system color swt color list foreground defaultforeground getsystemcolor color_list_foreground int default theme font displai small font return os theme small system font return os theme view font defaultthemefont smallfont kthemesmallsystemfont kthemeviewsfont deselect item rel index receiv item index deselect remain deselect indic rang param index index item deselect except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void deselect int index check widget 0 index index item count int id int index 1 deselect id id length swtexcept error_widget_dispos error_thread_invalid_access checkwidget itemcount deselect item rel indic receiv item rel index receiv select deselect item index select remain deselect rang indic inclus indic rang param start start index item deselect param end end index item deselect except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void deselect int start int end check widget todo check rang start 0 end item count 1 deselect int length end start 1 length 0 return int id int length int 0 length id end 1 deselect id length swtexcept error_widget_dispos error_thread_invalid_access checkwidget itemcount deselectal deselect item rel indic receiv item rel index receiv select deselect item index select remain deselect indic rang duplic indic param indic arrai indic item deselect except illeg argument except ul li error null argument set indic null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void deselect int indic check widget indic null error swt error null argument todo check rang int length indic length int id int length int 0 length id indic length 1 1 deselect id length illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access checkwidget error_null_argument void deselect int id int count ignor select true int select flag null style swt singl 0 select flag int 1 os data browser select flag handl select flag os set data browser select flag handl select flag 0 os data browser empti select set os set data browser select item handl count id os data browser item remov style swt singl 0 os set data browser select flag handl select flag 0 ignor select fals ignoreselect selectionflag selectionflag getdatabrowserselectionflag selectionflag setdatabrowserselectionflag selectionflag kdatabrowserneveremptyselectionset setdatabrowserselecteditem kdatabrowseritemsremov setdatabrowserselectionflag selectionflag ignoreselect deselect select item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void deselect check widget deselect null 0 swtexcept error_widget_dispos error_thread_invalid_access deselectal checkwidget void destroi item tabl column column int index 0 index column count column index column break index column count 1 int 0 item count tabl item item item item null string string item string string null column count 1 item string null index 0 item text string 1 string temp string column count 1 system arraycopi string 0 temp 0 index system arraycopi string index 1 temp index column count 1 index item string temp imag imag item imag imag null column count 1 item imag null index 0 item imag imag 1 imag temp imag column count 1 system arraycopi imag 0 temp 0 index system arraycopi imag index 1 temp index column count 1 index item imag temp color cell background item cell background cell background null column count 1 item cell background null color temp color column count 1 system arraycopi cell background 0 temp 0 index system arraycopi cell background index 1 temp index column count 1 index item cell background temp color cell foreground item cell foreground cell foreground null column count 1 item cell foreground null color temp color column count 1 system arraycopi cell foreground 0 temp 0 index system arraycopi cell foreground index 1 temp index column count 1 index item cell foreground temp font cell font item cell font cell font null column count 1 item cell font null font temp font column count 1 system arraycopi cell font 0 temp 0 index system arraycopi cell font index 1 temp index column count 1 index item cell font temp column count 1 column id column id id count 0 data browser list view header desc desc data browser list view header desc desc version os data browser list view latest header desc short width short 1 os data browser tabl view name column width handl column id width desc minimum width desc maximum width width 0 int str os cf string creat charact os kcf alloc default null 0 desc titl string str os set data browser list view header desc handl column id desc os cf releas str os remov data browser tabl view column handl column id os err error swt error item remov system arraycopi column index 1 column index column count index column column count null destroyitem tablecolumn columncount columncount itemcount tableitem columncount columncount columncount columncount columncount columncount cellbackground cellbackground cellbackground columncount cellbackground columncount cellbackground cellbackground columncount cellbackground cellforeground cellforeground cellforeground columncount cellforeground columncount cellforeground cellforeground columncount cellforeground cellfont cellfont cellfont columncount cellfont columncount cellfont cellfont columncount cellfont columncount column_id idcount databrowserlistviewheaderdesc databrowserlistviewheaderdesc kdatabrowserlistviewlatestheaderdesc getdatabrowsertableviewnamedcolumnwidth column_id minimumwidth maximumwidth cfstringcreatewithcharact kcfallocatordefault titlestr setdatabrowserlistviewheaderdesc column_id cfreleas removedatabrowsertableviewcolumn noerr error_item_not_remov columncount columncount void destroi item tabl item item check item true int index 0 index item count item index item break index int id int item count os remov data browser item handl os data browser item id length id 0 os err error swt error item remov system arraycopi item index 1 item index item count index item item count null os updat data browser item handl 0 0 null os data browser item properti os data browser item destroyitem tableitem checkitem itemcount itemcount removedatabrowseritem kdatabrowsernoitem noerr error_item_not_remov itemcount itemcount updatedatabrowseritem kdatabrowseritemnoproperti kdatabrowsernoitem int draw item proc int browser int id int properti int item int rect int gd depth int color devic int index id 1 0 index index item count return os err int column index 0 column count 0 column index 0 column index column count column index column column index id properti break column index column count return os err index index tabl item item getitem index item cach style swt virtual 0 event event event event item item ignor redraw true send event swt set data event widget dispos point dispos return os err ignor redraw fals set scroll width item rect rect rect os data browser item part bound handl id properti os data browser properti enclos part rect os err redraw widget handl rect left rect top rect rect bottom fals return os err item cach true rect rect rect os memcpi rect rect rect sizeof int rect left int rect top int width rect rect left int height rect bottom rect top boolean select item os data browser item select 0 rect control rect rect os control bound handl control rect control rect left control rect top gc gc paintgc gc null gc data data gc data int port int 1 os port port data port port 0 gc gc carbon data int clip os rgn os clip clip os offset rgn clip short control rect left short control rect top gc set clip region carbon displai clip rect item rect rect os data browser item part bound handl id properti os data browser properti enclos part item rect os offset rect item rect short control rect left short control rect top select style swt full select 0 gc set background displai system color swt color list select gc fill rectangl item rect left item rect top item rect item rect left item rect bottom item rect top gc set background item background column index gc fill rectangl item rect left item rect top item rect item rect left item rect bottom item rect top int rect rgn os rgn os rect rgn rect rgn rect os offset rgn rect rgn short control rect left short control rect top os sect rgn rect rgn clip clip os dispos rgn rect rgn gc set clip region carbon displai clip os dispos rgn clip imag imag item imag column index string text item text column index gc set font item font column index point extent gc string extent text int item width extent rectangl imag bound null imag null imag bound imag bound item width imag bound width 2 column count 0 tabl column column column column index column style swt center 0 width item width 2 column style swt 0 width item width imag null gc draw imag imag 0 0 imag bound width imag bound height height imag bound height 2 imag bound width imag bound height imag bound width 2 select gc set foreground displai system color swt color list select text column index 0 style swt full select 0 gc set background displai system color swt color list select gc fill rectangl 1 extent 2 height color foreground item foreground column index gc set foreground foreground gc draw string text height extent 2 gc paintgc gc dispos return os err drawitemproc itemst therect gddepth colordevic itemcount noerr columnindex columncount columnindex columnindex columncount columnindex columnindex columnindex columncount noerr lastindexof tableitem _getitem ignoreredraw sendev setdata isdispos noerr ignoreredraw setscrollwidth getdatabrowseritempartbound kdatabrowserpropertyenclosingpart noerr redrawwidget noerr therect itemst kdatabrowseritemisselect controlrect getcontrolbound controlrect controlrect controlrect gcdata gcdata getport carbon_new newrgn getclip offsetrgn controlrect controlrect setclip carbon_new itemrect getdatabrowseritempartbound kdatabrowserpropertyenclosingpart itemrect offsetrect itemrect controlrect controlrect full_select setbackground getsystemcolor color_list_select fillrectangl itemrect itemrect itemrect itemrect itemrect itemrect setbackground getbackground columnindex fillrectangl itemrect itemrect itemrect itemrect itemrect itemrect rectrgn newrgn rectrgn rectrgn offsetrgn rectrgn controlrect controlrect sectrgn rectrgn disposergn rectrgn setclip carbon_new disposergn getimag columnindex gettext columnindex setfont getfont columnindex stringext itemwidth imagebound imagebound getbound itemwidth imagebound columncount tablecolumn columnindex itemwidth itemwidth drawimag imagebound imagebound imagebound imagebound imagebound imagebound setforeground getsystemcolor color_list_select_text columnindex full_select setbackground getsystemcolor color_list_select fillrectangl getforeground columnindex setforeground drawstr noerr public rectangl client area check widget int border 0 int metric int 1 os theme metric os theme metric focu rect outset metric border metric 0 os theme metric os theme metric edit text frame outset metric border metric 0 rect rect rect inset rect os control bound handl rect os data browser scroll bar inset handl inset int width math max 0 rect rect left inset border border int height math max 0 rect bottom rect top inset bottom border border return rectangl inset left inset top width height getclientarea checkwidget outmetr getthememetr kthememetricfocusrectoutset outmetr outmetr getthememetr kthememetricedittextframeoutset outmetr outmetr getcontrolbound getdatabrowserscrollbarinset return column rel index receiv throw except index rang code tabl column code creat programm method throw code error invalid rang code despit fact singl column data visibl tabl occur programm tabl list ad item creat column param index index column return return column index except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tabl column column int index check widget 0 index index column count error swt error invalid rang return column index tablecolumn error_invalid_rang illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access tablecolumn getcolumn checkwidget columncount error_invalid_rang return number column contain receiv code tabl column code creat programm despit fact visual column item visibl occur programm tabl list ad item creat column return number column except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error count oper fail oper system failur li ul public int column count check widget return column count tablecolumn swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_count getcolumncount checkwidget columncount return arrai code tabl column code column receiv code tabl column code creat programm arrai empti despit fact visual column item visibl occur programm tabl list ad item creat column note actual structur receiv maintain list item modifi arrai affect receiv return item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tabl column column check widget tabl column result tabl column column count system arraycopi column 0 result 0 column count return result tablecolumn tablecolumn swtexcept error_widget_dispos error_thread_invalid_access tablecolumn getcolumn checkwidget tablecolumn tablecolumn columncount columncount return width pixel grid line return width grid line pixel except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int grid line width check widget return 0 swtexcept error_widget_dispos error_thread_invalid_access getgridlinewidth checkwidget return height receiv header return height header header visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public int header height check widget short height short 1 os data browser list view header btn height handl height return height 0 swtexcept error_widget_dispos error_thread_invalid_access getheaderheight checkwidget getdatabrowserlistviewheaderbtnheight return code true code receiv header visibl code fals code receiv ancestor visibl condit make receiv visibl method consid visibl actual show return receiv header visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean header visibl check widget short height short 1 os data browser list view header btn height handl height return height 0 0 swtexcept error_widget_dispos error_thread_invalid_access getheadervis checkwidget getdatabrowserlistviewheaderbtnheight return item rel index receiv throw except index rang param index index item return return item index except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tabl item item int index check widget 0 index index item count error swt error invalid rang return getitem index illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access tableitem getitem checkwidget itemcount error_invalid_rang _getitem return item point receiv null item exist point coordin system receiv param point point locat item return item point except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tabl item item point point check widget check item true point null error swt error null argument rect rect rect os control bound handl rect org eclips swt intern carbon point pt org eclips swt intern carbon point os set pt pt short point rect left short point rect top todo optim int column id column count 0 column id column 0 id int 0 item count os data browser item part bound handl 1 column id os data browser properti enclos part rect os err style swt full select 0 rect top pt pt rect bottom return getitem os pt rect pt rect return getitem return null illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access tableitem getitem checkwidget checkitem error_null_argument getcontrolbound setpt columnid columncount column_id itemcount getdatabrowseritempartbound columnid kdatabrowserpropertyenclosingpart noerr full_select _getitem ptinrect _getitem return number item contain receiv return number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int item count check widget return item count swtexcept error_widget_dispos error_thread_invalid_access getitemcount checkwidget itemcount return height area displai em em item receiv return height item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int item height check widget short height short 1 os data browser tabl view row height handl height os err error swt error item height return height 0 swtexcept error_widget_dispos error_thread_invalid_access getitemheight checkwidget getdatabrowsertableviewrowheight noerr error_cannot_get_item_height return arrai code tabl item code item receiv note actual structur receiv maintain list item modifi arrai affect receiv return item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tabl item item check widget tabl item result tabl item item count style swt virtual 0 int 0 item count result getitem system arraycopi item 0 result 0 item count return result tableitem swtexcept error_widget_dispos error_thread_invalid_access tableitem getitem checkwidget tableitem tableitem itemcount itemcount _getitem itemcount return code true code receiv line visibl code fals code receiv ancestor visibl condit make receiv visibl method consid visibl actual show return visibl line except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean line visibl check widget return fals swtexcept error_widget_dispos error_thread_invalid_access getlinesvis checkwidget return arrai code tabl item code select receiv empti arrai item select note actual structur receiv maintain select modifi arrai affect receiv return arrai repres select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tabl item select check widget int ptr os handl 0 os data browser item handl os data browser item true os data browser item select ptr os err error swt error select int count os handl size ptr 4 tabl item result tabl item count os lock ptr int start int 1 os memcpi start ptr 4 int id int 1 int 0 count os memcpi id start 0 4 4 result getitem id 0 1 os unlock ptr os dispos handl ptr return result tableitem swtexcept error_widget_dispos error_thread_invalid_access tableitem getselect checkwidget newhandl getdatabrowseritem kdatabrowsernoitem kdatabrowseritemisselect noerr error_cannot_get_select gethandles tableitem tableitem hlock _getitem hunlock disposehandl return number select item contain receiv return number select item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select count check widget int count int 1 os data browser item count handl os data browser item true os data browser item select count os err error swt error count return count 0 swtexcept error_widget_dispos error_thread_invalid_access getselectioncount checkwidget getdatabrowseritemcount kdatabrowsernoitem kdatabrowseritemisselect noerr error_cannot_get_count return rel index item select receiv 1 item select return index select item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select index check widget int int 1 int 1 os data browser select anchor handl os err return 1 return 0 1 swtexcept error_widget_dispos error_thread_invalid_access getselectionindex checkwidget getdatabrowserselectionanchor noerr return rel indic item select receiv arrai empti item select note actual structur receiv maintain select modifi arrai affect receiv return arrai indic select item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select indic check widget int ptr os handl 0 os data browser item handl os data browser item true os data browser item select ptr os err error swt error select int count os handl size ptr 4 int result int count os lock ptr int start int 1 os memcpi start ptr 4 int id int 1 int 0 count os memcpi id start 0 4 4 result id 0 1 os unlock ptr os dispos handl ptr return result swtexcept error_widget_dispos error_thread_invalid_access getselectionindic checkwidget newhandl getdatabrowseritem kdatabrowsernoitem kdatabrowseritemisselect noerr error_cannot_get_select gethandles hlock hunlock disposehandl return rel index item top receiv index chang item scroll item ad remov return index top item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int top index check widget int top int 1 left int 1 os data browser scroll posit handl top left return top 0 item height swtexcept error_widget_dispos error_thread_invalid_access gettopindex checkwidget getdatabrowserscrollposit getitemheight int hit test proc int browser int id int properti int rect int mous rect hittest id return 1 hittestproc therect mouserect lasthittest void hook event super hook event data browser callback callback data browser callback callback version os data browser latest callback os init data browser callback callback callback v1 itemdatacallback displai item data proc callback v1 itemnotificationcallback displai item notif proc os set data browser callback handl callback data browser custom callback custom data browser custom callback custom version os data browser latest custom callback os init data browser custom callback custom custom v1 drawitemcallback displai draw item proc custom v1 hittestcallback displai hit test proc custom v1 trackingcallback displai track proc os set data browser custom callback handl custom hookev hookev databrowsercallback databrowsercallback kdatabrowserlatestcallback initdatabrowsercallback v1_itemdatacallback itemdataproc v1_itemnotificationcallback itemnotificationproc setdatabrowsercallback databrowsercustomcallback databrowsercustomcallback kdatabrowserlatestcustomcallback initdatabrowsercustomcallback v1_drawitemcallback drawitemproc v1_hittestcallback hittestproc v1_trackingcallback trackingproc setdatabrowsercustomcallback search receiv list start column index 0 column found equal argument return index column column found return 1 param column search column return index column except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int index tabl column column check widget column null error swt error null argument int 0 column count column column return return 1 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access indexof tablecolumn checkwidget error_null_argument columncount search receiv list start item index 0 item found equal argument return index item item found return 1 param item search item return index item except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int index tabl item item check widget item null error swt error null argument 1 index index item count 1 item index item return index item index 1 item return index item index 1 item return index index item count 2 int 0 item count item item return index int item count 1 0 item item return index return 1 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access indexof tableitem checkwidget error_null_argument lastindexof lastindexof itemcount lastindexof lastindexof lastindexof lastindexof lastindexof lastindexof lastindexof itemcount itemcount lastindexof itemcount lastindexof return code true code item select code fals code indic rang param index index item return visibl item index except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean select int index check widget return os data browser item select handl index 1 swtexcept error_widget_dispos error_thread_invalid_access isselect checkwidget isdatabrowseritemselect int item data proc int browser int id int properti int item data int set int row id 1 0 row row item length return os err switch properti case check column id tabl item item getitem row set 0 item check item check item check item grai os set data browser item data button item data short os theme button mix int data item check os theme button os theme button os set data browser item data button item data short data event event event event item item event detail swt check post event swt select event int data os theme button item check data item grai os theme button mix os theme button os set data browser item data button item data short data break return os err itemdataproc itemdata setvalu noerr check_column_id tableitem _getitem setvalu setdatabrowseritemdatabuttonvalu itemdata kthemebuttonmix thedata kthemebuttonon kthemebuttonoff setdatabrowseritemdatabuttonvalu itemdata thedata postev thedata kthemebuttonoff thedata kthemebuttonmix kthemebuttonon setdatabrowseritemdatabuttonvalu itemdata thedata noerr int item notif proc int browser int id int messag messag os data browser user chang short width short 1 int 0 column count tabl column column column os data browser tabl view name column width handl column id width width 0 column width column resiz width 0 return os err return os err int index id 1 0 index index item length return os err switch messag case os data browser item select case os data browser item deselect tabl item item getitem index select true ignor select break int int 1 int 1 os data browser select anchor handl boolean select fals style swt multi 0 int modifi os current event kei modifi modifi os shift kei 0 messag os data browser item select select 0 id 0 id select id anchor id anchor modifi os cmd kei 0 select true select 0 0 select messag os data browser item select select anchor first 0 anchor last 0 event event event event item item post event swt select event break case os data browser item doubl click tabl item item getitem index select true event event event event item item post event swt default select event break return os err itemnotificationproc kdatabrowseruserstatechang columncount tablecolumn getdatabrowsertableviewnamedcolumnwidth lastwidth noerr noerr noerr kdatabrowseritemselect kdatabrowseritemdeselect tableitem _getitem wasselect ignoreselect getdatabrowserselectionanchor getcurrenteventkeymodifi shiftkei kdatabrowseritemselect anchorfirst anchorlast cmdkei kdatabrowseritemselect anchorfirst anchorlast postev kdatabrowseritemdoubleclick tableitem _getitem wasselect postev defaultselect noerr int event mous int handler int event int user data int result super event mous handler event user data result os err return result shell shell shell shell bring top true featur macintosh reason user click data browser focu assign lost reassign caus control set focu part event fix ignor control set focu part user click send focu event event mous control focu displai focu control displai ignor focu true select fals result os call event handler handler event displai ignor focu fals focu focu null focu dispos focu send focu event fals fals dispos enabl send focu event true fals select os data browser item select handl hittest int index hittest 1 0 index index item count event event event event item getitem index post event swt select event return result keventmousedown nexthandl theevent userdata keventmousedown nexthandl theevent userdata noerr getshel bringtotop kevencontrolsetfocuspart kevencontrolsetfocuspart keventmousedown oldfocu getfocuscontrol ignorefocu wasselect callnexteventhandl nexthandl theevent ignorefocu oldfocu oldfocu oldfocu isdispos oldfocu sendfocusev isdispos isen sendfocusev wasselect isdatabrowseritemselect lasthittest lasthittest itemcount _getitem postev int event text input unicod kei event int handler int event int user data int result super event text input unicod kei event handler event user data result os err return result int keyboard event int 1 os event paramet event os event param text input send keyboard event os type event ref null keyboard event length 4 null keyboard event int kei code int 1 os event paramet keyboard event 0 os event param kei code os typeu int32 null kei code length 4 null kei code switch kei code 0 case 36 return post event swt default select break featur macintosh reason user hit arrow travers item data browser item scroll left white space visibl the item scroll view fix arrow travers java call default handler case 125 int index select index set select math min item count 1 index 1 true return os err case 126 int index select index set select math max 0 index 1 true return os err return result keventtextinputunicodeforkeyev nexthandl theevent userdata keventtextinputunicodeforkeyev nexthandl theevent userdata noerr keyboardev geteventparamet theevent keventparamtextinputsendkeyboardev typeeventref keyboardev keyboardev keycod geteventparamet keyboardev keventparamkeycod typeuint32 keycod keycod keycod postev defaultselect getselectionindex setselect itemcount noerr getselectionindex setselect noerr void releas widget int 0 column count tabl column column column column dispos column releas resourc column null int 0 item count tabl item item item item null item dispos item releas resourc item null super releas widget releasewidget columncount tablecolumn isdispos releaseresourc itemcount tableitem isdispos releaseresourc releasewidget remov item receiv rel index param index index item except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov oper fail oper system failur li ul public void remov int index check widget check item true 0 index index item count error swt error invalid rang int id int item count os remov data browser item handl os data browser item id length id 0 os err error swt error item remov tabl item item item index system arraycopi item index 1 item index item count index item item count null item null item releas resourc os updat data browser item handl 0 0 null os data browser item properti os data browser item illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov checkwidget checkitem itemcount error_invalid_rang itemcount removedatabrowseritem kdatabrowsernoitem noerr error_item_not_remov tableitem itemcount itemcount releaseresourc updatedatabrowseritem kdatabrowseritemnoproperti kdatabrowsernoitem remov item receiv rel start end indic inclus param start start rang param end end rang except illeg argument except ul li error invalid rang start end 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov oper fail oper system failur li ul public void remov int start int end check widget start end return 0 start start end end item count error swt error invalid rang start 0 end item count 1 remov int length end start 1 int 0 length remov start illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov checkwidget itemcount error_invalid_rang itemcount removeal remov item receiv list rel indic param indic arrai indic item except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li li error null argument indic arrai null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item remov oper fail oper system failur li ul public void remov int indic check widget indic null error swt error null argument indic length 0 return int indic int indic length system arraycopi indic 0 indic 0 indic length sort indic int start indic indic length 1 end indic 0 0 start start end end item count error swt error invalid rang int 1 int 0 indic length int index indic index remov index index illegalargumentexcept error_invalid_rang error_null_argument swtexcept error_widget_dispos error_thread_invalid_access swterror error_item_not_remov checkwidget error_null_argument newindic newindic newindic newindic newindic newindic itemcount error_invalid_rang newindic newindic remov item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void remov check widget featur mac remov data browser item remov item item notif callback issu messag data browser item remov item remov slow fix temporarili remov item notif callback data browser callback callback data browser callback os data browser callback handl callback callback v1 itemnotificationcallback 0 os set data browser callback handl callback os remov data browser item handl os data browser item 0 null 0 callback v1 itemnotificationcallback displai item notif proc os set data browser callback handl callback os set data browser scroll posit handl 0 0 int 0 item count tabl item item item item null item dispos item releas resourc item tabl item 4 item count anchor anchor 0 swtexcept error_widget_dispos error_thread_invalid_access removeal checkwidget removedatabrowseritem kdatabrowseritemremov databrowsercallback databrowsercallback getdatabrowsercallback v1_itemnotificationcallback setdatabrowsercallback removedatabrowseritem kdatabrowsernoitem v1_itemnotificationcallback itemnotificationproc setdatabrowsercallback setdatabrowserscrollposit itemcount tableitem isdispos releaseresourc tableitem itemcount anchorfirst anchorlast remov listen collect listen notifi receiv select param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten selectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect void reset visibl region int control super reset visibl region control show index 1 show index show index resetvisibleregion resetvisibleregion showindex showindex showindex select item rel index receiv item index select remain select indic rang param index index item select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void select int index check widget check item fals 0 index index item count int id int index 1 select id id length fals swtexcept error_widget_dispos error_thread_invalid_access checkwidget checkitem itemcount select item rang rel indic receiv rang indic inclus current select clear item select item rang select select item rang select remain select indic rang item select start greater end receiv singl select item rang indic param start start rang param end end rang except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tabl set select int int public void select int start int end check widget check item fals end 0 start end style swt singl 0 start end return item count 0 start item count return start 0 end item count 1 select start math max 0 start end math min end item count 1 int length end start 1 int id int length int 0 length id end 1 select id length fals swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget checkitem itemcount itemcount itemcount selectal itemcount select item rel indic receiv current select clear item select item index select select item index select remain select indic rang duplic indic receiv singl select multipl indic indic param indic arrai indic item select except illeg argument except ul li error null argument arrai indic null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tabl set select int public void select int indic check widget check item fals indic null error swt error null argument int length indic length length 0 style swt singl 0 length 1 return int id int length int count 0 int 0 length int index indic length 1 index 0 index item count id count index 1 count 0 select id count fals illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget checkitem error_null_argument itemcount void select int id int count boolean clear ignor select true bug macintosh data broswer select flag includ data browser empti select set data browser select item select set data browser select item call data browser item assign assign selet despit fact data browser select fix save restor data browser empti select set call set data browser select item int select flag null style swt singl 0 select flag int 1 os data browser select flag handl select flag os set data browser select flag handl select flag 0 os data browser empti select set int oper os data browser item assign style swt multi 0 clear oper os data browser item add os set data browser select item handl count id oper style swt singl 0 os set data browser select flag handl select flag 0 ignor select fals ignoreselect databrosw kdatabrowserneveremptyselectionset kdatabrowserselectonlyon setdatabrowserselecteditem kdatabrowseritemsassign kdatabrowserselectonlyon kdatabrowserneveremptyselectionset setdatabrowserselecteditem selectionflag selectionflag getdatabrowserselectionflag selectionflag setdatabrowserselectionflag selectionflag kdatabrowserneveremptyselectionset kdatabrowseritemsassign kdatabrowseritemsadd setdatabrowserselecteditem setdatabrowserselectionflag selectionflag ignoreselect select item receiv receiv singl select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void select check widget check item fals style swt singl 0 return select null 0 fals swtexcept error_widget_dispos error_thread_invalid_access selectal checkwidget checkitem int set bound int control int int int width int height boolean move boolean resiz boolean event ensur top item visibl tree resiz size size show select int result super set bound control width height move resiz event show index 1 show index show index return result setbound setbound showindex showindex showindex void set font style font font super set font style font item null return int 0 item length tabl item item item item null item width 1 set scroll width item true setfontstyl setfontstyl tableitem setscrollwidth mark receiv header visibl argument code true code mark invis receiv ancestor visibl condit make receiv visibl mark visibl actual displai param show visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set header visibl boolean show check widget int height show header height 0 os set data browser list view header btn height handl short height swtexcept error_widget_dispos error_thread_invalid_access setheadervis checkwidget headerheight setdatabrowserlistviewheaderbtnheight set number item contain receiv param count number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set item count int count check widget check item true count math max 0 count count item count return set redraw fals int top int 1 left int 1 os data browser scroll posit handl top left data browser callback callback data browser callback os data browser callback handl callback callback v1 itemnotificationcallback 0 os set data browser callback handl callback count item count int index count index item count int id int index 1 os remov data browser item handl os data browser item id length id 0 os err break tabl item item item index item null item releas resourc index index item count error swt error item remov int length math max 4 count 3 4 4 tabl item item tabl item length system arraycopi item 0 item 0 math min count item count item item style swt virtual 0 int count item count item tabl item swt fals item count count os add data browser item handl 0 item count null os data browser item properti callback v1 itemnotificationcallback displai item notif proc os set data browser callback handl callback set redraw true swtexcept error_widget_dispos error_thread_invalid_access setitemcount checkwidget checkitem itemcount setredraw getdatabrowserscrollposit databrowsercallback databrowsercallback getdatabrowsercallback v1_itemnotificationcallback setdatabrowsercallback itemcount itemcount removedatabrowseritem kdatabrowsernoitem noerr tableitem releaseresourc itemcount error_item_not_remov tableitem newitem tableitem newitem itemcount newitem itemcount tableitem itemcount adddatabrowseritem itemcount kdatabrowseritemnoproperti v1_itemnotificationcallback itemnotificationproc setdatabrowsercallback setredraw mark receiv line visibl argument code true code mark invis receiv ancestor visibl condit make receiv visibl mark visibl actual displai param show visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set line visibl boolean show check widget swtexcept error_widget_dispos error_thread_invalid_access setlinesvis checkwidget public void set redraw boolean redraw check widget super set redraw redraw redraw draw count 0 resiz item arrai match item count item length 4 item length item count 3 int length math max 4 item count 3 4 4 tabl item item tabl item length system arraycopi item 0 item 0 item count item item check item true setredraw checkwidget setredraw drawcount itemcount itemcount tableitem newitem tableitem newitem itemcount newitem checkitem boolean set scroll width tabl item item boolean set ignor redraw draw count 0 return fals column count 0 return fals gc gc gc int width 0 int 0 item length tabl item item item item null width math max width item calcul width 0 gc gc dispos width extra width set short width short 1 os data browser tabl view name column width handl column id width width 0 width return fals os set data browser tabl view name column width handl column id short width return true setscrollwidth tableitem ignoreredraw drawcount columncount newwidth tableitem newwidth newwidth calculatewidth newwidth extra_width getdatabrowsertableviewnamedcolumnwidth column_id newwidth setdatabrowsertableviewnamedcolumnwidth column_id newwidth boolean set scroll width tabl item item ignor redraw draw count 0 return fals column count 0 return fals gc gc gc int width item calcul width 0 gc gc dispos width extra width short width short 1 os data browser tabl view name column width handl column id width width 0 width os set data browser tabl view name column width handl column id short width return true return fals setscrollwidth tableitem ignoreredraw drawcount columncount newwidth calculatewidth newwidth extra_width getdatabrowsertableviewnamedcolumnwidth column_id newwidth setdatabrowsertableviewnamedcolumnwidth column_id newwidth select item rel index receiv current select clear item select param index index item select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tabl deselect tabl select int public void set select int index check widget check item fals set select index fals swtexcept error_widget_dispos error_thread_invalid_access deselectal setselect checkwidget checkitem setselect void set select int index boolean notifi check widget 0 index index item count int id int index 1 select id id length true show index index notifi event event event event item getitem index post event swt select event setselect checkwidget itemcount showindex _getitem postev select item rang rel indic receiv rang indic inclus current select clear item select indic rang item select start greater end receiv singl select item rang indic param start start index item select param end end index item select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tabl deselect tabl select int int public void set select int start int end check widget check item fals deselect end 0 start end style swt singl 0 start end return item count 0 start item count return start math max 0 start end math min end item count 1 int length end start 1 int id int length int 0 length id end 1 select id length true show index id 0 1 swtexcept error_widget_dispos error_thread_invalid_access deselectal setselect checkwidget checkitem deselectal itemcount itemcount itemcount showindex select item rel indic receiv current select clear item select indic rang duplic indic receiv singl select multipl indic indic param indic indic item select except illeg argument except ul li error null argument arrai indic null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tabl deselect tabl select int public void set select int indic check widget check item fals indic null error swt error null argument deselect int length indic length length 0 style swt singl 0 length 1 return int id int length int count 0 int 0 length int index indic length 1 index 0 index item count id count index 1 count 0 select id count true show index id 0 1 illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access deselectal setselect checkwidget checkitem error_null_argument deselectal itemcount showindex set receiv select arrai item current select clear item select item receiv receiv singl select multipl item item param item arrai item except illeg argument except ul li error null argument arrai item null li li error invalid argument item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tabl deselect tabl select int tabl set select int public void set select tabl item item check widget check item fals item null error swt error null argument deselect int length item length length 0 style swt singl 0 length 1 return int id int length int count 0 int 0 length int index index item length 1 index 1 id count index 1 count 0 select id count true show index id 0 1 illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access deselectal setselect setselect tableitem checkwidget checkitem error_null_argument deselectal indexof showindex set rel index item top receiv index chang item scroll item ad remov param index index top item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set top index int index check widget check item fals int top int 1 left int 1 os data browser scroll posit handl top left top 0 index item height os set data browser scroll posit handl top 0 left 0 swtexcept error_widget_dispos error_thread_invalid_access settopindex checkwidget checkitem getdatabrowserscrollposit getitemheight setdatabrowserscrollposit show column column show receiv method simpli return column scroll column visibl param column column shown except illeg argument except ul li error null argument item null li li error invalid argument item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void show column tabl column column check widget column null error swt error null argument column dispos error swt error invalid argument column parent return int index index column column count 1 0 index index column count return width horizont posit column short short 1 os data browser tabl view name column width handl column id int width 0 int 0 int 0 index short 1 os data browser tabl view name column width handl column id 0 current scroll posit int top int 1 left int 1 os data browser scroll posit handl top left scroll column view left 0 os set data browser scroll posit handl top 0 rectangl rect client area int max width rect width width math min width max width width left 0 max width left 0 width max width os set data browser scroll posit handl top 0 left 0 illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access showcolumn tablecolumn checkwidget error_null_argument isdispos error_invalid_argument indexof columncount columncount getdatabrowsertableviewnamedcolumnwidth getdatabrowsertableviewnamedcolumnwidth getdatabrowserscrollposit setdatabrowserscrollposit getclientarea maxwidth maxwidth maxwidth maxwidth setdatabrowserscrollposit void show index int index 0 index index item count bug macintosh room show singl item data browser reveal data browser item scroll item top data browser fix rememb index scroll data browser resiz bug macintosh item ad data browser hidden reveal data browser item call control data browser repaint redraw redraw happen caus pixel corrupt fix rememb index scroll data browser shown rectangl rect client area rect height item height os control visibl handl show index index return show index 1 tabl item item getitem index rectangl item rect item bound 0 item rect empti rect item rect item rect rect item rect item rect item rect height return int top int 1 left int 1 os data browser scroll posit handl top left os reveal data browser item handl index 1 os data browser item byte os data browser reveal select bug macintosh reason data browser scroll reveal data browser item scrollbar redrawn fix forc redraw int top int 1 left int 1 os data browser scroll posit handl top left horizont bar null left 0 left 0 horizont bar redraw vertic bar null top 0 top 0 vertic bar redraw showindex itemcount revealdatabrowseritem revealdatabrowseritem getclientarea getitemheight iscontrolvis showindex showindex tableitem _getitem itemrect getbound itemrect isempti itemrect itemrect itemrect itemrect itemrect getdatabrowserscrollposit revealdatabrowseritem kdatabrowsernoitem kdatabrowserrevealwithoutselect databrows revealdatabrowseritem newtop newleft getdatabrowserscrollposit newtop newleft horizontalbar newleft horizontalbar verticalbar newtop verticalbar show item item show receiv method simpli return item scroll item visibl param item item shown except illeg argument except ul li error null argument item null li li error invalid argument item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tabl show select public void show item tabl item item check widget check item fals item null error swt error null argument item dispos error swt error invalid argument int index index item index 1 show index index illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access showselect showitem tableitem checkwidget checkitem error_null_argument isdispos error_invalid_argument indexof showindex show select select show receiv method simpli return item scroll select visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tabl show item tabl item public void show select check widget check item fals int index select index index 0 show index index swtexcept error_widget_dispos error_thread_invalid_access showitem tableitem showselect checkwidget checkitem getselectionindex showindex int track proc int browser int id int properti int rect int start pt int modifi return 1 trackingproc therect startpt construct instanc class parent code tabl code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt left swt swt center widget check subclass widget style public tabl column tabl parent int style super parent check style style resiz true parent parent parent creat item parent column count illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl tablecolumn checkstyl createitem getcolumncount construct instanc class parent code tabl code style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct param index index store receiv parent except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt left swt swt center widget check subclass widget style public tabl column tabl parent int style int index super parent check style style resiz true parent parent parent creat item index illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl tablecolumn checkstyl createitem add listen collect listen notifi control move resiz send messag defin code control listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul control listen remov control listen public void add control listen control listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt resiz type listen add listen swt move type listen controllisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access controllisten removecontrollisten addcontrollisten controllisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten typedlisten add listen collect listen notifi control select send messag defin code select listen code interfac code widget select code call column header select code widget default select code call param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten static int check style int style return check bit style swt left swt center swt 0 0 0 checkstyl checkbit protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass return describ posit text imag receiv code left code code code code center code return align except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int align check widget style swt left 0 return swt left style swt center 0 return swt center style swt 0 return swt return swt left swtexcept error_widget_dispos error_thread_invalid_access getalign checkwidget string text return text getnametext gettext return receiv parent code tabl code return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tabl parent check widget return parent swtexcept error_widget_dispos error_thread_invalid_access getpar checkwidget resiz attribut column resiz drag user resiz programm return resiz attribut except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean resiz check widget return resiz swtexcept error_widget_dispos error_thread_invalid_access getresiz checkwidget width receiv return width except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int width check widget short width short 1 os data browser tabl view name column width parent handl id width return math max 0 width 0 tabl extra width swtexcept error_widget_dispos error_thread_invalid_access getwidth checkwidget getdatabrowsertableviewnamedcolumnwidth extra_width receiv resiz prefer size composit involv comput prefer size layout except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void pack check widget gc gc gc parent int width gc string extent text parent style swt virtual 0 int index parent index int 0 parent item count tabl item item parent item item null width math max width item calcul width index gc gc dispos set width width swtexcept error_widget_dispos error_thread_invalid_access checkwidget stringext indexof itemcount tableitem calculatewidth setwidth void releas child super releas child parent destroi item releasechild releasechild destroyitem void releas widget super releas widget parent null releasewidget releasewidget remov listen collect listen notifi control move resiz param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul control listen add control listen public void remov control listen control listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt move listen event tabl unhook swt resiz listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access controllisten addcontrollisten removecontrollisten controllisten checkwidget error_null_argument eventt eventt eventt remov listen collect listen notifi control select param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect void resiz int width width width send event swt resiz int index parent index int index 1 parent column count tabl column column parent column column send event swt move newwidth lastwidth newwidth sendev indexof columncount tablecolumn sendev control text imag displai receiv argument code left code code code code center code param align align except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set align int align check widget align swt left swt swt center 0 return int index parent index index 1 index 0 return style swt left swt swt center style align swt left swt swt center updat header swtexcept error_widget_dispos error_thread_invalid_access setalign checkwidget indexof updatehead public void set imag imag imag check widget imag null imag dispos error swt error invalid argument int index parent index index 1 return super set imag imag setimag checkwidget isdispos error_invalid_argument indexof setimag set resiz attribut column resiz drag user resiz programm param resiz resiz attribut except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set resiz boolean resiz check widget resiz resiz updat header swtexcept error_widget_dispos error_thread_invalid_access setresiz checkwidget updatehead public void set text string string check widget string null error swt error null argument super set text string updat header settext checkwidget error_null_argument settext updatehead set width receiv param width width except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set width int width check widget width tabl extra width os set data browser tabl view name column width parent handl id short width updat header width width resiz width swtexcept error_widget_dispos error_thread_invalid_access setwidth checkwidget extra_width setdatabrowsertableviewnamedcolumnwidth updatehead lastwidth void updat header char buffer char text length text char 0 buffer length buffer 0 int length fix mnemon buffer int str os cf string creat charact os kcf alloc default buffer length str 0 error swt error set text data browser list view header desc desc data browser list view header desc desc version os data browser list view latest header desc desc btnfontstyl os te flush left style swt center 0 desc btnfontstyl os te center style swt 0 desc btnfontstyl os te flush desc btnfontstyl flag os control mask resiz desc minimum width 0 desc maximum width 0x7fff short width short 1 os data browser tabl view name column width parent handl id width desc minimum width desc maximum width width 0 desc titl string str os set data browser list view header desc parent handl id desc os cf releas str updatehead getchar fixmnemon cfstringcreatewithcharact kcfallocatordefault error_cannot_set_text databrowserlistviewheaderdesc databrowserlistviewheaderdesc kdatabrowserlistviewlatestheaderdesc btnfontstyl_just teflushleft btnfontstyl_just tecent btnfontstyl_just teflushright btnfontstyl_flag kcontrolusejustmask minimumwidth maximumwidth getdatabrowsertableviewnamedcolumnwidth minimumwidth maximumwidth titlestr setdatabrowserlistviewheaderdesc cfreleas construct instanc class parent code tabl code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public tabl item tabl parent int style parent style check null parent item count true illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl tableitem checknul getitemcount construct instanc class parent code tabl code style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct param index index store receiv parent except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public tabl item tabl parent int style int index parent style index true illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl tableitem tabl item tabl parent int style int index boolean creat super parent style parent parent creat parent creat item index tableitem createitem static tabl check null tabl control control null swt error swt error null argument return control checknul error_null_argument int calcul width int index gc gc index 0 width 1 return width int width 0 imag imag imag index string text text index imag null width imag bound width 2 text null text length 0 width gc string extent text index 0 width width return width calculatewidth getimag gettext getbound stringext protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass void clear text imag null string null imag null check grai cach fals foreground background null cell foreground cell background null font null cell font null width 1 cellforeground cellbackground cellfont return receiv background color return background color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public color background check widget return background null background parent background swtexcept error_widget_dispos error_thread_invalid_access getbackground checkwidget getbackground return background color column index receiv param index column index return background color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public color background int index check widget int count math max 1 parent column count 0 index index count 1 return background cell background null cell background index null return background return cell background index swtexcept error_widget_dispos error_thread_invalid_access getbackground checkwidget columncount getbackground cellbackground cellbackground getbackground cellbackground return rectangl describ receiv size locat rel parent column tabl param index index specifi column return receiv bound column rectangl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public rectangl bound int index check widget parent check item true index 0 0 index index parent column count return rectangl 0 0 0 0 rect rect rect int item index parent index int id item index 1 int column id parent column count 0 parent column id parent column index id os data browser item part bound parent handl id column id os data browser properti enclos part rect os err return rectangl 0 0 0 0 rect rect2 rect os data browser item part bound parent handl id column id os data browser properti content part rect2 os err return rectangl 0 0 0 0 int rect2 left rect2 top int width rect rect2 left int height rect2 bottom rect2 top os control bound parent handl rect rect left rect top return rectangl width 1 height 1 swtexcept error_widget_dispos error_thread_invalid_access getbound checkwidget checkitem columncount itemindex indexof itemindex columnid columncount column_id getdatabrowseritempartbound columnid kdatabrowserpropertyenclosingpart noerr getdatabrowseritempartbound columnid kdatabrowserpropertycontentpart noerr getcontrolbound return code true code receiv check fals parent code check code style return fals return check checkbox except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean check check widget parent style swt check 0 return fals return check swtexcept error_widget_dispos error_thread_invalid_access getcheck checkwidget return font receiv paint textual inform item return receiv font except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public font font check widget return font null font parent font swtexcept error_widget_dispos error_thread_invalid_access getfont checkwidget getfont return font receiv paint textual inform cell item param index column index return receiv font except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public font font int index check widget int count math max 1 parent column count 0 index index count 1 return font cell font null cell font index null return font return cell font index swtexcept error_widget_dispos error_thread_invalid_access getfont checkwidget columncount getfont cellfont cellfont getfont cellfont return foreground color receiv draw return receiv foreground color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public color foreground check widget return foreground null foreground parent foreground swtexcept error_widget_dispos error_thread_invalid_access getforeground checkwidget getforeground return foreground color column index receiv param index column index return foreground color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public color foreground int index check widget int count math max 1 parent column count 0 index index count 1 return foreground cell foreground null cell foreground index null return foreground return cell foreground index swtexcept error_widget_dispos error_thread_invalid_access getforeground checkwidget columncount getforeground cellforeground cellforeground getforeground cellforeground return code true code receiv grai fals parent code check code style return fals return grai checkbox except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean grai check widget parent style swt check 0 return fals return grai swtexcept error_widget_dispos error_thread_invalid_access getgrai checkwidget return imag store column index receiv null imag set column exist param index column index return imag store column index receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public imag imag int index check widget index 0 return super imag imag null 0 index index imag length return imag index return null swtexcept error_widget_dispos error_thread_invalid_access getimag checkwidget getimag return rectangl describ size locat rel parent imag column tabl param index index specifi column return receiv bound imag rectangl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public rectangl imag bound int index check widget parent check item true index 0 0 index index parent column count return rectangl 0 0 0 0 rect rect rect int item index parent index int id item index 1 int column id parent column count 0 parent column id parent column index id os data browser item part bound parent handl id column id os data browser properti content part rect os err return rectangl 0 0 0 0 int rect left rect top int width 0 index 0 imag null rectangl bound imag bound width bound width index 0 imag null imag index null rectangl bound imag index bound width bound width int height rect bottom rect top 1 os control bound parent handl rect rect left rect top return rectangl width height swtexcept error_widget_dispos error_thread_invalid_access getimagebound checkwidget checkitem columncount itemindex indexof itemindex columnid columncount column_id getdatabrowseritempartbound columnid kdatabrowserpropertycontentpart noerr getbound getbound getcontrolbound imag indent return indent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int imag indent check widget return 0 swtexcept error_widget_dispos error_thread_invalid_access getimageind checkwidget return receiv parent code tabl code return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tabl parent check widget return parent swtexcept error_widget_dispos error_thread_invalid_access getpar checkwidget return text store column index receiv empti string text set param index column index return text store column index receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error text column index exist li ul public string text int index check widget index 0 return super text string null 0 index index string length string string string index return string null string return swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_text gettext checkwidget gettext void redraw cach true parent ignor redraw parent draw count 0 return int item index parent index int id int item index 1 os updat data browser item parent handl 0 id length id os data browser item properti os data browser item ignoreredraw drawcount itemindex indexof itemindex updatedatabrowseritem kdatabrowseritemnoproperti kdatabrowsernoitem void releas child super releas child parent destroi item releasechild releasechild destroyitem void releas widget super releas widget parent null string null imag null background foreground null font null cell background cell foreground null cell font null releasewidget releasewidget cellbackground cellforeground cellfont set receiv background color color argument default system color item argument null param color color null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set background color color check widget color null color dispos swt error swt error invalid argument background color return background null background equal color return background color redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setbackground checkwidget isdispos error_invalid_argument set background color column index receiv color argument default system color item argument null param index column index param color color null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set background int index color color check widget color null color dispos swt error swt error invalid argument int count math max 1 parent column count 0 index index count 1 return cell background null cell background color count cell background index color return cell background index null cell background index equal color return cell background index color redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setbackground checkwidget isdispos error_invalid_argument columncount cellbackground cellbackground cellbackground cellbackground cellbackground cellbackground set check checkbox item chang appli tabl creat swt check style param check check checkbox except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set check boolean check check widget parent style swt check 0 return check check return check check redraw swtexcept error_widget_dispos error_thread_invalid_access setcheck checkwidget set font receiv paint textual inform item font argument default font kind control argument null param font font null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set font font font check widget font null font dispos swt error swt error invalid argument font font return font null font equal font return font font redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setfont checkwidget isdispos error_invalid_argument set font receiv paint textual inform cell item font argument default font kind control argument null param index column index param font font null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set font int index font font check widget font null font dispos swt error swt error invalid argument int count math max 1 parent column count 0 index index count 1 return cell font null cell font font count cell font index font return cell font index null cell font index equal font return cell font index font redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setfont checkwidget isdispos error_invalid_argument columncount cellfont cellfont cellfont cellfont cellfont cellfont set receiv foreground color color argument default system color item argument null param color color null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set foreground color color check widget color null color dispos swt error swt error invalid argument foreground color return foreground null foreground equal color return foreground color redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setforeground checkwidget isdispos error_invalid_argument set foreground color column index receiv color argument default system color item argument null param index column index param color color null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set foreground int index color color check widget color null color dispos swt error swt error invalid argument int count math max 1 parent column count 0 index index count 1 return cell foreground null cell foreground color count cell foreground index color return cell foreground index null cell foreground index equal color return cell foreground index color redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setforeground checkwidget isdispos error_invalid_argument columncount cellforeground cellforeground cellforeground cellforeground cellforeground cellforeground set grai checkbox item chang appli tabl creat swt check style param grai grai checkbox except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set grai boolean grai check widget parent style swt check 0 return grai grai return grai grai redraw swtexcept error_widget_dispos error_thread_invalid_access setgrai checkwidget set imag multipl column tabl param imag arrai imag except illeg argument except ul li error null argument arrai imag null li li error invalid argument imag dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set imag imag imag check widget imag null error swt error null argument int 0 imag length set imag imag illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setimag checkwidget error_null_argument setimag set receiv imag column param index column index param imag imag except illeg argument except ul li error invalid argument imag dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set imag int index imag imag check widget imag null imag dispos error swt error invalid argument int item index parent index item index 1 return index 0 imag null imag type swt icon imag equal imag return width 1 super set imag imag int count math max 1 parent column count 0 index index count imag null imag imag count imag null imag type swt icon imag equal imag index return imag index imag index 0 parent set scroll width redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setimag checkwidget isdispos error_invalid_argument itemindex indexof itemindex setimag columncount setscrollwidth public void set imag imag imag check widget set imag 0 imag setimag checkwidget setimag set indent column imag express term imag width param indent indent ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set imag indent int indent check widget indent 0 return imag indent support macintosh redraw swtexcept error_widget_dispos error_thread_invalid_access setimageind checkwidget set text multipl column tabl param string arrai string except illeg argument except ul li error null argument text null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string string check widget string null error swt error null argument int 0 string length string string string string null set text string illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget error_null_argument settext set receiv text column param index column index param string text except illeg argument except ul li error null argument text null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text int index string string check widget string null error swt error null argument index 0 string equal text return width 1 super set text string int count math max 1 parent column count 0 index index count string null string string count string equal string index return string index string index 0 parent set scroll width redraw illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget error_null_argument settext columncount setscrollwidth public void set text string string check widget set text 0 string settext checkwidget settext construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt singl swt multi swt read swt wrap widget check subclass widget style public text composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass read_onli checksubclass getstyl checkstyl add listen collect listen notifi receiv text modifi send messag defin code modifi listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul modifi listen remov modifi listen public void add modifi listen modifi listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt modifi type listen modifylisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access modifylisten removemodifylisten addmodifylisten modifylisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten add listen collect listen notifi control select send messag defin code select listen code interfac code widget select code call text code widget default select code typic call enter press singl line text param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten add listen collect listen notifi receiv text verifi send messag defin code verifi listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul verifi listen remov verifi listen public void add verifi listen verifi listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt verifi type listen verifylisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access verifylisten removeverifylisten addverifylisten verifylisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten append string text append text end widget param string string append except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void append string string check widget string null error swt error null argument hook swt verifi filter swt verifi int char count char count string verifi text string char count char count null string null return settxn text os ktxn end offset os ktxn end offset string os txn set select txn object os ktxn end offset os ktxn end offset os txn show select txn object fals string length 0 send event swt modifi illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access checkwidget error_null_argument charcount getcharcount verifytext charcount charcount settxntext ktxnendoffset ktxnendoffset txnsetselect txnobject ktxnendoffset ktxnendoffset txnshowselect txnobject sendev static int check style int style style check bit style swt left swt center swt 0 0 0 style swt singl 0 style swt scroll swt scroll swt wrap style swt wrap 0 style swt multi style swt multi 0 style swt password style swt singl swt multi 0 return style style swt scroll swt scroll 0 return style swt multi return style swt singl checkstyl checkbit h_scroll v_scroll h_scroll v_scroll clear select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void clear select check widget int start offset int 1 end offset int 1 os txn select txn object start offset end offset os txn set select txn object start offset 0 start offset 0 swtexcept error_widget_dispos error_thread_invalid_access clearselect checkwidget ostartoffset oendoffset txngetselect txnobject ostartoffset oendoffset txnsetselect txnobject ostartoffset ostartoffset public point comput size int hint int hint boolean chang check widget txn rect text rect txn rect os txn rect bound txn object null null text rect int width text rect text rect left int height text rect bottom text rect top width 0 width default width height 0 height default height hint swt default width hint hint swt default height hint rectangl trim comput trim 0 0 width height width trim width height trim height return point width height computes whint hhint checkwidget txnlongrect otextrect txnlongrect txngetrectbound txnobject otextrect otextrect otextrect otextrect otextrect default_width default_height whint whint hhint hhint computetrim public rectangl comput trim int int int width int height check widget int ptr os ptr rect sizeof os txn gettxn object control txn object 1 int os ktxn margin tag int ptr rect rect rect os memcpi rect ptr rect sizeof os dispos ptr ptr width rect left rect height rect top rect bottom int size int 1 os theme metric os theme metric scroll bar width size horizont bar null height size 0 vertic bar null width size 0 rect inset inset inset left inset top width inset left inset height inset top inset bottom return rectangl width height computetrim checkwidget newptr txngettxnobjectcontrol txnobject ktxnmarginstag disposeptr getthememetr kthememetricscrollbarwidth horizontalbar verticalbar copi select text current select copi clipboard except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void copi check widget os txn copi txn object swtexcept error_widget_dispos error_thread_invalid_access checkwidget txncopi txnobject void creat handl int featur os control support embed os control support focu os control focu click int control int 1 int window os control owner parent handl os creat user pane control window null featur control control 0 0 error swt error handl handl control 0 featur macintosh txn object control creat scroll bar control scroll text creat root children user pane repres tnx object fix emb scroll bar user pane int root int 1 os root control window root short count short 1 os count control root 0 count creat txn object int frame option os ktxn dont draw caret inact mask os ktxn monostyl text mask style swt scroll 0 frame option os ktxn wanth scroll bar mask style swt scroll 0 frame option os ktxn wantv scroll bar mask style swt singl 0 frame option os ktxn singl line mask style swt wrap 0 frame option os ktxn wrap view edg mask int otxn object int 1 otxn frameid int 1 os txn object 0 window null frame option os ktxn text edit style frame type os ktxn unicod text file os ktxn system default encod otxn object otxn frameid 0 otxn object 0 0 error swt error handl txn object otxn object 0 txn frameid otxn frameid 0 emb scroll bar user pane short count short 1 os count control root 0 count int scroll bar int 1 int count 0 count 0 os index control root 0 short scroll bar os hi view remov superview scroll bar 0 os hi view add subview handl scroll bar 0 configur txn object int ptr os ptr rect sizeof rect rect rect border os set rect rect short 1 short 1 short 1 short 1 os memcpi ptr rect rect sizeof int tag int os ktxn disabl drag drop tag os ktxnio privileg tag os ktxn margin tag int data int 1 style swt read 0 1 0 ptr os txn settxn object control txn object fals tag length tag data os txn set frame bound txn object 0 0 0 0 txn frameid os dispos ptr ptr bug macintosh caret height small text set txn object fix temporari chang text char buffer char os txn set data txn object os ktxn unicod text data buffer 2 os ktxn start offset os ktxn end offset os txn set data txn object os ktxn unicod text data buffer 0 os ktxn start offset os ktxn end offset createhandl kcontrolsupportsembed kcontrolsupportsfocu kcontrolgetsfocusonclick outcontrol getcontrolown createuserpanecontrol outcontrol outcontrol error_no_handl outcontrol txnobject tnxobject theroot getrootcontrol theroot oldcount countsubcontrol theroot oldcount txnobject iframeopt ktxndontdrawcaretwheninactivemask ktxnmonostyledtextmask h_scroll iframeopt ktxnwanthscrollbarmask v_scroll iframeopt ktxnwantvscrollbarmask iframeopt ktxnsinglelineonlymask iframeopt ktxnalwayswrapatviewedgemask otxnobject otxnframeid txnnewobject iframeopt ktxntexteditstyleframetyp ktxnunicodetextfil ktxnsystemdefaultencod otxnobject otxnframeid otxnobject error_no_handl txnobject otxnobject txnframeid otxnframeid newcount countsubcontrol theroot newcount scrollbar newcount oldcount getindexedsubcontrol theroot scrollbar hiviewremovefromsuperview scrollbar hiviewaddsubview scrollbar txnobject newptr hasbord setrect ktxndisabledraganddroptag ktxnioprivilegestag ktxnmarginstag read_onli txnsettxnobjectcontrol txnobject txnsetframebound txnobject txnframeid disposeptr txnobject txnsetdata txnobject ktxnunicodetextdata ktxnstartoffset ktxnendoffset txnsetdata txnobject ktxnunicodetextdata ktxnstartoffset ktxnendoffset scroll bar creat scroll bar int style return creat standard bar style scrollbar createscrollbar createstandardbar void creat widget super creat widget style swt password 0 set echo char password createwidget createwidget setechochar cut select text current select copi clipboard delet widget except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void cut check widget style swt read 0 return boolean cut true point select select hook swt verifi filter swt verifi select select string text verifi text select select null text null return text length 0 settxn text os ktxn current select os ktxn current select text os txn show select txn object fals cut fals cut os txn cut txn object featur macintosh empti string set txn object font attribut clear fix reset os txn data size txn object 2 0 set font style font point select select cut select equal select send event swt modifi swtexcept error_widget_dispos error_thread_invalid_access checkwidget read_onli oldselect getselect oldselect oldselect newtext verifytext oldselect oldselect newtext newtext settxntext ktxnusecurrentselect ktxnusecurrentselect newtext txnshowselect txnobject txncut txnobject txnobject txndatas txnobject setfontstyl newselect getselect oldselect newselect sendev color default background return displai system color swt color list background defaultbackground getsystemcolor color_list_background color default foreground return displai system color swt color list foreground defaultforeground getsystemcolor color_list_foreground void draw background int control draw focu control focu draw focu ring border parent background inset drawbackground drawfocu hasfocu drawfocusr hasbord getparentbackground void draw widget int control int damag rgn int visibl rgn int event os txn draw txn object 0 super draw widget control damag rgn visibl rgn event drawwidget damagergn visiblergn theevent txndraw txnobject drawwidget damagergn visiblergn theevent line number caret line number caret return return line number except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int caret line number check widget style swt singl 0 return 0 return top pixel caret locat line height swtexcept error_widget_dispos error_thread_invalid_access getcaretlinenumb checkwidget gettoppixel getcaretloc getlineheight locat caret locat caret return return point locat caret except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point caret locat check widget org eclips swt intern carbon point point org eclips swt intern carbon point int start offset int 1 end offset int 1 os txn select txn object start offset end offset os txn offset point txn object start offset 0 point rect view rect rect os txn view rect txn object view rect return point point view rect left point view rect top swtexcept error_widget_dispos error_thread_invalid_access getcaretloc checkwidget opoint ostartoffset oendoffset txngetselect txnobject ostartoffset oendoffset txnoffsettopoint txnobject ostartoffset opoint oviewrect txngetviewrect txnobject oviewrect opoint oviewrect opoint oviewrect posit caret charact posit caret return return posit caret except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int caret posit check widget int start offset int 1 end offset int 1 os txn select txn object start offset end offset return start offset 0 swtexcept error_widget_dispos error_thread_invalid_access getcaretposit checkwidget ostartoffset oendoffset txngetselect txnobject ostartoffset oendoffset ostartoffset number charact return number charact widget except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int char count check widget return os txn data size txn object 2 swtexcept error_widget_dispos error_thread_invalid_access getcharcount checkwidget txndatas txnobject string clipboard text int scrap int 1 os current scrap scrap int size int 1 os scrap flavor size scrap 0 os scrap flavor type text size os err size 0 0 return byte buffer byte size 0 os scrap flavor data scrap 0 os scrap flavor type text size buffer os err return int encod os cf string system encod int cfstring os cf string creat byte os kcf alloc default buffer buffer length encod true cfstring 0 return string string int length os cf string length cfstring length 0 char char char length cf rang rang cf rang rang length length os cf string charact cfstring rang char string string char os cf releas cfstring return string getclipboardtext getcurrentscrap getscrapflavors kscrapflavortypetext noerr getscrapflavordata kscrapflavortypetext noerr cfstringgetsystemencod cfstringcreatewithbyt kcfallocatordefault cfstringgetlength cfrang cfrang cfstringgetcharact cfreleas doubl click enabl flag doubl click flag enabl disabl default action text widget user doubl click return doubl click enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean doubl click enabl check widget return true swtexcept error_widget_dispos error_thread_invalid_access getdoubleclicken checkwidget echo charact echo charact charact displai user enter text text chang programm return echo charact except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public char echo char check widget return echo charact swtexcept error_widget_dispos error_thread_invalid_access getechochar checkwidget echocharact edit return reciev edit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean edit check widget return style swt read 0 swtexcept error_widget_dispos error_thread_invalid_access getedit checkwidget read_onli number line return number line widget except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int line count check widget int line total int 1 os txn line count txn object line total return line total 0 swtexcept error_widget_dispos error_thread_invalid_access getlinecount checkwidget olinetot txngetlinecount txnobject olinetot olinetot line delimit return string line delimit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string line delimit check widget return delimit swtexcept error_widget_dispos error_thread_invalid_access getlinedelimit checkwidget height line return height row text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int line height check widget int line width int 1 line height int 1 os txn line metric txn object 0 line width line height return os fix2 line height 0 swtexcept error_widget_dispos error_thread_invalid_access getlineheight checkwidget olinewidth olineheight txngetlinemetr txnobject olinewidth olineheight fix2long olineheight return orient receiv return orient style except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 2 public int orient check widget return style swt left swt left swtexcept error_widget_dispos error_thread_invalid_access getorient checkwidget left_to_right right_to_left posit select text index base rang select 0 number charact widget return start end select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point select check widget int start offset int 1 end offset int 1 os txn select txn object start offset end offset return point start offset 0 end offset 0 swtexcept error_widget_dispos error_thread_invalid_access getselect checkwidget ostartoffset oendoffset txngetselect txnobject ostartoffset oendoffset ostartoffset oendoffset number select charact return number select charact except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select count check widget int start offset int 1 end offset int 1 os txn select txn object start offset end offset return end offset 0 start offset 0 swtexcept error_widget_dispos error_thread_invalid_access getselectioncount checkwidget ostartoffset oendoffset txngetselect txnobject ostartoffset oendoffset oendoffset ostartoffset select text return select text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string select text check widget return gettxn text os ktxn current select os ktxn current select swtexcept error_widget_dispos error_thread_invalid_access getselectiontext checkwidget gettxntext ktxnusecurrentselect ktxnusecurrentselect number tab tab stop space term space charact width singl tab stop pixel width space return number tab charact except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int tab check widget return 8 swtexcept error_widget_dispos error_thread_invalid_access gettab checkwidget widget text text text widget charact widget return widget text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string text check widget return gettxn text os ktxn start offset os ktxn end offset swtexcept error_widget_dispos error_thread_invalid_access gettext checkwidget gettxntext ktxnstartoffset ktxnendoffset rang text return empti string start rang greater end index base rang select 0 1 number charact widget param start start rang param end end rang return rang text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string text int start int end check widget start end 0 end return int length os txn data size txn object 2 start math max 0 start end math min end length 1 return gettxn text start end 1 swtexcept error_widget_dispos error_thread_invalid_access gettext checkwidget txndatas txnobject gettxntext return maximum number charact receiv capabl hold chang code set text limit code constant code text limit code return text limit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int text limit check widget return text limit settextlimit swtexcept error_widget_dispos error_thread_invalid_access gettextlimit checkwidget textlimit return rel index line top receiv index chang line scroll line ad remov return index top line except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int top index check widget style swt singl 0 return 0 return top pixel line height swtexcept error_widget_dispos error_thread_invalid_access gettopindex checkwidget gettoppixel getlineheight top pixel top pixel pixel posit line top widget platform text widget scroll pixel line partial line displai top widget p top pixel widget scroll top pixel includ widget trim return pixel posit top line except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int top pixel check widget style swt singl 0 return 0 rect view rect rect txn rect destin rect txn rect txn rect text rect txn rect os txn rect bound txn object view rect destin rect text rect return destin rect top text rect top swtexcept error_widget_dispos error_thread_invalid_access gettoppixel checkwidget oviewrect txnlongrect odestinationrect txnlongrect txnlongrect otextrect txnlongrect txngetrectbound txnobject oviewrect odestinationrect otextrect odestinationrect otextrect string gettxn text int start offset int end offset int data handl int 1 os txn data txn object start offset end offset data handl data handl 0 0 return int length os handl size data handl 0 length 0 return int ptr int 1 os lock data handl 0 os memcpi ptr data handl 0 4 char buffer char length 2 os memcpi buffer ptr 0 length os unlock data handl 0 os dispos handl data handl 0 return string buffer gettxntext istartoffset iendoffset odatahandl txngetdata txnobject istartoffset iendoffset odatahandl odatahandl gethandles odatahandl hlock odatahandl odatahandl hunlock odatahandl disposehandl odatahandl rect inset rect rect rect int metric int 1 draw focu ring os theme metric os theme metric focu rect outset metric rect left metric 0 rect top metric 0 rect metric 0 rect bottom metric 0 border os theme metric os theme metric edit text frame outset metric rect left metric 0 rect top metric 0 rect metric 0 rect bottom metric 0 return rect outmetr drawfocusr getthememetr kthememetricfocusrectoutset outmetr outmetr outmetr outmetr outmetr hasbord getthememetr kthememetricedittextframeoutset outmetr outmetr outmetr outmetr outmetr insert string select replac text param string string except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void insert string string check widget string null error swt error null argument hook swt verifi filter swt verifi point select select string verifi text string select select null string null return settxn text os ktxn current select os ktxn current select string os txn show select txn object fals string length 0 send event swt modifi swtexcept error_widget_dispos error_thread_invalid_access checkwidget error_null_argument getselect verifytext settxntext ktxnusecurrentselect ktxnusecurrentselect txnshowselect txnobject sendev int event control activ int handler int event int user data int result super event control activ handler event user data result os err return result os txn focu txn object focu os txn activ txn object txn frameid os scroll bar sync activ return result keventcontrolactiv nexthandl theevent userdata keventcontrolactiv nexthandl theevent userdata noerr txnfocu txnobject hasfocu txnactiv txnobject txnframeid kscrollbarssyncalwaysact int event control bound chang int handler int event int user data int result super event control bound chang handler event user data result os err return result int attribut int 1 os event paramet event os event param attribut os typeu int32 null attribut length 4 null attribut attribut 0 os control bound chang posit chang os control bound chang size chang 0 settxn bound return result keventcontrolboundschang nexthandl theevent userdata keventcontrolboundschang nexthandl theevent userdata noerr geteventparamet theevent keventparamattribut typeuint32 kcontrolboundschangepositionchang kcontrolboundschangesizechang settxnbound int event control click int handler int event int user data int result super event control click handler event user data result os err return result enabl return os err int window os control owner handl os set keyboard focu window handl short os control focu part event record event event record os convert event ref event record event event os txn click txn object event return os err keventcontrolclick nexthandl theevent userdata keventcontrolclick nexthandl theevent userdata noerr isen noerr getcontrolown setkeyboardfocu kcontrolfocusnextpart eventrecord ievent eventrecord converteventreftoeventrecord theevent ievent txnclick txnobject ievent noerr int event control deactiv int handler int event int user data int result super event control deactiv handler event user data result os err return result os txn focu txn object focu os txn activ txn object txn frameid os scroll bar sync focu return result keventcontroldeactiv nexthandl theevent userdata keventcontroldeactiv nexthandl theevent userdata noerr txnfocu txnobject hasfocu txnactiv txnobject txnframeid kscrollbarssyncwithfocu int event control set cursor int handler int event int user data int result super event control set cursor handler event user data result os err return result os txn adjust cursor txn object 0 return os err keventcontrolsetcursor nexthandl theevent userdata keventcontrolsetcursor nexthandl theevent userdata noerr txnadjustcursor txnobject noerr int event control set focu part int handler int event int user data int result super event control set focu part handler event user data result os err return result short part short 1 os event paramet event os event param control part os type control part code null 2 null part draw focu clip handl part 0 0 draw focu ring border parent background inset os txn draw txn object 0 os txn focu txn object part 0 0 return os err keventcontrolsetfocuspart nexthandl theevent userdata keventcontrolsetfocuspart nexthandl theevent userdata noerr geteventparamet theevent keventparamcontrolpart typecontrolpartcod drawfocusclip drawfocusr hasbord getparentbackground txndraw txnobject txnfocu txnobject noerr int event text input unicod kei event int handler int event int user data int result super event text input unicod kei event handler event user data result os err return result int keyboard event int 1 os event paramet event os event param text input send keyboard event os type event ref null keyboard event length 4 null keyboard event int modifi int 1 os event paramet keyboard event 0 os event param kei modifi os typeu int32 null 4 null modifi modifi 0 os cmd kei int kei code int 1 os event paramet keyboard event 0 os event param kei code os typeu int32 null kei code length 4 null kei code switch kei code 0 case 7 cut return os err case 8 copi return os err case 9 past return os err style swt singl 0 int kei code int 1 os event paramet keyboard event 0 os event param kei code os typeu int32 null kei code length 4 null kei code switch kei code 0 featur macintosh tab return charact insert singl line txn object correct platform behavior unexpect fix avoid call default handler case 36 return post event swt default select return os err case 48 tab return os err return result keventtextinputunicodeforkeyev nexthandl theevent userdata keventtextinputunicodeforkeyev nexthandl theevent userdata noerr keyboardev geteventparamet theevent keventparamtextinputsendkeyboardev typeeventref keyboardev keyboardev geteventparamet keyboardev keventparamkeymodifi typeuint32 cmdkei keycod geteventparamet keyboardev keventparamkeycod typeuint32 keycod keycod keycod noerr noerr noerr keycod geteventparamet keyboardev keventparamkeycod typeuint32 keycod keycod keycod postev defaultselect noerr noerr past text clipboard select text delet widget text insert clipboard except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void past check widget style swt read 0 return boolean past true hook swt verifi filter swt verifi string text clipboard text text null point select select string text verifi text text select select null text null return text text settxn text os ktxn current select os ktxn current select text os txn show select txn object fals past fals past os txn past txn object send event swt modifi swtexcept error_widget_dispos error_thread_invalid_access checkwidget read_onli oldtext getclipboardtext oldtext getselect newtext verifytext oldtext newtext newtext oldtext settxntext ktxnusecurrentselect ktxnusecurrentselect newtext txnshowselect txnobject txnpast txnobject sendev void releas widget super releas widget os txn delet object txn object txn object txn frameid 0 releasewidget releasewidget txndeleteobject txnobject txnobject txnframeid remov listen collect listen notifi receiv text modifi param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul modifi listen add modifi listen public void remov modifi listen modifi listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt modifi listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access modifylisten addmodifylisten removemodifylisten modifylisten checkwidget error_null_argument eventt eventt remov listen collect listen notifi control select param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect remov listen collect listen notifi control verifi param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul verifi listen add verifi listen public void remov verifi listen verifi listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt verifi listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access verifylisten addverifylisten removeverifylisten verifylisten checkwidget error_null_argument eventt eventt void reset visibl region int control super reset visibl region control bug macintosh reason txn object draw ktxn visibl tag set caus pixel corrupt fix txn frame small drawn rect rect rect os control bound handl rect rect inset inset rect left inset left rect top inset top rect inset os control visibl handl rect bottom inset bottom rect bottom rect top os txn set frame bound txn object rect top rect left rect bottom rect txn frameid resetvisibleregion resetvisibleregion ktxnvisibilitytag getcontrolbound iscontrolvis txnsetframebound txnobject txnframeid select text receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void select check widget os txn select txn object swtexcept error_widget_dispos error_thread_invalid_access selectal checkwidget txnselectal txnobject boolean send kei event int type event event super send kei event type event return fals type swt kei return true style swt read 0 return true event charact 0 return true string text int char count char count point select select int start select end select switch event charact case swt bs start end start 0 return true start math max 0 start 1 break case swt del start end start char count return true end math min end 1 char count break case swt cr style swt singl 0 return true text delimit break default event charact event charact 0x20 return true text string char event charact string text verifi text text start end event text null return fals char count end start text length text limit return fals text text settxn text start end text post modifi event charact insert widget modifi event deliv modifi event safe post event method call event loop post event swt modifi return text text sendkeyev sendkeyev keydown read_onli oldtext charcount getcharcount getselect charcount charcount oldtext oldtext newtext verifytext oldtext newtext charcount newtext textlimit newtext oldtext settxntext newtext postev newtext oldtext void set background float color txn background txn color txn background txn color bg type os ktxn background typergb int red short color null 0xff color 0 255 int green short color null 0xff color 1 255 int blue short color null 0xff color 2 255 txn color bg red short red 8 red txn color bg green short green 8 green txn color bg blue short blue 8 blue os txn set background txn object txn color setbackground txnbackground txncolor txnbackground txncolor bgtype ktxnbackgroundtypergb txncolor bg_red txncolor bg_green txncolor bg_blue txnsetbackground txnobject txncolor int set bound int control int int int width int height boolean move boolean resiz boolean event int result super set bound control width height move resiz event result resiz move 0 settxn bound return result setbound setbound settxnbound set doubl click enabl flag doubl click flag enabl disabl default action text widget user doubl click param doubl click doubl click flag except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set doubl click enabl boolean doubl click check widget doubleclick swtexcept error_widget_dispos error_thread_invalid_access setdoubleclicken doubleclick checkwidget set echo charact echo charact charact displai user enter text text chang programm set echo charact 0 clear echo charact redraw origin text reason echo charact invalid default echo charact platform param echo echo charact except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set echo char char echo check widget style swt multi 0 return echo charact echo os txn echo mode txn object echo 0 echo 0 swtexcept error_widget_dispos error_thread_invalid_access setechochar checkwidget echocharact txnechomod txnobject set edit param edit edit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set edit boolean edit check widget edit style swt read style swt read os txn settxn object control txn object fals 1 int os ktxnio privileg tag int style swt read 0 1 0 swtexcept error_widget_dispos error_thread_invalid_access setedit checkwidget read_onli read_onli txnsettxnobjectcontrol txnobject ktxnioprivilegestag read_onli void set foreground float color int ptr2 os ptr os ktxnqd font color attribut size rgb color rgb color null rgb rgb color rgb torgb color color os memcpi ptr2 rgb rgb color sizeof int attrib int os ktxnqd font color attribut os ktxnqd font color attribut size ptr2 int ptr1 os ptr attrib length 4 os memcpi ptr1 attrib attrib length 4 os txn set type attribut txn object attrib length 3 ptr1 0 0 os dispos ptr ptr1 os dispos ptr ptr2 setforeground newptr ktxnqdfontcolorattributes rgbcolor rgbcolor torgbcolor rgbcolor ktxnqdfontcolorattribut ktxnqdfontcolorattributes newptr txnsettypeattribut txnobject disposeptr disposeptr void set font style font font int attrib int os ktxnqd font size attribut os ktxnqd font size attribut size font null os ktxn default font size os x2 fix font size os ktxnqd font style attribut os ktxnqd font style attribut size font null os ktxn default font style font style os ktxnqd font familyid attribut os ktxnqd font familyid attribut size font null os ktxn default font font id int ptr os ptr attrib length 4 os memcpi ptr attrib attrib length 4 boolean read style swt read 0 int tag int os ktxnio privileg tag read os txn settxn object control txn object fals 1 tag int 0 os txn set type attribut txn object attrib length 3 ptr 0 0 read os txn settxn object control txn object fals 1 tag int 1 os dispos ptr ptr setfontstyl ktxnqdfontsizeattribut ktxnqdfontsizeattributes ktxndefaultfonts x2fix ktxnqdfontstyleattribut ktxnqdfontstyleattributes ktxndefaultfontstyl ktxnqdfontfamilyidattribut ktxnqdfontfamilyidattributes ktxndefaultfontnam newptr readonli read_onli ktxnioprivilegestag readonli txnsettxnobjectcontrol txnobject txnsettypeattribut txnobject readonli txnsettxnobjectcontrol txnobject disposeptr set orient receiv constant code swt left code code swt left code param orient orient style except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 2 public void set orient int orient check widget left_to_right right_to_left swtexcept error_widget_dispos error_thread_invalid_access setorient checkwidget set select index base rang select 0 number charact widget p text select term caret posit text widget charact 1 caret posit rang 0 differ function address charact posit text regular arrai index rule param start caret posit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select int start check widget set select start start gettext swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget setselect set select index base rang select 0 number charact widget p text select term caret posit text widget charact 1 caret posit rang 0 differ function address charact posit text usual arrai index rule param start start rang param end end rang except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select int start int end check widget int length os txn data size txn object 2 int start math min math max math min start end 0 length int end math min math max math max start end 0 length os txn set select txn object start end os txn show select txn object fals gettext swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget txndatas txnobject nstart nend txnsetselect txnobject nstart nend txnshowselect txnobject set select index base rang select 0 number charact widget p text select term caret posit text widget charact 1 caret posit rang 0 differ function address charact posit text usual arrai index rule param select point except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select point select check widget select null error swt error null argument set select select select gettext illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget error_null_argument setselect set number tab tab stop space term space charact width singl tab stop pixel width space param tab number tab ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set tab int tab check widget swtexcept error_widget_dispos error_thread_invalid_access settab checkwidget set content receiv string receiv style singl argument multipl line text result oper undefin vari platform platform param string text except illeg argument except ul li error null argument string null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string string check widget string null error swt error null argument hook swt verifi filter swt verifi string verifi text string 0 char count null string null return settxn text os ktxn start offset os ktxn end offset string os txn set select txn object os ktxn start offset os ktxn start offset os txn show select txn object fals send event swt modifi illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget error_null_argument verifytext getcharcount settxntext ktxnstartoffset ktxnendoffset txnsetselect txnobject ktxnstartoffset ktxnstartoffset txnshowselect txnobject sendev void settxn bound rect view rect rect os txn view rect txn object view rect rect rect rect os control bound handl rect rect inset inset rect left inset left rect top inset top rect inset rect bottom inset bottom os txn set frame bound txn object rect top rect left rect bottom rect txn frameid bug macintosh caret move text widget scroll show locat mean text widget scroll left order show caret widget larg show caret locat text unfortun widget resiz text caret visibl macintosh scroll widget fix save current select set select start text restor select widget text widget recomput left scroll posit int width view rect left view rect int height view rect bottom view rect top width inset left inset height inset top inset bottom int start offset int 1 end offset int 1 os txn select txn object start offset end offset os txn set select txn object os ktxn start offset os ktxn start offset os txn show select txn object fals os txn set select txn object start offset 0 end offset 0 os txn show select txn object fals settxnbound viewrect txngetviewrect txnobject viewrect getcontrolbound txnsetframebound txnobject txnframeid viewrect viewrect viewrect viewrect ostartoffset oendoffset txngetselect txnobject ostartoffset oendoffset txnsetselect txnobject ktxnstartoffset ktxnstartoffset txnshowselect txnobject txnsetselect txnobject ostartoffset oendoffset txnshowselect txnobject void settxn text int start offset int end offset string string char buffer char string length string char 0 buffer length buffer 0 boolean read style swt read 0 int tag int os ktxnio privileg tag read os txn settxn object control txn object fals 1 tag int 0 os txn set data txn object os ktxn unicod text data buffer buffer length 2 start offset end offset read os txn settxn object control txn object fals 1 tag int 1 featur macintosh empti string set txn object font attribut clear fix reset os txn data size txn object 2 0 set font style font settxntext istartoffset iendoffset getchar readonli read_onli ktxnioprivilegestag readonli txnsettxnobjectcontrol txnobject txnsetdata txnobject ktxnunicodetextdata istartoffset iendoffset readonli txnsettxnobjectcontrol txnobject txnobject txndatas txnobject setfontstyl set maximum number charact receiv capabl hold argument try set text limit consid creat read text widget p reset default code set text limit text limit code param limit text limit except illeg argument except ul li error limit li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text limit int limit check widget limit 0 error swt error text limit limit settextlimit illegalargumentexcept error_cannot_be_zero swtexcept error_widget_dispos error_thread_invalid_access settextlimit checkwidget error_cannot_be_zero textlimit set rel index line top receiv index chang line scroll line ad remov param index index top item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set top index int index check widget style swt singl 0 return rect view rect rect txn rect destin rect txn rect txn rect text rect txn rect os txn rect bound txn object view rect destin rect text rect int top pixel destin rect top text rect top int offset int 1 org eclips swt intern carbon point point org eclips swt intern carbon point os set pt point short 0 short top pixel index line height os txn point offset txn object point offset system println offset 0 int start offset int 1 end offset int 1 os txn select txn object start offset end offset os txn set select txn object offset 0 offset 0 os txn show select txn object fals os txn set select txn object start offset 0 end offset 0 swtexcept error_widget_dispos error_thread_invalid_access settopindex checkwidget oviewrect txnlongrect odestinationrect txnlongrect txnlongrect otextrect txnlongrect txngetrectbound txnobject oviewrect odestinationrect otextrect toppixel odestinationrect otextrect ooffset ipoint setpt ipoint toppixel getlineheight txnpointtooffset txnobject ipoint ooffset ooffset ostartoffset oendoffset txngetselect txnobject ostartoffset oendoffset txnsetselect txnobject ooffset ooffset txnshowselect txnobject txnsetselect txnobject ostartoffset oendoffset show select select show receiv method simpli return line scroll select visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void show select check widget os txn show select txn object fals swtexcept error_widget_dispos error_thread_invalid_access showselect checkwidget txnshowselect txnobject int travers code int kei int event int bit super travers code kei event style swt read 0 return bit style swt multi 0 bit swt travers return kei 48 tab event 0 int modifi int 1 os event paramet event os event param kei modifi os typeu int32 null 4 null modifi boolean modifi 0 os shift kei 0 modifi 0 os control kei 0 bit swt travers tab swt travers tab previou return bit traversalcod theevent traversalcod theevent read_onli travers_return theevent geteventparamet theevent keventparamkeymodifi typeuint32 shiftkei controlkei travers_tab_next travers_tab_previou string verifi text string string int start int end event kei event event event event event text string event start start event end end kei event null event charact kei event charact event kei code kei event kei code event mask kei event mask unlik applic code dispos widget verifi event happen answer null cancel oper send event swt verifi event event doit dispos return null return event text verifytext keyev keyev keyev keycod keyev keycod statemask keyev statemask sendev isdispos construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt flat swt wrap swt swt horizont swt shadow swt vertic widget check subclass widget style public tool bar composit parent int style super parent check style style ensur horizont vertic set note horizont vertic valu scroll scroll clear bit avoid scroll bar reset bit origin style suppli programm style swt vertic 0 style swt vertic style swt horizont illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass shadow_out checksubclass getstyl toolbar checkstyl h_scroll v_scroll static int check style int style legal creat widget scroll bar serv purpos automat scroll widget client area fix clear swt style return style swt scroll swt scroll checkstyl h_scroll v_scroll protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass public point comput size int hint int hint boolean chang check widget int width hint height hint hint swt default width 0x7fffffff hint swt default height 0x7fffffff int result layout width height fals point extent point result 1 result 2 hint swt default extent hint hint swt default extent hint return extent computes whint hhint checkwidget whint hhint whint hhint whint whint hhint hhint void creat handl grab super creat handl parent handl createhandl createhandl void creat item tool item item int index 0 index index item count error swt error invalid rang item count item length tool item item tool item item count 4 system arraycopi item 0 item 0 item length item item item creat widget system arraycopi item index item index 1 item count index item index item parent font null item set font style parent font createitem toolitem itemcount error_invalid_rang itemcount toolitem newitem toolitem itemcount newitem newitem createwidget itemcount setfontstyl void creat widget super creat widget item tool item 4 item count 0 createwidget createwidget toolitem itemcount int default theme font displai small font return os theme small system font return os theme toolbar font defaultthemefont smallfont kthemesmallsystemfont kthemetoolbarfont void destroi item tool item item int index 0 index item count item index item break index index item count return system arraycopi item index 1 item index item count index item item count null destroyitem toolitem itemcount itemcount itemcount itemcount void draw background int control draw background control background drawbackground drawbackground void enabl widget boolean enabl tool bar disabl item disabl enablewidget return item rel index receiv throw except index rang param index index item return return item index except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tool item item int index check widget 0 index index item count return item index error swt error invalid rang return null illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access toolitem getitem checkwidget itemcount error_invalid_rang return item point receiv null item exist point coordin system receiv param point point locat item return item point except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tool item item point pt check widget pt null error swt error null argument int 0 item count rectangl rect item bound rect pt return item return null illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access toolitem getitem checkwidget error_null_argument itemcount getbound return number item contain receiv return number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int item count check widget return item count swtexcept error_widget_dispos error_thread_invalid_access getitemcount checkwidget itemcount return arrai code tool item code item receiv note actual structur receiv maintain list item modifi arrai affect receiv return item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tool item item check widget tool item result tool item item count system arraycopi item 0 result 0 item count return result toolitem swtexcept error_widget_dispos error_thread_invalid_access toolitem getitem checkwidget toolitem toolitem itemcount itemcount return number row receiv receiv code wrap code style number row greater number row return number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int row count check widget rectangl rect client area return layout rect width rect height fals 0 swtexcept error_widget_dispos error_thread_invalid_access getrowcount checkwidget getclientarea search receiv list start item index 0 item found equal argument return index item item found return 1 param item search item return index item except illeg argument except ul li error null argument tool item null li li error invalid argument tool item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int index tool item item check widget item null error swt error null argument item dispos error swt error invalid argument int 0 item count item item return return 1 illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access indexof toolitem checkwidget error_null_argument isdispos error_invalid_argument itemcount void invalid children visibl region int control super invalid children visibl region control int 0 item count tool item item item item reset visibl region control invalidatechildrenvisibleregion invalidatechildrenvisibleregion itemcount toolitem resetvisibleregion int layout horizont int width int height boolean resiz int space 0 space 2 int margin width 0 margin height 0 int margin width margin height int max height 0 maxx 0 row 1 boolean wrap style swt wrap 0 int item height 0 int 0 item count rectangl rect item bound item height math max item height rect height int 0 item count tool item item item rectangl rect item bound wrap 0 rect width width row margin width y space max height max height 0 max height math max max height rect height resiz item set bound rect width item height x space rect width maxx math max maxx return int row maxx max height layouthorizont xspace yspace marginwidth marginheight marginwidth marginheight maxheight itemheight itemcount getbound itemheight itemheight itemcount toolitem getbound marginwidth yspace maxheight maxheight maxheight maxheight setbound itemheight xspace maxheight int layout vertic int width int height boolean resiz int space 2 space 0 int margin width 0 margin height 0 int margin width margin height int max width 0 maxi 0 col 1 boolean wrap style swt wrap 0 int item width 0 int 0 item count rectangl rect item bound item width math max item width rect width int 0 item count tool item item item rectangl rect item bound wrap 0 rect height height col x space max width margin height max width 0 max width math max max width rect width resiz item set bound item width rect height y space rect height maxi math max maxi return int col max width maxi layoutvert xspace yspace marginwidth marginheight marginwidth marginheight maxwidth itemwidth itemcount getbound itemwidth itemwidth itemcount toolitem getbound xspace maxwidth marginheight maxwidth maxwidth maxwidth setbound itemwidth yspace maxwidth int layout int width int height boolean resiz style swt vertic 0 return layout vertic width height resiz return layout horizont width height resiz nwidth nheight layoutvert nwidth nheight layouthorizont nwidth nheight void relayout draw count 0 return rectangl rect client area layout rect width rect height true drawcount getclientarea void relayout int width int height draw count 0 return layout width height true drawcount void releas widget int 0 item count tool item item item item dispos item releas resourc item count 0 item null super releas widget releasewidget itemcount toolitem isdispos releaseresourc itemcount releasewidget int set bound int control int int int width int height boolean move boolean resiz boolean event int result super set bound control width height move resiz event result resiz 0 rectangl rect client area relayout rect width rect height return result setbound setbound getclientarea void set font style font font super set font style font item null return int 0 item count tool item item item item set font style font point size item comput size item set size size size fals relayout setfontstyl setfontstyl itemcount toolitem setfontstyl computes setsiz public void set redraw boolean redraw check widget super set redraw redraw redraw draw count 0 relayout setredraw checkwidget setredraw drawcount construct instanc class parent code tool bar code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt push swt check swt radio swt separ swt drop widget check subclass widget style public tool item tool bar parent int style super parent check style style parent parent parent creat item parent item count parent relayout toolbar illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass drop_down checksubclass getstyl toolitem toolbar checkstyl createitem getitemcount construct instanc class parent code tool bar code style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct param index index store receiv parent except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt push swt check swt radio swt separ swt drop widget check subclass widget style public tool item tool bar parent int style int index super parent check style style parent parent parent creat item index parent relayout toolbar illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass drop_down checksubclass getstyl toolitem toolbar checkstyl createitem add listen collect listen notifi control select send messag defin code select listen code interfac code widget select code call mous arrow portion drop tool event object detail field code swt arrow code code widget default select code call param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten static int check style int style return check bit style swt push swt check swt radio swt separ swt drop 0 checkstyl checkbit drop_down protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass point comput size check widget int width 0 height 0 style swt separ 0 parent style swt horizont 0 width width height default height width default width height width int space 0 int string width 0 string height 0 text length 0 gc gc gc parent point size gc string extent text string width size string height size gc dispos int imag width 0 imag height 0 imag null text length 0 space 2 rectangl rect imag bound imag width rect width imag height rect height parent style swt 0 width string width imag width height math max string height imag height width math max string width imag width height string height imag height style swt drop 0 width arrow width int inset 3 width space inset 2 height space inset 2 return point width height computes checkwidget getwidth default_height default_width getwidth stringwidth stringheight stringext stringwidth stringheight imagewidth imageheight getbound imagewidth imageheight stringwidth imagewidth stringheight imageheight stringwidth imagewidth stringheight imageheight drop_down arrow_width void creat handl int control int 1 int window os control owner parent handl int featur os control support embed 1 4 os creat user pane control window null featur control control 0 0 error swt error handl handl control 0 int width default width height default height style swt separ 0 control button content info content control button content info os creat icon control window null content fals control control 0 0 error swt error handl icon handl control 0 os creat icon control window null content fals control control 0 0 error swt error handl label handl control 0 parent style swt horizont 0 width default separ width height default separ width set bound 0 0 width height parent relayout createhandl outcontrol getcontrolown kcontrolsupportsembed createuserpanecontrol outcontrol outcontrol error_no_handl outcontrol default_width default_height controlbuttoncontentinfo incont controlbuttoncontentinfo createiconcontrol incont outcontrol outcontrol error_no_handl iconhandl outcontrol createiconcontrol incont outcontrol outcontrol error_no_handl labelhandl outcontrol default_separ_width default_separ_width setbound void creat widget super creat widget setz order tool tip text createwidget createwidget setzord tooltiptext void deregist super deregist displai remov widget handl icon handl 0 displai remov widget icon handl label handl 0 displai remov widget label handl removewidget iconhandl removewidget iconhandl labelhandl removewidget labelhandl void destroi widget int control handl releas handl control 0 os dispos control control destroywidget thecontrol releasehandl thecontrol disposecontrol thecontrol public void dispos dispos return tool bar parent parent super dispos parent relayout isdispos toolbar void draw background int control draw background control null drawbackground drawbackground void draw widget int control int damag rgn int visibl rgn int event control handl style swt drop swt separ 0 int os control enabl control os control activ control os theme activ os theme inact rect rect rect os control bound handl rect style swt separ 0 rect top 2 rect bottom 2 os draw theme separ rect style swt drop 0 int height rect bottom rect top rect top short rect bottom height 2 1 rect left short rect arrow width os draw theme popup arrow rect short os theme arrow short os theme arrow5pt 0 0 drawwidget damagergn visiblergn theevent drop_down iscontrolen iscontrolact kthemestateact kthemestateinact getcontrolbound drawthemesepar drop_down arrow_width drawthemepopuparrow kthemearrowdown kthemearrow5pt return rectangl describ receiv size locat rel parent return receiv bound rectangl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public rectangl bound check widget rect rect control bound handl return rectangl rect left rect top rect rect left rect bottom rect top swtexcept error_widget_dispos error_thread_invalid_access getbound checkwidget getcontrolbound return control fill bound item item code separ code return control except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public control control check widget return control swtexcept error_widget_dispos error_thread_invalid_access getcontrol checkwidget return receiv disabl imag null disabl imag displai receiv disabl return receiv disabl imag except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public imag disabl imag check widget return disabl imag swtexcept error_widget_dispos error_thread_invalid_access getdisabledimag checkwidget disabledimag return code true code receiv enabl code fals code disabl control typic select user interfac draw inact grai look return receiv enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul enabl public boolean enabl check widget return disabl 0 swtexcept error_widget_dispos error_thread_invalid_access isen geten checkwidget int draw count int control return parent draw count control getdrawcount getdrawcount return receiv hot imag null hot imag displai mous enter receiv return receiv hot imag except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public imag hot imag check widget return hot imag swtexcept error_widget_dispos error_thread_invalid_access gethotimag checkwidget hotimag return receiv parent code tool bar code return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tool bar parent check widget return parent toolbar swtexcept error_widget_dispos error_thread_invalid_access toolbar getpar checkwidget return code true code receiv select fals receiv type code check code code radio code select check platform draw push button receiv type method return fals return select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean select check widget style swt check swt radio 0 return fals short transform short 1 os control data icon handl short os control entir control os control icon transform tag 2 transform null return transform 0 os transform select 0 swtexcept error_widget_dispos error_thread_invalid_access getselect checkwidget getcontroldata iconhandl kcontrolentirecontrol kcontrolicontransformtag ktransformselect return receiv tool tip text null set return receiv tool tip text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string tool tip text check widget return tool tip text swtexcept error_widget_dispos error_thread_invalid_access gettooltiptext checkwidget tooltiptext width receiv return width except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int width check widget rect rect rect os control bound handl rect return rect rect left swtexcept error_widget_dispos error_thread_invalid_access getwidth checkwidget getcontrolbound int visibl region int control boolean clip children visibl rgn 0 visibl rgn os rgn calcul visibl region control visibl rgn fals int result os rgn os copi rgn visibl rgn result return result getvisibleregion clipchildren visiblergn visiblergn newrgn calculatevisibleregion visiblergn newrgn copyrgn visiblergn int help proc int control int global mous int request int content provid int io help content switch request case os khm suppli content int content provid int os khm content provid tool tip text null tool tip text length 0 char buffer char tool tip text length tool tip text char 0 buffer length buffer 0 int length fix mnemon buffer displai help string 0 os cf releas displai help string displai help string os cf string creat charact os kcf alloc default buffer length hm help content rec help content hm help content rec os memcpi help content io help content hm help content rec sizeof help content version os mac help version help content tag side short os khm default side displai help control null help content abshotrect left short 0 help content abshotrect top short 0 help content abshotrect short 0 help content abshotrect bottom short 0 help content content0 contenttyp os khmcf string content help content content0 tagcfstr displai help string help content content1 contenttyp os khmcf string content help content content1 tagcfstr displai help string os memcpi io help content help content hm help content rec sizeof content provid 0 os khm content provid os memcpi content provid content provid 4 break case os khm dispos content displai help string 0 os cf releas displai help string displai help string 0 break return os err helpproc incontrol inglobalmous inrequest outcontentprovid iohelpcont inrequest khmsupplycont contentprovid khmcontentnotprovid tooltiptext tooltiptext tooltiptext tooltiptext getchar fixmnemon helpstr cfreleas helpstr helpstr cfstringcreatewithcharact kcfallocatordefault hmhelpcontentrec helpcont hmhelpcontentrec helpcont iohelpcont hmhelpcontentrec helpcont kmachelpvers helpcont tagsid khmdefaultsid helpcontrol helpcont abshotrect_left helpcont abshotrect_top helpcont abshotrect_right helpcont abshotrect_bottom helpcont content0_contenttyp khmcfstringcont helpcont content0_tagcfstr helpstr helpcont content1_contenttyp khmcfstringcont helpcont content1_tagcfstr helpstr iohelpcont helpcont hmhelpcontentrec contentprovid khmcontentprovid outcontentprovid contentprovid khmdisposecont helpstr cfreleas helpstr helpstr noerr void hook event super hook event int control proc displai control proc int mask1 int os event class control os event control draw os event class control os event control hit os event class control os event control contextu menu click os event class control os event control track int control target os control event target handl os instal event handler control target control proc mask1 length 2 mask1 handl null int mask2 int os event class control os event control draw os event class control os event control contextu menu click os event class control os event control track icon handl 0 control target os control event target icon handl os instal event handler control target control proc mask2 length 2 mask2 icon handl null label handl 0 control target os control event target label handl os instal event handler control target control proc mask2 length 2 mask2 label handl null int help proc displai help proc os hm instal control content callback handl help proc hookev hookev controlproc controlproc keventclasscontrol keventcontroldraw keventclasscontrol keventcontrolhit keventclasscontrol keventcontrolcontextualmenuclick keventclasscontrol keventcontroltrack controltarget getcontroleventtarget installeventhandl controltarget controlproc keventclasscontrol keventcontroldraw keventclasscontrol keventcontrolcontextualmenuclick keventclasscontrol keventcontroltrack iconhandl controltarget getcontroleventtarget iconhandl installeventhandl controltarget controlproc iconhandl labelhandl controltarget getcontroleventtarget labelhandl installeventhandl controltarget controlproc labelhandl helpproc helpproc hminstallcontrolcontentcallback helpproc void invalid visibl region int control reset visibl region control parent reset visibl region control invalidatevisibleregion resetvisibleregion resetvisibleregion void inval window rgn int window int rgn parent inval window rgn window rgn invalwindowrgn invalwindowrgn return code true code receiv enabl receiv ancestor enabl code fals code disabl control typic select user interfac draw inact grai look return receiv enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul enabl public boolean enabl check widget return enabl parent enabl swtexcept error_widget_dispos error_thread_invalid_access geten isen checkwidget geten isen int event control contextu menu click int handler int event int user data return parent event control contextu menu click handler event user data keventcontrolcontextualmenuclick nexthandl theevent userdata keventcontrolcontextualmenuclick nexthandl theevent userdata int event control hit int handler int event int user data int result super event control hit handler event user data result os err return result style swt radio 0 parent style swt radio group 0 select radio style swt check 0 set select select post event swt select return os event handl err keventcontrolhit nexthandl theevent userdata keventcontrolhit nexthandl theevent userdata noerr getstyl no_radio_group selectradio setselect getselect postev eventnothandlederr int event control track int handler int event int user data track true return os event handl err keventcontroltrack nexthandl theevent userdata eventnothandlederr int event mous int handler int event int user data int result parent event mous handler event user data result os err return result style swt drop 0 int sizeof org eclips swt intern carbon point sizeof org eclips swt intern carbon point pt org eclips swt intern carbon point os event paramet event os event param mous locat os typeqd point null sizeof null pt rect rect rect int window os control owner handl os window bound window short os window content rgn rect int pt rect left int pt rect top os control bound handl rect rect left rect top int width rect rect left width 12 rect left rect bottom os control bound parent handl rect rect left rect top event event event event detail swt arrow event x event y post event swt select event featur macintosh control call track control handl control click track mous unfortun mous move event mous event consum fix call default handler send fake mous track finish note mous move event track fix thi displai grab control null displai run defer event track fals result os call event handler handler event track org eclips swt intern carbon point pt org eclips swt intern carbon point os global mous pt rect rect rect int window os control owner handl os window bound window short os window content rgn rect int pt rect left int pt rect top os control bound parent handl rect rect left rect top short button short 1 os event paramet event os event param mous button os type mous button null 2 null button int chord os current event button int modifi os current event kei modifi parent send mous event swt mous button 0 chord short short modifi fals track fals return result keventmousedown nexthandl theevent userdata keventmousedown nexthandl theevent userdata noerr drop_down geteventparamet theevent keventparammouseloc typeqdpoint getcontrolown getwindowbound kwindowcontentrgn getcontrolbound getcontrolbound postev trackcontrol handlecontrolclick grabcontrol rundeferredev callnexteventhandl nexthandl theevent outpt getglobalmous outpt getcontrolown getwindowbound kwindowcontentrgn outpt outpt getcontrolbound geteventparamet theevent keventparammousebutton typemousebutton getcurrenteventbuttonst getcurrenteventkeymodifi sendmouseev mouseup int event mous drag int handler int event int user data return parent event mous drag handler event user data keventmousedrag nexthandl theevent userdata keventmousedrag nexthandl theevent userdata int event mous move int handler int event int user data return parent event mous move handler event user data keventmousemov nexthandl theevent userdata keventmousemov nexthandl theevent userdata int event mous int handler int event int user data return parent event mous handler event user data keventmouseup nexthandl theevent userdata keventmouseup nexthandl theevent userdata void regist super regist displai add widget handl icon handl 0 displai add widget icon handl label handl 0 displai add widget label handl addwidget iconhandl addwidget iconhandl labelhandl addwidget labelhandl void releas child super releas child set visibl handl fals parent destroi item releasechild releasechild setvis destroyitem void releas handl super releas handl handl icon handl label handl 0 releasehandl releasehandl iconhandl labelhandl void releas widget super releas widget icon 0 destroyc icon icon labelc icon 0 destroyc icon labelc icon icon labelc icon 0 visibl rgn 0 os dispos rgn visibl rgn visibl rgn 0 parent null control null tool tip text null imag disabl imag hot imag null releasewidget releasewidget cicon destroycicon cicon labelcicon destroycicon labelcicon cicon labelcicon visiblergn disposergn visiblergn visiblergn tooltiptext disabledimag hotimag remov listen collect listen notifi control select param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect void reset visibl region int control visibl rgn 0 os dispos rgn visibl rgn visibl rgn 0 resetvisibleregion visiblergn disposergn visiblergn visiblergn void select radio int index 0 tool item item parent item index item length item index index int index 1 0 item set radio select fals int index 1 item length item set radio select fals set select true selectradio toolitem getitem setradioselect setradioselect setselect void set bound int int int width int height control null control set bound width height set bound handl width height true true fals style swt separ 0 return int space 0 int inset 3 int string width 0 string height 0 text length 0 gc gc gc parent point size gc string extent text string width size string height size gc dispos int imag width 0 imag height 0 imag null text length 0 space 2 rectangl rect imag bound imag width rect width imag height rect height int arrow width 0 style swt drop 0 arrow width arrow width parent style swt 0 int imagex inset int imagei inset height inset 2 imag height 2 set bound icon handl imagex imagei imag width imag height true true fals int labelx imagex imag width space int labe inset height inset 2 string height 2 set bound label handl labelx labe string width string height true true fals int imagex inset width inset 2 arrow width imag width 2 int imagei inset set bound icon handl imagex imagei imag width imag height true true fals int labelx inset width inset 2 arrow width string width 2 int labe imagei imag height space set bound label handl labelx labe string width string height true true fals setbound setbound setbound stringwidth stringheight stringext stringwidth stringheight imagewidth imageheight getbound imagewidth imageheight arrowwidth drop_down arrowwidth arrow_width imageheight setbound iconhandl imagewidth imageheight imagewidth stringheight setbound labelhandl stringwidth stringheight arrowwidth imagewidth setbound iconhandl imagewidth imageheight arrowwidth stringwidth imageheight setbound labelhandl stringwidth stringheight set control fill bound item item code separ code param control control except illeg argument except ul li error invalid argument control dispos li li error invalid parent control widget tree li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set control control control check widget control null control dispos error swt error invalid argument control parent parent error swt error invalid parent style swt separ 0 return control control control null control dispos control set bound bound illegalargumentexcept error_invalid_argument error_invalid_parent swtexcept error_widget_dispos error_thread_invalid_access setcontrol checkwidget isdispos error_invalid_argument error_invalid_parent isdispos setbound getbound enabl receiv argument code true code disabl disabl control typic select user interfac draw inact grai look param enabl enabl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set enabl boolean enabl check widget enabl disabl 0 return disabl os enabl control handl disabl 0 return disabl os disabl control handl swtexcept error_widget_dispos error_thread_invalid_access seten checkwidget enablecontrol disablecontrol void set font style font font code intentionali comment control font style rec font style control font style rec font null font style flag os control font mask os control size mask os control face mask font style font font id font style style font style font style size font size font style flag os control theme fontid mask font style font short parent default theme font os set control font style label handl font style updat text setfontstyl controlfontstylerec fontstyl controlfontstylerec fontstyl kcontrolusefontmask kcontrolusesizemask kcontrolusefacemask fontstyl fontstyl fontstyl fontstyl kcontrolusethemefontidmask fontstyl defaultthemefont setcontrolfontstyl labelhandl fontstyl updatetext set receiv disabl imag argument null indic disabl imag displai disbl imag displai receiv disabl param imag disabl imag displai receiv null except illeg argument except ul li error invalid argument imag dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set disabl imag imag imag check widget imag null imag dispos error swt error invalid argument style swt separ 0 return disabl imag imag updat imag illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setdisabledimag checkwidget isdispos error_invalid_argument disabledimag updateimag set receiv hot imag argument null indic hot imag displai hot imag displai mous enter receiv param imag hot imag displai receiv null except illeg argument except ul li error invalid argument imag dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set hot imag imag imag check widget imag null imag dispos error swt error invalid argument style swt separ 0 return hot imag imag updat imag illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access sethotimag checkwidget isdispos error_invalid_argument hotimag updateimag public void set imag imag imag check widget imag null imag dispos error swt error invalid argument style swt separ 0 return super set imag imag updat imag setimag checkwidget isdispos error_invalid_argument setimag updateimag boolean set radio select boolean style swt radio 0 return fals select set select post event swt select return true setradioselect getselect setselect postev set select receiv receiv type code check code code radio code select check platform draw push button param select select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select boolean select check widget style swt check swt radio 0 return int transform select os transform select 0 os set control data icon handl os control entir control os control icon transform tag 2 short short transform imag null os set control data label handl os control entir control os control icon transform tag 2 short short transform redraw widget handl true swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget ktransformselect setcontroldata iconhandl kcontrolentirecontrol kcontrolicontransformtag setcontroldata labelhandl kcontrolentirecontrol kcontrolicontransformtag redrawwidget void set size int width int height boolean layout rect rect rect os control bound handl rect rect rect left width rect bottom rect top height set bound handl 0 0 width height fals true fals layout parent relayout setsiz getcontrolbound setbound set receiv text string includ mnemon charact p mnemon amp charact mnemon user press kei sequenc match mnemon select event occur platform mnemon appear underlin emphasis platform specif manner mnemon indic charact amp escap doubl string caus singl amp displai param string text except illeg argument except ul li error null argument text null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string string check widget string null error swt error null argument style swt separ 0 return super set text string updat text illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget error_null_argument settext updatetext set receiv tool tip text argument null indic tool tip text shown param string tool tip text null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set tool tip text string string check widget tool tip text string swtexcept error_widget_dispos error_thread_invalid_access settooltiptext checkwidget tooltiptext set width receiv param width width except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set width int width check widget style swt separ 0 return width 0 return rect rect rect os control bound handl rect set size width rect bottom rect top true control null control dispos control set bound bound swtexcept error_widget_dispos error_thread_invalid_access setwidth checkwidget getcontrolbound setsiz isdispos setbound getbound void setz order os hi view add subview parent handl handl icon handl 0 os hi view add subview handl icon handl label handl 0 os hi view add subview handl label handl setzord hiviewaddsubview iconhandl hiviewaddsubview iconhandl labelhandl hiviewaddsubview labelhandl void updat imag style swt separ 0 return icon 0 destroyc icon icon icon 0 imag imag null hot imag null imag hot imag imag null imag imag imag disabl imag control button content info content control button content info imag null icon createc icon imag content content type short os control contentc icon handl content icon ref icon os set bevel button content info icon handl content redraw widget icon handl fals point size comput size set size size size true updateimag cicon destroycicon cicon cicon hotimag hotimag disabledimag controlbuttoncontentinfo incont controlbuttoncontentinfo cicon createcicon incont contenttyp kcontrolcontentciconhandl incont iconref cicon setbevelbuttoncontentinfo iconhandl incont redrawwidget iconhandl computes setsiz void updat text style swt separ 0 return labelc icon 0 destroyc icon labelc icon labelc icon 0 control button content info content control button content info text length 0 font font parent font gc gc gc parent int flag swt draw delimit swt draw tab swt draw mnemon swt draw transpar point size gc text extent text flag gc dispos imag imag imag displai size size gc gc imag color foreground parent foreground gc set foreground foreground gc set font font gc draw text text 0 0 flag gc dispos imag data data imag imag data data transpar pixel 0xffffff imag dispos imag imag displai data data transpar mask labelc icon createc icon imag imag dispos content content type short os control contentc icon handl content icon ref labelc icon os set bevel button content info label handl content redraw widget label handl fals point size comput size set size size size true updatetext labelcicon destroycicon labelcicon labelcicon controlbuttoncontentinfo incont controlbuttoncontentinfo getfont draw_delimit draw_tab draw_mnemon draw_transpar textext getforeground setforeground setfont drawtext imagedata getimagedata transparentpixel gettransparencymask labelcicon createcicon incont contenttyp kcontrolcontentciconhandl incont iconref labelcicon setbevelbuttoncontentinfo labelhandl incont redrawwidget labelhandl computes setsiz construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt left swt swt swt swt resiz widget check subclass widget style public tracker composit parent int style super parent check style style parent parent illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl checkstyl construct instanc class displai creat style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass p note null pass displai argument effect creat tracker activ displai there current displai tracker creat default displai pass null displai argument consid code style support futur releas swt param displai displai creat tracker param style style control construct except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt left swt swt swt public tracker displai displai int style displai null displai displai current displai null displai displai default displai valid thread error swt error thread invalid access style check style style displai displai swtexcept error_thread_invalid_access error_invalid_subclass getcurr getdefault isvalidthread error_thread_invalid_access checkstyl add listen collect listen notifi control move resiz send messag defin code control listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul control listen remov control listen public void add control listen control listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt resiz type listen add listen swt move type listen controllisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access controllisten removecontrollisten addcontrollisten controllisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten typedlisten point adjust move cursor int newx bound bound width 2 int newi bound convert screen coordin iff need parent null rect rect rect os control bound parent handl rect newx rect left newi rect top int window os control owner parent handl os window bound window short os window content rgn rect newx rect left newi rect top cg point pt cg point pt newx pt newi os cg warp mous cursor posit pt return point int pt int pt adjustmovecursor getcontrolbound getcontrolown getwindowbound kwindowcontentrgn cgpoint cgpoint cgwarpmousecursorposit point adjust resiz cursor int newx newi cursor orient swt left 0 newx bound cursor orient swt 0 newx bound bound width newx bound bound width 2 cursor orient swt 0 newi bound cursor orient swt 0 newi bound bound height newi bound bound height 2 convert screen coordin iff need parent null rect rect rect os control bound parent handl rect newx rect left newi rect top int window os control owner parent handl os window bound window short os window content rgn rect newx rect left newi rect top cg point pt cg point pt newx pt newi os cg warp mous cursor posit pt client provid custom cursor determin resiz cursor client cursor null cursor cursor null switch cursor orient case swt cursor cursor displai swt cursor sizen break case swt cursor cursor displai swt cursor sizen break case swt left cursor cursor displai swt cursor sizew break case swt cursor cursor displai swt cursor sizew break case swt left swt cursor cursor displai swt cursor sizenws break case swt swt cursor cursor displai swt cursor sizenws break case swt left swt cursor cursor displai swt cursor sizenesw break case swt swt cursor cursor displai swt cursor sizenesw break default cursor cursor displai swt cursor sizeal break displai set cursor cursor handl resiz cursor null resiz cursor dispos resiz cursor cursor return point int pt int pt adjustresizecursor cursororient cursororient cursororient cursororient getcontrolbound getcontrolown getwindowbound kwindowcontentrgn cgpoint cgpoint cgwarpmousecursorposit clientcursor newcursor cursororient newcursor cursor_sizen newcursor cursor_sizen newcursor cursor_sizew newcursor cursor_sizew newcursor cursor_sizenws newcursor cursor_sizenws newcursor cursor_sizenesw newcursor cursor_sizenesw newcursor cursor_sizeal setcursor newcursor resizecursor resizecursor resizecursor newcursor static int check style int style style swt left swt swt swt 0 style swt left swt swt swt return style checkstyl stop displai tracker rectangl note consid cancel user except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void close check widget track fals swtexcept error_widget_dispos error_thread_invalid_access checkwidget rectangl comput bound int min rectangl 0 int min rectangl 0 int max rectangl 0 rectangl 0 width int max rectangl 0 rectangl 0 height int 1 rectangl length rectangl x min min rectangl rectangl y min min rectangl int rect rectangl rectangl width rect max max rect int rect bottom rectangl rectangl height rect bottom max max rect bottom return rectangl min min max min max min computebound xmin ymin xmax ymax xmin xmin ymin ymin rectright rectright xmax xmax rectright rectbottom rectbottom ymax ymax rectbottom xmin ymin xmax xmin ymax ymin rectangl comput proport rectangl rect rectangl result rectangl rect length bound comput bound int 0 rect length int 0 0 width 0 height 0 bound width 0 rect bound 100 bound width width rect width 100 bound width width 100 bound height 0 rect bound 100 bound height height rect height 100 bound height height 100 result rectangl width height return result computeproport computebound void draw rectangl int window rectangl rect boolean eras parent null parent dispos return shell shell parent shell shell updat true displai updat int context int 1 int port os window port window rect port rect rect os port bound port port rect os qd begincg context port context os cg context scalectm context 0 1 1 os cg context translatectm context 0 0 port rect top port rect bottom cg rect cg rect cg rect point parent origin parent null parent origin displai map parent null 0 0 parent origin point 0 0 int 0 rect length rectangl rect rect cg rect rect parent origin cg rect rect parent origin cg rect width rect width cg rect height rect height eras cg rect width cg rect height os cg context clear rect context 0 cg rect cg rect 0 5f cg rect 0 5f os cg context stroke rect context 0 cg rect os cg context synchron context 0 os qd endcg context port context drawrectangl isdispos getshel getwindowport portrect getportbound portrect qdbegincgcontext cgcontextscalectm cgcontexttranslatectm portrect portrect cgrect cgrect cgrect parentorigin parentorigin parentorigin cgrect parentorigin cgrect parentorigin cgrect cgrect cgrect cgrect cgcontextclearrect cgrect cgrect cgrect cgcontextstrokerect cgrect cgcontextsynchron qdendcgcontext return bound drawn express rel parent widget parent code displai code screen coordin return bound rectangl drawn except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public rectangl rectangl check widget int length 0 rectangl null length rectangl length rectangl result rectangl length int 0 length rectangl current rectangl result rectangl current current current width current height return result swtexcept error_widget_dispos error_thread_invalid_access getrectangl checkwidget return code true code rectangl drawn stippl line code fals code return stippl effect rectangl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean stippl check widget return stippl swtexcept error_widget_dispos error_thread_invalid_access getstippl checkwidget void move rectangl int chang int chang chang 0 style swt left 0 chang 0 chang 0 style swt 0 chang 0 chang 0 style swt 0 chang 0 chang 0 style swt 0 chang 0 chang 0 chang 0 return bound x chang bound y chang int 0 rectangl length rectangl x chang rectangl y chang moverectangl xchang ychang xchang xchang xchang xchang ychang ychang ychang ychang xchang ychang xchang ychang xchang ychang displai tracker rectangl manipul user return user finish manipul rectangl cancel tracker return code true code user cancel tracker code fals code except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean open check widget rectangl null return fals boolean cancel fals track true int window displai creat overlai window os show window window draw rectangl window rectangl fals exactli style set cursor orient left style int style style swt swt style swt style swt cursor orient style int style style swt left swt style swt left style swt cursor orient style point cursor po os org eclips swt intern carbon point pt org eclips swt intern carbon point os global mous pt cursor po point pt pt style swt resiz 0 cursor po adjust resiz cursor cursor po adjust move cursor int oldx cursor po oldi cursor po tracker behav dialog os event loop event event event int event int 1 track cancel int statu os receiv event 0 null os event durat wait true event statu os err continu int event class os event class event 0 int event kind os event kind event 0 int newx oldx newi oldi switch event class case os event class mous switch event kind case os event mous case os event mous move case os event mous drag int sizeof org eclips swt intern carbon point sizeof org eclips swt intern carbon point org eclips swt intern carbon point os event paramet event 0 os event param mous locat os typeqd point null sizeof null newx newi newx oldx newi oldi rectangl rectangl rectangl rectangl rect eras rectangl rectangl length int 0 rectangl length rectangl current rectangl rect eras rectangl current current current width current height event newx event newi style swt resiz 0 resiz rectangl newx oldx newi oldi event true send event swt resiz event event fals unlik applic code dispos widget move event happen return fals track fail dispos cancel true break boolean draw fals applic code chang rectangl resiz event happen redraw tracker rectangl valu chang rectangl rectangl int length rectangl length length rect eras length draw true int 0 length rectangl equal rect eras draw true break draw true draw draw rectangl window rect eras true draw rectangl window rectangl fals cursor po adjust resiz cursor newx cursor po newi cursor po move rectangl newx oldx newi oldi event true send event swt move event event fals unlik applic code dispos widget move event happen return fals track fail dispos cancel true break boolean draw fals applic code chang rectangl move event happen redraw tracker rectangl valu chang rectangl rectangl int length rectangl length length rect eras length draw true int 0 length rectangl equal rect eras draw true break draw true draw draw rectangl window rect eras true draw rectangl window rectangl fals oldx newx oldi newi track event kind os event mous break break case os event class keyboard switch event kind case os event raw kei case os event raw kei modifi chang case os event raw kei repeat int kei code int 1 os event paramet event 0 os event param kei code os typeu int32 null kei code length 4 null kei code int modifi int 1 os event paramet event 0 os event param kei modifi os typeu int32 null 4 null modifi int step size modifi 0 os control kei 0 stepsiz small stepsiz larg int chang 0 chang 0 switch kei code 0 case 53 esc cancel true track fals break case 36 return track fals break case 123 left arrow chang step size break case 124 arrow chang step size break case 126 arrow chang step size break case 125 arrow chang step size break chang 0 chang 0 rectangl rectangl rectangl rectangl rect eras rectangl rectangl length int 0 rectangl length rectangl current rectangl rect eras rectangl current current current width current height newx oldx chang newi oldi chang event newx event newi style swt resiz 0 resiz rectangl chang chang event true send event swt resiz event event fals unlik applic code dispos widget move event happen return fals track fail dispos cancel true break boolean draw fals applic code chang rectangl resiz event happen redraw tracker rectangl valu chang rectangl rectangl int length rectangl length length rect eras length draw true int 0 length rectangl equal rect eras draw true break draw true draw draw rectangl window rect eras true draw rectangl window rectangl fals cursor po adjust resiz cursor move rectangl chang chang event true send event swt move event event fals unlik applic code dispos widget move event happen return fals track fail dispos cancel true break boolean draw fals applic code chang rectangl move event happen redraw tracker rectangl valu chang rectangl rectangl int length rectangl length length rect eras length draw true int 0 length rectangl equal rect eras draw true break draw true draw draw rectangl window rect eras true draw rectangl window rectangl fals cursor po adjust move cursor oldx cursor po oldi cursor swtexcept error_widget_dispos error_thread_invalid_access checkwidget createoverlaywindow showwindow drawrectangl vstyle vstyle vstyle cursororient vstyle hstyle hstyle hstyle cursororient hstyle cursorpo stilldown getglobalmous cursorpo cursorpo adjustresizecursor cursorpo adjustmovecursor cursorpo cursorpo outev receivenextev keventdurationnowait outev noerr eventclass geteventclass outev eventkind geteventkind outev eventclass keventclassmous eventkind keventmouseup keventmousemov keventmousedrag geteventparamet outev keventparammouseloc typeqdpoint oldrectangl rectstoeras rectstoeras resizerectangl inev sendev inev isdispos oldrectangl rectstoeras rectstoeras drawrectangl rectstoeras drawrectangl cursorpo adjustresizecursor cursorpo cursorpo moverectangl inev sendev inev isdispos oldrectangl rectstoeras rectstoeras drawrectangl rectstoeras drawrectangl eventkind keventmouseup keventclasskeyboard eventkind keventrawkeydown keventrawkeymodifierschang keventrawkeyrepeat keycod geteventparamet outev keventparamkeycod typeuint32 keycod keycod geteventparamet outev keventparamkeymodifi typeuint32 stepsiz controlkei stepsiz_small stepsiz_larg xchang ychang keycod xchang stepsiz xchang stepsiz ychang stepsiz ychang stepsiz xchang ychang oldrectangl rectstoeras rectstoeras xchang ychang resizerectangl xchang ychang inev sendev inev isdispos oldrectangl rectstoeras rectstoeras drawrectangl rectstoeras drawrectangl cursorpo adjustresizecursor moverectangl xchang ychang inev sendev inev isdispos oldrectangl rectstoeras rectstoeras drawrectangl rectstoeras drawrectangl cursorpo adjustmovecursor cursorpo remov listen collect listen notifi control move resiz param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul control listen add control listen public void remov control listen control listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt resiz listen event tabl unhook swt move listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access controllisten addcontrollisten removecontrollisten controllisten checkwidget error_null_argument eventt eventt eventt void resiz rectangl int chang int chang cursor orient set orient chang try set chang 0 style swt left 0 cursor orient swt 0 cursor orient swt left chang 0 style swt 0 cursor orient swt left 0 cursor orient swt chang 0 style swt 0 cursor orient swt 0 cursor orient swt chang 0 style swt 0 cursor orient swt 0 cursor orient swt bound flip axi appli adjust axi bound width height 0 chang cursor orient flip rectangl origin 1 rectangl cursor orient swt left 0 chang bound width style swt 0 return cursor orient swt cursor orient swt left bound bound width chang bound width bound width 0 proport length 1 int 0 proport length rectangl proport proport proport 100 proport proport width cursor orient swt 0 bound width chang style swt left 0 return cursor orient swt left cursor orient swt chang bound width bound width 0 proport length 1 int 0 proport length rectangl proport proport proport 100 proport proport width cursor orient swt 0 chang bound height style swt 0 return cursor orient swt cursor orient swt bound bound height chang bound height bound height 0 proport length 1 int 0 proport length rectangl proport proport proport 100 proport proport height cursor orient swt 0 bound height chang style swt 0 return cursor orient swt cursor orient swt chang bound height bound height 0 proport length 1 int 0 proport length rectangl proport proport proport 100 proport proport height appli bound adjust cursor orient swt left 0 bound x chang bound width chang cursor orient swt 0 bound width chang cursor orient swt 0 bound y chang bound height chang cursor orient swt 0 bound height chang rectangl rect rectangl rectangl length int 0 rectangl length rectangl proport proport rect rectangl proport bound width 100 bound proport bound height 100 bound proport width bound width 100 proport height bound height 100 rectangl rect resizerectangl xchang ychang xchang cursororient cursororient xchang cursororient cursororient ychang cursororient cursororient ychang cursororient cursororient cursororient xchang cursororient cursororient xchang cursororient xchang cursororient cursororient xchang cursororient ychang cursororient cursororient ychang cursororient ychang cursororient cursororient ychang cursororient xchang xchang cursororient xchang cursororient ychang ychang cursororient ychang newrect newrect newrect set code cursor code tracker cursor code null code cursor revert default param cursor code cursor code displai except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set cursor cursor cursor check widget client cursor cursor cursor null event displai set cursor cursor handl newcursor swtexcept error_widget_dispos error_thread_invalid_access setcursor newcursor checkwidget clientcursor newcursor newcursor inev setcursor newcursor specifi rectangl drawn express rel parent widget parent displai screen coordin param rectangl bound rectangl drawn except illeg argument except ul li error null argument set rectangl null null rectangl li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set rectangl rectangl rectangl check widget rectangl null error swt error null argument int length rectangl length rectangl rectangl length int 0 length rectangl current rectangl current null error swt error null argument rectangl rectangl current current current width current height proport comput proport rectangl illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setrectangl checkwidget error_null_argument error_null_argument computeproport appear line draw rectangl param stippl code true code rectangl stippl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set stippl boolean stippl check widget stippl stippl swtexcept error_widget_dispos error_thread_invalid_access setstippl checkwidget construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt singl swt multi swt check widget check subclass widget style public tree composit parent int style super parent check style style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl checkstyl add listen collect listen notifi receiv select send messag defin code select listen code interfac code widget select code call item field event object valid reciev code swt check code style set check select event object detail field code swt check code code widget default select code typic call item doubl click item field event object valid default select detail field param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten add listen collect listen notifi item receiv expand collaps send messag defin code tree listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tree listen remov tree listen public void add tree listen tree listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt expand type listen add listen swt collaps type listen treelisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access treelisten removetreelisten addtreelisten treelisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten typedlisten int calcul width tree item item gc gc int width 0 int 0 item length tree item item item width math max width item calcul width gc item getexpand width math max width calcul width item item gc return width calculatewidth treeitem treeitem calculatewidth _getexpand calculatewidth getitem int call paint event handler int control int damag rgn int visibl rgn int event int handler gc currentgc paintgc currentgc null gc data data gc data data paint event event data visibl rgn visibl rgn paintgc gc carbon data int result super call paint event handler control damag rgn visibl rgn event handler currentgc null paintgc dispos paintgc null return result callpainteventhandl damagergn visiblergn theevent nexthandl gcdata gcdata paintev theevent visiblergn visiblergn carbon_new callpainteventhandl damagergn visiblergn theevent nexthandl static int check style int style featur window creat tree scroll scroll bar tv noscrol style remov scroll bar tree scroll matter style bit set scroll scroll bit swt style match widget window creat style swt scroll swt scroll return check bit style swt singl swt multi 0 0 0 0 checkstyl tv_noscrol h_scroll v_scroll h_scroll v_scroll checkbit public point comput size int hint int hint boolean chang check widget int width 0 hint swt default tree item item item gc gc gc int 0 item length tree item item item width math max width item calcul width gc gc dispos width extra width style swt check 0 width check column width width hint width 0 width default width int height 0 hint swt default height item count item height height hint height 0 height default height rectangl rect comput trim 0 0 width height return point rect width rect height computes whint hhint checkwidget whint treeitem getitem treeitem calculatewidth extra_width check_column_width whint default_width hhint getitemcount getitemheight hhint default_height computetrim public rectangl comput trim int int int width int height check widget int border 0 int metric int 1 os theme metric os theme metric focu rect outset metric border metric 0 os theme metric os theme metric edit text frame outset metric border metric 0 rect rect rect os data browser scroll bar inset handl rect rect left border rect top border width rect left rect border border height rect top rect bottom border border return rectangl width height computetrim checkwidget outmetr getthememetr kthememetricfocusrectoutset outmetr outmetr getthememetr kthememetricedittextframeoutset outmetr outmetr getdatabrowserscrollbarinset void creat handl int control int 1 int window os control owner parent handl os creat data browser control window null os data browser list view control control 0 0 error swt error handl handl control 0 draw focu ring os set control data handl os control entir control os control data browser includ frame focu tag 1 byte 0 int select flag style swt singl 0 os data browser select os data browser empti select set os data browser cmd toggl select os set data browser select flag handl select flag os set data browser list view header btn height handl short 0 os set data browser scroll bar handl style swt scroll 0 style swt scroll 0 int posit 0 style swt check 0 data browser list view column desc check column data browser list view column desc check column headerbtndesc version os data browser list view latest header desc check column propertydesc propertyid check column id check column propertydesc propertytyp os data browser checkbox type check column propertydesc propertyflag os data browser properti mutabl todo check column size check column headerbtndesc minimumwidth check column width check column headerbtndesc maximumwidth check column width check column headerbtndesc initialord short os data browser order increas os add data browser list view column handl check column posit data browser list view column desc column data browser list view column desc column headerbtndesc version os data browser list view latest header desc column propertydesc propertyid column id column propertydesc propertytyp os data browser custom type column propertydesc propertyflag os data browser list view select column os data browser default properti flag column headerbtndesc initialord short os data browser order increas os add data browser list view column handl column posit os set data browser list view disclosur column handl column id true os set data browser tabl view name column width handl column id short 0 featur macintosh scroll bar creat data browser need draw fix forc scroll bar creat temporarili give widget size draw offscreen buffer avoid flash restor size int size 50 rect rect rect rect rect bottom short size os set control bound handl rect int bpl size 4 int int 1 int data os ptr bpl size os newg ptr os k32argb pixel format rect 0 0 0 data bpl int cur port int 1 int curg int 1 os getg cur port curg os setg world 0 curg 0 os draw control current port handl os setg cur port 0 curg 0 os disposeg world 0 os dispos ptr data rect rect bottom short 0 os set control bound handl rect createhandl outcontrol getcontrolown createdatabrowsercontrol kdatabrowserlistview outcontrol outcontrol error_no_handl outcontrol drawfocusr setcontroldata kcontrolentirecontrol kcontroldatabrowserincludesframeandfocustag selectionflag kdatabrowserselectonlyon kdatabrowserneveremptyselectionset kdatabrowsercmdtogglesselect setdatabrowserselectionflag selectionflag setdatabrowserlistviewheaderbtnheight setdatabrowserhasscrollbar h_scroll v_scroll databrowserlistviewcolumndesc checkcolumn databrowserlistviewcolumndesc checkcolumn headerbtndesc_version kdatabrowserlistviewlatestheaderdesc checkcolumn propertydesc_propertyid check_column_id checkcolumn propertydesc_propertytyp kdatabrowsercheckboxtyp checkcolumn propertydesc_propertyflag kdatabrowserpropertyismut checkcolumn headerbtndesc_minimumwidth check_column_width checkcolumn headerbtndesc_maximumwidth check_column_width checkcolumn headerbtndesc_initialord kdatabrowserorderincreas adddatabrowserlistviewcolumn checkcolumn databrowserlistviewcolumndesc databrowserlistviewcolumndesc headerbtndesc_version kdatabrowserlistviewlatestheaderdesc propertydesc_propertyid column_id propertydesc_propertytyp kdatabrowsercustomtyp propertydesc_propertyflag kdatabrowserlistviewselectioncolumn kdatabrowserdefaultpropertyflag headerbtndesc_initialord kdatabrowserorderincreas adddatabrowserlistviewcolumn setdatabrowserlistviewdisclosurecolumn column_id setdatabrowsertableviewnamedcolumnwidth column_id setcontrolbound gworld newptr newgworldfromptr gworld k32argbpixelformat curport curgworld getgworld curport curgworld setgworld gworld curgworld drawcontrolincurrentport setgworld curport curgworld disposegworld gworld disposeptr setcontrolbound void creat item tree item item tree item parent item int index int count 0 int id item length int 0 item length item null id item length id item parent item parent item count index 1 index count 0 index index count error swt error invalid rang item index index index count int 0 item length item null item parent item parent item item index item index item index id item length tree item item tree item item length 4 system arraycopi item 0 item 0 item length item item item id item item id id 1 int parentid os data browser item boolean expand true parent item null parentid parent item id expand parent item getexpand expand os add data browser item handl parentid 1 int item id os data browser item properti os err item id null error swt error item ad count 0 parent item null parent item redraw column id createitem treeitem treeitem parentitem parentitem parentitem error_invalid_rang parentitem parentitem treeitem newitem treeitem newitem newitem kdatabrowsernoitem parentitem parentitem parentitem _getexpand adddatabrowseritem kdatabrowseritemnoproperti noerr error_item_not_ad parentitem parentitem column_id scroll bar creat scroll bar int style return creat standard bar style scrollbar createscrollbar createstandardbar void creat widget super creat widget item tree item 4 createwidget createwidget treeitem color default background return displai system color swt color list background defaultbackground getsystemcolor color_list_background color default foreground return displai system color swt color list foreground defaultforeground getsystemcolor color_list_foreground int default theme font displai small font return os theme small system font return os theme view font defaultthemefont smallfont kthemesmallsystemfont kthemeviewsfont deselect select item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void deselect check widget ignor select true int select flag null style swt singl 0 select flag int 1 os data browser select flag handl select flag os set data browser select flag handl select flag 0 os data browser empti select set os set data browser select item handl 0 null os data browser item remov style swt singl 0 os set data browser select flag handl select flag 0 ignor select fals swtexcept error_widget_dispos error_thread_invalid_access deselectal checkwidget ignoreselect selectionflag selectionflag getdatabrowserselectionflag selectionflag setdatabrowserselectionflag selectionflag kdatabrowserneveremptyselectionset setdatabrowserselecteditem kdatabrowseritemsremov setdatabrowserselectionflag selectionflag ignoreselect void destroi item tree item item int parentid item parent item null os data browser item item parent item id os remov data browser item handl parentid 1 int item id 0 os err error swt error item remov releas item item item releas item item tree item parent item item parent item int 0 item length item null item parent item parent item item index item index item index set scroll width destroyitem treeitem parentitem kdatabrowsernoitem parentitem removedatabrowseritem noerr error_item_not_remov releaseitem getitem releaseitem treeitem parentitem parentitem parentitem parentitem setscrollwidth int draw item proc int browser int id int properti int item int rect int gd depth int color devic int index id 1 0 index index item length return os err tree item item item index rect rect rect os memcpi rect rect rect sizeof int rect left int rect top int width rect rect left int height rect bottom rect top rect control rect rect os control bound handl control rect control rect left control rect top gc gc paintgc gc null gc data data gc data int port int 1 os port port data port port 0 gc gc carbon data int clip os rgn os clip clip os offset rgn clip short control rect left short control rect top gc set clip region carbon displai clip os dispos rgn clip color background item background gc set background background gc fill rectangl width height imag imag item imag imag null rectangl bound imag bound gc draw imag imag 0 0 bound width bound height height bound height 2 bound width bound height bound width 2 font font item font gc set font font point extent gc string extent item text item os data browser item select 0 gc set foreground displai system color swt color list select text gc set background displai system color swt color list select gc fill rectangl 1 extent 2 height color foreground item foreground gc set foreground foreground gc draw string item text height extent 2 gc paintgc gc dispos return os err drawitemproc itemst therect gddepth colordevic noerr treeitem therect controlrect getcontrolbound controlrect controlrect controlrect gcdata gcdata getport carbon_new newrgn getclip offsetrgn controlrect controlrect setclip carbon_new disposergn getbackground setbackground fillrectangl getbound drawimag getfont setfont stringext itemst kdatabrowseritemisselect setforeground getsystemcolor color_list_select_text setbackground getsystemcolor color_list_select fillrectangl getforeground setforeground drawstr noerr public rectangl client area check widget int border 0 int metric int 1 os theme metric os theme metric focu rect outset metric border metric 0 os theme metric os theme metric edit text frame outset metric border metric 0 rect rect rect inset rect os control bound handl rect os data browser scroll bar inset handl inset int width math max 0 rect rect left inset border border int height math max 0 rect bottom rect top inset bottom border border return rectangl inset left inset top width height getclientarea checkwidget outmetr getthememetr kthememetricfocusrectoutset outmetr outmetr getthememetr kthememetricedittextframeoutset outmetr outmetr getcontrolbound getdatabrowserscrollbarinset return item point receiv null item exist point coordin system receiv param point point locat item return item point except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tree item item point point check widget point null error swt error null argument rect rect rect os control bound handl rect org eclips swt intern carbon point pt org eclips swt intern carbon point os set pt pt short point rect left short point rect top todo optim int 0 item length tree item item item item null os data browser item part bound handl item id column id os data browser properti enclos part rect os err os pt rect pt rect return item return null illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access treeitem getitem checkwidget error_null_argument getcontrolbound setpt treeitem getdatabrowseritempartbound column_id kdatabrowserpropertyenclosingpart noerr ptinrect return number item contain receiv direct item children receiv number return number root tree return number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int item count check widget return item count null swtexcept error_widget_dispos error_thread_invalid_access getitemcount checkwidget getitemcount int item count tree item item check widget int count 0 int 0 item length item null item parent item item count return count getitemcount treeitem checkwidget parentitem return height area displai em em item tree return height item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int item height check widget short height short 1 os data browser tabl view row height handl height os err error swt error item height return height 0 swtexcept error_widget_dispos error_thread_invalid_access getitemheight checkwidget getdatabrowsertableviewrowheight noerr error_cannot_get_item_height return item contain receiv direct item children receiv root tree note actual structur receiv maintain list item modifi arrai affect receiv return item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tree item item check widget return item null swtexcept error_widget_dispos error_thread_invalid_access treeitem getitem checkwidget getitem tree item item tree item item item null return tree item 0 int count 0 int 0 item length item null item parent item item count tree item result tree item count int 0 item length item null item parent item item result item index item return result treeitem getitem treeitem treeitem parentitem treeitem treeitem parentitem return receiv parent item code tree item code null receiv root return receiv parent item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tree item parent item check widget return null treeitem swtexcept error_widget_dispos error_thread_invalid_access treeitem getparentitem checkwidget return arrai code tree item code select receiv empti arrai item select note actual structur receiv maintain select modifi arrai affect receiv return arrai repres select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tree item select check widget int ptr os handl 0 os data browser item handl os data browser item true os data browser item select ptr os err error swt error select int count os handl size ptr 4 tree item result tree item count os lock ptr int start int 1 os memcpi start ptr 4 int id int 1 int 0 count os memcpi id start 0 4 4 result item id 0 1 os unlock ptr os dispos handl ptr return result treeitem swtexcept error_widget_dispos error_thread_invalid_access treeitem getselect checkwidget newhandl getdatabrowseritem kdatabrowsernoitem kdatabrowseritemisselect noerr error_cannot_get_select gethandles treeitem treeitem hlock hunlock disposehandl return number select item contain receiv return number select item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select count check widget int count int 1 os data browser item count handl os data browser item true os data browser item select count os err error swt error count return count 0 swtexcept error_widget_dispos error_thread_invalid_access getselectioncount checkwidget getdatabrowseritemcount kdatabrowsernoitem kdatabrowseritemisselect noerr error_cannot_get_count return item top receiv item chang item expand collaps scroll item ad remov return item top receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public tree item top item check widget todo optim rect rect rect os control bound handl rect int offset 0 int metric int 1 os theme metric os theme metric focu rect outset metric offset metric 0 os theme metric os theme metric edit text frame outset metric offset metric 0 int rect top offset int 0 item length tree item item item item null os data browser item part bound handl item id column id os data browser properti enclos part rect os err rect top y rect bottom return item return null swtexcept error_widget_dispos error_thread_invalid_access treeitem gettopitem checkwidget getcontrolbound outmetr getthememetr kthememetricfocusrectoutset outmetr outmetr getthememetr kthememetricedittextframeoutset outmetr outmetr treeitem getdatabrowseritempartbound column_id kdatabrowserpropertyenclosingpart noerr int hit test proc int browser int id int properti int rect int mous rect hittest id return 1 hittestproc therect mouserect lasthittest void hook event super hook event data browser callback callback data browser callback callback version os data browser latest callback os init data browser callback callback callback v1 itemcomparecallback displai item compar proc callback v1 itemdatacallback displai item data proc callback v1 itemnotificationcallback displai item notif proc os set data browser callback handl callback data browser custom callback custom data browser custom callback custom version os data browser latest custom callback os init data browser custom callback custom custom v1 drawitemcallback displai draw item proc custom v1 hittestcallback displai hit test proc custom v1 trackingcallback displai track proc os set data browser custom callback handl custom hookev hookev databrowsercallback databrowsercallback kdatabrowserlatestcallback initdatabrowsercallback v1_itemcomparecallback itemcompareproc v1_itemdatacallback itemdataproc v1_itemnotificationcallback itemnotificationproc setdatabrowsercallback databrowsercustomcallback databrowsercustomcallback kdatabrowserlatestcustomcallback initdatabrowsercustomcallback v1_drawitemcallback drawitemproc v1_hittestcallback hittestproc v1_trackingcallback trackingproc setdatabrowsercustomcallback int item compar proc int browser int item int item int sort properti int index1 item 1 0 index1 index1 item length return os err int index2 item 1 0 index2 index2 item length return os err return item index1 index item index2 index 1 0 itemcompareproc itemon itemtwo sortproperti itemon noerr itemtwo noerr int item data proc int browser int id int properti int item data int set int index id 1 0 index index item length return os err tree item item item index switch properti case check column id set 0 item check item check item check item grai os set data browser item data button item data short os theme button mix int data item check os theme button os theme button os set data browser item data button item data short data event event event event item item event detail swt check post event swt select event int data os theme button item check data item grai os theme button mix os theme button os set data browser item data button item data short data break case os data browser item contain properti int 0 item length item null item parent item item os set data browser item data boolean item data true break return os err itemdataproc itemdata setvalu noerr treeitem check_column_id setvalu setdatabrowseritemdatabuttonvalu itemdata kthemebuttonmix thedata kthemebuttonon kthemebuttonoff setdatabrowseritemdatabuttonvalu itemdata thedata postev thedata kthemebuttonoff thedata kthemebuttonmix kthemebuttonon setdatabrowseritemdatabuttonvalu itemdata thedata kdatabrowseritemiscontainerproperti parentitem setdatabrowseritemdatabooleanvalu itemdata noerr int item notif proc int browser int id int messag int index id 1 0 index index item length return os err tree item item item index switch messag case os data browser item select case os data browser item deselect select true ignor select break int int 1 int 1 os data browser select anchor handl boolean select fals style swt multi 0 int modifi os current event kei modifi modifi os shift kei 0 messag os data browser item select select 0 id 0 id select id anchor id anchor modifi os cmd kei 0 select true select 0 0 select messag os data browser item select select anchor first 0 anchor last 0 event event event event item item post event swt select event break case os data browser item doubl click select true event event event event item item post event swt default select event break case os data browser contain close bug macintosh reason select item item data browser item deselect notificaton item collaps call data browser select anchor segment fault fix deselect item ignor data browser item deselect issu select event int ptr os handl 0 os data browser item handl item id true os data browser item select ptr os err int count os handl size ptr 4 count 0 int id int count os lock ptr int start int 1 os memcpi start ptr 4 os memcpi id start 0 count 4 os unlock ptr ignor select true int select flag null style swt singl 0 select flag int 1 os data browser select flag handl select flag os set data browser select flag handl select flag 0 os data browser empti select set os set data browser select item handl id length id os data browser item remov style swt singl 0 os set data browser select flag handl select flag 0 ignor select fals event event event event item item send event swt select event os dispos handl ptr break case os data browser contain close expand true ignor expand event event event event item item send event swt collaps event set scroll width break case os data browser contain open expand true ignor expand event event event event item item try item expand send event swt expand event final item expand int count 0 int 0 item length item null item parent item item count tree item item tree item count int id int count int 0 item length item null item parent item item id item index item id item item index item os add data browser item handl id id length id os data browser item properti set scroll width item fals break return os err itemnotificationproc noerr treeitem kdatabrowseritemselect kdatabrowseritemdeselect wasselect ignoreselect getdatabrowserselectionanchor getcurrenteventkeymodifi shiftkei kdatabrowseritemselect anchorfirst anchorlast cmdkei kdatabrowseritemselect anchorfirst anchorlast postev kdatabrowseritemdoubleclick wasselect postev defaultselect kdatabrowsercontainerclos kdatabrowseritemdeselect getdatabrowserselectionanchor kdatabrowseritemdeselect newhandl getdatabrowseritem kdatabrowseritemisselect noerr gethandles hlock hunlock ignoreselect selectionflag selectionflag getdatabrowserselectionflag selectionflag setdatabrowserselectionflag selectionflag kdatabrowserneveremptyselectionset setdatabrowserselecteditem kdatabrowseritemsremov setdatabrowserselectionflag selectionflag ignoreselect sendev disposehandl kdatabrowsercontainerclos wasexpand ignoreexpand sendev setscrollwidth kdatabrowsercontaineropen wasexpand ignoreexpand sendev parentitem treeitem newitem treeitem parentitem newitem adddatabrowseritem kdatabrowseritemnoproperti setscrollwidth newitem noerr int event text input unicod kei event int handler int event int user data int result super event text input unicod kei event handler event user data result os err return result int keyboard event int 1 os event paramet event os event param text input send keyboard event os type event ref null keyboard event length 4 null keyboard event int kei code int 1 os event paramet keyboard event 0 os event param kei code os typeu int32 null kei code length 4 null kei code switch kei code 0 case 36 return post event swt default select break return result keventtextinputunicodeforkeyev nexthandl theevent userdata keventtextinputunicodeforkeyev nexthandl theevent userdata noerr keyboardev geteventparamet theevent keventparamtextinputsendkeyboardev typeeventref keyboardev keyboardev keycod geteventparamet keyboardev keventparamkeycod typeuint32 keycod keycod keycod postev defaultselect int event mous int handler int event int user data int result super event mous handler event user data result os err return result shell shell shell shell bring top true featur macintosh reason user click data browser focu assign lost reassign caus control set focu part event fix ignor control set focu part user click send focu event event mous control focu displai focu control displai ignor focu true select expand fals result os call event handler handler event displai ignor focu fals focu focu null focu dispos focu send focu event fals fals dispos enabl send focu event true fals select expand os data browser item select handl hittest int index hittest 1 0 index index item length event event event event item item index post event swt select event featur macintosh control call track control handl control click track mous unfortun mous move event mous event consum fix call default handler send fake mous track finish note mous move event track fix thi expand org eclips swt intern carbon point pt org eclips swt intern carbon point os global mous pt rect rect rect int window os control owner handl os window bound window short os window content rgn rect int pt rect left int pt rect top os control bound handl rect rect left rect top short button short 1 os event paramet event os event param mous button os type mous button null 2 null button int chord os current event button int modifi os current event kei modifi send mous event swt mous button 0 chord short short modifi fals select expand fals return result keventmousedown nexthandl theevent userdata keventmousedown nexthandl theevent userdata noerr getshel bringtotop kevencontrolsetfocuspart kevencontrolsetfocuspart keventmousedown oldfocu getfocuscontrol ignorefocu wasselect wasexpand callnexteventhandl nexthandl theevent ignorefocu oldfocu oldfocu oldfocu isdispos oldfocu sendfocusev isdispos isen sendfocusev wasselect wasexpand isdatabrowseritemselect lasthittest lasthittest postev trackcontrol handlecontrolclick wasexpand outpt getglobalmous outpt getcontrolown getwindowbound kwindowcontentrgn outpt outpt getcontrolbound geteventparamet theevent keventparammousebutton typemousebutton getcurrenteventbuttonst getcurrenteventkeymodifi sendmouseev mouseup wasselect wasexpand boolean releas item tree item item item dispos return fals item item id 1 null return true releaseitem treeitem isdispos void releas item tree item node int 0 node length tree item item node tree item son item item son length 0 releas item son releas item item item releas resourc releaseitem treeitem treeitem treeitem getitem releaseitem releaseitem releaseresourc void releas widget int 0 item length tree item item item item null item dispos item releas resourc item null super releas widget releasewidget treeitem isdispos releaseresourc releasewidget remov item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void remov check widget os remov data browser item handl os data browser item 0 null 0 os err error swt error item remov os set data browser scroll posit handl 0 0 int 0 item length tree item item item item null item dispos item releas resourc item tree item 4 anchor anchor 0 set scroll width swtexcept error_widget_dispos error_thread_invalid_access removeal checkwidget removedatabrowseritem kdatabrowsernoitem noerr error_item_not_remov setdatabrowserscrollposit treeitem isdispos releaseresourc treeitem anchorfirst anchorlast setscrollwidth remov listen collect listen notifi receiv select param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt defaultselect remov listen collect listen notifi item receiv expand collaps param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tree listen add tree listen public void remov tree listen tree listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt expand listen event tabl unhook swt collaps listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access treelisten addtreelisten removetreelisten treelisten checkwidget error_null_argument eventt eventt eventt void reset visibl region int control super reset visibl region control show item null show item dispos show item show item true resetvisibleregion resetvisibleregion showitem showitem isdispos showitem showitem displai mark indic point item insert drop insert item visual hint show drag item insert drop tree param item insert item null clear insert mark param true place insert mark item fals place insert mark item except illeg argument except ul li error invalid argument item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set insert mark tree item item boolean check widget item null item dispos error swt error invalid argument illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setinsertmark treeitem checkwidget isdispos error_invalid_argument select item receiv receiv singl select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void select check widget style swt singl 0 return ignor select true os set data browser select item handl 0 null os data browser item assign ignor select fals swtexcept error_widget_dispos error_thread_invalid_access selectal checkwidget ignoreselect setdatabrowserselecteditem kdatabrowseritemsassign ignoreselect int set bound int control int int int width int height boolean move boolean resiz boolean event ensur select visibl tree resiz size size show select int result super set bound control width height move resiz event show item null show item dispos show item show item true return result setbound setbound showitem showitem isdispos showitem showitem void set font style font font super set font style font item null return int 0 item length tree item item item item null item width 1 set scroll width setfontstyl setfontstyl treeitem setscrollwidth public void set redraw boolean redraw check widget super set redraw redraw redraw draw count 0 set scroll width setredraw checkwidget setredraw drawcount setscrollwidth void set scroll width set scroll width item true setscrollwidth setscrollwidth getitem void set scroll width tree item item draw count 0 return tree item parent item item parent item parent item null parent item getexpand return gc gc gc int width item calcul width gc gc dispos short width short 1 os data browser tabl view name column width handl column id width width 0 width os set data browser tabl view name column width handl column id short width setscrollwidth treeitem drawcount treeitem parentitem parentitem parentitem parentitem _getexpand newwidth calculatewidth getdatabrowsertableviewnamedcolumnwidth column_id newwidth setdatabrowsertableviewnamedcolumnwidth column_id newwidth void set scroll width tree item item boolean set draw count 0 return gc gc gc int width calcul width item gc gc dispos set short width short 1 os data browser tabl view name column width handl column id width width 0 width return os set data browser tabl view name column width handl column id short width setscrollwidth treeitem drawcount newwidth calculatewidth getdatabrowsertableviewnamedcolumnwidth column_id newwidth setdatabrowsertableviewnamedcolumnwidth column_id newwidth set receiv select arrai item current select clear item select item receiv receiv singl select multipl item item param item arrai item except illeg argument except ul li error null argument arrai item null li li error invalid argument item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tree deselect public void set select tree item item check widget item null error swt error null argument deselect int length item length length 0 style swt singl 0 length 1 return int id int length int 0 length item null error swt error invalid argument item dispos error swt error invalid argument id item id show item item fals ignor select true bug macintosh data broswer select flag includ data browser empti select set data browser select item select set data browser select item call data browser item assign assign selet despit fact data browser select fix save restor data browser empti select set call set data browser select item int select flag null style swt singl 0 select flag int 1 os data browser select flag handl select flag os set data browser select flag handl select flag 0 os data browser empti select set os set data browser select item handl id length id os data browser item assign style swt singl 0 os set data browser select flag handl select flag 0 ignor select fals length 0 show item item 0 true illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access deselectal setselect treeitem checkwidget error_null_argument deselectal error_invalid_argument isdispos error_invalid_argument showitem ignoreselect databrosw kdatabrowserneveremptyselectionset kdatabrowserselectonlyon setdatabrowserselecteditem kdatabrowseritemsassign kdatabrowserselectonlyon kdatabrowserneveremptyselectionset setdatabrowserselecteditem selectionflag selectionflag getdatabrowserselectionflag selectionflag setdatabrowserselectionflag selectionflag kdatabrowserneveremptyselectionset setdatabrowserselecteditem kdatabrowseritemsassign setdatabrowserselectionflag selectionflag ignoreselect showitem set item top receiv item chang item expand collaps scroll item ad remov param item item shown except illeg argument except ul li error null argument item null li li error invalid argument item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tree top item 2 1 public void set top item tree item item check widget item null error swt error null argument item dispos error swt error invalid argument show item item fals os reveal data browser item handl item id column id byte os data browser reveal select rect rect rect os control bound handl rect int rect left rect top os data browser item part bound handl item id column id os data browser properti enclos part rect os err os set data browser scroll posit handl rect top 3 0 illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access gettopitem settopitem treeitem checkwidget error_null_argument isdispos error_invalid_argument showitem revealdatabrowseritem column_id kdatabrowserrevealwithoutselect getcontrolbound getdatabrowseritempartbound column_id kdatabrowserpropertyenclosingpart noerr setdatabrowserscrollposit show item item show receiv method simpli return item scroll expand item visibl param item item shown except illeg argument except ul li error null argument item null li li error invalid argument item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tree show select public void show item tree item item check widget item null error swt error null argument item dispos error swt error invalid argument show item item true illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access showselect showitem treeitem checkwidget error_null_argument isdispos error_invalid_argument showitem void show item tree item item boolean scroll int count 0 tree item parent item item parent item parent item null parent item getexpand count parent item parent item parent item int index 0 parent item item parent item tree item path tree item count parent item null parent item getexpand path index parent item parent item parent item parent item int path length 1 0 path set expand true scroll bug macintosh room show singl item data browser reveal data browser item scroll item top data browser fix rememb index scroll data browser resiz bug macintosh item ad data browser hidden reveal data browser item call control data browser repaint redraw redraw happen caus pixel corrupt fix rememb index scroll data browser shown rectangl rect client area rect height item height os control visibl handl show item item return show item null rectangl item rect item bound item rect empti rect item rect item rect rect item rect item rect item rect height return int top int 1 left int 1 os data browser scroll posit handl top left os reveal data browser item handl item id column id byte os data browser reveal select bug macintosh reason data browser scroll reveal data browser item scrollbar redrawn fix forc redraw int top int 1 left int 1 os data browser scroll posit handl top left horizont bar null left 0 left 0 horizont bar redraw vertic bar null top 0 top 0 vertic bar redraw showitem treeitem treeitem parentitem parentitem parentitem parentitem _getexpand parentitem parentitem parentitem parentitem parentitem treeitem treeitem parentitem parentitem _getexpand parentitem parentitem parentitem parentitem setexpand revealdatabrowseritem revealdatabrowseritem getclientarea getitemheight iscontrolvis showitem showitem itemrect getbound itemrect isempti itemrect itemrect itemrect itemrect itemrect getdatabrowserscrollposit revealdatabrowseritem column_id kdatabrowserrevealwithoutselect databrows revealdatabrowseritem newtop newleft getdatabrowserscrollposit newtop newleft horizontalbar newleft horizontalbar verticalbar newtop verticalbar show select select show receiv method simpli return item scroll select visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tree show item tree item public void show select check widget todo optim tree item select select select length 0 show item select 0 true swtexcept error_widget_dispos error_thread_invalid_access showitem treeitem showselect checkwidget treeitem getselect showitem int track proc int browser int id int properti int rect int start pt int modifi return 1 trackingproc therect startpt construct instanc class parent code tree code code tree item code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public tree item tree parent int style super parent style parent parent parent creat item null 1 treeitem illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl treeitem createitem construct instanc class parent code tree code code tree item code style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct param index index store receiv parent except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public tree item tree parent int style int index super parent style index 0 error swt error invalid rang parent parent parent creat item null index treeitem illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl treeitem error_invalid_rang createitem construct instanc class parent code tree code code tree item code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent item composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public tree item tree item parent item int style super check null parent item parent style parent parent item parent parent item parent item parent creat item parent item 1 treeitem parentitem illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl treeitem treeitem parentitem checknul parentitem parentitem parentitem parentitem createitem parentitem construct instanc class parent code tree code code tree item code style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent item composit control parent instanc null param style style control construct param index index store receiv parent except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public tree item tree item parent item int style int index super check null parent item parent style index 0 error swt error invalid rang parent parent item parent parent item parent item parent creat item parent item index treeitem parentitem illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl treeitem treeitem parentitem checknul parentitem error_invalid_rang parentitem parentitem parentitem createitem parentitem boolean getexpand check widget int int 1 os data browser item parent handl id return 0 os data browser contain open 0 _getexpand checkwidget getdatabrowseritemst kdatabrowsercontainerisopen static tree item check null tree item item item null swt error swt error null argument return item treeitem checknul treeitem error_null_argument int calcul width gc gc width 1 return width width 0 imag imag imag string text text imag null width imag bound width 2 text null text length 0 width gc string extent text return width calculatewidth getimag gettext getbound stringext protect void check subclass valid subclass error swt error invalid subclass checksubclass isvalidsubclass error_invalid_subclass return receiv background color return background color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public color background check widget return background null background parent background swtexcept error_widget_dispos error_thread_invalid_access getbackground checkwidget getbackground return rectangl describ receiv size locat rel parent return receiv bound rectangl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public rectangl bound check widget rect rect rect os data browser item part bound parent handl id tree column id os data browser properti content part rect os err return rectangl 0 0 0 0 int rect left rect top int width 0 imag null rectangl bound imag bound bound width 2 gc gc gc parent point extent gc string extent text gc dispos width extent int height rect bottom rect top os control bound parent handl rect rect left rect top return rectangl width height swtexcept error_widget_dispos error_thread_invalid_access getbound checkwidget getdatabrowseritempartbound column_id kdatabrowserpropertycontentpart noerr getbound stringext getcontrolbound return code true code receiv check fals parent code check style return fals return check except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean check check widget parent style swt check 0 return fals return check swtexcept error_widget_dispos error_thread_invalid_access getcheck checkwidget return code true code receiv expand fals return expand except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean expand check widget return expand 0 fals getexpand swtexcept error_widget_dispos error_thread_invalid_access getexpand checkwidget _getexpand return font receiv paint textual inform item return receiv font except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public font font check widget return font null font parent font swtexcept error_widget_dispos error_thread_invalid_access getfont checkwidget getfont return foreground color receiv draw return receiv foreground color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public color foreground check widget return foreground null foreground parent foreground swtexcept error_widget_dispos error_thread_invalid_access getforeground checkwidget getforeground return code true code receiv grai fals parent code check style return fals return grai except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean grai check widget parent style swt check 0 return fals return grai swtexcept error_widget_dispos error_thread_invalid_access getgrai checkwidget return number item contain receiv direct item children receiv return number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int item count check widget return parent item count swtexcept error_widget_dispos error_thread_invalid_access getitemcount checkwidget getitemcount return arrai code tree item code direct item children receiv note actual structur receiv maintain list item modifi arrai affect receiv return receiv item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tree item item check widget return parent item treeitem swtexcept error_widget_dispos error_thread_invalid_access treeitem getitem checkwidget getitem return receiv parent code tree code return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tree parent check widget return parent swtexcept error_widget_dispos error_thread_invalid_access getpar checkwidget return receiv parent item code tree item code null receiv root return receiv parent item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tree item parent item check widget return parent item treeitem swtexcept error_widget_dispos error_thread_invalid_access treeitem getparentitem checkwidget parentitem void redraw int propertyid parent draw count 0 return int parentid parent item null os data browser item parent item id os updat data browser item parent handl parentid 1 int id os data browser item properti propertyid drawcount parentitem kdatabrowsernoitem parentitem updatedatabrowseritem kdatabrowseritemnoproperti void releas child super releas child parent destroi item releasechild releasechild destroyitem void releas widget super releas widget background foreground null font null parent item null parent null id 0 index 1 releasewidget releasewidget parentitem set receiv background color color argument default system color item argument null param color color null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set background color color check widget color null color dispos swt error swt error invalid argument background color return background null background equal color return background color redraw tree column id illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setbackground checkwidget isdispos error_invalid_argument column_id set check receiv param check check except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set check boolean check check widget parent style swt check 0 return check check return check check redraw tree check column id swtexcept error_widget_dispos error_thread_invalid_access setcheck checkwidget check_column_id set expand receiv param expand expand except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set expand boolean expand check widget parent ignor expand true expand os open data browser contain parent handl id os close data browser contain parent handl id parent ignor expand fals swtexcept error_widget_dispos error_thread_invalid_access setexpand checkwidget ignoreexpand opendatabrowsercontain closedatabrowsercontain ignoreexpand set font receiv paint textual inform item font argument default font kind control argument null param font font null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set font font font check widget font null font dispos swt error swt error invalid argument font font return font null font equal font return font font redraw tree column id illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setfont checkwidget isdispos error_invalid_argument column_id set receiv foreground color color argument default system color item argument null param color color null 2 0 except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set foreground color color check widget color null color dispos swt error swt error invalid argument foreground color return foreground null foreground equal color return foreground color redraw tree column id illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setforeground checkwidget isdispos error_invalid_argument column_id set grai receiv param grai grai except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set grai boolean grai check widget parent style swt check 0 return grai grai return grai grai redraw tree check column id swtexcept error_widget_dispos error_thread_invalid_access setgrai checkwidget check_column_id public void set imag imag imag check widget super set imag imag width 1 parent set scroll width redraw tree column id setimag checkwidget setimag setscrollwidth column_id public void set text string string check widget string null error swt error null argument string equal text return super set text string width 1 parent set scroll width redraw tree column id settext checkwidget error_null_argument settext setscrollwidth column_id static final rect empti rect rect widget empti_rect construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt check subclass style public widget widget parent int style check subclass check parent parent style style displai parent displai illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl checksubclass checkpar int action proc int control int part code return os err actionproc thecontrol partcod noerr add listen collect listen notif event type occur event occur widget listen notifi send code handl event code messag param event type type event listen param listen listen notifi event occur except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul listen remov listen public void add listen int event type listen handler check widget handler null error swt error null argument event tabl null event tabl event tabl event tabl hook event type handler handleev eventtyp illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access removelisten addlisten eventtyp checkwidget error_null_argument eventt eventt eventt eventt eventtyp int call paint event handler int control int damag rgn int visibl rgn int event int handler return os call event handler handler event callpainteventhandl damagergn visiblergn theevent nexthandl callnexteventhandl nexthandl theevent add listen collect listen notif widget dispos widget dispos listen notifi send code widget dispos code messag param listen listen notifi receiv dispos except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul dispos listen remov dispos listen public void add dispos listen dispos listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt dispos type listen widgetdispos illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access disposelisten removedisposelisten adddisposelisten disposelisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten static int check bit int style int int0 int int1 int int2 int int3 int int4 int int5 int mask int0 int1 int2 int3 int4 int5 style mask 0 style int0 style int0 0 style style mask int0 style int1 0 style style mask int1 style int2 0 style style mask int2 style int3 0 style style mask int3 style int4 0 style style mask int4 style int5 0 style style mask int5 return style checkbit void calcul visibl region int control int visibl rgn boolean clip children int temp rgn os rgn os control visibl control int child rgn os rgn int window os control owner control short count short 1 int control int 1 os root control window control int root control 0 os control region root short os control structur meta part visibl rgn int temp control control control 0 temp control root os control region temp control short os control structur meta part temp rgn os sect rgn temp rgn visibl rgn visibl rgn os empti rgn visibl rgn break clip children temp control control os count control temp control count int 0 count 0 os index control temp control short 1 control int child control 0 child control break os control visibl child continu os control region child short os control structur meta part temp rgn os union rgn temp rgn child rgn child rgn control temp control os super control temp control control temp control control 0 os diff rgn visibl rgn child rgn visibl rgn os dispos rgn child rgn os copi rgn temp rgn visibl rgn os dispos rgn temp rgn calculatevisibleregion visiblergn clipchildren temprgn newrgn iscontrolvis childrgn newrgn getcontrolown outcontrol getrootcontrol outcontrol outcontrol getcontrolregion kcontrolstructuremetapart visiblergn tempcontrol lastcontrol tempcontrol getcontrolregion tempcontrol kcontrolstructuremetapart temprgn sectrgn temprgn visiblergn visiblergn emptyrgn visiblergn clipchildren tempcontrol countsubcontrol tempcontrol getindexedsubcontrol tempcontrol outcontrol outcontrol lastcontrol iscontrolvis getcontrolregion kcontrolstructuremetapart temprgn unionrgn temprgn childrgn childrgn lastcontrol tempcontrol getsupercontrol tempcontrol outcontrol tempcontrol outcontrol diffrgn visiblergn childrgn visiblergn disposergn childrgn copyrgn temprgn visiblergn disposergn temprgn void check orient widget parent style swt mirror style swt left swt left 0 parent null parent style swt left 0 style swt left parent style swt left 0 style swt left style check bit style swt left swt left 0 0 0 0 checkorient left_to_right right_to_left left_to_right left_to_right right_to_left right_to_left checkbit left_to_right right_to_left void check parent widget parent parent null error swt error null argument parent check widget checkpar error_null_argument checkwidget check class subclass swt class librari intend subclass specif control point notabl code composit code code canva code implement widget method enforc rule overridden p em import em provid implement method subclass class allow subclass creat implement agre fulli respons fact subclass like fail swt releas strongli platform specif support provid user written class implement fashion p abil subclass allow swt class intend pure enabl swt develop team implement patch order specif limit advanc limit address team subclass attempt intim detail understand hierarchi except swt except ul li error invalid subclass class allow subclass li ul protect void check subclass valid subclass error swt error invalid subclass swtexcept error_invalid_subclass checksubclass isvalidsubclass error_invalid_subclass throw code swt except code receiv access caller includ check the receiv gener entir execut context method em em call widget implementor enforc standard swt invari error invok method code dispos code widget code dispos code method call error call widget method thread thread creat widget p futur releas swt fewer error check except thrown reason except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul protect void check widget displai displai displai displai null error swt error widget dispos displai thread thread current thread error swt error thread invalid access dispos 0 error swt error widget dispos swtexcept isdispos swtexcept error_widget_dispos error_thread_invalid_access checkwidget error_widget_dispos currentthread error_thread_invalid_access error_widget_dispos int color proc int control int messag int draw depth int draw color return os event handl err colorproc incontrol inmessag indrawdepth indrawincolor eventnothandlederr int control proc int handler int event int user data int event kind os event kind event switch event kind case os event control activ return event control activ handler event user data case os event control appli background return event control appli background handler event user data case os event control bound chang return event control bound chang handler event user data case os event control click return event control click handler event user data case os event control contextu menu click return event control contextu menu click handler event user data case os event control deactiv return event control deactiv handler event user data case os event control draw return event control draw handler event user data case os event control hit return event control hit handler event user data case os event control set cursor return event control set cursor handler event user data case os event control set focu part return event control set focu part handler event user data case os event control track return event control track handler event user data return os event handl err controlproc nexthandl theevent userdata eventkind geteventkind theevent eventkind keventcontrolactiv keventcontrolactiv nexthandl theevent userdata keventcontrolapplybackground keventcontrolapplybackground nexthandl theevent userdata keventcontrolboundschang keventcontrolboundschang nexthandl theevent userdata keventcontrolclick keventcontrolclick nexthandl theevent userdata keventcontrolcontextualmenuclick keventcontrolcontextualmenuclick nexthandl theevent userdata keventcontroldeactiv keventcontroldeactiv nexthandl theevent userdata keventcontroldraw keventcontroldraw nexthandl theevent userdata keventcontrolhit keventcontrolhit nexthandl theevent userdata keventcontrolsetcursor keventcontrolsetcursor nexthandl theevent userdata keventcontrolsetfocuspart keventcontrolsetfocuspart nexthandl theevent userdata keventcontroltrack keventcontroltrack nexthandl theevent userdata eventnothandlederr int createc icon imag imag int imag handl imag handl int width os cg imag width imag handl int height os cg imag height imag handl int bpr os cg imag byte row imag handl int bpp os cg imag bit pixel imag handl int bpc os cg imag bit compon imag handl int alpha info os cg imag alpha info imag handl int mask bpl width 7 8 3 4 4 int mask size height mask bpl int pixmap size height bpr creat icon int icon size pix map sizeof bit map sizeof 2 4 mask size int icon handl os handl icon size icon handl 0 swt error swt error handl os lock icon handl int icon ptr int 1 os memcpi icon ptr icon handl 4 initi pixmap pix map iconp map pix map iconp map row byte short bpr 0x8000 iconp map short width iconp map bottom short height iconp map cmp count 3 iconp map cmp size short bpc iconp map pm tabl os handl 0 iconp map re 72 16 iconp map re 72 16 iconp map pixel type short os rgb direct iconp map pixel size short bpp iconp map pixel format short bpp os memcpi icon ptr 0 iconp map pix map sizeof initi mask bit map icon mask bit map icon mask row byte short mask bpl icon mask short width icon mask bottom short height os memcpi icon ptr 0 pix map sizeof icon mask bit map sizeof initi icon data int icon data os handl pixmap size os lock icon data int icon data ptr int 1 os memcpi icon data ptr icon data 4 os memcpi icon data ptr 0 imag data pixmap size os unlock icon data os memcpi icon ptr 0 pix map sizeof 2 bit map sizeof int icon data 4 initi mask data alpha info os kcg imag alpha os memset icon ptr 0 pix map sizeof 2 bit map sizeof 4 1 mask size byte src data byte pixmap size os memcpi src data imag data pixmap size byte mask data byte mask size int offset 0 mask offset 0 int 0 height int 0 width src data offset 0xff 128 mask data mask offset 3 1 7 0x7 mask data mask offset 3 1 7 0x7 offset 4 mask offset mask bpl os memcpi icon ptr 0 pix map sizeof 2 bit map sizeof 4 mask data mask data length os unlock icon handl return icon handl createcicon imagehandl cgimagegetwidth imagehandl cgimagegetheight imagehandl cgimagegetbytesperrow imagehandl cgimagegetbitsperpixel imagehandl cgimagegetbitspercompon imagehandl alphainfo cgimagegetalphainfo imagehandl maskbpl masksiz maskbpl pixmaps icons pixmap bitmap masksiz iconhandl newhandl icons iconhandl error_no_handl hlock iconhandl iconptr iconptr iconhandl pixmap iconpmap pixmap iconpmap rowbyt iconpmap iconpmap iconpmap cmpcount iconpmap cmpsize iconpmap pmtabl newhandl iconpmap hre iconpmap vre iconpmap pixeltyp rgbdirect iconpmap pixels iconpmap pixelformat iconptr iconpmap pixmap bitmap iconmask bitmap iconmask rowbyt maskbpl iconmask iconmask iconptr pixmap iconmask bitmap icondata newhandl pixmaps hlock icondata icondataptr icondataptr icondata icondataptr pixmaps hunlock icondata iconptr pixmap bitmap icondata alphainfo kcgimagealphafirst iconptr pixmap bitmap masksiz srcdata pixmaps srcdata pixmaps maskdata masksiz maskoffset srcdata maskdata maskoffset maskdata maskoffset maskoffset maskbpl iconptr pixmap bitmap maskdata maskdata hunlock iconhandl iconhandl void creat handl createhandl void creat widget creat handl regist hook event createwidget createhandl hookev int command proc int handler int event int user data int event kind os event kind event switch event kind case os event process command return event process command handler event user data return os event handl err commandproc nexthandl theevent userdata eventkind geteventkind theevent eventkind keventprocesscommand keventprocesscommand nexthandl theevent userdata eventnothandlederr void deregist void destroi widget releas handl destroywidget releasehandl void destroyc icon int icon handl os lock icon handl dispos color tabl int icon ptr int 1 os memcpi icon ptr icon handl 4 pix map iconp map pix map os memcpi iconp map icon ptr 0 pix map sizeof iconp map pm tabl 0 os dispos handl iconp map pm tabl dispos icon data int icon data int 1 os memcpi icon data icon ptr 0 pix map sizeof 2 bit map sizeof 4 icon data 0 0 os dispos handl icon data 0 os unlock icon handl dispos icon os dispos handl icon handl destroycicon iconhandl hlock iconhandl colort iconptr iconptr iconhandl pixmap iconpmap pixmap iconpmap iconptr pixmap iconpmap pmtabl disposehandl iconpmap pmtabl icondata icondata iconptr pixmap bitmap icondata disposehandl icondata hunlock iconhandl disposehandl iconhandl int draw item proc int browser int item int properti int item int rect int gd depth int color devic return os err drawitemproc itemst therect gddepth colordevic noerr dispos oper system resourc receiv descend method invok receiv descend answer code true code messag code dispos code intern connect widget tree remov facilit garbag collect note method call recurs descend receiv mean widget implement detect widget dispos re implement method listen code dispos code event except swt except ul li error thread invalid access call thread creat receiv li ul add dispos listen remov dispos listen check widget public void dispos note valid attempt dispos widget happen fail silent dispos return valid thread error swt error thread invalid access releas child releas widget destroi widget isdispos swtexcept error_thread_invalid_access adddisposelisten removedisposelisten checkwidget isdispos isvalidthread error_thread_invalid_access releasechild releasewidget destroywidget void draw background int control drawbackground void draw background int control float background rect rect rect os control bound control rect background null os rgb fore color torgb color background os paint rect rect os set theme background short os theme brush dialog background activ short 0 true os eras rect rect drawbackground getcontrolbound rgbforecolor torgbcolor paintrect setthemebackground kthemebrushdialogbackgroundact eraserect void draw focu int control boolean focu boolean border float background rect inset draw background control background rect rect rect os control bound control rect rect left inset left rect top inset top rect inset rect bottom inset bottom int os control activ control os theme activ os theme inact focu border os draw theme edit text frame rect os draw theme focu rect rect true code intentionali comment note focu ring eras draw background os draw theme focu rect rect fals border os draw theme edit text frame rect drawfocu hasfocu hasbord drawbackground getcontrolbound iscontrolact kthemestateact kthemestateinact hasfocu hasbord drawthemeedittextfram drawthemefocusrect drawbackground drawthemefocusrect hasbord drawthemeedittextfram void draw focu clip int control boolean focu boolean border float background rect inset int visibl rgn visibl region control true os empti rgn visibl rgn int current port int 1 os port current port int window os control owner control int port os window port window os set port port int clip os rgn os clip clip os set clip visibl rgn draw focu control focu border background inset os set clip clip os set port current port 0 os dispos rgn visibl rgn drawfocusclip hasfocu hasbord visiblergn getvisibleregion emptyrgn visiblergn currentport getport currentport getcontrolown getwindowport setport oldclip newrgn getclip oldclip setclip visiblergn drawfocu hasfocu hasbord setclip oldclip setport currentport disposergn visiblergn void draw widget int control int damag rgn int visibl rgn int event drawwidget damagergn visiblergn theevent void error int code swt error code boolean filter int event type return displai filter event type eventtyp eventtyp int fix mnemon char buffer int 0 0 buffer length buffer buffer buffer length continu buffer i continu return fixmnemon rect control bound int control rect rect rect os control bound control rect int window os control owner control int root int 1 os root control window root int parent handl int 1 os super control control parent handl parent handl 0 root 0 rect parent rect rect os control bound parent handl 0 parent rect os offset rect rect short parent rect left short parent rect top rect inset inset rect left inset left rect top inset top rect inset rect bottom inset bottom return rect getcontrolbound getcontrolbound getcontrolown theroot getrootcontrol theroot parenthandl getsupercontrol parenthandl parenthandl theroot parentrect getcontrolbound parenthandl parentrect offsetrect parentrect parentrect getinset rect control size int control rect rect rect os control bound control rect rect inset inset rect left inset left rect top inset top rect inset rect bottom inset bottom return rect getcontrols getcontrolbound getinset return applic defin widget data receiv null set em widget data em singl unnam field store widget applic put arbitrari object field object store widget data need notifi widget dispos applic respons hook dispos event widget return widget data except swt except ul li error widget dispos receiv dispos li li error thread invalid access call wrong thread li ul set data public object data check widget return kei data 0 object data 0 data swtexcept error_widget_dispos error_thread_invalid_access setdata getdata checkwidget kei_data return applic defin properti receiv null set applic arbitrari object receiv fashion object store properti need notifi widget dispos applic respons hook dispos event widget param kei the properti return properti null set except illeg argument except ul li error null argument kei null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul set data public object data string kei check widget kei null error swt error null argument kei data 0 object tabl object data int 1 tabl length 2 kei equal tabl return tabl 1 return null illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setdata getdata checkwidget error_null_argument kei_data return code displai code receiv widget displai provid creat top level code shell code parent displai return receiv displai except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public displai displai displai displai displai displai null error swt error widget dispos return displai swtexcept error_widget_dispos error_thread_invalid_access getdisplai error_widget_dispos int draw count int control return 0 getdrawcount rect inset return empti rect getinset empti_rect string string string class int index string index index 1 return string return string substr index 1 string length getnam getclass getnam lastindexof string text return getnametext return receiv style inform note return method em match em provid constructor receiv creat occur underli oper system support combin request style platform widget implement swt widget scroll bar result call method code swt scroll code code swt scroll code bit set return style bit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int style check widget return style h_scroll v_scroll swtexcept error_widget_dispos error_thread_invalid_access getstyl checkwidget int visibl region int control boolean clip children int visibl rgn os rgn calcul visibl region control visibl rgn clip children return visibl rgn getvisibleregion clipchildren visiblergn newrgn calculatevisibleregion visiblergn clipchildren visiblergn int help proc int control int global mous int request int content provid int io help content return os event handl err helpproc incontrol inglobalmous inrequest outcontentprovid iohelpcont eventnothandlederr int hit test proc int browser int item int properti int rect int mous rect return true item select return 1 hittestproc therect mouserect void hook event hookev boolean hook int event type event tabl null return fals return event tabl hook event type eventtyp eventt eventt eventtyp void invalid visibl region int control invalidatevisibleregion void inval window rgn int window int rgn os inval window rgn window rgn invalwindowrgn invalwindowrgn return code true code widget dispos code fals code method dispos widget widget dispos error invok method widget return code true code widget dispos code fals code public boolean dispos return dispos 0 isdispos boolean draw int control return os control visibl control draw count control 0 isdraw iscontrolvis getdrawcount boolean enabl return true isen return code true code listen event type receiv code fals code param event type type event return true event hook except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul protect boolean listen int event type check widget return hook event type eventtyp swtexcept error_widget_dispos error_thread_invalid_access islisten eventtyp checkwidget eventtyp boolean trim handl int trim handl return fals istrimhandl trimhandl boolean valid subclass return displai valid class class isvalidsubclass isvalidclass getclass boolean valid thread return displai valid thread isvalidthread getdisplai isvalidthread int item compar proc int browser int item int item int sort properti return os err itemcompareproc itemon itemtwo sortproperti noerr int item data proc int browser int item int properti int item data int set return os err itemdataproc itemdata setvalu noerr int item notif proc int browser int item int messag return os err itemnotificationproc noerr int event process command int handler int event int user data return os event handl err keventprocesscommand nexthandl theevent userdata eventnothandlederr int event control appli background int handler int event int user data return os event handl err keventcontrolapplybackground nexthandl theevent userdata eventnothandlederr int event control activ int handler int event int user data return os event handl err keventcontrolactiv nexthandl theevent userdata eventnothandlederr int event control bound chang int handler int event int user data return os event handl err keventcontrolboundschang nexthandl theevent userdata eventnothandlederr int event control click int handler int event int user data return os event handl err keventcontrolclick nexthandl theevent userdata eventnothandlederr int event control contextu menu click int handler int event int user data return os event handl err keventcontrolcontextualmenuclick nexthandl theevent userdata eventnothandlederr int event control deactiv int handler int event int user data return os event handl err keventcontroldeactiv nexthandl theevent userdata eventnothandlederr int event control draw int handler int event int user data int control int 1 os event paramet event os event param direct object os type control ref null 4 null control draw count control 0 0 return os err int region int 1 os event paramet event os event param rgn handl os typeqd rgn handl null 4 null region int visibl rgn visibl region control 0 true os sect rgn region 0 visibl rgn visibl rgn os empti rgn visibl rgn int port int 1 os port port os lock port bit port 0 os qd set dirti region port visibl rgn int clip os rgn os clip clip os set clip visibl rgn draw background control 0 call paint event handler control 0 region 0 visibl rgn event handler draw widget control 0 region 0 visibl rgn event os set clip clip os dispos rgn clip os unlock port bit port 0 os dispos rgn visibl rgn return os err keventcontroldraw nexthandl theevent userdata thecontrol geteventparamet theevent keventparamdirectobject typecontrolref thecontrol getdrawcount thecontrol noerr geteventparamet theevent keventparamrgnhandl typeqdrgnhandl visiblergn getvisibleregion thecontrol sectrgn visiblergn visiblergn emptyrgn visiblergn getport lockportbit qdsetdirtyregion visiblergn oldclip newrgn getclip oldclip setclip visiblergn drawbackground thecontrol callpainteventhandl thecontrol visiblergn theevent nexthandl drawwidget thecontrol visiblergn theevent setclip oldclip disposergn oldclip unlockportbit disposergn visiblergn noerr int event control hit int handler int event int user data return os event handl err keventcontrolhit nexthandl theevent userdata eventnothandlederr int event control set cursor int handler int event int user data return os event handl err keventcontrolsetcursor nexthandl theevent userdata eventnothandlederr int event control set focu part int handler int event int user data return os event handl err keventcontrolsetfocuspart nexthandl theevent userdata eventnothandlederr int event control track int handler int event int user data return os event handl err keventcontroltrack nexthandl theevent userdata eventnothandlederr int event menu close int handler int event int user data return os event handl err keventmenuclos nexthandl theevent userdata eventnothandlederr int event menu draw item content int handler int event int user data return os event handl err keventmenudrawitemcont nexthandl theevent userdata eventnothandlederr int event menu measur item width int handler int event int user data return os event handl err keventmenumeasureitemwidth nexthandl theevent userdata eventnothandlederr int event menu open int handler int event int user data return os event handl err keventmenuopen nexthandl theevent userdata eventnothandlederr int event menu target item int handler int event int user data return os event handl err keventmenutargetitem nexthandl theevent userdata eventnothandlederr int event mous int handler int event int user data return os event handl err keventmousedown nexthandl theevent userdata eventnothandlederr int event mous drag int handler int event int user data return os event handl err keventmousedrag nexthandl theevent userdata eventnothandlederr int event mous move int handler int event int user data return os event handl err keventmousemov nexthandl theevent userdata eventnothandlederr int event mous int handler int event int user data return os event handl err keventmouseup nexthandl theevent userdata eventnothandlederr int event mous wheel move int handler int event int user data return os event handl err keventmousewheelmov nexthandl theevent userdata eventnothandlederr int event raw kei int handler int event int user data return os event handl err keventrawkeyup nexthandl theevent userdata eventnothandlederr int event raw kei repeat int handler int event int user data return os event handl err keventrawkeyrepeat nexthandl theevent userdata eventnothandlederr int event raw kei modifi chang int handler int event int user data return os event handl err keventrawkeymodifierschang nexthandl theevent userdata eventnothandlederr int event raw kei int handler int event int user data return os event handl err keventrawkeydown nexthandl theevent userdata eventnothandlederr int event text input unicod kei event int handler int event int user data return os event handl err keventtextinputunicodeforkeyev nexthandl theevent userdata eventnothandlederr int event window activ int handler int event int user data return os event handl err keventwindowactiv nexthandl theevent userdata eventnothandlederr int event window bound chang int handler int event int user data return os event handl err keventwindowboundschang nexthandl theevent userdata eventnothandlederr int event window close int handler int event int user data return os event handl err keventwindowclos nexthandl theevent userdata eventnothandlederr int event window collaps int handler int event int user data return os event handl err keventwindowcollaps nexthandl theevent userdata eventnothandlederr int event window deactiv int handler int event int user data return os event handl err keventwindowdeactiv nexthandl theevent userdata eventnothandlederr int event window draw content int handler int event int user data return os event handl err keventwindowdrawcont nexthandl theevent userdata eventnothandlederr int event window expand int handler int event int user data return os event handl err keventwindowexpand nexthandl theevent userdata eventnothandlederr int event window region int handler int event int user data return os event handl err keventwindowgetregion nexthandl theevent userdata eventnothandlederr int event window hidden int handler int event int user data return os event handl err keventwindowhidden nexthandl theevent userdata eventnothandlederr int event window hit test int handler int event int user data return os event handl err keventwindowhittest nexthandl theevent userdata eventnothandlederr int event window shown int handler int event int user data return os event handl err keventwindowshown nexthandl theevent userdata eventnothandlederr int event window updat int handler int event int user data return os event handl err keventwindowupd nexthandl theevent userdata eventnothandlederr int keyboard proc int handler int event int user data int event kind os event kind event switch event kind case os event raw kei return event raw kei handler event user data case os event raw kei modifi chang return event raw kei modifi chang handler event user data case os event raw kei repeat return event raw kei repeat handler event user data case os event raw kei return event raw kei handler event user data return os event handl err keyboardproc nexthandl theevent userdata eventkind geteventkind theevent eventkind keventrawkeydown keventrawkeydown nexthandl theevent userdata keventrawkeymodifierschang keventrawkeymodifierschang nexthandl theevent userdata keventrawkeyrepeat keventrawkeyrepeat nexthandl theevent userdata keventrawkeyup keventrawkeyup nexthandl theevent userdata eventnothandlederr int menu proc int handler int event int user data int event kind os event kind event switch event kind case os event menu close return event menu close handler event user data case os event menu draw item content return event menu draw item content handler event user data case os event menu measur item width return event menu measur item width handler event user data case os event menu open return event menu open handler event user data case os event menu target item return event menu target item handler event user data return os event handl err menuproc nexthandl theevent userdata eventkind geteventkind theevent eventkind keventmenuclos keventmenuclos nexthandl theevent userdata keventmenudrawitemcont keventmenudrawitemcont nexthandl theevent userdata keventmenumeasureitemwidth keventmenumeasureitemwidth nexthandl theevent userdata keventmenuopen keventmenuopen nexthandl theevent userdata keventmenutargetitem keventmenutargetitem nexthandl theevent userdata eventnothandlederr int mous proc int handler int event int user data int event kind os event kind event switch event kind case os event mous return event mous handler event user data case os event mous return event mous handler event user data case os event mous drag return event mous drag handler event user data case os event mous enter return event mous enter handler event user data case os event mous exit return event mous exit handler event user data case os event mous move return event mous move handler event user data case os event mous wheel move return event mous wheel move handler event user data return os event handl err mouseproc nexthandl theevent userdata eventkind geteventkind theevent eventkind keventmousedown keventmousedown nexthandl theevent userdata keventmouseup keventmouseup nexthandl theevent userdata keventmousedrag keventmousedrag nexthandl theevent userdata keventmouseent keventmouseent nexthandl theevent userdata keventmouseexit keventmouseexit nexthandl theevent userdata keventmousemov keventmousemov nexthandl theevent userdata keventmousewheelmov keventmousewheelmov nexthandl theevent userdata eventnothandlederr notifi receiv listen event type event occur invok code handl event code method param event type type event occur param event event data except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void notifi listen int event type event event check widget event null event event send event event type event handleev eventtyp swtexcept error_widget_dispos error_thread_invalid_access notifylisten eventtyp checkwidget sendev eventtyp void post event int event type send event event type null fals postev eventtyp sendev eventtyp void post event int event type event event send event event type event fals postev eventtyp sendev eventtyp void redraw widget int control boolean children draw control return int window os control owner control int visibl rgn visibl region control children inval window rgn window visibl rgn os dispos rgn visibl rgn redrawwidget isdraw getcontrolown visiblergn getvisibleregion invalwindowrgn visiblergn disposergn visiblergn void redraw widget int control int int int width int height boolean children draw control return rect rect rect os control bound control rect rect left rect top os set rect rect short short short width short height int rect rgn os rgn os rect rgn rect rgn rect int visibl rgn visibl region control children os sect rgn rect rgn visibl rgn visibl rgn int window os control owner control inval window rgn window visibl rgn os dispos rgn rect rgn os dispos rgn visibl rgn redrawwidget isdraw getcontrolbound setrect rectrgn newrgn rectrgn rectrgn visiblergn getvisibleregion sectrgn rectrgn visiblergn visiblergn getcontrolown invalwindowrgn visiblergn disposergn rectrgn disposergn visiblergn void regist void releas child releasechild void releas handl dispos displai null releasehandl void releas resourc releas widget releas handl releaseresourc releasewidget releasehandl void releas widget send event swt dispos deregist event tabl null data null releasewidget sendev eventt remov listen collect listen notif event type occur param event type type event listen param listen listen longer notifi event occur except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul listen add listen public void remov listen int event type listen handler check widget handler null error swt error null argument event tabl null return event tabl unhook event type handler eventtyp illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access addlisten removelisten eventtyp checkwidget error_null_argument eventt eventt eventtyp remov listen collect listen notif event type occur import method em em part swt public api mark public share packag provid swt referenc applic code param event type type event listen param listen listen longer notifi event occur except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul listen add listen protect void remov listen int event type swt event listen handler check widget handler null error swt error null argument event tabl null return event tabl unhook event type handler eventtyp illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access addlisten removelisten eventtyp swteventlisten checkwidget error_null_argument eventt eventt eventtyp remov listen collect listen notif widget dispos param listen listen longer notifi receiv dispos except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul dispos listen add dispos listen public void remov dispos listen dispos listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt dispos listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access disposelisten adddisposelisten removedisposelisten disposelisten checkwidget error_null_argument eventt eventt void send event event event displai displai event displai displai filter event event event tabl null event tabl send event event sendev filterev eventt eventt sendev void send event int event type send event event type null true sendev eventtyp sendev eventtyp void send event int event type event event send event event type event true sendev eventtyp sendev eventtyp void send event int event type event event boolean send event tabl null displai filter event type return event null event event event type event type event displai displai event widget event 0 event displai event send send event event displai post event event sendev eventtyp eventt eventtyp eventtyp getlasteventtim sendev postev int set bound int control int int int width int height boolean move boolean resiz boolean event comput bound rect bound rect os control bound control bound int root int 1 int window os control owner control os root control window root int parent handl int 1 os super control control parent handl rect parent rect rect parent handl 0 root 0 os control bound parent handl 0 parent rect os offset rect bound short parent rect left short parent rect top rect inset inset bound left inset left bound top inset top bound inset bound bottom inset bottom comput bound move bound left bound top resiz width bound bound left height bound bottom bound top rect bound rect bound left short parent rect left inset left bound top short parent rect top inset top bound short bound left width inset inset left bound bottom short bound top height inset bottom inset top bound bottom bound top bound bottom bound top bound bound left bound bound left bound swt coordin os control bound control bound check chang boolean origin bound left bound left bound top bound top boolean extent bound bound left bound bound left bound bottom bound top bound bottom bound top origin extent return 0 appli invalid rectangl int temp rgn 0 boolean visibl os control visibl control visibl temp rgn os rgn os control region control short os control structur meta part temp rgn inval window rgn window temp rgn os set control bound control bound invalid visibl region control visibl os control region control short os control structur meta part temp rgn inval window rgn window temp rgn os dispos rgn temp rgn send event int result 0 move origin event send event swt move result move resiz extent event send event swt resiz result resiz return result setbound oldbound getcontrolbound oldbound theroot getcontrolown getrootcontrol theroot parenthandl getsupercontrol parenthandl parentrect parenthandl theroot getcontrolbound parenthandl parentrect offsetrect oldbound parentrect parentrect getinset oldbound oldbound oldbound oldbound oldbound oldbound oldbound oldbound oldbound oldbound newbound newbound parentrect newbound parentrect newbound newbound newbound newbound newbound newbound newbound newbound newbound newbound newbound newbound getcontrolbound oldbound sameorigin newbound oldbound newbound oldbound sameext newbound newbound oldbound oldbound newbound newbound oldbound oldbound sameorigin sameext temprgn iscontrolvis temprgn newrgn getcontrolregion kcontrolstructuremetapart temprgn invalwindowrgn temprgn setcontrolbound newbound invalidatevisibleregion getcontrolregion kcontrolstructuremetapart temprgn invalwindowrgn temprgn disposergn temprgn sameorigin sendev sameext sendev set applic defin widget data receiv argument em widget data em singl unnam field store widget applic put arbitrari object field object store widget data need notifi widget dispos applic respons hook dispos event widget param data widget data except swt except ul li error widget dispos receiv dispos li li error thread invalid access call wrong thread li ul public void set data object data check widget kei data 0 object data 0 data data data swtexcept error_widget_dispos error_thread_invalid_access setdata checkwidget kei_data set applic defin properti receiv applic associ arbitrari object receiv fashion object store properti need notifi widget dispos applic respons hook dispos event widget param kei the properti param valu properti except illeg argument except ul li error null argument kei null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul data public void set data string kei object check widget kei null error swt error null argument int index 1 object tabl null kei data 0 tabl object data index tabl length kei equal tabl index break index 2 null kei data 0 index tabl length object tabl object tabl length 2 system arraycopi tabl 0 tabl 0 tabl length data tabl tabl tabl object 3 tabl 0 data data tabl kei data tabl index kei tabl index 1 kei data 0 index tabl length int length tabl length 2 length 1 data tabl 0 kei data object tabl object length system arraycopi tabl 0 tabl 0 index system arraycopi tabl index 2 tabl index length index data tabl illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access getdata setdata checkwidget error_null_argument kei_data kei_data newtabl newtabl newtabl kei_data kei_data kei_data newtabl newtabl newtabl newtabl boolean set input event event int type int chord int modifi chord 0x01 0 event mask swt button1 chord 0x02 0 event mask swt button3 chord 0x04 0 event mask swt button2 modifi os option kei 0 event mask swt alt modifi os shift kei 0 event mask swt shift modifi os control kei 0 event mask swt control modifi os cmd kei 0 event mask swt command switch type case swt mous case swt mous doubl click event button 1 event mask swt button1 event button 2 event mask swt button2 event button 3 event mask swt button3 break case swt mous event button 1 event mask swt button1 event button 2 event mask swt button2 event button 3 event mask swt button3 break case swt kei case swt travers event kei code 0 event charact 0 return true int modifi displai modifi modifi os alpha lock 0 modifi os alpha lock 0 event kei code swt cap lock return true modifi os shift kei 0 modifi os shift kei 0 event mask swt shift event kei code swt shift return true modifi os control kei 0 modifi os control kei 0 event mask swt control event kei code swt control return true modifi os cmd kei 0 modifi os cmd kei 0 event mask swt command event kei code swt command return true modifi os option kei 0 modifi os option kei 0 event mask swt alt event kei code swt alt return true break case swt kei event kei code 0 event charact 0 return true int modifi displai modifi modifi os alpha lock 0 modifi os alpha lock 0 event kei code swt cap lock return true modifi os shift kei 0 modifi os shift kei 0 event mask swt shift event kei code swt shift return true modifi os control kei 0 modifi os control kei 0 event mask swt control event kei code swt control return true modifi os cmd kei 0 modifi os cmd kei 0 event mask swt command event kei code swt command return true modifi os option kei 0 modifi os option kei 0 event mask swt alt event kei code swt alt return true break return true setinputst statemask statemask statemask optionkei statemask shiftkei statemask controlkei statemask cmdkei statemask mousedown mousedoubleclick statemask statemask statemask mouseup statemask statemask statemask keydown keycod lastmodifi lastmodifi alphalock lastmodifi alphalock keycod cap_lock shiftkei lastmodifi shiftkei statemask keycod controlkei lastmodifi controlkei statemask keycod cmdkei lastmodifi cmdkei statemask keycod optionkei lastmodifi optionkei statemask keycod keyup keycod lastmodifi lastmodifi alphalock lastmodifi alphalock keycod cap_lock shiftkei lastmodifi shiftkei statemask keycod controlkei lastmodifi controlkei statemask keycod cmdkei lastmodifi cmdkei statemask keycod optionkei lastmodifi optionkei statemask keycod boolean set kei event event int type int event boolean null fals int kei code int 1 os event paramet event os event param kei code os typeu int32 null kei code length 4 null kei code event kei code displai translat kei kei code 0 switch event kei code case swt lf featur macintosh numer kei pad enter kei press gener correct platform behavior portabl fix convert event kei code swt keypad cr event charact break case swt bs event charact break case swt cr event charact break case swt del event charact 0x7f break case swt esc event charact 0x1b break case swt tab event charact break default event kei code 0 swt keypad multipli event kei code event kei code swt keypad cr int length int 1 int statu os event paramet event os event param kei unicod os type unicod text null 4 length char null statu os err length 0 0 char char char 1 os event paramet event os event param kei unicod os type unicod text null 2 null char event charact char 0 bug mactonish reason ctrl shift 2 ctrl shift 6 fail give 0x0 ascii nul 0x1e control charact kei sequenc ctrl shift 0x1f correctli translat control charact kei combin intern keyboard test charact convert control charact shift 2 english keyboard problem fix event kei code 0 int kchr ptr os script manag variabl short os smkchr cach displai kchr ptr kchr ptr displai kchr ptr kchr ptr displai kchr 0 0 int result os kei translat displai kchr ptr short kei code 0 displai kchr result 0x7f event kei code result 0x7f int encod int 1 short kei script short os script manag variabl short os sm kei script short region code short os script manag variabl short os sm region code os upgrad script info text encod kei script short os text languag dont care region code null encod os param err os upgrad script info text encod kei script short os text languag dont care short os text region dont care null encod os param err encod 0 os text encod mac roman int encod info int 1 os creat text unicod info encod encod 0 encod info encod info 0 0 char char char 1 int nchar int 1 byte buffer byte 2 buffer 0 1 buffer 1 byte result 0xff os convert fromp string unicod encod info 0 buffer char length 2 nchar char os dispos text unicod info encod info event kei code char 0 break event kei code 0 event charact 0 null return fals int chord int 1 os event paramet event os event param mous chord os typeu int32 null 4 null chord int modifi int 1 os event paramet event os event param kei modifi os typeu int32 null 4 null modifi return set input event type chord 0 modifi 0 setkeyst theevent isnul keycod geteventparamet theevent keventparamkeycod typeuint32 keycod keycod keycod translatekei keycod keycod keycod keypad_cr keycod keypad_multipli keycod keycod keypad_cr geteventparamet theevent keventparamkeyunicod typeunicodetext noerr geteventparamet theevent keventparamkeyunicod typeunicodetext _ keycod kchrptr getscriptmanagervari smkchrcach kchrptr kchrptr kchrptr kchrptr kchrstate keytransl kchrptr keycod kchrstate keycod keyscript getscriptmanagervari smkeyscript regioncod getscriptmanagervari smregioncod upgradescriptinfototextencod keyscript ktextlanguagedontcar regioncod paramerr upgradescriptinfototextencod keyscript ktextlanguagedontcar ktextregiondontcar paramerr ktextencodingmacroman encodinginfo createtexttounicodeinfobyencod encodinginfo encodinginfo convertfrompstringtounicod encodinginfo disposetexttounicodeinfo encodinginfo keycod keycod isnul geteventparamet theevent keventparammousechord typeuint32 geteventparamet theevent keventparamkeymodifi typeuint32 setinputst void set visibl int control boolean visibl int visibl rgn 0 boolean draw draw count control 0 draw visibl visibl rgn visibl region control fals os set control visibl control visibl fals invalid visibl region control draw visibl visibl rgn visibl region control fals draw int window os control owner control inval window rgn window visibl rgn os dispos rgn visibl rgn setvis visiblergn getdrawcount visiblergn getvisibleregion setcontrolvis invalidatevisibleregion visiblergn getvisibleregion getcontrolown invalwindowrgn visiblergn disposergn visiblergn void setz order int control int oth control boolean int op os khi viewz order os khi viewz order int rgn 0 boolean draw draw control draw rgn visibl region control fals os hi view setz order control op oth control invalid visibl region control draw int rgn visibl region control fals os diff rgn rgn rgn rgn os diff rgn rgn rgn rgn int window os control owner control inval window rgn window rgn os dispos rgn rgn os dispos rgn rgn setzord othecontrol inop khiviewzorderbelow khiviewzorderabov oldrgn isdraw oldrgn getvisibleregion hiviewsetzord inop othecontrol invalidatevisibleregion newrgn getvisibleregion diffrgn newrgn oldrgn newrgn diffrgn oldrgn newrgn newrgn getcontrolown invalwindowrgn newrgn disposergn oldrgn disposergn newrgn int text input proc int handler int event int user data int event kind os event kind event switch event kind case os event text input unicod kei event return event text input unicod kei event handler event user data return os event handl err textinputproc nexthandl theevent userdata eventkind geteventkind theevent eventkind keventtextinputunicodeforkeyev keventtextinputunicodeforkeyev nexthandl theevent userdata eventnothandlederr rgb color torgb color float color rgb color rgb rgb color rgb red short color 0 0xffff rgb green short color 1 0xffff rgb blue short color 2 0xffff return rgb rgbcolor torgbcolor rgbcolor rgbcolor return string concis human readabl descript receiv return string represent receiv public string string string string dispos dispos string wrong thread valid thread string text return string tostr isdispos isvalidthread getnametext getnam int track proc int browser int itemid int properti int rect int start pt int modifi return data browser process click return 1 trackingproc therect startpt int window proc int handler int event int user data int event kind os event kind event switch event kind case os event window activ return event window activ handler event user data case os event window bound chang return event window bound chang handler event user data case os event window close return event window close handler event user data case os event window collaps return event window collaps handler event user data case os event window deactiv return event window deactiv handler event user data case os event window draw content return event window draw content handler event user data case os event window expand return event window expand handler event user data case os event window region return event window region handler event user data case os event window hidden return event window hidden handler event user data case os event window hit test return event window hit test handler event user data case os event window shown return event window shown handler event user data case os event window updat return event window updat handler event user data return os event handl err windowproc nexthandl theevent userdata eventkind geteventkind theevent eventkind keventwindowactiv keventwindowactiv nexthandl theevent userdata keventwindowboundschang keventwindowboundschang nexthandl theevent userdata keventwindowclos keventwindowclos nexthandl theevent userdata keventwindowcollaps keventwindowcollaps nexthandl theevent userdata keventwindowdeactiv keventwindowdeactiv nexthandl theevent userdata keventwindowdrawcont keventwindowdrawcont nexthandl theevent userdata keventwindowexpand keventwindowexpand nexthandl theevent userdata keventwindowgetregion keventwindowgetregion nexthandl theevent userdata keventwindowhidden keventwindowhidden nexthandl theevent userdata keventwindowhittest keventwindowhittest nexthandl theevent userdata keventwindowshown keventwindowshown nexthandl theevent userdata keventwindowupd keventwindowupd nexthandl theevent userdata eventnothandlederr answer length side adjac angl triangl word return integ convers length co angl import j2me version addit restrict argument length 32767 32767 inclus param angl angl degre param length length triangl hypotenus return integ convers length co angl public static int co int angl int length return sin 90 angl length answer length side opposit angl triangl word return integ convers length sin angl import j2me version addit restrict argument length 32767 32767 inclus param angl angl degre param length length triangl hypotenus return integ convers length sin angl public static int sin int angl int length length 32767 length 32767 swt error swt error invalid rang angl 0 angl 360 angl angl 360 angl 0 angl 360 int sine angl 0 angl 90 sine sine tabl angl angl 90 angl 180 sine sine tabl 180 angl angl 180 angl 270 sine 0 sine tabl angl 180 angl 270 angl 360 sine 0 sine tabl 360 angl return sine length 16 error_invalid_rang sinevalu sinevalu sinet sinevalu sinet sinevalu sinet sinevalu sinet sinevalu answer neg closest neg infin integ greater number obtain divid argument argument param numer param denomin return ceil ration number public static int ceil int int int re q 0 re 0 re 0 0 0 0 0 return re return re 1 answer posit closest posit infin integ number obtain divid argument argument param numer param denomin return floor ration number public static int floor int int int re q 0 re 0 re 0 0 0 0 0 return re return re 1 answer result round closest integ number obtain divid argument argument import j2me version addit restrict argument rang 0 32767 inclus rang 1 32767 inclus param numer param denomin return closest integ ration number public static int round int int 0 32767 1 32767 swt error swt error invalid rang return 2 2 error_invalid_rang return 2 rais power argument param int 0 30 inclus return 2 rais power argument except illeg argument except ul li error invalid rang argument 0 30 inclus li ul public static int pow2 int n 1 30 return 2 1 0 swt error swt error invalid rang return 1 illegalargumentexcept error_invalid_rang error_invalid_rang open file thing support param filenam the file open return stream file open public static input stream file input stream string filenam throw io except throw io except inputstream newfileinputstream ioexcept ioexcept open file thing support param filenam the file open return stream file open public static output stream file output stream string filenam throw io except throw io except outputstream newfileoutputstream ioexcept ioexcept answer charact letter param charact return true charact letter public static boolean letter char return charact upper case charact lower case islett isuppercas islowercas answer charact letter digit param charact return true charact letter digit public static boolean letter digit char return letter charact digit isletterordigit islett isdigit answer charact unicod space charact param charact return true charact unicod space charact public static boolean space char char return isspacechar answer charact whitespac charact param charact return true charact whitespac charact public static boolean whitespac char optim case ascii 0x1c 0x20 0x9 0xd return true return fals iswhitespac execut program separ platform process underli platform support process inherit environ caller param program the program execut except io except program execut except secur except current secur manag disallow program execut public static void exec string prog throw java io io except throw io except ioexcept securityexcept securitymanag ioexcept ioexcept execut prog arrai 0 separ platform process underli platform support process inherit environ caller param prog arrai arrai program execut argument except io except program execut except secur except current secur manag disallow program execut public static void exec string prog arrai throw java io io except throw io except progarrai progarrai ioexcept securityexcept securitymanag progarrai ioexcept ioexcept return nl ed messag argument call swt param kei kei look return messag kei swt messag public static string messag string kei kei null swt error swt error null argument kei equal swt ye return ye kei equal swt return kei equal swt ok return ok kei equal swt cancel return cancel kei equal swt abort return abort kei equal swt retri return retri kei equal swt ignor return ignor kei equal swt sampl return sampl kei equal swt sampl text return sampl text kei equal swt select return select kei equal swt current select return current select kei equal swt charact set return charact set kei equal swt font return font kei equal swt extend style return extend style kei equal swt size return size kei equal swt style return style kei equal swt save return save kei equal swt charact set return charact set kei equal swt colordialog titl return color kei equal swt fontdialog titl return font kei equal swt charset western return western kei equal swt charset easteuropean return east european kei equal swt charset southeuropean return south european kei equal swt charset northeuropean return north european kei equal swt charset cyril return cyril kei equal swt charset arab return arab kei equal swt charset greek return greek kei equal swt charset hebrew return hebrew kei equal swt charset turkish return turkish kei equal swt charset nordic return nordic kei equal swt charset thai return thai kei equal swt charset balticrim return baltic rim kei equal swt charset celtic return celtic kei equal swt charset euro return euro kei equal swt charset romanian return romanian kei equal swt charset simplifiedchines return simplifi chines kei equal swt charset traditionalchines return tradit chines kei equal swt charset japanes return japanes kei equal swt charset korean return korean kei equal swt charset unicod return unicod kei equal swt charset ascii return ascii kei equal swt inputmethod return input method kei equal swt password return password kei equal swt usernam return user kei equal swt prompt return prompt return kei getmessag getmessag error_null_argument swt_ye swt_no swt_ok swt_cancel swt_abort swt_retri swt_ignor swt_sampl swt_a_sampl_text swt_select swt_current_select swt_charact_set swt_font swt_extend_style swt_size swt_style swt_save swt_charact_set swt_colordialog_titl swt_fontdialog_titl swt_charset_western swt_charset_easteuropean swt_charset_southeuropean swt_charset_northeuropean swt_charset_cyril swt_charset_arab swt_charset_greek swt_charset_hebrew swt_charset_turkish swt_charset_nordic swt_charset_thai swt_charset_balticrim swt_charset_celtic swt_charset_euro swt_charset_romanian swt_charset_simplifiedchines swt_charset_traditionalchines swt_charset_japanes swt_charset_korean swt_charset_unicod swt_charset_ascii swt_inputmethod swt_password swt_usernam swt_prompt interrupt current thread note cldc public static void interrupt compar instanc class string ignor case charact answer equal param s1 string param s2 string return true instanc class string equal public static boolean equal ignor case string s1 string s2 s1 s2 return true s2 null s1 length s2 length return fals char arrai1 s1 char arrai char arrai2 s2 char arrai int length s1 length char c1 c2 int index 0 index length index c1 arrai1 index c2 arrai2 index c1 c2 charact upper case c1 charact upper case c2 charact lower case c1 charact lower case c2 return fals return true equalsignorecas carrai1 tochararrai carrai2 tochararrai carrai1 carrai2 touppercas touppercas tolowercas tolowercas return swt version integ standard format em mmmm em em em major version number em mmm em minor version number return version run swt public static int version return major version 1000 minor version getvers major_version minor_version return swt platform return platform run swt public static string platform return platform platform getplatform return swt revis number integ revis occur result non api break bug fix return revis number run swt public static int revis return revis getrevis load share librari match version java code run swt share librari follow encod scheme major minor revis number embed librari code code load librari fail code code attempt load librari ignor swt version encod scheme param the librari load public static void load librari string loadlibrari construct instanc class param sourc object fire event public swt event object object sourc sourc null sourc sourc throw illeg argument except swteventobject illegalargumentexcept answer event sourc return object fire event public object sourc return sourc getsourc answer string represent swt event object return string represent swt event object public string string return class sourc string sourc swteventobject swteventobject tostr getclass getnam valueof access client request the control child control default behavior return the control child code result code field event object return empti string tell client control child return null tell client platform param event object field ul li childid identifi control children li li result request string null li ul public void access event getnam accessibleev access client request help string control help string child control default behavior inform properti similar help provid tool tip text describ control child oppos descript describ appear p return help string control child code result code field event object return empti string tell client control child help string return null tell client platform help string param event object field ul li childid identifi control children li li result request help string null li ul public void help access event tooltiptext getdescript gethelp accessibleev access client request keyboard shortcut control keyboard shortcut child control default behavior keyboard shortcut mnemon acceler gener rule control child receiv keyboard focu expos mnemon receiv keyboard focu expos acceler p return keyboard shortcut string control child code result code field event object return empti string tell client control child keyboard shortcut string return null tell client platform keyboard shortcut string param event object field ul li childid identifi control children li li result request keyboard shortcut string alt null li ul public void keyboard shortcut access event getkeyboardshortcut accessibleev access client request descript control descript child control default behavior textual descript control child visual appear typic determin properti role p return descript control child code result code field event object return empti string tell client control child descript return null tell client platform descript param event object field ul li childid identifi control children li li result request descript string null li ul public void descript access event getdescript accessibleev access client request identifi control child displai coordin default behavior return identifi child displai point code childid code field event object return childid point control child return childid point contain control children param event object field ul li point displai coordin li li childid typic id child point childid childid li li access option access object control child return childid li ul public void child point access control event childid_self childid_none childid_self childid_none getchildatpoint accessiblecontrolev access client request locat control locat child control default behavior return rectangl describ locat control child code width height code field event object param event object field ul li childid identifi control children li li width height control child locat displai coordin li ul public void locat access control event getloc accessiblecontrolev access client request access object child control default behavior return code access code control child code access code field event object return null child code access code param event object field ul li childid identifi child control li li access access childid null exist li ul public void child access control event getchild accessiblecontrolev access client request number children control default behavior return number child item code detail code field event object param event object field ul li detail number child item control li ul public void child count access control event getchildcount accessiblecontrolev access client request default action control default action child control default behavior string typic verb describ user push button default action press check button check un check list item default action doubl click p return string describ default action control child code result code field event object return null tell client platform default action string param event object field ul li childid identifi control children li li result request default action string null li ul public void default action access control event uncheck getdefaultact accessiblecontrolev access client request ident child control keyboard focu default behavior return identifi child focu code childid code field event object return childid control keyboard focu return childid control children focu param event object field ul li childid typic id child focu childid childid li li access option access object child return childid li ul public void focu access control event childid_self childid_none childid_self childid_none getfocu accessiblecontrolev access client request role control role child control default behavior return role constant constant defin acc begin role describ role control child code detail code field event object param event object field ul li childid identifi control children li li detail role constant describ role control child li ul public void role access control event role_ getrol accessiblecontrolev access client request ident child control select default behavior return identifi select child code childid code field event object return childid control select return childid multipl multipl children select return arrai childi ds code children code field return childid control children select param event object field ul li childid typic id select child childid childid multipl childid li li access option access object control child return childid li ul public void select access control event childid_self childid_multipl childid childid_none childid_self childid_multipl childid_none getselect accessiblecontrolev access client request the control child control default behavior return constant constant defin acc begin describ current control child code detail code field event object param event object field ul li childid identifi control children li li detail constant describ current control child li ul public void access control event state_ getstat accessiblecontrolev access client request control child control default behavior control return exampl control combo return text string text return content progress bar return string repres percentag tree item return string repres level tree p return string describ control child code result code field event object return null tell client platform string param event object field ul li childid identifi control children li li result request string null li ul public void access control event progressbar getvalu accessiblecontrolev access client request children control default behavior return children arrai childi ds code children code field event object param event object field ul li children typic arrai childi ds li li access option arrai access object children return childi ds li ul public void children access control event childid childid childid getchildren accessiblecontrolev construct instanc class param sourc object fire event public access control event object sourc super sourc accessiblecontrolev return string concis human readabl descript receiv return string represent event public string string return access control event childid childid non nl 1 access access non nl 1 x non nl 1 y non nl 1 width width non nl 1 height height non nl 1 detail detail non nl 1 result result non nl 1 non nl 1 tostr accessiblecontrolev access client request identifi control child displai coordin return identifi child displai point code childid code field event object return childid point control child return childid point contain control children param event object field ul li point displai coordin li li childid typic id child point childid childid li li access option access object control child return childid li ul childid_self childid_none childid_self childid_none access client request locat control locat child control return rectangl describ locat control child code width height code field event object param event object field ul li childid identifi control children li li width height control child locat displai coordin li ul access client request access object child control return code access code control child code access code field event object return null child code access code param event object field ul li childid identifi child control li li access access childid null exist li ul access client request number children control return number child item code detail code field event object param event object field ul li detail number child item control li ul access client request default action control default action child control string typic verb describ user push button default action press check button check un check list item default action doubl click p return string describ default action control child code result code field event object return null tell client platform default action string param event object field ul li childid identifi control children li li result request default action string null li ul uncheck access client request ident child control keyboard focu return identifi child focu code childid code field event object return childid control keyboard focu return childid control children focu param event object field ul li childid typic id child focu childid childid li li access option access object child return childid li ul childid_self childid_none childid_self childid_none access client request role control role child control return role constant constant defin acc begin role describ role control child code detail code field event object param event object field ul li childid identifi control children li li detail role constant describ role control child li ul role_ access client request ident child control select return identifi select child code childid code field event object return childid control select return childid multipl multipl children select return arrai childi ds code children code field return childid control children select param event object field ul li childid typic id select child childid childid multipl childid li li access option access object control child return childid li ul childid_self childid_multipl childid childid_none childid_self childid_multipl childid_none access client request the control child control return constant constant defin acc begin describ current control child code detail code field event object param event object field ul li childid identifi control children li li detail constant describ current control child li ul state_ access client request control child control control return exampl control combo return text string text return content progress bar return string repres percentag tree item return string repres level tree p return string describ control child code result code field event object return null tell client platform string param event object field ul li childid identifi control children li li result request string null li ul progressbar access client request children control return children arrai childi ds code children code field event object param event object field ul li children typic arrai childi ds li li children option arrai access object children return childi ds li ul childid childid childid construct instanc class param sourc object fire event public access event object sourc super sourc accessibleev return string concis human readabl descript receiv return string represent event public string string return access event childid childid result result non nl 1 non nl 2 non nl 3 tostr accessibleev access client request the control child control return the control child code result code field event object return empti string tell client control child return null tell client platform param event object field ul li childid identifi control children li li result request string null li ul access client request help string control help string child control inform properti similar help provid tool tip text describ control child oppos descript describ appear p return help string control child code result code field event object return empti string tell client control child help string return null tell client platform help string param event object field ul li childid identifi control children li li result request help string null li ul tooltiptext getdescript access client request keyboard shortcut control keyboard shortcut child control keyboard shortcut mnemon acceler gener rule control child receiv keyboard focu expos mnemon receiv keyboard focu expos acceler p return keyboard shortcut string control child code result code field event object return empti string tell client control child keyboard shortcut string return null tell client platform keyboard shortcut string param event object field ul li childid identifi control children li li result request keyboard shortcut string alt null li ul access client request descript control descript child control textual descript control child visual appear typic determin properti role p return descript control child code result code field event object return empti string tell client control child descript return null tell client platform descript param event object field ul li childid identifi control children li li result request descript string null li ul access client request current charact offset text caret default behavior return caret offset code offset code field event object param event object field ul li childid identifi child control li li offset current offset text caret li ul public void caret offset access text event getcaretoffset accessibletextev access client request rang current text select default behavior return select start offset non neg length code offset code code length code field event object param event object field ul li childid identifi child control li li offset offset current text select li li length length current text select li ul public void select rang access text event getselectionrang accessibletextev construct instanc class param sourc object fire event public access text event object sourc super sourc accessibletextev return string concis human readabl descript receiv return string represent event public string string return access text event childid childid non nl 1 offset offset non nl 1 length length non nl 1 non nl 1 tostr accessibletextev access client request current charact offset text caret return caret offset code offset code field event object param event object field ul li childid identifi child control li li offset current offset text caret li ul access client request rang current text select return select start offset non neg length code offset code code length code field event object param event object field ul li childid identifi child control li li offset offset current text select li li length length current text select li ul method call window host link browser close applic typic close link org eclips swt widget shell host code browser code code browser code dispos notif field code window event code appli ul li widget code browser code go dispos ul param event code window event code specifi code browser code go dispos org eclips swt widget shell close 3 0 windowev windowev public abstract class locat adapt implement locat listen public void chang locat event event locationadapt locationlisten locationev public void chang locat event event locationev public boolean doit locat event widget super locationev method call current locat chang p field code locat event code appli ul li locat locat load li widget code browser code locat chang li doit set code fals code prevent locat load ul param event code locat event code specifi locat load code browser code 3 0 locationev locationev method call current locat chang p field code locat event code appli ul li locat current locat li top code true code locat open top frame code fals code li widget code browser code locat chang ul param event code locat event code specifi locat code browser code 3 0 locationev locationev method call window need creat p field code window event code appli ul li browser code browser code host content window left code null code navig cancel window open li widget code browser code request open window ul param event code window event code need pass code browser code handl window request 3 0 windowev windowev public abstract class progress adapt implement progress listen public void chang progress event event progressadapt progresslisten progressev public void complet progress event event progressev public int total progress event widget super progressev method call progress load current locat p field code progress event code appli ul li current progress locat load li total maximum progress locat load li widget code browser code current url load ul param event code progress event code relat load current locat code browser code 3 0 progressev progressev method call current locat complet load p field code progress event code appli ul li widget code browser code current url load ul param event code progress event code relat code browser code load current url 3 0 progressev progressev public string text statu text event widget super statustextev method call statu text chang statu text typic show statu bar browser applic p field code statu text event code appli ul li text modifi statu text li widget code browser code statu text chang ul param event code statu text event code updat statu descript code browser code 3 0 statustextev statustextev public string titl titl event widget super titleev method call titl current document chang p field code titl event code appli ul li titl titl current document li widget code browser code current document titl known modifi ul param event code titl event code titl document displai code browser code 3 0 titleev titleev public abstract class visibl window adapt implement visibl window listen public void hide window event event visibilitywindowadapt visibilitywindowlisten windowev public void show window event event windowev method call window host code browser code request hidden applic typic hide link org eclips swt widget shell host code browser code p field code window event code appli ul li widget code browser code need hidden ul param event code window event code specifi code browser code need hidden org eclips swt widget shell set visibl boolean 3 0 windowev windowev setvis method call window host code browser code request displai applic typic set locat size link org eclips swt widget shell host code browser code locat size applic open code shell code p field code window event code appli ul li widget code browser code displai li locat request locat code shell code host browser code null code locat set li size request size code browser code client area code shell code host code browser code larg accomod size code null code size set ul param event code window event code specifi code browser code need displai org eclips swt widget control set locat org eclips swt graphic point org eclips swt widget control set size org eclips swt graphic point org eclips swt widget shell open 3 0 windowev windowev setloc setsiz public point size window event widget super windowev add control listen control adapt public void control resiz control event redraw addcontrollisten controladapt controlres controlev add paint listen paint listen public void paint control paint event paint addpaintlisten paintlisten paintcontrol paintev add dispos listen dispos listen public void widget dispos dispos event stop adddisposelisten disposelisten widgetdispos disposeev construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt vertic swt horizont swt border style public anim progress composit parent int style super parent check style style style swt vertic 0 orient swt vertic show border style swt border 0 add control listen control adapt public void control resiz control event redraw add paint listen paint listen public void paint control paint event paint add dispos listen dispos listen public void widget dispos dispos event stop illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl animatedprogress checkstyl showbord addcontrollisten controladapt controlres controlev addpaintlisten paintlisten paintcontrol paintev adddisposelisten disposelisten widgetdispos disposeev privat static int check style int style int mask swt return style mask checkstyl stop anim stop reset present blank appear except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public synchron void clear check widget activ stop show stripe fals redraw swtexcept error_widget_dispos error_thread_invalid_access checkwidget showstrip public point comput size int hint int hint boolean chang check widget point size null orient swt horizont size point default width default height size point default height default width hint swt default size hint hint swt default size hint return size computes whint hhint checkwidget default_width default_height default_height default_width whint whint hhint hhint privat void draw bevel rect gc gc int int int int color topleft color bottomright gc set foreground topleft gc draw line 1 gc draw line y 1 gc set foreground bottomright gc draw line y gc draw line y drawbevelrect setforeground drawlin drawlin setforeground drawlin drawlin void paint paint event event gc gc event gc displai disp displai rectangl rect client area gc fill rectangl rect show border draw bevel rect gc rect rect rect width 1 rect height 1 disp system color swt color widget normal shadow disp system color swt color widget highlight shadow paint stripe gc paintev getdisplai getclientarea fillrectangl showbord drawbevelrect getsystemcolor color_widget_normal_shadow getsystemcolor color_widget_highlight_shadow paintstrip void paint stripe gc gc show stripe return rectangl rect client area subtract border paint paint rect rectangl rect 2 rect 2 rect width 4 rect height 4 gc set line width 2 gc set clip rect color color displai system color swt color list select gc set background color gc fill rectangl rect gc set foreground background int step 12 int foreground valu 0 step 2 2 orient swt horizont int rect 1 int rect width int rect height 2 int 0 step int foreground gc draw line int rect 1 int rect width 2 int rect height int 0 i step int foreground gc draw line y activ valu 2 step paintstrip showstrip getclientarea setlinewidth setclip getdisplai getsystemcolor color_list_select setbackground fillrectangl setforeground getbackground foregroundvalu foregroundvalu drawlin foregroundvalu drawlin timer 0 runnabl public void run activ return gc gc gc anim progress paint stripe gc gc dispos displai timer exec sleep timer 0 animatedprogress paintstrip timerexec start anim except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public synchron void start check widget activ return activ true show stripe true final displai displai displai final runnabl timer runnabl 1 timer 0 runnabl public void run activ return gc gc gc anim progress paint stripe gc gc dispos displai timer exec sleep timer 0 displai timer exec sleep timer 0 swtexcept error_widget_dispos error_thread_invalid_access checkwidget showstrip getdisplai animatedprogress paintstrip timerexec timerexec stop anim freez present current appear public synchron void stop check widget activ fals checkwidget bidi segment event style text event super line offset detail line text text bidisegmentev styledtextev lineoffset linetext method call line need reorder measur render bidi local param event line offset line start offset input param event line text line text input param event segment text segment reorder separ output bidi segment event lineoffset linetext bidisegmentev run code runnabl code provid busi feedback busi indic param displai displai busi feedback displai displai null displai current thread displai current thread runnabl code execut busi feedback displai param runnabl runnabl busi feedback shown null except illeg argument except ul li error null argument runnabl null li ul show public static void show displai displai runnabl runnabl runnabl null swt error swt error null argument displai null displai displai current displai null runnabl run return integ busi id integ busi id busi id cursor cursor displai system cursor swt cursor wait shell shell displai shell int 0 shell length integ id integ shell data busyid id null shell set cursor cursor shell set data busyid busi id try runnabl run final shell displai shell int 0 shell length integ id integ shell data busyid id busi id shell set cursor null shell set data busyid null illegalargumentexcept error_null_argument showwhil showwhil error_null_argument getcurr busyid nextbusyid nextbusyid getsystemcursor cursor_wait getshel getdata busyid_name setcursor setdata busyid_name busyid getshel getdata busyid_name busyid setcursor setdata busyid_name listen listen listen public void handl event event switch type case swt dispos dispos break case swt mous mous break case swt mous exit mous exit break case swt mous move mous move break case swt mous mous break case swt paint paint gc break case swt resiz resiz break handleev ondispos mousedown onmousedown mouseexit onmouseexit mousemov onmousemov mouseup onmouseup onpaint onres construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul public banner composit parent int style super parent check style style resiz cursor cursor displai swt cursor sizew listen listen listen public void handl event event switch type case swt dispos dispos break case swt mous mous break case swt mous exit mous exit break case swt mous move mous move break case swt mous mous break case swt paint paint gc break case swt resiz resiz break int event int swt dispos swt mous swt mous exit swt mous move swt mous swt paint swt resiz int 0 event length add listen event listen illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access cbanner checkstyl resizecursor getdisplai cursor_sizew handleev ondispos mousedown onmousedown mouseexit onmouseexit mousemov onmousemov mouseup onmouseup onpaint onres mousedown mouseexit mousemov mouseup addlisten static int bezier int x0 int y0 int x1 int y1 int x2 int y2 int x3 int y3 int count parametr equat bezier curv 0 1 x0 3 x1 x0 3 x0 x2 2x1 3 x3 x0 3x1 3x2 3 y0 3 y1 y0 3 y0 y2 2y1 2 y3 y0 3y1 3y2 3 doubl a0 x0 doubl a1 3 x1 x0 doubl a2 3 x0 x2 2 x1 doubl a3 x3 x0 3 x1 3 x2 doubl b0 y0 doubl b1 3 y1 y0 doubl b2 3 y0 y2 2 y1 doubl b3 y3 y0 3 y1 3 y2 int polygon int 2 count 2 int 0 count doubl doubl doubl count polygon 2 int a0 a1 a2 t a3 t polygon 2 1 int b0 b1 b2 t b3 t return polygon return polygon static int check style int style return swt checkstyl public point comput size int hint int hint boolean chang check widget boolean show curv left null null int height hint int width hint point bottom size point 0 0 bottom null point trim bottom comput size width swt default trim trim width bottom size bottom comput size width swt default swt default width trim swt default height swt default bottom size math min bottom size height height bottom size border top border stripe border bottom show curv height swt default height border top border bottom 2 border stripe point size point 0 0 null point trim comput size width height trim trim width size comput size width swt default swt default width trim width swt default swt default height width swt default size math min size width width size curv width 2 curv indent width math max width min left point left size point 0 0 left null point trim left comput size width swt default trim trim width left size left comput size width swt default swt default width trim swt default int 0 0 bottom size bottom null left null null border top border bottom border stripe left size size show curv curv width 2 curv indent border top border bottom 2 border stripe left null left size size hint swt default w hint hint swt default h hint return point computes whint hhint checkwidget showcurv hhint whint bottoms computes bottoms computes bottoms bottoms bottoms border_top border_stripe border_bottom showcurv border_top border_bottom border_stripe rightsiz computes rightwidth rightwidth rightsiz computes rightwidth rightwidth rightwidth rightsiz rightsiz rightsiz curv_width curv_indent min_left leftsiz computes leftsiz computes bottoms border_top border_bottom border_stripe leftsiz rightsiz showcurv curv_width curv_indent border_top border_bottom border_stripe leftsiz rightsiz whint whint hhint hhint return point public rectangl comput trim int int int width int height check widget return rectangl width height computetrim checkwidget return control appear bottom side banner return control appear bottom side banner null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public control bottom check widget return bottom swtexcept error_widget_dispos error_thread_invalid_access getbottom checkwidget return bottom public rectangl client area return rectangl 0 0 0 0 getclientarea return control appear left side banner return control appear left side banner null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public control left check widget return left swtexcept error_widget_dispos error_thread_invalid_access getleft checkwidget return control appear side banner return control appear side banner null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public control check widget return swtexcept error_widget_dispos error_thread_invalid_access getright checkwidget return width control appear the banner return width control appear the banner 3 0 public int width check widget null return 0 width swt default return comput size swt default size return width getrightwidth checkwidget rightwidth computes getsiz rightwidth return code true code banner render simpl tradit shape return code true code cbanner render simpl shape 3 0 public boolean simpl check widget return simpl cbanner getsimpl checkwidget public void layout boolean chang check widget point size size boolean show curv left null null int width size int height size point bottom size point 0 0 bottom null point trim bottom comput size width swt default trim trim width bottom size bottom comput size width trim swt default bottom size math min bottom size height height bottom size border top border bottom border stripe show curv height border top border bottom 2 border stripe height math max 0 height point size point 0 0 null point trim comput size width height trim trim width size comput size width swt default swt default width trim width swt default swt default height size math min size width width size curv width 2 curv indent width math max width min left point left size point 0 0 left null point trim left comput size width swt default trim trim width left size left comput size width trim swt default int 0 int 0 int start curv start rectangl left rect null rectangl rect null rectangl bottom rect null bottom null bottom rect rectangl size bottom size bottom size bottom size show curv border top border stripe left null left rect rectangl left size left size curv start left size curv indent left size curv width 2 curv indent null rect rectangl size size curv start start redraw curv start curv tail 0 start curv width curv start curv tail 5 size fals curv start start redraw start curv tail 0 curv start curv width start curv tail 5 size fals curv rect rectangl curv start 0 curv width size updat bottom rect null bottom set bound bottom rect rect null set bound rect left rect null left set bound left rect checkwidget getsiz showcurv bottoms computes bottoms computes bottoms bottoms bottoms border_top border_bottom border_stripe showcurv border_top border_bottom border_stripe rightsiz computes rightwidth rightwidth rightsiz computes rightwidth rightwidth rightwidth rightsiz rightsiz rightsiz curv_width curv_indent min_left leftsiz computes leftsiz computes oldstart curvestart leftrect rightrect bottomrect bottomrect bottoms bottoms bottoms showcurv border_top border_stripe leftrect leftsiz leftsiz curvestart leftsiz curv_indent leftsiz curv_width curv_indent rightrect rightsiz rightsiz curvestart oldstart curvestart curv_tail oldstart curv_width curvestart curv_tail curvestart oldstart oldstart curv_tail curvestart curv_width oldstart curv_tail curverect curvestart curv_width bottomrect setbound bottomrect rightrect setbound rightrect leftrect setbound leftrect void dispos resiz cursor null resiz cursor dispos resiz cursor null left null null ondispos resizecursor resizecursor resizecursor void mous int int curv rect drag true drag displac curv start curv width curv indent onmousedown curverect rightdragdisplac curvestart curv_width curv_indent void mous exit drag set cursor null onmouseexit setcursor void mous move int int drag point size size 0 x size return width size x drag displac width math max min right width layout return curv rect set cursor resiz cursor set cursor null onmousemov getsiz rightwidth rightdragdisplac rightwidth min_right rightwidth curverect setcursor resizecursor setcursor void mous drag fals onmouseup void paint gc gc debug paint problem point size size gc set background displai system color swt color green gc fill rectangl 10 10 size 20 size 20 point size size color border1 displai system color border1 bottom null left null null gc set foreground border1 int bottom bound border bottom border stripe gc draw line 0 size left null null return int line1 int curv length 6 int index 0 int curv start int 0 line1 index 1 line1 index size border stripe int 0 curv length 2 line1 index curv 2 line1 index curv 2 1 line1 index curv width line1 index 0 line1 index size line1 index 0 color background background displai depth 15 anti alias int line2 int line1 length index 0 int 0 line1 length 2 line2 index line1 index 1 line2 index line1 index int line3 int line1 length index 0 int 0 line1 length 2 line3 index line1 index 1 line3 index line1 index rgb border1 getrgb rgb background getrgb int red red 3 red red 4 int green green 3 green green 4 int blue blue 3 blue blue 4 color color color displai red green blue gc set foreground color gc draw polylin line2 gc draw polylin line3 color dispos draw tail fade background int x1 math max 0 curv start curv tail gc set foreground background gc set background border1 gc fill gradient rectangl x1 size border stripe curv start x1 1 1 fals draw solid tail int x1 math max 0 curv start curv tail gc set foreground border1 gc draw line x1 size border stripe curv start 1 size border stripe draw border gc set foreground border1 gc draw polylin line1 onpaint getsiz setbackground getdisplai getsystemcolor color_green fillrectangl getsiz getdisplai getsystemcolor setforeground getbound border_bottom border_stripe drawlin curvestart border_stripe curv_width getbackground getdisplai getdepth getdisplai setforeground drawpolylin drawpolylin curvestart curv_tail setforeground setbackground fillgradientrectangl border_stripe curvestart curvestart curv_tail setforeground drawlin border_stripe curvestart border_stripe setforeground drawpolylin void resiz updat curv size layout onres updatecurv getsiz set control appear bottom side banner bottom control option set bottom control null remov banner creator control dispos control param control control displai bottom null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument bottom control creat child receiv li ul 3 0 public void set bottom control control check widget control null control parent swt error swt error invalid argument bottom null bottom dispos point size bottom size bottom set locat offscreen size offscreen size bottom control layout swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument setbottom checkwidget getpar error_invalid_argument isdispos getsiz setloc set layout receiv argument null note banner layout class size posit children param layout receiv layout null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set layout layout layout check widget return cbanner swtexcept error_widget_dispos error_thread_invalid_access setlayout checkwidget set control appear left side banner left control option set left control null remov banner creator control dispos control param control control displai left null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument left control creat child receiv li ul 3 0 public void set left control control check widget control null control parent swt error swt error invalid argument left null left dispos point size left size left set locat offscreen size offscreen size left control layout swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument setleft checkwidget getpar error_invalid_argument isdispos getsiz setloc set control appear side banner control option set control null remov banner creator control dispos control param control control displai null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument control creat child receiv li ul 3 0 public void set control control check widget control null control parent swt error swt error invalid argument null dispos point size size set locat offscreen size offscreen size control layout swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument setright checkwidget getpar error_invalid_argument isdispos getsiz setloc set width control control appear side banner param width width control except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set width int width check widget width swt default swt error swt error invalid argument width width layout true swtexcept error_widget_dispos error_thread_invalid_access setrightwidth checkwidget error_invalid_argument rightwidth set shape banner render param simpl code true code banner render simpl tradit style except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set simpl boolean simpl check widget simpl simpl simpl simpl simpl curv width 5 curv indent 2 curv width 50 curv indent 5 updat curv size layout redraw cbanner cbanner swtexcept error_widget_dispos error_thread_invalid_access setsimpl checkwidget curv_width curv_indent curv_width curv_indent updatecurv getsiz void updat curv int height int height border stripe simpl curv int 0 1 2 1 3 2 3 2 4 1 5 0 curv bezier 0 1 bezier left 1 curv width bezier 0 curv width 0 curv width updatecurv border_stripe bezier_left curv_width bezier_right curv_width curv_width listen listen public void handl event event event popup event widget popup event event return text event widget text event event return list event widget list event event return arrow event widget arrow event event return combo event widget combo event event return handleev popupev textev listev arrowev ccombo comboev construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt border swt read swt flat widget style public combo composit parent int style super parent style check style style int text style swt singl style swt read 0 text style swt read style swt flat 0 text style swt flat text text text style int arrow style swt arrow swt style swt flat 0 arrow style swt flat arrow button arrow style listen listen public void handl event event event popup event widget popup event event return text event widget text event event return list event widget list event event return arrow event widget arrow event event return combo event widget combo event event return int combo event swt dispos swt move swt resiz int 0 combo event length add listen combo event listen int text event swt kei swt kei swt modifi swt mous swt mous swt travers swt focu swt focu int 0 text event length text add listen text event listen int arrow event swt select swt focu swt focu int 0 arrow event length arrow add listen arrow event listen creat popup null 1 init access illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access read_onli getstyl ccombo checkstyl textstyl read_onli textstyl read_onli textstyl textstyl arrowstyl arrowstyl arrowstyl handleev popupev textev listev arrowev ccombo comboev comboev comboev addlisten comboev textev keydown keyup mousedown mouseup focusin focusout textev addlisten textev arrowev focusin focusout arrowev addlisten arrowev createpopup initaccess init access static int check style int style int mask swt border swt read swt flat swt left swt left return style mask initaccess checkstyl read_onli left_to_right right_to_left add item item end list index base param string item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument string null except swt error error item ad item ad public void add string string check widget string null swt error swt error null argument list add string swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument swterror error_item_not_ad checkwidget error_null_argument add item index item index list index base oper fail index rang param string item param index index item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument string null except swt error error item ad item ad public void add string string int index check widget string null swt error swt error null argument list add string index swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument swterror error_item_not_ad checkwidget error_null_argument add listen receiv event param listen listen except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument listen null public void add modifi listen modifi listen listen check widget listen null swt error swt error null argument type listen type listen type listen listen add listen swt modifi type listen swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument addmodifylisten modifylisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten add listen receiv event param listen listen except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument listen null public void add select listen select listen listen check widget listen null swt error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten event displai async exec runnabl public void run combo dispos return control focu control displai focu control focu control arrow focu control list focu control text return focu fals event event notifi listen swt focu asyncexec ccombo isdispos focuscontrol getdisplai getfocuscontrol focuscontrol focuscontrol focuscontrol hasfocu notifylisten focusout void arrow event event event switch event type case swt focu focu return focu true edit text select event event event notifi listen swt focu break case swt focu event displai async exec runnabl public void run combo dispos return control focu control displai focu control focu control arrow focu control list focu control text return focu fals event event notifi listen swt focu break case swt select drop drop break arrowev focusin hasfocu hasfocu getedit selectal notifylisten focusin focusout asyncexec ccombo isdispos focuscontrol getdisplai getfocuscontrol focuscontrol focuscontrol focuscontrol hasfocu notifylisten focusout dropdown isdrop clear current select except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos public void clear select check widget text clear select list deselect swterror error_thread_invalid_access swterror error_widget_dispos clearselect checkwidget clearselect deselectal void combo event event event switch event type case swt dispos popup null popup dispos list remov listen swt dispos listen popup dispos popup null text null list null arrow null break case swt move drop fals break case swt resiz intern layout break comboev isdispos removelisten dropdown internallayout public point comput size int hint int hint boolean chang check widget int width 0 height 0 point text size text comput size hint swt default chang point arrow size arrow comput size swt default swt default chang point list size list comput size hint swt default chang int border width border width height math max hint math max text size arrow size 2 border width width math max hint math max text size arrow size 2 border width list size 2 return point width height computes whint hhint checkwidget textsiz computes whint arrows computes listsiz computes whint borderwidth getborderwidth hhint textsiz arrows borderwidth whint textsiz arrows borderwidth listsiz void creat popup string item int select index creat shell list popup shell shell swt trim swt top int style style int list style swt singl swt scroll style swt flat 0 list style swt flat style swt left 0 list style swt left style swt left 0 list style swt left list list popup list style font null list set font font foreground null list set foreground foreground background null list set background background int popup event swt close swt paint swt deactiv int 0 popup event length popup add listen popup event listen int list event swt mous swt select swt travers swt kei swt kei swt focu swt focu swt dispos int 0 list event length list add listen list event listen item null list set item item select index 1 list set select select index createpopup selectionindex getshel no_trim on_top getstyl liststyl v_scroll liststyl right_to_left liststyl right_to_left left_to_right liststyl left_to_right liststyl setfont setforeground setbackground popupev popupev addlisten popupev listev mouseup keydown keyup focusin focusout listev addlisten listev setitem selectionindex setselect selectionindex deselect item item index select deselect item index select remain deselect indic rang index base param index index item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos public void deselect int index check widget list deselect index swterror error_thread_invalid_access swterror error_widget_dispos checkwidget deselect item item select deselect item select remain unselect except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos public void deselect check widget list deselect swterror error_thread_invalid_access swterror error_widget_dispos deselectal checkwidget deselectal void drop boolean drop drop drop return drop popup set visibl fals text set focu return shell popup parent string item list item int select index list select index list remov listen swt dispos listen popup dispos popup null list null creat popup item select index point size size int item count list item count item count item count 0 visibl item count math min visibl item count item count int item height list item height item count point list size list comput size swt default item height list set bound 1 1 math max size 2 list size list size int index list select index index 1 list set top index index displai displai displai rectangl list rect list bound rectangl parent rect displai map parent null bound point combo size size rectangl displai rect monitor client area int width math max combo size list rect width 2 int height list rect height 2 int parent rect int parent rect combo size y height displai rect displai rect height parent rect height popup set bound width height popup set visibl true list set focu dropdown isdrop setvis setfocu getshel getpar getitem selectionindex getselectionindex removelisten createpopup selectionindex getsiz itemcount getitemcount itemcount itemcount visibleitemcount visibleitemcount itemcount itemheight getitemheight itemcount listsiz computes itemheight setbound listsiz listsiz getselectionindex settopindex getdisplai listrect getbound parentrect getpar getbound combos getsiz displayrect getmonitor getclientarea combos listrect listrect parentrect parentrect combos displayrect displayrect parentrect setbound setvis setfocu list set focu public control children check widget return control 0 setfocu getchildren checkwidget edit return true content edit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public boolean edit check widget return text edit swtexcept error_widget_dispos error_thread_invalid_access getedit checkwidget getedit item index index base oper fail index rang item queri os param index index item return item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error item oper fail public string item int index check widget return list item index swterror error_thread_invalid_access swterror error_widget_dispos swterror error_cannot_get_item getitem checkwidget getitem number item oper fail number item queri os return number item widget except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error count oper fail public int item count check widget return list item count swterror error_thread_invalid_access swterror error_widget_dispos swterror error_cannot_get_count getitemcount checkwidget getitemcount height item oper fail height item queri os return height item widget except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error item height oper fail public int item height check widget return list item height swterror error_thread_invalid_access swterror error_widget_dispos swterror error_cannot_get_item_height getitemheight checkwidget getitemheight item oper fail item queri os return item widget except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error item oper fail public string item check widget return list item swterror error_thread_invalid_access swterror error_widget_dispos swterror error_cannot_get_item getitem checkwidget getitem select return point repres select start end except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos public point select check widget return text select swterror error_thread_invalid_access swterror error_widget_dispos getselect checkwidget getselect index select item index base item select 1 return return index select item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos public int select index check widget return list select index swterror error_thread_invalid_access swterror error_widget_dispos getselectionindex checkwidget getselectionindex public int style int style super style style swt read text edit style swt read return style getstyl getstyl read_onli getedit read_onli widget text widget text empti string return return widget text except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos public string text check widget return text text swterror error_thread_invalid_access swterror error_widget_dispos gettext checkwidget gettext height combo text field oper fail height queri os return height combo text field except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error error item height oper fail public int text height check widget return text line height swterror error_thread_invalid_access swterror error_widget_dispos swterror error_error_cannot_get_item_height gettextheight checkwidget getlineheight text limit return text limit except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos public int text limit check widget return text text limit swterror error_thread_invalid_access swterror error_widget_dispos gettextlimit checkwidget gettextlimit number item visibl drop portion receiv list return number item visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public int visibl item count check widget return visibl item count swtexcept error_widget_dispos error_thread_invalid_access getvisibleitemcount checkwidget visibleitemcount index item list search start 0 item found equal search item item found 1 return index base param string search item return index item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument string null public int index string string check widget string null swt error swt error null argument return list index string swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument indexof checkwidget error_null_argument indexof index item widget search start start includ end posit item found equal search itenm item found 1 return index base param string search item param start start posit return index item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument string null public int index string string int start check widget string null swt error swt error null argument return list index string start swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument indexof checkwidget error_null_argument indexof void init access access add access listen access adapt public void help access event e result tool tip text initaccess getaccess addaccessiblelisten accessibleadapt gethelp accessibleev gettooltiptext access add access text listen access text adapt public void caret offset access text event e offset text caret posit getaccess addaccessibletextlisten accessibletextadapt getcaretoffset accessibletextev getcaretposit access add access control listen access control adapt public void child point access control event point test point control point bound test point childid acc childid getaccess addaccessiblecontrollisten accessiblecontroladapt getchildatpoint accessiblecontrolev testpoint tocontrol getbound testpoint childid_self public void locat access control event rectangl locat bound point pt displai point locat locat pt pt width locat width height locat height getloc accessiblecontrolev getbound todisplai public void child count access control event e detail 0 getchildcount accessiblecontrolev public void role access control event e detail acc role combobox getrol accessiblecontrolev role_combobox public void access control event e detail acc normal getstat accessiblecontrolev state_normal public void access control event e result text getvalu accessiblecontrolev gettext void init access access add access listen access adapt public void help access event e result tool tip text access add access text listen access text adapt public void caret offset access text event e offset text caret posit access add access control listen access control adapt public void child point access control event point test point control point bound test point childid acc childid public void locat access control event rectangl locat bound point pt displai point locat locat pt pt width locat width height locat height public void child count access control event e detail 0 public void role access control event e detail acc role combobox public void access control event e detail acc normal public void access control event e result text initaccess getaccess addaccessiblelisten accessibleadapt gethelp accessibleev gettooltiptext getaccess addaccessibletextlisten accessibletextadapt getcaretoffset accessibletextev getcaretposit getaccess addaccessiblecontrollisten accessiblecontroladapt getchildatpoint accessiblecontrolev testpoint tocontrol getbound testpoint childid_self getloc accessiblecontrolev getbound todisplai getchildcount accessiblecontrolev getrol accessiblecontrolev role_combobox getstat accessiblecontrolev state_normal getvalu accessiblecontrolev gettext boolean drop return popup visibl isdrop getvis public boolean focu control check widget text focu control arrow focu control list focu control popup focu control return true return super focu control isfocuscontrol checkwidget isfocuscontrol isfocuscontrol isfocuscontrol isfocuscontrol isfocuscontrol void intern layout drop drop fals rectangl rect client area int width rect width int height rect height point arrow size arrow comput size swt default height text set bound 0 0 width arrow size height arrow set bound width arrow size 0 arrow size arrow size internallayout isdrop dropdown getclientarea arrows computes setbound arrows setbound arrows arrows arrows event displai async exec runnabl public void run combo dispos return control focu control displai focu control focu control arrow focu control list focu control text return focu fals event event notifi listen swt focu asyncexec ccombo isdispos focuscontrol getdisplai getfocuscontrol focuscontrol focuscontrol focuscontrol hasfocu notifylisten focusout void list event event event switch event type case swt dispos shell popup parent string item list item int select index list select index popup null list null creat popup item select index break case swt focu focu return focu true edit text select event event event notifi listen swt focu break case swt focu event displai async exec runnabl public void run combo dispos return control focu control displai focu control focu control arrow focu control list focu control text return focu fals event event notifi listen swt focu break case swt mous event button 1 return drop fals break case swt select int index list select index index 1 return text set text list item index text select list set select index event event event mask event mask doit event doit notifi listen swt select event doit doit break case swt travers switch event detail case swt travers return case swt travers escap case swt travers arrow previou case swt travers arrow event doit fals break event event event detail event detail doit event doit charact event charact kei code event kei code notifi listen swt travers event doit doit event detail detail break case swt kei event event event charact event charact kei code event kei code mask event mask notifi listen swt kei break case swt kei event charact swt esc escap kei cancel popup list drop fals event mask swt alt 0 event kei code swt arrow event kei code swt arrow drop fals event charact swt cr enter default select drop fals event event event mask event mask notifi listen swt default select point widget dispos continu dispos break event event event charact event charact kei code event kei code mask event mask notifi listen swt kei break listev getshel getpar getitem selectionindex getselectionindex createpopup selectionindex focusin hasfocu hasfocu getedit selectal notifylisten focusin focusout asyncexec ccombo isdispos focuscontrol getdisplai getfocuscontrol focuscontrol focuscontrol focuscontrol hasfocu notifylisten focusout mouseup dropdown getselectionindex settext getitem selectal setselect statemask statemask notifylisten travers_return travers_escap travers_arrow_previou travers_arrow_next keycod keycod notifylisten keyup keycod keycod statemask statemask notifylisten keyup keydown dropdown statemask keycod arrow_up keycod arrow_down dropdown dropdown statemask statemask notifylisten defaultselect isdispos keycod keycod statemask statemask notifylisten keydown void popup event event event switch event type case swt paint draw black rectangl list rectangl list rect list bound color black displai system color swt color black event gc set foreground black event gc draw rectangl 0 0 list rect width 1 list rect height 1 break case swt close event doit fals drop fals break case swt deactiv drop fals break popupev listrect getbound getdisplai getsystemcolor color_black setforeground drawrectangl listrect listrect dropdown dropdown public void redraw super redraw text redraw arrow redraw popup visibl list redraw isvis popup visibl list redraw public void redraw int int int width int height boolean super redraw width height true isvis remov item index index base oper fail index rang item remov os param index index item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error item remov oper fail public void remov int index check widget list remov index swterror error_thread_invalid_access swterror error_widget_dispos swterror error_item_not_remov checkwidget remov rang item index base rang item start index includ end index oper fail index rang item remov os param start start rang param end end rang except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error item remov oper fail public void remov int start int end check widget list remov start end swterror error_thread_invalid_access swterror error_widget_dispos swterror error_item_not_remov checkwidget remov item oper fail item remov os param string search item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument string null except swt error error item remov oper fail public void remov string string check widget string null swt error swt error null argument list remov string swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument swterror error_item_not_remov checkwidget error_null_argument remov item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos public void remov check widget text set text non nl 1 list remov swterror error_thread_invalid_access swterror error_widget_dispos removeal checkwidget settext removeal remov listen param listen listen except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument listen null public void remov modifi listen modifi listen listen check widget listen null swt error swt error null argument remov listen swt modifi listen swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument removemodifylisten modifylisten checkwidget error_null_argument removelisten remov listen param listen listen except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument listen null public void remov select listen select listen listen check widget listen null swt error swt error null argument remov listen swt select listen remov listen swt default select listen swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument removeselectionlisten selectionlisten checkwidget error_null_argument removelisten removelisten defaultselect select item item index select select indic rang index base param index index item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos public void select int index check widget index 1 list deselect text set text non nl 1 return 0 index index list item count index select index text set text list item index text select list select index list show select swterror error_thread_invalid_access swterror error_widget_dispos checkwidget deselectal settext getitemcount getselectionindex settext getitem selectal showselect public void set background color color super set background color background color text null text set background color list null list set background color arrow null arrow set background color setbackground setbackground setbackground setbackground setbackground set edit param edit edit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set edit boolean edit check widget text set edit edit swtexcept error_widget_dispos error_thread_invalid_access setedit checkwidget setedit public void set enabl boolean enabl super set enabl enabl popup null popup set visibl fals text null text set enabl enabl arrow null arrow set enabl enabl seten seten setvis seten seten arrow null arrow set enabl enabl public boolean set focu check widget return text set focu seten setfocu checkwidget setfocu public void set font font font super set font font font font text set font font list set font font intern layout setfont setfont setfont setfont internallayout public void set foreground color color super set foreground color foreground color text null text set foreground color list null list set foreground color arrow null arrow set foreground color setforeground setforeground setforeground setforeground setforeground set text item index base oper fail index rang item chang os param index index item param string item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument item null except swt error error item modifi oper fail public void set item int index string string check widget string null swt error swt error null argument list set item index string swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument swterror error_item_not_modifi setitem checkwidget error_null_argument setitem set item param item arrai item except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument item null except swt error error item ad oper fail public void set item string item check widget item null swt error swt error null argument text edit text set text non nl 1 list set item item swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument swterror error_item_not_ad setitem checkwidget error_null_argument getedit settext setitem set select param select point repres start end select except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument select null public void set select point select check widget select null swt error swt error null argument text set select select select swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument setselect checkwidget error_null_argument setselect set widget text param string widget text except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error null argument string null public void set text string string check widget string null swt error swt error null argument int index list index string index 1 list deselect text set text string return text set text string text select list set select index list show select swterror error_thread_invalid_access swterror error_widget_dispos swterror error_null_argument settext checkwidget error_null_argument indexof deselectal settext settext selectal setselect showselect set text limit param limit text limit except swt error error thread invalid access call wrong thread except swt error error widget dispos widget dispos except swt error error limit 0 public void set text limit int limit check widget text set text limit limit swterror error_thread_invalid_access swterror error_widget_dispos swterror error_cannot_be_zero settextlimit checkwidget settextlimit public void set tool tip text string string check widget super set tool tip text string arrow set tool tip text string text set tool tip text string settooltiptext checkwidget settooltiptext settooltiptext settooltiptext public void set visibl boolean visibl super set visibl visibl visibl popup set visibl fals setvis setvis setvis set number item visibl drop portion receiv list param count number item visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set visibl item count int count check widget count 0 return visibl item count count swtexcept error_widget_dispos error_thread_invalid_access setvisibleitemcount checkwidget visibleitemcount event displai async exec runnabl public void run combo dispos return control focu control displai focu control focu control arrow focu control list focu control text return focu fals event event notifi listen swt focu asyncexec ccombo isdispos focuscontrol getdisplai getfocuscontrol focuscontrol focuscontrol focuscontrol hasfocu notifylisten focusout void text event event event switch event type case swt focu focu return focu true edit text select event event event notifi listen swt focu break case swt focu event displai async exec runnabl public void run combo dispos return control focu control displai focu control focu control arrow focu control list focu control text return focu fals event event notifi listen swt focu break case swt kei event charact swt cr drop fals event event event mask event mask notifi listen swt default select point widget dispos continu dispos break event kei code swt arrow event kei code swt arrow event mask swt alt 0 boolean drop drop text select drop set focu drop drop break int index select index event kei code swt arrow select math max index 1 0 select math min index 1 item count 1 index select index event event event mask event mask notifi listen swt select point widget dispos continu dispos break need add support increment search pop list charact type text widget event event event charact event charact kei code event kei code mask event mask notifi listen swt kei break case swt kei event event event charact event charact kei code event kei code mask event mask notifi listen swt kei break case swt modifi list deselect event event event notifi listen swt modifi break case swt mous event button 1 return text edit return boolean drop drop text select drop set focu drop drop break case swt mous event button 1 return text edit return text select break case swt travers switch event detail case swt travers return case swt travers arrow previou case swt travers arrow enter default select arrow kei manipul list content travers event doit fals break event event event detail event detail doit event doit charact event charact kei code event kei code notifi listen swt travers event doit doit event detail detail break textev focusin hasfocu hasfocu getedit selectal notifylisten focusin focusout asyncexec ccombo isdispos focuscontrol getdisplai getfocuscontrol focuscontrol focuscontrol focuscontrol hasfocu notifylisten focusout keydown dropdown statemask statemask notifylisten defaultselect isdispos keycod arrow_up keycod arrow_down statemask isdrop selectal setfocu dropdown oldindex getselectionindex keycod arrow_up oldindex oldindex getitemcount oldindex getselectionindex statemask statemask notifylisten isdispos keycod keycod statemask statemask notifylisten keydown keyup keycod keycod statemask statemask notifylisten keyup deselectal notifylisten mousedown getedit isdrop selectal setfocu dropdown mouseup getedit selectal travers_return travers_arrow_previou travers_arrow_next keycod keycod notifylisten add paint listen paint listen public void paint control paint event event paint event addpaintlisten paintlisten paintcontrol paintev onpaint add dispos listen dispos listen public void widget dispos dispos event event dispos event adddisposelisten disposelisten widgetdispos disposeev ondispos construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt left swt swt center swt shadow swt shadow swt shadow style public label composit parent int style super parent check style style style swt center 0 align swt center style swt 0 align swt style swt left 0 align swt left add paint listen paint listen public void paint control paint event event paint event add dispos listen dispos listen public void widget dispos dispos event event dispos event init access illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access shadow_in shadow_out shadow_none getstyl clabel checkstyl addpaintlisten paintlisten paintcontrol paintev onpaint adddisposelisten disposelisten widgetdispos disposeev ondispos initaccess check style bit ensur invalid style appli privat static int check style int style style swt border 0 style swt shadow int mask swt shadow swt shadow swt shadow swt left swt left style style mask style swt focu style swt center swt 0 style swt left temporari code default background carbon gtk theme solid color textur show correct default background allow oper system draw background style background style requir platform doubl buffer true case string platform swt platform carbon equal platform gtk equal platform return style non nl 1 non nl 2 return style swt background checkstyl shadow_in shadow_in shadow_out shadow_none left_to_right right_to_left no_focu no_background no_background getplatform no_background public point comput size int hint int hint boolean chang check widget point total size imag text hint swt default 2 indent hint hint swt default 2 indent hint return computes whint hhint checkwidget gettotals whint hindent whint hhint vindent hhint draw rectangl color privat void draw bevel rect gc gc int int int int color topleft color bottomright gc set foreground bottomright gc draw line y gc draw line y gc set foreground topleft gc draw line 1 gc draw line y 1 drawbevelrect setforeground drawlin drawlin setforeground drawlin drawlin return align align style left center return return swt left swt swt center public int align check widget return align getalign checkwidget return label imag code null code return imag label null public imag imag check widget return imag clabel getimag checkwidget comput minimum size privat point total size imag imag string text point size point 0 0 imag null rectangl imag bound size width size height gc gc gc text null text length 0 point gc text extent text size x size math max size y imag null size gap size math max size gc font metric height gc dispos return size gettotals getbound textext getfontmetr getheight return size public void set tool tip text string string super set tool tip text string app tool tip text super tool tip text settooltiptext settooltiptext apptooltiptext gettooltiptext return label text return text label null public string text check widget return text gettext checkwidget return text public string tool tip text check widget return app tool tip text gettooltiptext checkwidget apptooltiptext paint label border privat void paint border gc gc rectangl displai disp displai color c1 null color c2 null int style style style swt shadow 0 c1 disp system color swt color widget normal shadow c2 disp system color swt color widget highlight shadow style swt shadow 0 c1 disp system color swt color widget light shadow c2 disp system color swt color widget normal shadow c1 null c2 null gc set line width 1 draw bevel rect gc width 1 height 1 c1 c2 paintbord getdisplai getstyl shadow_in getsystemcolor color_widget_normal_shadow getsystemcolor color_widget_highlight_shadow shadow_out getsystemcolor color_widget_light_shadow getsystemcolor color_widget_normal_shadow setlinewidth drawbevelrect access access access access add access listen access adapt public void access event e result text getaccess addaccessiblelisten accessibleadapt getnam accessibleev gettext public void help access event e result tool tip text gethelp accessibleev gettooltiptext access add access control listen access control adapt public void child point access control event point pt control point childid bound pt acc childid acc childid addaccessiblecontrollisten accessiblecontroladapt getchildatpoint accessiblecontrolev tocontrol getbound childid_self childid_none public void locat access control event rectangl locat bound point pt displai point locat locat pt pt width locat width height locat height getloc accessiblecontrolev getbound todisplai public void child count access control event e detail 0 getchildcount accessiblecontrolev public void role access control event e detail acc role label getrol accessiblecontrolev role_label public void access control event e detail acc readonli getstat accessiblecontrolev state_readonli public void access control event e result text getvalu accessiblecontrolev gettext privat void init access access access access access add access listen access adapt public void access event e result text public void help access event e result tool tip text access add access control listen access control adapt public void child point access control event point pt control point childid bound pt acc childid acc childid public void locat access control event rectangl locat bound point pt displai point locat locat pt pt width locat width height locat height public void child count access control event e detail 0 public void role access control event e detail acc role label public void access control event e detail acc readonli public void access control event e result text initaccess getaccess addaccessiblelisten accessibleadapt getnam accessibleev gettext gethelp accessibleev gettooltiptext addaccessiblecontrollisten accessiblecontroladapt getchildatpoint accessiblecontrolev tocontrol getbound childid_self childid_none getloc accessiblecontrolev getbound todisplai getchildcount accessiblecontrolev getrol accessiblecontrolev role_label getstat accessiblecontrolev state_readonli getvalu accessiblecontrolev gettext void dispos dispos event event gradient color null gradient percent null background imag null text null imag null app tool tip text null ondispos disposeev gradientcolor gradientperc backgroundimag apptooltiptext void paint paint event event rectangl rect client area rect width 0 rect height 0 return boolean shorten text fals string text imag img imag int width rect width 2 indent point extent total size img extent width img null extent total size img extent width shorten text true gc gc event gc shorten text shorten text shorten text gc text width extent total size img app tool tip text null super set tool tip text text super set tool tip text app tool tip text determin horizont posit int rect indent align swt center rect width extent 2 align swt rect width extent indent draw background imag text try background imag null draw background imag text rectangl imag rect background imag bound tile imag fill space gc set background background gc fill rectangl rect int po 0 po rect width int po 0 po rect height gc draw imag background imag po po po imag rect height po imag rect width gradient color null draw gradient text final color background gc background gradient color length 1 gradient color 0 null gc set background gradient color 0 gc fill rectangl 0 0 rect width rect height final color foreground gc foreground color color gradient color 0 color null color background int po 0 int 0 gradient percent length gc set foreground color color gradient color 1 color null color background gc set background color gradient vertic final int gradient height gradient percent rect height 100 po gc fill gradient rectangl 0 po rect width gradient height true po gradient height final int gradient width gradient percent rect width 100 po gc fill gradient rectangl po 0 gradient width rect height fals po gradient width gradient vertic po rect height gc set background background gc fill rectangl 0 po rect width rect height po gradient vertic po rect width gc set background background gc fill rectangl po 0 rect width po rect height gc set foreground foreground gc set background background style swt background 0 gc set background background gc fill rectangl rect catch swt except style swt background 0 gc set background background gc fill rectangl rect draw border int style style style swt shadow 0 style swt shadow 0 paint border gc rect draw imag img null rectangl imag rect img bound gc draw imag img 0 0 imag rect width imag rect height rect height imag rect height 2 imag rect width imag rect height imag rect width gap draw text null int text height gc font metric height gc set foreground foreground gc draw text rect rect height text height 2 true onpaint paintev getclientarea shortentext availablewidth hindent gettotals availablewidth gettotals availablewidth shortentext shortentext shortentext availablewidth gettotals apptooltiptext settooltiptext settooltiptext apptooltiptext hindent hindent backgroundimag imagerect backgroundimag getbound setbackground getbackground fillrectangl xpo xpo ypo ypo drawimag backgroundimag xpo ypo ypo imagerect xpo imagerect gradientcolor oldbackground getbackground gradientcolor gradientcolor setbackground gradientcolor fillrectangl oldforeground getforeground lastcolor gradientcolor lastcolor lastcolor oldbackground gradientperc setforeground lastcolor lastcolor gradientcolor lastcolor lastcolor oldbackground setbackground lastcolor gradientvert gradientheight gradientperc fillgradientrectangl gradientheight gradientheight gradientwidth gradientperc fillgradientrectangl gradientwidth gradientwidth gradientvert setbackground getbackground fillrectangl gradientvert setbackground getbackground fillrectangl setforeground oldforeground setbackground oldbackground getstyl no_background setbackground getbackground fillrectangl swtexcept getstyl no_background setbackground getbackground fillrectangl getstyl shadow_in shadow_out paintbord imagerect getbound drawimag imagerect imagerect imagerect imagerect imagerect imagerect textheight getfontmetr getheight setforeground getforeground drawtext textheight set align label valu left center align imag text space param align align style left center except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument align swt left swt swt center li ul public void set align int align check widget align swt left align swt align swt center swt error swt error invalid argument align align align align redraw clabel swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument setalign checkwidget error_invalid_argument public void set background color color super set background color set color null background imag null gradient color null gradient percent null color background background color equal background return background imag null gradient color null gradient percent null redraw setbackground setbackground backgroundimag gradientcolor gradientperc getbackground backgroundimag gradientcolor gradientperc gradient colour drawn background label draw gradient vari dark blue blue white stai white half label call set background pre clabel set background color displai system color swt color dark blue displai system color swt color blue displai system color swt color white displai system color swt color white int 25 50 100 pre param color arrai color specifi color gradient order appear left code null code clear background gradient code null code insid arrai color background color param percent arrai integ 0 100 percent width widget color chang size percent arrai size color arrai except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument valu color percent consist li ul public void set background color color int percent set background color percent fals clabel setbackground setbackground getsystemcolor color_dark_blue getsystemcolor color_blue getsystemcolor color_white getsystemcolor color_white swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument setbackground setbackground gradient colour drawn background label draw gradient vari dark blue white vertic direct call set background pre clabel set background color displai system color swt color dark blue displai system color swt color white int 100 true pre param color arrai color specifi color gradient order appear left top bottom code null code clear background gradient code null code insid arrai color background color param percent arrai integ 0 100 percent width height widget color chang size percent arrai size color arrai param vertic direct gradient true vertic fals horizont except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument valu color percent consist li ul 3 0 public void set background color color int percent boolean vertic check widget color null percent null percent length color length 1 swt error swt error invalid argument displai depth 15 don gradient low color displai color color color color length 1 percent int int 0 percent length percent 0 percent 100 swt error swt error invalid argument 0 percent percent 1 swt error swt error invalid argument set final color background background background imag null gradient color null color null gradient color length color length boolean fals int 0 gradient color length gradient color color gradient color null color background gradient color background color null break int 0 gradient percent length gradient percent percent break gradient vertic vertic return background imag null store set color null gradient color null gradient percent null gradient vertic fals gradient color color color length int 0 color length gradient color color null color background gradient percent int percent length int 0 percent length gradient percent percent gradient vertic vertic refresh set redraw clabel setbackground setbackground getsystemcolor color_dark_blue getsystemcolor color_white swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument setbackground checkwidget error_invalid_argument getdisplai getdepth error_invalid_argument error_invalid_argument getbackground backgroundimag gradientcolor gradientcolor gradientcolor gradientcolor gradientcolor gradientcolor gradientperc gradientperc gradientvert backgroundimag gradientcolor gradientperc gradientvert gradientcolor gradientcolor gradientperc gradientperc gradientvert set imag drawn background label param imag imag drawn background except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set background imag imag check widget imag background imag return imag null gradient color null gradient percent null background imag imag redraw swtexcept error_widget_dispos error_thread_invalid_access setbackground checkwidget backgroundimag gradientcolor gradientperc backgroundimag public void set font font font super set font font redraw setfont setfont set label imag code null code clear param imag imag displai label null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set imag imag imag check widget imag imag imag imag redraw swtexcept error_widget_dispos error_thread_invalid_access setimag checkwidget set label text code null code clear param text text displai label null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string text check widget text null text non nl 1 text equal text text text redraw swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget shorten text code code length doesn exce width default implement replac charact center origin string ellipsi overrid need strategi protect string shorten text gc gc string int width null return null int gc text extent ellipsi int length int pivot 2 int pivot int pivot 1 0 string s1 substr 0 string s2 substr int l1 gc text extent s1 int l2 gc text extent s2 l1 l2 width s1 ellipsi s2 break return shortentext textext textext textext tabl listen listen public void handl event event resiz tablelisten handleev scrollbar listen listen public void handl event event scroll scrollbarlisten handleev privat listen scrollbar listen creat control editor composit param parent composit editor displai public control editor composit parent parent parent tabl listen listen public void handl event event resiz parent add listen swt resiz tabl listen scrollbar listen listen public void handl event event scroll scroll bar bar parent horizont bar bar null bar add listen swt select scrollbar listen scroll bar bar parent vertic bar bar null bar add listen swt select scrollbar listen scrollbarlisten controleditor controleditor tablelisten handleev addlisten tablelisten scrollbarlisten handleev scrollbar hbar gethorizontalbar hbar hbar addlisten scrollbarlisten scrollbar vbar getverticalbar vbar vbar addlisten scrollbarlisten rectangl comput bound rectangl client area parent client area rectangl editor rect rectangl client area client area minimum width minimum height grab horizont editor rect width math max client area width minimum width grab vertic editor rect height math max client area height minimum height switch horizont align case swt editor rect client area width editor rect width break case swt left client area answer break default default center editor rect client area width editor rect width 2 switch vertic align case swt bottom editor rect client area height editor rect height break case swt top client area answer break default default center editor rect client area height editor rect height 2 return editor rect computebound clientarea getclientarea editorrect clientarea clientarea minimumwidth minimumheight grabhorizont editorrect clientarea minimumwidth grabvert editorrect clientarea minimumheight horizontalalign editorrect clientarea editorrect clientarea editorrect clientarea editorrect verticalalign editorrect clientarea editorrect clientarea editorrect clientarea editorrect editorrect remov associ editor underli composit composit editor control dispos public void dispos parent dispos parent remov listen swt resiz tabl listen scroll bar bar parent horizont bar bar null bar remov listen swt select scrollbar listen scroll bar bar parent vertic bar bar null bar remov listen swt select scrollbar listen parent null editor null focu fals tabl listen null scrollbar listen null isdispos removelisten tablelisten scrollbar hbar gethorizontalbar hbar hbar removelisten scrollbarlisten scrollbar vbar getverticalbar vbar vbar removelisten scrollbarlisten hadfocu tablelisten scrollbarlisten return control displai composit edit return control displai composit edit public control editor return editor geteditor lai control underli composit method call chang field forc editor resiz 2 1 public void layout resiz void resiz editor null editor dispos return editor visibl focu editor focu control doesn resiz column take focu editor set bound comput bound focu editor null editor dispos return editor set focu isdispos getvis hadfocu isfocuscontrol setbound computebound hadfocu isdispos setfocu void scroll event editor null editor dispos return editor set bound comput bound isdispos setbound computebound control displai note control provid editor creat parent composit control editor constructor param editor control displai composit edit public void set editor control editor editor null case caller set editor blank set valu editor null return editor editor resiz editor null editor dispos return editor set visibl true controleditor seteditor isdispos setvis listen listen listen public void handl event event event switch event type case swt dispos dispos break case swt drag detect drag detect event break case swt focu focu event break case swt focu focu event break case swt kei kei event break case swt mous doubl click mous doubl click event break case swt mous mous event break case swt mous exit mous event break case swt mous hover mous hover event break case swt mous move mous event break case swt mous mous event break case swt paint paint event break case swt resiz resiz break case swt travers travers event break handleev ondispos dragdetect ondragdetect focusin onfocu focusout onfocu keydown onkeydown mousedoubleclick onmousedoubleclick mousedown onmous mouseexit onmous mousehov onmousehov mousemov onmous mouseup onmous onpaint onres ontravers tool tip listen listen public void handl event event event switch event type case swt mous hover case swt mous move updat tool tip event event break fall case swt mous exit case swt mous hide tool tip break tooltiplisten handleev mousehov mousemov updatetooltip mouseexit mousedown hidetooltip construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt top swt bottom swt flat swt border swt singl swt multi style public tab folder composit parent int style super parent check style parent style int style2 super style font font bottom style2 swt bottom 0 show close style2 swt close 0 show min style2 swt min 0 conflict swt top show max style2 swt max 0 conflict swt bottom singl style2 swt singl 0 border left border style swt border 0 1 0 border top bottom border left 0 border bottom bottom 0 border left highlight header style swt flat 0 1 3 highlight margin style swt flat 0 0 2 set default color displai displai displai select foreground displai system color select foreground select background displai system color select background border color displai system color border1 color init access add listen listen listen listen public void handl event event event switch event type case swt dispos dispos break case swt drag detect drag detect event break case swt focu focu event break case swt focu focu event break case swt kei kei event break case swt mous doubl click mous doubl click event break case swt mous mous event break case swt mous exit mous event break case swt mous hover mous hover event break case swt mous move mous event break case swt mous mous event break case swt paint paint event break case swt resiz resiz break case swt travers travers event break int folder event int swt dispos swt drag detect swt focu swt focu swt kei swt mous doubl click swt mous swt mous exit swt mous hover swt mous move swt mous swt paint swt resiz swt travers int 0 folder event length add listen folder event listen tool tip listen listen public void handl event event event switch event type case swt mous hover case swt mous move updat tool tip event event break fall case swt mous exit case swt mous hide tool tip break illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl ctabfold checkstyl getstyl oldfont getfont onbottom showclos showmin showmax borderleft borderright bordertop onbottom borderleft borderbottom onbottom borderleft highlight_header highlight_margin getdisplai selectionforeground getsystemcolor select_foreground selectionbackground getsystemcolor select_background bordercolor getsystemcolor border1_color initaccess handleev ondispos dragdetect ondragdetect focusin onfocu focusout onfocu keydown onkeydown mousedoubleclick onmousedoubleclick mousedown onmous mouseexit onmous mousehov onmousehov mousemov onmous mouseup onmous onpaint onres ontravers folderev dragdetect focusin focusout keydown mousedoubleclick mousedown mouseexit mousehov mousemov mouseup folderev addlisten folderev tooltiplisten handleev mousehov mousemov updatetooltip mouseexit mousedown hidetooltip static int check style composit parent int style int mask swt close swt top swt bottom swt flat swt left swt left swt singl swt multi style style mask top bottom mutual exlus top default style swt top 0 style style swt top swt bottom swt top singl multi mutual exlus multi default style swt multi 0 style style swt singl swt multi swt multi reduc flash redraw entir area resiz event style swt redraw resiz temporari code default background carbon gtk theme solid color textur show correct default background allow oper system draw background style background style requir platform doubl buffer true case string platform swt platform carbon equal platform gtk equal platform return style non nl 1 non nl 2 temporari code left orient window gc call brush draw offset pixel result part tab folder draw correctli allevi appear problem allow os draw background draw correctli result obvious wrong style swt left 0 return style parent style swt mirror 0 style swt left 0 return style return style swt background checkstyl left_to_right right_to_left no_redraw_resiz no_background no_background getplatform ctabfold right_to_left getstyl left_to_right no_background static void fill region gc gc region region note region pass function modifi region clip region gc clip clip region intersect clip gc set clip region gc fill rectangl region bound gc set clip clip clip dispos fillregion getclip setclip fillrectangl getbound setclip add listen collect listen notifi tab item close minim maxim restor show list item visibl param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul tab folder2 listen removec tab folder2 listen tab folder2 listen 3 0 public void addc tab folder2 listen tab folder2 listen listen check widget listen null swt error swt error null argument add arrai tab folder2 listen listen tab folder2 listen folder listen length 1 system arraycopi folder listen 0 listen 0 folder listen length folder listen listen folder listen folder listen length 1 listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos ctabfold2listen removectabfold2listen ctabfold2listen addctabfold2listen ctabfold2listen checkwidget error_null_argument ctabfold2listen newlisten ctabfold2listen folderlisten folderlisten newlisten folderlisten folderlisten newlisten folderlisten folderlisten add listen collect listen notifi tab item close param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul tab folder listen removec tab folder listen tab folder listen deprec addc tab folder2 listen tab folder2 listen public void addc tab folder listen tab folder listen listen check widget listen null swt error swt error null argument add arrai tab folder listen tab listen tab folder listen tab listen length 1 system arraycopi tab listen 0 tab listen 0 tab listen length tab listen tab listen tab listen tab listen length 1 listen displai close button backward compat show close show close true updat item redraw illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos ctabfolderlisten removectabfolderlisten ctabfolderlisten addctabfold2listen ctabfold2listen addctabfolderlisten ctabfolderlisten checkwidget error_null_argument ctabfolderlisten newtablisten ctabfolderlisten tablisten tablisten newtablisten tablisten tablisten newtablisten tablisten tablisten showclos showclos updateitem add listen receiv event param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public void add select listen select listen listen check widget listen null swt error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten void antialia int shape rgb linergb rgb innerrgb rgb outerrgb gc gc don perform anti alias mac platform simpl style requir anti alias simpl carbon equal swt platform return non nl 1 don perform anti alias low resolut displai displai depth 15 return outerrgb null int index 0 boolean left true int oldi bottom 0 size int outer int shape length int 0 shape length 2 left index 3 shape length left bottom oldi shape index 3 oldi shape index 3 oldi shape index 1 outer index shape index left 1 1 outer index shape index rgb linergb rgb outerrgb int red red 2 red red 3 int green green 2 green green 3 int blue blue 2 blue blue 3 color color color displai red green blue gc set foreground color gc draw polylin outer color dispos innerrgb null int int shape length int index 0 boolean left true int oldi bottom 0 size int 0 shape length 2 left index 3 shape length left bottom oldi shape index 3 oldi shape index 3 oldi shape index 1 index shape index left 1 1 index shape index rgb linergb rgb innerrgb int red red 2 red red 3 int green green 2 green green 3 int blue blue 2 blue blue 3 color color color displai red green blue gc set foreground color gc draw polylin color dispos getplatform getdisplai getdepth onbottom getsiz onbottom getdisplai setforeground drawpolylin onbottom getsiz onbottom getdisplai setforeground drawpolylin public point comput size int hint int hint boolean chang check widget prefer width tab area show tab int tabw 0 gc gc gc int 0 item length singl tabw math max tabw item prefer width gc true fals tabw item prefer width gc select index fals gc dispos tabw 3 show max tabw button size show min tabw button size singl tabw 3 button size 2 chevron top null tabw top comput size swt default tab height singl simpl tabw curv width 2 curv indent int controlw 0 int controlh 0 prefer size control tab item int 0 item length control control item control control null control dispos point size control comput size hint hint controlw math max controlw size controlh math max controlh size int min width math max tabw controlw int min height minim 0 controlh min width 0 min width default width min height 0 min height default height hint swt default min width hint hint swt default min height hint rectangl trim comput trim 0 0 min width min height return point trim width trim height computes whint hhint checkwidget preferredwidth preferredwidth selectedindex showmax button_size showmin button_size button_size topright topright computes tabheight curvewidth curveind getcontrol isdispos computes whint hhint minwidth minheight minwidth minwidth default_width minheight minheight default_height whint minwidth whint hhint minheight hhint computetrim minwidth minheight public rectangl comput trim int int int width int height check widget int trimx margin width highlight margin border left int trim width width border left border 2 margin width 2 highlight margin minim int trimi bottom border top highlight header tab height border top int trim height border top border bottom tab height highlight header return rectangl trimx trimi trim width trim height int trimi bottom margin height highlight margin border top margin height highlight header tab height border top int trim height height border top border bottom 2 margin height tab height highlight header highlight margin return rectangl trimx trimi trim width trim height computetrim checkwidget marginwidth highlight_margin borderleft trimwidth borderleft borderright marginwidth highlight_margin onbottom bordertop highlight_header tabheight bordertop trimheight bordertop borderbottom tabheight highlight_header trimwidth trimheight onbottom marginheight highlight_margin bordertop marginheight highlight_header tabheight bordertop trimheight bordertop borderbottom marginheight tabheight highlight_header highlight_margin trimwidth trimheight void creat item tab item item int index 0 index index item count swt error swt error invalid rang grow rearrang arrai tab item item tab item item length 1 system arraycopi item 0 item 0 index item index item system arraycopi item index item index 1 item length index item item item parent select index index select index item length 1 index 0 updat tab height fals updat item redraw updat item redraw tab item visibl item show redraw createitem ctabitem getitemcount error_invalid_rang ctabitem newitem ctabitem newitem newitem newitem newitem selectedindex selectedindex firstindex updatetabheight updateitem updateitem isshow void destroi item tab item item dispos return int index index item index 1 return insert index 2 item length 1 item tab item 0 select index 1 index 0 control control item control control null control dispos control set visibl fals fix tab height swt default tab height 0 bottom client border top highlight margin margin height client border top tab height highlight header margin height hide tool tip redraw return shrink rearrang arrai tab item item tab item item length 1 system arraycopi item 0 item 0 index system arraycopi item index 1 item index item length index 1 item item index item length index move select item select select index index control control item control select index 1 set select math max 0 index 1 true control null control dispos control set visibl fals select index index select index updat item redraw destroyitem ctabitem indispos indexof insertionindex ctabitem selectedindex firstindex getcontrol isdispos setvis fixedtabheight tabheight onbottom yclient bordertop highlight_margin marginheight yclient bordertop tabheight highlight_header marginheight hidetooltip ctabitem newitem ctabitem newitem newitem newitem firstindex firstindex selectedindex getcontrol selectedindex setselect isdispos setvis selectedindex selectedindex updateitem void draw background gc gc int shape boolean select color default background select select background background imag imag select select bg imag bg imag color color select select gradient color gradient color int percent select select gradient percent gradient percent boolean vertic select select gradient vertic gradient vertic point size size int width size int height tab height highlight header int 0 border left 0 1 width 2 int bottom size border bottom height border top draw background gc shape width height default background imag color percent vertic drawbackground defaultbackground selectionbackground getbackground selectionbgimag bgimag selectiongradientcolor gradientcolor selectiongradientperc gradientperc selectiongradientvert gradientvert getsiz tabheight highlight_header borderleft onbottom borderbottom bordertop drawbackground defaultbackground void draw background gc gc int shape int int int width int height color default background imag imag color color int percent boolean vertic region clip region gc clip clip region region region region add shape region intersect clip gc set clip region imag null draw background imag shape gc set background default background gc fill rectangl width height rectangl imag rect imag bound gc draw imag imag imag rect imag rect imag rect width imag rect height width height color null draw gradient color length 1 color background color 0 null color 0 default background gc set background background gc fill rectangl width height vertic bottom int po 0 percent percent length 1 100 po percent percent length 1 height 100 gc set background default background gc fill rectangl width po color color color color length 1 color null color default background int percent length 1 0 gc set foreground color color color color null color default background gc set background color int gradient height percent height 100 gc fill gradient rectangl po width gradient height true po gradient height color color color 0 color null color default background int po 0 int 0 percent length gc set foreground color color color 1 color null color default background gc set background color int gradient height percent height 100 gc fill gradient rectangl po width gradient height true po gradient height po height gc set background default background gc fill rectangl po width height po 1 horizont gradient 0 height size color color color 0 color null color default background int po 0 int 0 percent length gc set foreground color color color 1 color null color default background gc set background color int gradient width percent width 100 po gc fill gradient rectangl po gradient width height fals po gradient width po width gc set background default background gc fill rectangl po width po height draw solid background default background shape style swt background 0 default background equal background gc set background default background gc fill rectangl width height gc set clip clip clip dispos region dispos drawbackground defaultbackground getclip setclip setbackground defaultbackground fillrectangl imagerect getbound drawimag imagerect imagerect imagerect imagerect defaultbackground setbackground fillrectangl onbottom setbackground defaultbackground fillrectangl lastcolor lastcolor lastcolor defaultbackground setforeground lastcolor lastcolor lastcolor lastcolor defaultbackground setbackground lastcolor gradientheight fillgradientrectangl gradientheight gradientheight lastcolor lastcolor lastcolor defaultbackground setforeground lastcolor lastcolor lastcolor lastcolor defaultbackground setbackground lastcolor gradientheight fillgradientrectangl gradientheight gradientheight setbackground defaultbackground fillrectangl getsiz lastcolor lastcolor lastcolor defaultbackground setforeground lastcolor lastcolor lastcolor lastcolor defaultbackground setbackground lastcolor gradientwidth fillgradientrectangl gradientwidth gradientwidth setbackground defaultbackground fillrectangl getstyl no_background defaultbackground getbackground setbackground defaultbackground fillrectangl setclip void draw bodi event event gc gc event gc point size size fill bodi minim int width size border left border 2 highlight margin int height size border top border bottom tab height highlight header highlight margin draw highlight margin highlight margin 0 int shape null bottom int x1 border left int y1 border top int x2 size border int y2 size border bottom tab height highlight header shape int x1 y1 x2 y1 x2 y2 x2 highlight margin y2 x2 highlight margin y1 highlight margin x1 highlight margin y1 highlight margin x1 highlight margin y2 x1 y2 int x1 border left int y1 border top tab height highlight header int x2 size border int y2 size border bottom shape int x1 y1 x1 highlight margin y1 x1 highlight margin y2 highlight margin x2 highlight margin y2 highlight margin x2 highlight margin y1 x2 y1 x2 y2 x1 y2 horizont gradient show gradient area select index 1 select gradient color null select gradient color length 1 select gradient vertic draw background gc shape true select index 1 gradient color null gradient color length 1 gradient vertic draw background gc shape fals gc set background select index 1 background select background gc fill polygon shape draw client area style swt background 0 gc set background background gc fill rectangl client margin width client margin height width height style swt background 0 int height border top tab height highlight header border bottom size height gc set background parent background gc fill rectangl 0 height size size height draw 1 pixel border border left 0 gc set foreground border color int x1 border left 1 int x2 size border int y1 bottom border top 1 border top tab height int y2 bottom size tab height border bottom 1 size border bottom gc draw line x1 y1 x1 y2 left gc draw line x2 y1 x2 y2 bottom gc draw line x1 y1 x2 y1 top gc draw line x1 y2 x2 y2 bottom drawbodi getsiz borderleft borderright highlight_margin bordertop borderbottom tabheight highlight_header highlight_margin highlight_margin onbottom borderleft bordertop borderright borderbottom tabheight highlight_header highlight_margin highlight_margin highlight_margin highlight_margin highlight_margin highlight_margin borderleft bordertop tabheight highlight_header borderright borderbottom highlight_margin highlight_margin highlight_margin highlight_margin highlight_margin highlight_margin selectedindex selectiongradientcolor selectiongradientcolor selectiongradientvert drawbackground selectedindex gradientcolor gradientcolor gradientvert drawbackground setbackground selectedindex getbackground selectionbackground fillpolygon getstyl no_background setbackground getbackground fillrectangl xclient marginwidth yclient marginheight getstyl no_background bordertop tabheight highlight_header borderbottom setbackground getpar getbackground fillrectangl borderleft setforeground bordercolor borderleft borderright onbottom bordertop bordertop tabheight onbottom tabheight borderbottom borderbottom drawlin drawlin onbottom drawlin drawlin void draw chevron gc gc chevron rect width 0 chevron rect height 0 return draw chevron 10x7 displai displai displai font data fd font font data 0 fd set height 7 font font displai fd int height font data 0 height displai getdpi 72 int indent math max 2 chevron rect height height 4 2 int chevron rect 2 int chevron rect indent int count singl count select index 1 item length item length 1 int index index count math max 0 item length index index 1 switch chevron imag case normal color chevron border singl select foreground foreground gc set foreground chevron border gc set font gc draw line 2 2 gc draw line 2 2 4 gc draw line 1 3 2 gc draw line 3 2 1 4 gc draw line 4 6 2 gc draw line 6 2 5 4 gc draw line 5 7 2 gc draw line 7 2 4 4 gc draw string string count 7 3 true break case hot gc set foreground displai system color button border gc set background displai system color button fill gc set font gc fill round rectangl chevron rect chevron rect chevron rect width chevron rect height 6 6 gc draw round rectangl chevron rect chevron rect chevron rect width 1 chevron rect height 1 6 6 gc draw line 2 2 gc draw line 2 2 4 gc draw line 1 3 2 gc draw line 3 2 1 4 gc draw line 4 6 2 gc draw line 6 2 5 4 gc draw line 5 7 2 gc draw line 7 2 4 4 gc draw string string count 7 3 true break case select gc set foreground displai system color button border gc set background displai system color button fill gc set font gc fill round rectangl chevron rect chevron rect chevron rect width chevron rect height 6 6 gc draw round rectangl chevron rect chevron rect chevron rect width 1 chevron rect height 1 6 6 gc draw line 1 1 3 3 gc draw line 3 3 1 5 gc draw line 2 1 4 3 gc draw line 4 3 2 5 gc draw line 5 1 7 3 gc draw line 7 3 6 5 gc draw line 6 1 8 3 gc draw line 8 3 5 5 gc draw string string count 8 4 true break dispos drawchevron chevronrect chevronrect getdisplai fontdata getfont getfontdata setheight fheight getfontdata getheight chevronrect fheight chevronrect chevronrect selectedindex lastindex getlastindex lastindex firstindex chevronimagest chevronbord getselectionforeground getforeground setforeground chevronbord setfont drawlin drawlin drawlin drawlin drawlin drawlin drawlin drawlin drawstr valueof setforeground getsystemcolor button_border setbackground getsystemcolor button_fill setfont fillroundrectangl chevronrect chevronrect chevronrect chevronrect drawroundrectangl chevronrect chevronrect chevronrect chevronrect drawlin drawlin drawlin drawlin drawlin drawlin drawlin drawlin drawstr valueof setforeground getsystemcolor button_border setbackground getsystemcolor button_fill setfont fillroundrectangl chevronrect chevronrect chevronrect chevronrect drawroundrectangl chevronrect chevronrect chevronrect chevronrect drawlin drawlin drawlin drawlin drawlin drawlin drawlin drawlin drawstr valueof void draw maxim gc gc max rect width 0 max rect height 0 return displai displai displai 5x4 7x9 int max rect tab folder button size 10 2 int max rect 3 gc set foreground displai system color button border gc set background displai system color button fill switch max imag case normal maxim gc fill rectangl 9 9 gc draw rectangl 9 9 gc draw line 1 2 8 2 gc fill rectangl 3 5 4 gc fill rectangl 2 5 4 gc draw rectangl 3 5 4 gc draw rectangl 2 5 4 gc draw line 3 1 6 1 gc draw line 1 4 4 4 break case hot gc fill round rectangl max rect max rect max rect width max rect height 6 6 gc draw round rectangl max rect max rect max rect width 1 max rect height 1 6 6 maxim gc fill rectangl 9 9 gc draw rectangl 9 9 gc draw line 1 2 8 2 gc fill rectangl 3 5 4 gc fill rectangl 2 5 4 gc draw rectangl 3 5 4 gc draw rectangl 2 5 4 gc draw line 3 1 6 1 gc draw line 1 4 4 4 break case select gc fill round rectangl max rect max rect max rect width max rect height 6 6 gc draw round rectangl max rect max rect max rect width 1 max rect height 1 6 6 maxim gc fill rectangl 1 1 9 9 gc draw rectangl 1 1 9 9 gc draw line 2 3 9 3 gc fill rectangl 1 4 5 4 gc fill rectangl 3 1 5 4 gc draw rectangl 1 4 5 4 gc draw rectangl 3 1 5 4 gc draw line 4 2 7 2 gc draw line 2 5 5 5 break drawmaxim maxrect maxrect getdisplai maxrect ctabfold button_size maxrect setforeground getsystemcolor button_border setbackground getsystemcolor button_fill maximagest fillrectangl drawrectangl drawlin fillrectangl fillrectangl drawrectangl drawrectangl drawlin drawlin fillroundrectangl maxrect maxrect maxrect maxrect drawroundrectangl maxrect maxrect maxrect maxrect fillrectangl drawrectangl drawlin fillrectangl fillrectangl drawrectangl drawrectangl drawlin drawlin fillroundrectangl maxrect maxrect maxrect maxrect drawroundrectangl maxrect maxrect maxrect maxrect fillrectangl drawrectangl drawlin fillrectangl fillrectangl drawrectangl drawrectangl drawlin drawlin void draw minim gc gc min rect width 0 min rect height 0 return displai displai displai 5x4 9x3 int min rect button size 10 2 int min rect 3 gc set foreground displai system color button border gc set background displai system color button fill switch min imag case normal minim gc fill rectangl 9 3 gc draw rectangl 9 3 gc fill rectangl 3 5 4 gc fill rectangl 2 5 4 gc draw rectangl 3 5 4 gc draw rectangl 2 5 4 gc draw line 3 1 6 1 gc draw line 1 4 4 4 break case hot gc fill round rectangl min rect min rect min rect width min rect height 6 6 gc draw round rectangl min rect min rect min rect width 1 min rect height 1 6 6 minim gc fill rectangl 9 3 gc draw rectangl 9 3 gc fill rectangl 3 5 4 gc fill rectangl 2 5 4 gc draw rectangl 3 5 4 gc draw rectangl 2 5 4 gc draw line 3 1 6 1 gc draw line 1 4 4 4 break case select gc fill round rectangl min rect min rect min rect width min rect height 6 6 gc draw round rectangl min rect min rect min rect width 1 min rect height 1 6 6 minim gc fill rectangl 1 1 9 3 gc draw rectangl 1 1 9 3 gc fill rectangl 1 4 5 4 gc fill rectangl 3 1 5 4 gc draw rectangl 1 4 5 4 gc draw rectangl 3 1 5 4 gc draw line 4 2 7 2 gc draw line 2 5 5 5 break drawminim minrect minrect getdisplai minrect button_size minrect setforeground getsystemcolor button_border setbackground getsystemcolor button_fill minimagest fillrectangl drawrectangl fillrectangl fillrectangl drawrectangl drawrectangl drawlin drawlin fillroundrectangl minrect minrect minrect minrect drawroundrectangl minrect minrect minrect minrect fillrectangl drawrectangl fillrectangl fillrectangl drawrectangl drawrectangl drawlin drawlin fillroundrectangl minrect minrect minrect minrect drawroundrectangl minrect minrect minrect minrect fillrectangl drawrectangl fillrectangl fillrectangl drawrectangl drawrectangl drawlin drawlin void draw tab area event event gc gc event gc point size size int shape null tab height 0 int x1 border left 1 int x2 size border int y1 bottom size border bottom highlight header 1 border top highlight header int y2 bottom size border bottom border top border left 0 bottom y2 1 shape int x1 y1 x1 y2 x2 y2 x2 y1 horizont gradient show gradient area select index 1 select gradient color null select gradient color length 1 select gradient vertic draw background gc shape true select index 1 gradient color null gradient color length 1 gradient vertic draw background gc shape fals gc set background select index 1 background select background gc fill polygon shape draw 1 pixel border border left 0 gc set foreground border color gc draw polylin shape return int math max 0 border left 1 int bottom size border bottom tab height border top int width size border left border 1 int height tab height 1 draw tab header bottom int left simpl simpl bottom left corner bottom left corner int simpl simpl bottom corner bottom corner shape int left length length 4 int index 0 shape index shape index highlight header int 0 left length 2 shape index left 2 shape index height left 2 1 border left 0 shape index 1 1 int 0 length 2 shape index width 2 shape index height 2 1 border left 0 shape index 1 1 shape index width shape index highlight header int left simpl simpl top left corner top left corner int simpl simpl top corner top corner shape int left length length 4 int index 0 shape index shape index height highlight header 1 int 0 left length 2 shape index left 2 shape index left 2 1 int 0 length 2 shape index width 2 shape index 2 1 shape index width shape index height highlight header 1 fill background boolean bk select singl select index 1 draw background gc shape bk select fill parent background non rectangular shape region region add rectangl width 1 height 1 subtract shape gc set background parent background fill region gc r dispos draw border line border left 0 rgb parent background getrgb antialia shape border color getrgb null gc gc set foreground border color gc draw polylin shape draw unselect tab singl int 0 item length select index event bound intersect item bound item paint gc fals draw select tab select index 1 tab item item item select index item paint gc true select tab draw line bottom tab int x1 border left int y1 bottom size border bottom tab height 1 border top tab height int x2 size border gc set foreground border color gc draw line x1 y1 x2 y1 draw button item length 0 draw chevron gc draw minim gc draw maxim gc draw insert mark insert index 2 gc set foreground displai system color swt color list select insert index 1 rectangl bound item 0 bound gc draw line bound bound bound bound bound height 1 gc draw line bound 2 bound bound 2 bound gc draw line bound 1 bound 1 bound 1 bound 1 gc draw line bound 1 bound bound height 2 bound 1 bound bound height 2 gc draw line bound 2 bound bound height 1 bound 2 bound bound height 1 rectangl bound item insert index bound gc draw line bound bound width bound bound bound width bound bound height 1 gc draw line bound bound width 2 bound bound bound width 2 bound gc draw line bound bound width 1 bound 1 bound bound width 1 bound 1 gc draw line bound bound width 1 bound bound height 2 bound bound width 1 bound bound height 2 gc draw line bound bound width 2 bound bound height 1 bound bound width 2 bound bound height 1 drawtabarea getsiz tabheight borderleft borderright onbottom borderbottom highlight_header bordertop highlight_header onbottom borderbottom bordertop borderleft onbottom selectedindex selectiongradientcolor selectiongradientcolor selectiongradientvert drawbackground selectedindex gradientcolor gradientcolor gradientvert drawbackground setbackground selectedindex getbackground selectionbackground fillpolygon borderleft setforeground bordercolor drawpolylin borderleft onbottom borderbottom tabheight bordertop borderleft borderright tabheight onbottom simpl_bottom_left_corner bottom_left_corner simpl_bottom_right_corner bottom_right_corner highlight_header borderleft borderleft highlight_header simpl_top_left_corner top_left_corner simpl_top_right_corner top_right_corner highlight_header highlight_header bkselect selectedindex drawbackground bkselect setbackground getpar getbackground fillregion borderleft getpar getbackground bordercolor setforeground bordercolor drawpolylin selectedindex getbound getbound onpaint selectedindex ctabitem selectedindex onpaint borderleft onbottom borderbottom tabheight bordertop tabheight borderright setforeground bordercolor drawlin drawchevron drawminim drawmaxim insertionindex setforeground getdisplai getsystemcolor color_list_select insertionindex getbound drawlin drawlin drawlin drawlin drawlin insertionindex getbound drawlin drawlin drawlin drawlin drawlin return code true code receiv border visibl return receiv border visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public boolean border visibl check widget return border left 1 swtexcept error_widget_dispos error_thread_invalid_access getbordervis checkwidget borderleft public rectangl client area check widget minim return rectangl client client 0 0 point size size int width size border left border 2 margin width 2 highlight margin int height size border top border bottom 2 margin height highlight margin highlight header height tab height return rectangl client client width height getclientarea checkwidget xclient yclient getsiz borderleft borderright marginwidth highlight_margin bordertop borderbottom marginheight highlight_margin highlight_header tabheight xclient yclient return tab locat index param index index tab item return item index except illeg argument except ul li error invalid rang index rang li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public tab item item int index check widget index 0 index item length swt error swt error invalid rang return item index illegalargumentexcept error_invalid_rang swterror error_thread_invalid_access error_widget_dispos ctabitem getitem checkwidget error_invalid_rang item point widget param pt point coordin rel tab folder return item point null except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public tab item item point pt check widget item length 0 return null point size size size border left border return null int index index index item length index tab item item item index rectangl rect item bound rect pt return item return null ctabfold swterror error_thread_invalid_access error_widget_dispos ctabitem getitem checkwidget getsiz borderleft borderright firstindex ctabitem getbound return number tab folder return number tab folder except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public int item count check widget return item length swterror error_thread_invalid_access error_widget_dispos getitemcount checkwidget return tab item return tab item except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public tab item item check widget tab item tab item tab item item length system arraycopi item 0 tab item 0 item length return tab item swterror error_thread_invalid_access error_widget_dispos ctabitem getitem checkwidget ctabitem tabitem ctabitem tabitem tabitem int index singl return select index item length 0 return 1 int index item length tab item item item item show continu return index index 1 return item length 1 getlastindex selectedindex firstindex ctabitem isshow firstindex firstindex char mnemon string string int index 0 int length string length index length string char index index index length return 0 string char index return string char index index index length return 0 getmnemon charat charat charat return code true code receiv minim return receiv minim except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public boolean minim check widget return minim swtexcept error_widget_dispos error_thread_invalid_access getminim checkwidget return code true code minim button visibl return visibl minim button except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public boolean minim visibl check widget return show min swtexcept error_widget_dispos error_thread_invalid_access getminimizevis checkwidget showmin return number charact fulli compress tab return number charact fulli compress tab 3 0 public int minimum charact check widget return min char getminimumcharact checkwidget minchar return code true code receiv maxim return receiv maxim except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public boolean maxim check widget return maxim swtexcept error_widget_dispos error_thread_invalid_access getmaxim checkwidget return code true code maxim button visibl return visibl maxim button except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public boolean maxim visibl check widget return show max swtexcept error_widget_dispos error_thread_invalid_access getmaximizevis checkwidget showmax int item edg int size border 3 show min button size show max button size show chevron 3 button size 2 top null top align swt fill top rect width 3 return getrightitemedg getsiz borderright showmin button_size showmax button_size showchevron button_size topright toprightalign toprightrect return select tab item empti arrai select return select tab item except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public tab item select check widget select index 1 return null return item select index swterror error_thread_invalid_access error_widget_dispos ctabitem getselect checkwidget selectedindex selectedindex return receiv select background color return select background color receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public color select background check widget return select background swtexcept error_widget_dispos error_thread_invalid_access getselectionbackground checkwidget selectionbackground return receiv select foreground color return select foreground color receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public color select foreground check widget return select foreground swtexcept error_widget_dispos error_thread_invalid_access getselectionforeground checkwidget selectionforeground return index select tab item 1 select return index select tab item 1 except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public int select index check widget return select index swterror error_thread_invalid_access error_widget_dispos getselectionindex checkwidget selectedindex return code true code tab folder render simpl tradit shape return code true code tab folder render simpl shape 3 0 public boolean simpl check widget return simpl ctabfold ctabfold getsimpl checkwidget return code true code tab folder displi select tab code fals code tab folder displai multipl tab return code true code tab folder displi select tab code fals code tab folder displai multipl tab 3 0 public boolean singl check widget return singl ctabfold ctabfold ctabfold ctabfold getsingl checkwidget public int style int style super style style swt top swt bottom style bottom swt bottom swt top style swt singl swt multi style singl swt singl swt multi border left 0 style swt border return style getstyl getstyl onbottom borderleft return height tab return height tab except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public int tab height check widget fix tab height swt default return fix tab height return tab height 1 1 line drawn top tab swterror error_thread_invalid_access error_widget_dispos gettabheight checkwidget fixedtabheight fixedtabheight tabheight return posit tab valu swt top swt bottom return posit tab except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public int tab posit check widget return bottom swt bottom swt top swterror error_thread_invalid_access error_widget_dispos gettabposit checkwidget onbottom return control top corner tab folder typic close button composit menu close button return control top corner tab folder null except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 2 1 public control top check widget return top swterror error_thread_invalid_access error_widget_dispos gettopright checkwidget topright return code true code close button appear user hover unselect tab return code true code close button appear unselect tab 3 0 public boolean unselect close visibl check widget return show unselect close getunselectedclosevis checkwidget showunselectedclos return code true code imag appear unselect tab return code true code imag appear unselect tab 3 0 public boolean unselect imag visibl check widget return show unselect imag getunselectedimagevis checkwidget showunselectedimag return index tab 1 tab receiv param item tab item index requir return index tab item 1 except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public int index tab item item check widget item null swt error swt error null argument int 0 item length item item return return 1 illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos indexof ctabitem checkwidget error_null_argument access add access listen access adapt public void access event string null int childid childid childid 0 childid item length item childid text int index index index 0 name substr 0 index substr index 1 result addaccessiblelisten accessibleadapt getnam accessibleev gettext indexof public void help access event string help null int childid childid childid acc childid help tool tip text childid 0 childid item length help item childid tool tip text result help gethelp accessibleev childid_self gettooltiptext gettooltiptext public void keyboard shortcut access event string shortcut null int childid childid childid 0 childid item length string text item childid text text null char mnemon mnemon text mnemon 0 shortcut alt mnemon non nl 1 result shortcut getkeyboardshortcut accessibleev gettext getmnemon access add access control listen access control adapt public void child point access control event point test point control point int childid acc childid int 0 item length item bound test point childid break childid acc childid rectangl locat bound locat height locat height client area height locat test point childid acc childid childid childid addaccessiblecontrollisten accessiblecontroladapt getchildatpoint accessiblecontrolev testpoint tocontrol childid_none getbound testpoint childid_none getbound getclientarea testpoint childid_self public void locat access control event rectangl locat null int childid childid childid acc childid locat bound childid 0 childid item length locat item childid bound locat null point pt displai point locat locat pt pt width locat width height locat height getloc accessiblecontrolev childid_self getbound getbound todisplai public void child count access control event e detail item length getchildcount accessiblecontrolev public void default action access control event string action null int childid childid childid 0 childid item length action switch non nl 1 result action getdefaultact accessiblecontrolev public void focu access control event int childid acc childid focu control select index 1 childid acc childid childid select index childid childid getfocu accessiblecontrolev childid_none isfocuscontrol selectedindex childid_self selectedindex public void role access control event int role 0 int childid childid childid acc childid role acc role tabfold childid 0 childid item length role acc role tabitem detail role getrol accessiblecontrolev childid_self role_tabfold role_tabitem public void select access control event e childid select index 1 acc childid select index getselect accessiblecontrolev selectedindex childid_none selectedindex public void access control event int 0 int childid childid childid acc childid acc normal childid 0 childid item length acc select focu control acc focus select index childid acc select focu control acc focus detail getstat accessiblecontrolev childid_self state_normal state_select isfocuscontrol state_focus selectedindex state_select isfocuscontrol state_focus public void children access control event object children object item length int 0 item length children integ children children getchildren accessiblecontrolev add listen swt select listen public void handl event event event focu control select index 1 access set focu acc childid access set focu select index addlisten handleev isfocuscontrol selectedindex setfocu childid_self setfocu selectedindex add listen swt focu listen public void handl event event event select index 1 access set focu acc childid access set focu select index addlisten focusin handleev selectedindex setfocu childid_self setfocu selectedindex void init access final access access access access add access listen access adapt public void access event string null int childid childid childid 0 childid item length item childid text int index index index 0 name substr 0 index substr index 1 result public void help access event string help null int childid childid childid acc childid help tool tip text childid 0 childid item length help item childid tool tip text result help public void keyboard shortcut access event string shortcut null int childid childid childid 0 childid item length string text item childid text text null char mnemon mnemon text mnemon 0 shortcut alt mnemon non nl 1 result shortcut access add access control listen access control adapt public void child point access control event point test point control point int childid acc childid int 0 item length item bound test point childid break childid acc childid rectangl locat bound locat height locat height client area height locat test point childid acc childid childid childid public void locat access control event rectangl locat null int childid childid childid acc childid locat bound childid 0 childid item length locat item childid bound locat null point pt displai point locat locat pt pt width locat width height locat height public void child count access control event e detail item length public void default action access control event string action null int childid childid childid 0 childid item length action switch non nl 1 result action public void focu access control event int childid acc childid focu control select index 1 childid acc childid childid select index childid childid public void role access control event int role 0 int childid childid childid acc childid role acc role tabfold childid 0 childid item length role acc role tabitem detail role public void select access control event e childid select index 1 acc childid select index public void access control event int 0 int childid childid childid acc childid acc normal childid 0 childid item length acc select focu control acc focus select index childid acc select focu control acc focus detail public void children access control event object children object item length int 0 item length children integ children children add listen swt select listen public void handl event event event focu control select index 1 access set focu acc childid access set focu select index add listen swt focu listen public void handl event event event select index 1 access set focu acc childid access set focu select index initaccess getaccess addaccessiblelisten accessibleadapt getnam accessibleev gettext indexof gethelp accessibleev childid_self gettooltiptext gettooltiptext getkeyboardshortcut accessibleev gettext getmnemon addaccessiblecontrollisten accessiblecontroladapt getchildatpoint accessiblecontrolev testpoint tocontrol childid_none getbound testpoint childid_none getbound getclientarea testpoint childid_self getloc accessiblecontrolev childid_self getbound getbound todisplai getchildcount accessiblecontrolev getdefaultact accessiblecontrolev getfocu accessiblecontrolev childid_none isfocuscontrol selectedindex childid_self selectedindex getrol accessiblecontrolev childid_self role_tabfold role_tabitem getselect accessiblecontrolev selectedindex childid_none selectedindex getstat accessiblecontrolev childid_self state_normal state_select isfocuscontrol state_focus selectedindex state_select isfocuscontrol state_focus getchildren accessiblecontrolev addlisten handleev isfocuscontrol selectedindex setfocu childid_self setfocu selectedindex addlisten focusin handleev selectedindex setfocu childid_self setfocu selectedindex void kei event event switch event kei code case swt arrow left case swt arrow int count item length count 0 return select index 1 return int lead kei style swt left 0 swt arrow swt arrow left int offset event kei code lead kei 1 1 int index select index offset index 0 index count return set select index true forc focu onkeydown keycod arrow_left arrow_right selectedindex leadkei getstyl right_to_left arrow_right arrow_left keycod leadkei selectedindex setselect forcefocu void dispos item dispos destroi item chang size item arrai reset bound tab manag widget tab folder dispos speed dispos flag skip part item dispos dispos true int length item length int 0 length item null item dispos select gradient color null select gradient percent null select bg imag null select background null select foreground null ondispos destroyitem indispos indispos selectiongradientcolor selectiongradientperc selectionbgimag selectionbackground selectionforeground void drag detect event event boolean consum fals chevron rect event event min rect event event max rect event event consum true int 0 item length item close rect event event consum true break consum event type swt ondragdetect chevronrect minrect maxrect closerect void focu event event check widget select index 0 redraw set select 0 true onfocu checkwidget selectedindex setselect boolean mnemon event event char kei event charact int 0 item length item null char mnemon mnemon item text mnemon 0 charact upper case kei charact upper case mnemon set select true return true return fals onmnemon getmnemon gettext touppercas touppercas setselect void mous doubl click event event event button 1 event mask swt button2 0 event mask swt button3 0 return event event item item point event event item null notifi listen swt default select onmousedoubleclick statemask statemask getitem notifylisten defaultselect void mous hover event event show tool tip event event onmousehov showtooltip void mous event event int event event switch event type case swt mous exit min imag normal min imag normal redraw min rect min rect min rect width min rect height fals max imag normal max imag normal redraw max rect max rect max rect width max rect height fals chevron imag normal chevron imag normal redraw chevron rect chevron rect chevron rect width chevron rect height fals int 0 item length tab item item item select index item close imag item close imag redraw item close rect item close rect item close rect width item close rect height fals select index item close imag normal item close imag normal redraw item close rect item close rect item close rect width item close rect height fals break case swt mous min rect event button 1 return min imag select redraw min rect min rect min rect width min rect height fals updat return max rect event button 1 return max imag select redraw max rect max rect max rect width max rect height fals updat return chevron rect event button 1 return chevron imag hot chevron imag hot chevron imag select redraw chevron rect chevron rect chevron rect width chevron rect height fals updat return tab item item null singl select index 1 rectangl bound item select index bound bound item item select index int 0 item length rectangl bound item bound bound item item item null item close rect event button 1 return item close imag select redraw item close rect item close rect item close rect width item close rect height fals updat return int index index item item show set select index true return break case swt mous move boolean close fals minim fals maxim fals chevron fals min rect minim true min imag select min imag hot min imag hot redraw min rect min rect min rect width min rect height fals max rect maxim true max imag select max imag hot max imag hot redraw max rect max rect max rect width max rect height fals chevron rect chevron true chevron imag select chevron imag hot chevron imag hot redraw chevron rect chevron rect chevron rect width chevron rect height fals min imag normal minim min imag normal redraw min rect min rect min rect width min rect height fals max imag normal maxim max imag normal redraw max rect max rect max rect width max rect height fals chevron imag normal chevron chevron imag normal redraw chevron rect chevron rect chevron rect width chevron rect height fals int 0 item length tab item item item close fals item bound close true item close rect item close imag select item close imag hot item close imag hot redraw item close rect item close rect item close rect width item close rect height fals item close imag normal item close imag normal redraw item close rect item close rect item close rect width item close rect height fals select index item close imag close item close imag redraw item close rect item close rect item close rect width item close rect height fals select index item close imag normal close item close imag normal redraw item close rect item close rect item close rect width item close rect height fals break case swt mous event button 1 return chevron rect boolean select chevron imag select select return tab folder event tab folder event widget event chevron rect chevron rect width chevron rect width height chevron rect height doit true int 0 folder listen length folder listen show list doit dispos show list chevron rect displai displai displai point cursor locat displai cursor locat cursor locat displai map null cursor locat chevron imag chevron rect cursor locat hot normal redraw chevron rect chevron rect chevron rect width chevron rect height fals return min rect boolean select min imag select min imag hot redraw min rect min rect min rect width min rect height fals select return tab folder event tab folder event widget event int 0 folder listen length minim folder listen restor folder listen minim return max rect boolean select max imag select max imag hot redraw max rect max rect max rect width max rect height fals select return tab folder event tab folder event widget event int 0 folder listen length maxim folder listen restor folder listen maxim return tab item item null singl select index 1 rectangl bound item select index bound bound item item select index int 0 item length rectangl bound item bound bound item item item null item close rect boolean select item close imag select item close imag hot redraw item close rect item close rect item close rect width item close rect height fals select return tab folder event tab folder event widget event item item doit true int 0 folder listen length tab folder2 listen listen folder listen listen close int 0 tab listen length tab folder listen listen tab listen listen item close doit item dispos return onmous mouseexit minimagest minimagest minrect minrect minrect minrect maximagest maximagest maxrect maxrect maxrect maxrect chevronimagest chevronimagest chevronrect chevronrect chevronrect chevronrect ctabitem selectedindex closeimagest closeimagest closerect closerect closerect closerect selectedindex closeimagest closeimagest closerect closerect closerect closerect mousedown minrect minimagest minrect minrect minrect minrect maxrect maximagest maxrect maxrect maxrect maxrect chevronrect chevronimagest chevronimagest chevronimagest chevronrect chevronrect chevronrect chevronrect ctabitem selectedindex selectedindex getbound selectedindex getbound closerect closeimagest closerect closerect closerect closerect indexof isshow setselect mousemov minrect minimagest minimagest minimagest minrect minrect minrect minrect maxrect maximagest maximagest maximagest maxrect maxrect maxrect maxrect chevronrect chevronimagest chevronimagest chevronimagest chevronrect chevronrect chevronrect chevronrect minimagest minimagest minrect minrect minrect minrect maximagest maximagest maxrect maxrect maxrect maxrect chevronimagest chevronimagest chevronrect chevronrect chevronrect chevronrect ctabitem getbound closerect closeimagest closeimagest closeimagest closerect closerect closerect closerect closeimagest closeimagest closerect closerect closerect closerect selectedindex closeimagest closeimagest closerect closerect closerect closerect selectedindex closeimagest closeimagest closerect closerect closerect closerect mouseup chevronrect chevronimagest ctabfolderev ctabfolderev chevronrect chevronrect chevronrect chevronrect folderlisten folderlisten showlist isdispos showlist chevronrect getdisplai cursorloc getcursorloc cursorloc cursorloc chevronimagest chevronrect cursorloc chevronrect chevronrect chevronrect chevronrect minrect minimagest minimagest minrect minrect minrect minrect ctabfolderev ctabfolderev folderlisten folderlisten folderlisten maxrect maximagest maximagest maxrect maxrect maxrect maxrect ctabfolderev ctabfolderev folderlisten folderlisten folderlisten ctabitem selectedindex selectedindex getbound selectedindex getbound closerect closeimagest closeimagest closerect closerect closerect closerect ctabfolderev ctabfolderev folderlisten ctabfold2listen folderlisten tablisten ctabfolderlisten tablisten itemclos boolean page travers event event int count item length count 0 return fals int index select index index 1 index 0 int offset event detail swt travers page 1 1 index select index offset count count set select index true return true onpagetravers selectedindex travers_page_next selectedindex setselect void paint event event font font font font null font equal font handl case default font font font updat tab height fals updat item redraw return gc gc event gc font gc font gc font color gc background gc background color gc foreground gc foreground debug paint problem point size size gc set background displai system color swt color green gc fill rectangl 10 10 size 20 size 20 draw bodi event gc set font gc font gc set foreground gc foreground gc set background gc background draw tab area event gc set font gc font gc set foreground gc foreground gc set background gc background onpaint getfont oldfont oldfont oldfont updatetabheight updateitem gcfont getfont gcbackground getbackground gcforeground getforeground getsiz setbackground getdisplai getsystemcolor color_green fillrectangl drawbodi setfont gcfont setforeground gcforeground setbackground gcbackground drawtabarea setfont gcfont setforeground gcforeground setbackground gcbackground void resiz updat item redraw tab show select point size size size null redraw bottom size size redraw int x1 math min size size size size x1 border highlight margin simpl x1 5 round top corner int y1 math min size size size size y1 border bottom highlight margin int x2 math max size size int y2 math max size size redraw 0 y1 x2 y2 y1 fals redraw x1 0 x2 x1 y2 fals size size resiz content select index 1 control control item select index control control null control dispos control set bound client area onres updateitem redrawtab showselect getsiz oldsiz onbottom oldsiz oldsiz oldsiz borderright highlight_margin oldsiz oldsiz borderbottom highlight_margin oldsiz oldsiz oldsiz selectedindex selectedindex getcontrol isdispos setbound getclientarea void travers event event switch event detail case swt travers escap case swt travers return case swt travers tab case swt travers tab previou event doit true break case swt travers mnemon event doit mnemon event event doit event detail swt travers break case swt travers page case swt travers page previou event doit page travers event event detail swt travers break ontravers travers_escap travers_return travers_tab_next travers_tab_previou travers_mnemon onmnemon travers_none travers_page_next travers_page_previou onpagetravers travers_none void redraw tab point size size bottom redraw 0 size border bottom tab height highlight header 1 size border bottom tab height highlight header 1 fals redraw 0 0 size border top tab height highlight header 1 fals redrawtab getsiz onbottom borderbottom tabheight highlight_header borderbottom tabheight highlight_header bordertop tabheight highlight_header remov listen param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul addc tab folder2 listen tab folder2 listen 3 0 public void removec tab folder2 listen tab folder2 listen listen check widget listen null swt error swt error null argument folder listen length 0 return int index 1 int 0 folder listen length listen folder listen index break index 1 return folder listen length 1 folder listen tab folder2 listen 0 return tab folder2 listen tab listen tab folder2 listen folder listen length 1 system arraycopi folder listen 0 tab listen 0 index system arraycopi folder listen index 1 tab listen index folder listen length index 1 folder listen tab listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos addctabfold2listen ctabfold2listen removectabfold2listen ctabfold2listen checkwidget error_null_argument folderlisten folderlisten folderlisten folderlisten folderlisten ctabfold2listen ctabfold2listen newtablisten ctabfold2listen folderlisten folderlisten newtablisten folderlisten newtablisten folderlisten folderlisten newtablisten remov listen param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul deprec removec tab folder close listen tab folder listen public void removec tab folder listen tab folder listen listen check widget listen null swt error swt error null argument tab listen length 0 return int index 1 int 0 tab listen length listen tab listen index break index 1 return tab listen length 1 tab listen tab folder listen 0 return tab folder listen tab listen tab folder listen tab listen length 1 system arraycopi tab listen 0 tab listen 0 index system arraycopi tab listen index 1 tab listen index tab listen length index 1 tab listen tab listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos removectabfoldercloselisten ctabfolderlisten removectabfolderlisten ctabfolderlisten checkwidget error_null_argument tablisten tablisten tablisten tablisten tablisten ctabfolderlisten ctabfolderlisten newtablisten ctabfolderlisten tablisten tablisten newtablisten tablisten newtablisten tablisten tablisten newtablisten remov listen param listen listen except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public void remov select listen select listen listen check widget listen null swt error swt error null argument remov listen swt select listen remov listen swt default select listen illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos removeselectionlisten selectionlisten checkwidget error_null_argument removelisten removelisten defaultselect remov listen swt default select listen public void set background color color super set background color redraw removelisten defaultselect setbackground setbackground gradient colour drawn background unselect tab draw gradient vari dark blue blue white call set background pre cfolder set background color displai system color swt color dark blue displai system color swt color blue displai system color swt color white displai system color swt color white int 25 50 100 pre param color arrai color specifi color gradient order appear left code null code clear background gradient code null code insid arrai color background color param percent arrai integ 0 100 percent width widget color chang size percent arrai size color arrai except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 void set background color color int percent set background color percent fals setbackground setbackground getsystemcolor color_dark_blue getsystemcolor color_blue getsystemcolor color_white getsystemcolor color_white swterror error_thread_invalid_access error_widget_dispos setbackground setbackground gradient colour drawn background unselect tab draw vertic gradient vari dark blue blue white call set background pre cfolder set background color displai system color swt color dark blue displai system color swt color blue displai system color swt color white displai system color swt color white int 25 50 100 true pre param color arrai color specifi color gradient order appear left code null code clear background gradient code null code insid arrai color background color param percent arrai integ 0 100 percent width widget color chang size percent arrai size color arrai param vertic direct gradient true vertic fals horizont except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 void set background color color int percent boolean vertic check widget color null percent null percent length color length 1 swt error swt error invalid argument int 0 percent length percent 0 percent 100 swt error swt error invalid argument 0 percent percent 1 swt error swt error invalid argument displai depth 15 don gradient low color displai color color color color length 1 percent int set bg imag null gradient color null color null gradient color length color length boolean fals int 0 gradient color length gradient color null color null gradient color equal color break int 0 gradient percent length gradient percent percent break gradient vertic vertic return bg imag null store set color null gradient color null gradient percent null gradient vertic fals set background color null gradient color color color length int 0 color length gradient color color gradient percent int percent length int 0 percent length gradient percent percent gradient vertic vertic set background gradient color gradient color length 1 refresh set redraw setbackground setbackground getsystemcolor color_dark_blue getsystemcolor color_blue getsystemcolor color_white getsystemcolor color_white swterror error_thread_invalid_access error_widget_dispos setbackground checkwidget error_invalid_argument error_invalid_argument error_invalid_argument getdisplai getdepth bgimag gradientcolor gradientcolor gradientcolor gradientcolor gradientcolor gradientperc gradientperc gradientvert bgimag gradientcolor gradientperc gradientvert setbackground gradientcolor gradientcolor gradientperc gradientperc gradientvert setbackground gradientcolor gradientcolor set imag drawn background unselect tab imag stretch compress cover entir unselect tab area param imag imag drawn background except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 void set background imag imag check widget imag bg imag return imag null gradient color null gradient percent null bg imag imag redraw swtexcept error_widget_dispos error_thread_invalid_access setbackground checkwidget bgimag gradientcolor gradientperc bgimag toggl visibl border param show true border displai except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set border visibl boolean show check widget border left 1 show return border left border show 1 0 border top bottom border left 0 border bottom bottom 0 border left rectangl rect client area updat item rectangl rect client area rect equal rect notifi listen swt resiz event redraw swtexcept error_widget_dispos error_thread_invalid_access setbordervis checkwidget borderleft borderleft borderright bordertop onbottom borderleft borderbottom onbottom borderleft rectbefor getclientarea updateitem rectaft getclientarea rectbefor rectaft notifylisten void set button bound point size size int oldx oldi width height max button oldx max rect oldi max rect width max rect width height max rect height max rect max rect max rect width max rect height 0 show max max rect size border button size 3 border 0 max rect 1 max rect bottom size border bottom tab height tab height button size 2 border top tab height button size 2 max rect width button size max rect height button size oldx max rect width max rect width oldi max rect height max rect height int left math min oldx max rect int math max oldx width max rect max rect width int top bottom size border bottom tab height border top 1 redraw left top left tab height fals min button oldx min rect oldi min rect width min rect width height min rect height min rect min rect min rect width min rect height 0 show min min rect size border max rect width button size 3 border 0 min rect 1 min rect bottom size border bottom tab height tab height button size 2 border top tab height button size 2 min rect width button size min rect height button size oldx min rect width min rect width oldi min rect height min rect height int left math min oldx min rect int math max oldx width min rect min rect width int top bottom size border bottom tab height border top 1 redraw left top left tab height fals top control oldx top rect oldi top rect width top rect width height top rect height top rect top rect top rect width top rect height 0 top null switch top align case swt fill int edg size border 3 max rect width min rect width singl item length 0 select index 1 top rect border left 3 top rect width edg top rect fill size 0 item compress tab item item item select index item item width 7 3 button size 2 edg break top rect item item width 7 3 button size 2 top rect width edg top rect fill size 0 chevron show show chevron break item length 0 top rect border left 3 tab item item item item length 1 top rect item item width simpl item length 1 select index top rect curv width curv indent top rect width math max 0 edg top rect top rect bottom size border bottom tab height border top 1 top rect height tab height 1 break case swt point top size top comput size swt default tab height int edg size border 3 max rect width min rect width top rect edg top size top rect width top size top rect bottom size border bottom tab height border top 1 top rect height tab height 1 top set bound top rect oldx top rect width top rect width oldi top rect height top rect height chevron button oldx chevron rect oldi chevron rect width chevron rect width height chevron rect height chevron rect chevron rect chevron rect height chevron rect width 0 singl select index 1 item length 1 chevron rect width 3 button size 2 chevron rect height button size chevron rect bottom size border bottom tab height tab height chevron rect height 2 border top tab height chevron rect height 2 select index 1 chevron rect size border 3 min rect width max rect width top rect width chevron rect width tab item item item select index int size border 3 min rect width max rect width chevron rect width top rect width 0 top rect width 3 chevron rect math min item item width 3 border 0 chevron rect 1 show chevron chevron rect width 3 button size 2 chevron rect height button size int index index tab item item item index int item item width 3 simpl index select index curv width 2 curv indent chevron rect math min item edg chevron rect bottom size border bottom tab height tab height chevron rect height 2 border top tab height chevron rect height 2 oldx chevron rect width chevron rect width oldi chevron rect height chevron rect height int left math min oldx chevron rect int math max oldx width chevron rect chevron rect width int top bottom size border bottom tab height border top 1 redraw left top left tab height fals setbuttonbound getsiz oldwidth oldheight maxrect maxrect oldwidth maxrect oldheight maxrect maxrect maxrect maxrect maxrect showmax maxrect borderright button_size borderright maxrect maxrect onbottom borderbottom tabheight tabheight button_size bordertop tabheight button_size maxrect button_size maxrect button_size maxrect oldwidth maxrect maxrect oldheight maxrect maxrect oldwidth maxrect maxrect onbottom borderbottom tabheight bordertop tabheight minrect minrect oldwidth minrect oldheight minrect minrect minrect minrect minrect showmin minrect borderright maxrect button_size borderright minrect minrect onbottom borderbottom tabheight tabheight button_size bordertop tabheight button_size minrect button_size minrect button_size minrect oldwidth minrect minrect oldheight minrect minrect oldwidth minrect minrect onbottom borderbottom tabheight bordertop tabheight toprightrect toprightrect oldwidth toprightrect oldheight toprightrect toprightrect toprightrect toprightrect toprightrect topright toprightalign rightedg borderright maxrect minrect selectedindex toprightrect borderleft toprightrect rightedg toprightrect ctabitem selectedindex button_size rightedg toprightrect button_size toprightrect rightedg toprightrect showchevron toprightrect borderleft ctabitem toprightrect selectedindex toprightrect curvewidth curveind toprightrect rightedg toprightrect toprightrect onbottom borderbottom tabheight bordertop toprightrect tabheight toprights topright computes tabheight rightedg borderright maxrect minrect toprightrect rightedg toprights toprightrect toprights toprightrect onbottom borderbottom tabheight bordertop toprightrect tabheight topright setbound toprightrect toprightrect oldwidth toprightrect toprightrect oldheight toprightrect chevronrect chevronrect oldwidth chevronrect oldheight chevronrect chevronrect chevronrect chevronrect chevronrect selectedindex chevronrect button_size chevronrect button_size chevronrect onbottom borderbottom tabheight tabheight chevronrect bordertop tabheight chevronrect selectedindex chevronrect borderright minrect maxrect toprightrect chevronrect ctabitem selectedindex borderright minrect maxrect chevronrect toprightrect toprightrect chevronrect borderright chevronrect showchevron chevronrect button_size chevronrect button_size lastindex getlastindex ctabitem lastitem lastindex lastitem lastitem lastindex selectedindex curvewidth curveind chevronrect getrightitemedg chevronrect onbottom borderbottom tabheight tabheight chevronrect bordertop tabheight chevronrect chevronrect oldwidth chevronrect chevronrect oldheight chevronrect chevronrect oldwidth chevronrect chevronrect onbottom borderbottom tabheight bordertop tabheight void set item int index index 0 index item length 1 return index index return index index set item locat set button bound redraw tab setfirstitem firstindex firstindex setitemloc setbuttonbound redrawtab public void set font font font check widget font null font equal font return super set font font font font updat tab height fals updat item redraw setfont checkwidget getfont setfont oldfont getfont updatetabheight updateitem public void set foreground color color super set foreground color redraw setforeground setforeground displai insert marker tab item null clear mark param item item mark null param true mark displai item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set insert mark tab item item boolean check widget int index 1 item null index index item set insert mark index swtexcept error_widget_dispos error_thread_invalid_access setinsertmark ctabitem checkwidget indexof setinsertmark displai insert marker tab item 1 clear mark param index index item mark null param true mark displai item except illeg argument except ul ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set insert mark int index boolean check widget index 1 index item count swt error swt error invalid argument index 1 index 2 index index index insert index index return int index insert index insert index index index 1 redraw tab area index index 1 redraw tab area index illegalargumentexcept swtexcept error_widget_dispos error_thread_invalid_access setinsertmark checkwidget getitemcount error_invalid_argument insertionindex oldindex insertionindex insertionindex redrawtabarea oldindex redrawtabarea oldindex boolean set item locat boolean chang fals item length 0 return fals point size size int bottom math max border bottom size border bottom tab height border top singl int defaultx size 10 screen int 0 item length select index tab item item item select index int oldx item oldi item item border left item y show close item show close item close rect border left tab item left margin item close rect bottom size border bottom tab height tab height button size 2 border top tab height button size 2 item oldx item oldi chang true item defaultx int 1 int index 1 0 visibl tab tab tab item item item item width layout tab item left make invis item x item y item close rect item item width button size tab item margin item close rect bottom size border bottom tab height tab height button size 2 border top tab height button size 2 0 int item edg item edg int index item length continu lai remain visibl item left tab item item item item x item y chang true item x item y select index int edg math min item item width item edg item close rect edg tab item margin button size item close rect item item width tab item margin button size item close rect bottom size border bottom tab height tab height button size 2 border top tab height button size 2 x item width simpl select index curv width 2 curv indent return chang setitemloc getsiz onbottom borderbottom borderbottom tabheight bordertop selectedindex ctabitem selectedindex borderleft showclos showclos closerect borderleft ctabitem left_margin closerect onbottom borderbottom tabheight tabheight button_size bordertop tabheight button_size firstindex ctabitem closerect button_size ctabitem right_margin closerect onbottom borderbottom tabheight tabheight button_size bordertop tabheight button_size rightitemedg getrightitemedg firstindex ctabitem selectedindex rightitemedg closerect ctabitem right_margin button_size closerect ctabitem right_margin button_size closerect onbottom borderbottom tabheight tabheight button_size bordertop tabheight button_size selectedindex curvewidth curveind boolean set item size boolean chang fals dispos return chang show chevron fals point size size size 0 size 0 return chang client border left margin width highlight margin bottom client border top highlight margin margin height client border top tab height highlight header margin height singl show chevron true select index 1 tab item tab item select index gc gc gc int width tab prefer width gc true fals gc dispos width math min width item edg border left tab height tab height tab width width chang true tab shorten text null tab shorten text width 0 tab height tab height tab width width tab close rect width tab close rect height 0 show close tab show close tab close rect width button size tab close rect height button size return chang int width int item length width int item length gc gc gc int 0 item length width item prefer width gc select index fals item length 0 int total width 0 int tab area width size border left border 3 show min tab area width button size show max tab area width button size top align swt top null tab area width top comput size swt default swt default 3 simpl tab area width curv width 2 curv indent tab area width math max 0 tab area width int count item length int 0 count total width width total width tab area width compress requir index 0 try compress item total width 0 int larg 0 int min width int item length int 0 count min width item prefer width gc select index true total width math min width min width width min width larg total width tab area width maximum compress requir chevron show chevron item length 1 show chevron tab area width 3 button size 2 int 0 count int min width math min tab area width min width width math min width min width index 0 determin compress item int extra tab area width total width larg true total width 0 larg 0 int 0 count total width math min width min width extra width min width extra larg total width tab area width extra break larg 0 tab area width total width larg break extra int 0 item length width math min width min width extra int 0 item length tab item tab item int width width tab height tab height tab width width chang true tab shorten text null tab shorten text width 0 tab height tab height tab width width tab close rect width tab close rect height 0 show close tab show close select index show unselect close tab close rect width button size tab close rect height button size gc dispos return chang setitems isdispos showchevron getsiz xclient borderleft marginwidth highlight_margin onbottom yclient bordertop highlight_margin marginheight yclient bordertop tabheight highlight_header marginheight showchevron selectedindex ctabitem selectedindex preferredwidth getrightitemedg borderleft tabheight shortenedtext shortenedtextwidth tabheight closerect closerect showclos showclos closerect button_size closerect button_size preferredwidth selectedindex totalwidth tabareawidth borderleft borderright showmin tabareawidth button_size showmax tabareawidth button_size toprightalign topright tabareawidth topright computes tabareawidth curvewidth curveind tabareawidth tabareawidth totalwidth totalwidth tabareawidth firstindex totalwidth minwidth minwidth preferredwidth selectedindex totalwidth minwidth minwidth totalwidth tabareawidth showchevron showchevron tabareawidth button_size minwidth tabareawidth minwidth minwidth firstindex tabareawidth totalwidth totalwidth totalwidth minwidth minwidth totalwidth tabareawidth tabareawidth totalwidth minwidth ctabitem tabheight shortenedtext shortenedtextwidth tabheight closerect closerect showclos showclos selectedindex showunselectedclos closerect button_size closerect button_size void set index int index show chevron singl index 0 index item length 1 return point size size size 0 return int max width item edg border left singl simpl max width curv width 2 curv indent int tab width item index width index 0 tab width item index 1 width tab width max width break index index index return index index set item locat set button bound redraw tab setlastindex showchevron getsiz maxwidth getrightitemedg borderleft maxwidth curvewidth curveind tabwidth tabwidth tabwidth maxwidth firstindex firstindex setitemloc setbuttonbound redrawtab mark receiv maxim button visibl argument code true code mark invis param visibl visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set maxim visibl boolean visibl check widget show max visibl return displai maxim button show max visibl updat item redraw swtexcept error_widget_dispos error_thread_invalid_access setmaximizevis checkwidget showmax showmax updateitem set maxim receiv param maxim maxim except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set maxim boolean maxim check widget maxim maxim return maxim minim set minim fals maxim maxim redraw max rect max rect max rect width max rect height fals swtexcept error_widget_dispos error_thread_invalid_access setmaxim checkwidget setminim maxrect maxrect maxrect maxrect mark receiv minim button visibl argument code true code mark invis param visibl visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set minim visibl boolean visibl check widget show min visibl return displai maxim button show min visibl updat item redraw swtexcept error_widget_dispos error_thread_invalid_access setminimizevis checkwidget showmin showmin updateitem set minim receiv param minim minim except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set minim boolean minim check widget minim minim return minim maxim set maxim fals minim minim redraw min rect min rect min rect width min rect height fals swtexcept error_widget_dispos error_thread_invalid_access setminim checkwidget setmaxim minrect minrect minrect minrect set minimum number charact displai fulli compress tab param count minimum number charact displai fulli compress tab except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid rang count li ul 3 0 public void set minimum charact int count check widget count 0 swt error swt error invalid rang min char count return min char count updat item redraw tab swtexcept error_widget_dispos error_thread_invalid_access error_invalid_rang setminimumcharact checkwidget error_invalid_rang minchar minchar updateitem redrawtab set select tab item param item tab item select except illeg argument except ul li error null argument listen null li ul except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public void set select tab item item check widget item null swt error swt error null argument int index index item set select index illegalargumentexcept error_null_argument swterror error_thread_invalid_access error_widget_dispos setselect ctabitem checkwidget error_null_argument indexof setselect set select tab index param index index tab item select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select int index check widget index 0 index item length return select index index show item item index return int index select index select index index index 1 item index close imag item select index close imag normal control control item index control control null control dispos control set bound client area control set visibl true index 1 control item index control control null control dispos control set visibl fals updat item redraw swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget selectedindex showitem oldindex selectedindex selectedindex oldindex oldindex closeimagest selectedindex closeimagest isdispos setbound getclientarea setvis oldindex oldindex isdispos setvis updateitem void set select int index boolean notifi int select index select index set select index notifi select index select index select index 1 event event event event item item select index notifi listen swt select event setselect oldselectedindex selectedindex setselect selectedindex oldselectedindex selectedindex getitem selectedindex notifylisten set receiv select background color color argument default system color control argument null param color color null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set select background color color check widget select background color return color null color displai system color select background select background color select index 1 redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setselectionbackground checkwidget selectionbackground getdisplai getsystemcolor select_background selectionbackground selectedindex gradient colour draw background select tab draw gradient vari dark blue blue white call set background pre cfolder set background color displai system color swt color dark blue displai system color swt color blue displai system color swt color white displai system color swt color white int 25 50 100 pre param color arrai color specifi color gradient order appear left code null code clear background gradient code null code insid arrai color background color param percent arrai integ 0 100 percent width widget color chang size percent arrai size color arrai except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public void set select background color color int percent set select background color percent fals setbackground setbackground getsystemcolor color_dark_blue getsystemcolor color_blue getsystemcolor color_white getsystemcolor color_white swterror error_thread_invalid_access error_widget_dispos setselectionbackground setselectionbackground gradient colour draw background select tab draw vertic gradient vari dark blue blue white call set background pre cfolder set background color displai system color swt color dark blue displai system color swt color blue displai system color swt color white displai system color swt color white int 25 50 100 true pre param color arrai color specifi color gradient order appear left code null code clear background gradient code null code insid arrai color background color param percent arrai integ 0 100 percent width widget color chang size percent arrai size color arrai param vertic direct gradient true vertic fals horizont except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul 3 0 public void set select background color color int percent boolean vertic check widget color null percent null percent length color length 1 swt error swt error invalid argument int 0 percent length percent 0 percent 100 swt error swt error invalid argument 0 percent percent 1 swt error swt error invalid argument displai depth 15 don gradient low color displai color color color color length 1 percent int set select bg imag null select gradient color null color null select gradient color length color length boolean fals int 0 select gradient color length select gradient color null color null select gradient color equal color break int 0 select gradient percent length select gradient percent percent break select gradient vertic vertic return select bg imag null store set color null select gradient color null select gradient percent null select gradient vertic fals set select background color null select gradient color color color length int 0 color length select gradient color color select gradient percent int percent length int 0 percent length select gradient percent percent select gradient vertic vertic set select background select gradient color select gradient color length 1 refresh set select index 1 redraw setbackground setbackground getsystemcolor color_dark_blue getsystemcolor color_blue getsystemcolor color_white getsystemcolor color_white swterror error_thread_invalid_access error_widget_dispos setselectionbackground checkwidget error_invalid_argument error_invalid_argument error_invalid_argument getdisplai getdepth selectionbgimag selectiongradientcolor selectiongradientcolor selectiongradientcolor selectiongradientcolor selectiongradientcolor selectiongradientperc selectiongradientperc selectiongradientvert selectionbgimag selectiongradientcolor selectiongradientperc selectiongradientvert setselectionbackground selectiongradientcolor selectiongradientcolor selectiongradientperc selectiongradientperc selectiongradientvert setselectionbackground selectiongradientcolor selectiongradientcolor selectedindex set imag drawn background select tab imag stretch compress cover entir select tab area param imag imag drawn background except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select background imag imag check widget imag select bg imag return imag null select gradient color null select gradient percent null select bg imag imag select index 1 redraw swtexcept error_widget_dispos error_thread_invalid_access setselectionbackground checkwidget selectionbgimag selectiongradientcolor selectiongradientperc selectionbgimag selectedindex set foreground color select tab param color color text displai select tab except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select foreground color color check widget select foreground color return color null color displai system color select foreground select foreground color select index 1 redraw swtexcept error_widget_dispos error_thread_invalid_access setselectionforeground checkwidget selectionforeground getdisplai getsystemcolor select_foreground selectionforeground selectedindex set shape tab folder render param simpl code true code tab folder render simpl tradit style except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set simpl boolean simpl check widget simpl simpl simpl simpl rectangl rect client area updat item rectangl rect client area rect equal rect notifi listen swt resiz event redraw ctabfold ctabfold swtexcept error_widget_dispos error_thread_invalid_access setsimpl checkwidget rectbefor getclientarea updateitem rectaft getclientarea rectbefor rectaft notifylisten set number tab tab folder displai param singl code true code select tab displai multipl tab shown except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set singl boolean singl check widget singl singl singl singl singl int 0 item length select index item close imag normal item close imag rectangl rect client area updat item rectangl rect client area rect equal rect notifi listen swt resiz event redraw ctabfold swtexcept error_widget_dispos error_thread_invalid_access setsingl checkwidget selectedindex closeimagest closeimagest rectbefor getclientarea updateitem rectaft getclientarea rectbefor rectaft notifylisten fix height tab item height default height height text imag whichev greater height 1 revert default height param height pixel height 1 except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument call height 0 li ul public void set tab height int height check widget height 1 swt error swt error invalid argument fix tab height height updat tab height fals swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument settabheight checkwidget error_invalid_argument fixedtabheight updatetabheight tab top folder bottom folder param posit code swt top code tab top code swt bottom code tab bottom except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument posit swt top swt bottom li ul 3 0 public void set tab posit int posit check widget posit swt top posit swt bottom swt error swt error invalid argument bottom posit swt bottom bottom posit swt bottom border top bottom border left 0 border bottom bottom 0 border updat tab height true rectangl rect client area updat item rectangl rect client area rect equal rect notifi listen swt resiz event redraw swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument settabposit checkwidget error_invalid_argument onbottom onbottom bordertop onbottom borderleft borderbottom onbottom borderright updatetabheight rectbefor getclientarea updateitem rectaft getclientarea rectbefor rectaft notifylisten set control appear top corner tab folder typic close button composit menu close button top control option set top control null remov tab folder param control control displai top corner null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument control child tab folder li ul 2 1 public void set top control control set top control swt topright swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument ctabfold settopright settopright set control appear top corner tab folder typic close button composit menu close button top control option set top control null remov tab folder align paramet set layout control tab area code swt code control posit the folder default size code swt fill code size control fill space the tab space control visibl param control control displai top corner null param align code swt code code swt fill code except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument control child tab folder li ul 3 0 public void set top control control int align check widget align swt align swt fill swt error swt error invalid argument control null control parent swt error swt error invalid argument top control top align align updat item redraw topright swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument ctabfold settopright checkwidget error_invalid_argument getpar error_invalid_argument topright toprightalign updateitem close button appear user hover unselect tab param visibl code true code make close button except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set unselect close visibl boolean visibl check widget show unselect close visibl return displai close button mous hover show unselect close visibl updat item redraw swtexcept error_widget_dispos error_thread_invalid_access setunselectedclosevis checkwidget showunselectedclos showunselectedclos updateitem imag appear unselect tab param visibl code true code make imag except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set unselect imag visibl boolean visibl check widget show unselect imag visibl return displai imag unselect item show unselect imag visibl updat item redraw swtexcept error_widget_dispos error_thread_invalid_access setunselectedimagevis checkwidget showunselectedimag showunselectedimag updateitem show item item show receiv method simpli return item scroll item visibl param item item shown except illeg argument except ul li error null argument item null li li error invalid argument item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tab folder show select 2 0 public void show item tab item item check widget item null swt error swt error null argument item dispos swt error swt error invalid argument item show return point size size int index index item size border left border index index set item index set index index illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access ctabfold showselect showitem ctabitem checkwidget error_null_argument isdispos error_invalid_argument isshow getsiz indexof borderleft borderright firstindex setfirstitem setlastindex item add select listen select adapt public void widget select select event menu item menu item menu item widget int index index tab item menu item data id tab folder set select index true addselectionlisten selectionadapt widgetselect selectionev menuitem menuitem menuitem indexof ctabitem menuitem getdata ctabfold setselect void show list rectangl rect item length 0 return item show list requir int index index singl index 0 index item length 1 return singl item length 1 select index 1 return menu menu menu final string id ctabfold showlist index non nl 1 int 0 item length singl select index continu index index continu tab item tab item menu item item menu item menu swt item set text tab text item set imag tab imag item set data id tab item add select listen select adapt public void widget select select event menu item menu item menu item widget int index index tab item menu item data id tab folder set select index true int rect int rect rect height point locat displai map null menu set locat locat locat menu set visibl true displai displai displai menu dispos menu visibl displai read dispatch displai sleep menu dispos showlist lastindex getlastindex firstindex lastindex selectedindex ctabfold_showlist_index selectedindex firstindex lastindex ctabitem menuitem menuitem settext gettext setimag getimag setdata addselectionlisten selectionadapt widgetselect selectionev menuitem menuitem menuitem indexof ctabitem menuitem getdata ctabfold setselect getdisplai setloc setvis getdisplai isdispos isvis readanddispatch show select select show receiv method simpli return item scroll select visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tab folder show item tab item 2 0 public void show select check widget select index 1 show item select swtexcept error_widget_dispos error_thread_invalid_access ctabfold showitem ctabitem showselect checkwidget selectedindex showitem getselect void hide tool tip tool tip shell null return int 0 tool tip event length remov listen tool tip event tool tip listen tool tip shell dispos tool tip shell null tool tip label null hidetooltip tooltipshel tooltipev removelisten tooltipev tooltiplisten tooltipshel tooltipshel tooltiplabel void show tool tip int int tool tip shell null tool tip shell shell shell swt top tool tip label label tool tip shell swt center displai displai tool tip shell displai tool tip label set foreground displai system color swt color info foreground tool tip label set background displai system color swt color info background int 0 tool tip event length add listen tool tip event tool tip listen updat tool tip tool tip shell set visibl true hide tool tip showtooltip tooltipshel tooltipshel getshel on_top tooltiplabel tooltipshel tooltipshel getdisplai tooltiplabel setforeground getsystemcolor color_info_foreground tooltiplabel setbackground getsystemcolor color_info_background tooltipev addlisten tooltipev tooltiplisten updatetooltip tooltipshel setvis hidetooltip boolean updat item boolean chang fals boolean show chevron show chevron set item size chang true set item locat chang true item length 0 tab item item item item length 1 item item width item edg int first index set index item length 1 first index chang true set button bound select index 1 int top index show item item select index top index chang true show chevron show chevron chang true chang tool tip shell null point pt displai cursor locat pt control pt updat tool tip pt pt hide tool tip return chang updateitem oldshowchevron showchevron setitems setitemloc ctabitem getrightitemedg firstindex setlastindex firstindex setbuttonbound selectedindex firstindex showitem selectedindex firstindex showchevron oldshowchevron tooltipshel getdisplai getcursorloc tocontrol updatetooltip hidetooltip boolean updat tab height boolean forc int height tab height fix tab height swt default tab height fix tab height 0 0 fix tab height 1 1 line drawn top tab int temp height 0 gc gc gc int 0 item length temp height math max temp height item prefer height gc gc dispos tab height temp height forc tab height height return fals size null bottom int tab height 12 curv int 0 13 0 12 2 12 3 11 5 11 6 10 7 10 9 8 10 8 11 7 11 7 12 6 13 6 15 4 16 4 17 3 19 3 20 2 22 2 23 1 curv width 26 curv indent curv width 3 int tab height 12 curv int 0 0 0 1 2 1 3 2 5 2 6 3 7 3 9 5 10 5 11 6 11 6 12 7 13 7 15 9 16 9 17 10 19 10 20 11 22 11 23 12 curv width 26 curv indent curv width 3 notifi listen swt resiz event return true updatetabheight oldheight tabheight fixedtabheight tabheight fixedtabheight fixedtabheight tempheight tempheight tempheight preferredheight tabheight tempheight tabheight oldheight oldsiz onbottom tabheight curvewidth curveind curvewidth tabheight curvewidth curveind curvewidth notifylisten string gettooltip int int show min min rect return minim swt messag swt restor swt messag swt minim non nl 1 non nl 2 show max max rect return maxim swt messag swt restor swt messag swt maxim non nl 1 non nl 2 show chevron chevron rect return swt messag swt showlist non nl 1 tab item item item point item null return null item show return null show close item show close item close rect return swt messag swt close non nl 1 return item tool tip text _gettooltip showmin minrect getmessag swt_restor getmessag swt_minim showmax maxrect getmessag swt_restor getmessag swt_maxim showchevron chevronrect getmessag swt_showlist ctabitem getitem isshow showclos showclos closerect getmessag swt_close gettooltiptext boolean updat tool tip int int string tooltip gettooltip tooltip null return fals tooltip equal tool tip label text return true tool tip label set text tooltip point label size tool tip label comput size swt default swt default label size 2 label size 2 tool tip label set size label size tool tip shell pack platform minimum size shell greater label size avoid background tip shell show label forc label fill entir client area rectangl area tool tip shell client area tool tip label set size area width area height posit tooltip ensur locat screen point cursor locat displai cursor locat assum cursor 21x21 size arrow cursor window int cursor height 21 point size tool tip shell size rectangl rect monitor bound point pt point cursor locat cursor locat cursor height 2 pt math max pt rect pt size rect rect width pt rect rect width size pt size rect rect height pt cursor locat 2 size tool tip shell set locat pt return true updatetooltip _gettooltip tooltiplabel gettext tooltiplabel settext labels tooltiplabel computes labels labels tooltiplabel setsiz labels tooltipshel tooltipshel getclientarea tooltiplabel setsiz cursorloc getdisplai getcursorloc cursorheight tooltipshel getsiz getmonitor getbound cursorloc cursorloc cursorheight cursorloc tooltipshel setloc user click close button item tab folder item close event item field set event doit field fals stop tab item close tab item close dispos content tab item tab item set control visibl tab item close default behaviour close tab item param event event indic item close ctabfold ctabitem ctabitem ctabitem ctabitem setcontrol ctabitem ctabitem user click minim button tab folder default behaviour param event event inform minim ctabfold user click maxim button tab folder default behaviour param event event inform maxim ctabfold user click restor button tab folder default behaviour param event event inform restor ctabfold user click chevron button tab folder default behaviour show list item visibl chang select base item select list param event event inform show list ctabfold user click close button item tab folder item close event item field set event doit field fals stop tab item close tab item close dispos content tab item tab item set control visibl tab item close param event event indic item close ctabfold ctabitem ctabitem ctabitem ctabitem setcontrol ctabitem user click minim button tab folder the tab folder chang automat applic chang the tab folder respons event tab folder set minim true param event event inform minim tab folder minim tab folder set minim boolean tab folder set minim visibl boolean ctabfold ctabfold ctabfold ctabfold setminim ctabfold getminim ctabfold setminim ctabfold setminimizevis user click maxim button tab folder the tab folder chang automat applic chang the tab folder respons event tab folder set maxim true param event event inform maxim tab folder maxim tab folder set maxim boolean tab folder set maxim visibl boolean ctabfold ctabfold ctabfold ctabfold setmaxim ctabfold getmaxim ctabfold setmaxim ctabfold setmaximizevis user click restor button tab folder event restor tab folder minim maxim determin restor request tab folder minim tab folder maxim determin current the tab folder chang automat applic chang the tab folder respons event tab folder set maxim fals tab folder set minim fals param event event inform restor tab folder minim tab folder maxim tab folder set minim boolean tab folder set minim visibl boolean tab folder set maxim boolean tab folder set maxim visibl boolean ctabfold ctabfold ctabfold getminim ctabfold getmaxim ctabfold ctabfold ctabfold setmaxim ctabfold setminim ctabfold getminim ctabfold getmaxim ctabfold setminim ctabfold setminimizevis ctabfold setmaxim ctabfold setmaximizevis user click chevron button tab folder chevron appear tab folder tab displai current widget size select tab visibl user click chevron select tab item list default tab folder list item visibl applic provid list set event doit field code fals code displai select list param event event inform show list tab folder set select tab item ctabfold ctabfold ctabfold ctabfold setselect ctabitem public class tab folder adapt implement tab folder listen public void item close tab folder event event ctabfolderadapt ctabfolderlisten itemclos ctabfolderev construct instanc class param widget fire event tab folder event widget super ctabfolderev return string concis human readabl descript receiv return string represent event public string string string string super string return string substr 0 string length 1 remov trail item item doit doit x y width width height height tostr tostr user click close button item tab folder item close event item field set event doit field fals stop tab item close tab item close dispos content tab item tab item set control visibl tab item close param event event indic item close ctabfold ctabitem ctabitem ctabitem ctabitem setcontrol ctabitem construct instanc class parent code tab folder code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent tab folder parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt widget style public tab item tab folder parent int style parent style parent item count ctabfold ctabfold illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl ctabitem ctabfold getitemcount construct instanc class parent code tab folder code style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent tab folder parent instanc null param style style control construct param index index store receiv parent except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt widget style public tab item tab folder parent int style int index super parent check style style show close style swt close 0 parent creat item index ctabfold ctabfold illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl ctabitem ctabfold checkstyl showclos createitem parent creat item index static int check style int style return swt createitem checkstyl static string shorten text gc gc string text int width gc text extent text flag width return text int ellips width gc text extent ellipsi flag int length text length int end length 1 end 0 text text substr 0 end int gc text extent text flag ellips width width return text ellipsi end return text substr 0 1 shortentext textext ellipsewidth textext textext ellipsewidth public void dispos dispos return valid thread error swt error thread invalid access parent destroi item super dispos parent null control null tool tip text null shorten text null font null isdispos isvalidthread error_thread_invalid_access destroyitem tooltiptext shortenedtext void draw close gc gc close rect width 0 close rect height 0 return displai displai displai draw 9x9 int indent math max 1 tab folder button size 9 2 int close rect indent int close rect indent parent bottom 1 1 color close border displai system color tab folder button border switch close imag case tab folder normal int shape int 2 4 2 5 2 7 9 9 2 7 4 7 5 9 7 9 9 7 9 5 7 4 7 2 9 9 7 2 5 2 4 2 gc set background displai system color tab folder button fill gc fill polygon shape gc set foreground close border gc draw polygon shape break case tab folder hot int shape int 2 4 2 5 2 7 9 9 2 7 4 7 5 9 7 9 9 7 9 5 7 4 7 2 9 9 7 2 5 2 4 2 color fill color displai tab folder close fill gc set background fill gc fill polygon shape fill dispos gc set foreground close border gc draw polygon shape break case tab folder select int shape int 1 1 3 1 5 3 6 3 8 1 10 1 10 3 8 5 8 6 10 8 10 10 8 10 6 8 5 8 3 10 1 10 1 8 3 6 3 5 1 3 color fill color displai tab folder close fill gc set background fill gc fill polygon shape fill dispos gc set foreground close border gc draw polygon shape break case tab folder int shape int 10 10 10 10 parent gradient color null parent gradient vertic parent draw background gc shape fals color default background parent background imag imag parent bg imag color color parent gradient color int percent parent gradient percent boolean vertic parent gradient vertic parent draw background gc shape 10 10 default background imag color percent vertic break drawclos closerect closerect getdisplai ctabfold button_size closerect closerect onbottom closebord getsystemcolor ctabfold button_border closeimagest ctabfold setbackground getsystemcolor ctabfold button_fill fillpolygon setforeground closebord drawpolygon ctabfold ctabfold close_fill setbackground fillpolygon setforeground closebord drawpolygon ctabfold ctabfold close_fill setbackground fillpolygon setforeground closebord drawpolygon ctabfold gradientcolor gradientvert drawbackground defaultbackground getbackground bgimag gradientcolor gradientperc gradientvert drawbackground defaultbackground void draw select gc gc point size parent size int edg math min width parent item edg draw select border tab int xx parent border left int yy parent bottom size parent border bottom parent tab height parent highlight header parent border top parent tab height 1 int ww size parent border left parent border int hh parent highlight header 1 int shape int xx yy xx ww yy xx ww yy hh xx yy hh parent select gradient color null parent select gradient vertic parent draw background gc shape true gc set background parent select background gc fill rectangl xx yy ww hh parent singl show return select tab scroll view partial view draw bottom line show int x1 math max 0 parent border left 1 int y1 parent bottom 1 height int x2 size parent border gc set foreground tab folder border color gc draw line x1 y1 x2 y1 return draw select tab background outlin shape null parent bottom int left parent simpl tab folder simpl bottom left corner tab folder bottom left corner int parent simpl tab folder simpl bottom corner parent curv parent border left 0 parent index parent index left int height shape int left length length 8 int index 0 shape index point repeat reus shape draw outlin shape index 1 shape index shape index 1 int 0 left length 2 shape index left 2 shape index height left 2 1 1 int 0 length 2 shape index parent simpl edg 1 2 edg parent curv indent 2 shape index parent simpl height 2 1 1 2 1 2 shape index parent simpl edg 1 edg parent curv width parent curv indent shape index 1 shape index parent simpl edg 1 edg parent curv width parent curv indent shape index 1 int left parent simpl tab folder simpl top left corner tab folder top left corner int parent simpl tab folder simpl top corner parent curv parent border left 0 parent index parent index left int shape int left length length 8 int index 0 shape index point repeat reus shape draw outlin shape index height 1 shape index shape index height 1 int 0 left length 2 shape index left 2 shape index left 2 1 int 0 length 2 shape index parent simpl edg 1 2 edg parent curv indent 2 shape index 2 1 shape index parent simpl edg 1 edg parent curv width parent curv indent shape index height 1 shape index parent simpl edg 1 edg parent curv width parent curv indent shape index height 1 rectangl clip gc clip rectangl bound bound bound height 1 parent bottom bound 1 boolean tab paint clip intersect bound tab paint fill tab background parent select gradient color null parent select gradient vertic parent draw background gc shape true color default background parent select background imag imag parent select bg imag color color parent select gradient color int percent parent select gradient percent boolean vertic parent select gradient vertic xx yy parent bottom 1 1 ww width hh height parent singl parent simpl ww parent curv width parent curv indent parent draw background gc shape xx yy ww hh default background imag color percent vertic draw outlin shape 0 math max 0 parent border left 1 parent border left 0 parent index parent index shape 1 parent bottom height 1 shape 5 shape 3 shape 1 shape shape length 2 size parent border 1 int 0 shape length 2 shape 2 1 height 1 shape 2 1 1 rgb insid parent select background getrgb parent select bg imag null parent select gradient color null parent select gradient color length 1 insid null rgb parent background getrgb parent bg imag null parent gradient color null parent gradient color length 1 null parent antialia shape tab folder border color getrgb insid gc gc set foreground tab folder border color gc draw polylin shape tab paint return draw imag int draw left margin parent singl parent show close show close draw tab folder button size imag imag imag imag null rectangl imag bound imag bound draw imag won overlap close button int max imag width edg draw margin parent singl close rect width 0 max imag width close rect width intern space imag bound width max imag width int imagex draw int imag height imag bound height int imagei height imag height 2 imagei parent bottom 1 1 int imag width imag bound width imag height imag bound height gc draw imag imag imag bound imag bound imag bound width imag bound height imagex imagei imag width imag height draw imag width intern space draw text int text width edg draw margin parent singl close rect width 0 text width close rect width intern space text width 0 font gc font gc font gc set font font null parent font font shorten text null shorten text width text width shorten text shorten text gc text text width shorten text width text width point extent gc text extent shorten text flag int texti height extent 2 texti parent bottom 1 1 gc set foreground parent select foreground gc draw text shorten text draw texti flag gc set font gc font draw focu rectangl parent focu control displai displai displai parent simpl parent singl gc set background displai system color swt color black gc set foreground displai system color swt color white gc draw focu draw 1 texti 1 extent 2 extent 2 gc set foreground displai system color tab folder button border gc draw line draw texti extent 1 draw extent 1 texti extent 1 parent show close show close draw close gc drawselect getsiz rightedg getrightitemedg borderleft onbottom borderbottom tabheight highlight_header bordertop tabheight borderleft borderright highlight_header selectiongradientcolor selectiongradientvert drawbackground setbackground selectionbackground fillrectangl isshow isshow borderleft onbottom borderright setforeground ctabfold bordercolor drawlin onbottom ctabfold simpl_bottom_left_corner ctabfold bottom_left_corner ctabfold simpl_bottom_right_corner borderleft indexof firstindex rightedg rightedg curveind rightedg rightedg curvewidth curveind rightedg rightedg curvewidth curveind ctabfold simpl_top_left_corner ctabfold top_left_corner ctabfold simpl_top_right_corner borderleft indexof firstindex rightedg rightedg curveind rightedg rightedg curvewidth curveind rightedg rightedg curvewidth curveind getclip getbound onbottom tabinpaint tabinpaint selectiongradientcolor selectiongradientvert drawbackground defaultbackground selectionbackground selectionbgimag selectiongradientcolor selectiongradientperc selectiongradientvert onbottom curvewidth curveind drawbackground defaultbackground borderleft borderleft indexof firstindex onbottom borderright selectionbackground selectionbgimag selectiongradientcolor selectiongradientcolor getbackground bgimag gradientcolor gradientcolor ctabfold bordercolor setforeground ctabfold bordercolor drawpolylin tabinpaint xdraw left_margin showclos showclos xdraw ctabfold button_size getimag imagebound getbound maximagewidth rightedg xdraw right_margin closerect maximagewidth closerect intern_space imagebound maximagewidth xdraw imageheight imagebound imageheight onbottom imagewidth imagebound imageheight imagebound drawimag imagebound imagebound imagebound imagebound imagewidth imageheight xdraw imagewidth intern_space textwidth rightedg xdraw right_margin closerect textwidth closerect intern_space textwidth gcfont getfont setfont getfont shortenedtext shortenedtextwidth textwidth shortenedtext shortentext gettext textwidth shortenedtextwidth textwidth textext shortenedtext onbottom setforeground selectionforeground drawtext shortenedtext xdraw setfont gcfont isfocuscontrol getdisplai setbackground getsystemcolor color_black setforeground getsystemcolor color_white drawfocu xdraw setforeground getsystemcolor ctabfold button_border drawlin xdraw xdraw showclos showclos drawclos void draw unselect gc gc draw partial item show return rectangl clip gc clip rectangl bound bound clip intersect bound return draw border parent index parent select index 1 gc set foreground tab folder border color gc draw line width 1 width 1 height draw imag int draw left margin imag imag imag imag null parent show unselect imag rectangl imag bound imag bound draw imag won overlap close button int max imag width width draw margin parent show unselect close parent show close show close max imag width close rect width intern space imag bound width max imag width int imagex draw int imag height imag bound height int imagei height imag height 2 imagei parent bottom 1 1 int imag width imag bound width imag height imag bound height gc draw imag imag imag bound imag bound imag bound width imag bound height imagex imagei imag width imag height draw imag width intern space draw text int text width width draw margin parent show unselect close parent show close show close text width close rect width intern space text width 0 font gc font gc font gc set font font null parent font font shorten text null shorten text width text width shorten text shorten text gc text text width shorten text width text width point extent gc text extent shorten text flag int texti height extent 2 texti parent bottom 1 1 gc set foreground parent foreground gc draw text shorten text draw texti flag gc set font gc font draw close parent show unselect close parent show close show close draw close gc drawunselect isshow getclip getbound indexof selectedindex setforeground ctabfold bordercolor drawlin xdraw left_margin getimag showunselectedimag imagebound getbound maximagewidth xdraw right_margin showunselectedclos showclos showclos maximagewidth closerect intern_space imagebound maximagewidth xdraw imageheight imagebound imageheight onbottom imagewidth imagebound imageheight imagebound drawimag imagebound imagebound imagebound imagebound imagewidth imageheight xdraw imagewidth intern_space textwidth xdraw right_margin showunselectedclos showclos showclos textwidth closerect intern_space textwidth gcfont getfont setfont getfont shortenedtext shortenedtextwidth textwidth shortenedtext shortentext gettext textwidth shortenedtextwidth textwidth textext shortenedtext onbottom setforeground getforeground drawtext shortenedtext xdraw setfont gcfont showunselectedclos showclos showclos drawclos return rectangl describ receiv size locat rel parent return receiv bound column rectangl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public rectangl bound check widget int width parent simpl parent singl parent index parent select index parent curv width parent curv indent return rectangl height swtexcept error_widget_dispos error_thread_invalid_access getbound checkwidget indexof selectedindex curvewidth curveind control displai content tab item return control except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public control control check widget return control swtexcept error_widget_dispos error_thread_invalid_access getcontrol checkwidget imag displai tab tab disabl return disabl imag null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul deprec disabl imag public imag disabl imag check widget return disabl imag swtexcept error_widget_dispos error_thread_invalid_access getdisabledimag checkwidget disabledimag return font receiv paint textual inform return receiv font except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public font font check widget font null return font return parent font swtexcept error_widget_dispos error_thread_invalid_access getfont checkwidget getfont return receiv parent code tab folder code return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tab folder parent check widget return parent ctabfold swtexcept error_widget_dispos error_thread_invalid_access ctabfold getpar checkwidget return receiv tool tip text null set return receiv tool tip text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string tool tip text check widget tool tip text null shorten text null string text text shorten text equal text return text return tool tip text swtexcept error_widget_dispos error_thread_invalid_access gettooltiptext checkwidget tooltiptext shortenedtext gettext shortenedtext tooltiptext return code true code item render visibl area tab folder return fals return code true code item render visibl area tab folder return fals except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public boolean show check widget int index parent index int edg parent item edg parent singl index parent select index return edg return fals index parent index return fals parent index index return edg int extra parent simpl index parent select index 0 parent curv width 2 parent curv indent return width extra edg ctabfold ctabfold swtexcept error_widget_dispos error_thread_invalid_access isshow checkwidget indexof rightedg getrightitemedg selectedindex rightedg firstindex firstindex rightedg selectedindex curvewidth curveind rightedg void paint gc gc boolean select width 0 height 0 return select draw select gc draw unselect gc onpaint isselect isselect drawselect drawunselect int prefer height gc gc imag imag imag int imag null 0 imag bound height string text text font null math max gc text extent text flag font gc font gc font gc set font font math max gc text extent text flag gc set font gc font return top margin bottom margin preferredheight getimag getbound gettext textext gcfont getfont setfont textext setfont gcfont top_margin bottom_margin int prefer width gc gc boolean select boolean minimum note prefer width includ dead space caus curv dispos return 0 int 0 imag imag imag imag null select parent show unselect imag imag bound width string text null minimum int min char parent min char text min char 0 null text text null text length min char int end min char ellipsi length 1 min char min char ellipsi length text text substr 0 end min char ellipsi length 1 text ellipsi text text text null 0 intern space font null gc text extent text flag font gc font gc font gc set font font gc text extent text flag gc set font gc font parent show close show close select parent show unselect close 0 intern space tab folder button size return left margin margin preferredwidth isselect isdispos getimag isselect showunselectedimag getbound minchar minchar minchar gettext minchar minchar minchar minchar minchar gettext intern_space textext gcfont getfont setfont textext setfont gcfont showclos showclos isselect showunselectedclos intern_space ctabfold button_size left_margin right_margin set control fill client area tab folder user select tab item param control control null except illeg argument except ul li error invalid argument control dispos li li error invalid parent control widget tree li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set control control control check widget control null control dispos swt error swt error invalid argument control parent parent swt error swt error invalid parent control null control dispos control set visibl fals control control control null int index parent index index parent select index control set bound parent client area control set visibl true control set visibl fals illegalargumentexcept error_invalid_argument error_invalid_parent swtexcept error_widget_dispos error_thread_invalid_access setcontrol checkwidget isdispos error_invalid_argument getpar error_invalid_parent isdispos setvis indexof getselectionindex setbound getclientarea setvis setvis set imag displai tab item disabl null clear imag param imag imag displai item disabl null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul deprec imag public void set disabl imag imag imag check widget imag null imag dispos swt error swt error invalid argument disabl imag imag swtexcept error_widget_dispos error_thread_invalid_access setdisabledimag checkwidget isdispos error_invalid_argument disabledimag set font receiv paint textual inform item font argument default font kind control argument null param font font null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set font font font check widget font null font dispos swt error swt error invalid argument font null font null return font null font equal font return font font parent updat tab height fals parent updat item parent redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setfont checkwidget isdispos error_invalid_argument updatetabheight updateitem public void set imag imag imag check widget imag null imag dispos swt error swt error invalid argument imag imag imag imag null imag null return imag null imag equal imag return super set imag imag parent updat tab height fals parent updat item parent redraw setimag checkwidget isdispos error_invalid_argument oldimag getimag oldimag oldimag setimag updatetabheight updateitem public void set text string string check widget string null swt error swt error null argument string equal text return super set text string shorten text null shorten text width 0 parent updat item parent redraw settext checkwidget error_null_argument gettext settext shortenedtext shortenedtextwidth updateitem set receiv tool tip text argument null indic tool tip text shown param string tool tip text null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set tool tip text string string check widget tool tip text string swtexcept error_widget_dispos error_thread_invalid_access settooltiptext checkwidget tooltiptext creat default content initi code style text content empti line default content super set text defaultcont styledtextcont defaultcont settext add line end line index arrai increas size arrai code line count code updat reflect entri param start start line param length length line void add line index int start int length int size line length line count size expand line power 2 int line int size compat pow2 expand exp 2 system arraycopi line 0 line 0 size line line expand exp int rang int start length line line count rang line count linecount addlineindex linecount newlin expandexp newlin newlin expandexp linecount linecount add line index end code line arrai code increas size arrai return arrai param start start line param length length line param line arrai arrai add line index param count posit add line return arrai line index int add line index int start int length int line arrai int count int size line arrai length int line line arrai count size line int size compat pow2 replac expand exp 2 replac expand exp system arraycopi line arrai 0 line 0 size int rang int start length line count rang return line linesarrai linesarrai addlineindex linesarrai linesarrai newlin linesarrai newlin replaceexpandexp replaceexpandexp linesarrai newlin newlin newlin add code text chang listen code listen code text chang event code code text chang event code code text chang event code text occur code text chang event code text occur param listen listen except illeg argument except ul li error null argument listen null li ul public void add text chang listen text chang listen listen listen null error swt error null argument style text listen type listen style text listen listen text listen add element type listen textchangelisten textchangingev textchangedev textchangingev textchangedev illegalargumentexcept error_null_argument addtextchangelisten textchangelisten error_null_argument styledtextlisten typedlisten styledtextlisten textlisten addel typedlisten adjust gap accomod text chang occur param posit posit chang occur param size hint size chang param line line gap void adjust gap int posit int size hint int line posit gap start text insert gap posit int size gap end gap start size hint low watermark size size high watermark return posit size hint gap start size hint 0 text delet gap posit int size gap end gap start size hint low watermark size size high watermark return move resiz gap posit size hint line sizehint adjustgap sizehint gapstart gapend gapstart sizehint lowwatermark highwatermark sizehint gapstart sizehint gapend gapstart sizehint lowwatermark highwatermark moveandresizegap sizehint calcul index line text store assum gap exist optim check void index line int start 0 line count 0 int text length text store length int i start text length char ch text store ch swt cr charact lf 1 text length ch text store 1 ch swt lf add line index start start 1 start 1 ch swt lf add line index start start 1 start 1 add line index start start indexlin linecount textlength textstor textlength textstor textlength textstor addlineindex addlineindex addlineindex return charact line delimit cr lf valid line delimit param ch charact test return true ch delimit fals boolean delimit char ch ch swt cr return true ch swt lf return true return fals isdelimit determin replac oper valid default content allow line delimit split partial delet param start start offset text replac param replac length start offset text replac param text start offset text replac protect boolean valid replac int start int replac length string text replac length 0 insert text line delimit split start 0 return true start char count return true char text rang start 1 1 char 0 char text rang start 1 char 0 return fals delet text part line delimit delet char start char text rang start 1 char 0 start char char delet posit start 0 char text rang start 1 1 char 0 return fals char end char text rang start replac length 1 1 char 0 end char char delet posit start replac length char count char text rang start replac length 1 char 0 return fals return true defaultcont replacelength newtext isvalidreplac replacelength newtext replacelength getcharcount gettextrang charat gettextrang charat startchar gettextrang charat startchar gettextrang charat endchar gettextrang replacelength charat endchar replacelength getcharcount gettextrang replacelength charat calcul index line text rang param offset logic start offset text lineat param length length text lineat includ gap param num line number line initi alloc line index arrai pass effici exact number line known return line index arrai line identifi start offset length int index line int offset int length int num line int index line int num line 2 int start 0 int line cnt 0 int replac expand exp 1 start length int locat offset locat gap start locat gap end ignor gap char ch text store locat ch swt cr charact lf locat 1 text store length ch text store locat 1 ch swt lf index line add line index start start 1 index line line cnt line cnt start 1 ch swt lf index line add line index start start 1 index line line cnt line cnt start 1 int line int line cnt 1 2 system arraycopi index line 0 line 0 line cnt int rang int start start line line cnt rang return line numlin indexlin numlin indexedlin numlin linecnt replaceexpandexp gapstart gapend textstor textstor textstor indexedlin addlineindex indexedlin linecnt linecnt indexedlin addlineindex indexedlin linecnt linecnt newlin linecnt indexedlin newlin linecnt newlin linecnt newlin insert text param posit posit insert text param length text insert void insert int posit string text text length 0 return int start line line offset posit int chang text length boolean end insert posit char count adjust gap posit chang start line insert gap adjust start posit startlin insert text gap int start line offset offset line start line point start line length includ start line newli insert text int start line length physic line start line length chang 0 shrink gap gap start chang int 0 text length text store posit text char figur number line insert int line index line start line offset start line length 10 insert empti line line text int num line line length 1 line num line 1 0 insert line line end insert insert happen end text leav num line line concaten line num line 1 num line 1 room line expand line num line shift line replac line int line count 1 start line line num line line insert line int 0 num line line 0 start line offset line start line line updat insert line num line line length line num line 0 start line offset line start line num line line num line line count num line gap line line physic offset gap start startlin getlineatoffset endinsert getcharcount adjustgap startlin startlineoffset getoffsetatlin startlin startlinelength startlinelength getphysicallin startlin gapstart textstor charat newlin indexlin startlineoffset startlinelength numnewlin newlin newlin numnewlin endinsert numnewlin numnewlin numnewlin expandlinesbi numnewlin linecount startlin numnewlin numnewlin newlin startlineoffset startlin newlin numnewlin newlin newlin numnewlin startlineoffset startlin numnewlin newlin numnewlin linecount numnewlin gaplin getlineatphysicaloffset gapstart move gap adjust size anticip text chang gap resiz actual size size move posit param posit posit chang occur param size hint size chang param line line gap put void move resiz gap int posit int size int gap line char content null int size gap end gap start int size size 0 size high watermark size size low watermark size remov gap line inform gap exist adjust line length line gap line 1 line gap line 1 size adjust offset line gap line int gap line 1 line count line 0 line 0 size size 0 size 0 remov gap content char text store length size system arraycopi text store 0 content 0 gap start system arraycopi text store gap end content gap start content length gap start text store content gap start gap end posit return content char text store length size size int gap start posit int gap end gap start size size 0 system arraycopi text store 0 content 0 gap start system arraycopi text store gap start content gap end content length gap end gap start gap start int delta gap start gap start system arraycopi text store 0 content 0 gap start system arraycopi text store gap start content gap end delta system arraycopi text store gap end content gap end delta text store length gap end int delta gap start gap start system arraycopi text store 0 content 0 gap start system arraycopi text store gap end content gap start delta system arraycopi text store gap end delta content gap end content length gap end text store content gap start gap start gap end gap end add gap line inform gap exist gap line gap line adjust line length int gap length gap end gap start line gap line 1 line gap line 1 gap length adjust offset line gap line int gap line 1 line count line 0 line 0 gap length sizehint moveandresizegap newgaplin oldsiz gapend gapstart newsiz newsiz highwatermark newsiz lowwatermark gapexist gaplin gaplin oldsiz gaplin gaplin linecount oldsiz newsiz oldsiz textstor oldsiz textstor gapstart textstor gapend gapstart gapstart textstor gapstart gapend textstor newsiz oldsiz newgapstart newgapend newgapstart newsiz oldsiz textstor newgapstart textstor newgapstart newgapend newgapend newgapstart gapstart gapstart newgapstart textstor newgapstart textstor newgapstart newgapend textstor gapend newgapend textstor gapend newgapstart gapstart textstor gapstart textstor gapend gapstart textstor gapend newgapend newgapend textstor gapstart newgapstart gapend newgapend gapexist gaplin newgaplin gaplength gapend gapstart gaplin gaplin gaplength gaplin gaplin linecount gaplength return number line text param start offset start text lineat param length length text lineat return number line int line count int start offset int length length 0 return 0 int line cnt 0 int count 0 int start offset gap start gap end gap start count length gap start gap end ignor gap char ch text store ch swt cr charact lf 1 text store length ch text store 1 ch swt lf count line cnt ch swt lf line cnt count return line cnt startoffset linecount startoffset linecnt startoffset gapstart gapend gapstart gapstart gapend textstor textstor textstor linecnt linecnt linecnt return number line text param text text lineat return number line text int line count string text int line count 0 int length text length int 0 length char ch text char ch swt cr 1 length text char 1 swt lf line count ch swt lf line count return line count linecount linecount charat charat linecount linecount linecount return logic length text store public int char count int length gap end gap start return text store length length getcharcount gapend gapstart textstor return line code index code delimit param index index line return return logic line text gap except illeg argument except ul li error invalid argument index rang li ul public string line int index index line count index 0 error swt error invalid argument int start line index 0 int length line index 1 int end start length 1 gap exist end gap start start gap end line gap length 1 0 delimit text store start length 1 length return string text store start length gap rang strip gap string buffer buf string buffer int gap length gap end gap start buf append text store start gap start start buf append text store gap end length gap length gap start start length buf length length 1 0 delimit buf char length 1 length return buf string substr 0 length illegalargumentexcept error_invalid_argument getlin linecount error_invalid_argument gapexist gapstart gapend isdelimit textstor textstor stringbuff stringbuff gaplength gapend gapstart textstor gapstart textstor gapend gaplength gapstart isdelimit charat tostr return line delimit style text widget insert line delimit delimit code style text content code interfac return platform line delimit line separ system properti public string line delimit return line delimit styledtext styledtextcont getlinedelimit linedelimit return line index delimit param index index line return return logic line text gap delimit string full line int index int start line index 0 int length line index 1 int end start length 1 gap exist end gap start start gap end line gap return string text store start length gap rang strip gap string buffer buf string buffer int gap length gap end gap start buf append text store start gap start start buf append text store gap end length gap length gap start start return buf string getfulllin gapexist gapstart gapend textstor stringbuff stringbuff gaplength gapend gapstart textstor gapstart textstor gapend gaplength gapstart tostr return physic line index delimit gap param index line index return physic line string physic line int index int start line index 0 int length line index 1 return physic text start length getphysicallin getphysicaltext return number line text store public int line count return line count getlinecount linecount return line offset param char posit logic charact offset includ gap return line index except illeg argument except ul li error invalid argument char posit rang li ul public int line offset int char posit int posit char posit char count char posit 0 error swt error invalid argument char posit gap start posit gap posit char posit posit includ gap posit char posit gap end gap start line line empti ask posit doesn exist the charact insert line count 0 int line line count 1 posit line line 0 line line 1 return line int high line count int low 1 int index line count high low 1 index high low 2 int line start line index 0 int line end line start line index 1 1 posit line start high index posit line end high index break low index return high charposit illegalargumentexcept error_invalid_argument charposit getlineatoffset charposit charposit getcharcount charposit error_invalid_argument charposit gapstart charposit charposit gapend gapstart linecount lastlin linecount lastlin lastlin lastlin linecount linecount linestart lineend linestart linestart lineend return line index physic offset param posit physic charact offset includ gap return line index int line physic offset int posit int high line count int low 1 int index line count high low 1 index high low 2 int line start line index 0 int line end line start line index 1 1 posit line start high index posit line end high index break low index return high getlineatphysicaloffset linecount linecount linestart lineend linestart linestart lineend return logic offset line param line index index line return logic start offset line line offset line 0 valid call answer 0 except illeg argument except ul li error invalid argument line index rang li ul public int offset line int line index line index 0 return 0 line index line count line index 0 error swt error invalid argument int start line line index 0 start gap end return start gap end gap start return start lineindex getoffsetatlin illegalargumentexcept error_invalid_argument lineindex getoffsetatlin lineindex lineindex lineindex linecount lineindex error_invalid_argument lineindex gapend gapend gapstart increas line index arrai accomod line param num line number increas arrai void expand line int num line int size line length size line count num line return int line int size math max 10 num line 2 system arraycopi line 0 line 0 size line line numlin expandlinesbi numlin linecount numlin newlin numlin newlin newlin report swt error param code error code void error int code swt error code return gap exist text store return true gap exist fals boolean gap exist return gap start gap end gapexist gapstart gapend return string repres contin content text store param start physic start offset text return param length physic length text return return text string physic text int start int length return string text store start length getphysicaltext textstor return string repres logic content text store gap strip param start logic start offset text return param length logic length text return return text public string text rang int start int length text store null return length 0 return int end start length gap exist end gap start return string text store start length gap start start int gap length gap end gap start return string text store start gap length length string buffer buf string buffer buf append text store start gap start start buf append text store gap end end gap start return buf string gettextrang textstor gapexist gapstart textstor gapstart gaplength gapend gapstart textstor gaplength stringbuff stringbuff textstor gapstart textstor gapend gapstart tostr remov code text chang listen code param listen listen except illeg argument except ul li error null argument listen null li ul public void remov text chang listen text chang listen listen listen null error swt error null argument int 0 text listen size type listen type listen type listen text listen element type listen event listen listen text listen remov element break textchangelisten illegalargumentexcept error_null_argument removetextchangelisten textchangelisten error_null_argument textlisten typedlisten typedlisten typedlisten textlisten elementat typedlisten geteventlisten textlisten removeelementat replac text code text code start posit code start code length code replac length code notifi listen send text chang event code line count code number line go insert code replac line count code number line go delet base chang occur visual ul li replac text text replac line count line count li 0 1 li n 2 0 ul param start start offset text replac param replac length start offset text replac param text start offset text replac except swt except ul li error invalid argument text chang result multi byte line delimit split partial delet split line delimit insert text cr lf charact delimit delet part line delimit support li ul public void replac text rang int start int replac length string text check invalid replac oper valid replac start replac length text swt error swt error invalid argument inform listen style text event event style text event event type style text text chang event start start event replac line count line count start replac length event text text event line count line count text event replac char count replac length event char count text length send text event event delet text replac delet start replac length event replac line count 1 insert text insert start text inform listen event style text event event type style text text chang send text event event print line newtext replacelength textchangingev newlinecount replacelinecount replacetext newtext replacelinecount newlinecount replacelength newtext swtexcept error_invalid_argument replacetextrang replacelength newtext isvalidreplac replacelength newtext error_invalid_argument styledtextev styledtextev styledtext textchang replacelinecount linecount replacelength newtext newlinecount linecount newtext replacecharcount replacelength newcharcount newtext sendtextev replacelength replacelinecount newtext styledtextev styledtext textchang sendtextev printlin send text listen text chang event void send text event style text event event int 0 text listen size style text listen text listen element handl event event textchang sendtextev styledtextev textlisten styledtextlisten textlisten elementat handleev set content text remov gap predict chang occur param text text public void set text string text text store text char arrai gap start 1 gap end 1 expand exp 1 index line style text event event style text event event type style text text set event text send text event event settext textstor tochararrai gapstart gapend expandexp indexlin styledtextev styledtextev styledtext textset sendtextev delet text param posit posit text delet start param length length text delet param num line number line delet void delet int posit int length int num line length 0 return int start line line offset posit int start line offset offset line start line int end line line offset posit length string end text boolean split delimit fals posit length char count end text text rang posit length 1 2 end text char 0 swt cr end text char 1 swt lf split delimit true adjust gap posit length length start line int line index line posit length gap end gap start num line enlarg gap gap enlarg left posit length gap start gap start length gap end length figur length concaten line find line delmit posit int posit boolean eol fals text store length eol gap start gap end char ch text store delimit ch 1 text store length ch swt cr text store 1 swt lf eol true updat line delet start line start line 1 posit start line offset posit figur number line delet int num line line length 1 split delimit num line 1 shift line delet line need updat offset length line int end line 1 line count line num line line line count num line gap line line physic offset gap start numlin numlin startlin getlineatoffset startlineoffset getoffsetatlin startlin endlin getlineatoffset endtext splittingdelimit getcharcount endtext gettextrang endtext charat endtext charat splittingdelimit adjustgap startlin oldlin indexlin gapend gapstart numlin gapstart gapstart gapend textstor gapstart gapend textstor isdelimit textstor textstor startlin startlineoffset numoldlin oldlin splittingdelimit numoldlin endlin linecount numoldlin linecount numoldlin gaplin getlineatphysicaloffset gapstart creat default line styler param content text style appli public default line styler style text content content content content line count content line count line background color line count defaultlinestyl styledtextcont linecount getlinecount linebackground linecount insert style locat param style style param index index insert style style resid index void insert style style rang style int index insert style style rang style index insertstyl stylerang insertstyl stylerang insert style locat param insert style style param index index insert style style resid index void insert style style rang insert style int index int size style length int insert count insert style length int space need style count insert count size space need 0 style rang style style rang size space need system arraycopi style 0 style 0 size style style shift style room style system arraycopi style index style index insert count style count index add style system arraycopi insert style 0 style index insert count style count style count insert count insertstyl insertstyl stylerang insertstyl insertcount insertstyl spaceneed stylecount insertcount spaceneed stylerang newstyl stylerang spaceneed newstyl newstyl insertcount stylecount insertstyl insertcount stylecount stylecount insertcount insert style merg adjac style param style style param index index insert style style resid index return true style insert fals style merg adjac style boolean insert merg style style rang style int index merg style style index return fals merg style style index return fals insert style style index return true insertmergestyl stylerang mergestylebefor mergestyleaft insertstyl merg style style param style style param index index attempt merg return true style merg fals boolean merg style style rang style int index style similar style merg style index 0 style rang previou style index 1 style similar previou start style need rang previou style end style need start style int previou end previou start previou length style start previou end style start previou start int style end style start style length index style count style end style index start previou length style start style length previou start return true return fals mergestylebefor stylerang stylerang similarto previousend previousend styleend stylecount styleend merg style style param style style param index index attempt merg return true style merg fals boolean merg style style rang style int index style similar style merg style index style count style rang style index style similar end style need rang style start style need end previou style int style end style start style length int end start length style end end style end start index 0 style start style index 1 start style index 1 length length start length style start start style start return true return fals mergestyleaft stylerang stylecount stylerang similarto styleend nextend styleend nextend styleend remov style inform defin rang text code clear style code param clear style style inform clear void clear style style rang clear style point pt overlap style clear style start clear style length int clear style end clear style start clear style length 1 overlap style exist pt null pt 0 return style overlap exist style pt index overlap style pt number overlap style int count 0 int delet style 1 int delet count 0 int pt count pt style rang overlap style int overlap end overlap start overlap length 1 overlap start clear style start overlap end clear style end end overlap need clear overlap length clear style start overlap start middl overlap need clear overlap broken style rang end style style rang overlap clone end style start clear style end 1 end style length overlap end clear style end overlap length clear style start overlap start insert style end style 1 break overlap end clear style end entir overlap need clear delet style 1 delet style delet count begin overlap need clear overlap start clear style end 1 overlap length overlap end overlap start 1 break count delet style delet style delet count clearstyl clearstyl clearstyl stylerang clearstyl getoverlappingstyl clearstyl clearstyl clearstyleend clearstyl clearstyl newstyl deletestyl deletecount stylerang overlapend clearstyl overlapend clearstyleend clearstyl stylerang endstyl stylerang endstyl clearstyleend endstyl overlapend clearstyleend clearstyl insertstyl endstyl overlapend clearstyleend deletestyl deletestyl deletecount clearstyleend overlapend deletestyl deletestyl deletecount increas code linebackground code arrai accomod line background inform param num line number increas arrai void expand line int num line int size line background length size line count num line return color line color size math max compat pow2 line expand exp num line system arraycopi line background 0 line 0 size line background line line expand exp numlin expandlinesbi numlin linebackground linecount numlin newlin lineexpandexp numlin linebackground newlin linebackground newlin lineexpandexp delet style code index code param index index style delet void delet style int index delet style index 1 deletestyl deletestyl delet count style start code index code param index index style delet param count number style delet void delet style int index int count count 0 index 0 return shift style system arraycopi style index count style index style count index count int 0 count style style count 1 null style count style count count deletestyl stylecount stylecount stylecount stylecount return style defin return copi arrai style style rang style rang style rang style style rang style count system arraycopi style 0 style 0 style count return style stylerang getstylerang stylerang newstyl stylerang stylecount newstyl stylecount newstyl handl line background color callback param event line offset line number input param event line text line text input param event background line background color output public void line background line background event event int line index content line offset event line offset event line background line background line index lineoffset linetext linegetbackground linebackgroundev lineindex getlineatoffset lineoffset linebackground linebackground lineindex handl line style inform callback param event line offset line number input param event line text line text input param event style arrai style rang need order output public void line style line style event event int line start event line offset int line end line start event line text length int high search style line start line end style rang style null vector line style vector index repres style start line end process end line continu process start line end line add rang start line end line add rang start line end line add rang start line end line add rang int index high index style count index style style index style start line end style start line end loop break int style end style start style length 1 style end line start line style add element style event style style rang line style size line style copi event style lineoffset linetext stylerang linegetstyl linestyleev linestart lineoffset lineend linestart linetext searchforstyl linestart lineend stylerang linestyl stylecount lineend styleend styleend linestart linestyl addel stylerang linestyl linestyl copyinto search style code start code code end code rang return index style overlap input rang int search style int start int end int high style count int low 1 int index high find index style rang binari search high low 1 index high low 2 style rang style style index int style end style start style length 1 start style start end style end start style start style end start style end end high index low index return high searchforstyl stylecount stylerang styleend styleend styleend styleend updat line background color reflect color call style text param start line index line color param line count number line color start start line param background background color line void set line background int start line int count color background int start line start line count line background background styledtext startlin linecount startlin setlinebackground startlin startlin startlin linebackground updat style reflect style code style code replac style rang method call default line styler merg style exist style call style text style ad call style text param style style inform void set style rang style rang style style null style style rang 0 style expand exp 1 style count 0 return style length 0 return style unstyl clear style style return point pt overlap style style start style length int style end style start style length 1 style exist pt null insert style style 0 return style overlap style pt 0 insert merg style style pt return style overlap exist style boolean ad fals style ad int count 0 pt index overlap style pt number overlap style int pt count pt style rang overlap style int overlap end overlap start overlap length 1 overlap start style start overlap end style end end overlap need replac style style similar overlap updat overlap accomod style overlap length style start style length overlap start overlap length style start overlap start style merg style overlap process merg style style 1 break insert style style overlap style continu process insert style style 1 ad true middl overlap need replac style overlap broken style similar overlap break style rang end style style rang overlap clone end style start style end 1 end style length overlap end style end overlap length style start overlap start insert style style 1 insert style end style 1 style overlap middl style impli process overlap style break overlap end style end overlap replac style sure style hasn ad delet overlap ad style style ad true delet style i begin overlap need replac style overlap start style end 1 overlap length overlap end overlap start 1 ad insert merg style style style overlap begin style impli process overlap style break count newstyl defaultlinestyl styledtext styledtext newstyl setstylerang stylerang newstyl newstyl stylerang styleexpandexp stylecount newstyl newstyl isunstyl clearstyl newstyl getoverlappingstyl newstyl newstyl newstyleend newstyl newstyl insertstyl newstyl newstyl insertmergestyl newstyl newstyl stylerang overlapend newstyl overlapend newstyleend newstyl newstyl similarto newstyl newstyl newstyl newstyl mergestyleaft newstyl newstyl newstyl insertstyl newstyl newstyl newstyl similarto stylerang endstyl stylerang endstyl newstyleend endstyl overlapend newstyleend newstyl insertstyl newstyl insertstyl endstyl newstyl overlapend newstyleend newstyl newstyl newstyl deletestyl newstyl newstyleend overlapend insertmergestyl newstyl newstyl replac style rang param style style order non overlap void replac style rang int start int length style rang rang clear style style rang start length null null find insert point int high style count int low 1 int index high high low 1 index high low 2 style rang style style index start style start high index low index insert style rang high replacestylerang stylerang clearstyl stylerang stylecount stylerang insertstyl set arrai style discard style call style text param style style order non overlap void set style rang style rang style style style rang style length system arraycopi style 0 style 0 style length style count style length style expand exp 1 styledtext setstylerang stylerang stylerang stylecount styleexpandexp updat style rang line background reflect pend text chang call style text text chang event receiv param event event text chang inform public void text chang text chang event event int start line content line offset event start int start line offset content offset line start line text chang event start event replac char count text chang event start event char count event replac char count content char count text go replac clear line background line chang 0 line count line chang 0 content line count event replac line count event line count return event start start line offset start line start line 1 line chang start line event replac line count line chang start line event line count styledtext textchangingev textchang textchangingev startlin getlineatoffset startlineoffset getoffsetatlin startlin textchang replacecharcount textchang newcharcount replacecharcount getcharcount lineschang linecount lineschang getlinecount replacelinecount newlinecount startlineoffset startlin startlin lineschang startlin replacelinecount lineschang startlin newlinecount void line chang int start int delta delta 0 return boolean insert delta 0 insert shift line room line expand line delta int line count 1 start line background delta line background int start start delta line background null shift line int start delta line count line background delta line background line count delta lineschang expandlinesbi linecount linebackground linebackground linebackground linecount linebackground linebackground linecount void text chang int start int delta delta 0 return style rang style find index style offset binari search find index int end int delet start 1 int delet count 0 boolean insert delta 0 insert end start delta 1 end start delta 1 int high search style start end int index updat style affect rang index high index style count index style style index insert style start start break insert case style rang directli affect need split style insert style rang style style rang style clone style length start style start style start start style length style length style length style length 0 insert style style index index break int style end style start style length 1 style start end break delet case style overlap chang rang affect style start start style end end style start chang rang end chang rang style length start style start style start chang rang end chang rang style length style length delta index break style end end style start chang rang end chang rang delet start 1 delet start index delet count style start chang rang end chang rang style start start style length style end end index break delet style delet start delet count chang offset style affect style int index delet count style count style style style start style start delta textchang stylerang deletestart deletecount searchforstyl stylecount newstyl stylerang beforestyl stylerang beforestyl beforestyl beforestyl insertstyl beforestyl styleend styleend styleend deletestart deletestart deletecount styleend deletestyl deletestart deletecount deletecount stylecount return index style overlap rang style partial fulli overlap rang return return point index start overlap style number style overlap rang point overlap style int start int length style rang style style count 0 return null find index style offset binari search find index int end start length 1 int high search style start end int count 0 int index high index style count index style style index int style end style start style length 1 style start end break style end start count return point high count getoverlappingstyl stylerang stylecount searchforstyl stylecount styleend styleend return background color line call style text safe return exist color object color set manag client param index line index return background color line index color line background int index return line background index styledtext getlinebackground linebackground return style charact code offset code call style text return style return exist style param offset charact posit text return clone style rang start offset length 1 style null style style rang style rang offset int offset style count 0 return null point pt overlap style offset 1 pt null pt 0 return null style rang style style rang style pt clone style start offset style length 1 return style styledtext stylerang stylerang getstylerangeatoffset stylecount getoverlappingstyl stylerang newstyl stylerang newstyl newstyl newstyl return style rang return exist style care modifi return style clone order method effici param offset start posit text rang param length length text rang return style rang arrai null style text rang style rang style rang int offset int length style count 0 return null point pt overlap style offset length pt null pt 0 return null style rang rang style rang pt int 0 pt style rang style style pt rang style return rang stylerang stylerang getstylerangesfor stylecount getoverlappingstyl stylerang stylerang stylerang newstyl newstyl return rang void releas style null creat instanc class displai render class param devic devic render param regular font font regular non bold text param bidi true bidi platform fals bidi platform param left margin margin left text param parent class style text class widget render param tab length length charact tab charact displai render devic devic font regular font style text parent int tab length super devic regular font parent parent calcul line height set tab length tab length displayrender regularfont isbidi leftmargin styledtext tablength displayrender regularfont styledtext tablength regularfont calculatelineheight settablength tablength void dispos super dispos layout null int 0 layout length text layout layout layout layout null super dispos text layout layout top index 1 layout null textlayout disposetextlayout topindex dispos gc param gc gc dispos protect void disposegc gc gc gc dispos draw line delimit select select extend line param line line draw param line offset offset charact line rel start document param style line style param painti locat draw param gc gc draw protect void draw line break select string line int line offset int paintx int painti gc gc point select parent intern select int line length line length int select start math max 0 select line offset int select end select line offset int line end space width line end space width int line height line height select end select start select end 0 select start line length select end line length return gc set background parent select background gc set foreground parent select foreground parent style swt full select 0 rectangl rect client area gc fill rectangl paintx painti rect width paintx line height boolean wrap line fals parent intern word wrap style text content content content int line end line offset line length int line index content line offset line end start offset line the end offset line line index content line count 1 content offset line line index 1 line end wrap line true wrap line fals render line break select gc fill rectangl paintx painti line end space width line height lineoffset drawlinebreakselect lineoffset internalgetselect linelength selectionstart lineoffset selectionend lineoffset lineendspacewidth getlineendspacewidth lineheight getlineheight selectionend selectionstart selectionend selectionstart linelength selectionend linelength setbackground getselectionbackground setforeground getselectionforeground getstyl full_select getclientarea fillrectangl lineheight iswrappedlin internalgetwordwrap styledtextcont getcont lineend lineoffset linelength lineindex getlineatoffset lineend lineindex getlinecount getoffsetatlin lineindex lineend iswrappedlin iswrappedlin fillrectangl lineendspacewidth lineheight return text segment treat direct surround text param line offset offset charact line 0 base begin document param line text line bidi segment return text segment treat direct surround text start index segment rel start line start 0 end line length except illeg argument except ul li error invalid argument segment indic return listen start 0 ascend order exce line length duplic li ul protect int bidi segment int line offset string line text parent bidi return null return parent bidi segment line offset line text lineoffset illegalargumentexcept error_invalid_argument getbidiseg lineoffset linetext isbidi getbidiseg lineoffset linetext return visibl client area render return visibl client area render protect rectangl client area return parent client area getclientarea getclientarea return class style text content class line offset calcul return class style text content class line offset calcul protect style text content content return parent intern content styledtextcont styledtextcont styledtextcont getcont internalgetcont return gc render measur gc longer need dispos call disposegc return gc render measur disposegc protect gc getgc return gc parent return horizont scroll posit return horizont scroll posit protect int horizont pixel return parent intern horizont pixel gethorizontalpixel internalgethorizontalpixel return parent intern horizont pixel protect int left margin return parent left margin internalgethorizontalpixel getleftmargin leftmargin style text render line background data protect style text event line background data int line offset string line return parent line background data line offset line styledtextrender getlinebackgrounddata styledtextev getlinebackgrounddata lineoffset getlinebackgrounddata lineoffset style text render line style data protect style text event line style data int line offset string line style text event logic line event parent line style data line offset line logic line event null logic line event line style data logic line event line offset line return logic line event styledtextrender getlinestyledata styledtextev getlinestyledata lineoffset styledtextev logicallineev getlinestyledata lineoffset logicallineev logicallineev getlinestyledata logicallineev lineoffset logicallineev return logic line event protect int orient return parent orient logicallineev getorient getorient return parent orient protect int margin return parent margin getorient getrightmargin rightmargin return parent margin protect color select background return parent select background rightmargin getselectionbackground getselectionbackground return parent select background protect color select foreground return parent select foreground getselectionbackground getselectionforeground getselectionforeground style text render select protect point select return parent intern select styledtextrender getselect getselect internalgetselect style text render word wrap protect boolean word wrap return parent word wrap styledtextrender getwordwrap getwordwrap getwordwrap style text render full line select protect boolean full line select return parent style swt full select 0 styledtextrender isfulllineselect isfulllineselect getstyl full_select text layout creat text layout int line offset parent intern word wrap int line index content line offset line offset updat top index layout null int layout index line index top index 0 layout index layout index layout length text layout layout layout layout index layout null return layout return layout layout index super creat text layout line index return super creat text layout line offset textlayout createtextlayout lineoffset internalgetwordwrap lineindex getcont getlineatoffset lineoffset updatetopindex layoutindex lineindex topindex layoutindex layoutindex textlayout layoutindex layoutindex createtextlayout lineindex createtextlayout lineoffset void dispos text layout text layout layout layout null int 0 layout length layout layout return super dispos text layout layout disposetextlayout textlayout disposetextlayout void updat top index int vertic increment parent vertic increment int top index vertic increment 0 0 parent vertic scroll offset vertic increment int length math max 1 parent partial bottom index top index 1 layout null top index top index length layout length text layout layout text layout length layout null int 0 layout length text layout layout layout layout null int layout index top index top index 0 layout index layout index layout length layout layout index layout super dispos text layout layout top index top index layout layout updatetopindex verticalincr getverticalincr topindex verticalincr verticalscrolloffset verticalincr newlength getpartialbottomindex topindex topindex topindex newlength textlayout newlayout textlayout newlength textlayout layoutindex topindex topindex layoutindex layoutindex newlayout newlayout layoutindex disposetextlayout topindex topindex newlayout public extend modifi event style text event super start start length end start replac text text extendedmodifyev styledtextev replacedtext public interfac extend modifi listen extend swt event listen method call text chang occur param event start start offset text input param event length length text input param event replac text replac text input extendedmodifylisten swteventlisten replacedtext public line background event style text event super line offset detail line text text linebackgroundev styledtextev lineoffset linetext method call line drawn order background color param event line offset line start offset input param event line text line text input param event line background line background color output lineoffset linetext linebackground public line style event style text event super line offset detail line text text style style linestyleev styledtextev lineoffset linetext public interfac line style listen extend swt event listen method call line drawn order line style inform param event line offset line start offset input param event line text line text input param event style arrai style rang need order output linestylelisten swteventlisten lineoffset linetext stylerang int minimum width creat popup list shell param parent shell control parent instanc null public popup list shell parent parent 0 minimumwidth popuplist popuplist close dialog user select shell shell add listen swt deactiv listen public void handl event event shell set visibl fals addlisten handleev setvis resiz shell list resiz shell add control listen control listen public void control move control event addcontrollisten controllisten controlmov controlev shell add control listen control listen public void control move control event public void control resiz control event rectangl shell size shell client area list set size shell size width shell size height addcontrollisten controllisten controlmov controlev controlres controlev shellsiz getclientarea setsiz shellsiz shellsiz return list select mous carriag return list add mous listen mous listen public void mous doubl click mous event addmouselisten mouselisten mousedoubleclick mouseev list add mous listen mous listen public void mous doubl click mous event public void mous mous event addmouselisten mouselisten mousedoubleclick mouseev mousedown mouseev public void mous doubl click mous event public void mous mous event public void mous mous event shell set visibl fals mousedoubleclick mouseev mousedown mouseev mouseup mouseev setvis list add kei listen kei listen public void kei releas kei event addkeylisten keylisten keyreleas keyev public void kei releas kei event public void kei press kei event charact shell set visibl fals keyreleas keyev keypress keyev setvis creat popup list shell param parent widget parent instanc null param style style widget construct 3 0 public popup list shell parent int style shell shell parent check style style list list shell swt singl swt scroll close dialog user select shell shell add listen swt deactiv listen public void handl event event shell set visibl fals resiz shell list resiz shell add control listen control listen public void control move control event public void control resiz control event rectangl shell size shell client area list set size shell size width shell size height return list select mous carriag return list add mous listen mous listen public void mous doubl click mous event public void mous mous event public void mous mous event shell set visibl fals list add kei listen kei listen public void kei releas kei event public void kei press kei event charact shell set visibl fals popuplist popuplist checkstyl v_scroll addlisten handleev setvis addcontrollisten controllisten controlmov controlev controlres controlev shellsiz getclientarea setsiz shellsiz shellsiz addmouselisten mouselisten mousedoubleclick mouseev mousedown mouseev mouseup mouseev setvis addkeylisten keylisten keyreleas keyev keypress keyev setvis privat static int check style int style int mask swt left swt left return style mask checkstyl left_to_right right_to_left widget font return widget font except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public font font return list font swterror error_thread_invalid_access error_widget_dispos getfont getfont item oper fail item queri os return item widget except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li li error item oper fail li ul public string item return list item swterror error_thread_invalid_access error_widget_dispos error_cannot_get_item getitem getitem minimum width list return minimum width list public int minimum width return minimum width getminimumwidth minimumwidth launch popup list wait item select close popup list param rect initi size locat popup list dialog posit run screen largest number item visibl return text select item null item select public string open rectangl rect point list size list comput size rect width swt default rectangl screen size shell displai bound posit dialog run screen largest number item visibl int space screen size height rect rect height 30 int space rect 30 int 0 space space list size space place popup list tabl cell list size space list size space list size 2 rect list size place popup list tabl cell list size space list size space list size 2 rect rect height dialog wide cell list size rect width dialog width le minimumwidth list size minimum width list size minimum width align side dialog side cell int rect rect width list size shell set bound list size list size shell open list set focu displai displai shell displai shell dispos shell visibl displai read dispatch displai sleep string result null shell dispos string string list select shell dispos string length 0 result string 0 return result popuplist popuplist listsiz computes screensiz getdisplai getbound spacebelow screensiz spaceabov spaceabov spacebelow listsiz spacebelow listsiz spaceabov listsiz spaceabov listsiz listsiz listsiz spacebelow listsiz spacebelow listsiz listsiz listsiz minimumwidth listsiz minimumwidth listsiz setbound listsiz listsiz setfocu getdisplai isdispos isvis readanddispatch isdispos getselect select item text start string item select select item index select remain select string match param string text item except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public void select string string string item list item find entri list start string string null int 0 item length item start string int index list index item list select index break swterror error_thread_invalid_access error_widget_dispos getitem startswith indexof set widget font font null font revert default system font widget param font font null except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public void set font font font list set font font swterror error_thread_invalid_access error_widget_dispos setfont setfont set item previou select clear previou item delet item ad top index set 0 param string arrai item oper fail item null ad os except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li li error null argument item null li li error item ad oper fail li ul public void set item string string list set item string swterror error_thread_invalid_access error_widget_dispos error_null_argument error_item_not_ad setitem setitem set minimum width list param width minimum width list public void set minimum width int width width 0 swt error swt error invalid argument minimum width width setminimumwidth error_invalid_argument minimumwidth creat instanc class print render class param devic devic render param regular font font regular non bold text param gc printer gc render gc printer devic param logic content style text content print param line background line background color render param line style line style color render param bidi segment bidi segment render bidi platform param left margin margin left text param tab length length charact tab charact param client area printer client area print render devic devic font regular font gc gc style text content logic content hashtabl line background hashtabl line style hashtabl bidi segment int tab length rectangl client area super devic regular font logic content logic content line background line background line style line style bidi segment bidi segment client area client area gc gc calcul line height set tab length tab length content wrap content logic content wrap line requir tab width known content wrap line printrender regularfont logicalcont styledtextcont linebackground linestyl bidiseg leftmargin tablength clientarea printrender regularfont styledtextcont logicalcont linebackground linestyl bidiseg tablength clientarea regularfont logicalcont logicalcont linebackground linebackground linestyl linestyl bidiseg bidiseg clientarea clientarea calculatelineheight settablength tablength wrappedcont logicalcont wraplin wraplin dispos resourc creat receiv protect void dispos content null super dispos print render creat cs style text render disposegc protect void disposegc gc gc printrender gc styledtextrender print select style text render draw line select background protect void draw line break select string line int line offset int paintx int painti gc gc styledtextrender drawlineselectionbackground drawlinebreakselect lineoffset return cach text segment treat direct surround text cach data param line offset offset charact line 0 base begin document param line text line bidi segment return text segment treat direct surround text start index segment rel start line start 0 end line length except illeg argument except ul li error invalid argument segment indic return listen start 0 ascend order exce line length duplic li ul protect int bidi segment int line offset string line text int line length line text length int logic line offset logic line offset line offset int segment int bidi segment integ logic line offset segment null segment int 0 line length cach bidi segment logic line sure return segment match request line line wrap requir entir part logic line bidi segment int logic line index logic content line offset line offset int logic line length logic content line logic line index length line offset logic line offset line length logic line length int line offset delta line offset logic line offset int segment count 0 int segment int segment length int 0 segment length segment math max 0 segment line offset delta segment line length segment line length segment count break 0 segment 0 segment count segment int segment count int 0 index 0 segment length index segment count 0 segment 0 segment index segment return segment lineoffset illegalargumentexcept error_invalid_argument getbidiseg lineoffset linetext linelength linetext logicallineoffset getlogicallineoffset lineoffset bidiseg logicallineoffset linelength logicallineindex logicalcont getlineatoffset lineoffset logicallinelength logicalcont getlin logicallineindex lineoffset logicallineoffset linelength logicallinelength lineoffsetdelta lineoffset logicallineoffset newsegmentcount newseg newseg lineoffsetdelta newseg linelength newseg linelength newsegmentcount newseg newsegmentcount newsegmentcount newindex newseg newindex newsegmentcount newseg newindex newseg return printer client area return visibl client area render style text render client area protect rectangl client area return client area styledtextrender getclientarea getclientarea clientarea return class style text content class line offset calcul wrap content calcul constructor logic print content return class style text content class line offset calcul protect style text content content return content styledtextcont styledtextcont styledtextcont getcont return printer gc render measur gc printer devic return printer gc render measur protect gc getgc return gc return 0 scroll affect print text wrap print return 0 style text render horizont pixel protect int horizont pixel return 0 styledtextrender gethorizontalpixel gethorizontalpixel return start offset line offset param visual line offset offset line return start offset line offset rel start document privat int logic line offset int visual line offset int logic line index logic content line offset visual line offset return logic content offset line logic line index visuallineoffset getlogicallineoffset visuallineoffset logicallineindex logicalcont getlineatoffset visuallineoffset logicalcont getoffsetatlin logicallineindex return logic content offset line logic line index protect int orient return swt left logicalcont getoffsetatlin logicallineindex getorient left_to_right return swt left protect color select background return null left_to_right getselectionbackground return null protect color select foreground return null getselectionforeground return cach line background data style text render line background data protect style text event line background data int line offset string line int logic line offset logic line offset line offset return style text event line background integ logic line offset styledtextrender getlinebackgrounddata styledtextev getlinebackgrounddata lineoffset logicallineoffset getlogicallineoffset lineoffset styledtextev linebackground logicallineoffset return cach line style background data style text render line style data protect style text event line style data int line offset string line int logic line offset logic line offset line offset style text event logic line event style text event line style integ logic line offset logic line event null style text event clone style text event style text content logic line event data clone detail logic line event detail clone style logic line event style clone text logic line event text logic line event line style data clone line offset line return logic line event styledtextrender getlinestyledata styledtextev getlinestyledata lineoffset logicallineoffset getlogicallineoffset lineoffset styledtextev logicallineev styledtextev linestyl logicallineoffset logicallineev styledtextev styledtextev styledtextcont logicallineev logicallineev logicallineev logicallineev logicallineev getlinestyledata lineoffset logicallineev select print return point 0 0 style text render select protect point select return point 0 0 styledtextrender getselect getselect print content wrap return true style text render word wrap protect boolean word wrap return true styledtextrender getwordwrap getwordwrap select print return fals return fals style text render full line select protect boolean full line select return fals styledtextrender isfulllineselect isfulllineselect add listen swt resiz listen public void handl event event layout true addlisten handleev sash listen listen public void handl event event drag sash sashlisten handleev ondragsash construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt horizont swt vertic style public sash form composit parent int style super parent check style style style swt vertic 0 orient swt vertic add listen swt resiz listen public void handl event event layout true sash listen listen public void handl event event drag sash illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl sashform checkstyl addlisten handleev sashlisten handleev ondragsash privat static int check style int style int mask swt border swt left swt left return style mask checkstyl left_to_right right_to_left public point comput size int hint int hint boolean chang check widget control arrai control true arrai length 0 return point hint hint int sashwidth sash length 0 sash width sash 0 border width 2 sash width int width 0 int height 0 boolean vertic orient swt vertic vertic height arrai length 1 sashwidth width arrai length 1 sashwidth int 0 arrai length vertic point size arrai comput size hint swt default height size width math max width size point size arrai comput size swt default hint width size height math max height size hint swt default width hint hint swt default height hint return point width height computes whint hhint checkwidget carrai getcontrol carrai whint hhint sash_width getborderwidth sash_width carrai carrai carrai carrai computes whint carrai computes hhint whint whint hhint hhint return swt horizont control sash form laid side side swt vertic control sash form laid top bottom return swt horizont swt vertic public int orient check widget return orient sashform sashform getorient checkwidget answer control maxim sash form null return control maxim null public control maxim control check widget return max control sashform getmaximizedcontrol checkwidget maxcontrol answer rel weight child sash form weight repres percent total width sash form horizont orient total height sash form vertic orient control occupi weight return order creation widget weight 0 correspond weight child creat return rel weight child except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int weight check widget control arrai control fals int ratio int arrai length int 0 arrai length ratio arrai data layout ratio ratio null ratio int ratio 1000 16 ratio 200 return ratio sashform sashform sashform swtexcept error_widget_dispos error_thread_invalid_access getweight checkwidget carrai getcontrol carrai carrai carrai getdata layout_ratio longvalu control control boolean visibl control children children control result control 0 int 0 children length children instanceof sash continu visibl children visibl continu control result control result length 1 system arraycopi result 0 result 0 result length result result length children result result return result getcontrol onlyvis getchildren onlyvis getvis newresult newresult newresult newresult public void layout boolean chang check widget rectangl area client area area width 0 area height 0 return control control control true control length 0 control length 0 return control control max control null max control dispos int 0 control length control max control control set bound 200 200 0 0 control set bound area return number sash sash length control length 1 sash sash sash control length 1 system arraycopi sash 0 sash 0 sash length int sash style orient swt horizont swt vertic swt horizont style swt border 0 sash style swt border int sash length sash length sash sash sash style sash set background background sash set foreground foreground sash add listen swt select sash listen sash sash sash length control length 1 control length 0 int 0 sash length sash dispos sash sash 0 sash sash sash control length 1 system arraycopi sash 0 sash 0 sash length int control length 1 sash length sash dispos sash sash control length 0 return int sashwidth sash length 0 sash width sash 0 border width 2 sash width ratio ratio control length total 0 int 0 control length ratio control data layout ratio ratio null ratio ratio ratio 200 16 999 1000 total ratio orient swt horizont total sash length sashwidth 16 area width 1 area width total sash length sashwidth 16 area height 1 area height orient swt horizont int width int ratio 0 area width total int area control 0 set bound area width area height width int 1 control length 1 sash 1 set bound area sashwidth area height sashwidth width int ratio area width total control set bound area width area height width control length 1 sash sash length 1 set bound area sashwidth area height sashwidth width area width control control length 1 set bound area width area height int height int ratio 0 area height total int area control 0 set bound area area width height height int 1 control length 1 sash 1 set bound area area width sashwidth sashwidth height int ratio area height total control set bound area area width height height control length 1 sash sash length 1 set bound area area width sashwidth sashwidth height area height control control length 1 set bound area area width height checkwidget getclientarea newcontrol getcontrol newcontrol newcontrol maxcontrol maxcontrol isdispos maxcontrol setbound setbound newsash newsash sashstyl getstyl sashstyl newsash newsash sashstyl newsash setbackground newsash setforeground newsash addlisten sashlisten newsash newsash newsash newsash newsash sash_width getborderwidth sash_width getdata layout_ratio longvalu setbound setbound setbound setbound setbound setbound setbound setbound setbound setbound void drag sash event event event detail swt drag constrain feedback rectangl area client area orient swt horizont event math min math max drag minimum event area width drag minimum event math min math max drag minimum event area height drag minimum return sash sash sash event widget int sash index 1 int 0 sash length sash sash sash index break sash index 1 return control c1 control sash index control c2 control sash index 1 rectangl b1 c1 bound rectangl b2 c2 bound rectangl sash bound sash bound rectangl area client area orient swt horizont int shift event sash bound b1 width shift b2 shift b2 width shift b1 width drag minimum b2 width drag minimum return c1 set data layout ratio long b1 width 16 area width 1 area width c2 set data layout ratio long b2 width 16 area width 1 area width int shift event sash bound b1 height shift b2 shift b2 height shift b1 height drag minimum b2 height drag minimum return c1 set data layout ratio long b1 height 16 area height 1 area height c2 set data layout ratio long b2 height 16 area height 1 area height c1 set bound b1 sash set bound event event event width event height c2 set bound b2 ondragsash getclientarea drag_minimum drag_minimum drag_minimum drag_minimum sashindex sashindex sashindex sashindex sashindex getbound getbound sashbound getbound getclientarea sashbound drag_minimum drag_minimum setdata layout_ratio setdata layout_ratio sashbound drag_minimum drag_minimum setdata layout_ratio setdata layout_ratio setbound setbound setbound orient swt horizont lai control sash form side side orient swt vertic lai control sash form top bottom param orient swt horizont swt vertic except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument orient swt horizont swt vertic ul public void set orient int orient check widget orient orient return orient swt horizont orient swt vertic swt error swt error invalid argument orient orient int sash style orient swt horizont swt vertic swt horizont style swt border 0 sash style swt border int 0 sash length sash dispos sash sash sash style sash set background background sash set foreground foreground sash add listen swt select sash listen layout sashform sashform swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument setorient checkwidget error_invalid_argument sashstyl getstyl sashstyl sashstyl setbackground setforeground addlisten sashlisten public void set background color color super set background color background color int 0 sash length sash set background background setbackground setbackground setbackground public void set foreground color color super set foreground color foreground color int 0 sash length sash set foreground foreground setforeground setforeground setforeground public void set layout layout layout check widget setlayout checkwidget control entir client area sash form control maxim method call control previou control minim control maxim control null sash form minim control return default layout control laid separ sash param control control maxim null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set maxim control control control check widget control null max control null max control null layout int 0 sash length sash set visibl true return int 0 sash length sash set visibl fals max control control layout sashform sashform swtexcept error_widget_dispos error_thread_invalid_access setmaximizedcontrol checkwidget maxcontrol maxcontrol setvis setvis maxcontrol rel weight child sash form determin percent total width sash form horizont orient total height sash form vertic orient control occupi weight posit valu entri non sash child sash form param weight rel weight child except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument weight null incorrect length match number children li ul public void set weight int weight check widget control arrai control fals weight null weight length arrai length swt error swt error invalid argument int total 0 int 0 weight length weight 0 swt error swt error invalid argument total weight total 0 swt error swt error invalid argument int 0 arrai length arrai set data layout ratio long weight 16 total 1 total layout sashform sashform sashform sashform swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument setweight checkwidget carrai getcontrol carrai error_invalid_argument error_invalid_argument error_invalid_argument carrai carrai setdata layout_ratio bar null bar add listen swt select listen public void handl event event scroll hbar hbar addlisten handleev hscroll bar null bar add listen swt select listen public void handl event event scroll vbar vbar addlisten handleev vscroll add listen swt resiz listen public void handl event event resiz addlisten handleev content listen listen public void handl event event type swt resiz return resiz contentlisten handleev construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt scroll swt scroll style public scroll composit composit parent int style super parent check style style scroll bar bar horizont bar bar null bar add listen swt select listen public void handl event event scroll scroll bar bar vertic bar bar null bar add listen swt select listen public void handl event event scroll add listen swt resiz listen public void handl event event resiz content listen listen public void handl event event type swt resiz return resiz illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access h_scroll v_scroll getstyl scrolledcomposit checkstyl scrollbar hbar gethorizontalbar hbar hbar addlisten handleev hscroll scrollbar vbar getverticalbar vbar vbar addlisten handleev vscroll addlisten handleev contentlisten handleev privat static int check style int style int mask swt scroll swt scroll swt border swt left swt left return style mask checkstyl h_scroll v_scroll left_to_right right_to_left public point comput size int hint int hint boolean chang check widget composit layout layout manag account prefer size children comput prefer size layout manag scroll composit hide scroll bar place child fill client area repeat call comput prefer size scroll composit ad space scroll bar content null return super comput size hint hint chang point size content comput size hint hint chang rectangl trim comput trim 0 0 size size return point trim width trim height computes whint hhint checkwidget computes whint hhint computes whint hhint computetrim return show scrollbar flag true scrollbar shown requir fals scrollbar visibl part composit need scroll seen scroll scroll style bit requir enabl scrollbar horizont vertic direct return show scrollbar flag public boolean show scroll bar check widget return show scroll h_scroll v_scroll getalwaysshowscrollbar checkwidget alwaysshowscrol content scroll return control displai content area public control content check widget return content getcont checkwidget void scroll content null return point locat content locat scroll bar bar horizont bar int select bar select content set locat select locat hscroll getloc scrollbar hbar gethorizontalbar hselect hbar getselect setloc hselect public void layout boolean chang check widget content null return rectangl content rect content bound scroll bar bar horizont bar scroll bar bar vertic bar show scroll boolean visibl needh scroll content rect fals boolean visibl needv scroll content rect visibl visibl visibl visibl needh scroll content rect visibl bar null bar set visibl visibl bar null bar set visibl visibl rectangl host rect client area expand horizont content rect width math max min width host rect width expand vertic content rect height math max min height host rect height bar null bar set maximum content rect width bar set thumb math min content rect width host rect width int page content rect width host rect width int select bar select select page page 0 select 0 bar set select 0 content rect select bar null bar set maximum content rect height bar set thumb math min content rect height host rect height int page content rect height host rect height int select bar select select page page 0 select 0 bar set select 0 content rect select content set bound content rect checkwidget contentrect getbound scrollbar hbar gethorizontalbar scrollbar vbar getverticalbar alwaysshowscrol hvisibl needhscrol contentrect vvisibl needvscrol contentrect hvisibl hvisibl vvisibl hvisibl needhscrol contentrect vvisibl hbar hbar setvis hvisibl vbar vbar setvis vvisibl hostrect getclientarea expandhorizont contentrect minwidth hostrect expandvert contentrect minheight hostrect hbar hbar setmaximum contentrect hbar setthumb contentrect hostrect hpage contentrect hostrect hselect hbar getselect hselect hpage hpage hselect hbar setselect contentrect hselect vbar vbar setmaximum contentrect vbar setthumb contentrect hostrect vpage contentrect hostrect vselect vbar getselect vselect vpage vpage vselect vbar setselect contentrect vselect setbound contentrect privat boolean needh scroll rectangl content rect boolean visibl scroll bar bar horizont bar bar null return fals rectangl host rect bound int border border width host rect width 2 border scroll bar bar vertic bar visibl bar null host rect width bar size expand horizont content rect width host rect width return true expand horizont min width host rect width return true return fals needhscrol contentrect vvisibl scrollbar hbar gethorizontalbar hbar hostrect getbound getborderwidth hostrect scrollbar vbar getverticalbar vvisibl vbar hostrect vbar getsiz expandhorizont contentrect hostrect expandhorizont minwidth hostrect privat boolean needv scroll rectangl content rect boolean visibl scroll bar bar vertic bar bar null return fals rectangl host rect bound int border border width host rect height 2 border scroll bar bar horizont bar visibl bar null host rect height bar size expand horizont content rect height host rect height return true expand horizont min height host rect height return true return fals needvscrol contentrect hvisibl scrollbar vbar getverticalbar vbar hostrect getbound getborderwidth hostrect scrollbar hbar gethorizontalbar hvisibl hbar hostrect hbar getsiz expandhorizont contentrect hostrect expandhorizont minheight hostrect void resiz resiz return resiz true layout resiz fals inres inres inres return point content currenli appear top left corner scroll composit return point content currenli appear top left corner scroll composit content set return 0 0 except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public point origin check widget content null return point 0 0 point locat content locat return point locat locat swtexcept error_widget_dispos error_thread_invalid_access getorigin checkwidget getloc scroll content point content top left corner content set occur neg valu valu greater maximum scroll distanc result scroll end scrollbar param origin point content top left corner except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument origin content ul 2 0 public void set origin point origin set origin origin origin swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument setorigin setorigin scroll content point content top left corner content set occur neg valu valu greater maximum scroll distanc result scroll end scrollbar param x coordin content top left corner param y coordin content top left corner except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set origin int int check widget content null return scroll bar bar horizont bar bar null bar set select x bar select 0 scroll bar bar vertic bar bar null bar set select y bar select 0 content set locat swtexcept error_widget_dispos error_thread_invalid_access setorigin checkwidget scrollbar hbar gethorizontalbar hbar hbar setselect hbar getselect scrollbar vbar getverticalbar vbar vbar setselect vbar getselect setloc set show scrollbar flag true scrollbar shown requir fals scrollbar visibl part composit need scroll seen scroll scroll style bit requir enabl scrollbar horizont vertic direct param show true show scrollbar requir fals show scrollbar requir except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set show scroll bar boolean show check widget show show scroll return show scroll show scroll bar bar horizont bar bar null show scroll bar set visibl true scroll bar bar vertic bar bar null show scroll bar set visibl true layout h_scroll v_scroll swtexcept error_widget_dispos error_thread_invalid_access setalwaysshowscrollbar checkwidget alwaysshowscrol alwaysshowscrol scrollbar hbar gethorizontalbar hbar alwaysshowscrol hbar setvis scrollbar vbar getverticalbar vbar alwaysshowscrol vbar setvis set content scroll param content control displai content area except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set content control content check widget content null content dispos content remov listen swt resiz content listen content set bound rectangl 200 200 0 0 content content scroll bar bar vertic bar scroll bar bar horizont bar content null bar null bar set maximum 0 bar set thumb 0 bar set select 0 bar null bar set maximum 0 bar set thumb 0 bar set select 0 content set locat 0 0 layout content add listen swt resiz content listen bar null bar set visibl show scroll bar null bar set visibl show scroll swtexcept error_widget_dispos error_thread_invalid_access setcont checkwidget isdispos removelisten contentlisten setbound scrollbar vbar getverticalbar scrollbar hbar gethorizontalbar vbar vbar setmaximum vbar setthumb vbar setselect hbar hbar setmaximum hbar setthumb hbar setselect setloc addlisten contentlisten hbar hbar setvis alwaysshowscrol vbar vbar setvis alwaysshowscrol configur scroll composit resiz content object wide scroll composit width scroll composit greater minimum width set min width scroll composit minimum width content resiz horizont scroll bar view entir width expand fals behaviour turn default behaviour turn param expand true expand content control fill horizont space except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set expand horizont boolean expand check widget expand expand horizont return expand horizont expand layout scrolledcomposit scrolledcomposit scrolledcomposit setminwidth scrolledcomposit swtexcept error_widget_dispos error_thread_invalid_access setexpandhorizont checkwidget expandhorizont expandhorizont configur scroll composit resiz content object tall scroll composit height scroll composit greater minimum height set min height scroll composit minimum height content resiz vertic scroll bar view entir height expand fals behaviour turn default behaviour turn param expand true expand content control fill vertic space except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set expand vertic boolean expand check widget expand expand vertic return expand vertic expand layout scrolledcomposit scrolledcomposit scrolledcomposit setminheight scrolledcomposit swtexcept error_widget_dispos error_thread_invalid_access setexpandvert checkwidget expandvert expandvert public void set layout layout layout allow layout set class layout handl resiz listen check widget return setlayout checkwidget minimum height scroll composit begin scroll content vertic scroll bar relev set expand vertic true set param height minimum height 0 default height except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set min height int height set min size min width height scrolledcomposit setexpandvert swtexcept error_widget_dispos error_thread_invalid_access setminheight setmins minwidth minimum width height scroll composit begin scroll content horizont scroll bar relev set expand horizont true set expand vertic true set param size minimum size null default size except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set min size point size size null set min size 0 0 set min size size size scrolledcomposit setexpandhorizont setexpandvert swtexcept error_widget_dispos error_thread_invalid_access setmins setmins setmins minimum width height scroll composit begin scroll content horizont scroll bar relev set expand horizont true set expand vertic true set param width minimum width 0 default width param height minimum height 0 default height except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set min size int width int height check widget width min width height min height return min width math max 0 width min height math max 0 height layout scrolledcomposit setexpandhorizont setexpandvert swtexcept error_widget_dispos error_thread_invalid_access setmins checkwidget minwidth minheight minwidth minheight minimum width scroll composit begin scroll content horizont scroll bar relev set expand horizont true set param width minimum width 0 default width except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set min width int width set min size width min height scrolledcomposit setexpandhorizont swtexcept error_widget_dispos error_thread_invalid_access setminwidth setmins minheight void scroll content null return point locat content locat scroll bar bar vertic bar int select bar select content set locat locat select vscroll getloc scrollbar vbar getverticalbar vselect vbar getselect setloc vselect protect point comput size composit composit int hint int hint boolean flush cach control children composit children int max width 0 int max height 0 int 0 children length point size children comput size hint hint flush cach max width math max size max width max height math max size max height int width hint height hint hint swt default width max width hint swt default height max height return point width 2 margin width height 2 margin height computes whint hhint flushcach getchildren maxwidth maxheight computes whint hhint flushcach maxwidth maxwidth maxheight maxheight whint hhint whint maxwidth hhint maxheight marginwidth marginheight protect void layout composit composit boolean flush cach control children composit children rectangl rect composit client area rect margin width rect margin height rect width 2 margin width rect height 2 margin height int 0 children length children set bound rect children set visibl children top control flushcach getchildren getclientarea marginwidth marginheight marginwidth marginheight setbound setvis topcontrol creat instanc class print class copi widget content render data need request listen param parent style text widget print param printer printer devic print param print option print option print style text parent printer printer style text print option print option printer data data printer printer data parent parent printer printer print option print option singl line parent singl line start page 1 end page integ max data scope printer data page rang start page data start page end page data end page end page start page int temp end page end page start page start page temp data scope printer data select select parent select rang displai font data parent font font data 0 copi content parent content cach line data printer content styledtext printopt styledtext styledtextprintopt printopt printerdata getprinterdata printopt printopt singlelin issinglelin startpag endpag max_valu printerdata page_rang startpag startpag endpag endpag endpag startpag endpag endpag startpag startpag printerdata getselectionrang displayfontdata getfont getfontdata copycont getcont cachelinedata printercont cach bidi segment line param line offset offset line cach bidi segment rel start document param line line cach bidi segment void cach bidi segment int line offset string line int segment parent bidi segment line offset line segment null bidi segment put integ line offset segment lineoffset cachebidiseg lineoffset getbidiseg lineoffset bidiseg lineoffset cach line background color line param line offset offset line cach background color rel start document param line line cach background color void cach line background int line offset string line style text event event parent line background data line offset line event null line background put integ line offset event lineoffset cachelinebackground lineoffset styledtextev getlinebackgrounddata lineoffset linebackground lineoffset cach line data need request listen param printer content class style text content class request line data void cach line data style text content printer content int 0 printer content line count int line offset printer content offset line string line printer content line print option print line background cach line background line offset line print option print text background print option print text foreground print option print text font style cach line style line offset line parent bidi cach bidi segment line offset line printercont styledtextcont cachelinedata styledtextcont printercont printercont getlinecount lineoffset printercont getoffsetatlin printercont getlin printopt printlinebackground cachelinebackground lineoffset printopt printtextbackground printopt printtextforeground printopt printtextfontstyl cachelinestyl lineoffset isbidi cachebidiseg lineoffset cach line style line param line offset offset line cach style rel start document param line line cach style void cach line style int line offset string line style text event event parent line style data line offset line event null style rang style event style int 0 style length style rang style copi null print option print text background fals style background null style copi style rang style clone style copi background null print option print text foreground fals style foreground null style copi null style copi style rang style clone style copi foreground null print option print text font style fals style font style swt normal style copi null style copi style rang style clone style copi font style swt normal style copi null style style copi line style put integ line offset event lineoffset cachelinestyl lineoffset styledtextev getlinestyledata lineoffset stylerang stylerang stylecopi printopt printtextbackground stylecopi stylerang stylecopi printopt printtextforeground stylecopi stylecopi stylerang stylecopi printopt printtextfontstyl fontstyl stylecopi stylecopi stylerang stylecopi fontstyl stylecopi stylecopi linestyl lineoffset copi text class style text content class param origin class style text content class copi void copi content style text content origin int insert offset 0 printer content default content int 0 origin line count int insert end offset origin line count 1 insert end offset origin offset line 1 insert end offset origin char count printer content replac text rang insert offset 0 origin text rang insert offset insert end offset insert offset insert offset insert end offset styledtextcont styledtextcont copycont styledtextcont insertoffset printercont defaultcont getlinecount insertendoffset getlinecount insertendoffset getoffsetatlin insertendoffset getcharcount printercont replacetextrang insertoffset gettextrang insertoffset insertendoffset insertoffset insertoffset insertendoffset replac displai color cach line background line style printer color void creat printer color enumer valu line background element printer color hashtabl valu element style text event event style text event valu element event line background printer color event line background valu line style element valu element style text event event style text event valu element int 0 event style length style rang style event style color printer background printer color style background color printer foreground printer color style foreground printer background style background printer foreground style foreground style style rang style clone style background printer background style foreground printer foreground event style style createprintercolor linebackground printercolor hasmoreel styledtextev styledtextev nextel linebackground getprintercolor linebackground linestyl hasmoreel styledtextev styledtextev nextel stylerang printerbackground getprintercolor printerforeground getprintercolor printerbackground printerforeground stylerang printerbackground printerforeground dispos resourc class print render class void dispos printer color null enumer color printer color element color element color color color color element color dispos printer color null gc null gc dispos gc null printer font null printer font dispos printer font null render null render dispos render null printrender printercolor printercolor hasmoreel nextel printercolor printerfont printerfont printerfont finish print page param page page print void end page int page print decor page fals printer end page endpag printdecor endpag creat class print render class calcul line rang print void initi render rectangl trim printer comput trim 0 0 0 0 point dpi printer getdpi printer font font printer displai font data displai font data height swt normal client area printer client area page width client area width inch margin text client area dpi trim client area dpi trim client area width client area trim width client area height client area trim height gc gc printer gc set font printer font render print render printer printer font gc printer content line background line style bidi segment parent tab length client area print option header null int line height render line height client area line height 2 client area height line height 2 print option footer null client area height render line height 2 page size client area height render line height style text content content render content start line 0 singl line end line 0 end line content line count 1 printer data data printer printer data data scope printer data page rang start line start page 1 page size data scope printer data select start line content line offset select select 0 end line content line offset select select 1 end line start line 1 printrender initializerender computetrim printerfont displayfontdata getnam displayfontdata getheight clientarea getclientarea pagewidth clientarea clientarea clientarea clientarea clientarea clientarea clientarea setfont printerfont printrender printerfont printercont linebackground linestyl bidiseg tablength clientarea printopt lineheight getlineheight clientarea lineheight clientarea lineheight printopt clientarea getlineheight pages clientarea getlineheight styledtextcont getcont startlin singlelin endlin endlin getlinecount printerdata getprinterdata printerdata page_rang startlin startpag pages printerdata startlin getlineatoffset endlin getlineatoffset endlin startlin return printer color displai color param color displai color return color creat printer rgb valu displai color color printer color color color color printer color null color null printer color color printer color color printer color null printer color color printer color getrgb printer color put color printer color return printer color getprintercolor printercolor printercolor printercolor printercolor printercolor printercolor printercolor printercolor print line page rang void print style text content content render content color background gc background color foreground gc foreground int line height render line height int painti client area int page start page int start line end line page end page painti line height string line content line painti client area start page page render draw line line painti gc background foreground true painti line height 2 client area client area height close full page end page page painti client area line height page painti client area close partial page end page page styledtextcont getcont getbackground getforeground lineheight getlineheight clientarea startpag startlin endlin endpag lineheight getlin clientarea startpag drawlin lineheight clientarea clientarea endpag clientarea lineheight clientarea endpag print header footer decor param page page number print style text print option header footer param header true print header fals print footer void print decor int page boolean header int segment index 0 final int segment count 3 string text header text print option header text print option footer text null return int 0 segment count int segment index text index style text print option separ segment index string segment segment index 1 segment text substr segment index print decor segment segment page header break segment text substr segment index segment index print decor segment segment page header segment index segment index style text print option separ length styledtextprintopt printdecor lastsegmentindex segmentcount printopt printopt segmentcount segmentindex indexof styledtextprintopt lastsegmentindex segmentindex lastsegmentindex printdecorationseg lastsegmentindex segmentindex printdecorationseg lastsegmentindex segmentindex styledtextprintopt print segment header footer decor header footer segment left align center align text param segment decor segment print param align align segment 0 left 1 center 2 param page page number print decor segment param header true print header fals print footer void print decor segment string segment int align int page boolean header int page index segment index style text print option page tag page index 1 final int page tag length style text print option page tag length string buffer buffer string buffer segment substr 0 page index buffer append page buffer append segment substr page index page tag length segment buffer string segment length 0 int segment width int drawx 0 int drawi 0 text layout layout text layout printer layout set text segment layout set font printer font segment width layout line bound 0 width header drawi client area render line height 2 drawi client area client area height render line height align left drawx client area align center drawx page width segment width 2 align drawx client area client area width segment width layout draw gc drawx drawi layout dispos printdecorationseg pageindex indexof styledtextprintopt page_tag pageindex pagetaglength styledtextprintopt page_tag stringbuff stringbuff pageindex pageindex pagetaglength tostr segmentwidth textlayout textlayout settext setfont printerfont segmentwidth getlinebound clientarea getlineheight clientarea clientarea getlineheight clientarea pagewidth segmentwidth clientarea clientarea segmentwidth start print job print page constructor public void run string job print option job job null job print printer start job job creat printer color initi render print dispos printer end job jobnam printopt jobnam jobnam jobnam startjob jobnam createprintercolor initializerender endjob start print page param page page number start void start page int page printer start page print decor page true startpag startpag printdecor creat rtf writer write content start offset start document code start code code length code set partial line param start start offset content write 0 base begin document param length length content write public rtf writer int start int length super start length color tabl add element foreground color tabl add element background set unicod rtfwriter colort addel getforeground colort addel getbackground setunicod close rtf writer close content written note code string code return valid rtf string code close code call public void close close fals write header write 0 super close tostr isclos writehead return index color rtf color tabl param color color param default index return color null return index color rtf color tabl default index color null int color index color color int default index int index color null index default index index color tabl index color index 1 index color tabl size color tabl add element color return index defaultindex defaultindex getcolorindex defaultindex defaultindex colort indexof colort colort addel determin unicod rtf written don write unicod rtf window 95 98 nt void set unicod final string win95 window 95 final string win98 window 98 final string winm window final string winnt window nt string os system properti os lower case string os version system properti os version int major version 0 os start winnt os version null int major index os version index major index 1 os version os version substr 0 major index try major version integ pars int os version catch number format except except ignor except version number remain unknown write unicod os null os start win95 fals os start win98 fals os start winm fals os start winnt fals major version 4 write unicod true write unicod fals setunicod osnam getproperti tolowercas osvers getproperti majorvers osnam startswith osvers majorindex osvers indexof majorindex osvers osvers majorindex majorvers parseint osvers numberformatexcept osnam osnam startswith osnam startswith osnam startswith osnam startswith majorvers writeunicod writeunicod append segment string rtf data copi code start code exclud code end code param string string copi segment line break line break written write line delimit param start start offset segment 0 base param end end offset segment void write string string int start int end int index start index end index char ch string char index ch 0xff write unicod write string escap charact current fix bug 21698 index start write string substr start index write write integ string short ch write control word delimit start index 1 ch ch ch write string escap charact current fix bug 21698 index start write string substr start index write write ch start index 1 write escap charact end fix bug 21698 start end write string substr start end writelinedelimit charat writeunicod tostr write rtf header includ font tabl color tabl void write header string buffer header string buffer font data font data font font data 0 header append rtf1 ansi code page copi bidi system don support unicod rtf string cpg system properti file encod lower case cpg start cp cpg start ms cpg cpg substr 2 cpg length header append ansicpg header append cpg header append uc0 deff0 fonttbl f0 fnil header append font data header append colortbl int 0 color tabl size color color color color tabl element header append red header append color red header append green header append color green header append blue header append color blue header append rtf reader ignor deff0 font tag explicitli set font document header append f0 fs font size half point header append font data height 2 header append write header string 0 writehead stringbuff stringbuff fontdata fontdata getfont getfontdata getproperti tolowercas startswith startswith fontdata getnam colort colort elementat getr getgreen getblu fontdata getheight tostr append line text rtf data line format style queri line style listen set set directli widget param line line text write rtf line break line break written write line delimit param line offset offset line 0 base start widget document text occur start offset end offset object creation except swt except ul li error io writer close li ul public void write line string line int line offset style rang style style rang 0 color line background null style text event event close swt error swt error io event render line style data line offset line event null style event style event render line background data line offset line event null line background event line background line background null line background background write style line line line offset style line background linestylelisten writelinedelimit lineoffset swtexcept error_io writelin lineoffset stylerang stylerang linebackground styledtextev isclos error_io getlinestyledata lineoffset getlinebackgrounddata lineoffset linebackground linebackground linebackground linebackground getbackground writestyledlin lineoffset linebackground append line delmimit rtf data param line delimit line delimit write rtf except swt except ul li error io writer close li ul public void write line delimit string line delimit close swt error swt error io write line delimit 0 line delimit length write par linedelimit swtexcept error_io writelinedelimit linedelimit isclos error_io linedelimit linedelimit append line text rtf data color font style style line background format written reflect text render text widget style background color preced line background color background color written highlight tag cb tag param line line text write rtf line break line break written write line delimit param line offset offset line 0 base start widget document text occur start offset end offset object creation param style style format null param linebackground line background color format null void write style line string line int line offset style rang style color line background int line length line length int line index int copi end int start offset start int end offset start offset super char count int line end offset math min line length end offset line offset int write offset start offset line offset write offset line length return line write rang write offset 0 line index write offset line start rtf write start line index 0 line background null write highlight write color index line background default background write int 0 style length style rang style style int start style start line offset int end start style length int color index skip partial line end write offset continu style start line end rtf write end start line end offset break write unstyl text line index start copi start style style start betond end write rang end line guard write line line index start line index start write style text color index color index style background default background write cf write color index style foreground default foreground color index default background write highlight write color index style font style swt bold write write copi end style end write rang end line copi end math min end line end offset guard invalid style let style process continu copi end math max copi end line index write line line index copi end style font style swt bold write b0 write line index copi end write unstyl text end line line index line end offset write line line index line end offset line background null write linebackground writelinedelimit lineoffset writestyledlin lineoffset stylerang linebackground linelength lineindex copyend startoffset getstart endoffset startoffset getcharcount lineendoffset linelength endoffset lineoffset writeoffset startoffset lineoffset writeoffset writeoffset lineindex writeoffset lineindex linebackground getcolorindex linebackground default_background stylerang lineoffset colorindex writeoffset lineendoffset lineindex lineindex lineindex colorindex getcolorindex default_background getcolorindex default_foreground colorindex default_background colorindex fontstyl copyend lineendoffset copyend copyend lineindex lineindex copyend fontstyl lineindex copyend lineindex lineendoffset lineindex lineendoffset linebackground creat writer write content start offset start document code start code code length code set partial line param start start offset content write 0 base begin document param length length content write public text writer int start int length buffer string buffer length start offset start end offset start length textwrit stringbuff startoffset endoffset close writer close content written note code string code guarante return valid string writer close public void close close fals close true tostr isclos isclos return number charact write public int char count return end offset start offset getcharcount endoffset startoffset return offset write start 0 base start widget text write partial line public int start return start offset getstart startoffset return writer close public boolean close return close isclos isclos return string code close code call code string code guarante return valid string return string public string string return buffer string tostr tostr tostr append string data void write string string buffer append string insert string data offset offset 0 char count param string text insert param offset offset exist data insert string void write string string int offset offset 0 offset buffer length return buffer insert offset string getcharcount append int data void write int buffer append append charact data void write char buffer append append line text data param line line text write line break line break written write line delimit param line offset offset line 0 base start widget document text occur start offset end offset object creation except swt except ul li error io writer close li ul public void write line string line int line offset int line length line length int line index int copi end int write offset start offset line offset close swt error swt error io write offset line length return line write rang write offset 0 line index write offset line start write start line index 0 copi end math min line length end offset line offset line index copi end write line substr line index copi end writelinedelimit lineoffset swtexcept error_io writelin lineoffset linelength lineindex copyend writeoffset startoffset lineoffset isclos error_io writeoffset linelength writeoffset lineindex writeoffset lineindex copyend linelength endoffset lineoffset lineindex copyend lineindex copyend append line delmimit data param line delimit line delimit write except swt except ul li error io writer close li ul public void write line delimit string line delimit close swt error swt error io write line delimit linedelimit swtexcept error_io writelinedelimit linedelimit isclos error_io linedelimit interfac line cach calcul line rang param start line line calcul param line count number line calcul linecach startlin linecount public void calcul int start line int line count return width code style text code widget size horizont scroll bar return line width startlin linecount styledtext public int width reset line rang method call code style text redraw code implementor call redraw reset param start line line reset param line count number line reset param calcul max width true implementor retain valid width affect reset oper fals width set 0 getwidth styledtext startlin linecount calculatemaxwidth public void redraw reset int start line int line count boolean calcul max width reset line rang param start line line reset param line count number line reset param calcul max width true implementor retain valid width affect reset oper fals width set 0 redrawreset startlin linecount calculatemaxwidth startlin linecount calculatemaxwidth public void reset int start line int line count boolean calcul max width call text chang occur param start offset start offset text chang param line count number insert line param replac line count number delet line param char count number charact param replac char count number delet charact startlin linecount calculatemaxwidth startoffset newlinecount replacelinecount newcharcount replacecharcount creat code content width cach code alloc space number line param parent style text widget creat gc line measur param line count initi number line alloc space public content width cach style text parent style text content content parent parent content content line count content line count line width int line count reset 0 line count fals contentwidthcach styledtext linecount contentwidthcach styledtext styledtextcont linecount getlinecount linewidth linecount linecount calcul width line rang calcul line rang wider widest line maximum line width updat param start line line calcul line width param line count number line calcul line width public void calcul int start line int line count int caret width 0 int end line start line line count start line 0 end line line width length return caret width caret width int start line end line line width 1 string line content line int line offset content offset line line width content width line line offset caret width line width max width max width line width max width line index startlin linecount startlin linecount caretwidth endlin startlin linecount startlin endlin linewidth caretwidth getcaretwidth startlin endlin linewidth getlin lineoffset getoffsetatlin linewidth contentwidth lineoffset caretwidth linewidth maxwidth maxwidth linewidth maxwidthlineindex calcul width visibl line rang param start line chang line param line count number insert line void calcul visibl int start line int line count int top index parent top index int bottom line math min partial bottom index start line line count start line math max start line top index calcul start line bottom line start line 1 startlin newlinecount calculatevis startlin newlinecount topindex gettopindex bottomlin getpartialbottomindex startlin newlinecount startlin startlin topindex startlin bottomlin startlin measur width line param line line measur param line offset start offset line measur rel start document param gc gc measur line param current font font set gc cach perform null run bidi local return width line int content width string line int line offset text layout layout render text layout line line offset rectangl rect layout line bound 0 render dispos text layout layout return rect rect width left margin margin lineoffset currentfont contentwidth lineoffset textlayout gettextlayout lineoffset getlinebound disposetextlayout leftmargin rightmargin grow code line width code arrai accomod line width inform param num line number element increas arrai void expand line int num line int size line width length size line count num line return int line int math max size 2 size num line system arraycopi line width 0 line 0 size line width line reset size line width length size fals linewidth numlin expandlin numlin linewidth linecount numlin newlin numlin linewidth newlin linewidth newlin linewidth return width longest measur line return width longest measur line public int width return max width getwidth maxwidth updat line width arrai reflect insert delet line param start start line chang took place param delta number line chang 0 line insert 0 line delet void line chang int start line int delta boolean insert delta 0 delta 0 return insert shift line room line expand line delta int line count 1 start line line width delta line width reset line int start line 1 start line delta line width length line width 1 line insert longest line max width line index start line max width line index delta shift line int start line delta line count line width delta line width longest line remov max width line index start line max width line index start line delta max width 0 max width line index 1 max width line index start line delta max width line index delta line count delta lineschang startlin expandlin linecount startlin linewidth linewidth startlin startlin linewidth linewidth maxwidthlineindex startlin maxwidthlineindex startlin linecount linewidth linewidth maxwidthlineindex startlin maxwidthlineindex startlin maxwidth maxwidthlineindex maxwidthlineindex startlin maxwidthlineindex linecount reset line width line rang param start line line reset param line count number line reset param calcul max width true widest line reset maximum width remain cach line calcul fals maximum width set 0 widest line reset public void redraw reset int start line int line count boolean calcul max width reset start line line count calcul max width startlin linecount calculatemaxwidth redrawreset startlin linecount calculatemaxwidth startlin linecount calculatemaxwidth reset line width line rang param start line line reset param line count number line reset param calcul max width true widest line reset maximum width remain cach line calcul fals maximum width set 0 widest line reset public void reset int start line int line count boolean calcul max width int end line start line line count start line 0 end line line width length return int start line end line line width 1 longest line reset line maximum line width longer valid max width line index start line max width line index end line max width 0 max width line index 1 calcul max width int 0 line count line width max width max width line width max width line index startlin linecount calculatemaxwidth startlin linecount calculatemaxwidth endlin startlin linecount startlin endlin linewidth startlin endlin linewidth maxwidthlineindex startlin maxwidthlineindex endlin maxwidth maxwidthlineindex calculatemaxwidth linecount linewidth maxwidth maxwidth linewidth maxwidthlineindex updat line width arrai reflect text chang line affect text chang reset param start offset start offset text chang param line count number insert line param replac line count number delet line param char count number charact param replac char count number delet charact public void text chang int start offset int line count int replac line count int char count int replac char count int start line parent line offset start offset boolean remov max line max width line index start line max width line index start line replac line count entir text delet start line 0 replac line count line count line count line count line width int line count reset 0 line count fals max width 0 line chang start line replac line count line chang start line line count line width start line 1 calcul visibl line measur chang line visibl area subsequ chang line visibl calcul visibl start line line count max width line index 1 unknown line width widget visibl chang line calcul remov max line max width line index 1 line width max width line index max width longest line remov chang shorter need recalcul maximum content width line max width 0 int 0 line count line width max width max width line width max width line index startoffset newlinecount replacelinecount newcharcount replacecharcount textchang startoffset newlinecount replacelinecount newcharcount replacecharcount startlin getlineatoffset startoffset removedmaxlin maxwidthlineindex startlin maxwidthlineindex startlin replacelinecount startlin replacelinecount linecount linecount newlinecount linewidth linecount linecount maxwidth lineschang startlin replacelinecount lineschang startlin newlinecount linewidth startlin calculatevis startlin newlinecount maxwidthlineindex removedmaxlin maxwidthlineindex linewidth maxwidthlineindex maxwidth maxwidth linecount linewidth maxwidth maxwidth linewidth maxwidthlineindex creat code word wrap cach code calcul initi line wrap param parent style text widget wrap content param content content provid actual line wrap public word wrap cach style text parent wrap content content parent parent visual content content visual content wrap line wordwrapcach styledtext wordwrapcach styledtext wrappedcont visualcont visualcont wraplin line wrap immedi reset param start line line calcul param line count number line calcul public void calcul int start line int line count startlin linecount startlin linecount return client area width line wrap horizont scroll bar return line width public int width return parent client area width getwidth getclientarea wrap line rang method call code style text redraw code redraw param start line line reset param line count number line reset param calcul max width true implementor retain valid width affect reset oper fals width set 0 public void redraw reset int start line int line count boolean calcul max width line count visual content line count full rewrap line reset visual content wrap line visual content reset start line line count styledtext startlin linecount calculatemaxwidth redrawreset startlin linecount calculatemaxwidth linecount visualcont getlinecount visualcont wraplin visualcont startlin linecount rewrap line rang redraw widget line wrap chang param start line line reset param line count number line reset param calcul max width true implementor retain valid width affect reset oper fals width set 0 public void reset int start line int line count boolean calcul max width int item count partial bottom index top index 1 int line offset int item count int 0 item count line offset visual content offset line top index redraw reset start line line count calcul max width check case requir full redraw partial bottom index top index 1 item count number visibl line chang parent intern redraw int 0 item count visual content offset line top index line offset wrap visibl line chang parent intern redraw break startlin linecount calculatemaxwidth startlin linecount calculatemaxwidth itemcount getpartialbottomindex topindex oldlineoffset itemcount itemcount oldlineoffset visualcont getoffsetatlin topindex redrawreset startlin linecount calculatemaxwidth getpartialbottomindex topindex itemcount internalredraw itemcount visualcont getoffsetatlin topindex oldlineoffset internalredraw pass text chang notif line wrap content param start offset start offset text chang param line count number insert line param replac line count number delet line param char count number charact param replac char count number delet charact public void text chang int start offset int line count int replac line count int char count int replac char count int start line visual content line offset start offset visual content text chang start offset line count replac line count char count replac char count wrap delet line text shorten total text length line occur start index adjust redraw perform visibl region affect fix bug 42947 word wrap int line count content line count start line line count start line line count 1 start line partial bottom index redraw text chang affect text insid visibl line visibl line affect word wrap fix bug 14047 parent intern redraw startoffset newlinecount replacelinecount newcharcount replacecharcount textchang startoffset newlinecount replacelinecount newcharcount replacecharcount startlin visualcont getlineatoffset startoffset visualcont textchang startoffset newlinecount replacelinecount newcharcount replacecharcount startindex wordwrap linecount getlinecount startlin linecount startlin linecount startlin getpartialbottomindex internalredraw runnabl runnabl runnabl public void run int direct bidi util keyboard languag bidi util keyboard bidi swt swt left direct caret direct return caret default caret return int line index caret line string line content line line index int line offset content offset line line index int offset line caret offset line offset int caretx getx offset line line index offset line set caret locat caretx caret line direct bidiutil getkeyboardlanguag bidiutil keyboard_bidi caretdirect getcaret defaultcaret lineindex getcaretlin getlin lineindex lineoffset getoffsetatlin lineindex offsetinlin caretoffset lineoffset newcaretx getxatoffset lineindex offsetinlin setcaretloc newcaretx getcaretlin construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt full select swt multi swt read swt singl swt wrap style public style text composit parent int style super parent check style style swt redraw resiz swt background set bg fg os ensur style text ensur bg fg im box style text super set foreground foreground super set background background displai displai displai mirror super style swt mirror 0 bidi bidi util bidi platform mirror style swt read 0 set edit fals left margin margin bidi bidi caret width 1 0 style swt singl 0 style swt border 0 left margin top margin margin bottom margin 2 clipboard clipboard displai instal default content initi render style swt wrap 0 set word wrap true line cach content width cach content default caret caret swt null bidi creat caret bitmap runnabl runnabl runnabl public void run int direct bidi util keyboard languag bidi util keyboard bidi swt swt left direct caret direct return caret default caret return int line index caret line string line content line line index int line offset content offset line line index int offset line caret offset line offset int caretx getx offset line line index offset line set caret locat caretx caret line direct bidi util add languag listen handl runnabl set caret default caret calcul scroll bar creat kei bind ibeam cursor cursor displai swt cursor ibeam set cursor ibeam cursor instal listen instal default line styler initi access illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access full_select read_onli getstyl styledtext checkstyl no_redraw_resiz no_background styledtext styledtext setforeground getforeground setbackground getbackground getdisplai ismirror getstyl isbidi bidiutil isbidiplatform ismirror read_onli setedit leftmargin rightmargin isbidi bidi_caret_width leftmargin topmargin rightmargin bottommargin installdefaultcont initializerender setwordwrap linecach contentwidthcach defaultcaret isbidi createcaretbitmap bidiutil getkeyboardlanguag bidiutil keyboard_bidi caretdirect getcaret defaultcaret lineindex getcaretlin getlin lineindex lineoffset getoffsetatlin lineindex offsetinlin caretoffset lineoffset newcaretx getxatoffset lineindex offsetinlin setcaretloc newcaretx getcaretlin bidiutil addlanguagelisten setcaret defaultcaret calculatescrollbar createkeybind ibeamcursor cursor_ibeam setcursor ibeamcursor installlisten installdefaultlinestyl initializeaccess add extend modifi listen extend modifi event widget widget text chang param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void add extend modifi listen extend modifi listen extend modifi listen check widget extend modifi listen null swt error swt error null argument style text listen type listen style text listen extend modifi listen add listen extend modifi type listen extendedmodifi swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument addextendedmodifylisten extendedmodifylisten extendedmodifylisten checkwidget extendedmodifylisten error_null_argument styledtextlisten typedlisten styledtextlisten extendedmodifylisten addlisten extendedmodifi typedlisten map kei action action kei kei action kei action 1 relat param kei kei code defin swt java charact option rd mask prefer mask swt mod1 swt mod2 swt mod3 mask account modifi platform differ case specif mask swt ctrl swt shift swt alt swt command make sens param action predefin action defin st java swt null remov kei bind except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set kei bind int kei int action check widget int kei kei swt kei mask int modifi kei swt modifi mask char kei char char kei compat letter kei char keybind case insensit ad upper lower case form char ch charact upper case kei char int kei ch modifi action swt null kei action map remov integ kei kei action map put integ kei integ action ch charact lower case kei char kei ch modifi action swt null kei action map remov integ kei kei action map put integ kei integ action action swt null kei action map remov integ kei kei action map put integ kei integ action ord swtexcept error_widget_dispos error_thread_invalid_access setkeybind checkwidget keyvalu kei_mask modifiervalu modifi_mask keychar keyvalu islett keychar touppercas keychar newkei modifiervalu keyactionmap newkei keyactionmap newkei tolowercas keychar newkei modifiervalu keyactionmap newkei keyactionmap newkei keyactionmap keyactionmap add bidirect segment listen bidi segment event line text measur render user text rang line treat direct surround text adjac segment left text reorder rel multipl java string liter left languag gener remain logic order store param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul bidi segment event 2 0 public void add bidi segment listen bidi segment listen listen check widget listen null swt error swt error null argument style text listen type listen style text listen listen add listen line segment type listen bidisegmentev swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument bidisegmentev addbidisegmentlisten bidisegmentlisten checkwidget error_null_argument styledtextlisten typedlisten styledtextlisten addlisten linegetseg typedlisten add line background listen line background event widget determin background color line param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void add line background listen line background listen listen check widget listen null swt error swt error null argument user line background fals remov line background listen default line styler default line styler set line background 0 logic content line count null user line background true style text listen type listen style text listen listen add listen line background type listen linegetbackground swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument addlinebackgroundlisten linebackgroundlisten checkwidget error_null_argument userlinebackground removelinebackgroundlisten defaultlinestyl defaultlinestyl setlinebackground logicalcont getlinecount userlinebackground styledtextlisten typedlisten styledtextlisten addlisten linegetbackground typedlisten add line style listen line style event widget determin style line param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void add line style listen line style listen listen check widget listen null swt error swt error null argument user line style fals remov line style listen default line styler default line styler set style rang null user line style true style text listen type listen style text listen listen add listen line style type listen linegetstyl swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument addlinestylelisten linestylelisten checkwidget error_null_argument userlinestyl removelinestylelisten defaultlinestyl defaultlinestyl setstylerang userlinestyl styledtextlisten typedlisten styledtextlisten addlisten linegetstyl typedlisten add modifi listen modifi event widget widget text chang param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void add modifi listen modifi listen modifi listen check widget modifi listen null swt error swt error null argument type listen type listen type listen modifi listen add listen swt modifi type listen swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument addmodifylisten modifylisten modifylisten checkwidget modifylisten error_null_argument typedlisten typedlisten typedlisten modifylisten addlisten typedlisten add select listen select event widget select chang code widget select code call event amd field start end caret indic select code widget default select code call style text param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void add select listen select listen listen check widget listen null swt error swt error null argument type listen type listen type listen listen add listen swt select type listen widgetselect widgetdefaultselect styledtext swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten add verifi kei listen verifi kei event widget kei press widget ignor kei press listen set doit field event fals param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void add verifi kei listen verifi kei listen listen check widget listen null swt error swt error null argument style text listen type listen style text listen listen add listen verifi kei type listen verifykei swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument addverifykeylisten verifykeylisten checkwidget error_null_argument styledtextlisten typedlisten styledtextlisten addlisten verifykei typedlisten add verifi listen verifi event widget widget text chang listen set event text doit field chang text set widget forc widget ignor text chang param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void add verifi listen verifi listen verifi listen check widget verifi listen null swt error swt error null argument type listen type listen type listen verifi listen add listen swt verifi type listen swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument addverifylisten verifylisten verifylisten checkwidget verifylisten error_null_argument typedlisten typedlisten typedlisten verifylisten addlisten typedlisten append string text end widget param string string append replac text rang int int string except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void append string string check widget string null swt error swt error null argument int char math max char count 0 replac text rang char 0 string replacetextrang swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument checkwidget error_null_argument lastchar getcharcount replacetextrang lastchar calcul width widest visibl line void calcul content width line cach line cach content line cach calcul top index partial bottom index top index 1 calculatecontentwidth linecach getlinecach linecach topindex getpartialbottomindex topindex calcul scroll bar void calcul scroll bar scroll bar horizont bar horizont bar scroll bar vertic bar vertic bar set scroll bar vertic bar null vertic bar set increment vertic increment horizont bar null horizont bar set increment horizont increment calculatescrollbar scrollbar horizontalbar gethorizontalbar scrollbar verticalbar getverticalbar setscrollbar verticalbar verticalbar setincr getverticalincr horizontalbar horizontalbar setincr gethorizontalincr calcul top index base current vertic scroll offset top index index topmost fulli visibl line topmost partial visibl line line fulli visibl top index start 0 void calcul top index int top index top index int vertic increment vertic increment int client area height client area height vertic increment 0 return top index compat ceil vertic scroll offset vertic increment set top index partial visibl top line line fulli visibl widget client area visibl fix bug 15088 top index 0 client area height 0 int bottom pixel vertic scroll offset client area height int full line top pixel top index vertic increment int full line visibl height bottom pixel full line top pixel set top index partial visibl line line fulli fit client area space happen claim bottom free space full line visibl height vertic increment top index top index content line count top index content line count 1 top index top index top offset content offset line top index line cach calcul top index partial bottom index top index 1 set horizont scroll bar calculatetopindex oldtopindex topindex verticalincr getverticalincr clientareaheight getclientarea verticalincr topindex verticalscrolloffset verticalincr topindex clientareaheight bottompixel verticalscrolloffset clientareaheight fulllinetoppixel topindex verticalincr fulllinevisibleheight bottompixel fulllinetoppixel claimbottomfreespac fulllinevisibleheight verticalincr topindex topindex getlinecount topindex getlinecount topindex oldtopindex topoffset getoffsetatlin topindex linecach topindex getpartialbottomindex topindex sethorizontalscrollbar hide scroll bar widget creat singl line mode static int check style int style style swt singl 0 style swt scroll swt scroll swt wrap style swt multi return style checkstyl h_scroll v_scroll scroll text space resiz delet line void claim bottom free space int vertic offset math max 0 content line count line height client area height vertic offset vertic scroll offset scroll empti line text line fix 1geyjm0 set vertic scroll offset vertic offset true claimbottomfreespac newverticaloffset getlinecount lineheight getclientarea newverticaloffset verticalscrolloffset setverticalscrolloffset newverticaloffset scroll text to space resiz void claim free space int horizont offset math max 0 line cach width client area width left margin margin horizont offset horizont scroll offset item longer drawn past border client area align end item border client area window scroll scroll horizont bar horizont offset horizont scroll offset claimrightfreespac newhorizontaloffset linecach getwidth getclientarea leftmargin rightmargin newhorizontaloffset horizontalscrolloffset scrollhorizontalbar newhorizontaloffset horizontalscrolloffset clear widget margin param gc gc render param background background color clear margin param client area widget client area dimens void clear margin gc gc color background rectangl client area int clear margin background gc set background background top margin 0 gc fill rectangl 0 client area width top margin bottom margin 0 gc fill rectangl 0 client area height bottom margin client area width bottom margin left margin 0 gc fill rectangl 0 left margin client area height margin 0 gc fill rectangl client area width margin margin client area height clientarea clearmargin clientarea setbackground topmargin fillrectangl clientarea topmargin bottommargin fillrectangl clientarea bottommargin clientarea bottommargin leftmargin fillrectangl leftmargin clientarea rightmargin fillrectangl clientarea rightmargin rightmargin clientarea remov widget select param send event select event set true select actual reset void clear select boolean send event int select start select int select end select int length content char count reset select redraw select if select end select start 0 call intern remov select text remov sure redraw rang valid int redraw start math min select start length int redraw end math min select end length redraw end redraw start 0 intern redraw rang redraw start redraw end redraw start true send event true send select event sendev clearselect sendev selectionstart selectionend getcharcount resetselect selectionend selectionstart redrawstart selectionstart redrawend selectionend redrawend redrawstart internalredrawrang redrawstart redrawend redrawstart sendev sendselectionev comput prefer size except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point comput size int hint int hint boolean chang check widget int count width height boolean singl line style swt singl 0 singl line count 1 count content line count hint swt default width hint width default width hint swt default line cach comput line cach line cach word wrap set non wrap content width calcul ensur ideal line width requir wrap fix bug 31195 comput line cach content width cach logic content singl line fals count logic content line count calcul actual displai measur text line consum process int visibl count math min count displai bound height line height comput line cach calcul 0 visibl count width comput line cach width left margin margin word wrap singl line fals calcul wrap width hint fix bug 20377 don wrap live content fix bug 38344 wrap content wrap content wrap content render logic content wrap content wrap line width count wrap content line count hint swt default height hint height count line height top margin bottom margin default valu text defin width 0 width default width height 0 singl line height line height height default height rectangl rect comput trim 0 0 width height return point rect width rect height swtexcept error_widget_dispos error_thread_invalid_access computes whint hhint checkwidget singlelin getstyl singlelin getlinecount whint whint default_width whint linecach computelinecach linecach wordwrap computelinecach contentwidthcach logicalcont singlelin logicalcont getlinecount visiblecount getdisplai getbound lineheight computelinecach visiblecount computelinecach getwidth leftmargin rightmargin wordwrap singlelin wrappedcont wrappedcont wrappedcont logicalcont wrappedcont wraplin wrappedcont getlinecount hhint hhint lineheight topmargin bottommargin default_width singlelin lineheight default_height computetrim copi select text clipboard text put clipboard plain text format rtf format except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void copi check widget int length select select length 0 try set clipboard content select length catch swt error error copi clipboard fail happen applic access clipboard copi ignor error fix 1gdqavn rethrow error fix bug 17578 error code dnd error set clipboard throw error swtexcept error_widget_dispos error_thread_invalid_access checkwidget setclipboardcont swterror error_cannot_set_clipboard return string line delimit style text content implement return line widget swt singl style param text text line delimit don match model line delimit line delimit cr lf cr lf return convert text line delimit model return line widget swt singl style string model delimit text string text string buffer convert text string delimit line delimit int length text length int cr index 0 int lf index 0 int 0 length 0 return text convert text string buffer length length cr index 1 cr index text index swt cr lf index 1 lf index text index swt lf lf index 1 cr index 1 line break break cr occur lf lf present cr index lf index cr index 1 lf index 1 convert text append text substr cr index lf index cr index 1 cr lf combin lf index 1 cr index 1 lf occur cr convert text append text substr lf index lf index 1 singl line break convert text append delimit copi remain text if singl line mode text copi line length singl line fals convert text length 0 convert text append text substr return convert text string styledtextcont getmodeldelimitedtext stringbuff convertedtext getlinedelimit crindex lfindex convertedtext stringbuff crindex crindex indexof lfindex lfindex indexof lfindex crindex crindex lfindex crindex lfindex convertedtext crindex lfindex crindex lfindex crindex convertedtext lfindex lfindex issinglelin convertedtext issinglelin convertedtext convertedtext convertedtext tostr creat default kei bind void creat kei bind navig set kei bind swt arrow st line set kei bind swt arrow st line set kei bind swt home st line start set kei bind swt end st line end set kei bind swt page st page set kei bind swt page st page set kei bind swt home swt mod1 st text start set kei bind swt end swt mod1 st text end set kei bind swt page swt mod1 st window start set kei bind swt page swt mod1 st window end mirror set kei bind swt arrow left st column set kei bind swt arrow st column previou set kei bind swt arrow left swt mod1 st word set kei bind swt arrow swt mod1 st word previou set kei bind swt arrow left st column previou set kei bind swt arrow st column set kei bind swt arrow left swt mod1 st word previou set kei bind swt arrow swt mod1 st word select set kei bind swt arrow swt mod2 st select line set kei bind swt arrow swt mod2 st select line set kei bind swt home swt mod2 st select line start set kei bind swt end swt mod2 st select line end set kei bind swt page swt mod2 st select page set kei bind swt page swt mod2 st select page set kei bind swt home swt mod1 swt mod2 st select text start set kei bind swt end swt mod1 swt mod2 st select text end set kei bind swt page swt mod1 swt mod2 st select window start set kei bind swt page swt mod1 swt mod2 st select window end mirror set kei bind swt arrow left swt mod2 st select column set kei bind swt arrow swt mod2 st select column previou set kei bind swt arrow left swt mod1 swt mod2 st select word set kei bind swt arrow swt mod1 swt mod2 st select word previou set kei bind swt arrow left swt mod2 st select column previou set kei bind swt arrow swt mod2 st select column set kei bind swt arrow left swt mod1 swt mod2 st select word previou set kei bind swt arrow swt mod1 swt mod2 st select word modif cut copi past set kei bind swt mod1 st cut set kei bind swt mod1 st copi set kei bind swt mod1 st past cut copi past wordstar style set kei bind swt del swt mod2 st cut set kei bind swt insert swt mod1 st copi set kei bind swt insert swt mod2 st past set kei bind swt bs swt mod2 st delet previou set kei bind swt bs st delet previou set kei bind swt del st delet set kei bind swt bs swt mod1 st delet word previou set kei bind swt del swt mod1 st delet word miscellan set kei bind swt insert st toggl overwrit createkeybind setkeybind arrow_up line_up setkeybind arrow_down line_down setkeybind line_start setkeybind line_end setkeybind page_up page_up setkeybind page_down page_down setkeybind text_start setkeybind text_end setkeybind page_up window_start setkeybind page_down window_end ismirror setkeybind arrow_left column_next setkeybind arrow_right column_previou setkeybind arrow_left word_next setkeybind arrow_right word_previou setkeybind arrow_left column_previou setkeybind arrow_right column_next setkeybind arrow_left word_previou setkeybind arrow_right word_next setkeybind arrow_up select_line_up setkeybind arrow_down select_line_down setkeybind select_line_start setkeybind select_line_end setkeybind page_up select_page_up setkeybind page_down select_page_down setkeybind select_text_start setkeybind select_text_end setkeybind page_up select_window_start setkeybind page_down select_window_end ismirror setkeybind arrow_left select_column_next setkeybind arrow_right select_column_previou setkeybind arrow_left select_word_next setkeybind arrow_right select_word_previou setkeybind arrow_left select_column_previou setkeybind arrow_right select_column_next setkeybind arrow_left select_word_previou setkeybind arrow_right select_word_next setkeybind setkeybind setkeybind setkeybind setkeybind setkeybind setkeybind delet_previou setkeybind delet_previou setkeybind delet_next setkeybind delet_word_previou setkeybind delet_word_next setkeybind toggl_overwrit creat bitmap caret bidi mode method need call widget creation font caret bitmap height need match font height void creat caret bitmap int caret width bidi caret width displai displai displai left caret bitmap null default caret null left caret bitmap equal default caret imag default caret set imag null left caret bitmap dispos left caret bitmap imag displai caret width line height gc gc gc left caret bitmap gc set background displai system color swt color black gc fill rectangl 0 0 caret width line height gc set foreground displai system color swt color white gc draw line 0 0 0 line height gc draw line 0 0 caret width 1 0 gc draw line 0 1 1 1 gc dispos caret bitmap null default caret null caret bitmap equal default caret imag default caret set imag null caret bitmap dispos caret bitmap imag displai caret width line height gc gc caret bitmap gc set background displai system color swt color black gc fill rectangl 0 0 caret width line height gc set foreground displai system color swt color white gc draw line caret width 1 0 caret width 1 line height gc draw line 0 0 caret width 1 0 gc draw line caret width 1 1 1 1 gc dispos createcaretbitmap caretwidth bidi_caret_width getdisplai leftcaretbitmap defaultcaret leftcaretbitmap defaultcaret getimag defaultcaret setimag leftcaretbitmap leftcaretbitmap caretwidth lineheight leftcaretbitmap setbackground getsystemcolor color_black fillrectangl caretwidth lineheight setforeground getsystemcolor color_white drawlin lineheight drawlin caretwidth drawlin rightcaretbitmap defaultcaret rightcaretbitmap defaultcaret getimag defaultcaret setimag rightcaretbitmap rightcaretbitmap caretwidth lineheight rightcaretbitmap setbackground getsystemcolor color_black fillrectangl caretwidth lineheight setforeground getsystemcolor color_white drawlin caretwidth caretwidth lineheight drawlin caretwidth drawlin caretwidth move select text clipboard text put clipboard plain text format rtf format except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void cut check widget int length select select length 0 try set clipboard content select length catch swt error error copi clipboard fail happen applic access clipboard copi ignor error fix 1gdqavn rethrow error fix bug 17578 error code dnd error set clipboard throw error abort cut oper copi clipboard fail fix bug 21030 return delet swtexcept error_widget_dispos error_thread_invalid_access checkwidget setclipboardcont swterror error_cannot_set_clipboard dodelet mous move event occur start autoscrol move posit client area initi autoscrol ve move widget end autoscrol void auto scroll event event rectangl area client area event area height auto scroll swt event 0 auto scroll swt event left margin word wrap fals auto scroll st column previou event area width left margin margin word wrap fals auto scroll st column end auto scroll doautoscrol getclientarea doautoscrol doautoscrol leftmargin wordwrap doautoscrol column_previou leftmargin rightmargin wordwrap doautoscrol column_next endautoscrol timer runnabl public void run auto scroll direct swt select line displai timer exec timer interv autoscrolldirect doselectionlineup timerexec timer_interv timer runnabl public void run auto scroll direct swt select line displai timer exec timer interv autoscrolldirect doselectionlinedown timerexec timer_interv timer runnabl public void run auto scroll direct st column visual set mous word select anchor mous select displai timer exec timer interv autoscrolldirect column_next dovisualnext setmousewordselectionanchor domouseselect timerexec timer_interv timer runnabl public void run auto scroll direct st column previou visual previou set mous word select anchor mous select displai timer exec timer interv autoscrolldirect column_previou dovisualprevi setmousewordselectionanchor domouseselect timerexec timer_interv initi autoscrol param direct swt swt swt column swt column previou void auto scroll int direct runnabl timer null final int timer interv 5 re autoscrol direct auto scroll direct direct return final displai displai displai set timer simul user press hold cursor kei arrow arrow direct swt timer runnabl public void run auto scroll direct swt select line displai timer exec timer interv direct swt timer runnabl public void run auto scroll direct swt select line displai timer exec timer interv direct st column timer runnabl public void run auto scroll direct st column visual set mous word select anchor mous select displai timer exec timer interv direct st column previou timer runnabl public void run auto scroll direct st column previou visual previou set mous word select anchor mous select displai timer exec timer interv timer null auto scroll direct direct displai timer exec timer interv timer column_next column_previou doautoscrol timer_interv autoscrolldirect getdisplai arrowup arrowdown autoscrolldirect doselectionlineup timerexec timer_interv autoscrolldirect doselectionlinedown timerexec timer_interv column_next autoscrolldirect column_next dovisualnext setmousewordselectionanchor domouseselect timerexec timer_interv column_previou autoscrolldirect column_previou dovisualprevi setmousewordselectionanchor domouseselect timerexec timer_interv autoscrolldirect timerexec timer_interv delet previou charact delet select text move caret front delet text void backspac event event event event text select select event start select event end select send kei event event caret offset 0 int line content line offset caret offset int line offset content offset line line caret offset line offset line offset content offset line line 1 event start line offset content line line 1 length event end caret offset string line text content line line text layout layout render text layout line text line offset int start layout previou offset caret offset line offset swt movement char render dispos text layout layout event start start line offset event end caret offset send kei event event dobackspac sendkeyev caretoffset getlineatoffset caretoffset lineoffset getoffsetatlin caretoffset lineoffset lineoffset getoffsetatlin lineoffset getlin caretoffset linetext getlin textlayout gettextlayout linetext lineoffset getpreviousoffset caretoffset lineoffset movement_char disposetextlayout lineoffset caretoffset sendkeyev replac select charact insert charact current caret posit select exist carriag return type replac line break charact widget platform param kei charact type user void content char kei event event text limit 0 content char count select select text limit return event event event start select event end select replac cr line break widget line break cr sens window applic don recogn cr line break kei swt cr kei swt lf singl line fals event text line delimit select overwrit mode type kei tab charact tab insert overwrit select select overwrit true kei tab int line index content line offset event end int line offset content offset line line index string line content line line index replac charact caret offset caret end line event end line offset line length event end event text string char kei event text string char kei event text null send kei event event docont textlimit getcharcount textlimit issinglelin getlinedelimit lineindex getlineatoffset lineoffset getoffsetatlin lineindex getlin lineindex lineoffset sendkeyev move caret charact widget content void content end place caret end line receiv singl line mode fix 4820 singl line line end int length content char count caret offset length caret offset length show caret docontentend issinglelin dolineend getcharcount caretoffset caretoffset showcaret move caret front charact widget content void content start caret offset 0 caret offset 0 show caret docontentstart caretoffset caretoffset showcaret move caret start select select exist select exist move cursor accord cursor select rule select cursor previou void cursor previou advanc fals select select 0 int caret line caret offset select caret line caret line show caret caret line select cursor previou doselectioncursorprevi docursorprevi caretlin caretoffset caretlin getcaretlin showcaret caretlin doselectioncursorprevi move caret end select select exist select exist move cursor accord cursor select rule select cursor void cursor advanc true select select 0 int caret line caret offset select caret line caret line show caret caret line select cursor doselectioncursornext docursornext caretlin caretoffset caretlin getcaretlin showcaret caretlin doselectioncursornext delet charact delet select text void delet event event event event text select select event start select event end select send kei event event caret offset content char count int line content line offset caret offset int line offset content offset line line int line length content line line length caret offset line offset line length event start caret offset event end content offset line line 1 event start caret offset event end cluster caret offset line send kei event event dodelet sendkeyev caretoffset getcharcount getlineatoffset caretoffset lineoffset getoffsetatlin linelength getlin caretoffset lineoffset linelength caretoffset getoffsetatlin caretoffset getclusternext caretoffset sendkeyev delet word void delet word select select select exist treat the delet kei press delet event event event event text event start caret offset event end word end caret offset send kei event event dodeletewordnext dodelet caretoffset getwordend caretoffset sendkeyev delet previou word void delet word previou select select select exist treat backspac kei press backspac event event event event text event start word start caret offset event end caret offset send kei event event dodeletewordprevi dobackspac getwordstart caretoffset caretoffset sendkeyev move caret line charact offset rel begin line move caret end line line shorter charact offset return index line rel line document int line singl line return 0 allow line action receiv singl line mode fix 4820 int caret line caret line caret line content line count 1 caret line caret offset offset mous locat columnx caret line return caret line dolinedown issinglelin caretlin getcaretlin caretlin getlinecount caretlin caretoffset getoffsetatmouseloc caretlin caretlin move caret end line void line end int caret line caret line int line offset content offset line caret line int line length content line caret line length int line end offset line offset line length caret offset line end offset caret offset line end offset show caret dolineend caretlin getcaretlin lineoffset getoffsetatlin caretlin linelength getlin caretlin lineendoffset lineoffset linelength caretoffset lineendoffset caretoffset lineendoffset showcaret move caret begin line void line start int caret line caret line int line offset content offset line caret line caret offset line offset caret offset line offset show caret caret line dolinestart caretlin getcaretlin lineoffset getoffsetatlin caretlin caretoffset lineoffset caretoffset lineoffset showcaret caretlin move caret line charact offset rel begin line move caret end line line shorter charact offset return index line rel line document int line int caret line caret line caret line 0 caret line caret offset offset mous locat columnx caret line return caret line dolineup caretlin getcaretlin caretlin caretlin caretoffset getoffsetatmouseloc caretlin caretlin move caret locat param x locat caret posit param y locat caret posit param select locat chang select oper includ line delimit select void mous locat chang int int boolean select int line vertic scroll offset line height int line count content line count int caret offset int caret line boolean advanc advanc updat caret direct true line line count 1 line line count 1 allow caret line receiv singl line mode fix 4820 line 0 singl line line 0 return caret offset offset mous locat line mous doubl click doubl click word select previou word fix bug 15610 caret offset mous word select caret offset line caret line content line offset caret offset mous left client area border line autoscrol select incorrectli reset fix 1gkm3xs 0 client area height 0 client area width caret line content line offset caret offset caret offset caret offset advanc advanc caret offset caret offset select mous select show caret select fals caret offset caret offset clear select true domouselocationchang verticalscrolloffset lineheight linecount getlinecount newcaretoffset newcaretlin oldadvanc updatecaretdirect linecount linecount issinglelin newcaretoffset getoffsetatmouseloc mousedoubleclick newcaretoffset domousewordselect newcaretoffset newcaretlin getlineatoffset newcaretoffset getclientarea getclientarea newcaretlin getlineatoffset caretoffset newcaretoffset caretoffset oldadvanc caretoffset newcaretoffset domouseselect showcaret caretoffset newcaretoffset clearselect updat select base caret posit void mous select caret offset select caret offset select caret offset select select anchor select select st column previou select st column domouseselect caretoffset caretoffset caretoffset selectionanchor doselect column_previou doselect column_next return offset word offset current select extend high index low index left caret left border selecton non bidi platform start offset word preceed select return current select extend low index high index end offset word select return param mous locat param caret offset caret offset mous cursor locat param line line index mous cursor locat int mous word select int int caret offset int line int word offset flip select anchor base word select direct base doubl click don reli auto scroll auto scroll cover mous select mous 0 mous caret line caret offset select anchor select anchor select select anchor doubl click select caret offset select anchor select anchor select select anchor doubl click select x 0 client area width find previou word caret offset select word offset word start caret offset word offset word end space caret offset mous word select line mous cursor content line offset word offset line caret offset word offset return caret offset newcaretoffset domousewordselect newcaretoffset wordoffset doautoscrol newcaretoffset selectionanchor selectionanchor selectionanchor doubleclickselect newcaretoffset selectionanchor selectionanchor selectionanchor doubleclickselect getclientarea caretoffset wordoffset getwordstart newcaretoffset wordoffset getwordendnospac newcaretoffset getlineatoffset wordoffset newcaretoffset wordoffset newcaretoffset scroll page line truncat current page fulli visibl top line caret scroll number line locat rel top line remain the except end text full page scroll case caret move charact param select select page void page boolean select int line count content line count int columnx columnx int oldh scroll offset horizont scroll offset int caret line singl line mode fix 5673 singl line return caret line caret line caret line line count 1 int vertic maximum line count vertic increment int page size client area height int scroll line math min line count caret line 1 line count int scroll offset ensur scroll line neg leat line scroll fix bug 5602 scroll line math max 1 scroll line caret line scroll line caret offset offset mous locat columnx caret line select select st column scroll page bottom scroll offset vertic scroll offset scroll line vertic increment scroll offset page size vertic maximum scroll offset vertic maximum page size scroll offset vertic scroll offset set vertic scroll offset scroll offset true explicitli calcul caret line content line offset caret offset word wrap mode show caret caret line restor origin horizont caret posit int scroll chang oldh scroll offset horizont scroll offset columnx columnx scroll chang dopagedown linecount getlinecount oldcolumnx oldhscrolloffset horizontalscrolloffset caretlin issinglelin caretlin getcaretlin caretlin linecount verticalmaximum linecount getverticalincr pages getclientarea scrolllin linecount caretlin getlinecountwhol scrolloffset scrolllin scrolllin scrolllin caretlin scrolllin caretoffset getoffsetatmouseloc caretlin doselect column_next scrolloffset verticalscrolloffset scrolllin getverticalincr scrolloffset pages verticalmaximum scrolloffset verticalmaximum pages scrolloffset verticalscrolloffset setverticalscrolloffset scrolloffset getlineatoffset caretoffset showcaret caretlin hscrollchang oldhscrolloffset horizontalscrolloffset oldcolumnx hscrollchang move cursor end fulli visibl line void page end end line singl line mode fix 5673 singl line line end int line bottom index int bottom caret offset content offset line line content line line length caret offset bottom caret offset caret offset bottom caret offset show caret dopageend issinglelin dolineend getbottomindex bottomcaretoffset getoffsetatlin getlin caretoffset bottomcaretoffset caretoffset bottomcaretoffset showcaret move cursor begin fulli visibl line void page start int top caret offset content offset line top index caret offset top caret offset caret offset top caret offset explicitli calcul caret line content line offset caret offset word wrap mode show caret top index dopagestart topcaretoffset getoffsetatlin topindex caretoffset topcaretoffset caretoffset topcaretoffset getlineatoffset caretoffset showcaret topindex scroll page line truncat current page fulli visibl line caret scroll number line locat rel top line remain the except begin text full page scroll case caret move front charact void page int columnx columnx int oldh scroll offset horizont scroll offset int caret line caret line caret line 0 int scroll line math max 1 math min caret line line count int scroll offset caret line scroll line caret offset offset mous locat columnx caret line scroll page top scroll offset math max 0 vertic scroll offset scroll line vertic increment scroll offset vertic scroll offset set vertic scroll offset scroll offset true explicitli calcul caret line content line offset caret offset word wrap mode show caret caret line restor origin horizont caret posit int scroll chang oldh scroll offset horizont scroll offset columnx columnx scroll chang dopageup oldcolumnx oldhscrolloffset horizontalscrolloffset caretlin getcaretlin caretlin scrolllin caretlin getlinecountwhol scrolloffset caretlin scrolllin caretoffset getoffsetatmouseloc caretlin scrolloffset verticalscrolloffset scrolllin getverticalincr scrolloffset verticalscrolloffset setverticalscrolloffset scrolloffset getlineatoffset caretoffset showcaret caretlin hscrollchang oldhscrolloffset horizontalscrolloffset oldcolumnx hscrollchang updat select extend current caret posit void select int direct int redraw start 1 int redraw end 1 select anchor 1 select anchor select direct st column previou caret offset select grow select redraw end select redraw start select caret offset check select revers direct select select anchor redraw end select select select anchor test select actual chang fix 1g71eo1 select anchor select caret offset select caret move select anchor left side select shrink select redraw end select redraw start select caret offset caret offset select grow select redraw start select redraw end select caret offset check select revers direct select select anchor redraw start select select select anchor test select actual chang fix 1g71eo1 select anchor select caret offset select caret move select anchor side select shrink select redraw start select redraw end select caret offset redraw start 1 redraw end 1 intern redraw rang redraw start redraw end redraw start true send select event doselect redrawstart redrawend selectionanchor selectionanchor column_previou caretoffset redrawend redrawstart caretoffset selectionanchor redrawend selectionanchor selectionanchor caretoffset redrawend redrawstart caretoffset caretoffset redrawstart redrawend caretoffset selectionanchor redrawstart selectionanchor selectionanchor caretoffset redrawstart redrawend caretoffset redrawstart redrawend internalredrawrang redrawstart redrawend redrawstart sendselectionev move caret charact begin line cursor end line void select cursor int caret line caret line int line offset content offset line caret line int offset line caret offset line offset advanc true offset line content line caret line length caret offset cluster caret offset caret line show caret caret line content line count 1 singl line fals line singl line mode fix 5673 caret line caret offset content offset line caret line explicitli calcul caret line content line offset caret offset word wrap mode show caret caret line doselectioncursornext caretlin getcaretlin lineoffset getoffsetatlin caretlin offsetinlin caretoffset lineoffset offsetinlin getlin caretlin caretoffset getclusternext caretoffset caretlin showcaret caretlin getlinecount issinglelin caretlin caretoffset getoffsetatlin caretlin getlineatoffset caretoffset showcaret caretlin move caret previou charact end previou line cursor begin line void select cursor previou int caret line caret line int line offset content offset line caret line int offset line caret offset line offset advanc fals offset line 0 caret offset cluster previou caret offset caret line show caret caret line caret line 0 caret line line offset content offset line caret line caret offset line offset content line caret line length show caret doselectioncursorprevi caretlin getcaretlin lineoffset getoffsetatlin caretlin offsetinlin caretoffset lineoffset offsetinlin caretoffset getclusterprevi caretoffset caretlin showcaret caretlin caretlin caretlin lineoffset getoffsetatlin caretlin caretoffset lineoffset getlin caretlin showcaret move caret line charact offset rel begin line move caret end line line shorter charact offset move caret end text caret line adjust select accord caret chang add subtract select depend previou select direct void select line int columnx int caret line int line start offset singl line return caret line caret line line start offset content offset line caret line reset columnx select columnx columnx getx offset content line caret line caret line caret offset line start offset caret line content line count 1 caret offset content char count caret line line set mous word select anchor select scroll reduc flash kei repeat scroll lot line select st column explicitli calcul caret line content line offset caret offset word wrap mode show caret caret line save origin horizont caret posit columnx columnx doselectionlinedown oldcolumnx caretlin linestartoffset issinglelin caretlin getcaretlin linestartoffset getoffsetatlin caretlin oldcolumnx getxatoffset getlin caretlin caretlin caretoffset linestartoffset caretlin getlinecount caretoffset getcharcount caretlin dolinedown setmousewordselectionanchor doselect column_next getlineatoffset caretoffset showcaret caretlin oldcolumnx move caret line charact offset rel begin line move caret end line line shorter charact offset move caret begin document line adjust select accord caret chang add subtract select depend previou select direct void select line int columnx int caret line caret line int line start offset content offset line caret line reset columnx select columnx columnx getx offset content line caret line caret line caret offset line start offset caret line 0 caret offset 0 caret line line set mous word select anchor explicitli calcul caret line content line offset caret offset word wrap mode show caret caret line select st column previou save origin horizont caret posit columnx columnx doselectionlineup oldcolumnx caretlin getcaretlin linestartoffset getoffsetatlin caretlin oldcolumnx getxatoffset getlin caretlin caretlin caretoffset linestartoffset caretlin caretoffset caretlin dolineup setmousewordselectionanchor getlineatoffset caretoffset showcaret caretlin doselect column_previou oldcolumnx scroll page line truncat current page fulli visibl top line caret scroll number line locat rel top line remain the except end text full page scroll case caret move charact adjust select accord caret chang add subtract select depend previou select direct void select page int columnx int caret line caret line int line start offset content offset line caret line reset columnx select columnx columnx getx offset content line caret line caret line caret offset line start offset page true columnx columnx doselectionpagedown oldcolumnx caretlin getcaretlin linestartoffset getoffsetatlin caretlin oldcolumnx getxatoffset getlin caretlin caretlin caretoffset linestartoffset dopagedown oldcolumnx scroll page line truncat current page fulli visibl line caret scroll number line locat rel top line remain the except begin text full page scroll case caret move front charact adjust select accord caret chang add subtract select depend previou select direct void select page int columnx int caret line caret line int line start offset content offset line caret line reset columnx select columnx columnx getx offset content line caret line caret line caret offset line start offset page columnx columnx doselectionpageup oldcolumnx caretlin getcaretlin linestartoffset getoffsetatlin caretlin oldcolumnx getxatoffset getlin caretlin caretlin caretoffset linestartoffset dopageup oldcolumnx move caret end word void select word int caret offset word end caret offset forc symmetr movement word previou fix 14536 advanc fals don chang caret posit singl line mode cursor line fix 5673 singl line fals content line offset caret offset content line offset caret offset caret offset caret offset show caret doselectionwordnext newcaretoffset getwordend caretoffset issinglelin getlineatoffset caretoffset getlineatoffset newcaretoffset caretoffset newcaretoffset showcaret move caret start previou word void select word previou int caret line advanc fals caret offset word start caret offset caret line content line offset caret offset word previou come bottom line wrap line stai bottom line line boundari word wrap caret line content line count 1 caret offset content offset line caret line 1 caret line show caret caret line doselectionwordprevi caretlin caretoffset getwordstart caretoffset caretlin getlineatoffset caretoffset wordwrap caretlin getlinecount caretoffset getoffsetatlin caretlin caretlin showcaret caretlin move caret charact left previou line bidi local r2l charact caret move begin r2l segment visual charact left visual left l2r segment void visual previou caret offset cluster previou caret offset caret line show caret dovisualprevi caretoffset getclusterprevi caretoffset getcaretlin showcaret move caret charact to line bidi local r2l charact caret move end r2l segment visual left charact visual l2r segment void visual caret offset cluster caret offset caret line show caret dovisualnext caretoffset getclusternext caretoffset getcaretlin showcaret move caret end word select exist move caret end select remov select void word select select 0 int caret line caret offset select caret line caret line show caret caret line select word dowordnext caretlin caretoffset caretlin getcaretlin showcaret caretlin doselectionwordnext move caret start previou word select exist move caret start select remov select void word previou select select 0 int caret line caret offset select caret line caret line show caret caret line select word previou dowordprevi caretlin caretoffset caretlin getcaretlin showcaret caretlin doselectionwordprevi draw rectangl draw directli invalid affect area clear background fals param x posit param y posit param width width param height height param clear background true clear background invalid request redraw area fals draw foreground directli invalid redraw area void draw int int int width int height boolean clear background clear background redraw left margin top margin width height true int start line vertic scroll offset line height int endi height int painti top line start line top index line height int top line offset top index line height vertic scroll offset int painti painti top line top line offset top margin adjust posit pixel base scroll int line count content line count color background background color foreground foreground gc gc getgc singl line line count 1 int start line painti endi line count painti line height string line content line render draw line line painti gc background foreground clear background gc dispos clearbackground clearbackground clearbackground clearbackground leftmargin topmargin startlin verticalscrolloffset lineheight paintyfromtoplin startlin topindex lineheight toplineoffset topindex lineheight verticalscrolloffset paintyfromtoplin toplineoffset topmargin linecount getlinecount getbackground getforeground issinglelin linecount startlin linecount lineheight getlin drawlin clearbackground end autoscrol process void end auto scroll auto scroll direct swt null endautoscrol autoscrolldirect org eclips swt widget control background public color background check widget background null return displai system color swt color list background return background getbackground getbackground checkwidget getdisplai getsystemcolor color_list_background return baselin pixel return baselin baselin except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public int baselin check widget return render baselin swtexcept error_widget_dispos error_thread_invalid_access getbaselin checkwidget getbaselin bidi color mode true bidi text displai algorithm appli segment text color return current color mode except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul deprec bidi segment listen public boolean bidi color check widget return bidi color swtexcept error_widget_dispos error_thread_invalid_access bidisegmentlisten getbidicolor checkwidget bidicolor return index fulli visibl line return index fulli visibl line int bottom index int line count 1 line height 0 calcul number line fulli visibl int partial top line height top index line height vertic scroll offset line count client area height partial top line height line height return math min content line count 1 top index math max 0 line count 1 getbottomindex linecount lineheight partialtoplineheight topindex lineheight verticalscrolloffset linecount getclientarea partialtoplineheight lineheight getlinecount topindex linecount return caret posit rel start text return caret posit rel start text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int caret offset check widget return caret offset swtexcept error_widget_dispos error_thread_invalid_access getcaretoffset checkwidget caretoffset return caret offset locat line caret offset offset charact caret mous click occur caret offset offset charact click mous click occur half charact doesn properli handl ligatur context depend charact current local bidi local ligatur handl properli don occur linex offset param line text line calcul offset param line offset offset charact line 0 base begin document param linex offset locat line return caret offset locat rel start line int offset atx string line int line offset int linex offset int linex offset left margin horizont scroll offset text layout layout render text layout line line offset int trail int 1 int offset line layout offset 0 trail advanc fals trail 0 0 int line length line length offset line trail 0 line length offset line line length advanc true int level int offset offset line offset 0 charact digit line char offset offset offset 0 charact digit line char offset level mirror 1 0 level layout level offset 0x1 offset line trail 0 int trail level layout level offset line 0x1 advanc level trail level 0 render dispos text layout layout return offset line linexoffset lineoffset linexoffset getoffsetatx lineoffset linexoffset linexoffset leftmargin horizontalscrolloffset textlayout gettextlayout lineoffset offsetinlin getoffset linelength offsetinlin linelength offsetinlin linelength offsetinlin isdigit charat isdigit charat ismirror getlevel offsetinlin trailinglevel getlevel offsetinlin trailinglevel disposetextlayout offsetinlin return caret width return caret width 0 caret null int caret width caret caret caret caret null return 0 return caret size getcaretwidth getcaret getsiz int cluster int offset int line index string line content line line index int line offset content offset line line index text layout layout render text layout line line offset offset line offset offset layout offset offset swt movement cluster offset line offset render dispos text layout layout return offset getclusternext lineindex getlin lineindex lineoffset getoffsetatlin lineindex textlayout gettextlayout lineoffset lineoffset getnextoffset movement_cluster lineoffset disposetextlayout int cluster previou int offset int line index string line content line line index int line offset content offset line line index text layout layout render text layout line line offset offset line offset offset layout previou offset offset swt movement cluster offset line offset render dispos text layout layout return offset getclusterprevi lineindex getlin lineindex lineoffset getoffsetatlin lineindex textlayout gettextlayout lineoffset lineoffset getpreviousoffset movement_cluster lineoffset disposetextlayout return content implement text storag null user defin content implement set return content implement text storag null user defin content implement set except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public style text content content check widget return logic content swtexcept error_widget_dispos error_thread_invalid_access styledtextcont getcont checkwidget logicalcont return widget implement doubl click mous behavior return true doubl click word select word fals doubl click effect regular mous click except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean doubl click enabl check widget return doubl click enabl swtexcept error_widget_dispos error_thread_invalid_access getdoubleclicken checkwidget doubleclicken return widget content edit return true content edit fals except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean edit check widget return edit swtexcept error_widget_dispos error_thread_invalid_access getedit checkwidget org eclips swt widget control foreground public color foreground check widget foreground null return displai system color swt color list foreground return foreground getforeground getforeground checkwidget getdisplai getsystemcolor color_list_foreground return gc render updat cach font style repres current style return gc gc getgc return gc return horizont scroll increment return horizont scroll increment int horizont increment gc gc getgc int increment gc font metric averag char width gc dispos return increment gethorizontalincr getfontmetr getaveragecharwidth return horizont scroll offset rel start line return horizont scroll offset rel start line measur charact increment start 0 0 content scroll except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int horizont index check widget return horizont scroll offset horizont increment swtexcept error_widget_dispos error_thread_invalid_access gethorizontalindex checkwidget horizontalscrolloffset gethorizontalincr return horizont scroll offset rel start line return horizont scroll offset rel start line measur pixel start 0 0 content scroll except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int horizont pixel check widget return horizont scroll offset swtexcept error_widget_dispos error_thread_invalid_access gethorizontalpixel checkwidget horizontalscrolloffset return action assign kei return swt null action kei param kei kei code defin swt java charact option rd mask prefer mask swt mod1 swt mod2 swt mod3 mask account modifi platform differ case specif mask swt ctrl swt shift swt alt swt command make sens return predefin action defin st java swt null action kei except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int kei bind int kei check widget integ action integ kei action map integ kei int int action action null int action swt null int action action int return int action ord swtexcept error_widget_dispos error_thread_invalid_access getkeybind checkwidget keyactionmap intact intact intact intvalu intact number charact return number charact widget except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int char count check widget return content char count swtexcept error_widget_dispos error_thread_invalid_access getcharcount checkwidget getcharcount return background color line index return null line background listen set background color line call line background listen set listen maintain line background color return background color line index except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid argument index invalid li ul public color line background int index check widget color line background null index 0 index logic content line count swt error swt error invalid argument user line background fals line background default line styler line background index return line background linebackgroundlisten linebackgroundlisten swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_argument getlinebackground checkwidget linebackground logicalcont getlinecount error_invalid_argument userlinebackground linebackground defaultlinestyl getlinebackground linebackground return line background data line null param line offset offset line start rel start content param line line line background data return line background data line style text event line background data int line offset string line return send line event line background line offset line lineoffset styledtextev getlinebackgrounddata lineoffset sendlineev linegetbackground lineoffset number text line return number line widget except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int line count check widget return line offset char count 1 swtexcept error_widget_dispos error_thread_invalid_access getlinecount checkwidget getlineatoffset getcharcount return number line complet displai widget client area return number line complet displai widget client area int line count int line count line height 0 line count client area height line height line count 1 return line count getlinecountwhol linecount lineheight linecount getclientarea lineheight linecount linecount return line offset text 0 lt offset lt char count line offset char count return line insert locat param offset offset rel start content 0 offset char count return line offset text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang offset valid rang 0 char count li ul public int line offset int offset check widget offset 0 offset char count swt error swt error invalid rang return logic content line offset offset getcharcount getlineatoffset getcharcount getcharcount swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang getcharcount getlineatoffset checkwidget getcharcount error_invalid_rang logicalcont getlineatoffset return line delimit enter line kei past oper return line delimit enter line kei past oper except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string line delimit check widget return content line delimit swtexcept error_widget_dispos error_thread_invalid_access getlinedelimit checkwidget getlinedelimit return style text event request data style background color line line visual wrap line word wrap mode return object logic unwrap line param line offset offset line offset visual line widget word wrap mode param line line text text visuallin widget word wrap mode return style text event request line data line style text event send line event int event type int line offset string line style text event event null listen event type event style text event logic content word wrap word wrap line offset text visual wrap int line index logic content line offset line offset event detail logic content offset line line index event text logic content line line index event detail line offset event text line notifi listen event type event return event styledtextev lineoffset styledtextev styledtextev sendlineev eventtyp lineoffset styledtextev islisten eventtyp styledtextev logicalcont wordwrap lineindex logicalcont getlineatoffset lineoffset logicalcont getoffsetatlin lineindex logicalcont getlin lineindex lineoffset notifylisten eventtyp return line height return line height pixel except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int line height check widget return line height swtexcept error_widget_dispos error_thread_invalid_access getlineheight checkwidget lineheight return line cach implement depend word wrap line wrap line width calcul implementaiton param content style text content creat line cach return line cach implement line cach line cach style text content content line cach line cach word wrap line cach word wrap cach wrap content content line cach content width cach content return line cach linecach styledtextcont linecach linecach linecach getlinecach styledtextcont linecach linecach wordwrap linecach wordwrapcach wrappedcont linecach contentwidthcach linecach return line style data line null there line style listen set style style text event style field initi empti arrai param line offset offset line start rel start content param line line line style return line style data line style start line start end line end style text event line style data int line offset string line return send line event line style line offset line linestylelisten styledtextev lineoffset styledtextev getlinestyledata lineoffset sendlineev linegetstyl lineoffset return locat upper left corner charact bound box offset text point rel upper left corner widget client area param offset offset rel start content 0 offset char count return locat upper left corner charact bound box offset text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang offset valid rang 0 char count li ul public point locat offset int offset check widget offset 0 offset char count swt error swt error invalid rang int line content line offset offset int line offset content offset line line string line content content line line int getx offset line content line offset line offset int line line height vertic scroll offset return point getcharcount swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang getcharcount getlocationatoffset checkwidget getcharcount error_invalid_rang getlineatoffset lineoffset getoffsetatlin linecont getlin getxatoffset linecont lineoffset lineheight verticalscrolloffset return charact offset charact line param line index index line 0 base rel line content 0 line index line count line index 0 return offset offset charact line rel begin document charact document offset 0 line offset line 0 valid call answer 0 except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang offset valid rang 0 char count li ul 2 0 public int offset line int line index check widget line index 0 line index 0 line index logic content line count swt error swt error invalid rang return logic content offset line line index lineindex lineindex getlinecount lineindex getoffsetatlin swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang getcharcount getoffsetatlin lineindex checkwidget lineindex lineindex lineindex logicalcont getlinecount error_invalid_rang logicalcont getoffsetatlin lineindex return offset charact locat rel charact document return reflect charact offset caret mous click occur locat coordin locat center charact return offset charact param point origin charact bound box rel origin widget client area return offset charact locat rel charact document except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument point null li li error invalid argument charact locat li ul public int offset locat point point check widget text layout layout int line int line offset int offset line string line text point null swt error swt error null argument line column point vertic scroll offset 0 point horizont scroll offset 0 swt error swt error invalid argument line top pixel point line height referenc line exist line content line count swt error swt error invalid argument line text content line line line offset content offset line line int point left margin horizont scroll offset layout render text layout line text line offset rectangl rect layout line bound 0 rect rect width render dispos text layout layout swt error swt error invalid argument int trail int 1 offset line layout offset 0 trail offset line line text length 1 offset line math min line text length offset line trail 0 render dispos text layout layout return line offset offset line swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument error_invalid_argument getoffsetatloc checkwidget textlayout lineoffset offsetinlin linetext error_null_argument verticalscrolloffset horizontalscrolloffset error_invalid_argument gettoppixel lineheight getlinecount error_invalid_argument linetext getlin lineoffset getoffsetatlin leftmargin horizontalscrolloffset gettextlayout linetext lineoffset getlinebound disposetextlayout error_invalid_argument offsetinlin getoffset offsetinlin linetext offsetinlin linetext offsetinlin disposetextlayout lineoffset offsetinlin return offset locat line param x locat mous locat param line line mous locat return offset locat line rel begin document int offset mous locat int int line string line text content line line int line offset content offset line line return offset atx line text line offset line offset getoffsetatmouseloc linetext getlin lineoffset getoffsetatlin getoffsetatx linetext lineoffset lineoffset return orient receiv return orient style except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 2 public int orient check widget return mirror swt left swt left swtexcept error_widget_dispos error_thread_invalid_access getorient checkwidget ismirror right_to_left left_to_right return index partial visibl line return index partial visibl line int partial bottom index int partial line count compat ceil client area height line height return math min content line count top index partial line count 1 getpartialbottomindex partiallinecount getclientarea lineheight getlinecount topindex partiallinecount return content rang platform line delimit separ line param writer text writer write line text return content rang platform line delimit separ line written text writer string platform delimit text text writer writer int end writer start writer char count int start line logic content line offset writer start int end line logic content line offset end string end line text logic content line end line int end line offset logic content offset line end line int start line end line writer write line logic content line logic content offset line end line writer write line delimit platform line delimit end end line offset end line text length writer write line delimit platform line delimit writer close return writer string textwrit textwrit getplatformdelimitedtext textwrit getstart getcharcount startlin logicalcont getlineatoffset getstart endlin logicalcont getlineatoffset endlinetext logicalcont getlin endlin endlineoffset logicalcont getoffsetatlin endlin startlin endlin writelin logicalcont getlin logicalcont getoffsetatlin endlin writelinedelimit platformlinedelimit endlineoffset endlinetext writelinedelimit platformlinedelimit tostr return select text select term caret posit text widget charact 1 caret posit rang 0 return start end select offset select charact offset select charact select valu return visual alwai determin select left rtol left ltor compar caret offset start end select caret offset start select impli select rtol select rang except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point select check widget return point select select caretoffset caretoffset getselectionrang swtexcept error_widget_dispos error_thread_invalid_access getselect checkwidget return select return start length select offset select charact rel charact widget content length select select valu return visual length alwai posit determin select left rtol left ltor compar caret offset start end select caret offset start select impli select rtol except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point select rang check widget return point select select select caretoffset caretoffset swtexcept error_widget_dispos error_thread_invalid_access getselectionrang checkwidget return receiv select background color return select background color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public color select background check widget select background null return displai system color swt color list select return select background swtexcept error_widget_dispos error_thread_invalid_access getselectionbackground checkwidget selectionbackground getdisplai getsystemcolor color_list_select selectionbackground number select charact return number select charact except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int select count check widget return select rang swtexcept error_widget_dispos error_thread_invalid_access getselectioncount checkwidget getselectionrang return receiv select foreground color return select foreground color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public color select foreground check widget select foreground null return displai system color swt color list select text return select foreground swtexcept error_widget_dispos error_thread_invalid_access getselectionforeground checkwidget selectionforeground getdisplai getsystemcolor color_list_select_text selectionforeground return select text return select text empti string select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string select text check widget return content text rang select select select swtexcept error_widget_dispos error_thread_invalid_access getselectiontext checkwidget gettextrang public int style int style super style style swt left swt left swt mirror mirror style swt left swt mirror style swt left return style getstyl getstyl left_to_right right_to_left ismirror right_to_left left_to_right return text segment treat direct surround text param line offset offset charact line 0 base begin document param line text line bidi segment return text segment treat direct surround text start index segment rel start line start 0 end line length except illeg argument except ul li error invalid argument segment indic return listen start 0 ascend order exce line length duplic li ul int bidi segment int line offset string line listen line segment fals return bidi segment compat line line offset style text event event send line event line segment line offset line int line length line length int segment event null event segment null event segment length 0 segment int 0 line length int segment count event segment length test segment index consist event segment 0 0 swt error swt error invalid argument int 1 segment count event segment event segment 1 event segment line length swt error swt error invalid argument ensur segment index line end offset event segment segment count 1 line length segment int segment count 1 system arraycopi event segment 0 segment 0 segment count segment segment count line length segment event segment return segment lineoffset illegalargumentexcept error_invalid_argument getbidiseg lineoffset islisten linegetseg getbidisegmentscompat lineoffset styledtextev sendlineev linegetseg lineoffset linelength linelength segmentcount error_invalid_argument segmentcount linelength error_invalid_argument segmentcount linelength segmentcount segmentcount segmentcount linelength bidi segment support deprec set bidi color api remov api remov int bidi segment compat string line int line offset style text event event style rang style style rang 0 int line length line length bidi color fals return int 0 line length event render line style data line offset line event null style event style style length 0 return int 0 line length int 0 count 1 style length style start 0 style length line length int offset int style length 2 2 int style length style rang style style int style line start math max style start line offset 0 int style line end math max style start style length line offset style line start style line end math min style line end line length 0 count 1 style line start offset count 2 style line start offset count 1 style line end offset count 2 style line end offset count 1 style similar style 1 offset count 2 math min offset count 2 style line start offset count 1 math max offset count 1 style line end style line start offset count 1 offset count style line start count offset count style line end count add offset non color segment line if line length offset count 1 offset count line length count count offset length return offset int result int count system arraycopi offset 0 result 0 count return result getbidiseg setbidicolor getbidisegmentscompat lineoffset styledtextev stylerang stylerang linelength bidicolor linelength getlinestyledata lineoffset linelength linelength stylerang stylelinestart lineoffset stylelineend lineoffset stylelinestart stylelineend stylelineend stylelinestart stylelinestart stylelineend stylelineend similarto stylelinestart stylelineend stylelinestart stylelinestart stylelineend linelength linelength return style rang offset return null line style listen set style set offset call line style listen set listen maintain style param offset offset return style 0 offset char count true return style rang start offset length 1 indic style offset null line style listen set style set offset except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid argument offset invalid li ul public style rang style rang offset int offset check widget offset 0 offset char count swt error swt error invalid argument user line style fals return default line styler style rang offset offset return null linestylelisten linestylelisten getcharcount stylerang linestylelisten swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_argument stylerang getstylerangeatoffset checkwidget getcharcount error_invalid_argument userlinestyl defaultlinestyl getstylerangeatoffset return style return empti arrai line style listen set call line style listen set listen maintain style return style empti arrai line style listen set except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public style rang style rang check widget style rang style user line style fals style default line styler style rang style style rang 0 return style linestylelisten linestylelisten linestylelisten swtexcept error_widget_dispos error_thread_invalid_access stylerang getstylerang checkwidget stylerang userlinestyl defaultlinestyl getstylerang stylerang return style text rang return empti arrai line style listen set call line style listen set listen maintain style return style empti arrai line style listen set return style reflect rang return code style rang code start offset start return code style rang code end offset start length 1 except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang start end widget content li ul 3 0 public style rang style rang int start int length check widget int content length char count int end start length start end start 0 end content length swt error swt error invalid rang style rang style user line style fals style default line styler style rang start length style null return style rang 0 adjust style reflect rang clone style return style style cach widget style length 1 style rang style style 0 style start start style rang style style rang style 0 clone style length style length start style start style start start style 0 style style start style length start length style rang style style rang style 0 clone style length start length style start style 0 style style length 1 style rang style style 0 style start start style rang style style rang style 0 clone style length style length start style start style start start style 0 style style style style length 1 style start style length start length style rang style style rang style style length 1 clone style length start length style start style style length 1 style style style rang 0 return style linestylelisten linestylelisten linestylelisten stylerang stylerang swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang stylerang getstylerang checkwidget contentlength getcharcount contentlength error_invalid_rang stylerang userlinestyl defaultlinestyl getstylerangesfor stylerang stylerang stylerang newstyl stylerang newstyl newstyl newstyl newstyl newstyl stylerang newstyl stylerang newstyl newstyl newstyl stylerang stylerang newstyl stylerang newstyl newstyl newstyl newstyl newstyl stylerang newstyl stylerang newstyl newstyl newstyl stylerang return tab width measur charact return tab width measur charact except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int tab check widget return tab length swtexcept error_widget_dispos error_thread_invalid_access gettab checkwidget tablength return copi widget content return copi widget content except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string text check widget return content text rang 0 char count swtexcept error_widget_dispos error_thread_invalid_access gettext checkwidget gettextrang getcharcount return widget content offset param start offset charact return string param end offset charact return string return widget content start start end end text rang int int except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang start end widget content li ul public string text int start int end check widget int content length char count start 0 start content length end 0 end content length start end swt error swt error invalid rang return content text rang start end start 1 gettextrang swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang gettext checkwidget contentlength getcharcount contentlength contentlength error_invalid_rang gettextrang return widget content start start length charact param start offset charact return string param length number charact return return widget content start start extend length charact except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang start length widget content li ul public string text rang int start int length check widget int content length char count int end start length start end start 0 end content length swt error swt error invalid rang return content text rang start length swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang gettextrang checkwidget contentlength getcharcount contentlength error_invalid_rang gettextrang text limit text limit specifi amount text user type widget except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int text limit check widget return text limit swtexcept error_widget_dispos error_thread_invalid_access gettextlimit checkwidget textlimit top index top index index fulli visibl line top widget topmost partial visibl line line fulli visibl top index widget scroll index base return index top line except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int top index check widget int logic top index top index word wrap int visual line offset content offset line top index logic top index logic content line offset visual line offset return logic top index swtexcept error_widget_dispos error_thread_invalid_access gettopindex checkwidget logicaltopindex topindex wordwrap visuallineoffset getoffsetatlin topindex logicaltopindex logicalcont getlineatoffset visuallineoffset logicaltopindex top pixel top pixel pixel posit line top widget text widget scroll pixel drag scroll thumb partial line displai top widget top pixel widget scroll top pixel includ widget trim return pixel posit top line except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int top pixel check widget return vertic scroll offset swtexcept error_widget_dispos error_thread_invalid_access gettoppixel checkwidget verticalscrolloffset return vertic scroll increment return vertic scroll increment int vertic increment return line height getverticalincr lineheight int caret direct bidi return swt default updat caret direct caret direct swt null return caret direct updat caret direct fals int caret line caret line int line offset content offset line caret line string line content line caret line int offset caret offset line offset int line length line length line length 0 return mirror swt swt left advanc offset 0 offset offset line length offset 0 offset offset 0 charact digit line char offset offset offset 0 charact digit line char offset return mirror swt swt left text layout layout render text layout line line offset int level layout level offset render dispos text layout layout return level 1 0 swt swt left getcaretdirect isbidi updatecaretdirect caretdirect caretdirect updatecaretdirect caretlin getcaretlin lineoffset getoffsetatlin caretlin getlin caretlin caretoffset lineoffset linelength linelength ismirror linelength isdigit charat isdigit charat ismirror textlayout gettextlayout lineoffset getlevel disposetextlayout return index line caret word wrap mode end wrap line begin continu wrap line caret offset suffici determin caret line return index line caret int caret line int caret line content line offset caret offset int left columnx left margin word wrap columnx left columnx caret line content line count 1 caret offset content offset line caret line 1 caret line return caret line getcaretlin caretlin getlineatoffset caretoffset leftcolumnx leftmargin wordwrap leftcolumnx caretlin getlinecount caretoffset getoffsetatlin caretlin caretlin caretlin return offset charact word offset class word form sequenc charact ul li 0 9 ascii 48 57 65 122 li charact line break ul p space charact ascii 20 special treat part word lead space charact line break treat word int word end int offset int line logic content line offset offset int line offset logic content offset line line string line text logic content line line int line length line text length offset char count return offset offset line offset line length line offset logic content offset line line text layout layout render text layout line text line offset offset line offset offset layout offset offset swt movement word offset line offset render dispos text layout layout return offset getwordend logicalcont getlineatoffset lineoffset logicalcont getoffsetatlin linetext logicalcont getlin linelength linetext getcharcount lineoffset linelength logicalcont getoffsetatlin textlayout gettextlayout linetext lineoffset lineoffset getnextoffset movement_word lineoffset disposetextlayout return offset charact word offset class word form sequenc charact ul li 0 9 ascii 48 57 65 122 li charact line break ul p space repres word line break treat word int word end space int offset int line logic content line offset offset int line offset logic content offset line line string line text logic content line line int line length line text length offset char count return offset offset line offset line length line offset logic content offset line line offset line offset char ch line text char offset boolean letter digit compat letter digit ch offset line length 1 compat letter digit ch letter digit compat space char ch fals offset ch line text char offset offset line length 1 compat letter digit ch letter digit compat space char ch fals offset offset line offset return offset getwordendnospac logicalcont getlineatoffset lineoffset logicalcont getoffsetatlin linetext logicalcont getlin linelength linetext getcharcount lineoffset linelength logicalcont getoffsetatlin lineoffset linetext charat letterordigit isletterordigit linelength isletterordigit letterordigit isspacechar linetext charat linelength isletterordigit letterordigit isspacechar lineoffset return start offset word offset class word form sequenc charact ul li 0 9 ascii 48 57 65 122 li charact line break ul p space charact ascii 20 special treat part word lead space charact line break treat word int word start int offset int line logic content line offset offset int line offset logic content offset line line string line text logic content line line offset 0 return offset offset line offset line line text logic content line line offset logic content offset line line line text length text layout layout render text layout line text line offset offset line offset offset layout previou offset offset swt movement word offset line offset render dispos text layout layout return offset getwordstart logicalcont getlineatoffset lineoffset logicalcont getoffsetatlin linetext logicalcont getlin lineoffset linetext logicalcont getlin logicalcont getoffsetatlin linetext textlayout gettextlayout linetext lineoffset lineoffset getpreviousoffset movement_word lineoffset disposetextlayout return widget wrap line return true widget wrap line fals 2 0 public boolean word wrap check widget return word wrap getwordwrap checkwidget wordwrap return locat charact give offset line note return correct valu true ital font slant font return locat charact offset line int getx offset string line int line index int offset line int 0 int line length line length line index content line count 1 int end line offset content offset line line index 1 1 line length offset line offset line end line offset offset line line length line length 0 offset line line length int line offset content offset line line index text layout layout render text layout line line offset advanc offset line 0 layout locat offset line fals x layout locat offset line 1 true render dispos text layout layout return left margin horizont scroll offset getxatoffset lineindex offsetinlin linelength lineindex getlinecount endlineoffset getoffsetatlin lineindex linelength offsetinlin offsetinlin endlineoffset offsetinlin linelength linelength offsetinlin linelength lineoffset getoffsetatlin lineindex textlayout gettextlayout lineoffset offsetinlin getloc offsetinlin getloc offsetinlin disposetextlayout leftmargin horizontalscrolloffset insert string select replac text param string string replac text rang int int string except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument string null li ul public void insert string string check widget string null swt error swt error null argument point sel select rang replac text rang sel sel string replacetextrang swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument checkwidget error_null_argument getselectionrang replacetextrang void instal default content text chang listen text chang listen public void text chang text chang event event handl text chang event installdefaultcont textchangelisten textchangelisten textchang textchangingev handletextchang handl text chang event public void text chang text chang event event handl text chang event handletextchang textchang textchangedev handletextchang handl text chang event public void text set text chang event event handl text set event handletextchang textset textchangedev handletextset creat content chang listen set default content model void instal default content text chang listen text chang listen public void text chang text chang event event handl text chang event public void text chang text chang event event handl text chang event public void text set text chang event event handl text set event logic content content default content content add text chang listen text chang listen installdefaultcont textchangelisten textchangelisten textchang textchangingev handletextchang textchang textchangedev handletextchang textset textchangedev handletextset logicalcont defaultcont addtextchangelisten textchangelisten creat default line style listen store line background color style remov user set line style listen add line style listen void instal default line styler default line styler default line styler logic content style text listen type listen style text listen default line styler user line style fals add listen line style type listen user line background fals add listen line background type listen linestylelisten addlinestylelisten installdefaultlinestyl defaultlinestyl defaultlinestyl logicalcont styledtextlisten typedlisten styledtextlisten defaultlinestyl userlinestyl addlisten linegetstyl typedlisten userlinebackground addlisten linegetbackground typedlisten listen listen public void handl event event event switch event type case swt dispos handl dispos event break case swt kei handl kei event break case swt mous handl mous event break case swt mous handl mous event break case swt mous doubl click handl mous doubl click event break case swt mous move handl mous move event break case swt paint handl paint event break case swt resiz handl resiz event break case swt travers handl travers event break handleev handledispos keydown handlekeydown mousedown handlemousedown mouseup handlemouseup mousedoubleclick handlemousedoubleclick mousemov handlemousemov handlepaint handleres handletravers vertic bar null vertic bar add listen swt select listen public void handl event event event handl vertic scroll event verticalbar verticalbar addlisten handleev handleverticalscrol horizont bar null horizont bar add listen swt select listen public void handl event event event handl horizont scroll event horizontalbar horizontalbar addlisten handleev handlehorizontalscrol add event listen void instal listen scroll bar vertic bar vertic bar scroll bar horizont bar horizont bar listen listen public void handl event event event switch event type case swt dispos handl dispos event break case swt kei handl kei event break case swt mous handl mous event break case swt mous handl mous event break case swt mous doubl click handl mous doubl click event break case swt mous move handl mous move event break case swt paint handl paint event break case swt resiz handl resiz event break case swt travers handl travers event break add listen swt dispos listen add listen swt kei listen add listen swt mous listen add listen swt mous listen add listen swt mous doubl click listen add listen swt mous move listen add listen swt paint listen add listen swt resiz listen add listen swt travers listen vertic bar null vertic bar add listen swt select listen public void handl event event event handl vertic scroll event horizont bar null horizont bar add listen swt select listen public void handl event event event handl horizont scroll event installlisten scrollbar verticalbar getverticalbar scrollbar horizontalbar gethorizontalbar handleev handledispos keydown handlekeydown mousedown handlemousedown mouseup handlemouseup mousedoubleclick handlemousedoubleclick mousemov handlemousemov handlepaint handleres handletravers addlisten addlisten keydown addlisten mousedown addlisten mouseup addlisten mousedoubleclick addlisten mousemov addlisten addlisten addlisten verticalbar verticalbar addlisten handleev handleverticalscrol horizontalbar horizontalbar addlisten handleev handlehorizontalscrol style text content intern content return content styledtextcont internalgetcont return content int intern horizont pixel return horizont scroll offset internalgethorizontalpixel horizontalscrolloffset return horizont scroll offset line cach intern line cach return line cach horizontalscrolloffset linecach internalgetlinecach linecach return line cach point intern select return select linecach internalgetselect return select boolean intern word wrap return word wrap internalgetwordwrap wordwrap word wrap cach bypass style text redraw unwant cach reset void intern redraw super redraw wordwrapcach styledtext internalredraw redraw text rang param start offset charact redraw param length number charact redraw param clear background true background clear part redraw oper true entir redraw rang clear redrawn redraw rang includ charact line entir line redrawn line clear border widget redraw oper faster smoother clear background set fals flag set fals depend type chang place font style background color redraw rang chang clear background set true foreground color chang redraw rang clear background set fals void intern redraw rang int start int length boolean clear background int end start length int line content line offset start int line content line offset end int offset line int partial bottom index partial bottom index int partial top index vertic scroll offset line height redraw rang complet invis line partial bottom index line partial top index return redraw visibl line partial top index line line partial top index offset line 0 offset line start content offset line line partial bottom index 1 line line partial bottom index 1 1 redraw bottom line includ line break end content offset line line redraw line line offset line line end clear background redraw entir center line redraw rang includ line line line 1 rectangl client area client area int redraw stopi line line height vertic scroll offset int redrawi line 1 line height vertic scroll offset draw 0 redrawi client area width redraw stopi redrawi clear background clearbackground clearbackground clearbackground clearbackground internalredrawrang clearbackground firstlin getlineatoffset lastlin getlineatoffset offsetinfirstlin partialbottomindex getpartialbottomindex partialtopindex verticalscrolloffset lineheight firstlin partialbottomindex lastlin partialtopindex partialtopindex firstlin firstlin partialtopindex offsetinfirstlin offsetinfirstlin getoffsetatlin firstlin partialbottomindex lastlin lastlin partialbottomindex getoffsetatlin lastlin redrawlin firstlin offsetinfirstlin lastlin clearbackground lastlin firstlin clientarea getclientarea redrawstopi lastlin lineheight verticalscrolloffset firstlin lineheight verticalscrolloffset clientarea redrawstopi clearbackground return widget text style inform encod rtf format specif version 1 5 return widget text style inform encod rtf format except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul string rtf check widget rtf writer rtf writer rtf writer 0 char count return platform delimit text rtf writer swtexcept error_widget_dispos error_thread_invalid_access getrtf checkwidget rtfwriter rtfwriter rtfwriter getcharcount getplatformdelimitedtext rtfwriter free resourc void handl dispos event event remov listen swt dispos listen notifi listen swt dispos event event type swt clipboard dispos ibeam cursor dispos render null render dispos render null content null content remov text chang listen text chang listen content null default caret null default caret dispos default caret null left caret bitmap null left caret bitmap dispos left caret bitmap null caret bitmap null caret bitmap dispos caret bitmap null default line styler null default line styler releas default line styler null bidi bidi util remov languag listen handl select background null select foreground null logic content null text chang listen null line cach null ibeam cursor null select null doubl click select null kei action map null background null foreground null clipboard null handledispos removelisten notifylisten ibeamcursor removetextchangelisten textchangelisten defaultcaret defaultcaret defaultcaret leftcaretbitmap leftcaretbitmap leftcaretbitmap rightcaretbitmap rightcaretbitmap rightcaretbitmap defaultlinestyl defaultlinestyl defaultlinestyl isbidi bidiutil removelanguagelisten selectionbackground selectionforeground logicalcont textchangelisten linecach ibeamcursor doubleclickselect keyactionmap scroll widget horizont void handl horizont scroll event event int scroll pixel horizont bar select horizont scroll offset scroll horizont scroll pixel handlehorizontalscrol scrollpixel gethorizontalbar getselect horizontalscrolloffset scrollhorizont scrollpixel action regist kei stroke execut action charact enter treat content param event keyboard event void handl kei event event int action advanc true event kei code 0 special kei press f1 action kei bind event kei code event mask charact kei press action kei bind event charact event mask action swt null control charact event mask swt ctrl 0 event charact 0 event charact 31 charact ctrl char sequenc control kei subtract 64 kei modifi int event charact 64 action kei bind event mask action swt null boolean ignor fals carbon ignor accler kei combin want insert charact text instanc ignor command alt combin kei sequenc produc charact mac ignor event mask swt command 0 event mask swt command swt shift 0 ignor accler kei combin want insert charact text instanc don ignor ctrl alt combin alt gr kei keyboard bug 20953 ignor event mask swt alt 0 event mask swt ctrl 0 event mask swt alt swt shift 0 event mask swt ctrl swt shift 0 ignor space line delimit kei tab ignor del ignor event charact 31 event charact swt del event charact swt cr event charact swt lf event charact tab content event charact invok action action handlekei keycod getkeybind keycod statemask getkeybind statemask statemask getkeybind statemask is_carbon statemask statemask statemask statemask statemask statemask docont invokeact verifi kei listen exist verifi kei enter process param event keyboard event void handl kei event event event verifi event event verifi event charact event charact verifi event kei code event kei code verifi event mask event mask verifi event doit true notifi listen verifi kei verifi event verifi event doit true handl kei event verifykei handlekeydown verifyev verifyev verifyev keycod keycod verifyev statemask statemask verifyev notifylisten verifykei verifyev verifyev handlekei updat caret locat select mous button 1 press void handl mous doubl click event event event button 1 doubl click enabl fals return event top margin mous doubl click true caret offset word start caret offset reset select caret offset word end space caret offset show caret mous select doubl click select point select select handlemousedoubleclick doubleclicken topmargin mousedoubleclick caretoffset getwordstart caretoffset resetselect caretoffset getwordendnospac caretoffset showcaret domouseselect doubleclickselect updat caret locat select mous button 1 press void handl mous event event mous doubl click fals event button 1 carbon event mask swt mod4 0 return boolean select event mask swt mod2 0 event top margin mous locat chang event event select handlemousedown mousedoubleclick is_carbon statemask statemask topmargin domouselocationchang updat caret locat select mous button 1 press mous move void handl mous move event event event mask swt button1 0 return event top margin mous locat chang event event true auto scroll event handlemousemov statemask topmargin domouselocationchang doautoscrol autoscrol end mous button releas void handl mous event event mous doubl click fals event top margin end auto scroll handlemouseup mousedoubleclick topmargin endautoscrol render invalid area paint event param event paint event void handl paint event event int start line math max 0 event top margin vertic scroll offset line height int painti top line start line top index line height int top line offset top index line height vertic scroll offset int starti painti top line top line offset top margin adjust posit pixel base scroll top margin int render height event event height starti check event height 0 return perform paint event gc start line starti render height handlepaint startlin topmargin verticalscrolloffset lineheight paintyfromtoplin startlin topindex lineheight toplineoffset topindex lineheight verticalscrolloffset paintyfromtoplin toplineoffset topmargin renderheight performpaint startlin renderheight recalcul scroll bar rewrap line word wrap mode param event resiz event void handl resiz event event int height client area height int width client area width rectangl client area client area client area height client area height client area width client area width redraw bottom margin need width client area width margin 0 int width client area width width client area width margin redraw 0 margin height fals height client area height bottom margin 0 int height client area height height client area height bottom margin redraw 0 width bottom margin fals word wrap width client area width word wrap resiz width client area height height int line count content line count int bottom index top index height line height int item count compat ceil client area height height line height bottom index math min bottom index line count item count math min item count line count bottom index line cach calcul bottom index item count set scroll bar claim bottom free space claim free space height client area height calcul top index handleres oldheight clientareaheight oldwidth clientareawidth clientarea getclientarea clientareaheight clientarea clientareawidth clientarea oldwidth clientareawidth rightmargin oldwidth clientareawidth oldwidth clientareawidth rightmargin rightmargin oldheight oldheight clientareaheight bottommargin oldheight clientareaheight oldheight clientareaheight bottommargin oldwidth bottommargin wordwrap oldwidth clientareawidth wordwrapres oldwidth clientareaheight oldheight linecount getlinecount oldbottomindex topindex oldheight lineheight newitemcount clientareaheight oldheight lineheight oldbottomindex oldbottomindex linecount newitemcount newitemcount linecount oldbottomindex linecach oldbottomindex newitemcount setscrollbar claimbottomfreespac claimrightfreespac oldheight clientareaheight calculatetopindex updat caret posit select scroll bar reflect content chang void handl text chang text chang event event line cach text chang text chang start text chang line count text chang replac line count text chang char count text chang replac char count set scroll bar updat select caret locat style chang text measur incorrect need scroll select redraw flush scroll wrong case text drawn scroll sourc area intent scroll fix 1gb93qt updat select text chang start text chang replac char count text chang char count text chang replac line count 0 check unus space line delet fix 1gfl4ly scroll empti line text line fix 1geyjm0 claim bottom free space text chang replac char count 0 fix bug 8273 claim free space direct draw text chang confin singl line optim fix bug 13999 handl text chang text chang line count 0 text chang replac line count 0 int start line content line offset text chang start int starti start line line height vertic scroll offset top margin doubl buffer gc gc getgc caret caret caret boolean caret visibl fals caret null caret visibl caret visibl caret set visibl fals perform paint gc start line starti line height caret null caret set visibl caret visibl gc dispos redraw 0 starti client area width line height fals updat handletextchang textchangedev linecach textchang lasttextchangestart lasttextchangenewlinecount lasttextchangereplacelinecount lasttextchangenewcharcount lasttextchangereplacecharcount setscrollbar updateselect lasttextchangestart lasttextchangereplacecharcount lasttextchangenewcharcount lasttextchangereplacelinecount claimbottomfreespac lasttextchangereplacecharcount claimrightfreespac handletextchang lasttextchangenewlinecount lasttextchangereplacelinecount startlin getlineatoffset lasttextchangestart startlin lineheight verticalscrolloffset topmargin doubl_buffer getcaret caretvis caretvis getvis setvis performpaint startlin lineheight setvis caretvis getclientarea lineheight updat screen reflect pend content chang param event start start offset chang param event text text go insert empti string text insert param event replac char count length text go replac param event char count length text go insert param event replac line count number line go replac param event line count number line go insert void handl text chang text chang event event int line int text changei boolean multi line chang event replac line count 0 event line count 0 event replac char count 0 event start event replac char count event replac char count 1 text chang start event start text chang line count event line count text chang char count event char count text chang replac line count event replac line count text chang replac char count event replac char count line content line offset event start text changei line line height vertic scroll offset top margin multi line chang redraw multi line chang text changei event line count event replac line count notifi default line styler text chang default line styler null default line styler text chang event updat caret offset greater length content style rang api call handl text chang handl text chang event api set caret offset int end text content char count event replac char count event char count caret offset end text caret offset end text newtext replacecharcount newcharcount replacelinecount newlinecount handletextchang textchangingev firstlin textchangei ismultilinechang replacelinecount newlinecount replacecharcount replacecharcount replacecharcount lasttextchangestart lasttextchangenewlinecount newlinecount lasttextchangenewcharcount newcharcount lasttextchangereplacelinecount replacelinecount lasttextchangereplacecharcount replacecharcount firstlin getlineatoffset textchangei firstlin lineheight verticalscrolloffset topmargin ismultilinechang redrawmultilinechang textchangei newlinecount replacelinecount defaultlinestyl defaultlinestyl textchang handletextchang handletextchang caretoffset newendoftext getcharcount replacecharcount newcharcount caretoffset newendoftext caretoffset newendoftext call widget content set programat overwrit content reset caret posit select scroll offset recalcul content width scroll bar redraw widget param event text chang event void handl text set text chang event event reset handletextset textchangedev call travers kei press allow tab travers occur widget singl line mode multi line non edit mode edit multi line mode want prevent tab travers receiv tab kei event param event event void handl travers event event switch event detail case swt travers escap case swt travers page case swt travers page previou event doit true break case swt travers return case swt travers tab case swt travers tab previou style swt singl 0 event doit true edit event mask swt modifi mask 0 event doit true break handletravers travers_escap travers_page_next travers_page_previou travers_return travers_tab_next travers_tab_previou getstyl statemask modifi_mask scroll widget vertic void handl vertic scroll event event set vertic scroll offset vertic bar select fals handleverticalscrol setverticalscrolloffset getverticalbar getselect final access access access access add access listen access adapt public void help access event e result tool tip text getaccess addaccessiblelisten accessibleadapt gethelp accessibleev gettooltiptext access add access text listen access text adapt public void caret offset access text event e offset style text caret offset addaccessibletextlisten accessibletextadapt getcaretoffset accessibletextev styledtext getcaretoffset public void select rang access text event point select style text select rang offset select length select getselectionrang accessibletextev styledtext getselectionrang access add access control listen access control adapt public void role access control event e detail acc role text addaccessiblecontrollisten accessiblecontroladapt getrol accessiblecontrolev role_text public void access control event int 0 enabl acc focus focu control acc focus visibl fals acc invis edit fals acc readonli detail getstat accessiblecontrolev isen state_focus isfocuscontrol state_focus isvis state_invis getedit state_readonli detail public void access control event e result style text text getvalu accessiblecontrolev styledtext gettext add listen swt focu listen public void handl event event event access set focu acc childid addlisten focusin handleev setfocu childid_self add access support widget void initi access final access access access access add access listen access adapt public void help access event e result tool tip text access add access text listen access text adapt public void caret offset access text event e offset style text caret offset public void select rang access text event point select style text select rang offset select length select access add access control listen access control adapt public void role access control event e detail acc role text public void access control event int 0 enabl acc focus focu control acc focus visibl fals acc invis edit fals acc readonli detail public void access control event e result style text text add listen swt focu listen public void handl event event event access set focu acc childid initializeaccess getaccess addaccessiblelisten accessibleadapt gethelp accessibleev gettooltiptext addaccessibletextlisten accessibletextadapt getcaretoffset accessibletextev styledtext getcaretoffset getselectionrang accessibletextev styledtext getselectionrang addaccessiblecontrollisten accessiblecontroladapt getrol accessiblecontrolev role_text getstat accessiblecontrolev isen state_focus isfocuscontrol state_focus isvis state_invis getedit state_readonli getvalu accessiblecontrolev styledtext gettext addlisten focusin handleev setfocu childid_self initi font render font style present regular bold font support void initi render render null render dispos render displai render displai font tab length line height render line height word wrap content wrap content render logic content initializerender displayrender getdisplai getfont tablength lineheight getlineheight wordwrap wrappedcont logicalcont execut action param action action defin st java public void invok action int action int columnx oldh scroll offset scroll chang int caret line check widget updat caret direct true switch action navig case st line caret line line columnx columnx oldh scroll offset horizont scroll offset explicitli calcul caret line content line offset caret offset word wrap mode show caret caret line restor origin horizont caret posit scroll chang oldh scroll offset horizont scroll offset columnx columnx scroll chang clear select true break case st line caret line line columnx columnx oldh scroll offset horizont scroll offset explicitli calcul caret line content line offset caret offset word wrap mode show caret caret line restor origin horizont caret posit scroll chang oldh scroll offset horizont scroll offset columnx columnx scroll chang clear select true break case st line start line start clear select true break case st line end line end clear select true break case st column previou cursor previou clear select true break case st column cursor clear select true break case st page page clear select true break case st page page fals clear select true break case st word previou word previou clear select true break case st word word clear select true break case st text start content start clear select true break case st text end content end clear select true break case st window start page start clear select true break case st window end page end clear select true break select case st select line select line break case st select line select line break case st select line start line start select st column previou break case st select line end line end select st column break case st select column previou select cursor previou select st column previou break case st select column select cursor select st column break case st select page select page select st column previou break case st select page select page break case st select word previou select word previou select st column previou break case st select word select word select st column break case st select text start content start select st column previou break case st select text end content end select st column break case st select window start page start select st column previou break case st select window end page end select st column break modif case st cut cut break case st copi copi break case st past past break case st delet previou backspac break case st delet delet break case st delet word previou delet word previou break case st delet word delet word break miscellan case st toggl overwrit overwrit overwrit toggl insert overwrit mode break invokeact oldcolumnx oldhscrolloffset hscrollchang caretlin checkwidget updatecaretdirect line_up caretlin dolineup oldcolumnx oldhscrolloffset horizontalscrolloffset getlineatoffset caretoffset showcaret caretlin hscrollchang oldhscrolloffset horizontalscrolloffset oldcolumnx hscrollchang clearselect line_down caretlin dolinedown oldcolumnx oldhscrolloffset horizontalscrolloffset getlineatoffset caretoffset showcaret caretlin hscrollchang oldhscrolloffset horizontalscrolloffset oldcolumnx hscrollchang clearselect line_start dolinestart clearselect line_end dolineend clearselect column_previou docursorprevi clearselect column_next docursornext clearselect page_up dopageup clearselect page_down dopagedown clearselect word_previou dowordprevi clearselect word_next dowordnext clearselect text_start docontentstart clearselect text_end docontentend clearselect window_start dopagestart clearselect window_end dopageend clearselect select_line_up doselectionlineup select_line_down doselectionlinedown select_line_start dolinestart doselect column_previou select_line_end dolineend doselect column_next select_column_previou doselectioncursorprevi doselect column_previou select_column_next doselectioncursornext doselect column_next select_page_up doselectionpageup doselect column_previou select_page_down doselectionpagedown select_word_previou doselectionwordprevi doselect column_previou select_word_next doselectionwordnext doselect column_next select_text_start docontentstart doselect column_previou select_text_end docontentend doselect column_next select_window_start dopagestart doselect column_previou select_window_end dopageend doselect column_next delet_previou dobackspac delet_next dodelet delet_word_previou dodeletewordprevi delet_word_next dodeletewordnext toggl_overwrit temporari swt boolean bidi return bidi isbidi isbidi return offset insid multi byte line delimit line1 line delimit 5 fals line delimit 6 true return true offset insid multi byte line delimit fals offset line delimit boolean line delimit int offset int line content line offset offset int line offset content offset line line int offset line offset line offset offset line greater line length line delimit longer charact offset set part line delimit return offset line content line line length islinedelimit islinedelimit islinedelimit getlineatoffset lineoffset getoffsetatlin offsetinlin lineoffset offsetinlin offsetinlin getlin return widget mirror orient left write order return mirror true widget orient fals widget left orient boolean mirror return mirror ismirror ismirror ismirror return line visibl return true line visibl fals line visibl boolean area visibl int line int line int partial bottom index partial bottom index int partial top index vertic scroll offset line height boolean visibl line partial bottom index line partial top index return visibl isareavis firstlin lastlin partialbottomindex getpartialbottomindex partialtopindex verticalscrolloffset lineheight notvis firstlin partialbottomindex lastlin partialtopindex notvis return widget line return true widget line fals widget multipl line boolean singl line return style swt singl 0 issinglelin getstyl send verifi event replac insert text defin event send modifi event param event text chang event ul li event start replac start offset li li event end replac end offset li li event text text li ul param updat caret caret set text void modifi content event event boolean updat caret event doit true notifi listen swt verifi event event doit style text event style text event null int replac length event end event start listen extend modifi style text event style text event logic content style text event start event start style text event end event start event text length style text event text content text rang event start replac length updat caret fix advanc flag delet backspac kei direct boundari event text length 0 int line index content line offset event start int line offset content offset line line index string line text content line line index text layout layout render text layout line text line offset int level start layout level event start line offset int line index end content line offset event end line index line index end render dispos text layout layout line offset content offset line line index end line text content line line index end layout render text layout line text line offset int level end layout level event end line offset render dispos text layout layout advanc level start level end content replac text rang event start replac length event text set caret posit prior send modifi event fix 1gbb8nj updat caret updat caret locat fix 1g8fodp intern set select event start event text length 0 true show caret send modifi event event listen extend modifi notifi listen extend modifi style text event updatecaret modifycont updatecaret notifylisten styledtextev styledtextev replacedlength islisten extendedmodifi styledtextev styledtextev logicalcont styledtextev styledtextev styledtextev gettextrang replacedlength updatecaret lineindex getlineatoffset lineoffset getoffsetatlin lineindex linetext getlin lineindex textlayout gettextlayout linetext lineoffset levelstart getlevel lineoffset lineindexend getlineatoffset lineindex lineindexend disposetextlayout lineoffset getoffsetatlin lineindexend linetext getlin lineindexend gettextlayout linetext lineoffset levelend getlevel lineoffset disposetextlayout levelstart levelend replacetextrang replacedlength updatecaret internalsetselect showcaret sendmodifyev islisten extendedmodifi notifylisten extendedmodifi styledtextev replac select clipboard text insert text current caret offset select widget swt singl style clipboard text line line line delimit insert widget except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void past check widget text transfer transfer text transfer instanc string text text string clipboard content transfer text null text length 0 event event event event start select event end select event text model delimit text text send kei event event swtexcept error_widget_dispos error_thread_invalid_access checkwidget texttransf texttransf getinst getcont getmodeldelimitedtext sendkeyev render area broken method support direct draw param gc gc render param start line line render param starti pixel locat start render param render height render height widget area need fill line void perform paint gc gc int start line int starti int render height rectangl client area client area color background background check want try creat imag 0 width 0 height client area width 0 return render height 0 render height neg top margin need redraw color foreground foreground int line count content line count int gc style mirror swt left swt left singl line line count 1 int painti paint height imag line buffer gc linegc boolean doubl buffer doubl buffer paint top index top index paint top index top index doubl buffer painti 0 paint height render height line buffer imag displai client area width render height linegc gc line buffer gc style linegc set font font linegc set foreground foreground linegc set background background painti starti paint height starti render height line buffer null linegc gc int start line painti paint height line count painti line height string line content line render draw line line painti linegc background foreground true painti paint height linegc set background background linegc fill rectangl 0 painti client area width paint height painti doubl buffer clear margin linegc background client area starti gc draw imag line buffer 0 starti linegc dispos line buffer dispos clear margin gc background client area 0 startlin renderheight renderheight performpaint startlin renderheight clientarea getclientarea getbackground clientarea renderheight renderheight getforeground linecount getlinecount gcstyle ismirror right_to_left left_to_right issinglelin linecount paintheight linebuff doublebuff doubl_buffer lastpainttopindex topindex lastpainttopindex topindex doublebuff paintheight renderheight linebuff getdisplai clientarea renderheight linebuff gcstyle setfont getfont setforeground setbackground paintheight renderheight linebuff startlin paintheight linecount lineheight getlin drawlin paintheight setbackground fillrectangl clientarea paintheight doublebuff clearmargin clientarea drawimag linebuff linebuff clearmargin clientarea print widget text default printer except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void print check widget printer printer printer style text print option option style text print option option print text foreground true option print text background true option print text font style true option print line background true print printer option run printer dispos swtexcept error_widget_dispos error_thread_invalid_access checkwidget styledtextprintopt styledtextprintopt printtextforeground printtextbackground printtextfontstyl printlinebackground return runnabl print widget text printer runnabl run non ui thread param printer printer print except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument printer null li ul public runnabl print printer printer style text print option option style text print option check widget option print text foreground true option print text background true option print text font style true option print line background true printer null swt error swt error null argument return print printer option swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument styledtextprintopt styledtextprintopt checkwidget printtextforeground printtextbackground printtextfontstyl printlinebackground error_null_argument return runnabl print widget text printer runnabl run non ui thread param printer printer print param option print option print except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument printer option null li ul 2 1 public runnabl print printer printer style text print option option check widget printer null option null swt error swt error null argument return print printer option swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument styledtextprintopt checkwidget error_null_argument entir bound receiv mark need redrawn paint request process control complet paint recalcul content width line bound code line style listen code redraw call notif widget style chang content width chang except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul control updat public void redraw int item count super redraw item count partial bottom index top index 1 line cach redraw reset top index item count true line cach calcul top index item count set horizont scroll bar linestylelisten swtexcept error_widget_dispos error_thread_invalid_access itemcount itemcount getpartialbottomindex topindex linecach redrawreset topindex itemcount linecach topindex itemcount sethorizontalscrollbar rectangular area receiv argument mark need redrawn paint request process area receiv paint code code flag code true code children receiv intersect area paint intersect area code code flag code fals code children paint mark content width line rectangl unknown recalcul content width visibl line code line style listen code redraw call notif widget style chang content width chang param x coordin area draw param y coordin area draw param width width area draw param height height area draw param code true code children redraw code fals code except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul control updat public void redraw int int int width int height boolean super redraw width height height 0 int line count content line count int start line top pixel line height int end line start line compat ceil height line height int item count reset line redraw rectangl start line math min start line line count item count math min end line line count start line line cach reset start line item count true calcul visibl line item count partial bottom index top index 1 line cach calcul top index item count set horizont scroll bar linestylelisten swtexcept error_widget_dispos error_thread_invalid_access linecount getlinecount startlin gettoppixel lineheight endlin startlin lineheight itemcount startlin startlin linecount itemcount endlin linecount startlin linecach startlin itemcount itemcount getpartialbottomindex topindex linecach topindex itemcount sethorizontalscrollbar redraw line param line index line redraw param offset offset line start redraw void redraw line int line int offset int redrawx 0 offset 0 string line text content line line redrawx getx offset line text line offset int redrawi line line height vertic scroll offset super redraw redrawx left margin redrawi top margin client area width left margin margin line height true redrawlin linetext getlin getxatoffset linetext lineheight verticalscrolloffset leftmargin topmargin getclientarea leftmargin rightmargin lineheight redraw text rang line param line line redraw offset param offset line offset line start redraw param line line redraw param end offset offset redraw stop param clear background true clear background invalid request redraw rang redraw rang includ charact line entir line redrawn line clear border widget fals draw foreground directli invalid redraw rang void redraw line int line int offset line int line int end offset boolean clear background string line content line line int line count line line 1 int redrawi redraw width int line offset content offset line line boolean full line redraw rectangl client area client area full line redraw style swt full select 0 line line redraw rang includ charact line clear background widget border fix bug 19595 clear background end offset line offset line length full line redraw true text layout layout render text layout line line offset rectangl rect layout bound offset line math min end offset line length 1 render dispos text layout layout rect horizont scroll offset rect intersect client area redrawi line line height vertic scroll offset redraw width full line redraw client area width left margin margin rect width draw rect redrawi redraw width line height clear background redraw line line need redraw line count 1 line offset content offset line line int offset line end offset line offset redraw redraw offset 0 offset line 0 line content line line redraw rang includ charact line clear background widget border fix bug 19595 clear background offset line line length full line redraw true line content line line layout render text layout line line offset rect layout bound 0 offset line 1 render dispos text layout layout rect horizont scroll offset rect intersect client area redrawi line line height vertic scroll offset redraw width full line redraw client area width left margin margin rect width draw rect redrawi redraw width line height clear background firstlin offsetinfirstlin firstlin lastlin endoffset clearbackground redrawlin firstlin offsetinfirstlin lastlin endoffset clearbackground getlin firstlin linecount lastlin firstlin redrawwidth lineoffset getoffsetatlin firstlin fulllineredraw clientarea getclientarea fulllineredraw getstyl full_select lastlin firstlin clearbackground endoffset lineoffset fulllineredraw textlayout gettextlayout lineoffset getbound offsetinfirstlin endoffset disposetextlayout horizontalscrolloffset clientarea firstlin lineheight verticalscrolloffset redrawwidth fulllineredraw clientarea leftmargin rightmargin redrawwidth lineheight clearbackground linecount lineoffset getoffsetatlin lastlin offsetinlastlin endoffset lineoffset offsetinlastlin getlin lastlin clearbackground offsetinlastlin fulllineredraw getlin lastlin gettextlayout lineoffset getbound offsetinlastlin disposetextlayout horizontalscrolloffset clientarea lastlin lineheight verticalscrolloffset redrawwidth fulllineredraw clientarea leftmargin rightmargin redrawwidth lineheight clearbackground fix widget displai text chang bit blit redraw param y locat text chang param line count number line param replac line count number replac line void redraw multi line chang int int line count int replac line count rectangl client area client area int line count line count replac line count int sourcei int destinationi line count 0 sourcei math max 0 line height destinationi sourcei line count line height destinationi math max 0 line height sourcei destinationi line count line height scroll 0 destinationi destin 0 sourcei sourc client area width client area height true redraw bottom line flash line delet swt merg paint area scroll paint area redraw call prevent call updat scroll ad updat flash client redraw updat call syntax highlight redraw line ad content ad line requir get line index info content worth troubl flash bottom line minor merg paint style bit prevent merg redraw flash slow line height 0 client area height redraw chang line case line split join super redraw 0 client area width line height true line count 0 int redraw starti line height int redraw height line count line height redraw starti redraw height 0 redraw starti client area height displai text super redraw 0 redraw starti client area width redraw height true newlinecount replacedlinecount redrawmultilinechang newlinecount replacedlinecount clientarea getclientarea linecount newlinecount replacedlinecount linecount lineheight linecount lineheight lineheight linecount lineheight clientarea clientarea no_merg_paint lineheight clientarea clientarea lineheight newlinecount redrawstarti lineheight redrawheight newlinecount lineheight redrawstarti redrawheight redrawstarti clientarea redrawstarti clientarea redrawheight redraw text rang param start offset charact redraw param length number charact redraw param clear background true background clear part redraw oper true entir redraw rang clear redrawn redraw rang includ charact line entir line redrawn line clear border widget redraw oper faster smoother clear background set fals flag set fals depend type chang place font style background color redraw rang chang clear background set true foreground color chang redraw rang clear background set fals except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang start end widget content li ul public void redraw rang int start int length boolean clear background check widget int end start length int content length content char count int line int line start end start 0 end content length swt error swt error invalid rang line content line offset start line content line offset end reset affect line let redraw recalcul visibl line cach reset line line line 1 true intern redraw rang start length clear background clearbackground clearbackground clearbackground clearbackground swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang redrawrang clearbackground checkwidget contentlength getcharcount firstlin lastlin contentlength error_invalid_rang firstlin getlineatoffset lastlin getlineatoffset linecach firstlin lastlin firstlin internalredrawrang clearbackground remov bidirect segment listen param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul 2 0 public void remov bidi segment listen bidi segment listen listen check widget listen null swt error swt error null argument remov listen line segment listen swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument removebidisegmentlisten bidisegmentlisten checkwidget error_null_argument removelisten linegetseg remov extend modifi listen param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void remov extend modifi listen extend modifi listen extend modifi listen check widget extend modifi listen null swt error swt error null argument remov listen extend modifi extend modifi listen swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument removeextendedmodifylisten extendedmodifylisten extendedmodifylisten checkwidget extendedmodifylisten error_null_argument removelisten extendedmodifi extendedmodifylisten remov line background listen param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void remov line background listen line background listen listen check widget listen null swt error swt error null argument remov listen line background listen default line styler user line styler remov listen line background fals user line background style text listen type listen style text listen default line styler add listen line background type listen user line background fals swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument removelinebackgroundlisten linebackgroundlisten checkwidget error_null_argument removelisten linegetbackground islisten linegetbackground userlinebackground styledtextlisten typedlisten styledtextlisten defaultlinestyl addlisten linegetbackground typedlisten userlinebackground remov line style listen param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void remov line style listen line style listen listen check widget listen null swt error swt error null argument remov listen line style listen default line styler user line styler remov fix 1g7b1x2 listen line style fals user line style style text listen type listen style text listen default line styler add listen line style type listen user line style fals swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument removelinestylelisten linestylelisten checkwidget error_null_argument removelisten linegetstyl islisten linegetstyl userlinestyl styledtextlisten typedlisten styledtextlisten defaultlinestyl addlisten linegetstyl typedlisten userlinestyl remov modifi listen param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void remov modifi listen modifi listen modifi listen check widget modifi listen null swt error swt error null argument remov listen swt modifi modifi listen swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument removemodifylisten modifylisten modifylisten checkwidget modifylisten error_null_argument removelisten modifylisten remov select listen param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void remov select listen select listen listen check widget listen null swt error swt error null argument remov listen swt select listen swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument removeselectionlisten selectionlisten checkwidget error_null_argument removelisten remov verifi listen param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void remov verifi listen verifi listen verifi listen check widget verifi listen null swt error swt error null argument remov listen swt verifi verifi listen swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument removeverifylisten verifylisten verifylisten checkwidget verifylisten error_null_argument removelisten verifylisten remov kei verifi listen param listen listen except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void remov verifi kei listen verifi kei listen listen listen null swt error swt error null argument remov listen verifi kei listen swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument removeverifykeylisten verifykeylisten error_null_argument removelisten verifykei replac style rang style method effect delet style rang add the style call line style listen set listen maintain style param start offset charact style delet param length length rang delet style param rang style rang object style inform rang overlap start length style render undefin rang overlap ill defin null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang start end valid rang 0 offset char count li li error null argument string null li ul 2 0 public void replac style rang int start int length style rang rang check widget user line style return rang null swt error swt error null argument rang length 0 set style rang style rang start length null null return int end start length start end start 0 end char count swt error swt error invalid rang int line content line offset start int line content line offset end default line styler replac style rang start length rang line cach reset line line line 1 true area visibl need redraw area visibl line line int redrawi line line height vertic scroll offset int redraw stopi line 1 line height vertic scroll offset draw 0 redrawi client area width redraw stopi redrawi true sure caret posit correctli caret locat chang font style fix 1g8fodp set caret locat linestylelisten stylerang swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang getcharcount error_null_argument replacestylerang stylerang checkwidget userlinestyl error_null_argument setstylerang stylerang getcharcount error_invalid_rang firstlin getlineatoffset lastlin getlineatoffset defaultlinestyl replacestylerang linecach firstlin lastlin firstlin isareavis firstlin lastlin firstlin lineheight verticalscrolloffset redrawstopi lastlin lineheight verticalscrolloffset getclientarea redrawstopi setcaretloc replac text rang text widget swt singl style text line line render text store unchang subsequ call text return text set note singl line text set swt singl style note replac oper current select chang follow ul li select replac text select unchang li select replac text adjust select text remain select li select intersect replac text select clear caret insert text ul param start offset charact replac param length number charact replac 0 insert text param text text empti delet text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang start end valid rang 0 offset char count li li error invalid argument start end insid multi byte line delimit split line delimit insert text cr lf delet part line delimit support li li error null argument string null li ul public void replac text rang int start int length string text check widget int content length char count int end start length event event event start end start 0 end content length swt error swt error invalid rang text null swt error swt error null argument event start start event end end event text text modifi content event fals gettext swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang getcharcount error_invalid_argument error_null_argument replacetextrang checkwidget contentlength getcharcount contentlength error_invalid_rang error_null_argument modifycont reset caret posit select scroll offset recalcul content width scroll bar redraw widget void reset scroll bar vertic bar vertic bar scroll bar horizont bar horizont bar caret offset 0 top index 0 top offset 0 vertic scroll offset 0 horizont scroll offset 0 reset select discard style set creat default line styler default line styler null remov line background listen default line styler remov line style listen default line styler instal default line styler calcul content width vertic bar null vertic bar set select 0 horizont bar null horizont bar set select 0 set scroll bar set caret locat super redraw scrollbar verticalbar getverticalbar scrollbar horizontalbar gethorizontalbar caretoffset topindex topoffset verticalscrolloffset horizontalscrolloffset resetselect defaultlinestyl removelinebackgroundlisten defaultlinestyl removelinestylelisten defaultlinestyl installdefaultlinestyl calculatecontentwidth verticalbar verticalbar setselect horizontalbar horizontalbar setselect setscrollbar setcaretloc reset select void reset select select select caret offset select anchor 1 resetselect caretoffset selectionanchor scroll widget horizont param pixel number pixel scroll 0 scroll left 0 scroll void scroll horizont int pixel rectangl client area pixel 0 return client area client area pixel 0 int sourcex left margin pixel int scroll width client area width sourcex margin int scroll height client area height top margin bottom margin scroll left margin top margin destin sourcex top margin sourc scroll width scroll height true sourcex scroll width redraw end scroll area begin scroll invalid area super redraw left margin scroll width top margin pixel scroll width scroll height true int destinationx left margin pixel int scroll width client area width destinationx margin int scroll height client area height top margin bottom margin scroll destinationx top margin destin left margin top margin sourc scroll width scroll height true destinationx scroll width redraw end scroll invalid area scroll destin super redraw left margin scroll width top margin pixel scroll width scroll height true horizont scroll offset pixel int columnx columnx pixel set caret locat restor origin horizont caret index columnx columnx scrollhorizont clientarea clientarea getclientarea leftmargin scrollwidth clientarea rightmargin scrollheight clientarea topmargin bottommargin leftmargin topmargin topmargin scrollwidth scrollheight scrollwidth leftmargin scrollwidth topmargin scrollwidth scrollheight leftmargin scrollwidth clientarea rightmargin scrollheight clientarea topmargin bottommargin topmargin leftmargin topmargin scrollwidth scrollheight scrollwidth leftmargin scrollwidth topmargin scrollwidth scrollheight horizontalscrolloffset oldcolumnx setcaretloc oldcolumnx scroll widget horizont adjust horizont scroll bar reflect horizont offset param pixel number pixel scroll 0 scroll left 0 scroll return true widget scroll fals widget scroll offset valid boolean scroll horizont bar int pixel pixel 0 return fals scroll bar horizont bar horizont bar horizont bar null horizont bar set select horizont scroll offset pixel scroll horizont pixel return true scrollhorizontalbar scrollbar horizontalbar gethorizontalbar horizontalbar horizontalbar setselect horizontalscrolloffset scrollhorizont select text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void select check widget set select point 0 math max char count 0 swtexcept error_widget_dispos error_thread_invalid_access selectal checkwidget setselect getcharcount replac insert text defin event param event text chang event ul li event start replac start offset li li event end replac end offset li li event text text li ul void send kei event event event edit fals return modifi content event true sendkeyev modifycont void send modifi event event event access access access event text length 0 access text chang acc text delet event start event end event start event start event end access text chang acc text insert event start event text length access text chang acc text delet event start event end event start access text chang acc text insert event start event text length notifi listen swt modifi event sendmodifyev getaccess textchang text_delet textchang text_insert textchang text_delet textchang text_insert notifylisten send select event void send select event access text select chang event event event event select event select notifi listen swt select event sendselectionev getaccess textselectionchang notifylisten set widget wrap line overrid creation style bit swt wrap param wrap true widget wrap line fals widget wrap line 2 0 public void set word wrap boolean wrap check widget style swt singl 0 return wrap word wrap scroll bar horizont bar horizont bar word wrap wrap word wrap logic content content content wrap content render logic content content logic content calcul content width horizont scroll offset 0 horizont bar null horizont bar set visibl word wrap set scroll bar set caret locat super redraw setwordwrap checkwidget getstyl wordwrap scrollbar horizontalbar gethorizontalbar wordwrap wordwrap logicalcont wrappedcont logicalcont logicalcont calculatecontentwidth horizontalscrolloffset horizontalbar horizontalbar setvis wordwrap setscrollbar setcaretloc set receiv caret set caret height locat param caret caret receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set caret caret caret check widget super set caret caret caret direct swt null caret null set caret locat swtexcept error_widget_dispos error_thread_invalid_access setcaret checkwidget setcaret caretdirect setcaretloc org eclips swt widget control set background public void set background color color check widget background color super set background background redraw setbackground setbackground checkwidget setbackground getbackground set bidi color mode true bidi text displai algorithm appli segment text color param mode color mode except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul deprec bidi segment listen public void set bidi color boolean mode check widget bidi color mode swtexcept error_widget_dispos error_thread_invalid_access bidisegmentlisten setbidicolor checkwidget bidicolor void set caret locat int caretx int line int direct caret caret caret caret null boolean updat imag caret default caret int imag direct direct mirror imag direct swt left imag direct swt imag direct swt imag direct swt left updat imag imag direct swt caretx caret size 1 int careti line line height vertic scroll offset top margin caret set locat caretx careti access text caret move caret offset direct caret direct caret direct direct updat imag imag direct swt default default caret set imag null imag direct swt left default caret set imag left caret bitmap imag direct swt default caret set imag caret bitmap caret set size caret size line height caret direct swt left bidi util set keyboard languag bidi util keyboard non bidi caret direct swt bidi util set keyboard languag bidi util keyboard bidi columnx caretx setcaretloc newcaretx getcaret updateimag defaultcaret imagedirect ismirror imagedirect imagedirect imagedirect imagedirect updateimag imagedirect newcaretx getsiz newcareti lineheight verticalscrolloffset topmargin setloc newcaretx newcareti getaccess textcaretmov getcaretoffset caretdirect caretdirect updateimag imagedirect defaultcaret setimag imagedirect defaultcaret setimag leftcaretbitmap imagedirect defaultcaret setimag rightcaretbitmap setsiz getsiz lineheight caretdirect bidiutil setkeyboardlanguag bidiutil keyboard_non_bidi caretdirect bidiutil setkeyboardlanguag bidiutil keyboard_bidi newcaretx move caret current caret offset void set caret locat int line index caret line string line content line line index int line offset content offset line line index int offset line caret offset line offset int caretx getx offset line line index offset line set caret locat caretx line index caret direct setcaretloc lineindex getcaretlin getlin lineindex lineoffset getoffsetatlin lineindex offsetinlin caretoffset lineoffset newcaretx getxatoffset lineindex offsetinlin setcaretloc newcaretx lineindex getcaretdirect set caret offset param offset caret offset rel charact text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid argument start end select rang insid multi byte line delimit clearli front line delimit ul public void set caret offset int offset check widget int length char count length 0 offset caret offset offset 0 caret offset 0 offset length caret offset length line delimit offset offset insid multi byte line delimit illeg oper except thrown fix 1gdkk3r swt error swt error invalid argument caret offset offset clear select caret move don notifi listen select chang clear select fals updat caret locat fix 1g8fodp set caret locat swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_argument setcaretoffset checkwidget getcharcount caretoffset caretoffset caretoffset islinedelimit error_invalid_argument caretoffset clearselect setcaretloc copi text rang clipboard text clipboard plain text format rtf format param start start index text param length length text place clipboard except swt error clipboard set content org eclips swt dnd clipboard set content void set clipboard content int start int length throw swt error rtf transfer rtf transfer rtf transfer instanc text transfer plain text transfer text transfer instanc rtf writer rtf writer rtf writer start length text writer plain text writer text writer start length string rtf text platform delimit text rtf writer string plain text platform delimit text plain text writer clipboard set content string rtf text plain text transfer rtf transfer plain text transfer swterror setcont setcont setclipboardcont swterror rtftransfer rtftransfer rtftransfer getinst texttransf plaintexttransf texttransf getinst rtfwriter rtfwriter rtfwriter textwrit plaintextwrit textwrit rtftext getplatformdelimitedtext rtfwriter plaintext getplatformdelimitedtext plaintextwrit setcont rtftext plaintext rtftransfer plaintexttransf set content implement text storag param content style text content implement text storag except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li ul public void set content style text content content check widget content null swt error swt error null argument content null content remov text chang listen text chang listen logic content content word wrap content wrap content render logic content content logic content content add text chang listen text chang listen reset styledtextcont swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument setcont styledtextcont newcont checkwidget newcont error_null_argument removetextchangelisten textchangelisten logicalcont newcont wordwrap wrappedcont logicalcont logicalcont addtextchangelisten textchangelisten set receiv cursor cursor argument overridden handl null case style text widget ibeam default cursor org eclips swt widget control set cursor public void set cursor cursor cursor cursor null super set cursor ibeam cursor super set cursor cursor styledtext setcursor setcursor setcursor ibeamcursor setcursor set widget implement doubl click mous behavior param enabl true doubl click word select word fals doubl click effect regular mous click except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set doubl click enabl boolean enabl check widget doubl click enabl enabl swtexcept error_widget_dispos error_thread_invalid_access setdoubleclicken checkwidget doubleclicken set widget content edit param edit true content edit fals content edit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set edit boolean edit check widget edit edit swtexcept error_widget_dispos error_thread_invalid_access setedit checkwidget set font render text note ital font support overhang baselin regular font param font font except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set font font font check widget int line height line height super set font font initi render top line visibl fix 5815 line height line height set vertic scroll offset vertic scroll offset line height line height true claim bottom free space calcul content width calcul scroll bar bidi creat caret bitmap caret direct swt null set caret locat fix 6685 set caret locat super redraw swtexcept error_widget_dispos error_thread_invalid_access setfont checkwidget oldlineheight lineheight setfont initializerender lineheight oldlineheight setverticalscrolloffset verticalscrolloffset lineheight oldlineheight claimbottomfreespac calculatecontentwidth calculatescrollbar isbidi createcaretbitmap caretdirect setcaretloc org eclips swt widget control set foreground public void set foreground color color check widget foreground color super set foreground foreground redraw setforeground setforeground checkwidget setforeground getforeground set horizont scroll offset rel start line text set note horizont index reset 0 text set widget param offset horizont scroll offset rel start line measur charact increment start 0 equal 0 content scroll 0 content scroll except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set horizont index int offset check widget int client area width client area width char count 0 return offset 0 offset 0 offset horizont increment allow client area width unknown 0 offset check resiz handler don visibl width known widget temporarili invis client area width 0 int width line cach width prevent scroll content fit client area align end longest line border client area offset rang offset width client area width offset math max 0 width client area width scroll horizont bar offset horizont scroll offset swtexcept error_widget_dispos error_thread_invalid_access sethorizontalindex checkwidget clientareawidth getclientarea getcharcount gethorizontalincr isvis clientareawidth linecach getwidth clientareawidth clientareawidth scrollhorizontalbar horizontalscrolloffset set horizont pixel offset rel start line text set note horizont pixel offset reset 0 text set widget param pixel horizont pixel offset rel start line except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set horizont pixel int pixel check widget int client area width client area width char count 0 return pixel 0 pixel 0 allow client area width unknown 0 offset check resiz handler don visibl width known widget temporarili invis client area width 0 int width line cach width prevent scroll content fit client area align end longest line border client area offset rang pixel width client area width pixel math max 0 width client area width scroll horizont bar pixel horizont scroll offset swtexcept error_widget_dispos error_thread_invalid_access sethorizontalpixel checkwidget clientareawidth getclientarea getcharcount isvis clientareawidth linecach getwidth clientareawidth clientareawidth scrollhorizontalbar horizontalscrolloffset adjust maximum page size horizont scroll bar reflect content width void set horizont scroll bar scroll bar horizont bar horizont bar horizont bar null horizont bar visibl final int inact 1 rectangl client area client area set real valu scroll bar thumb size scroll maximum avoid flash motif fix 1g7re1j 1g5se92 client area width line cach width horizont bar set valu horizont bar select horizont bar minimum line cach width maximum client area width left margin margin thumb size horizont bar increment client area width left margin margin page size horizont bar thumb inact horizont bar maximum inact horizont bar set valu horizont bar select horizont bar minimum inact inact horizont bar increment inact sethorizontalscrollbar scrollbar horizontalbar gethorizontalbar horizontalbar horizontalbar getvis clientarea getclientarea clientarea linecach getwidth horizontalbar setvalu horizontalbar getselect horizontalbar getminimum linecach getwidth clientarea leftmargin rightmargin horizontalbar getincr clientarea leftmargin rightmargin horizontalbar getthumb horizontalbar getmaximum horizontalbar setvalu horizontalbar getselect horizontalbar getminimum horizontalbar getincr set background color line background color drawn width widget line background color discard set text call text background color defin style rang overlai line background color call line background listen set listen maintain line background line background color maintain rel line text line index method call text entir line insert remov line background color line chang move respect text entir line defin extend charact line includ line delimit p line join delet line delimit top line background take preced color bottom line delet text line background color remain unchang param start line line color appli 0 base param line count number line color appli param background line background color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid argument line rang invalid li ul public void set line background int start line int line count color background check widget int partial bottom index partial bottom index api client provid line background user line background return start line 0 start line line count logic content line count swt error swt error invalid argument default line styler set line background start line line count background redraw rang complet invis start line partial bottom index start line line count 1 top index return redraw visibl line start line top index line count top index start line start line top index start line line count 1 partial bottom index line count partial bottom index start line 1 start line top index super redraw left margin start line line height top margin client area width left margin margin line count line height true settext stylerang linebackgroundlisten startlin linecount swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_argument setlinebackground startlin linecount checkwidget partialbottomindex getpartialbottomindex userlinebackground startlin startlin linecount logicalcont getlinecount error_invalid_argument defaultlinestyl setlinebackground startlin linecount startlin partialbottomindex startlin linecount topindex startlin topindex linecount topindex startlin startlin topindex startlin linecount partialbottomindex linecount partialbottomindex startlin startlin topindex leftmargin startlin lineheight topmargin getclientarea leftmargin rightmargin linecount lineheight flip select anchor base word select direct void set mous word select anchor mous doubl click fals return caret offset doubl click select select anchor doubl click select caret offset doubl click select select anchor doubl click select setmousewordselectionanchor mousedoubleclick caretoffset doubleclickselect selectionanchor doubleclickselect caretoffset doubleclickselect selectionanchor doubleclickselect set orient receiv constant code swt left code code swt left code param orient orient style except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 2 public void set orient int orient orient swt left swt left 0 return orient swt left 0 orient swt left 0 return orient swt left 0 mirror return orient swt left 0 mirror fals return bidi util set orient handl orient fals return mirror orient swt left 0 bidi bidi util bidi platform mirror initi render caret direct swt null set caret locat kei action map clear creat kei bind super redraw left_to_right left_to_right swtexcept error_widget_dispos error_thread_invalid_access setorient right_to_left left_to_right right_to_left left_to_right right_to_left ismirror left_to_right ismirror bidiutil setorient ismirror right_to_left isbidi bidiutil isbidiplatform ismirror initializerender caretdirect setcaretloc keyactionmap createkeybind adjust maximum page size scroll bar reflect content width length void set scroll bar scroll bar vertic bar vertic bar vertic bar null rectangl client area client area final int inact 1 int maximum content line count vertic increment set real valu scroll bar thumb size scroll maximum avoid flash motif fix 1g7re1j 1g5se92 client area height maximum vertic bar set valu vertic bar select vertic bar minimum maximum client area height thumb size vertic bar increment client area height page size vertic bar thumb inact vertic bar maximum inact vertic bar set valu vertic bar select vertic bar minimum inact inact vertic bar increment inact set horizont scroll bar setscrollbar scrollbar verticalbar getverticalbar verticalbar clientarea getclientarea getlinecount getverticalincr clientarea verticalbar setvalu verticalbar getselect verticalbar getminimum clientarea verticalbar getincr clientarea verticalbar getthumb verticalbar getmaximum verticalbar setvalu verticalbar getselect verticalbar getminimum verticalbar getincr sethorizontalscrollbar set select posit scroll view equival set select start start param start caret posit set select int int except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang start widget content li error invalid argument start end select rang insid multi byte line delimit clearli front line delimit ul public void set select int start check widget test set select rang set select start start setselect setselect swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang error_invalid_argument setselect checkwidget setselectionrang setselect set select scroll view index base text select term caret posit text widget charact 1 caret posit rang 0 param point select start offset select end offset caret select start set select int int except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument point null li li error invalid rang start end widget content li error invalid argument start end select rang insid multi byte line delimit clearli front line delimit ul public void set select point point check widget point null swt error swt error null argument set select point point setselect swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument error_invalid_rang error_invalid_argument setselect checkwidget error_null_argument setselect set receiv select background color color argument default system color control argument null param color color null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public void set select background color color check widget color null color dispos swt error swt error invalid argument select background color redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setselectionbackground checkwidget isdispos error_invalid_argument selectionbackground set receiv select foreground color color argument default system color control argument null param color color null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public void set select foreground color color check widget color null color dispos swt error swt error invalid argument select foreground color redraw illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setselectionforeground checkwidget isdispos error_invalid_argument selectionforeground set select scroll view index base text select term caret posit text widget charact 1 caret posit rang 0 param start select start offset caret select start start end param end select end offset set select rang int int except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang start end widget content li error invalid argument start end select rang insid multi byte line delimit clearli front line delimit ul public void set select int start int end check widget test set select rang set select rang start end start show select setselectionrang swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang error_invalid_argument setselect checkwidget setselectionrang setselectionrang showselect set select select visibl call show select scroll select view param start offset select charact start 0 true param length number charact select 0 start length char count true neg length place caret visual start select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang rang start length widget content li error invalid argument start end select rang insid multi byte line delimit clearli front line delimit ul public void set select rang int start int length check widget int content length char count int end start length start 0 end 0 start content length end content length swt error swt error invalid rang line delimit start line delimit end start offset end offset select rang insid multi byte line delimit illeg oper except thrown fix 1gdkk3r swt error swt error invalid argument intern set select start length fals updat caret locat fix 1g8fodp set caret locat showselect getcharcount swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang error_invalid_argument setselectionrang checkwidget contentlength getcharcount contentlength contentlength error_invalid_rang islinedelimit islinedelimit error_invalid_argument internalsetselect setcaretloc set select select visibl call show select scroll select view param start offset select charact start 0 true param length number charact select 0 start length char count true neg length place caret select start param send event select event set true select reset void intern set select int start int length boolean send event int end start length start end int temp end end start start temp select rang select direct select start select end length 0 select anchor select length 0 select anchor select clear select send event length 0 select anchor select end caret offset select start select anchor select start caret offset select end intern redraw rang select select select true showselect getcharcount sendev internalsetselect sendev selectionanchor selectionanchor clearselect sendev selectionanchor caretoffset selectionanchor caretoffset internalredrawrang add style style overwrit exist style rang exist style rang adjust partial overlap style clear individu style call set style rang style rang null attribut call line style listen set listen maintain style param rang style rang object style inform overwrit style rang null delet style except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error invalid rang style rang valid rang char count li ul public void set style rang style rang rang check widget api client provid line style user line style return check rang sure fall rang text rang null rang start rang length content char count swt error swt error invalid rang default line styler set style rang rang rang null int line content line offset rang start int line content line offset rang start rang length line cach reset line line line 1 true style visibl need redraw area visibl line line int redrawi line line height vertic scroll offset int redraw stopi line 1 line height vertic scroll offset draw 0 redrawi client area width redraw stopi redrawi true clear style line cach reset 0 content line count fals redraw sure caret posit correctli caret locat chang font style fix 1g8fodp set caret locat setstylerang stylerang linestylelisten stylerang swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_invalid_rang getcharcount setstylerang stylerang checkwidget userlinestyl getcharcount error_invalid_rang defaultlinestyl setstylerang firstlin getlineatoffset lastlin getlineatoffset linecach firstlin lastlin firstlin isareavis firstlin lastlin firstlin lineheight verticalscrolloffset redrawstopi lastlin lineheight verticalscrolloffset getclientarea redrawstopi linecach getlinecount setcaretloc set style render widget content style widget replac set style call line style listen set listen maintain style param rang style rang object style inform rang overlap style render undefin rang overlap null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument listen null li li error invalid rang the style rang valid rang char count li ul public void set style rang style rang rang check widget api client provid line style user line style return rang null swt error swt error null argument check rang sure fall rang current text rang length 0 style rang rang rang length 1 int end start length int line content line offset rang 0 start int line end content char count swt error swt error invalid rang line content line offset end reset line affect style chang line cach reset line line line 1 true reset line line cach reset 0 content line count fals default line styler set style rang rang redraw redraw affect area avoid flash sure caret posit correctli caret locat chang font style fix 1g8fodp set caret locat linestylelisten stylerang swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument error_invalid_rang getcharcount setstylerang stylerang checkwidget userlinestyl error_null_argument stylerang lastend firstlin getlineatoffset lastlin lastend getcharcount error_invalid_rang lastlin getlineatoffset lastend linecach firstlin lastlin firstlin linecach getlinecount defaultlinestyl setstylerang setcaretloc set tab width param tab tab width measur charact except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set tab int tab check widget tab length tab render set tab length tab length caret offset 0 caret offset 0 show caret clear select fals reset line width tab width line cach reset 0 content line count fals redraw swtexcept error_widget_dispos error_thread_invalid_access settab checkwidget tablength settablength tablength caretoffset caretoffset showcaret clearselect linecach getlinecount set widget content widget swt singl style text line line render text store unchang subsequ call text return text set note singl line text set swt singl style param text widget content replac exist content line style set style text api discard current select discard except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument string null li ul public void set text string text check widget event event event text null swt error swt error null argument event start 0 event end char count event text text event doit true notifi listen swt verifi event event doit style text event style text event null listen extend modifi style text event style text event logic content style text event start event start style text event end event start event text length style text event text content text rang event start event end event start content set text event text send modifi event event style text event null notifi listen extend modifi style text event gettext styledtext swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument settext checkwidget error_null_argument getcharcount notifylisten styledtextev styledtextev islisten extendedmodifi styledtextev styledtextev logicalcont styledtextev styledtextev styledtextev gettextrang settext sendmodifyev styledtextev notifylisten extendedmodifi styledtextev set text limit text limit specifi amount text user type widget param limit text limit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error limit 0 li ul public void set text limit int limit check widget limit 0 swt error swt error text limit limit swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_cannot_be_zero settextlimit checkwidget error_cannot_be_zero textlimit set top index text set top index index line top widget top index widget scroll index start note top index reset 0 text set widget param index top index 0 line count fulli visibl line page line fulli visibl maximum line count 1 rang index adjust except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set top index int top index check widget int line count logic content line count int page size math max 1 math min line count line count char count 0 return top index 0 top index 0 top index line count page size top index line count page size word wrap int logic line offset logic content offset line top index top index content line offset logic line offset set vertic scroll offset top index vertic increment true getlinecount getlinecount swtexcept error_widget_dispos error_thread_invalid_access settopindex topindex checkwidget linecount logicalcont getlinecount pages linecount getlinecountwhol getcharcount topindex topindex topindex linecount pages topindex linecount pages wordwrap logicallineoffset logicalcont getoffsetatlin topindex topindex getlineatoffset logicallineoffset setverticalscrolloffset topindex getverticalincr set top pixel offset text set top pixel offset vertic pixel offset widget widget scroll pixel posit top top index adjust top line note top pixel reset 0 text set widget param pixel top pixel offset 0 line count visibl line page line height rang offset adjust except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set top pixel int pixel check widget int line count content line count int height client area height int max top pixel math max 0 line count vertic increment height char count 0 return pixel 0 pixel 0 pixel max top pixel pixel max top pixel set vertic scroll offset pixel true getlinecount getlineheight swtexcept error_widget_dispos error_thread_invalid_access settoppixel checkwidget linecount getlinecount getclientarea maxtoppixel linecount getverticalincr getcharcount maxtoppixel maxtoppixel setverticalscrolloffset scroll widget vertic param pixel offset vertic scroll offset param adjust scroll bar true scroll thumb move reflect scroll offset fals scroll thumb move return true widget scroll fals widget scroll offset valid boolean set vertic scroll offset int pixel offset boolean adjust scroll bar rectangl client area scroll bar vertic bar vertic bar pixel offset vertic scroll offset return fals vertic bar null adjust scroll bar vertic bar set select pixel offset client area client area scroll 0 0 destin 0 pixel offset vertic scroll offset sourc client area width client area height true vertic scroll offset pixel offset calcul top index int columnx columnx set caret locat restor origin horizont caret index columnx columnx return true pixeloffset adjustscrollbar setverticalscrolloffset pixeloffset adjustscrollbar clientarea scrollbar verticalbar getverticalbar pixeloffset verticalscrolloffset verticalbar adjustscrollbar verticalbar setselect pixeloffset clientarea getclientarea pixeloffset verticalscrolloffset clientarea clientarea verticalscrolloffset pixeloffset calculatetopindex oldcolumnx setcaretloc oldcolumnx scroll locat view param x coordin visibl param line line visibl rel line document return true widget scroll locat visibl fals locat visibl widget scroll boolean show locat int int line int client area width client area width left margin int vertic increment vertic increment int horizont increment client area width 4 boolean scroll fals left margin 1 4 page visibl math max horizont scroll offset 1 horizont increment scroll scroll horizont bar x client area width 1 4 page visibl math min line cach width horizont scroll offset horizont increment scroll scroll horizont bar client area width line top index scroll set vertic scroll offset line vertic increment true line bottom index scroll set vertic scroll offset line 1 vertic increment client area height true return scroll showloc clientareawidth getclientarea leftmargin verticalincr getverticalincr horizontalincr clientareawidth leftmargin horizontalscrolloffset horizontalincr scrollhorizontalbar clientareawidth linecach getwidth horizontalscrolloffset horizontalincr scrollhorizontalbar clientareawidth topindex setverticalscrolloffset verticalincr getbottomindex setverticalscrolloffset verticalincr getclientarea set caret locat scroll caret offset view void show caret int caret line content line offset caret offset show caret caret line showcaret caretlin getlineatoffset caretoffset showcaret caretlin set caret locat scroll caret offset view void show caret int caret line int line offset content offset line caret line string line content line caret line int offset line caret offset line offset int caretx getx offset line caret line offset line boolean scroll show locat caretx caret line boolean set wrap caret locat fals caret caret caret word wrap caret null int careti caret locat careti vertic scroll offset vertic increment 1 caret line set wrap caret locat true scroll fals set wrap caret locat set caret locat scroll oper set sideeffect scroll word wrap mode caret line explicitli wrap caret line return desir line caus scroll set correctli set caret locat caretx caret line caret direct showcaret caretlin lineoffset getoffsetatlin caretlin getlin caretlin offsetinlin caretoffset lineoffset newcaretx getxatoffset caretlin offsetinlin showloc newcaretx caretlin setwrapcaretloc getcaret wordwrap getloc verticalscrolloffset getverticalincr caretlin setwrapcaretloc setwrapcaretloc getwrapcaretlin setcaretloc newcaretx caretlin getcaretdirect scroll offset view param offset offset scoll view void show offset int offset int line content line offset offset int line offset content offset line line int offset line offset line offset string line text content line line int offset getx offset line text line offset line show locat offset line showoffset getlineatoffset lineoffset getoffsetatlin offsetinlin lineoffset linetext getlin xatoffset getxatoffset linetext offsetinlin showloc xatoffset scroll select view end select scroll view note left select exist end select visual begin select caret locat except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void show select check widget boolean select fit int start offset start line startx end offset end line endx offset line select left boolean left caret offset select left start offset select end offset select start offset select end offset select calcul logic start end valu select start line content line offset start offset offset line start offset content offset line start line startx getx offset content line start line start line offset line end line content line offset end offset offset line end offset content offset line end line endx getx offset content line end line end line offset line select fulli displai widget visibl width int client area width left select fit startx endx select fit endx startx select fit show select show start select show locat startx start line endx chang show startx caus scroll occur endx getx offset content line end line end line offset line show locat endx end line show end select select start visibl show locat endx end line swtexcept error_widget_dispos error_thread_invalid_access showselect checkwidget selectionfit startoffset startlin endoffset endlin offsetinlin righttoleft caretoffset righttoleft startoffset endoffset startoffset endoffset startlin getlineatoffset startoffset offsetinlin startoffset getoffsetatlin startlin getxatoffset getlin startlin startlin offsetinlin endlin getlineatoffset endoffset offsetinlin endoffset getoffsetatlin endlin getxatoffset getlin endlin endlin offsetinlin getclientarea righttoleft selectionfit selectionfit selectionfit showloc startlin getxatoffset getlin endlin endlin offsetinlin showloc endlin showloc endlin updat select caret posit depend text chang select intersect replac text select reset caret move end text select replac text move text remain select select replac text left unchang param start offset offset text chang param replac length length text replac param length length text void updat select int start offset int replac length int length select start offset select end text chang return select start offset clear select fragment text chang intern redraw rang select start offset select true select start offset replac length select start offset replac length clear select fragment text chang select actual affect chang select affect intersect chang 1gdy217 int net length length replac length int redraw start start offset length intern redraw rang redraw start select net length redraw start true select start offset select start offset replac length select intersect replac text set caret text chang intern set select start offset length 0 true updat caret locat fix 1g8fodp set caret locat move select text select intern set select select length replac length select select true updat caret locat fix 1g8fodp set caret locat startoffset replacedlength newlength updateselect startoffset replacedlength newlength startoffset startoffset internalredrawrang startoffset startoffset replacedlength startoffset replacedlength netnewlength newlength replacedlength redrawstart startoffset newlength internalredrawrang redrawstart netnewlength redrawstart startoffset startoffset replacedlength internalsetselect startoffset newlength setcaretloc internalsetselect newlength replacedlength setcaretloc rewrap line param client area width client area width resiz occur void word wrap resiz int client area width wrap content wrap content wrap content content int top index line wrap rewrap requir widget visibl client area wider visual wrap line count equal logic line count client area width 0 client area width client area width wrap content line count logic content line count return wrap content wrap line adjust top index top line remain top index content line offset top offset top offset begin top line need adjust wrap line end preceed line top index content line count 1 top offset content offset line top index 1 top index top index top index scroll bar vertic bar vertic bar adjust index pixel offset manual call set vertic scroll offset widget actual need scroll flash vertic scroll offset top index top index vertic increment vertic scroll offset neg line partial visibl line top line prevent happen fix 8503 vertic scroll offset 0 vertic scroll offset 0 top index top index top offset content offset line top index vertic bar null vertic bar set select vertic scroll offset caret line rewrap call set caret locat fix vertic scroll offset set caret locat word wrap chang visibl line super redraw oldclientareawidth wordwrapres oldclientareawidth wrappedcont wrappedcont wrappedcont newtopindex oldclientareawidth clientareawidth oldclientareawidth wrappedcont getlinecount logicalcont getlinecount wrappedcont wraplin newtopindex getlineatoffset topoffset topoffset newtopindex getlinecount topoffset getoffsetatlin newtopindex newtopindex newtopindex topindex scrollbar verticalbar getverticalbar setverticalscrolloffset verticalscrolloffset newtopindex topindex getverticalincr verticalscrolloffset verticalscrolloffset verticalscrolloffset topindex newtopindex topoffset getoffsetatlin topindex verticalbar verticalbar setselect verticalscrolloffset setcaretloc setcaretloc call style text add observ content text chang listen descript listen method call text occur param listen listen except illeg argument except ul li error null argument listen null li ul styledtext textchangelisten illegalargumentexcept error_null_argument return number charact content return number charact content return line line index delimit param line index index line return includ delimit preceed line index 0 line content return line text delimit lineindex return line index charact offset param offset offset line return charact document offset 0 offset length valid answer number line return line index line index 0 charact offset delimit charact answer line index line delimit text r delimit ul li line offset 0 0 li line offset 1 0 li line offset 2 1 li line offset 3 1 li line offset 4 2 ul getlength getlineatoffset getlineatoffset getlineatoffset getlineatoffset getlineatoffset return number line answer 1 text style text widget reli behavior draw cursor return number line ul li text line count li null 1 li 1 li 2 li n 3 ul styledtext getlinecount return line delimit style text widget insert line line enter kei stroke past oper line delimit implementor system properti line separ return platform line delimit return line delimit style text widget insert line styledtext getproperti styledtext return charact offset charact line note text line offset line 0 valid call return 0 param line index index line line index 0 return offset offset charact line charact document offset 0 return includ line delimit text ntest delimit ul li offset line 0 0 li offset line 1 2 li offset line 2 8 ul getoffsetatlin lineindex getoffsetatlin getoffsetatlin getoffsetatlin return string repres content rang param start start offset text return offset 0 charact document param length length text return return text rang remov text chang listen param listen listen except illeg argument except ul li error null argument listen null li ul illegalargumentexcept error_null_argument replac text text start posit start length replac length implementor notifi text chang listen ad code add text chang listen code content chang code text chang event code to text chang method content chang code text chang event code to text chang method content chang text chang occur code text chang event code consist data provid code text chang event code data cach widget code text chang event code receiv code text chang event code set follow ul li event start start replac text li event text text go insert empti string text insert li event replac char count length text go replac li event char count length text go insert li event replac line count number line go replac li event line count number line go insert ul note line count number insert line replac line count number delet line base chang occur visual ul li replac text text replac line count line count li 0 1 li n 2 0 li n 0 2 li 1 0 ul param start start offset text replac offset includ delimit preceed line offset 0 charact document param replac length start offset text replac param text start offset text replac text chang listen newtext replacelength textchangelisten addtextchangelisten textchangingev textchang textchangedev textchang textchangingev textchangingev textchangedev textchangingev newtext replacecharcount newcharcount replacelinecount newlinecount newlinecount replacelinecount replacetext newtext replacelinecount newlinecount replacelength newtext textchangelisten set text text implementor send code text chang event code text set method text chang listen ad code add text chang listen code param text text text chang listen textchangedev textset textchangelisten addtextchangelisten textchangelisten int line count style text event style text content content super data content newlinecount styledtextev styledtextcont class style text listen extend type listen style text listen swt event listen listen super listen styledtextlisten typedlisten styledtextlisten swteventlisten process style text event invok event handler public void handl event event text chang event text chang event switch type case style text extend modifi extend modifi event extend modifi event extend modifi event style text event extend modifi listen event listen modifi text extend modifi event break case style text line background line background event line bg event line background event style text event line background listen event listen line background line bg event style text event line background line bg event line background break case style text line segment bidi segment event segment event bidi segment event style text event bidi segment listen event listen line segment segment event style text event segment segment event segment break case style text line style line style event line style event line style event style text event line style listen event listen line style line style event style text event style line style event style break case style text verifi kei verifi event verifi event verifi event verifi kei listen event listen verifi kei verifi event doit verifi event doit break case style text text chang text chang event text chang event style text content data text chang listen event listen text chang text chang event break case style text text chang text chang event text chang event text chang event style text content data style text event text chang listen event listen text chang text chang event break case style text text set text chang event text chang event style text content data text chang listen event listen text set text chang event break styledtext handleev textchangedev textchangedev styledtext extendedmodifi extendedmodifyev extendedmodifyev extendedmodifyev styledtextev extendedmodifylisten eventlisten modifytext extendedmodifyev styledtext linegetbackground linebackgroundev linebgev linebackgroundev styledtextev linebackgroundlisten eventlisten linegetbackground linebgev styledtextev linebackground linebgev linebackground styledtext linegetseg bidisegmentev segmentev bidisegmentev styledtextev bidisegmentlisten eventlisten linegetseg segmentev styledtextev segmentev styledtext linegetstyl linestyleev linestyleev linestyleev styledtextev linestylelisten eventlisten linegetstyl linestyleev styledtextev linestyleev styledtext verifykei verifyev verifyev verifyev verifykeylisten eventlisten verifykei verifyev verifyev styledtext textchang textchangedev textchangedev styledtextcont textchangelisten eventlisten textchang textchangedev styledtext textchang textchangingev textchangingev textchangingev styledtextcont styledtextev textchangelisten eventlisten textchang textchangingev styledtext textset textchangedev textchangedev styledtextcont textchangelisten eventlisten textset textchangedev creat instanc class style text render class param devic devic render param regular font font regular non bold text param left margin margin left text style text render devic devic font regular font devic devic regular font regular font styledtextrender regularfont leftmargin styledtextrender regularfont regularfont regularfont calcul line height space width void calcul line height gc gc getgc line end space width gc string extent don assum bold normal font height fix bug 41773 font origin font gc font font metric metric gc font metric ascent math max ascent metric ascent metric lead descent math max descent metric descent gc set font font swt bold metric gc font metric ascent math max ascent metric ascent metric lead descent math max descent metric descent gc set font font swt ital metric gc font metric ascent math max ascent metric ascent metric lead descent math max descent metric descent gc set font font swt bold swt ital metric gc font metric ascent math max ascent metric ascent metric lead descent math max descent metric descent gc set font origin font disposegc gc clear font cach bold font null bold font dispos ital font null ital font dispos bold ital font null bold ital font dispos bold font ital font bold ital font null calculatelineheight lineendspacewidth stringext originalfont getfont fontmetr getfontmetr getasc getlead getdesc setfont getfont getfontmetr getasc getlead getdesc setfont getfont getfontmetr getasc getlead getdesc setfont getfont getfontmetr getasc getlead getdesc setfont originalfont boldfont boldfont italicfont italicfont bolditalicfont bolditalicfont boldfont italicfont bolditalicfont dispos resourc creat receiv void dispos bold font null bold font dispos ital font null ital font dispos bold ital font null bold ital font dispos bold font ital font bold ital font null boldfont boldfont italicfont italicfont bolditalicfont bolditalicfont boldfont italicfont bolditalicfont dispos gc subclass reus cs param gc gc dispos gc protect abstract void disposegc gc gc draw line text locat param line line draw param line index index line draw param painti locat draw param gc gc draw param widget background widget background color default render color param widget foreground widget foreground color default render color param clear background true line background drawn explicitli void draw line string line int line index int painti gc gc color widget background color widget foreground boolean clear background int line offset content offset line line index int line length line length point select select int select start select int select end select int left margin left margin color line background null text layout layout text layout line line offset rectangl client client area style text event event line background data line offset line event null line background event line background line background null line background widget background clear background full line select fals select start line offset select end line offset line length draw background full select line complet select gc set background line background gc set foreground line background gc fill rectangl client left margin painti client width ascent descent int paintx client left margin horizont pixel select start select end rectangl rect layout line bound 0 draw line break select line line offset paintx rect rect width painti gc gc set foreground widget foreground gc set background line background select start select end select end line offset select start line offset line length 1 layout draw gc paintx painti int start math max 0 select start line offset int end math min line length select end line offset layout draw gc paintx painti start end 1 select foreground select background dispos text layout layout lineindex widgetbackground widgetforeground clearbackground drawlin lineindex widgetbackground widgetforeground clearbackground lineoffset getcont getoffsetatlin lineindex linelength getselect selectionstart selectionend leftmargin getleftmargin linebackground textlayout gettextlayout lineoffset getclientarea styledtextev getlinebackgrounddata lineoffset linebackground linebackground linebackground linebackground widgetbackground clearbackground isfulllineselect selectionstart lineoffset selectionend lineoffset linelength setbackground linebackground setforeground linebackground fillrectangl leftmargin leftmargin gethorizontalpixel selectionstart selectionend getlinebound drawlinebreakselect lineoffset setforeground widgetforeground setbackground linebackground selectionstart selectionend selectionend lineoffset selectionstart lineoffset linelength selectionstart lineoffset linelength selectionend lineoffset getselectionforeground getselectionbackground disposetextlayout draw background line select implement subclass option select render param line line draw param line offset offset charact line rel start document param style line style param painti locat draw param gc gc draw param bidi bidi object measur render text bidi local null bidi mode lineoffset return visibl client area render return visibl client area render protect abstract rectangl client area return class style text content class line offset calcul return class style text content class line offset calcul getclientarea styledtextcont styledtextcont protect abstract style text content content return devic render return devic render devic devic return devic styledtextcont getcont getdevic return devic int baselin return ascent getbaselin return text segment treat direct surround text param line offset offset charact line 0 base begin document param line text line bidi segment return text segment treat direct surround text start index segment rel start line start 0 end line length except illeg argument except ul li error invalid argument segment indic return listen start 0 ascend order exce line length duplic li ul lineoffset illegalargumentexcept error_invalid_argument protect abstract int bidi segment int line offset string line text return font accord style font font int style switch style case swt bold bold font null return bold font return bold font font devic font data style case swt ital ital font null return ital font return ital font font devic font data style case swt bold swt ital bold ital font null return bold ital font return bold ital font font devic font data style default return regular font getbidiseg lineoffset linetext getfont boldfont boldfont boldfont getfontdata italicfont italicfont italicfont getfontdata bolditalicfont bolditalicfont bolditalicfont getfontdata regularfont font data font data int style font data font data regular font font data int 0 font data length font data set style style return font data fontdata getfontdata fontdata fontdata regularfont getfontdata fontdata fontdata setstyl fontdata return gc render measur subclass reus cs return gc render measur gc protect abstract gc getgc return horizont scroll posit return horizont scroll posit protect abstract int horizont pixel protect int left margin return 0 gethorizontalpixel getleftmargin return width pixel space repres line delimit return width pixel space repres line delimit int line end space width return line end space width getlineendspacewidth lineendspacewidth return line background data line null param line offset offset line start rel start content param line line line background data return line background data line return null lineoffset protect abstract style text event line background data int line offset string line return height pixel line return height pixel line int line height return ascent descent styledtextev getlinebackgrounddata lineoffset getlineheight return line style data line line offset line segment logic line store class style text content class widget return style guarante partial segment param event style logic line param line offset offset line start rel start content param line line line style return line style data line segment style start line start end line end guarante partial line style text event line style data style text event event int line offset string line int line length line length event style null word wrap event style visual line style data event style line offset line length event style null event style style rang 0 return event lineoffset styledtextcont lineoffset styledtextev getlinestyledata styledtextev lineoffset linelength getwordwrap getvisuallinestyledata lineoffset linelength stylerang return line style data line null there line style listen set style style text event style field initi empti arrai param line offset offset line start rel start content param line line line style return line style data line style start line start end line end linestylelisten styledtextev lineoffset protect abstract style text event line style data int line offset string line protect abstract int orient styledtextev getlinestyledata lineoffset getorient protect abstract int orient protect int margin return 0 getorient getrightmargin return 0 protect abstract color select foreground getselectionforeground protect abstract color select foreground protect abstract color select background getselectionforeground getselectionbackground protect abstract color select background return widget select implement subclass option select render return widget select getselectionbackground protect abstract point select return style visual wrap line param logic style style logic unwrap line param line offset offset visual line param line length length visual line return style logic style arrai partial visual line style rang visual line style data style rang logic style int line offset int line length int line end line offset line length int style count logic style length int style count 0 int 0 style count style rang style logic style style start line end style start style length line offset style count style count style count style rang style style rang style count int 0 0 style count style rang style logic style style start line end style start style length line offset style logic style logic style style return logic style getselect logicalstyl lineoffset linelength logicalstyl stylerang getvisuallinestyledata stylerang logicalstyl lineoffset linelength lineend lineoffset linelength oldstylecount logicalstyl newstylecount oldstylecount stylerang logicalstyl lineend lineoffset newstylecount newstylecount oldstylecount stylerang newstyl stylerang newstylecount oldstylecount stylerang logicalstyl lineend lineoffset newstyl logicalstyl logicalstyl newstyl logicalstyl return word wrap return true word wrap fals word wrap line extend side client area protect abstract boolean word wrap return widget creat swt full select style implement subclass option select render return true widget run full line select mode fals getwordwrap full_select protect abstract boolean full line select calcul width pixel tab charact param tab length number space charact repres tab charact void set tab length int tab length gc gc getgc string buffer tab buffer string buffer tab length int 0 tab length tab buffer append tab width gc string extent tab buffer string disposegc gc isfulllineselect tablength settablength tablength stringbuff tabbuff stringbuff tablength tablength tabbuff tabwidth stringext tabbuff tostr return text layout line index arrai style text layout text layout string line int line offset text layout layout creat text layout line offset layout set font regular font layout set ascent ascent layout set descent descent layout set text line layout set orient orient layout set segment bidi segment line offset line layout set tab int tab width int length line length style text event event line style data line offset line style rang style event null event style null int offset 0 style null int style index 0 style index style length style index style rang style style style index style unstyl continu int start end line offset style start start 0 end math min length style length line offset style start start style start line offset end math min length start style length start length break offset start layout set style null offset start 1 text style text style text style font style font style style foreground style background layout set style text style start end 1 offset end offset length layout set style null offset length return layout textlayout textlayout gettextlayout lineoffset textlayout createtextlayout lineoffset setfont regularfont setasc setdesc settext setorient getorient setseg getbidiseg lineoffset settab tabwidth styledtextev getlinestyledata lineoffset stylerang lastoffset styleindex styleindex styleindex stylerang styleindex isunstyl lineoffset lineoffset lineoffset lastoffset setstyl lastoffset textstyl textstyl textstyl getfont fontstyl setstyl textstyl lastoffset lastoffset setstyl lastoffset return layout text layout creat text layout int line offset return text layout devic textlayout createtextlayout lineoffset textlayout return text layout devic void dispos text layout text layout layout layout dispos textlayout disposetextlayout textlayout public int font style swt normal swt normal swt bold public style rang fontstyl stylerang creat style rang param start start offset style param length length style param foreground foreground color style null param background background color style null public style rang int start int length color foreground color background start start length length foreground foreground background background stylerang creat style rang param start start offset style param length length style param foreground foreground color style null param background background color style null param font style font style style swt normal swt bold public style rang int start int length color foreground color background int font style start start length length foreground foreground background background font style font style fontstyl stylerang fontstyl fontstyl fontstyl compar object style rang answer equal object instanc style rang field valu param object object compar object return true object equal fals public boolean equal object object style rang style object return true object instanceof style rang style style rang object return fals start style start return fals length style length return fals foreground null foreground equal style foreground return fals style foreground null return fals background null background equal style background return fals style background null return fals font style style font style return fals return true stylerang stylerang stylerang stylerang stylerang fontstyl fontstyl return integ hash code receiv object equal answer method return receiv hash public int hash code int code start length foreground null code foreground hash code background null code background hash code return code font style hashcod hashcod hashcod fontstyl return receiv unstyl style attribut return true receiv unstyl fals public boolean unstyl foreground null return fals background null return fals font style swt normal return fals return true isunstyl fontstyl compar object style rang answer similar object instanc style rang field valu for start length param object object compar object return true object similar fals public boolean similar style rang style foreground null foreground equal style foreground return fals style foreground null return fals background null background equal style background return fals style background null return fals font style style font style return fals return true stylerang stylerang similarto stylerang fontstyl fontstyl answer style rang valu style rang return shallow copi style rang public object clone style rang style style rang start length foreground background font style return style stylerang stylerang stylerang stylerang stylerang fontstyl answer string descript receiv return printabl represent receiv public string string string buffer buf string buffer buf append start length fg foreground bg background style font style swt normal buf append normal font style swt bold buf append bold return buf string tostr stringbuff stringbuff fstyle fontstyl fontstyl tostr listen listen listen public void handl event event event switch event type case swt dispos dispos event break case swt focu case swt focu redraw break case swt kei kei event break case swt paint paint event break case swt travers travers event break handleev focusin focusout keydown keydown tabl listen listen public void handl event event event switch event type case swt mous tabl mous event break case swt focu tabl focu event break tablelisten handleev mousedown tablemousedown focusin tablefocusin dispos item listen listen public void handl event event event row null column null resiz disposeitemlisten handleev dispos column listen listen public void handl event event event row null column null resiz disposecolumnlisten handleev resiz listen listen public void handl event event event resiz resizelisten handleev construct instanc class parent tabl style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent tabl control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt border widget check subclass widget style public tabl cursor tabl parent int style super parent style tabl parent set background null set foreground null listen listen listen public void handl event event event switch event type case swt dispos dispos event break case swt focu case swt focu redraw break case swt kei kei event break case swt paint paint event break case swt travers travers event break int event int swt dispos swt focu swt focu swt kei swt paint swt travers int 0 event length add listen event listen tabl listen listen public void handl event event event switch event type case swt mous tabl mous event break case swt focu tabl focu event break tabl add listen swt focu tabl listen tabl add listen swt mous tabl listen dispos item listen listen public void handl event event event row null column null resiz dispos column listen listen public void handl event event event row null column null resiz resiz listen listen public void handl event event event resiz scroll bar bar tabl horizont bar bar null bar add listen swt select resiz listen scroll bar bar tabl vertic bar bar null bar add listen swt select resiz listen illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl tablecursor setbackground setforeground handleev focusin focusout keydown keydown focusin focusout keydown addlisten tablelisten handleev mousedown tablemousedown focusin tablefocusin addlisten focusin tablelisten addlisten mousedown tablelisten disposeitemlisten handleev disposecolumnlisten handleev resizelisten handleev scrollbar hbar gethorizontalbar hbar hbar addlisten resizelisten scrollbar vbar getverticalbar vbar vbar addlisten resizelisten add listen collect listen notifi receiv select send messag defin code select listen code interfac code widget select code call item field event object valid reciev code swt check code style set check select event object detail field code swt check code code widget default select code typic call item doubl click param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen select event remov select listen select listen public void add select listen select listen listen check widget listen null swt error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten selectionev removeselectionlisten selectionlisten addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten void dispos event event tabl remov listen swt focu tabl listen tabl remov listen swt mous tabl listen column null column remov listen swt dispos dispos column listen column remov listen swt move resiz listen column remov listen swt resiz resiz listen column null row null row remov listen swt dispos dispos item listen row null scroll bar bar tabl horizont bar bar null bar remov listen swt select resiz listen scroll bar bar tabl vertic bar bar null bar remov listen swt select resiz listen removelisten focusin tablelisten removelisten mousedown tablelisten removelisten disposecolumnlisten removelisten resizelisten removelisten resizelisten removelisten disposeitemlisten scrollbar hbar gethorizontalbar hbar hbar removelisten resizelisten scrollbar vbar getverticalbar vbar vbar removelisten resizelisten void kei event event row null return switch event charact case swt cr notifi listen swt default select event return int row index tabl index row int column index column null 0 tabl index column switch event kei code case swt arrow set row column math max 0 row index 1 column index true break case swt arrow set row column math min row index 1 tabl item count 1 column index true break case swt arrow left case swt arrow int column count tabl column count column count 0 break int lead kei style swt left 0 swt arrow swt arrow left event kei code lead kei set row column row index math max 0 column index 1 true set row column row index math min column count 1 column index 1 true break case swt home set row column 0 column index true break case swt end int tabl item count 1 set row column column index true break case swt page int index tabl top index index row index rectangl rect tabl client area tabl item item tabl item index rectangl item rect item bound 0 rect height item rect int height tabl item height int page math max 1 rect height height index math max 0 index page 1 set row column index column index true break case swt page int index tabl top index rectangl rect tabl client area tabl item item tabl item index rectangl item rect item bound 0 rect height item rect int height tabl item height int page math max 1 rect height height int end tabl item count 1 index math min end index page 1 index row index index math min end index page 1 set row column index column index true break keydown notifylisten defaultselect rowindex indexof columnindex indexof keycod arrow_up setrowcolumn rowindex columnindex arrow_down setrowcolumn rowindex getitemcount columnindex arrow_left arrow_right columncount getcolumncount columncount leadkei getstyl right_to_left arrow_right arrow_left keycod leadkei setrowcolumn rowindex columnindex setrowcolumn rowindex columncount columnindex setrowcolumn columnindex getitemcount setrowcolumn columnindex page_up gettopindex rowindex getclientarea tableitem getitem itemrect getbound itemrect getitemheight setrowcolumn columnindex page_down gettopindex getclientarea tableitem getitem itemrect getbound itemrect getitemheight getitemcount rowindex setrowcolumn columnindex void paint event event row null return int column index column null 0 tabl index column gc gc event gc displai displai displai gc set background background gc set foreground foreground gc fill rectangl event event event width event height int 0 point size size imag imag row imag column index imag null rectangl imag size imag bound int imagei size imag size height 2 gc draw imag imag imagei imag size width string text row text column index text non nl 1 rectangl bound row bound column index point extent gc string extent text temporari code need determin tabl trim string platform swt platform win32 equal platform non nl 1 tabl column count 0 column index 0 2 int alignmn column align switch alignmn case swt left 6 break case swt bound width extent 6 break case swt center bound width extent 2 break tabl column count 0 5 int alignmn column align switch alignmn case swt left 5 break case swt bound width extent 2 break case swt center bound width extent 2 2 break int texti size extent 2 gc draw string text texti focu control gc set background displai system color swt color black gc set foreground displai system color swt color white gc draw focu 0 0 size size columnindex indexof getdisplai setbackground getbackground setforeground getforeground fillrectangl getsiz getimag columnindex images getbound images drawimag images gettext columnindex getbound columnindex stringext getplatform getcolumncount columnindex getalign getcolumncount getalign drawstr isfocuscontrol setbackground getsystemcolor color_black setforeground getsystemcolor color_white drawfocu void tabl focu event event dispos return visibl set focu tablefocusin isdispos isvis setfocu void tabl mous event event dispos visibl return point pt point event event rectangl client rect tabl client area int column count tabl column count int max column index column count 0 0 column count 1 int start tabl top index int end tabl item count int start end tabl item item tabl item int 0 max column index rectangl rect item bound rect client rect client rect height return rect pt set row column true set focu return tablemousedown isdispos isvis clientrect getclientarea columncount getcolumncount maxcolumnindex columncount columncount gettopindex getitemcount tableitem getitem maxcolumnindex getbound clientrect clientrect setrowcolumn setfocu void travers event event switch event detail case swt travers arrow case swt travers arrow previou case swt travers return event doit fals return event doit true travers_arrow_next travers_arrow_previou travers_return void set row column int row int column boolean notifi tabl item item row 1 null tabl item row tabl column col column 1 tabl column count 0 null tabl column column set row column item col notifi setrowcolumn tableitem getitem tablecolumn getcolumncount getcolumn setrowcolumn void set row column tabl item row tabl column column boolean notifi row row column column return row null row row row remov listen swt dispos dispos item listen row null column null column column column remov listen swt dispos dispos column listen column remov listen swt move resiz listen column remov listen swt resiz resiz listen column null row null row row row row row add listen swt dispos dispos item listen tabl show item row column column column null column column column add listen swt dispos dispos column listen column add listen swt move resiz listen column add listen swt resiz resiz listen tabl show column column int column index column null 0 tabl index column set bound row bound column index redraw notifi notifi listen swt select event setrowcolumn tableitem tablecolumn removelisten disposeitemlisten removelisten disposecolumnlisten removelisten resizelisten removelisten resizelisten addlisten disposeitemlisten showitem addlisten disposecolumnlisten addlisten resizelisten addlisten resizelisten showcolumn columnindex indexof setbound getbound columnindex notifylisten public void set visibl boolean visibl check widget visibl resiz super set visibl visibl setvis checkwidget setvis remov listen collect listen notifi receiv select param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen select listen 3 0 public void remov select listen select listen listen check widget listen null swt error swt error null argument remov listen swt select listen remov listen swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten selectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument removelisten removelisten defaultselect void resiz row null set bound 200 200 0 0 int column index column null 0 tabl index column set bound row bound column index setbound columnindex indexof setbound getbound columnindex return column tabl cursor posit return column current posit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int column check widget return column null 0 tabl index column tablecursor swtexcept error_widget_dispos error_thread_invalid_access getcolumn checkwidget indexof return row tabl cursor posit return item current posit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tabl item row check widget return row tablecursor swtexcept error_widget_dispos error_thread_invalid_access tableitem getrow checkwidget public void set background color color color null color displai system color background super set background color redraw setbackground getdisplai getsystemcolor setbackground public void set foreground color color color null color displai system color foreground super set foreground color redraw setforeground getdisplai getsystemcolor setforeground posit tabl cursor cell row column parent tabl param row index row cell select param column index column cell select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select int row int column check widget int column count tabl column count int max column index column count 0 0 column count 1 row 0 row tabl item count column 0 column max column index swt error swt error invalid argument set row column row column fals tablecursor swtexcept error_widget_dispos error_thread_invalid_access setselect checkwidget columncount getcolumncount maxcolumnindex columncount columncount getitemcount maxcolumnindex error_invalid_argument setrowcolumn posit tabl cursor cell row column parent tabl param row tabl item row cell select param column index column cell select except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set select tabl item row int column check widget int column count tabl column count int max column index column count 0 0 column count 1 row null row dispos column 0 column max column index swt error swt error invalid argument set row column tabl index row column fals tablecursor tableitem swtexcept error_widget_dispos error_thread_invalid_access setselect tableitem checkwidget columncount getcolumncount maxcolumnindex columncount columncount isdispos maxcolumnindex error_invalid_argument setrowcolumn indexof column listen control listen public void control move control event resiz columnlisten controllisten controlmov controlev resiz public void control resiz control event resiz controlres controlev control listen column listen creat tabl editor tabl param tabl tabl control editor displai public tabl editor tabl tabl super tabl tabl tabl column listen control listen public void control move control event resiz public void control resiz control event resiz consist older version swt grab vertic default true grab vertic true controllisten columnlisten tableeditor tableeditor columnlisten controllisten controlmov controlev controlres controlev grabvert grabvert rectangl comput bound item null column 1 item dispos return rectangl 0 0 0 0 rectangl cell item bound column rectangl rect item imag bound column cell rect rect width cell width rect width rectangl area tabl client area cell area area width cell cell width area area width cell width area area width cell rectangl editor rect rectangl cell cell minimum width minimum height grab horizont editor rect width math max cell width minimum width grab vertic editor rect height math max cell height minimum height horizont align swt editor rect cell width editor rect width horizont align swt left cell answer default center editor rect cell width editor rect width 2 vertic align swt bottom editor rect cell height editor rect height vertic align swt top cell answer default center editor rect cell height editor rect height 2 return editor rect computebound isdispos getbound getimagebound getclientarea editorrect minimumwidth minimumheight grabhorizont editorrect minimumwidth grabvert editorrect minimumheight horizontalalign editorrect editorrect horizontalalign editorrect editorrect verticalalign editorrect editorrect verticalalign editorrect editorrect editorrect remov associ tabl editor cell tabl tabl editor control dispos public void dispos column 1 column tabl column count tabl column tabl column tabl column column tabl column remov control listen column listen column listen null tabl null item null column 1 super dispos tableeditor getcolumncount tablecolumn tablecolumn getcolumn tablecolumn removecontrollisten columnlisten columnlisten return base index column cell track editor return base index column cell track editor public int column return column getcolumn return tabl item row cell track editor return tabl item row cell track editor public tabl item item return item tableitem tableitem tableitem getitem public void set column int column int column count tabl column count separ handl case tabl tabl column situat singl default column column count 0 column column 0 0 1 resiz return column 1 column column count tabl column tabl column tabl column column tabl column remov control listen column listen column 1 column 0 column tabl column count return column column tabl column tabl column tabl column column tabl column add control listen column listen resiz setcolumn columncount getcolumncount tablecolumn columncount columncount tablecolumn tablecolumn getcolumn tablecolumn removecontrollisten columnlisten getcolumncount tablecolumn tablecolumn getcolumn tablecolumn addcontrollisten columnlisten resiz public void set item tabl item item item item resiz setitem tableitem control displai cell tabl posit note control provid editor creat parent tabl control tabl editor constructor param editor control displai cell edit param item tabl item row cell track editor param column base index column cell track editor public void set editor control editor tabl item item int column set item item set column column set editor editor tableeditor tableitem seteditor tableitem setitem setcolumn seteditor void resiz tabl dispos return item null item dispos return int column count tabl column count column count 0 column 0 return column count 0 column 0 column column count return super resiz isdispos isdispos columncount getcolumncount columncount columncount columncount listen tabl listen listen public void handl event event switch type case swt mous mous break case swt select select break case swt default select select break case swt kei kei break tablelisten handleev mousedown onmousedown onselect defaultselect onselect keydown onkeydown listen listen listen public void handl event event switch type case swt dispos dispos break case swt resiz resiz break case swt focu focu break handleev ondispos onres focusin onfocusin construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt singl swt multi swt check swt full select style public tabl tree composit parent int style super parent check style style tabl tabl style listen tabl listen listen public void handl event event switch type case swt mous mous break case swt select select break case swt default select select break case swt kei kei break int tabl event int swt mous swt select swt default select swt kei int 0 tabl event length tabl add listen tabl event tabl listen listen listen listen public void handl event event switch type case swt dispos dispos break case swt resiz resiz break case swt focu focu break int event int swt dispos swt resiz swt focu int 0 event length add listen event listen illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access full_select getstyl tabletre checkstyl tablelisten handleev mousedown onmousedown onselect defaultselect onselect keydown onkeydown tableev mousedown defaultselect keydown tableev addlisten tableev tablelisten handleev ondispos onres focusin onfocusin focusin addlisten int add item tabl tree item item int index index 0 index item length swt error swt error invalid argument tabl tree item item tabl tree item item length 1 system arraycopi item 0 item 0 index item index item system arraycopi item index item index 1 item length index item item return index tabl tabl insert index item length 1 return tabl item count return tabl index item index 1 tabl item additem tabletreeitem error_invalid_argument tabletreeitem newitem tabletreeitem newitem newitem newitem newitem getitemcount indexof tableitem add listen collect listen notifi receiv select send messag defin code select listen code interfac code widget select code call item field event object valid reciev code swt check code style set check select event object detail field code swt check code code widget default select code typic call item doubl click item field event object valid default select detail field param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null swt error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten add listen collect listen notifi item receiv expand collaps send messag defin code tree listen code interfac param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tree listen remov tree listen public void add tree listen tree listen listen check widget listen null swt error swt error null argument type listen type listen type listen listen add listen swt expand type listen add listen swt collaps type listen treelisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access treelisten removetreelisten addtreelisten treelisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten typedlisten privat static int check style int style int mask swt left swt left style style mask return style checkstyl left_to_right right_to_left return style public point comput size int hint int hint boolean chang check widget return tabl comput size hint hint chang computes whint hhint checkwidget computes whint hhint return tabl comput size hint hint chang public rectangl comput trim int int int width int height check widget return tabl comput trim width height computes whint hhint computetrim checkwidget computetrim deselect item item select deselect item select remain unselect except swt error ul li error thread invalid access call wrong thread li error widget dispos widget dispos ul public void deselect check widget tabl deselect swterror error_thread_invalid_access error_widget_dispos deselectal checkwidget deselectal expand upward leaf item void expand item tabl tree item item item null return expand item item parent item item visibl item set visibl true item expand item item length 0 item set expand true event event event event item item notifi listen swt expand event expanditem tabletreeitem expanditem parentitem getvis setvis setexpand notifylisten public color background method overriden tabl tree item item grei widget background colour squar column item constructor set background tabl tree the background tabl interfer tabl tree adapt system color set return tabl background getbackground tabletre tabletre tabletre getbackground return tabl background public rectangl client area return tabl client area getbackground getclientarea getclientarea return tabl client area public color foreground return tabl foreground getclientarea getforeground getforeground return tabl foreground public font font return tabl font getforeground getfont getfont number item return number item widget public int item count check widget return item length getitemcount checkwidget height item oper fail height item queri os return height item widget except swt error ul li error thread invalid access call wrong thread li error widget dispos widget dispos li error item height oper fail ul public int item height check widget return tabl item height swterror error_thread_invalid_access error_widget_dispos error_cannot_get_item_height getitemheight checkwidget getitemheight item return item widget public tabl tree item item check widget tabl tree item item tabl tree item item length system arraycopi item 0 item 0 item length return item tabletreeitem getitem checkwidget tabletreeitem newitem tabletreeitem newitem newitem select item oper fail select item queri os return select item widget except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li li error select oper fail li ul public tabl tree item select check widget tabl item select tabl select tabl tree item result tabl tree item select length int 0 select length result tabl tree item select data itemid return result swterror error_thread_invalid_access error_widget_dispos error_cannot_get_select tabletreeitem getselect checkwidget tableitem getselect tabletreeitem tabletreeitem tabletreeitem getdata number select item oper fail number select item queri os return number select item widget except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li li error count oper fail li ul public int select count check widget return tabl select count swterror error_thread_invalid_access error_widget_dispos error_cannot_get_count getselectioncount checkwidget getselectioncount public int style check widget return tabl style getstyl checkwidget getstyl return underli tabl control return underli tabl control public tabl tabl check widget return tabl gettabl checkwidget void creat imag int item height size imag bound height calcul border imag 9 pixel need draw imag leav 6 pixel border int indent math min 6 item height 9 2 indent math max 0 indent int size math max 10 item height 2 indent size size 1 2 2 size number int midpoint indent size 2 color foreground foreground color minu displai system color swt color widget normal shadow color background background imag palett data palett palett data rgb foreground getrgb background getrgb minu getrgb imag data imag data imag data item height item height 4 palett imag data transpar pixel 1 imag imag displai imag data gc gc gc imag gc set background background gc fill rectangl 0 0 item height item height gc set foreground minu gc draw rectangl indent indent size size gc set foreground foreground gc draw line midpoint indent 2 midpoint indent size 2 gc draw line indent 2 midpoint indent size 2 midpoint gc dispos minu imag palett palett data rgb foreground getrgb background getrgb minu getrgb imag data imag data item height item height 4 palett imag data transpar pixel 1 minu imag imag displai imag data gc gc minu imag gc set background background gc fill rectangl 0 0 item height item height gc set foreground minu gc draw rectangl indent indent size size gc set foreground foreground gc draw line indent 2 midpoint indent size 2 midpoint gc dispos createimag itemheight sizeimag getbound itemheight itemheight getforeground plusminu getdisplai getsystemcolor color_widget_normal_shadow getbackground palettedata palettedata plusminu imagedata imagedata imagedata itemheight itemheight imagedata transparentpixel plusimag getdisplai imagedata plusimag setbackground fillrectangl itemheight itemheight setforeground plusminu drawrectangl setforeground drawlin drawlin palettedata plusminu imagedata imagedata itemheight itemheight imagedata transparentpixel minusimag getdisplai imagedata minusimag setbackground fillrectangl itemheight itemheight setforeground plusminu drawrectangl setforeground drawlin imag imag imag null creat imag return imag getplusimag plusimag createimag plusimag imag minu imag minu imag null creat imag return minu imag getminusimag minusimag createimag minusimag index item widget search start 0 item found equal search item item found 1 return index base index rel parent param item search item return index item 1 public int index tabl tree item item check widget int 0 item length item item return return 1 indexof tabletreeitem checkwidget void dispos event item dispos destroi item chang size item arrai dispos underli tabl item tabl tree dispos speed dispos flag skip part item dispos dispos true int 0 item length item dispos dispos fals imag null imag dispos minu imag null minu imag dispos size imag null size imag dispos imag minu imag size imag null ondispos destroyitem indispos indispos indispos plusimag plusimag minusimag minusimag sizeimag sizeimag plusimag minusimag sizeimag void resiz event point size size tabl set bound 0 0 size size onres getsiz setbound void select event event event event tabl item tabl item tabl item item tabl tree item item item tabl item event item item type swt select detail swt check item null event detail swt check item check tabl item check notifi listen type event onselect tableitem tableitem tableitem tabletreeitem getitem tableitem tableitem getcheck notifylisten return item point receiv null item exist point coordin system receiv param point point locat item return item point except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public tabl tree item item point point check widget tabl item item tabl item point item null return null return item item illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access tabletreeitem getitem checkwidget tableitem getitem getitem tabl tree item item tabl item tabl item tabl item null return null int 0 item length tabl tree item item item item tabl item item null return item return null tabletreeitem getitem tableitem tableitem tableitem tabletreeitem getitem tableitem return null void focu event tabl set focu onfocusin setfocu void kei event tabl tree item select select select length 0 return tabl tree item item select 0 int type 0 kei code swt arrow kei code swt arrow left int trail kei style swt mirror 0 swt arrow left swt arrow kei code trail kei item item count 0 return item expand tabl tree item select item item 0 tabl set select tabl item select tabl item show item select type swt select item set expand true type swt expand item expand item set expand fals type swt collaps tabl tree item parent item parent item parent null int index parent index item index 0 return tabl set select tabl item parent tabl item type swt select charact item expand true charact item expand item set expand fals type swt collaps charact item item count 0 item expand item set expand true type swt expand type 0 return event event event event item item notifi listen type event onkeydown tabletreeitem getselect tabletreeitem keycod arrow_right keycod arrow_left trailkei getstyl arrow_left arrow_right keycod trailkei getitemcount getexpand tabletreeitem newselect getitem setselect tableitem newselect tableitem showitem newselect setexpand getexpand setexpand tabletreeitem getparentitem indexof setselect tableitem tableitem expandal getexpand setexpand getitemcount getexpand setexpand notifylisten void mous event event user click expand collaps tree tabl item item tabl item int 0 item length rectangl rect item imag bound 0 rect event event tabl tree item item tabl tree item item data itemid event event event item item item set expand item expand item expand notifi listen swt expand event notifi listen swt collaps event return onmousedown tableitem getitem getimagebound tabletreeitem tabletreeitem getdata setexpand getexpand getexpand notifylisten notifylisten remov item oper fail item remov os except swt error ul li error thread invalid access call wrong thread li error widget dispos widget dispos li error item remov oper fail ul public void remov check widget set redraw fals int item length 1 0 item dispos item empti item set redraw true swterror error_thread_invalid_access error_widget_dispos error_item_not_remov removeal checkwidget setredraw empti_item setredraw void remov item tabl tree item item int index 0 index item length item index item index index item length return tabl tree item item tabl tree item item length 1 system arraycopi item 0 item 0 index system arraycopi item index 1 item index item length index 1 item item removeitem tabletreeitem tabletreeitem newitem tabletreeitem newitem newitem newitem remov listen collect listen notifi receiv select param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null swt error swt error null argument remov listen swt select listen remov listen swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument removelisten removelisten defaultselect remov listen collect listen notifi item receiv expand collaps param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tree listen add tree listen public void remov tree listen tree listen listen check widget listen null swt error swt error null argument remov listen swt expand listen remov listen swt collaps listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access treelisten addtreelisten removetreelisten treelisten checkwidget error_null_argument removelisten removelisten select item receiv receiv singl select except swt error ul li error thread invalid access call wrong thread li error widget dispos widget dispos ul public void select check widget tabl select swterror error_thread_invalid_access error_widget_dispos selectal checkwidget selectal public void set background color color super set background color tabl set background color size imag null gc gc gc size imag gc set background background rectangl size size imag bound gc fill rectangl size gc dispos setbackground setbackground setbackground sizeimag sizeimag setbackground getbackground sizeimag getbound fillrectangl public void set enabl boolean enabl super set enabl enabl tabl set enabl enabl seten seten seten tabl set enabl enabl public void set font font font super set font font tabl set font font seten setfont setfont setfont tabl set font font public void set foreground color color super set foreground color tabl set foreground color setfont setforeground setforeground setforeground tabl set foreground color public void set menu menu menu super set menu menu tabl set menu menu setforeground setmenu setmenu setmenu set receiv select arrai item current select clear item select item receiv receiv singl select multipl item item param item arrai item except illeg argument except ul li error null argument arrai item null li li error invalid argument item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tabl tree deselect public void set select tabl tree item item check widget item null swt error swt error null argument int length item length length 0 tabl style swt singl 0 length 1 deselect return tabl item tabl item tabl item length int 0 length item null swt error swt error null argument item visibl expand item item tabl item item tabl item tabl set select tabl item illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access tabletre deselectal setselect tabletreeitem checkwidget error_null_argument getstyl deselectal tableitem tableitem tableitem error_null_argument getvis expanditem tableitem tableitem setselect tableitem tabl set select tabl item public void set tool tip text string string super set tool tip text string tabl set tool tip text string setselect tableitem settooltiptext settooltiptext settooltiptext show item item show receiv method simpli return item scroll expand item visibl param item item shown except illeg argument except ul li error null argument item null li li error invalid argument item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul tabl tree show select public void show item tabl tree item item check widget item null swt error swt error null argument item visibl expand item item tabl item tabl item item tabl item tabl show item tabl item illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access tabletre showselect showitem tabletreeitem checkwidget error_null_argument getvis expanditem tableitem tableitem tableitem showitem tableitem show select select select visibl method select scroll view top index widget chang select visibl except swt error ul li error thread invalid access call wrong thread li error widget dispos widget dispos ul public void show select check widget tabl show select swterror error_thread_invalid_access error_widget_dispos showselect checkwidget showselect final runnabl runnabl runnabl public void run editor null editor dispos return tabl tree editor tabl tree dispos return resiz editor set visibl true isdispos tabletreeeditor tabletre isdispos setvis public void tree collaps tree event editor null editor dispos return displai displai tabl tree editor tabl tree displai editor set visibl fals displai async exec runnabl treecollaps treeevent isdispos tabletreeeditor tabletre getdisplai setvis asyncexec public void tree expand tree event editor null editor dispos return displai displai tabl tree editor tabl tree displai editor set visibl fals displai async exec runnabl treeexpand treeevent isdispos tabletreeeditor tabletre getdisplai setvis asyncexec column listen control listen public void control move control event resiz columnlisten controllisten controlmov controlev resiz public void control resiz control event resiz controlres controlev tree listen tree listen creat tabl tree editor tabl tree param tabl tree tabl tree control editor displai public tabl tree editor tabl tree tabl tree super tabl tree tabl tabl tree tabl tree tree listen tree listen final runnabl runnabl runnabl public void run editor null editor dispos return tabl tree editor tabl tree dispos return resiz editor set visibl true public void tree collaps tree event editor null editor dispos return displai displai tabl tree editor tabl tree displai editor set visibl fals displai async exec runnabl public void tree expand tree event editor null editor dispos return displai displai tabl tree editor tabl tree displai editor set visibl fals displai async exec runnabl tabl tree add tree listen tree listen column listen control listen public void control move control event resiz public void control resiz control event resiz consist older version swt grab vertic default true grab vertic true treelisten treelisten tabletreeeditor tabletre tabletre tabletre tabletreeeditor tabletre tabletre tabletre gettabl tabletre tabletre treelisten treelisten isdispos tabletreeeditor tabletre isdispos setvis treecollaps treeevent isdispos tabletreeeditor tabletre getdisplai setvis asyncexec treeexpand treeevent isdispos tabletreeeditor tabletre getdisplai setvis asyncexec tabletre addtreelisten treelisten columnlisten controllisten controlmov controlev controlres controlev grabvert grabvert rectangl comput bound item null column 1 item dispos item tabl item null return rectangl 0 0 0 0 rectangl cell item bound column rectangl area tabl tree client area cell area area width cell cell width area area width cell width area area width cell rectangl editor rect rectangl cell cell minimum width minimum height grab horizont editor rect width math max cell width minimum width grab vertic editor rect height math max cell height minimum height horizont align swt editor rect cell width editor rect width horizont align swt left cell answer default center editor rect cell width editor rect width 2 vertic align swt bottom editor rect cell height editor rect height vertic align swt top cell answer default center editor rect cell height editor rect height 2 return editor rect computebound isdispos tableitem getbound tabletre getclientarea editorrect minimumwidth minimumheight grabhorizont editorrect minimumwidth grabvert editorrect minimumheight horizontalalign editorrect editorrect horizontalalign editorrect editorrect verticalalign editorrect editorrect verticalalign editorrect editorrect editorrect remov associ tabl tree editor cell tabl tree tabl tree editor control dispos public void dispos tree listen null tabl tree remov tree listen tree listen tree listen null tabl tabl tabl tree tabl column 1 column tabl column count tabl column tabl column tabl column column tabl column remov control listen column listen tabl tree null item null column 1 super dispos tabletreeeditor tabletre treelisten tabletre removetreelisten treelisten treelisten tabletre gettabl getcolumncount tablecolumn tablecolumn getcolumn tablecolumn removecontrollisten columnlisten tabletre return base index column cell track editor return base index column cell track editor public int column return column getcolumn return tabl tree item row cell track editor return tabl tree item row cell track editor public tabl tree item item return item tabletreeitem tabletreeitem tabletreeitem getitem public void set column int column tabl tabl tabl tree tabl int column count tabl column count separ handl case tabl tabl column situat singl default column column count 0 column column 0 0 1 resiz return column 1 column column count tabl column tabl column tabl column column tabl column remov control listen column listen column 1 column 0 column tabl column count return column column tabl column tabl column tabl column column tabl column add control listen column listen resiz setcolumn tabletre gettabl columncount getcolumncount tablecolumn columncount columncount tablecolumn tablecolumn getcolumn tablecolumn removecontrollisten columnlisten getcolumncount tablecolumn tablecolumn getcolumn tablecolumn addcontrollisten columnlisten resiz public void set item tabl tree item item item item resiz setitem tabletreeitem control displai cell tabl posit note control provid editor creat parent tabl control tabl editor constructor param editor control displai cell edit param item tabl item row cell track editor param column base index column cell track editor public void set editor control editor tabl tree item item int column set item item set column column set editor editor tableeditor tableitem seteditor tabletreeitem setitem setcolumn seteditor void resiz tabl tree dispos return item null item dispos return tabl tabl tabl tree tabl int column count tabl column count column count 0 column 0 return column count 0 column 0 column column count return super resiz tabletre isdispos isdispos tabletre gettabl columncount getcolumncount columncount columncount columncount construct instanc class parent code tabl tree code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt widget style public tabl tree item tabl tree parent int style parent style parent item count tabletre illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl tabletreeitem tabletre getitemcount construct instanc class parent code tabl tree code style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct param index index store receiv parent except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt widget style public tabl tree item tabl tree parent int style int index parent null style index tabletre illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl tabletreeitem tabletre construct instanc class parent code tabl tree item code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt widget style public tabl tree item tabl tree item parent int style parent style parent item count tabletreeitem illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl tabletreeitem tabletreeitem getitemcount construct instanc class parent code tabl tree item code style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct param index index store receiv parent except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt widget style public tabl tree item tabl tree item parent int style int index parent parent parent style index tabletreeitem illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl tabletreeitem tabletreeitem getpar tabl tree item tabl tree parent tabl tree item parent item int style int index super parent style parent parent parent item parent item parent item null root item visibl immedi int tabl index parent add item index tabl item tabl item parent tabl style tabl index tabl item set data tabl tree itemid add check featur tabl tabl imag insert tabl size tabl row user allow insert imag imag scale fix insert dummi imag forc size parent size imag null int item height parent item height parent size imag imag null item height item height gc gc gc parent size imag gc set background parent background gc fill rectangl 0 0 item height item height gc dispos tabl item set imag 0 parent size imag parent item add item index tabletreeitem tabletre tabletreeitem parentitem parentitem parentitem parentitem tableindex additem tableitem tableitem gettabl tableindex tableitem setdata tabletre addcheck sizeimag itemheight getitemheight sizeimag itemheight itemheight sizeimag setbackground getbackground fillrectangl itemheight itemheight tableitem setimag sizeimag parentitem additem void add check tabl tabl parent tabl tabl style swt check 0 return tabl item set check check tabl item set grai grai addcheck gettabl getstyl tableitem setcheck tableitem setgrai void add item tabl tree item item int index item null swt error swt error null argument index 0 index item length swt error swt error invalid argument item node expand item length 0 index 0 tabl item null imag imag expand parent minu imag parent imag tabl item set imag 0 imag put item item list tabl tree item item tabl tree item item length 1 system arraycopi item 0 item 0 index item index item system arraycopi item index item index 1 item length index item item expand item set visibl true additem tabletreeitem error_null_argument error_invalid_argument tableitem getminusimag getplusimag tableitem setimag tabletreeitem newitem tabletreeitem newitem newitem newitem newitem setvis return receiv background color return background color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public color background check widget return background null parent background background swtexcept error_widget_dispos error_thread_invalid_access getbackground checkwidget getbackground return rectangl describ receiv size locat rel parent return receiv bound rectangl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public rectangl bound int index check widget tabl item null return tabl item bound index return rectangl 0 0 0 0 swtexcept error_widget_dispos error_thread_invalid_access getbound checkwidget tableitem tableitem getbound return code true code receiv check fals parent code check style return fals return check checkbox except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean check check widget tabl item null return check return tabl item check swtexcept error_widget_dispos error_thread_invalid_access getcheck checkwidget tableitem tableitem getcheck return code true code receiv grai fals parent code check code style return fals return grai checkbox except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public boolean grai check widget tabl item null return grai return tabl item grai swtexcept error_widget_dispos error_thread_invalid_access getgrai checkwidget tableitem tableitem getgrai return code true code receiv expand fals return expand public boolean expand check widget return expand getexpand checkwidget return font receiv paint textual inform item return receiv font except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public font font check widget return font null parent font font swtexcept error_widget_dispos error_thread_invalid_access getfont checkwidget getfont return foreground color receiv draw return receiv foreground color except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public color foreground check widget return foreground null parent foreground foreground swtexcept error_widget_dispos error_thread_invalid_access getforeground checkwidget getforeground imag imag column 0 reserv imag tree imag 0 return null return imag index 0 except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public imag imag check widget return imag 0 getimag swtexcept error_widget_dispos error_thread_invalid_access getimag checkwidget getimag imag index index base imag null imag column 0 reserv imag tree imag 0 return null return null index rang param index index imag return imag index null public imag imag int index check widget 0 index index imag length return imag index return null getimag getimag checkwidget int indent parent item null return 0 return parent item indent 1 getind parentitem parentitem getind return number item contain receiv direct item children receiv return number item public int item count check widget return item length getitemcount checkwidget return arrai code tabl tree item code direct item children receiv note actual structur receiv maintain list item modifi arrai affect receiv return receiv item public tabl tree item item check widget tabl tree item item tabl tree item item length system arraycopi item 0 item 0 item length return item tabletreeitem tabletreeitem getitem checkwidget tabletreeitem newitem tabletreeitem newitem newitem tabl tree item item tabl item tabl item tabl item null return null tabl item tabl item return int 0 item length tabl tree item item item item tabl item item null return item return null tabletreeitem getitem tableitem tableitem tableitem tableitem tableitem tabletreeitem getitem tableitem return receiv parent code tabl tree code return receiv parent public tabl tree parent check widget return parent tabletre tabletre getpar checkwidget return receiv parent item code tabl tree item code null receiv root return receiv parent item public tabl tree item parent item check widget return parent item tabletreeitem tabletreeitem getparentitem checkwidget parentitem return parent item public string text check widget return text 0 parentitem gettext checkwidget gettext item text index index base oper fail index rang item queri os param index index item return item text index null public string text int index check widget 0 index index text length return text index return null gettext checkwidget boolean visibl return tabl item null getvis tableitem index item widget search start 0 item found equal search item item found 1 return index base index rel parent param item search item return index item 1 item found public int index tabl tree item item check widget int 0 item length item item return return 1 indexof tabletreeitem checkwidget void expand boolean notifi item length 0 return expand set expand true notifi event event event event item parent notifi listen swt expand event int 0 item length item expand notifi expandal setexpand notifylisten expandal int expand index tabl tree item item int index 0 int 0 item length item item return index item expand index item visibl children count index return 1 expandedindexof tabletreeitem visiblechildrencount int visibl children count int count 0 int 0 item length item visibl count 1 item visibl children count return count visiblechildrencount getvis visiblechildrencount public void dispos dispos return int item length 1 0 item dispos super dispos parent dispos parent item null parent item remov item parent remov item tabl item null tabl item dispos item null parent item null parent null imag null text null tabl item null foreground null background null font null isdispos indispos parentitem parentitem removeitem removeitem tableitem tableitem parentitem tableitem void remov item tabl tree item item int index 0 index item length item index item index index item length return tabl tree item item tabl tree item item length 1 system arraycopi item 0 item 0 index system arraycopi item index 1 item index item length index 1 item item item length 0 tabl item null tabl item set imag 0 null removeitem tabletreeitem tabletreeitem newitem tabletreeitem newitem newitem newitem tableitem tableitem setimag set receiv background color color argument default system color item argument null param color color null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set background color color check widget color null color dispos swt error swt error invalid argument tabl item null tabl item set background color background color illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setbackground checkwidget isdispos error_invalid_argument tableitem tableitem setbackground set check checkbox item chang appli tabl creat swt check style param check check checkbox except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set check boolean check check widget tabl tabl parent tabl tabl style swt check 0 return tabl item null tabl item set check check check check swtexcept error_widget_dispos error_thread_invalid_access setcheck checkwidget gettabl getstyl tableitem tableitem setcheck set grai checkbox item chang appli tabl creat swt check style param grai grai checkbox except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 1 public void set grai boolean grai check widget tabl tabl parent tabl tabl style swt check 0 return tabl item null tabl item set grai grai grai grai swtexcept error_widget_dispos error_thread_invalid_access setgrai checkwidget gettabl getstyl tableitem tableitem setgrai set expand param expand expand except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public void set expand boolean expand check widget item length 0 return expand expand tabl item null return parent set redraw fals int 0 item length item set visibl expand imag imag expand parent minu imag parent imag tabl item set imag 0 imag parent set redraw true swterror error_thread_invalid_access error_widget_dispos setexpand checkwidget tableitem setredraw setvis getminusimag getplusimag tableitem setimag setredraw set font receiv paint textual inform item font argument default font kind control argument null param font font null except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 3 0 public void set font font font check widget font null font dispos swt error swt error invalid argument tabl item null tabl item set font font font font illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setfont checkwidget isdispos error_invalid_argument tableitem tableitem setfont set receiv foreground color color argument default system color item argument null param color color null 2 0 except illeg argument except ul li error invalid argument argument dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set foreground color color check widget color null color dispos swt error swt error invalid argument tabl item null tabl item set foreground color foreground color illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setforeground checkwidget isdispos error_invalid_argument tableitem tableitem setforeground set imag index imag null imag column 0 reserv imag tree index 0 param imag imag null except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public void set imag int index imag imag check widget int column count math max parent tabl column count 1 index 0 index column count return imag length column count imag imag imag column count system arraycopi imag 0 imag 0 imag length imag imag imag index imag tabl item null tabl item set imag index imag swterror error_thread_invalid_access error_widget_dispos setimag checkwidget columncount gettabl getcolumncount columncount columncount newimag columncount newimag newimag tableitem tableitem setimag set imag imag null imag column 0 reserv imag tree param imag imag null except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li li error null argument string null li ul public void set imag imag imag set imag 0 imag swterror error_thread_invalid_access error_widget_dispos error_null_argument setimag setimag set widget text widget text item label item label text column number param index column number param text text except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li li error null argument string null li ul public void set text int index string text check widget text null swt error swt error null argument int column count math max parent tabl column count 1 index 0 index column count return text length column count string text string column count system arraycopi text 0 text 0 text length text text text index text tabl item null tabl item set text index text swterror error_thread_invalid_access error_widget_dispos error_null_argument settext checkwidget error_null_argument columncount gettabl getcolumncount columncount columncount newtext columncount newtext newtext tableitem tableitem settext tabl item null tabl item set text index text public void set text string string set text 0 string tableitem tableitem settext settext settext void set visibl boolean show parent item null return root toggl visibl hidden visibl show return show parent item visibl return parent item visibl creat underli tabl item set data tabl item store data tabl tabl parent tabl int parent index tabl index parent item tabl item int index parent item expand index parent index 1 index 0 return tabl item tabl item tabl style index tabl item set data tabl tree itemid tabl item set imag indent indent background null tabl item set background background foreground null tabl item set foreground foreground font null tabl item set font font add check restor field item ignor imag column int column count math max tabl column count 1 int 0 column count text length text null set text text imag length imag null set imag imag displai children symbol requir item length 0 expand tabl item set imag 0 parent minu imag int 0 length item length length item set visibl true tabl item set imag 0 parent imag int 0 length item length length item set visibl fals remov row tabl tabl item dispos tabl item null setvis parentitem getvis parentitem getvis parentitem gettabl parentindex indexof parentitem tableitem parentitem expandedindexof parentindex tableitem tableitem getstyl tableitem setdata tabletre tableitem setimageind getind tableitem setbackground tableitem setforeground tableitem setfont addcheck columncount getcolumncount columncount settext setimag tableitem setimag getminusimag setvis tableitem setimag getplusimag setvis tableitem tableitem public class text chang event extend type event creat text chang event style text content implementor param sourc object send text chang event null public text chang event style text content sourc super sourc textchangedev typedev textchangedev styledtextcont textchangedev textchangedev styledtextcont method call content chang caller need call text chang method content chang appli widget updat screen properli receiv event param event text chang event event field need set sender text chang event textchang textchangingev public void text chang text chang event event method call content chang caller need call text chang method prior appli content chang call method widget updat screen properli receiv event param event text chang event textchang textchangingev textchang public void text chang text chang event event method call text chang text chang combin entir content replac call style text content set text param event text chang event textchang textchangedev textchang textchang styledtextcont settext creat text chang event style text content implementor param sourc object send text chang event null public text chang event style text content sourc super sourc textchangedev styledtextcont textchangingev textchangingev styledtextcont text chang event style text content sourc style text event super sourc start start replac char count replac char count char count char count replac line count replac line count line count line count text text textchangingev styledtextcont styledtextev replacecharcount replacecharcount newcharcount newcharcount replacelinecount replacelinecount newlinecount newlinecount newtext final runnabl runnabl runnabl public void run editor null editor dispos return tree editor tree dispos return resiz editor set visibl true isdispos treeeditor isdispos setvis public void tree collaps tree event editor null editor dispos return displai displai tree editor tree displai editor set visibl fals displai async exec runnabl treecollaps treeevent isdispos treeeditor getdisplai setvis asyncexec public void tree expand tree event editor null editor dispos return displai displai tree editor tree displai editor set visibl fals displai async exec runnabl treeexpand treeevent isdispos treeeditor getdisplai setvis asyncexec tree listen tree listen creat tree editor tree param tree tree control editor displai public tree editor tree tree super tree tree tree tree listen tree listen final runnabl runnabl runnabl public void run editor null editor dispos return tree editor tree dispos return resiz editor set visibl true public void tree collaps tree event editor null editor dispos return displai displai tree editor tree displai editor set visibl fals displai async exec runnabl public void tree expand tree event editor null editor dispos return displai displai tree editor tree displai editor set visibl fals displai async exec runnabl tree add tree listen tree listen consist older version swt grab vertic default true grab vertic true treelisten treelisten treeeditor treeeditor treelisten treelisten isdispos treeeditor isdispos setvis treecollaps treeevent isdispos treeeditor getdisplai setvis asyncexec treeexpand treeevent isdispos treeeditor getdisplai setvis asyncexec addtreelisten treelisten grabvert grabvert rectangl comput bound item null item dispos return rectangl 0 0 0 0 rectangl cell item bound rectangl area tree client area cell area area width cell cell width area area width cell width area area width cell rectangl editor rect rectangl cell cell minimum width minimum height grab horizont bound tree item includ text area stretch includ entir client area cell width area area width cell editor rect width math max cell width minimum width grab vertic editor rect height math max cell height minimum height horizont align swt editor rect cell width editor rect width horizont align swt left cell answer default center editor rect cell width editor rect width 2 don let editor overlap the tree editor rect math max cell editor rect vertic align swt bottom editor rect cell height editor rect height vertic align swt top cell answer default center editor rect cell height editor rect height 2 return editor rect computebound isdispos getbound getclientarea editorrect minimumwidth minimumheight grabhorizont editorrect minimumwidth grabvert editorrect minimumheight horizontalalign editorrect editorrect horizontalalign editorrect editorrect editorrect editorrect verticalalign editorrect editorrect verticalalign editorrect editorrect editorrect remov associ tree editor row tree tree editor control dispos public void dispos tree listen null tree remov tree listen tree listen tree listen null tree null item null super dispos treeeditor treelisten removetreelisten treelisten treelisten return tree item row cell track editor return tree item row cell track editor public tree item item return item treeitem treeitem treeitem getitem return item public void set item tree item item item item resiz setitem treeitem control displai cell tree posit note control provid editor creat parent tree control tree editor constructor param editor control displai cell edit param item tree item row cell track editor public void set editor control editor tree item item set item item set editor editor treeeditor treeitem seteditor treeitem setitem seteditor void resiz tree dispos return item null item dispos return super resiz isdispos isdispos public interfac verifi kei listen extend swt event listen param event charact charact type input param event kei code kei code type input param event mask the keyboard input param event doit process output verifykeylisten swteventlisten keycod statemask listen listen listen public void handl event event switch type case swt dispos dispos break case swt paint paint gc break case swt resiz resiz break handleev ondispos onpaint onres static final int select background swt color list background construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt border swt flat style public view form composit parent int style super parent check style style set border visibl style swt border 0 listen listen listen public void handl event event switch type case swt dispos dispos break case swt paint paint gc break case swt resiz resiz break int event int swt dispos swt paint swt resiz int 0 event length add listen event listen select_background color_list_background illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl viewform checkstyl setbordervis handleev ondispos onpaint onres addlisten static int check style int style int mask swt flat swt left swt left return style mask swt redraw resiz checkstyl left_to_right right_to_left no_redraw_resiz public point comput size int hint int hint boolean chang check widget size titl bar area point left size point 0 0 top left null left size top left comput size swt default swt default point center size point 0 0 top center null center size top center comput size swt default swt default point size point 0 0 top null size top comput size swt default swt default point size point 0 0 calcul width titl bar separ top center hint swt default left size center size size hint size left size size left size 0 size 0 size horizont space size math max center size size size math max left size size top center null size center size top left null top null size vertic space size left size center size size int count 1 left size 0 count center size 0 count size 0 count count 0 size count horizont space size math max left size math max center size size content null top left null top null top center null size 1 allow space vertic separ point content size point 0 0 content size content comput size swt default swt default size math max size content size size content size size content size size vertic space size 2 margin width size 2 margin height hint swt default size hint hint swt default size hint rectangl trim comput trim 0 0 size size return point trim width trim height computes whint hhint checkwidget leftsiz topleft leftsiz topleft computes centers topcent centers topcent computes rightsiz topright rightsiz topright computes separatetopcent whint leftsiz centers rightsiz whint leftsiz rightsiz leftsiz rightsiz horizontalspac centers leftsiz rightsiz topcent centers topleft topright verticalspac leftsiz centers rightsiz leftsiz centers rightsiz horizontalspac leftsiz centers rightsiz topleft topright topcent contents contents computes contents contents contents verticalspac marginwidth marginheight whint whint hhint hhint computetrim public rectangl comput trim int int int width int height check widget int trimx border left highlight int trimi border top highlight int trim width width border left border 2 highlight int trim height height border top border bottom 2 highlight return rectangl trimx trimi trim width trim height computetrim checkwidget borderleft bordertop trimwidth borderleft borderright trimheight bordertop borderbottom trimwidth trimheight public rectangl client area check widget rectangl client area super client area client area border left client area border top client area width border left border client area height border top border bottom return client area getclientarea checkwidget clientarea getclientarea clientarea borderleft clientarea bordertop clientarea borderleft borderright clientarea bordertop borderbottom clientarea return content area return control content area pane null public control content check widget return content getcont checkwidget return control appear top center pane typic toolbar return control top center pane null public control top center check widget return top center gettopcent checkwidget topcent return control appear top left corner pane typic label label return control top left corner pane null public control top left check widget return top left clabel gettopleft checkwidget topleft return control top corner pane typic close button composit menu close button return control top corner pane null public control top check widget return top gettopright checkwidget topright public void layout boolean chang check widget rectangl rect client area point left size point 0 0 top left null top left dispos left size top left comput size swt default swt default point center size point 0 0 top center null top center dispos center size top center comput size swt default swt default point size point 0 0 top null top dispos size top comput size swt default swt default int min top width left size center size size 2 margin width 2 highlight int count 1 left size 0 count center size 0 count size 0 count count 0 min top width count horizont space int rect rect width margin width highlight int rect margin height highlight boolean top fals separ top center min top width rect width int top height math max size left size top null top dispos top true size top set bound size top height horizont space top left null top left dispos top true left size top left comput size rect margin width highlight swt default top left set bound rect margin width highlight left size top height top top height vertic space top center null top center dispos top true int rect width 2 margin width 2 highlight int trim top center comput size swt default center size top center comput size trim swt default top center set bound rect rect width margin width highlight center size center size center size y center size vertic space int top height math max size math max center size left size top null top dispos top true size top set bound size top height horizont space top center null top center dispos top true center size top center set bound center size top height horizont space top left null top left dispos top true left size top left comput size rect margin width highlight top height top left set bound rect margin width highlight left size top height top top height vertic space int seper separ separ 1 content null content dispos top left null top null top center null separ y content set bound rect margin width highlight rect width 2 margin width 2 highlight rect rect height margin height highlight seper 1 separ 1 int math min separ seper int math max separ seper redraw border left size border left border fals checkwidget getclientarea leftsiz topleft topleft isdispos leftsiz topleft computes centers topcent topcent isdispos centers topcent computes rightsiz topright topright isdispos rightsiz topright computes mintopwidth leftsiz centers rightsiz marginwidth leftsiz centers rightsiz mintopwidth horizontalspac marginwidth marginheight separatetopcent mintopwidth topheight rightsiz leftsiz topright topright isdispos rightsiz topright setbound rightsiz topheight horizontalspac topleft topleft isdispos leftsiz topleft computes marginwidth topleft setbound marginwidth leftsiz topheight topheight verticalspac topcent topcent isdispos marginwidth topcent computes centers topcent computes topcent setbound marginwidth centers centers centers centers verticalspac topheight rightsiz centers leftsiz topright topright isdispos rightsiz topright setbound rightsiz topheight horizontalspac topcent topcent isdispos centers topcent setbound centers topheight horizontalspac topleft topleft isdispos leftsiz topleft computes marginwidth topheight topleft setbound marginwidth leftsiz topheight topheight verticalspac oldseper isdispos topleft topright topcent setbound marginwidth marginwidth marginheight oldseper oldseper oldseper borderleft getsiz borderleft borderright void dispos top left null top center null top null content null area null select background null ondispos topleft topcent topright oldarea selectionbackground void paint gc gc color gc foreground gc foreground point size size color border displai system color border1 color show border gc set foreground border gc draw rectangl 0 0 size 1 size 1 highlight 0 int x1 1 int y1 1 int x2 size 1 int y2 size 1 int shape int x1 y1 x2 y1 x2 y2 x1 y2 x1 y1 highlight x1 highlight y1 highlight x1 highlight y2 highlight x2 highlight y2 highlight x2 highlight y1 highlight x1 y1 highlight color highlight color displai system color swt color list select gc set background highlight color gc fill polygon shape separ 1 gc set foreground border gc draw line border left highlight separ size border left border highlight separ gc set foreground gc foreground onpaint gcforeground getforeground getsiz getdisplai getsystemcolor border1_color showbord setforeground drawrectangl highlightcolor getdisplai getsystemcolor color_list_select setbackground highlightcolor fillpolygon setforeground drawlin borderleft borderleft borderright setforeground gcforeground void resiz layout rectangl area super client area area null area width 0 area height 0 redraw int width 0 area width area width width area width area width border highlight area width area width width border highlight redraw area area width width area width area height fals int height 0 area height area height height area height area height border bottom highlight area height area height height border bottom highlight redraw area area area height height area width height fals area area onres getclientarea oldarea oldarea oldarea oldarea oldarea borderright oldarea borderright oldarea oldarea borderbottom oldarea borderbottom oldarea set content set content null remov pane creator content dispos content param content control displai content area null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument control child view form li ul public void set content control content check widget content null content parent swt error swt error invalid argument content null content dispos content set bound offscreen offscreen 0 0 content content layout swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument viewform setcont checkwidget getpar error_invalid_argument isdispos setbound public void set font font super set font top left null top left dispos top left set font top center null top center dispos top center set font top null top dispos top set font layout setfont setfont topleft topleft isdispos topleft setfont topcent topcent isdispos topcent setfont topright topright isdispos topright setfont set layout receiv argument null note view form layout class size posit children param layout receiv layout null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set layout layout layout check widget return viewform swtexcept error_widget_dispos error_thread_invalid_access setlayout checkwidget void set select background color color check widget select background color return color null color displai system color select background select background color redraw setselectionbackground checkwidget selectionbackground getdisplai getsystemcolor select_background selectionbackground set control appear top center pane typic toolbar top center option set top center null remov pane creator top center dispos top center param top center control displai top center null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument control child view form li ul public void set top center control top center check widget top center null top center parent swt error swt error invalid argument top center null top center dispos point size top center size top center set locat offscreen size offscreen size top center top center layout topcent topcent topcent topcent topcent swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument viewform settopcent topcent checkwidget topcent topcent getpar error_invalid_argument topcent topcent isdispos topcent getsiz topcent setloc topcent topcent set control appear top left corner pane typic label label top left option set top left control null remov pane creator control dispos control param control displai top left corner null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument control child view form li ul public void set top left control check widget null parent swt error swt error invalid argument top left null top left dispos point size top left size top left set locat offscreen size offscreen size top left layout clabel topleft swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument viewform settopleft checkwidget getpar error_invalid_argument topleft topleft isdispos topleft getsiz topleft setloc topleft set control appear top corner pane typic close button composit menu close button top option set top control null remov pane creator control dispos control param control displai top corner null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li li error invalid argument control child view form li ul public void set top control check widget null parent swt error swt error invalid argument top null top dispos point size top size top set locat offscreen size offscreen size top layout topright swtexcept error_widget_dispos error_thread_invalid_access error_invalid_argument viewform settopright checkwidget getpar error_invalid_argument topright topright isdispos topright getsiz topright setloc topright border displai param show true border displai except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set border visibl boolean show check widget show border show return show border show show border border left border top border border bottom 1 style swt flat 0 highlight 2 border bottom border top border left border 0 highlight 0 layout redraw swtexcept error_widget_dispos error_thread_invalid_access setbordervis checkwidget showbord showbord showbord borderleft bordertop borderright borderbottom getstyl borderbottom bordertop borderleft borderright true top center separ line top center top row room move row requir param show true top center separ line except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set top center separ boolean show check widget separ top center show layout topcent topcent topcent swtexcept error_widget_dispos error_thread_invalid_access settopcentersepar checkwidget separatetopcent creat instanc param render class style text render class render line wrap instanc param logic content style text content line data wrap content style text render render style text content logic content render render logic content logic content styledtextrender logicalcont styledtextcont wrappedcont styledtextrender styledtextcont logicalcont logicalcont logicalcont style text content add text chang listen text chang listen public void add text chang listen text chang listen listen logic content add text chang listen listen styledtextcont addtextchangelisten textchangelisten addtextchangelisten textchangelisten logicalcont addtextchangelisten grow line arrai size param num line number element arrai minimum privat void ensur size int num line int size visual line length size num line return int line int math max size 2 num line 2 system arraycopi visual line 0 line 0 size visual line line reset visual line size visual line length size numlin ensures numlin visuallin numlin newlin numlin visuallin newlin visuallin newlin resetvisuallin visuallin style text content char count public int char count return logic content char count styledtextcont getcharcount getcharcount logicalcont getcharcount return visual wrap line index style text content line int public string line int line index string line redirect call logic content wrap line visual line count 0 line logic content line line index line index visual line count line index 0 swt error swt error invalid argument line logic content text rang visual line line index line offset visual line line index line length return line styledtextcont getlin getlin lineindex visuallinecount logicalcont getlin lineindex lineindex visuallinecount lineindex error_invalid_argument logicalcont gettextrang visuallin lineindex line_offset visuallin lineindex line_length return visual wrap line offset offset ambigu identifi end visual line visual line case end visual line offset begin visual line visual line break repres charact logic line ambigu case offset assum repres end visual line index visual line return param offset offset desir line return index visual wrap line offset style text content line offset int public int line offset int offset int line visual line count 1 int char redirect call logic content wrap line visual line count 0 return logic content line offset offset char count number charact method call text chang logic content char count chang point visual line updat need charact count visual content char visual line line line offset visual line line line length offset 0 offset 0 offset char swt error swt error invalid argument line line empti ask posit doesn exist the charact insert offset char return line int high visual line count int low 1 int index visual line count high low 1 index high low 2 int line start visual line index line offset offset line start int line end line start visual line index line length low index offset line end break high index low 0 offset visual line low 1 line offset visual line low 1 line length end visual line begin visual line ambigu offset return visual line low return low styledtextcont getlineatoffset getlineatoffset lastlin visuallinecount lastchar visuallinecount logicalcont getlineatoffset getcharcount textchang logicalcont getcharcount lastchar visuallin lastlin line_offset visuallin lastlin line_length lastchar error_invalid_argument lastchar lastlin visuallinecount visuallinecount linestart visuallin line_offset linestart lineend linestart visuallin line_length lineend visuallin line_offset visuallin line_length return number visual wrap line style text content line count public int line count int line count visual line count redirect call logic content wrap line visual line count 0 line count logic content line count return line count styledtextcont getlinecount getlinecount linecount visuallinecount visuallinecount linecount logicalcont getlinecount linecount style text content line delimit public string line delimit return logic content line delimit styledtextcont getlinedelimit getlinedelimit logicalcont getlinedelimit return start offset visual wrap line index style text content offset line int public int offset line int line index int offset redirect call logic content wrap line visual line count 0 offset logic content offset line line index line index visual line count line index 0 swt error swt error invalid argument offset visual line line index line offset return offset styledtextcont getoffsetatlin getoffsetatlin lineindex visuallinecount logicalcont getoffsetatlin lineindex lineindex visuallinecount lineindex error_invalid_argument visuallin lineindex line_offset style text content text rang int int public string text rang int start int length return logic content text rang start length styledtextcont gettextrang gettextrang logicalcont gettextrang return number visual wrap line return number visual wrap line int visual line count return visual line count getvisuallinecount visuallinecount style text content remov text chang listen text chang listen public void remov text chang listen text chang listen listen logic content remov text chang listen listen styledtextcont removetextchangelisten textchangelisten removetextchangelisten textchangelisten logicalcont removetextchangelisten reset visual wrap line rang rang specifi partial logic line start line visual line extend reset visual line logic line reset logic line reset visual rang rewrap param start line index visual line param line count number visual line void reset int start line int line count line count 0 visual line count 0 return reset start line line count true startlin startlin linecount startlin linecount linecount visuallinecount startlin linecount reset visual wrap line rang rang specifi partial logic line start line visual line extend reset visual line logic line param start line index visual line param line count number visual line param wrap true rewrap logic line reset visual rang fals don rewrap line visual line left inconsist rang unwrap unknown line return visual line reset privat int reset int start line int line count boolean wrap line count 0 return start line sure visual line logic line reset visual line visual line logic line visual line reset int visual line offset offset line start line int logic line logic content line offset visual line offset int logic line offset logic content offset line logic line int visual line line offset logic line offset line count start line visual line start line visual line sure visual line logic line reset int line start line line count 1 int line end visual line line line offset visual line line line length int logic end line 0 line visual line count 1 line end visual line line 1 line offset line line end visual line line line offset visual line line line length wrap line visual line count 1 logic end line logic content line count logic end line logic content line offset visual line line 1 line offset line count line start line 1 reset visual line start line line count visual line count line count wrap recalcul line wrap immedi reset content need usabl reset unwrap line wrap line rang logic line logic end line start line return start line startlin startlin linecount startlin linecount linecount startlin visualfirstlin visualfirstlineoffset getoffsetatlin startlin logicalfirstlin logicalcont getlineatoffset visualfirstlineoffset logicalfirstlineoffset logicalcont getoffsetatlin logicalfirstlin visualfirstlin getlineatoffset logicalfirstlineoffset linecount startlin visualfirstlin startlin visualfirstlin lastlin startlin linecount lastlineend visuallin lastlin line_offset visuallin lastlin line_length logicalendlin lastlin visuallinecount lastlineend visuallin lastlin line_offset lastlin lastlineend visuallin lastlin line_offset visuallin lastlin line_length lastlin visuallinecount logicalendlin logicalcont getlinecount logicalendlin logicalcont getlineatoffset visuallin lastlin line_offset linecount lastlin startlin resetvisuallin startlin linecount visuallinecount linecount wraplinerang logicalfirstlin logicalendlin startlin startlin reset visual wrap line rang param start line index visual line param line count number visual line privat void reset visual line int start line int line count int end line start line line count int start line end line visual line int 1 1 startlin linecount resetvisuallin startlin linecount endlin startlin linecount startlin endlin visuallin style text content replac text rang int int string public void replac text rang int start int replac length string text logic content replac text rang start replac length text styledtextcont replacetextrang replacetextrang replacelength logicalcont replacetextrang replacelength style text content set text string public void set text string text logic content set text text styledtextcont settext settext logicalcont settext set line wrap data visual wrap line param visual line index index visual line param visual line offset start offset visual line rel start document param visual line length length visual line privat void set visual line int visual line index int visual line offset int visual line length ensur size visual line count 1 space visual line happen visual line logic line visual line visual line index line offset 1 system arraycopi visual line visual line index visual line visual line index 1 visual line count visual line index visual line visual line index int 2 visual line visual line index line offset visual line offset visual line visual line index line length visual line length visual line count visuallineindex visuallineoffset visuallinelength setvisuallin visuallineindex visuallineoffset visuallinelength ensures visuallinecount visuallin visuallineindex line_offset visuallin visuallineindex visuallin visuallineindex visuallinecount visuallineindex visuallin visuallineindex visuallin visuallineindex line_offset visuallineoffset visuallin visuallineindex line_length visuallinelength visuallinecount recalcul line wrap line affect text chang param start offset start offset text chang param line count number insert line param replac line count number delet line param char count number charact param replac char count number delet charact void text chang int start offset int line count int replac line count int char count int replac char count wrap line visual line count 0 return int logic start line logic content line offset start offset int visual start line line offset start offset int visual replac line visual line count 1 int text chang delta char count replac char count replac line count 0 visual replac line line offset start offset replac char count start visual line end previou visual line visual replac line 0 visual line visual replac line line offset visual line visual replac line 1 line offset visual line visual replac line 1 line length visual replac line visual line count 1 visual replac line visual start line reset visual start line visual replac line visual start line 1 fals visual start line reset visual start line 1 fals visual replac line wrap line rang logic start line logic start line 1 line count visual start line int visual replac line visual line count visual line line offset text chang delta startoffset newlinecount replacelinecount newcharcount replacecharcount textchang startoffset newlinecount replacelinecount newcharcount replacecharcount visuallinecount logicalstartlin logicalcont getlineatoffset startoffset visualstartlin getlineatoffset startoffset visualreplacelastlin visuallinecount textchangedelta newcharcount replacecharcount replacelinecount visualreplacelastlin getlineatoffset startoffset replacecharcount visualreplacelastlin visuallin visualreplacelastlin line_offset visuallin visualreplacelastlin line_offset visuallin visualreplacelastlin line_length visualreplacelastlin visuallinecount visualreplacelastlin visualstartlin visualstartlin visualreplacelastlin visualstartlin visualstartlin visualstartlin visualreplacelastlin wraplinerang logicalstartlin logicalstartlin newlinecount visualstartlin visualreplacelastlin visuallinecount visuallin line_offset textchangedelta wrap logic line rang current client area width style text widget param start line logic line wrap param end line line logic line param visual line index visual wrap line index start line correspond return index line wrap line privat int wrap line rang int start line int end line int visual line index int empti line count 0 int width render client area width render left margin render margin visual line index wrap line rang start line end line visual line index width space left visual line happen fewer visual line logic line int visual line index visual line length empti line count visual line line offset 1 break empti line count 0 int copi line count visual line count visual line index system arraycopi visual line visual line index empti line count visual line visual line index copi line count reset visual line visual line index copi line count empti line count return visual line index styledtext startlin endlin visuallineindex startlin wraplinerang startlin endlin visuallineindex emptylinecount getclientarea getleftmargin getrightmargin visuallineindex wraplinerang startlin endlin visuallineindex visuallineindex visuallin emptylinecount visuallin line_offset emptylinecount copylinecount visuallinecount visuallineindex visuallin visuallineindex emptylinecount visuallin visuallineindex copylinecount resetvisuallin visuallineindex copylinecount emptylinecount visuallineindex wrap line rang skip line wrap param start line logic line wrap param end line line logic line param visual line index visual wrap line index start line correspond param width line width wrap return index wrap line privat int wrap line rang int start line int end line int visual line index int width wrap line width 0 widget visibl size don wrap widget size known visual line count 0 width 0 return visual line index int start line end line string line logic content line int line offset logic content offset line int line length line length line length 0 set visual line visual line index line offset 0 visual line index continu text layout layout render text layout line line offset layout set width math max 1 width int offset layout line offset int 0 offset length 1 set visual line visual line index line offset offset offset 1 offset render dispos text layout layout return visual line index startlin endlin visuallineindex startlin wraplinerang startlin endlin visuallineindex visuallinecount visuallineindex startlin endlin logicalcont getlin lineoffset logicalcont getoffsetatlin linelength linelength setvisuallin visuallineindex lineoffset visuallineindex textlayout gettextlayout lineoffset setwidth getlineoffset setvisuallin visuallineindex lineoffset disposetextlayout visuallineindex wrap logic line current client area width style text widget void wrap line int width render client area width render left margin render margin wrap line width styledtext wraplin getclientarea getleftmargin getrightmargin wraplin wrap logic line width param width width wrap line void wrap line int width int line count logic content line count visual line count 0 visual line int line count 2 reset visual line 0 visual line length wrap line rang 0 line count 0 width wraplin linecount logicalcont getlinecount visuallinecount visuallin linecount resetvisuallin visuallin wraplinerang linecount throw except base pass error code param code dnd error code public static void error int code error code 0 throw except base pass error code code hresult code argument 0 platform specif error code dnd error report throw except dl dd java lang illeg argument except dd dt thrown api method invok illeg argument dt dd org eclips swt swt except extend java lang runtim except dd dt thrown recover error happen intern swt dt dd org eclips swt swt error extend java lang error dd dt thrown non recover error happen intern swt dt dl method logic map error code except param code dnd error code param hresult platform specif error code swt error swt except illeg argument except public static void error int code int hresult switch code os failur limit fatal occur platform case dnd error init drag string msg dnd init drag messag hresult 0 msg result hresult non nl 1 throw swt error code msg case dnd error init drop string msg dnd init drop messag hresult 0 msg result hresult non nl 1 throw swt error code msg case dnd error set clipboard string msg dnd set clipboard messag hresult 0 msg result hresult non nl 1 throw swt error code msg unknown undefin error swt error code illegalargumentexcept swtexcept runtimeexcept swterror swterror swtexcept illegalargumentexcept error_cannot_init_drag init_drag_messag swterror error_cannot_init_drop init_drop_messag swterror error_cannot_set_clipboard cannot_set_clipboard_messag swterror class dnd listen extend type listen dnd listen constructor comment param listen org eclips swt intern swt event listen dnd listen swt event listen listen super listen dndlisten typedlisten dndlisten swteventlisten dndlisten swteventlisten public void handl event event switch type case dnd drag start drag sourc event event drag sourc event dnd event drag sourc listen event listen drag start event event updat event dnd event break case dnd drag end drag sourc event event drag sourc event dnd event drag sourc listen event listen drag finish event event updat event dnd event break case dnd drag set data drag sourc event event drag sourc event dnd event drag sourc listen event listen drag set data event event updat event dnd event break case dnd drag enter drop target event event drop target event dnd event drop target listen event listen drag enter event event updat event dnd event break case dnd drag leav drop target event event drop target event dnd event drop target listen event listen drag leav event event updat event dnd event break case dnd drag drop target event event drop target event dnd event drop target listen event listen drag event event updat event dnd event break case dnd drop drop target event event drop target event dnd event drop target listen event listen drop event event updat event dnd event break case dnd drop accept drop target event event drop target event dnd event drop target listen event listen drop accept event event updat event dnd event break case dnd drag oper chang drop target event event drop target event dnd event drop target listen event listen drag oper chang event event updat event dnd event break handleev dragstart dragsourceev dragsourceev dndevent dragsourcelisten eventlisten dragstart updateev dndevent dragend dragsourceev dragsourceev dndevent dragsourcelisten eventlisten dragfinish updateev dndevent dragsetdata dragsourceev dragsourceev dndevent dragsourcelisten eventlisten dragsetdata updateev dndevent dragent droptargetev droptargetev dndevent droptargetlisten eventlisten dragent updateev dndevent dragleav droptargetev droptargetev dndevent droptargetlisten eventlisten dragleav updateev dndevent dragov droptargetev droptargetev dndevent droptargetlisten eventlisten dragov updateev dndevent droptargetev droptargetev dndevent droptargetlisten eventlisten updateev dndevent dropaccept droptargetev droptargetev dndevent droptargetlisten eventlisten dropaccept updateev dndevent dragoperationchang droptargetev droptargetev dndevent droptargetlisten eventlisten dragoperationchang updateev dndevent public class drag sourc adapt implement drag sourc listen implement code drag start code permit drag oper start addit inform code drag sourc listen drag start code dragsourceadapt dragsourcelisten dragstart dragsourcelisten dragstart public void drag start drag sourc event event implement code drag finish code addit inform code drag sourc listen drag finish code dragstart dragsourceev dragfinish dragsourcelisten dragfinish public void drag finish drag sourc event event implement code drag set data code addit inform code drag sourc listen drag set data code dragfinish dragsourceev dragsetdata dragsourcelisten dragsetdata construct instanc class base inform untyp event param untyp event inform public drag sourc event dnd event super data data detail detail doit doit data type data type dragsourceev dndevent datatyp datatyp void updat event dnd event e widget widget time data data detail detail doit doit data type data type updateev dndevent datatyp datatyp user begun action requir drag widget event applic chanc decid drag start field drag sourc event appli ul li widget li li doit ul param event inform drag start event drag sourc event dragsourceev dragsourceev data requir drag sourc field drag sourc event appli ul li widget li li data type type data request li data applic insert actual data match data type ul param event inform drag set data event drag sourc event dragsourceev datatyp datatyp dragsourceev drop successfulli complet mous valid target termin hit esc kei perform cleanup remov data sourc side success move oper field drag sourc event appli ul li widget li li doit li detail ul param event inform drag finish event drag sourc event dragsourceev dragsourceev abstract class drag effect abstract void show int effect int int dragundereffect implement code drag enter code permit default oper defin code event detail code perform current data type defin code event current data type code addit inform code drop target listen drag enter code dragent currentdatatyp droptargetlisten dragent public void drag enter drop target event event implement code drag leav code addit inform code drop target listen drag oper chang code dragent droptargetev dragleav droptargetlisten dragoperationchang public void drag leav drop target event event implement code drag oper chang code permit default oper defin code event detail code perform current data type defin code event current data type code addit inform code drop target listen drag oper chang code dragleav droptargetev dragoperationchang currentdatatyp droptargetlisten dragoperationchang public void drag oper chang drop target event event implement code drag code permit default oper defin code event detail code perform current data type defin code event current data type code addit inform code drop target listen drag code dragoperationchang droptargetev dragov currentdatatyp droptargetlisten dragov public void drag drop target event event implement code drop code addit inform code drop target listen drop code dragov droptargetev droptargetlisten public void drop drop target event event implement code drop accept code permit default oper defin code event detail code perform current data type defin code event current data type code addit inform code drop target listen drop accept code droptargetev dropaccept currentdatatyp droptargetlisten dropaccept construct instanc class base inform untyp event param untyp event inform public drop target event dnd event super data data x y detail detail current data type data type data type data type oper oper feedback feedback item item droptargetev dndevent currentdatatyp datatyp datatyp datatyp void updat event dnd event e widget widget time data data x y detail detail data type current data type data type data type oper oper feedback feedback item item updateev dndevent datatyp currentdatatyp datatyp datatyp cursor enter drop target boundari field drop target event appli ul li widget li li li li data type li current data type li oper li detail li feedback ul p code oper code determin modifi kei press user kei press code event detail code field set dnd drop default applic set code event detail code code dnd drop default code oper set platform defin standard default p code current data type code determin transfer agent set transfer match data type provid drag sourc p drag enter event drag sourc provid match data case default oper dnd drop current data type null p applic chang oper perform modifi code detail code field choic valu code oper code field dnd drop p applic chang type data request modifi code current data type code field valu code data type code list param event inform drag enter event drop target event droptargetev datatyp currentdatatyp drop_default drop_default currentdatatyp settransf dragent drop_none currentdatatyp drop_none currentdatatyp datatyp droptargetev cursor left drop target boundari drop cancel data drop field drop target event appli ul li widget li li li li data type li current data type li oper li detail ul param event inform drag leav event drop target event droptargetev datatyp currentdatatyp droptargetev oper perform chang due user chang select modifi kei drag field drop target event appli ul li widget li li li li data type li current data type li oper li detail li feedback ul p code oper code determin modifi kei press user kei press code event detail code field set dnd drop default applic set code event detail code code dnd drop default code oper set platform defin standard default p code current data type code determin assign code current data type code previou drag enter drag call p applic chang oper perform modifi code detail code field choic valu code oper code field p applic chang type data request modifi code current data type code field valu code data type code list param event inform drag oper chang event drop target event droptargetev datatyp currentdatatyp drop_default drop_default currentdatatyp currentdatatyp dragent dragov currentdatatyp datatyp droptargetev cursor move drop target field drop target event appli ul li widget li li li li data type li current data type li oper li detail li feedback ul p code oper code determin assign code current data type code previou drag enter drag call p code current data type code determin assign code current data type code previou drag enter drag call p applic chang oper perform modifi code detail code field choic valu code oper code field p applic chang type data request modifi code current data type code field valu code data type code list p note point code data code field null platform obtain data transfer transfer occur platform platform data applic access data follow pre code public void drag drop target event event text transfer text transfer text transfer instanc string data string text transfer nativ java event current data type data null system println data drop text data code pre param event inform drag event drop target event droptargetev datatyp currentdatatyp currentdatatyp dragent dragov currentdatatyp currentdatatyp dragent dragov currentdatatyp datatyp dragov droptargetev texttransf texttransf texttransf getinst texttransf nativetojava currentdatatyp droptargetev data drop data field java format data drop determin type data object refer document transfer subclass event current data type field drop target event appli ul li widget li li li li detail li current data type li data ul p applic refus perform drop oper set detail field dnd drop param event inform drop event drop target event currentdatatyp droptargetev currentdatatyp drop_none droptargetev drop perform drop target chanc chang natur drop field drop target event appli ul li widget li li li li data type li current data type li oper li detail ul p applic veto drop set code event detail code field code dnd drop code p applic chang oper perform modifi code detail code field choic valu code oper code field p applic chang type data request modifi code current data type code field valu code data type code list param event inform drop accept event drop target event droptargetev datatyp currentdatatyp drop_none currentdatatyp datatyp droptargetev class drag effect extend drag effect drag effect control control nodragundereffect dragundereffect nodragundereffect drag effect control control void show int effect int int nodragundereffect construct instanc class base inform untyp event param untyp event inform public arm event event super armev widget arm select param event inform arm locat control rel parent rel displai code shell code default behavior param event inform move public void control move control event controlmov controlev size width height control default behavior param event inform resiz public void control resiz control event controlres controlev construct instanc class base inform untyp event param untyp event inform public control event event super controlev locat control rel parent rel displai code shell code param event inform move size width height control param event inform resiz construct instanc class base inform untyp event param untyp event inform public dispos event event super disposeev widget dispos param event inform dispos control focu default behavior param event inform focu chang public void focu gain focu event focusgain focusev control lose focu default behavior param event inform focu chang public void focu lost focu event focuslost focusev construct instanc class base inform untyp event param untyp event inform public focu event event super focusev control focu param event inform focu chang control lose focu param event inform focu chang construct instanc class base inform untyp event param untyp event inform public help event event super helpev help request control typic user press f1 param event inform help kei press system keyboard default behavior param event inform kei press public void kei press kei event keypress keyev kei releas system keyboard default behavior param event inform kei releas public void kei releas kei event keyreleas keyev construct instanc class base inform untyp event param untyp event inform public kei event event super charact charact kei code kei code mask mask doit doit keyev keycod keycod statemask statemask return string concis human readabl descript receiv return string represent event public string string string string super string return string substr 0 string length 1 remov trail charact charact 0 0 charact kei code kei code mask mask doit doit tostr tostr keycod keycod statemask statemask kei press system keyboard param event inform kei press kei releas system keyboard param event inform kei releas menu hidden default behavior param event inform menu oper public void menu hidden menu event menuhidden menuev menu shown default behavior param event inform menu oper public void menu shown menu event menushown menuev construct instanc class base inform untyp event param untyp event inform public menu event event super menuev menu hidden param event inform menu oper menu shown param event inform menu oper construct instanc class base inform untyp event param untyp event inform public modifi event event super modifyev text modifi param event inform modifi mous button press oper system doubl click period default behavior param event inform mous doubl click org eclips swt widget displai doubl click public void mous doubl click mous event getdoubleclicktim mousedoubleclick mouseev mous button press default behavior param event inform mous button press public void mous mous event mousedown mouseev mous button releas default behavior param event inform mous button releas public void mous mous event mouseup mouseev construct instanc class base inform untyp event param untyp event inform public mous event event super x y button button mask mask mouseev statemask statemask return string concis human readabl descript receiv return string represent event public string string string string super string return string substr 0 string length 1 remov trail button button mask mask x y tostr tostr statemask statemask mous button press oper system doubl click period param event inform mous doubl click org eclips swt widget displai doubl click getdoubleclicktim mous button press param event inform mous button press mous button releas param event inform mous button releas mous move param event inform mous move mous pointer pass area screen cover control default behavior param event inform mous enter public void mous enter mous event mouseent mouseev mous pointer pass area screen cover control default behavior param event inform mous exit public void mous exit mous event mouseexit mouseev mous pointer hover stop move oper system period control default behavior param event inform hover public void mous hover mous event mousehov mouseev mous pointer pass area screen cover control param event inform mous enter mous pointer pass area screen cover control param event inform mous exit mous pointer hover stop move oper system period control param event inform hover construct instanc class base inform untyp event param untyp event inform public paint event event super gc gc x y width width height height count count paintev return string concis human readabl descript receiv return string represent event public string string string string super string return string substr 0 string length 1 remov trail gc gc x y width width height height count count tostr tostr paint event occur control param event inform paint select occur control default behavior param event inform select public void widget select select event widgetselect selectionev default select occur control default behavior param event inform default select public void widget default select select event widgetdefaultselect selectionev construct instanc class base inform untyp event param untyp event inform public select event event super item item x y width width height height detail detail mask mask doit doit selectionev statemask statemask return string concis human readabl descript receiv return string represent event public string string string string super string return string substr 0 string length 1 remov trail item item detail detail x y width width height height mask mask doit doit tostr tostr statemask statemask select occur control platform select occur list user select item item param event inform select default select occur control platform default select occur list user doubl click item type return text param event inform default select shell activ window default behavior param event inform activ public void shell activ shell event shellactiv shellev shell close default behavior param event inform close public void shell close shell event shellclos shellev shell stop activ window default behavior param event inform deactiv public void shell deactiv shell event shelldeactiv shellev shell un minim default behavior param event inform un minim public void shell deiconifi shell event shelldeiconifi shellev shell minim default behavior param event inform minim public void shell iconifi shell event shelliconifi shellev construct instanc class base inform untyp event param untyp event inform public shell event event super doit doit shellev return string concis human readabl descript receiv return string represent event public string string string string super string return string substr 0 string length 1 remov trail doit doit tostr tostr shell activ window param event inform activ shell close param event inform close shell stop activ window param event inform deactiv shell un minim param event inform un minim shell minim param event inform minim construct instanc class base inform untyp event param untyp event inform public travers event event super detail detail traverseev return string concis human readabl descript receiv return string represent event public string string string string super string return string substr 0 string length 1 remov trail detail detail tostr tostr travers event occur control travers event occur user press travers kei travers kei typic tab arrow kei kei platform travers kei constant begin code travers code defin code swt code class param event inform travers travers_ tree branch collaps default behavior param event inform tree oper public void tree collaps tree event treecollaps treeevent tree branch expand default behavior param event inform tree oper public void tree expand tree event treeexpand treeevent construct instanc class base inform untyp event param untyp event inform public tree event event super treeevent tree branch collaps param event inform tree oper tree branch expand param event inform tree oper construct instanc class param object object fire event public type event object object super object typedev construct instanc class base inform argument param low level event initi receiv public type event event super widget displai displai widget widget time data data typedev return the event the class packag return the event string string string class int index string index index 1 return string return string substr index 1 string length getnam getclass getnam lastindexof return string concis human readabl descript receiv return string represent event public string string return widget time data data tostr getnam construct instanc class base inform untyp event param untyp event inform public verifi event event super charact charact kei code kei code mask mask start start end end text text verifyev keycod keycod statemask statemask return string concis human readabl descript receiv return string represent event public string string string string super string return string substr 0 string length 1 remov trail start start end end text text tostr tostr text modifi verifi event occur user modifi text typic type kei text modifi doit field verifi event modifi text param event inform verifi invok platform specif function alloc gc handl import method em em part public api code drawabl code mark public share packag provid swt platform call applic code param data platform specif gc data return platform specif gc handl invok platform specif function dispos gc handl import method em em part public api code drawabl code mark public share packag provid swt platform call applic code param handl platform specif gc handl param data platform specif gc data construct empti imag data width height depth palett data initi arrai size param width width imag param height height imag param depth depth imag param palett palett imag null except illeg argument except ul li error invalid argument width height neg depth 1 2 4 8 16 24 32 li li error null argument palett null li ul public imag data int width int height int depth palett data palett width height depth palett 4 null 0 null null 1 1 swt imag undefin 0 0 0 0 imagedata illegalargumentexcept error_invalid_argument error_null_argument imagedata palettedata imag_undefin construct empti imag data width height depth palett scanlin pad data param width width imag param height height imag param depth depth imag param palett palett imag param scanlin pad pad line byte param data data imag except illeg argument except ul li error invalid argument width height neg depth 1 2 4 8 16 24 32 li li error null argument palett data null li li error scanlin pad li ul public imag data int width int height int depth palett data palett int scanlin pad byte data width height depth palett scanlin pad check data data 0 null null 1 1 swt imag undefin 0 0 0 0 imagedata scanlinepad scanlinepad illegalargumentexcept error_invalid_argument error_null_argument error_cannot_be_zero scanlinepad imagedata palettedata scanlinepad scanlinepad checkdata imag_undefin construct code imag data code load input stream throw error error occur load imag imag unsupport type constructor provid conveni load singl imag stream multipl imag load load multipl imag code imag loader load code param stream input stream load imag null except illeg argument except ul li error null argument stream null li ul except swt except ul li error invalid imag imag file invalid data li li error io io error occur read data li ul imag loader load input stream public imag data input stream stream imag data data imag loader load stream data length 1 swt error swt error invalid imag imag data data 0 set field width height depth scanlin pad byte line data palett transpar pixel mask data mask pad alpha data alpha type dispos method delai imagedata imageload illegalargumentexcept error_null_argument swtexcept error_invalid_imag error_io imageload inputstream imagedata inputstream imagedata imageload error_invalid_imag imagedata setallfield scanlinepad bytesperlin transparentpixel maskdata maskpad alphadata disposalmethod delaytim construct code imag data code load file throw error error occur load imag imag unsupport type constructor provid conveni load singl imag file multipl imag load load multipl imag code imag loader load code param filenam the file load imag null except illeg argument except ul li error null argument file null li ul except swt except ul li error invalid imag imag file invalid data li li error io io error occur read data li ul public imag data string filenam imag data data imag loader load filenam data length 1 swt error swt error invalid imag imag data data 0 set field width height depth scanlin pad byte line data palett transpar pixel mask data mask pad alpha data alpha type dispos method delai imagedata imageload illegalargumentexcept error_null_argument swtexcept error_invalid_imag error_io imagedata imagedata imageload error_invalid_imag imagedata setallfield scanlinepad bytesperlin transparentpixel maskdata maskpad alphadata disposalmethod delaytim prevent uniniti instanc creat packag imag data imagedata construct imag data give valu non comput field method intern imag data int width int height int depth palett data palett int scanlin pad byte data int mask pad byte mask data byte alpha data int alpha int transpar pixel int type int int int dispos method int delai palett null swt error swt error null argument depth 1 depth 2 depth 4 depth 8 depth 16 depth 24 depth 32 swt error swt error invalid argument width 0 height 0 swt error swt error invalid argument scanlin pad 0 swt error swt error int byte line width depth 7 8 scanlin pad 1 scanlin pad scanlin pad set field width height depth scanlin pad byte line data null data byte byte line height palett transpar pixel mask data mask pad alpha data alpha type dispos method delai imagedata palettedata scanlinepad maskpad maskdata alphadata transparentpixel disposalmethod delaytim error_null_argument error_invalid_argument error_invalid_argument scanlinepad error_cannot_be_zero bytesperlin scanlinepad scanlinepad scanlinepad setallfield scanlinepad bytesperlin bytesperlin transparentpixel maskdata maskpad alphadata disposalmethod delaytim initi field receiv method call public constructor ensur field initi imag data object field ad class ad method method intern void set field int width int height int depth int scanlin pad int byte line byte data palett data palett int transpar pixel byte mask data int mask pad byte alpha data int alpha int type int int int dispos method int delai width width height height depth depth scanlin pad scanlin pad byte line byte line data data palett palett transpar pixel transpar pixel mask data mask data mask pad mask pad alpha data alpha data alpha alpha type type x y dispos method dispos method delai delai imagedata setallfield scanlinepad bytesperlin palettedata transparentpixel maskdata maskpad alphadata disposalmethod delaytim scanlinepad scanlinepad bytesperlin bytesperlin transparentpixel transparentpixel maskdata maskdata maskpad maskpad alphadata alphadata disposalmethod disposalmethod delaytim delaytim invok intern swt function creat instanc class import method em em part public api code imag data code mark public share packag provid swt subject chang notic call applic code p method intern public static imag data intern int width int height int depth palett data palett int scanlin pad byte data int mask pad byte mask data byte alpha data int alpha int transpar pixel int type int int int dispos method int delai return imag data width height depth palett scanlin pad data mask pad mask data alpha data alpha transpar pixel type dispos method delai imagedata imagedata intern_new palettedata scanlinepad maskpad maskdata alphadata transparentpixel disposalmethod delaytim imagedata scanlinepad maskpad maskdata alphadata transparentpixel disposalmethod delaytim imag data color mask imag int pixel imag data mask imag data width height 1 bw palett 2 null 0 null null 1 1 swt imag undefin 0 0 0 0 int row int width int 0 height pixel 0 width row 0 int 0 width pixel 1 row pixel row 0 row 1 mask set pixel 0 width row 0 return mask imagedata colormaskimag imagedata imagedata bwpalett imag_undefin getpixel setpixel static byte check data byte data data null swt error swt error null argument return data checkdata error_null_argument return instanc class receiv slot fill em copi em valu slot receiv return object em deep copi em receiv return copi receiv public object clone byte clone data byte data length system arraycopi data 0 clone data 0 data length byte clone mask data null mask data null clone mask data byte mask data length system arraycopi mask data 0 clone mask data 0 mask data length byte clone alpha data null alpha data null clone alpha data byte alpha data length system arraycopi alpha data 0 clone alpha data 0 alpha data length return imag data width height depth palett scanlin pad clone data mask pad clone mask data clone alpha data alpha transpar pixel type dispos method delai clonedata clonedata clonemaskdata maskdata clonemaskdata maskdata maskdata clonemaskdata maskdata clonealphadata alphadata clonealphadata alphadata alphadata clonealphadata alphadata imagedata scanlinepad clonedata maskpad clonemaskdata clonealphadata transparentpixel disposalmethod delaytim return alpha offset code code scanlin code code receiv alpha data param x coodin pixel alpha param y coordin pixel alpha return alpha coordin except illeg argument except ul li error invalid argument argument rang li ul public int alpha int int width height 0 0 swt error swt error invalid argument alpha data null return 255 return alpha data width 0xff illegalargumentexcept error_invalid_argument getalpha error_invalid_argument alphadata alphadata return code width code alpha valu start offset code code scanlin code code receiv alpha data start code start index code param x posit pixel begin get alpha valu param y posit pixel begin get alpha valu param width width data param alpha buffer put alpha valu param start index offset imag begin get alpha valu except index bound except width larg except illeg argument except ul li error null argument pixel null li li error invalid argument bound li li error invalid argument width neg li ul public void alpha int int int width byte alpha int start index alpha null swt error swt error null argument width 0 width height 0 0 swt error swt error invalid argument width 0 return alpha data null int end index start index width int start index end index alpha byte 255 return throw index bound except system arraycopi alpha data width alpha start index width getwidth startindex getwidth startindex indexoutofboundsexcept getwidth illegalargumentexcept error_null_argument error_invalid_argument error_invalid_argument getwidth getalpha getwidth startindex error_null_argument getwidth error_invalid_argument getwidth alphadata endindex startindex getwidth startindex endindex indexoutofboundsexcept alphadata startindex getwidth return pixel offset code code scanlin code code receiv data param x posit pixel param y posit pixel return pixel coordin except illeg argument except ul li error invalid argument argument bound li ul except swt except ul li error unsupport depth depth 1 2 4 8 16 24 32 li ul public int pixel int int width height 0 0 swt error swt error invalid argument int index int byte int mask depth 1 index byte line 3 byte data index 0xff mask 1 7 0x7 byte mask 0 return 0 return 1 depth 2 index byte line 2 byte data index 0xff int offset 3 4 mask 3 offset 2 return byte mask offset 2 depth 4 index byte line 1 byte data index 0xff 0x1 0 return byte 4 return byte 0x0f depth 8 index byte line return data index 0xff depth 16 index byte line 2 return data index 1 0xff 8 data index 0xff depth 24 index byte line 3 return data index 0xff 16 data index 1 0xff 8 data index 2 0xff depth 32 index byte line 4 return data index 0xff 24 data index 1 0xff 16 data index 2 0xff 8 data index 3 0xff swt error swt error unsupport depth return 0 illegalargumentexcept error_invalid_argument swtexcept error_unsupport_depth getpixel error_invalid_argument thebyt bytesperlin thebyt thebyt bytesperlin thebyt thebyt bytesperlin thebyt thebyt thebyt bytesperlin bytesperlin bytesperlin bytesperlin error_unsupport_depth return code width code pixel valu start offset code code scanlin code code receiv data start code start index code param x posit pixel param y posit pixel param width width data param pixel buffer put pixel param start index offset byte arrai begin store pixel except index bound except width larg except illeg argument except ul li error null argument pixel null li li error invalid argument bound li li error invalid argument width neg li ul except swt except ul li error unsupport depth depth 1 2 4 8 higher depth int version method li ul public void pixel int int int width byte pixel int start index pixel null swt error swt error null argument width 0 width height 0 0 swt error swt error invalid argument width 0 return int index int byte int mask 0 int width int start index int srcx srcy depth 1 index byte line 3 byte data index 0xff 0 mask 1 7 srcx 0x7 byte mask 0 pixel 0 pixel 1 srcx srcx width srcy index srcy byte line 0 byte data index 0xff srcx 0 mask 1 index 0 byte data index 0xff return depth 2 index byte line 2 byte data index 0xff int offset 0 offset 3 srcx 4 mask 3 offset 2 pixel byte byte mask offset 2 srcx srcx width srcy index srcy byte line 0 byte data index 0xff srcx 0 offset 0 index byte data index 0xff return depth 4 index byte line 1 0x1 1 byte data index 0xff pixel byte byte 0x0f srcx srcx width srcy index srcy byte line srcx 0 index 1 byte data index 0xff pixel byte byte 4 srcx srcx width srcy index srcy byte line srcx 0 pixel byte byte 0x0f srcx srcx width srcy index srcy byte line srcx 0 index 0 byte data index 0xff pixel byte byte 4 return depth 8 index byte line int 0 width pixel data index srcx srcx width srcy index srcy byte line srcx 0 index return swt error swt error unsupport depth getwidth startindex getwidth startindex indexoutofboundsexcept getwidth illegalargumentexcept error_null_argument error_invalid_argument error_invalid_argument getwidth swtexcept error_unsupport_depth getpixel getwidth startindex error_null_argument getwidth error_invalid_argument getwidth thebyt getwidth startindex bytesperlin thebyt thebyt bytesperlin thebyt thebyt bytesperlin thebyt thebyt bytesperlin thebyt thebyt bytesperlin thebyt thebyt bytesperlin thebyt thebyt bytesperlin thebyt bytesperlin thebyt thebyt bytesperlin getwidth bytesperlin error_unsupport_depth return code width code pixel valu start offset code code scanlin code code receiv data start code start index code param x posit pixel param y posit pixel param width width data param pixel buffer put pixel param start index offset buffer begin store pixel except index bound except width larg except illeg argument except ul li error null argument pixel null li li error invalid argument bound li li error invalid argument width neg li ul except swt except ul li error unsupport depth depth 1 2 4 8 16 24 32 li ul public void pixel int int int width int pixel int start index pixel null swt error swt error null argument width 0 width height 0 0 swt error swt error invalid argument width 0 return int index int byte int mask int width int start index int srcx srcy depth 1 index byte line 3 byte data index 0xff 0 mask 1 7 srcx 0x7 byte mask 0 pixel 0 pixel 1 srcx srcx width srcy index srcy byte line 0 byte data index 0xff srcx 0 mask 1 index 0 byte data index 0xff return depth 2 index byte line 2 byte data index 0xff int offset 0 offset 3 srcx 4 mask 3 offset 2 pixel byte byte mask offset 2 srcx srcx width srcy index srcy byte line 0 byte data index 0xff srcx 0 offset 0 index byte data index 0xff return depth 4 index byte line 1 0x1 1 byte data index 0xff pixel byte 0x0f srcx srcx width srcy index srcy byte line srcx 0 index 1 byte data index 0xff pixel byte 4 srcx srcx width srcy index srcy byte line srcx 0 pixel byte 0x0f srcx srcx width srcy index srcy byte line srcx 0 index 0 byte data index 0xff pixel byte 4 return depth 8 index byte line int 0 width pixel data index 0xff srcx srcx width srcy index srcy byte line srcx 0 index return depth 16 index byte line 2 int 0 width pixel data index 1 0xff 8 data index 0xff srcx srcx width srcy index srcy byte line srcx 0 index 2 return depth 24 index byte line 3 int 0 width pixel data index 0xff 16 data index 1 0xff 8 data index 2 0xff srcx srcx width srcy index srcy byte line srcx 0 index 3 return depth 32 index byte line 4 start index int 0 width pixel data index 0xff 24 data index 1 0xff 16 data index 2 0xff 8 data index 3 0xff srcx srcx width srcy index srcy byte line srcx 0 index 4 return swt error swt error unsupport depth getwidth startindex getwidth startindex indexoutofboundsexcept getwidth illegalargumentexcept error_null_argument error_invalid_argument error_invalid_argument getwidth swtexcept error_unsupport_depth getpixel getwidth startindex error_null_argument getwidth error_invalid_argument getwidth thebyt getwidth startindex bytesperlin thebyt thebyt bytesperlin thebyt thebyt bytesperlin thebyt thebyt bytesperlin thebyt thebyt bytesperlin thebyt thebyt bytesperlin thebyt thebyt bytesperlin thebyt bytesperlin thebyt thebyt bytesperlin getwidth bytesperlin bytesperlin getwidth bytesperlin bytesperlin getwidth bytesperlin bytesperlin startindex getwidth bytesperlin error_unsupport_depth return arrai code rgb code compris index color tabl receiv null receiv direct color model return rgb valu imag null direct color palett data getrg bs public rgb getrg bs return palett getrg bs palettedata getrgb getrgb getrgb return code imag data code specifi transpar mask inform receiv null receiv transpar icon return transpar mask null exist public imag data transpar mask transpar type swt transpar mask return imag data width height 1 bw palett mask pad mask data return color mask imag transpar pixel imagedata imagedata gettransparencymask gettransparencytyp transpar_mask imagedata bwpalett maskpad maskdata colormaskimag transparentpixel return imag transpar type return receiv transpar type public int transpar type mask data null return swt transpar mask transpar pixel 1 return swt transpar pixel alpha data null return swt transpar alpha return swt transpar gettransparencytyp maskdata transpar_mask transparentpixel transpar_pixel alphadata transpar_alpha transpar_none return byte order receiv return msb lsb int byte order return depth 16 msb lsb msb_first lsb_first getbyteord msb_first lsb_first return copi receiv stretch shrunk size width height neg result imag invert axi param width width imag data param height height imag data return scale copi imag public imag data scale int width int height creat destin imag data final boolean flipx width 0 flipx width width final boolean flipi height 0 flipi height height imag data dest imag data width height depth palett scanlin pad null 0 null null 1 transpar pixel type dispos method delai scale imag content palett direct blit blit src data depth byte line byte order 0 0 width height 0 0 0 alpha opaqu null 0 0 0 dest data dest depth dest byte line dest byte order 0 0 dest width dest height 0 0 0 flipx flipi blit blit src data depth byte line byte order 0 0 width height null null null alpha opaqu null 0 0 0 dest data dest depth dest byte line dest byte order 0 0 dest width dest height null null null flipx flipi scale imag mask alpha mask data null dest mask pad mask pad int dest bpl dest width 7 8 dest bpl dest bpl dest mask pad 1 dest mask pad dest mask pad dest mask data byte dest bpl dest height int src bpl width 7 8 src bpl src bpl mask pad 1 mask pad mask pad blit blit src mask data 1 src bpl msb 0 0 width height null null null alpha opaqu null 0 0 0 dest mask data 1 dest bpl msb 0 0 dest width dest height null null null flipx flipi alpha 1 dest alpha alpha alpha data null dest alpha data byte dest width dest height blit blit src alpha data 8 width msb 0 0 width height null null null alpha opaqu null 0 0 0 dest alpha data 8 dest width msb 0 0 dest width dest height null null null flipx flipi return dest imagedata imagedata imagedata scaledto imagedata imagedata scanlinepad transparentpixel disposalmethod delaytim isdirect blit_src bytesperlin getbyteord alpha_opaqu bytesperlin getbyteord blit_src bytesperlin getbyteord alpha_opaqu bytesperlin getbyteord maskdata maskpad maskpad destbpl destbpl destbpl maskpad maskpad maskpad maskdata destbpl srcbpl srcbpl srcbpl maskpad maskpad maskpad blit_src maskdata srcbpl msb_first alpha_opaqu maskdata destbpl msb_first alphadata alphadata blit_src alphadata msb_first alpha_opaqu alphadata msb_first set alpha offset code code scanlin code code receiv alpha data param x coordin alpha set param y coordin alpha set param alpha set alpha except illeg argument except ul li error invalid argument bound li ul public void set alpha int int int alpha width height 0 0 alpha 0 alpha 255 swt error swt error invalid argument alpha data null alpha data byte width height alpha data width byte alpha illegalargumentexcept error_invalid_argument setalpha error_invalid_argument alphadata alphadata alphadata set alpha valu start offset code code scanlin code code receiv alpha data valu arrai code alpha code start code start index code param x coordin pixel set alpha valu param y coordin pixel set alpha valu param put width width alpha valu set param alpha alpha valu set param start index index begin set except index bound except put width larg except illeg argument except ul li error null argument pixel null li li error invalid argument bound li li error invalid argument put width neg li ul public void set alpha int int int put width byte alpha int start index alpha null swt error swt error null argument put width 0 width height 0 0 swt error swt error invalid argument put width 0 return alpha data null alpha data byte width height throw index bound except system arraycopi alpha start index alpha data width put width startindex putwidth startindex indexoutofboundsexcept putwidth illegalargumentexcept error_null_argument error_invalid_argument error_invalid_argument putwidth setalpha putwidth startindex error_null_argument putwidth error_invalid_argument putwidth alphadata alphadata indexoutofboundsexcept startindex alphadata putwidth set pixel offset code code scanlin code code receiv data param x coordin pixel set param y coordin pixel set param pixel valu set pixel except illeg argument except ul li error invalid argument bound li ul except swt except ul li error unsupport depth depth 1 2 4 8 16 24 32 li ul public void set pixel int int int pixel width height 0 0 swt error swt error invalid argument int index byte byte int mask depth 1 index byte line 3 byte data index mask 1 7 0x7 pixel 0x1 1 data index byte byte mask data index byte byte mask 1 return depth 2 index byte line 2 byte data index int offset 3 4 mask 0xff 3 offset 2 data index byte data index mask pixel offset 2 return depth 4 index byte line 1 0x1 0 data index byte data index 0x0f pixel 0x0f 4 data index byte data index 0xf0 pixel 0x0f return depth 8 index byte line data index byte pixel 0xff return depth 16 index byte line 2 data index 1 byte pixel 8 0xff data index byte pixel 0xff return depth 24 index byte line 3 data index byte pixel 16 0xff data index 1 byte pixel 8 0xff data index 2 byte pixel 0xff return depth 32 index byte line 4 data index byte pixel 24 0xff data index 1 byte pixel 16 0xff data index 2 byte pixel 8 0xff data index 3 byte pixel 0xff return swt error swt error unsupport depth pixelvalu illegalargumentexcept error_invalid_argument swtexcept error_unsupport_depth setpixel pixelvalu error_invalid_argument thebyt bytesperlin thebyt pixelvalu thebyt thebyt bytesperlin thebyt pixelvalu bytesperlin pixelvalu pixelvalu bytesperlin pixelvalu bytesperlin pixelvalu pixelvalu bytesperlin pixelvalu pixelvalu pixelvalu bytesperlin pixelvalu pixelvalu pixelvalu pixelvalu error_unsupport_depth set pixel valu start offset code code scanlin code code receiv data valu arrai code pixel code start code start index code param x posit pixel set param y posit pixel set param put width width pixel set param pixel pixel set param start index index begin set except index bound except put width larg except illeg argument except ul li error null argument pixel null li li error invalid argument bound li li error invalid argument put width neg li ul except swt except ul li error unsupport depth depth 1 2 4 8 higher depth int version method li ul public void set pixel int int int put width byte pixel int start index pixel null swt error swt error null argument put width 0 width height 0 0 swt error swt error invalid argument put width 0 return int index int byte int mask int put width int start index int srcx srcy depth 1 index byte line 3 0 mask 1 7 srcx 0x7 pixel 0x1 1 data index byte data index 0xff mask data index byte data index 0xff mask 1 srcx srcx width srcy index srcy byte line srcx 0 mask 1 index return depth 2 byte mask byte 0xfc byte 0xf3 byte 0xcf byte 0x3f index byte line 2 int offset 3 4 0 byte pixel 0x3 data index byte data index mask offset byte offset 2 srcx srcx width srcy index srcy byte line offset 0 srcx 0 offset 0 index offset 3 offset return depth 4 index byte line 1 boolean high 0x1 0 0 byte pixel 0x0f high data index byte data index 0x0f byte 4 data index byte data index 0xf0 byte srcx srcx width srcy index srcy byte line high true srcx 0 high index high high return depth 8 index byte line int 0 put width data index byte pixel 0xff srcx srcx width srcy index srcy byte line srcx 0 index return swt error swt error unsupport depth startindex putwidth startindex indexoutofboundsexcept putwidth illegalargumentexcept error_null_argument error_invalid_argument error_invalid_argument putwidth swtexcept error_unsupport_depth setpixel putwidth startindex error_null_argument putwidth error_invalid_argument putwidth thebyt putwidth startindex bytesperlin bytesperlin bytesperlin thebyt thebyt bytesperlin bytesperlin thebyt thebyt thebyt bytesperlin bytesperlin putwidth bytesperlin error_unsupport_depth set pixel valu start offset code code scanlin code code receiv data valu arrai code pixel code start code start index code param x posit pixel set param y posit pixel set param put width width pixel set param pixel pixel set param start index index begin set except index bound except put width larg except illeg argument except ul li error null argument pixel null li li error invalid argument bound li li error invalid argument put width neg li ul except swt except ul li error unsupport depth depth 1 2 4 8 16 24 32 li ul public void set pixel int int int put width int pixel int start index pixel null swt error swt error null argument put width 0 width height 0 0 swt error swt error invalid argument put width 0 return int index int byte int mask int put width int start index int pixel int srcx srcy depth 1 index byte line 3 0 mask 1 7 srcx 0x7 pixel 0x1 1 data index byte data index 0xff mask data index byte data index 0xff mask 1 srcx srcx width srcy index srcy byte line srcx 0 mask 1 index return depth 2 byte mask byte 0xfc byte 0xf3 byte 0xcf byte 0x3f index byte line 2 int offset 3 4 0 byte pixel 0x3 data index byte data index mask offset byte offset 2 srcx srcx width srcy index srcy byte line offset 3 srcx 0 offset 0 index offset 3 offset return depth 4 index byte line 1 boolean high 0x1 0 0 byte pixel 0x0f high data index byte data index 0x0f byte 4 data index byte data index 0xf0 byte srcx srcx width srcy index srcy byte line high true srcx 0 high index high high return depth 8 index byte line int 0 put width data index byte pixel 0xff srcx srcx width srcy index srcy byte line srcx 0 index return depth 16 index byte line 2 int 0 put width pixel pixel data index byte pixel 0xff data index 1 byte pixel 8 0xff srcx srcx width srcy index srcy byte line srcx 0 index 2 return depth 24 index byte line 3 int 0 put width pixel pixel data index byte pixel 16 0xff data index 1 byte pixel 8 0xff data index 2 byte pixel 0xff srcx srcx width srcy index srcy byte line srcx 0 index 3 return depth 32 index byte line 4 int 0 put width pixel pixel data index byte pixel 24 0xff data index 1 byte pixel 16 0xff data index 2 byte pixel 8 0xff data index 3 byte pixel 0xff srcx srcx width srcy index srcy byte line srcx 0 index 4 return swt error swt error unsupport depth startindex putwidth startindex indexoutofboundsexcept putwidth illegalargumentexcept error_null_argument error_invalid_argument error_invalid_argument putwidth swtexcept error_unsupport_depth setpixel putwidth startindex error_null_argument putwidth error_invalid_argument putwidth thebyt putwidth startindex bytesperlin bytesperlin bytesperlin thebyt thebyt bytesperlin bytesperlin thebyt thebyt thebyt bytesperlin bytesperlin putwidth bytesperlin bytesperlin putwidth bytesperlin bytesperlin putwidth bytesperlin bytesperlin putwidth bytesperlin error_unsupport_depth return palett 2 color black white static palett data bw palett return palett data rgb rgb 0 0 0 rgb 255 255 255 palettedata bwpalett palettedata offset signific bit mask static int getmsb offset int mask int 31 0 mask 0x1 0 return 1 return 0 getmsboffset find closest match static int closest match int depth byte red byte green byte blue int red mask int green mask int blue mask byte red byte green byte blue depth 8 int rshift 32 getmsb offset red mask int gshift 32 getmsb offset green mask int bshift 32 getmsb offset blue mask return red 24 rshift red mask green 24 gshift green mask blue 24 bshift blue mask int int min distanc 0x7fffffff int nearest pixel 0 int red length int 0 red 0xff red 0xff green 0xff green 0xff blue 0xff blue 0xff int distanc r g b distanc min distanc nearest pixel distanc 0 break min distanc distanc return nearest pixel closestmatch redmask greenmask bluemask getmsboffset redmask getmsboffset greenmask getmsboffset bluemask redmask greenmask bluemask mindist nearestpixel mindist nearestpixel mindist nearestpixel static final byte convert pad byte data int width int height int depth int pad int pad pad pad return data int stride width depth 7 8 int bpl stride pad 1 pad pad int bpl stride pad 1 pad pad byte data byte height bpl int src index 0 dest index 0 int 0 height system arraycopi data src index data dest index stride src index bpl dest index bpl return data convertpad newpad newpad newbpl newpad newpad newpad newdata newbpl srcindex destindex srcindex newdata destindex srcindex destindex newbpl newdata blit direct palett imag direct palett imag note sourc destin depth order mask pairwis equal blitter oper blit src mask chang imag data format 0 mask param op blitter oper combin blit xxx flag blit xxx constant param src data sourc byte arrai imag data param src depth sourc depth 8 16 24 32 param src stride sourc number byte line param src order sourc byte order msb lsb src depth 16 32 param srcx top left coord sourc blit region param srcy top left coord sourc blit region param src width width sourc blit region param src height height sourc blit region param src red mask sourc red channel mask param src green mask sourc green channel mask param src blue mask sourc blue channel mask param alpha mode alpha blend mask mode integ 0 255 global alpha blit alpha blitter oper alpha mode xxx constant param alpha data alpha blend mask data vari depend alpha mode param alpha stride alpha data number byte line param alphax top left coord alpha blit region param alphai top left coord alpha blit region param dest data destin byte arrai imag data param dest depth destin depth 8 16 24 32 param dest stride destin number byte line param dest order destin byte order msb lsb dest depth 16 32 param destx top left coord destin blit region param desti top left coord destin blit region param dest width width destin blit region param dest height height destin blit region param dest red mask destin red channel mask param dest green mask destin green channel mask param dest blue mask destin blue channel mask param flipx true result imag flip vertic axi param flipi true result imag flip horizont axi static void blit int op byte src data int src depth int src stride int src order int srcx int srcy int src width int src height int src red mask int src green mask int src blue mask int alpha mode byte alpha data int alpha stride int alphax int alphai byte dest data int dest depth int dest stride int dest order int destx int desti int dest width int dest height int dest red mask int dest green mask int dest blue mask boolean flipx boolean flipi dest width 0 dest height 0 alpha mode alpha transpar return suppli param later final int src alpha mask 0 dest alpha mask 0 prepar scale data final int dwm1 dest width 1 final int sfxi dwm1 0 int src width 16 1 dwm1 0 final int dhm1 dest height 1 final int sfyi dhm1 0 int src height 16 1 dhm1 0 prepar sourc relat data final int sbpp stype switch src depth case 8 sbpp 1 stype type gener 8 break case 16 sbpp 2 stype src order msb type gener 16 msb type gener 16 lsb break case 24 sbpp 3 stype type gener 24 break case 32 sbpp 4 stype src order msb type gener 32 msb type gener 32 lsb break default throw illeg argument except invalid sourc type return int spr srcy src stride srcx sbpp prepar destin relat data final int dbpp dtype switch dest depth case 8 dbpp 1 dtype type gener 8 break case 16 dbpp 2 dtype dest order msb type gener 16 msb type gener 16 lsb break case 24 dbpp 3 dtype type gener 24 break case 32 dbpp 4 dtype dest order msb type gener 32 msb type gener 32 lsb break default throw illeg argument except invalid destin type return int dpr flipi desti dhm1 desti dest stride flipx destx dwm1 destx dbpp final int dprxi flipx dbpp dbpp final int dpryi flipi dest stride dest stride prepar special process data int apr op blit alpha 0 switch alpha mode case alpha mask unpack case alpha channel separ alpha data null alpha mode 0x10000 apr alphai alpha stride alphax break case alpha mask pack alpha data null alpha mode 0x10000 alpha stride 3 apr alphai alpha stride alphax break case alpha mask index throw illeg argument except invalid alpha type return case alpha mask rgb alpha data null alpha mode 0x10000 apr 0 break default alpha mode alpha mode 16 255 prescal case alpha channel sourc apr 0 break alpha mode 0x10000 apr 0 blit int dp dpr int sp spr alpha mode 0x10000 stype dtype src red mask dest red mask src green mask dest green mask src blue mask dest blue mask src alpha mask dest alpha mask fast blit straight copi switch sbpp case 1 int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride sfy sfy 0xffff sfyi dp dpr dpryi int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi dest data dp src data sp sp sfx 16 break case 2 int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride sfy sfy 0xffff sfyi dp dpr dpryi int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi dest data dp src data sp dest data dp 1 src data sp 1 sp sfx 16 2 break case 3 int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride sfy sfy 0xffff sfyi dp dpr dpryi int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi dest data dp src data sp dest data dp 1 src data sp 1 dest data dp 2 src data sp 2 sp sfx 16 3 break case 4 int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride sfy sfy 0xffff sfyi dp dpr dpryi int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi dest data dp src data sp dest data dp 1 src data sp 1 dest data dp 2 src data sp 2 dest data dp 3 src data sp 3 sp sfx 16 4 break return comprehens blit appli transform final int src red shift channel shift src red mask final byte src red channel width src red mask src red shift final int src green shift channel shift src green mask final byte src green channel width src green mask src green shift final int src blue shift channel shift src blue mask final byte src blue channel width src blue mask src blue shift final int src alpha shift channel shift src alpha mask final byte src alpha channel width src alpha mask src alpha shift final int dest red shift channel shift dest red mask final int dest red width channel width dest red mask dest red shift final byte dest red dest red width final int dest red pre shift 8 dest red width final int dest green shift channel shift dest green mask final int dest green width channel width dest green mask dest green shift final byte dest green dest green width final int dest green pre shift 8 dest green width final int dest blue shift channel shift dest blue mask final int dest blue width channel width dest blue mask dest blue shift final byte dest blue dest blue width final int dest blue pre shift 8 dest blue width final int dest alpha shift channel shift dest alpha mask final int dest alpha width channel width dest alpha mask dest alpha shift final byte dest alpha dest alpha width final int dest alpha pre shift 8 dest alpha width int ap apr alpha alpha mode int 0 0 0 0 int rq 0 gq 0 bq 0 aq 0 int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride ap apr sfy 16 alpha stride sfy sfy 0xffff sfyi dp dpr dpryi int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi read pixel switch stype case type gener 8 final int data src data sp 0xff sp sfx 16 src red data src red mask src red shift 0xff src green data src green mask src green shift 0xff src blue data src blue mask src blue shift 0xff src alpha data src alpha mask src alpha shift 0xff break case type gener 16 msb final int data src data sp 0xff 8 src data sp 1 0xff blit_src blit_xxx blit_xxx srcdata srcdepth srcstride srcorder msb_first lsb_first srcdepth srcwidth srcheight srcredmask srcgreenmask srcbluemask alphamod blit_alpha alpha_mode_xxx alphadata alphamod alphastrid destdata destdepth deststrid destord msb_first lsb_first destdepth destwidth destheight destredmask destgreenmask destbluemask srcdata srcdepth srcstride srcorder srcwidth srcheight srcredmask srcgreenmask srcbluemask alphamod alphadata alphastrid destdata destdepth deststrid destord destwidth destheight destredmask destgreenmask destbluemask destwidth destheight alphamod alpha_transpar srcalphamask destalphamask destwidth srcwidth destheight srcheight srcdepth type_gener_8 srcorder msb_first type_gener_16_msb type_gener_16_lsb type_gener_24 srcorder msb_first type_gener_32_msb type_gener_32_lsb illegalargumentexcept srcstride destdepth type_gener_8 destord msb_first type_gener_16_msb type_gener_16_lsb type_gener_24 destord msb_first type_gener_32_msb type_gener_32_lsb illegalargumentexcept deststrid deststrid deststrid blit_alpha alphamod alpha_mask_unpack alpha_channel_separ alphadata alphamod alphastrid alpha_mask_pack alphadata alphamod alphastrid alphastrid alpha_mask_index illegalargumentexcept alpha_mask_rgb alphadata alphamod alphamod alphamod alpha_channel_sourc alphamod alphamod srcredmask destredmask srcgreenmask destgreenmask srcbluemask destbluemask srcalphamask destalphamask destheight srcstride destwidth destdata srcdata destheight srcstride destwidth destdata srcdata destdata srcdata destheight srcstride destwidth destdata srcdata destdata srcdata destdata srcdata destheight srcstride destwidth destdata srcdata destdata srcdata destdata srcdata destdata srcdata srcredshift getchannelshift srcredmask srcred ani_to_eight getchannelwidth srcredmask srcredshift srcgreenshift getchannelshift srcgreenmask srcgreen ani_to_eight getchannelwidth srcgreenmask srcgreenshift srcblueshift getchannelshift srcbluemask srcblue ani_to_eight getchannelwidth srcbluemask srcblueshift srcalphashift getchannelshift srcalphamask srcalpha ani_to_eight getchannelwidth srcalphamask srcalphashift destredshift getchannelshift destredmask destredwidth getchannelwidth destredmask destredshift destr ani_to_eight destredwidth destredpreshift destredwidth destgreenshift getchannelshift destgreenmask destgreenwidth getchannelwidth destgreenmask destgreenshift destgreen ani_to_eight destgreenwidth destgreenpreshift destgreenwidth destblueshift getchannelshift destbluemask destbluewidth getchannelwidth destbluemask destblueshift destblu ani_to_eight destbluewidth destbluepreshift destbluewidth destalphashift getchannelshift destalphamask destalphawidth getchannelwidth destalphamask destalphashift destalpha ani_to_eight destalphawidth destalphapreshift destalphawidth alphamod destheight srcstride alphastrid destwidth type_gener_8 srcdata srcred srcredmask srcredshift srcgreen srcgreenmask srcgreenshift srcblue srcbluemask srcblueshift srcalpha srcalphamask srcalphashift type_gener_16_msb srcdata srcdata blit index palett imag index palett imag note sourc destin red green blue arrai null alpha blend dither perform param op blitter oper combin blit xxx flag blit xxx constant param src data sourc byte arrai imag data param src depth sourc depth 1 2 4 8 param src stride sourc number byte line param src order sourc byte order msb lsb src depth 1 param srcx top left coord sourc blit region param srcy top left coord sourc blit region param src width width sourc blit region param src height height sourc blit region param src red sourc palett red compon intens param src green sourc palett green compon intens param src blue sourc palett blue compon intens param alpha mode alpha blend mask mode integ 0 255 global alpha blit alpha blitter oper alpha mode xxx constant param alpha data alpha blend mask data vari depend alpha mode param alpha stride alpha data number byte line param alphax top left coord alpha blit region param alphai top left coord alpha blit region param dest data destin byte arrai imag data param dest depth destin depth 1 2 4 8 param dest stride destin number byte line param dest order destin byte order msb lsb dest depth 1 param destx top left coord destin blit region param desti top left coord destin blit region param dest width width destin blit region param dest height height destin blit region param dest red destin palett red compon intens param dest green destin palett green compon intens param dest blue destin palett blue compon intens param flipx true result imag flip vertic axi param flipi true result imag flip horizont axi static void blit int op byte src data int src depth int src stride int src order int srcx int srcy int src width int src height byte src red byte src green byte src blue int alpha mode byte alpha data int alpha stride int alphax int alphai byte dest data int dest depth int dest stride int dest order int destx int desti int dest width int dest height byte dest red byte dest green byte dest blue boolean flipx boolean flipi dest width 0 dest height 0 alpha mode alpha transpar return prepar scale data final int dwm1 dest width 1 final int sfxi dwm1 0 int src width 16 1 dwm1 0 final int dhm1 dest height 1 final int sfyi dhm1 0 int src height 16 1 dhm1 0 prepar sourc relat data final int stype switch src depth case 8 stype type index 8 break case 4 src stride 1 stype type index 4 break case 2 src stride 2 stype type index 2 break case 1 src stride 3 stype src order msb type index 1 msb type index 1 lsb break default throw illeg argument except invalid sourc type return int spr srcy src stride srcx prepar destin relat data final int dtype switch dest depth case 8 dtype type index 8 break case 4 dest stride 1 dtype type index 4 break case 2 dest stride 2 dtype type index 2 break case 1 dest stride 3 dtype dest order msb type index 1 msb type index 1 lsb break default throw illeg argument except invalid sourc type return int dpr flipi desti dhm1 desti dest stride flipx destx dwm1 destx final int dprxi flipx 1 1 final int dpryi flipi dest stride dest stride prepar special process data int apr op blit alpha 0 switch alpha mode case alpha mask unpack case alpha channel separ alpha data null alpha mode 0x10000 apr alphai alpha stride alphax break case alpha mask pack alpha data null alpha mode 0x10000 alpha stride 3 apr alphai alpha stride alphax break case alpha mask index case alpha mask rgb alpha data null alpha mode 0x10000 apr 0 break default alpha mode alpha mode 16 255 prescal case alpha channel sourc apr 0 break alpha mode 0x10000 apr 0 final boolean dither enabl op blit dither 0 blit int dp dpr int sp spr int ap apr int dest palett size 1 dest depth dest red null dest red length dest palett size dest palett size dest red length byte palett map null boolean exact palett map true switch alpha mode case 0x10000 palett format equival map stype dtype src red dest red src green dest green src blue dest blue palett map map break palett suppli suppli suitabl map src red null dest red null src depth dest depth palett map map palett map byte 1 src depth int mask 0xff dest depth 8 int 0 palett map length palett map byte mask break case alpha mask unpack case alpha mask pack case alpha mask index case alpha mask rgb gener palett map int src palett size 1 src depth palett map byte src palett size src red null src red length src palett size src palett size src red length int 0 index src palett size src red 0xff src green 0xff src blue 0xff index 0 int min distanc 0x7fffffff int 0 dr dg db distanc dest palett size dr dest red 0xff dg dest green 0xff db dest blue 0xff distanc dr dr dg dg db db distanc min distanc index distanc 0 break min distanc distanc palett map byte index min distanc 0 exact palett map fals break palett map null exact palett map dither enabl stype dtype alpha mode 0x10000 fast blit copi map switch stype case type index 8 int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride sfy sfy 0xffff sfyi dp dpr dpryi int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi dest data dp palett map src data sp 0xff sp sfx 16 break case type index 4 int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride sfy sfy 0xffff sfyi dp dpr dpryi int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi final int sp 1 0 palett map src data sp 1 0x0f src data sp 1 4 0x0f sp sfx 16 dp 1 0 dest data dp 1 byte dest data dp 1 0xf0 dest data dp 1 byte dest data dp 1 0x0f 4 break case type index 2 int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride sfy sfy 0xffff sfyi dp dpr dpryi int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi final int index palett map src data sp 2 6 sp 3 2 0x03 sp sfx 16 final int shift 6 dp 3 2 dest data dp 2 byte dest data dp 2 0x03 shift index shift break case type index 1 msb int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride sfy sfy 0xffff sfyi dp dpr dpryi int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi final int index palett map src data sp 3 7 sp 7 0x01 sp sfx 16 final int shift 7 dp 7 dest data dp 3 byte dest data dp 3 0x01 shift index shift break case type index 1 lsb int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride sfy sfy 0xffff sfyi dp dpr dpryi int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi final int index palett map src data sp 3 sp 7 0x01 sp sfx 16 final int shift dp 7 dest data dp 3 byte dest data dp 3 blit_xxx blit_xxx srcdata srcdepth srcstride srcorder msb_first lsb_first srcdepth srcwidth srcheight srcred srcgreen srcblue alphamod blit_alpha alpha_mode_xxx alphadata alphamod alphastrid destdata destdepth deststrid destord msb_first lsb_first destdepth destwidth destheight destr destgreen destblu srcdata srcdepth srcstride srcorder srcwidth srcheight srcred srcgreen srcblue alphamod alphadata alphastrid destdata destdepth deststrid destord destwidth destheight destr destgreen destblu destwidth destheight alphamod alpha_transpar destwidth srcwidth destheight srcheight srcdepth type_index_8 srcstride type_index_4 srcstride type_index_2 srcstride srcorder msb_first type_index_1_msb type_index_1_lsb illegalargumentexcept srcstride destdepth type_index_8 deststrid type_index_4 deststrid type_index_2 deststrid destord msb_first type_index_1_msb type_index_1_lsb illegalargumentexcept deststrid deststrid deststrid blit_alpha alphamod alpha_mask_unpack alpha_channel_separ alphadata alphamod alphastrid alpha_mask_pack alphadata alphamod alphastrid alphastrid alpha_mask_index alpha_mask_rgb alphadata alphamod alphamod alphamod alpha_channel_sourc alphamod ditheren blit_dither destpalettes destdepth destr destr destpalettes destpalettes destr palettemap isexactpalettemap alphamod srcred destr srcgreen destgreen srcblue destblu palettemap on_to_on_map srcred destr srcdepth destdepth palettemap on_to_on_map palettemap srcdepth destdepth palettemap palettemap alpha_mask_unpack alpha_mask_pack alpha_mask_index alpha_mask_rgb srcpalettes srcdepth palettemap srcpalettes srcred srcred srcpalettes srcpalettes srcred srcpalettes srcred srcgreen srcblue mindist destpalettes destr destgreen destblu mindist mindist palettemap mindist isexactpalettemap palettemap isexactpalettemap ditheren alphamod type_index_8 destheight srcstride destwidth destdata palettemap srcdata type_index_4 destheight srcstride destwidth palettemap srcdata srcdata destdata destdata destdata destdata type_index_2 destheight srcstride destwidth palettemap srcdata destdata destdata type_index_1_msb destheight srcstride destwidth palettemap srcdata destdata destdata type_index_1_lsb destheight srcstride destwidth palettemap srcdata destdata destdata blit index palett imag direct palett imag note sourc destin mask palett fulli param op blitter oper combin blit xxx flag blit xxx constant param src data sourc byte arrai imag data param src depth sourc depth 1 2 4 8 param src stride sourc number byte line param src order sourc byte order msb lsb src depth 1 param srcx top left coord sourc blit region param srcy top left coord sourc blit region param src width width sourc blit region param src height height sourc blit region param src red sourc palett red compon intens param src green sourc palett green compon intens param src blue sourc palett blue compon intens param alpha mode alpha blend mask mode integ 0 255 global alpha blit alpha blitter oper alpha mode xxx constant param alpha data alpha blend mask data vari depend alpha mode param alpha stride alpha data number byte line param alphax top left coord alpha blit region param alphai top left coord alpha blit region param dest data destin byte arrai imag data param dest depth destin depth 8 16 24 32 param dest stride destin number byte line param dest order destin byte order msb lsb dest depth 16 32 param destx top left coord destin blit region param desti top left coord destin blit region param dest width width destin blit region param dest height height destin blit region param dest red mask destin red channel mask param dest green mask destin green channel mask param dest blue mask destin blue channel mask param flipx true result imag flip vertic axi param flipi true result imag flip horizont axi static void blit int op byte src data int src depth int src stride int src order int srcx int srcy int src width int src height byte src red byte src green byte src blue int alpha mode byte alpha data int alpha stride int alphax int alphai byte dest data int dest depth int dest stride int dest order int destx int desti int dest width int dest height int dest red mask int dest green mask int dest blue mask boolean flipx boolean flipi dest width 0 dest height 0 alpha mode alpha transpar return suppli param later final int dest alpha mask 0 prepar scale data final int dwm1 dest width 1 final int sfxi dwm1 0 int src width 16 1 dwm1 0 final int dhm1 dest height 1 final int sfyi dhm1 0 int src height 16 1 dhm1 0 prepar sourc relat data final int stype switch src depth case 8 stype type index 8 break case 4 src stride 1 stype type index 4 break case 2 src stride 2 stype type index 2 break case 1 src stride 3 stype src order msb type index 1 msb type index 1 lsb break default throw illeg argument except invalid sourc type return int spr srcy src stride srcx prepar destin relat data final int dbpp dtype switch dest depth case 8 dbpp 1 dtype type gener 8 break case 16 dbpp 2 dtype dest order msb type gener 16 msb type gener 16 lsb break case 24 dbpp 3 dtype type gener 24 break case 32 dbpp 4 dtype dest order msb type gener 32 msb type gener 32 lsb break default throw illeg argument except invalid destin type return int dpr flipi desti dhm1 desti dest stride flipx destx dwm1 destx dbpp final int dprxi flipx dbpp dbpp final int dpryi flipi dest stride dest stride prepar special process data int apr op blit alpha 0 switch alpha mode case alpha mask unpack case alpha channel separ alpha data null alpha mode 0x10000 apr alphai alpha stride alphax break case alpha mask pack alpha data null alpha mode 0x10000 alpha stride 3 apr alphai alpha stride alphax break case alpha mask index case alpha mask rgb alpha data null alpha mode 0x10000 apr 0 break default alpha mode alpha mode 16 255 prescal case alpha channel sourc apr 0 break alpha mode 0x10000 apr 0 comprehens blit appli transform final int dest red shift channel shift dest red mask final int dest red width channel width dest red mask dest red shift final byte dest red dest red width final int dest red pre shift 8 dest red width final int dest green shift channel shift dest green mask final int dest green width channel width dest green mask dest green shift final byte dest green dest green width final int dest green pre shift 8 dest green width final int dest blue shift channel shift dest blue mask final int dest blue width channel width dest blue mask dest blue shift final byte dest blue dest blue width final int dest blue pre shift 8 dest blue width final int dest alpha shift channel shift dest alpha mask final int dest alpha width channel width dest alpha mask dest alpha shift final byte dest alpha dest alpha width final int dest alpha pre shift 8 dest alpha width int dp dpr int sp spr int ap apr alpha alpha mode int 0 0 0 0 index 0 int rq 0 gq 0 bq 0 aq 0 int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride ap apr sfy 16 alpha stride sfy sfy 0xffff sfyi dp dpr dpryi int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi read pixel switch stype case type index 8 index src data sp 0xff sp sfx 16 break case type index 4 sp 1 0 index src data sp 1 0x0f index src data sp 1 4 0x0f sp sfx 16 break case type index 2 index src data sp 2 6 sp 3 2 0x03 sp sfx 16 break case type index 1 msb index src data sp 3 7 sp 7 0x01 sp sfx 16 break case type index 1 lsb index src data sp 3 sp 7 0x01 sp sfx 16 break special process requir src red index 0xff src green index 0xff src blue index 0xff switch alpha mode case alpha channel separ alpha alpha data ap 0xff 16 255 ap sfx 16 break case alpha mask unpack alpha alpha data ap 0 0x10000 0 ap sfx 16 break case alpha mask pack alpha alpha data ap 3 ap 7 9 0x10000 ap sfx 16 break case alpha mask index speed binari search sort indic int 0 alpha data length index alpha data 0xff break alpha data length continu break case alpha mask rgb int 0 alpha data length alpha data 0xff alpha data 1 0xff alpha data 2 0xff break 3 alpha data length continu break alpha 0x10000 alpha 0x0000 continu switch dtype case type gener 8 final int data dest data dp 0xff rq dest red data dest red mask dest red shift 0xff gq dest green data dest green mask dest green shift 0xff bq dest blue data dest blue mask dest blue shift 0xff aq dest alpha data dest alpha mask dest alpha shift 0xff break case type gener 16 msb final int data dest data dp 0xff 8 dest data dp 1 0xff rq dest red data dest red mask dest red shift 0xff gq dest green data dest green mask dest green shift 0xff bq dest blue data dest blue mask dest blue shift 0xff aq dest alpha data dest alpha mask dest alpha shift 0xff break case type gener 16 lsb final int data dest data dp 1 0xff 8 dest data dp 0xff rq dest red data dest red mask dest red shift 0xff gq dest green data dest green mask dest green shift 0xff bq dest blue data dest blue mask dest blue shift 0xff aq dest alpha data dest alpha mask dest alpha shift 0xff break case type gener 24 final int data dest data dp 0xff 8 dest data dp 1 0xff 8 dest data dp 2 0xff rq dest red data dest red mask dest red shift 0xff blit_xxx blit_xxx srcdata srcdepth srcstride srcorder msb_first lsb_first srcdepth srcwidth srcheight srcred srcgreen srcblue alphamod blit_alpha alpha_mode_xxx alphadata alphamod alphastrid destdata destdepth deststrid destord msb_first lsb_first destdepth destwidth destheight destredmask destgreenmask destbluemask srcdata srcdepth srcstride srcorder srcwidth srcheight srcred srcgreen srcblue alphamod alphadata alphastrid destdata destdepth deststrid destord destwidth destheight destredmask destgreenmask destbluemask destwidth destheight alphamod alpha_transpar destalphamask destwidth srcwidth destheight srcheight srcdepth type_index_8 srcstride type_index_4 srcstride type_index_2 srcstride srcorder msb_first type_index_1_msb type_index_1_lsb illegalargumentexcept srcstride destdepth type_gener_8 destord msb_first type_gener_16_msb type_gener_16_lsb type_gener_24 destord msb_first type_gener_32_msb type_gener_32_lsb illegalargumentexcept deststrid deststrid deststrid blit_alpha alphamod alpha_mask_unpack alpha_channel_separ alphadata alphamod alphastrid alpha_mask_pack alphadata alphamod alphastrid alphastrid alpha_mask_index alpha_mask_rgb alphadata alphamod alphamod alphamod alpha_channel_sourc alphamod destredshift getchannelshift destredmask destredwidth getchannelwidth destredmask destredshift destr ani_to_eight destredwidth destredpreshift destredwidth destgreenshift getchannelshift destgreenmask destgreenwidth getchannelwidth destgreenmask destgreenshift destgreen ani_to_eight destgreenwidth destgreenpreshift destgreenwidth destblueshift getchannelshift destbluemask destbluewidth getchannelwidth destbluemask destblueshift destblu ani_to_eight destbluewidth destbluepreshift destbluewidth destalphashift getchannelshift destalphamask destalphawidth getchannelwidth destalphamask destalphashift destalpha ani_to_eight destalphawidth destalphapreshift destalphawidth alphamod destheight srcstride alphastrid destwidth type_index_8 srcdata type_index_4 srcdata srcdata type_index_2 srcdata type_index_1_msb srcdata type_index_1_lsb srcdata srcred srcgreen srcblue alphamod alpha_channel_separ alphadata alpha_mask_unpack alphadata alpha_mask_pack alphadata alpha_mask_index alphadata alphadata alphadata alpha_mask_rgb alphadata alphadata alphadata alphadata alphadata type_gener_8 destdata destr destredmask destredshift destgreen destgreenmask destgreenshift destblu destbluemask destblueshift destalpha destalphamask destalphashift type_gener_16_msb destdata destdata destr destredmask destredshift destgreen destgreenmask destgreenshift destblu destbluemask destblueshift destalpha destalphamask destalphashift type_gener_16_lsb destdata destdata destr destredmask destredshift destgreen destgreenmask destgreenshift destblu destbluemask destblueshift destalpha destalphamask destalphashift type_gener_24 destdata destdata destdata destr destredmask destredshift blit direct palett imag index palett imag note sourc destin mask palett fulli param op blitter oper combin blit xxx flag blit xxx constant param src data sourc byte arrai imag data param src depth sourc depth 8 16 24 32 param src stride sourc number byte line param src order sourc byte order msb lsb src depth 16 32 param srcx top left coord sourc blit region param srcy top left coord sourc blit region param src width width sourc blit region param src height height sourc blit region param src red mask sourc red channel mask param src green mask sourc green channel mask param src blue mask sourc blue channel mask param alpha mode alpha blend mask mode integ 0 255 global alpha blit alpha blitter oper alpha mode xxx constant param alpha data alpha blend mask data vari depend alpha mode param alpha stride alpha data number byte line param alphax top left coord alpha blit region param alphai top left coord alpha blit region param dest data destin byte arrai imag data param dest depth destin depth 1 2 4 8 param dest stride destin number byte line param dest order destin byte order msb lsb dest depth 1 param destx top left coord destin blit region param desti top left coord destin blit region param dest width width destin blit region param dest height height destin blit region param dest red destin palett red compon intens param dest green destin palett green compon intens param dest blue destin palett blue compon intens param flipx true result imag flip vertic axi param flipi true result imag flip horizont axi static void blit int op byte src data int src depth int src stride int src order int srcx int srcy int src width int src height int src red mask int src green mask int src blue mask int alpha mode byte alpha data int alpha stride int alphax int alphai byte dest data int dest depth int dest stride int dest order int destx int desti int dest width int dest height byte dest red byte dest green byte dest blue boolean flipx boolean flipi dest width 0 dest height 0 alpha mode alpha transpar return suppli param later final int src alpha mask 0 prepar scale data final int dwm1 dest width 1 final int sfxi dwm1 0 int src width 16 1 dwm1 0 final int dhm1 dest height 1 final int sfyi dhm1 0 int src height 16 1 dhm1 0 prepar sourc relat data final int sbpp stype switch src depth case 8 sbpp 1 stype type gener 8 break case 16 sbpp 2 stype src order msb type gener 16 msb type gener 16 lsb break case 24 sbpp 3 stype type gener 24 break case 32 sbpp 4 stype src order msb type gener 32 msb type gener 32 lsb break default throw illeg argument except invalid sourc type return int spr srcy src stride srcx sbpp prepar destin relat data final int dtype switch dest depth case 8 dtype type index 8 break case 4 dest stride 1 dtype type index 4 break case 2 dest stride 2 dtype type index 2 break case 1 dest stride 3 dtype dest order msb type index 1 msb type index 1 lsb break default throw illeg argument except invalid sourc type return int dpr flipi desti dhm1 desti dest stride flipx destx dwm1 destx final int dprxi flipx 1 1 final int dpryi flipi dest stride dest stride prepar special process data int apr op blit alpha 0 switch alpha mode case alpha mask unpack case alpha channel separ alpha data null alpha mode 0x10000 apr alphai alpha stride alphax break case alpha mask pack alpha data null alpha mode 0x10000 alpha stride 3 apr alphai alpha stride alphax break case alpha mask index throw illeg argument except invalid alpha type return case alpha mask rgb alpha data null alpha mode 0x10000 apr 0 break default alpha mode alpha mode 16 255 prescal case alpha channel sourc apr 0 break alpha mode 0x10000 apr 0 final boolean dither enabl op blit dither 0 comprehens blit appli transform final int src red shift channel shift src red mask final byte src red channel width src red mask src red shift final int src green shift channel shift src green mask final byte src green channel width src green mask src green shift final int src blue shift channel shift src blue mask final byte src blue channel width src blue mask src blue shift final int src alpha shift channel shift src alpha mask final byte src alpha channel width src alpha mask src alpha shift int dp dpr int sp spr int ap apr alpha alpha mode int 0 0 0 0 int indexq 0 int lastindex 0 lastr 1 lastg 1 lastb 1 final int rerr gerr berr int dest palett size 1 dest depth dest red null dest red length dest palett size dest palett size dest red length dither enabl rerr int dest width 2 gerr int dest width 2 berr int dest width 2 rerr null gerr null berr null int dy dest height sfy sfyi dy 0 dy sp spr sfy 16 src stride ap apr sfy 16 alpha stride sfy sfy 0xffff sfyi dp dpr dpryi int lrerr 0 lgerr 0 lberr 0 int dx dest width sfx sfxi dx 0 dx dp dprxi sfx sfx 0xffff sfxi read pixel switch stype case type gener 8 final int data src data sp 0xff sp sfx 16 src red data src red mask src red shift 0xff src green data src green mask src green shift 0xff src blue data src blue mask src blue shift 0xff src alpha data src alpha mask src alpha shift 0xff break case type gener 16 msb final int data src data sp 0xff 8 src data sp 1 0xff sp sfx 16 2 src red data src red mask src red shift 0xff src green data src green mask src green shift 0xff src blue data src blue mask src blue shift 0xff src alpha data src alpha mask src alpha shift 0xff break case type gener 16 lsb final int data src data sp 1 0xff 8 src data sp 0xff sp sfx 16 2 src red data src red mask src red shift 0xff src green data src green mask src green shift 0xff src blue data src blue mask src blue shift 0xff src alpha data src alpha mask src alpha shift 0xff break case type gener 24 final int data src data sp 0xff 8 src data sp 1 0xff 8 src data sp 2 0xff sp sfx 16 3 src red data src red mask src red shift 0xff src green data src green mask src green shift 0xff src blue data src blue mask src blue shift 0xff src alpha data src alpha mask src alpha shift 0xff break case type gener 32 msb final int data src data sp 0xff 8 src data sp 1 0xff 8 src data sp 2 0xff 8 src data sp 3 0xff sp sfx 16 4 src red data src red mask src red shift 0xff src green data src green mask src green shift 0xff src blue data src blue mask src blue shift 0xff src alpha data src alpha mask src alpha shift 0xff break case type gener 32 lsb final int data src data sp 3 0xff 8 src data sp 2 0xff 8 src data sp 1 0xff 8 src data sp 0xff sp sfx 16 4 src red data src red mask src red shift 0xff src green data src green mask src green shift 0xff src blue data src blue mask src blue shift 0xff src alpha data src alpha mask src alpha shift 0xff break special process requir switch alpha mode case alpha channel separ alpha alpha data ap 0xff 16 255 ap sfx 16 break case alpha channel sourc alpha 16 255 break case alpha mask unpack alpha alpha data ap 0 0x10000 0 ap sfx 16 break case blit_xxx blit_xxx srcdata srcdepth srcstride srcorder msb_first lsb_first srcdepth srcwidth srcheight srcredmask srcgreenmask srcbluemask alphamod blit_alpha alpha_mode_xxx alphadata alphamod alphastrid destdata destdepth deststrid destord msb_first lsb_first destdepth destwidth destheight destr destgreen destblu srcdata srcdepth srcstride srcorder srcwidth srcheight srcredmask srcgreenmask srcbluemask alphamod alphadata alphastrid destdata destdepth deststrid destord destwidth destheight destr destgreen destblu destwidth destheight alphamod alpha_transpar srcalphamask destwidth srcwidth destheight srcheight srcdepth type_gener_8 srcorder msb_first type_gener_16_msb type_gener_16_lsb type_gener_24 srcorder msb_first type_gener_32_msb type_gener_32_lsb illegalargumentexcept srcstride destdepth type_index_8 deststrid type_index_4 deststrid type_index_2 deststrid destord msb_first type_index_1_msb type_index_1_lsb illegalargumentexcept deststrid deststrid deststrid blit_alpha alphamod alpha_mask_unpack alpha_channel_separ alphadata alphamod alphastrid alpha_mask_pack alphadata alphamod alphastrid alphastrid alpha_mask_index illegalargumentexcept alpha_mask_rgb alphadata alphamod alphamod alphamod alpha_channel_sourc alphamod ditheren blit_dither srcredshift getchannelshift srcredmask srcred ani_to_eight getchannelwidth srcredmask srcredshift srcgreenshift getchannelshift srcgreenmask srcgreen ani_to_eight getchannelwidth srcgreenmask srcgreenshift srcblueshift getchannelshift srcbluemask srcblue ani_to_eight getchannelwidth srcbluemask srcblueshift srcalphashift getchannelshift srcalphamask srcalpha ani_to_eight getchannelwidth srcalphamask srcalphashift alphamod destpalettes destdepth destr destr destpalettes destpalettes destr ditheren destwidth destwidth destwidth destheight srcstride alphastrid destwidth type_gener_8 srcdata srcred srcredmask srcredshift srcgreen srcgreenmask srcgreenshift srcblue srcbluemask srcblueshift srcalpha srcalphamask srcalphashift type_gener_16_msb srcdata srcdata srcred srcredmask srcredshift srcgreen srcgreenmask srcgreenshift srcblue srcbluemask srcblueshift srcalpha srcalphamask srcalphashift type_gener_16_lsb srcdata srcdata srcred srcredmask srcredshift srcgreen srcgreenmask srcgreenshift srcblue srcbluemask srcblueshift srcalpha srcalphamask srcalphashift type_gener_24 srcdata srcdata srcdata srcred srcredmask srcredshift srcgreen srcgreenmask srcgreenshift srcblue srcbluemask srcblueshift srcalpha srcalphamask srcalphashift type_gener_32_msb srcdata srcdata srcdata srcdata srcred srcredmask srcredshift srcgreen srcgreenmask srcgreenshift srcblue srcbluemask srcblueshift srcalpha srcalphamask srcalphashift type_gener_32_lsb srcdata srcdata srcdata srcdata srcred srcredmask srcredshift srcgreen srcgreenmask srcgreenshift srcblue srcbluemask srcblueshift srcalpha srcalphamask srcalphashift alphamod alpha_channel_separ alphadata alpha_channel_sourc alpha_mask_unpack alphadata comput requir channel shift mask static int channel shift int mask mask 0 return 0 int i 0 mask 1 0 32 mask 1 return getchannelshift comput requir channel width depth mask static int channel width int mask int shift mask 0 return 0 int mask shift shift mask 1 0 32 mask 1 return shift getchannelwidth extract field pack rgb data mask field static byte channel field int data int mask final int shift channel shift mask return channel width mask shift data mask shift getchannelfield getchannelshift ani_to_eight getchannelwidth creat imag data band worth gradient fill block code vertic code true band tile horizont fill region tile vertic param width width region fill param height height region fill param vertic true sweep top bottom sweep left param fromrgb color start param torgb color end param red bit number signific red bit 0 palett mode param green bit number signific green bit 0 palett mode param blue bit number signific blue bit 0 palett mode return imag data static imag data creat gradient band int width int height boolean vertic rgb fromrgb rgb torgb int red bit int green bit int blue bit gradient drawn tile band final int band width band height bitmap depth final byte bitmap data final palett data palett data select algorithm depend depth screen red bit 0 green bit 0 blue bit 0 palett data palett data 0x0000ff00 0x00ff0000 0xff000000 bitmap depth 32 red bit 8 green bit 8 blue bit 8 precis color final int step vertic band width 1 band height height step band height 1 band height 1 1 band width width band height 1 step band width 1 band width 1 1 final int byte line band width 4 bitmap data byte band height byte line build precis gradient channel fromrgb blue torgb blue step band width band height vertic bitmap data 0 byte line build precis gradient channel fromrgb green torgb green step band width band height vertic bitmap data 1 byte line build precis gradient channel fromrgb red torgb red step band width band height vertic bitmap data 2 byte line dither color final int step vertic band width width 8 width 8 band height height step band height 1 band height 1 1 band width width band height height 8 height 8 step band width 1 band width 1 1 final int byte line band width 4 bitmap data byte band height byte line build dither gradient channel fromrgb blue torgb blue step band width band height vertic bitmap data 0 byte line blue bit build dither gradient channel fromrgb green torgb green step band width band height vertic bitmap data 1 byte line green bit build dither gradient channel fromrgb red torgb red step band width band height vertic bitmap data 2 byte line red bit dither tone palett data palett data rgb fromrgb torgb bitmap depth 8 final int blendi vertic band width width 8 width 8 band height height blendi band height 1 0x1040000 band height 1 1 1 band width width band height height 8 height 8 blendi band width 1 0x1040000 band width 1 1 1 final int byte line band width 3 4 bitmap data byte band height byte line vertic int dy 0 blend 0 dp 0 dy band height dy blend blendi dp byte line int dx 0 dx band width dx bitmap data dp dx blend dither matrix dy 7 dx 0x1000000 byte 0 byte 1 int dx 0 blend 0 dx band width dx blend blendi int dy 0 dptr dx dy band height dy dptr byte line bitmap data dptr blend dither matrix dy dx 7 0x1000000 byte 0 byte 1 return imag data band width band height bitmap depth palett data 4 bitmap data imagedata redbit greenbit bluebit imagedata imagedata creategradientband redbit greenbit bluebit bandwidth bandheight bitmapdepth bitmapdata palettedata palettedata redbit greenbit bluebit palettedata palettedata bitmapdepth redbit greenbit bluebit bandwidth bandheight bandheight bandheight bandwidth bandheight bandwidth bandwidth bytesperlin bandwidth bitmapdata bandheight bytesperlin buildprecisegradientchannel bandwidth bandheight bitmapdata bytesperlin buildprecisegradientchannel bandwidth bandheight bitmapdata bytesperlin buildprecisegradientchannel bandwidth bandheight bitmapdata bytesperlin bandwidth bandheight bandheight bandheight bandwidth bandheight bandwidth bandwidth bytesperlin bandwidth bitmapdata bandheight bytesperlin buildditheredgradientchannel bandwidth bandheight bitmapdata bytesperlin bluebit buildditheredgradientchannel bandwidth bandheight bitmapdata bytesperlin greenbit buildditheredgradientchannel bandwidth bandheight bitmapdata bytesperlin redbit palettedata palettedata bitmapdepth bandwidth bandheight bandheight bandheight bandwidth bandheight bandwidth bandwidth bytesperlin bandwidth bitmapdata bandheight bytesperlin bandheight bytesperlin bandwidth bitmapdata dither_matrix bandwidth bandheight bytesperlin bitmapdata dither_matrix imagedata bandwidth bandheight bitmapdepth palettedata bitmapdata static final void build precis gradient channel int int int step int band width int band height boolean vertic byte bitmap data int dp int byte line int val 16 final int 16 val step 1 vertic int dy 0 dy band height dy dp byte line bitmap data dp byte val 16 val int dx 0 dx band width dx dp 4 bitmap data dp byte val 16 val buildprecisegradientchannel bandwidth bandheight bitmapdata bytesperlin bandheight bytesperlin bitmapdata bandwidth bitmapdata static final void build dither gradient channel int int int step int band width int band height boolean vertic byte bitmap data int dp int byte line int bit final int mask 0xff00 bit int val 16 final int 16 val step 1 vertic int dy 0 dy band height dy dp byte line int dx 0 dptr dp dx band width dx dptr 4 final int thresh dither matrix dy 7 dx bit int temp val thresh temp 0xffffff bitmap data dptr 1 bitmap data dptr byte temp 16 mask val int dx 0 dx band width dx dp 4 int dy 0 dptr dp dy band height dy dptr byte line final int thresh dither matrix dy dx 7 bit int temp val thresh temp 0xffffff bitmap data dptr 1 bitmap data dptr byte temp 16 mask val buildditheredgradientchannel bandwidth bandheight bitmapdata bytesperlin bandheight bytesperlin bandwidth dither_matrix bitmapdata bitmapdata bandwidth bandheight bytesperlin dither_matrix bitmapdata bitmapdata render gradient gc gc helper param gc gc render gradient param devic devic gc belong param top left coordin region fill param top left coordin region fill param width width region fill param height height region fill param vertic true sweep top bottom sweep left param fromrgb color start param torgb color end param red bit number signific red bit 0 palett mode param green bit number signific green bit 0 palett mode param blue bit number signific blue bit 0 palett mode static void fill gradient rectangl gc gc devic devic int int int width int height boolean vertic rgb fromrgb rgb torgb int red bit int green bit int blue bit creat bitmap tile imag data band creat gradient band width height vertic fromrgb torgb red bit green bit blue bit imag imag imag devic band band width 1 band height 1 gc draw imag imag 0 0 band width band height width height vertic int dx 0 dx width dx band width int blit width width dx blit width band width blit width band width gc draw imag imag 0 0 blit width band height dx blit width band height int dy 0 dy height dy band height int blit height height dy blit height band height blit height band height gc draw imag imag 0 0 band width blit height dy band width blit height imag dispos redbit greenbit bluebit fillgradientrectangl redbit greenbit bluebit imagedata creategradientband redbit greenbit bluebit drawimag blitwidth blitwidth blitwidth drawimag blitwidth blitwidth blitheight blitheight blitheight drawimag blitheight blitheight construct empti imag loader public imag loader reset imageload imageload reset field imag loader code imag loader listen code field void reset data null logic screen width 0 logic screen height 0 background pixel 1 repeat count 1 imageload imageloaderlisten logicalscreenwidth logicalscreenheight backgroundpixel repeatcount load arrai code imag data code object input stream throw error error occur load imag imag support type return load imag data arrai param stream input stream load imag return arrai code imag data code object load input stream except illeg argument except ul li error null argument stream null li ul except swt except ul li error invalid imag imag file invalid data li li error io input output error occur read data li ul public imag data load input stream stream stream null swt error swt error null argument reset data file format load stream return data imagedata imagedata illegalargumentexcept error_null_argument swtexcept error_invalid_imag error_io imagedata inputstream error_null_argument fileformat load arrai code imag data code object file throw error error occur load imag imag support type return load imag data arrai param filenam the file load imag return arrai code imag data code object load file except illeg argument except ul li error null argument file null li ul except swt except ul li error invalid imag imag file invalid data li li error io io error occur read data li ul public imag data load string filenam filenam null swt error swt error null argument input stream stream null try stream compat file input stream filenam return load stream catch io except swt error swt error io final try stream null stream close catch io except ignor error return null imagedata imagedata illegalargumentexcept error_null_argument swtexcept error_invalid_imag error_io imagedata error_null_argument inputstream newfileinputstream ioexcept error_io ioexcept save imag data imag loader stream format paramet valu dl dt code imag bmp code dt dd window bmp file format compress dd dt code imag bmp rle code dt dd window bmp file format rle compress dd dt code imag gif code dt dd gif file format dd dt code imag ico code dt dd window ico file format dd dt code imag jpeg code dt dd jpeg file format dd dt code imag png code dt dd png file format dd dl param stream output stream write imag param format format write imag except illeg argument except ul li error null argument stream null li ul except swt except ul li error invalid imag imag data invalid data li li error io io error occur write stream li ul public void save output stream stream int format stream null swt error swt error null argument file format save stream format imageload imag_bmp imag_bmp_rle imag_gif imag_ico imag_jpeg imag_png illegalargumentexcept error_null_argument swtexcept error_invalid_imag error_io outputstream error_null_argument fileformat save imag data imag loader file the format paramet valu dl dt code imag bmp code dt dd window bmp file format compress dd dt code imag bmp rle code dt dd window bmp file format rle compress dd dt code imag gif code dt dd gif file format dd dt code imag ico code dt dd window ico file format dd dt code imag jpeg code dt dd jpeg file format dd dt code imag png code dt dd png file format dd dl param filenam the file write imag param format format write imag except illeg argument except ul li error null argument file null li ul except swt except ul li error invalid imag imag data invalid data li li error io io error occur write file li ul public void save string filenam int format filenam null swt error swt error null argument output stream stream null try stream compat file output stream filenam catch io except swt error swt error io save stream format imageload imag_bmp imag_bmp_rle imag_gif imag_ico imag_jpeg imag_png illegalargumentexcept error_null_argument swtexcept error_invalid_imag error_io error_null_argument outputstream newfileoutputstream ioexcept error_io add listen receiv imag loader event imag loader listen ad invok receiv load method listen code imag data load code method call imag data partial load support interlac gif png progress jpeg imag param listen imag loader listen add except illeg argument except ul li error null argument listen null li ul imag loader listen imag loader event public void add imag loader listen imag loader listen listen listen null swt error swt error null argument imag loader listen null imag loader listen vector imag loader listen add element listen imageloaderlisten imagedataload imageloaderlisten illegalargumentexcept error_null_argument imageloaderlisten imageloaderev addimageloaderlisten imageloaderlisten error_null_argument imageloaderlisten imageloaderlisten imageloaderlisten addel remov listen receiv imag loader event param listen imag loader listen remov except illeg argument except ul li error null argument listen null li ul add imag loader listen imag loader listen public void remov imag loader listen imag loader listen listen listen null swt error swt error null argument imag loader listen null return imag loader listen remov element listen imageloaderlisten illegalargumentexcept error_null_argument addimageloaderlisten imageloaderlisten removeimageloaderlisten imageloaderlisten error_null_argument imageloaderlisten imageloaderlisten removeel return code true code receiv imag loader listen code fals code return code true code code imag loader listen code code fals code add imag loader listen imag loader listen remov imag loader listen imag loader listen public boolean listen return imag loader listen null imag loader listen size 0 imageloaderlisten addimageloaderlisten imageloaderlisten removeimageloaderlisten imageloaderlisten haslisten imageloaderlisten imageloaderlisten notifi imag loader listen imag loader event occur pass event object listen param event code imag loader event code send code imag loader listen code public void notifi listen imag loader event event listen return int size imag loader listen size int 0 size imag loader listen listen imag loader listen imag loader listen element listen imag data load event imageloaderev imageloaderlisten notifylisten imageloaderev haslisten imageloaderlisten imageloaderlisten imageloaderlisten imageloaderlisten elementat imagedataload construct instanc class event sourc valu store field param sourc imag loader load event occur param imag data imag data event param increment count imag data increment event param end imag end imag flag event public imag loader event imag loader sourc imag data imag data int increment count boolean end imag super sourc imag data imag data increment count increment count end imag end imag imageload imagedata incrementcount endofimag imageloaderev imageload imagedata imagedata incrementcount endofimag imagedata imagedata incrementcount incrementcount endofimag endofimag return string concis human readabl descript receiv return string represent event public string string return imag loader event sourc sourc imag data imag data increment count increment count end imag end imag non nl 1 non nl 2 non nl 3 non nl 4 non nl 5 tostr imageloaderev imagedata imagedata incrementcount incrementcount endofimag endofimag imag data partial complet load time method call vari depend format imag load param event inform imag load oper construct index palett arrai rgb valu param color arrai code rgb code palett except illeg argument except ul li error null argument argument null li ul public palett data rgb color color null swt error swt error null argument color color direct fals illegalargumentexcept error_null_argument palettedata error_null_argument isdirect construct direct palett red green blue mask param red mask red mask param green mask green mask param blue mask blue mask public palett data int red mask int green mask int blue mask red mask red mask green mask green mask blue mask blue mask direct true red shift shift mask red mask green shift shift mask green mask blue shift shift mask blue mask redmask greenmask bluemask palettedata redmask greenmask bluemask redmask redmask greenmask greenmask bluemask bluemask isdirect redshift shiftformask redmask greenshift shiftformask greenmask blueshift shiftformask bluemask return pixel code rbg code param rgb rgb pixel return pixel rgb except illeg argument except ul li error null argument argument null li li error invalid argument rgb found palett li ul public int pixel rgb rgb rgb null swt error swt error null argument direct int pixel 0 pixel red shift 0 rgb red red shift rgb red red shift red mask pixel green shift 0 rgb green green shift rgb green green shift green mask pixel blue shift 0 rgb blue blue shift rgb blue blue shift blue mask return pixel int 0 color length color equal rgb return rgb exist palett swt error swt error invalid argument return 0 illegalargumentexcept error_null_argument error_invalid_argument getpixel error_null_argument isdirect redshift redshift redshift redmask greenshift greenshift greenshift greenmask blueshift blueshift blueshift bluemask error_invalid_argument return code rgb code pixel param pixel pixel rgb return rgb pixel except illeg argument except ul li error null argument argument null li li error invalid argument pixel exist palett li ul public rgb getrgb int pixel direct int pixel red mask red shift 0 red shift red shift int pixel green mask green shift 0 green shift green shift int pixel blue mask blue shift 0 blue shift blue shift return rgb pixel 0 pixel color length swt error swt error invalid argument return color pixel illegalargumentexcept error_null_argument error_invalid_argument isdirect redmask redshift redshift redshift greenmask greenshift greenshift greenshift bluemask blueshift blueshift blueshift error_invalid_argument return rgb valu receiv index palett null direct palett return code rgb code receiv null public rgb getrg bs return color getrgb comput shift mask param mask mask comput shift return shift amount palett data int shift mask int mask int 31 0 mask 0x1 0 return 7 return 32 palettedata shiftformask construct point coordin param x coordin point param y coordin point public point int int x y compar argument receiv return true repres em em object class specif comparison param object object compar object return code true code object object code fals code hash code public boolean equal object object object return true object instanceof point return fals point point object return x y hashcod return integ hash code receiv object return code true code pass code equal code return method return receiv hash equal object public int hash code return hashcod return string concis human readabl descript receiv return string represent point public string string return point non nl 1 non nl 2 non nl 3 tostr construct instanc class width height valu param x coordin origin rectangl param y coordin origin rectangl param width width rectangl param height height rectangl public rectangl int int int width int height x y width width height height destruct replac width height valu receiv repres union rectangl receiv rectangl union rectangl smallest singl rectangl complet cover area cover rectangl param rect rectangl merg receiv except illeg argument except ul li error null argument argument null li ul public void add rectangl rect rect null swt error swt error null argument int left rect x rect int top rect y rect int lh width int rh rect rect width int lh rh lh rh lh height rh rect rect height int bottom lh rh lh rh left top width left height bottom top illegalargumentexcept error_null_argument error_null_argument return code true code point argument insid area receiv code fals code param x coordin point test contain param y coordin point test contain return code true code rectangl point code fals code public boolean int int return x y x width y height return code true code point insid area receiv code fals code param pt point test contain return code true code rectangl point code fals code except illeg argument except ul li error null argument argument null li ul public boolean point pt pt null swt error swt error null argument return pt pt illegalargumentexcept error_null_argument error_null_argument compar argument receiv return true repres em em object class specif comparison param object object compar object return code true code object object code fals code hash code public boolean equal object object object return true object instanceof rectangl return fals rectangl rectangl object return x y width width height height hashcod return integ hash code receiv object return code true code pass code equal code return method return receiv hash equal object public int hash code return width height hashcod destruct replac width height valu receiv repres intersect rectangl receiv rectangl param rect rectangl intersect receiv except illeg argument except ul li error null argument argument null li ul 3 0 public void intersect rectangl rect rect null swt error swt error null argument rect return int left rect x rect int top rect y rect int lh width int rh rect rect width int lh rh lh rh lh height rh rect rect height int bottom lh rh lh rh left 0 left bottom top 0 top width left 0 left height bottom top 0 bottom top illegalargumentexcept error_null_argument error_null_argument return rectangl repres intersect receiv rectangl intersect rectangl rectangl cover area contain rectangl param rect rectangl intersect receiv return intersect receiv argument except illeg argument except ul li error null argument argument null li ul public rectangl intersect rectangl rect rect null swt error swt error null argument rect return rectangl width height int left rect x rect int top rect y rect int lh width int rh rect rect width int lh rh lh rh lh height rh rect rect height int bottom lh rh lh rh return rectangl left 0 left bottom top 0 top left 0 left bottom top 0 bottom top illegalargumentexcept error_null_argument error_null_argument return code true code rectangl argument intersect receiv code fals code rectangl intersect area rectangl repres intersect empti param x coordin origin rectangl param y coordin origin rectangl param width width rectangl param height height rectangl return code true code rectangl intersect receiv code fals code except illeg argument except ul li error null argument argument null li ul intersect rectangl empti 3 0 public boolean intersect int int int width int height return x width y height width height illegalargumentexcept error_null_argument isempti return code true code rectangl intersect receiv code fals code rectangl intersect area rectangl repres intersect empti param rect rectangl test intersect return code true code rectangl intersect receiv code fals code except illeg argument except ul li error null argument argument null li ul intersect rectangl empti public boolean intersect rectangl rect rect null swt error swt error null argument return rect intersect rect rect rect width rect height illegalargumentexcept error_null_argument isempti error_null_argument return code true code receiv cover area coordin plane code fals code receiv cover area plane rectangl consid em cover area em coordin plane width height non return code true code receiv empti code fals code public boolean empti return width 0 height 0 isempti return string concis human readabl descript receiv return string represent rectangl public string string return rectangl width height non nl 1 non nl 2 non nl 3 non nl 4 non nl 5 tostr return rectangl repres union receiv rectangl union rectangl smallest singl rectangl complet cover area cover rectangl param rect rectangl perform union return union receiv argument except illeg argument except ul li error null argument argument null li ul add rectangl public rectangl union rectangl rect rect null swt error swt error null argument int left rect x rect int top rect y rect int lh width int rh rect rect width int lh rh lh rh lh height rh rect rect height int bottom lh rh lh rh return rectangl left top left bottom top illegalargumentexcept error_null_argument error_null_argument construct instanc class red green blue valu param red red compon instanc param green green compon instanc param blue blue compon instanc except illeg argument except ul li error invalid argument red green blue argument 0 255 li ul public rgb int red int green int blue red 255 red 0 green 255 green 0 blue 255 blue 0 swt error swt error invalid argument red red green green blue blue illegalargumentexcept error_invalid_argument error_invalid_argument compar argument receiv return true repres em em object class specif comparison param object object compar object return code true code object object code fals code hash code public boolean equal object object object return true object instanceof rgb return fals rgb rgb rgb object return rgb red red rgb green green rgb blue blue hashcod return integ hash code receiv object return code true code pass code equal code return method return receiv hash equal object public int hash code return blue 16 green 8 red hashcod return string concis human readabl descript receiv return string represent code rgb code public string string return rgb red green blue non nl 1 non nl 2 non nl 3 non nl 4 tostr creat text style font foreground background param font font style code null code param foreground foreground color style code null code param background background color style code null code public text style font font color foreground color background font null font dispos swt error swt error invalid argument foreground null foreground dispos swt error swt error invalid argument background null background dispos swt error swt error invalid argument font font foreground foreground background background textstyl isdispos error_invalid_argument isdispos error_invalid_argument isdispos error_invalid_argument public boolean equal object object object return true object null return fals object instanceof text style return fals text style style text style object foreground null foreground equal style foreground return fals style foreground null return fals background null background equal style background return fals style background null return fals font null font equal style font return fals style font null return fals return true textstyl textstyl textstyl public int hash code int hash super hash code font null hash font hash code foreground null hash foreground hash code background null hash background hash code return hash hashcod hashcod hashcod hashcod hashcod construct instanc class object send messag string name method invok argument count note object instanc code class code assum method static method class param object object send messag param method the method invok param arg count number argument method take public callback object object string method int arg count object method arg count fals argcount argcount argcount construct instanc class object send messag string name method invok argument count flag indic argument pass arrai note object instanc code class code assum method static method class param object object send messag param method the method invok param arg count number argument method take param arrai base code true code argument pass arrai fals public callback object object string method int arg count boolean arrai base set callback field object object method method arg count arg count static object instanceof class arrai base arrai base inlin common case arrai base signatur signatur switch arg count case 0 signatur signatur 0 break non nl 1 case 1 signatur signatur 1 break non nl 1 case 2 signatur signatur 2 break non nl 1 case 3 signatur signatur 3 break non nl 1 case 4 signatur signatur 4 break non nl 1 default signatur signatur arg count bind address address bind argcount isarraybas argcount isarraybas argcount argcount isstat isarraybas isarraybas isarraybas signatur_n argcount signatur_0 signatur_1 signatur_2 signatur_3 signatur_4 getsignatur argcount static final nativ int ptr sizeof ptr_sizeof alloc nativ level resourc callback method invok constructor argument param callback callback bind releas nativ level resourc callback remov refer callback object help prevent bad applic code accident hold extran garbag public void dispos object null return unbind object method signatur null address 0 return address block machin code invok callback repres receiv return callback address public int address return address getaddress return swt platform return platform run swt return number time system recurs enter callback note call applic code return entri count 2 1 static string signatur int arg count string signatur non nl 1 int 0 arg count signatur ptr signatur signatur ptr signatur non nl 1 return signatur getsignatur argcount argcount ptr_signatur ptr_signatur callback trigger nativ level messag match code callback code object invok method safe shut swt run environ gener spuriou event note call applic code param enabl true callback invok return callback trigger nativ level messag match code callback code object invok method safe shut swt run environ gener spuriou event note call applic code return true callback invok call directli nativ code environ gener spuriou event check remov deprec param ignor true callback invok static final void ignor callback boolean ignor set enabl ignor ignorecallback seten immedi wipe nativ level em em callback warn oper em extrem em danger perform applic code releas nativ level resourc callback dispos byte bit invert data byte data int start index int end index destruct bit invert data byte arrai int start index end index data byte 255 data start index return data bitinvertdata startindex endindex startindex endindex startindex return input stream repres support file format abstract boolean file format le data input stream stream abstract imag data load byte stream isfileformat ledatainputstream imagedata loadfrombytestream public imag data load stream le data input stream stream try input stream stream return load byte stream catch except swt error swt error io return null imagedata loadfromstream ledatainputstream inputstream loadfrombytestream error_io public static imag data load input stream imag loader loader file format file format null le data input stream stream le data input stream boolean support fals int 1 format length format null try class clazz class format packag format format suffix file format file format clazz instanc file format file format stream support true break catch class found except format null catch except support swt error swt error unsupport format file format loader loader return file format load stream stream imagedata inputstream imageload fileformat fileformat ledatainputstream ledatainputstream issupport fornam format_packag format_suffix fileformat fileformat newinst fileformat isfileformat issupport classnotfoundexcept issupport error_unsupport_format fileformat fileformat loadfromstream public static void save output stream os int format imag loader loader format 0 format format length swt error swt error invalid argument format format null swt error swt error invalid argument support write multi imag file imag data loader arrai imag data data loader data 0 le data output stream stream le data output stream os file format file format null try class clazz class format packag format format format suffix file format file format clazz instanc catch except swt error swt error invalid argument format swt imag bmp rle switch data depth case 8 file format compress 1 break case 4 file format compress 2 break file format unload stream data stream outputstream imageload error_invalid_argument error_invalid_argument imagedata ledataoutputstream ledataoutputstream fileformat fileformat fornam format_packag format_suffix fileformat fileformat newinst error_invalid_argument imag_bmp_rle fileformat fileformat fileformat unloadintostream abstract void unload byte stream imag data imag unloadintobytestream imagedata public void unload stream imag data imag le data output stream stream try output stream stream unload byte stream imag output stream close catch except try output stream close catch except swt error swt error io unloadintostream imagedata ledataoutputstream outputstream unloadintobytestream outputstream outputstream error_io answer palett num grai shade grai rang black white static palett data grai ramp int num grai int num grai 1 rgb color rgb num grai int 0 num grai int intens byte 3 256 color rgb intens intens intens return palett data color numgrai palettedata grayramp numgrai numgrai numgrai numgrai palettedata boolean file format le data input stream stream try byte signatur byte 3 stream read signatur stream unread signatur return string signatur equal gif non nl 1 catch except return fals isfileformat ledatainputstream load gif imag store input stream return arrai imag data repres imag imag data load byte stream byte signatur byte byte 3 byte version byte byte 3 byte block byte 7 try input stream read signatur byte signatur string signatur byte signatur equal gif non nl 1 swt error swt error invalid imag input stream read version byte version string version byte input stream read block catch io except swt error swt error io screen width block 0 0xff block 1 0xff 8 loader logic screen width screen width screen height block 2 0xff block 3 0xff 8 loader logic screen height screen height byte bit field block 4 background pixel block 5 0xff aspect block 6 0xff bit pixel bit field 4 0x07 1 default depth bit field 0x7 1 palett data palett null bit field 0x80 0 global palett sort bit field 0x8 0 palett read palett 1 default depth global palett sort fals background pixel 1 default depth bit pixel loader background pixel background pixel extens int id readid imag data imag imag data 0 id gif imag block id imag data imag read imag block palett loader listen loader notifi listen imag loader event loader imag 3 true imag data imag imag imag imag data imag length 1 system arraycopi imag 0 imag 0 imag length imag imag length 1 imag try read 0 byte termin end imag id input stream read id 0 read termin earlier input stream unread byte byte id catch io except swt error swt error io extens id readid return imag imagedata imagedata loadfrombytestream signaturebyt versionbyt inputstream signaturebyt signaturebyt error_invalid_imag inputstream versionbyt versionbyt inputstream ioexcept error_io screenwidth logicalscreenwidth screenwidth screenheight logicalscreenheight screenheight bitfield backgroundpixel bitsperpixel bitfield defaultdepth bitfield palettedata bitfield bitfield readpalett defaultdepth backgroundpixel defaultdepth bitsperpixel backgroundpixel backgroundpixel getextens imagedata imagedata gif_imag_block_id imagedata readimageblock haslisten notifylisten imageloaderev imagedata oldimag imagedata oldimag oldimag oldimag inputstream inputstream ioexcept error_io getextens read return block extens identifi file int readid try return input stream read catch io except swt error swt error io return 1 inputstream ioexcept error_io read extens imag descriptor appear futur care extens properli group imag data appear interest part extens rest discard throw error error occur void extens int id readid id gif imag block id id gif trailer id id 0 id gif extens block id read extens swt error swt error invalid imag id readid id gif imag block id id gif trailer id try input stream unread byte byte id catch io except swt error swt error io getextens gif_imag_block_id gif_trailer_id gif_extens_block_id readextens error_invalid_imag gif_imag_block_id gif_trailer_id inputstream ioexcept error_io read control extens return extens block data byte read extens int extensionid readid extensionid gif comment block id return read comment extens extensionid gif plain text block id return read plain text extens extensionid gif graphic control block id return read graphic control extens extensionid gif applic extens block id return read applic extens don recogn block field size correct skip block content try int ext size input stream read ext size 0 swt error swt error invalid imag byte ext byte ext size input stream read ext 0 ext size return ext catch io except swt error swt error io return null readextens gif_comment_block_id readcommentextens gif_plain_text_block_id readplaintextextens gif_graphic_control_block_id readgraphicscontrolextens gif_applic_extens_block_id readapplicationextens extsiz inputstream extsiz error_invalid_imag extsiz inputstream extsiz ioexcept error_io read comment extens identifi input stream read rest comment return gif comment block variabl size byte read comment extens try byte comment byte 0 byte block byte 255 int size input stream read size 0 input stream read block 0 size 1 byte comment comment comment byte comment length size system arraycopi comment 0 comment 0 comment length system arraycopi block 0 comment comment length size size input stream read return comment catch except swt error swt error io return null readcommentextens inputstream inputstream oldcom oldcom oldcom oldcom oldcom inputstream error_io read plain text extens identifi input stream read plain text info text return text gif plain text block variabl size byte read plain text extens try read size block 0x0c input stream read read text inform width height color byte info byte 12 input stream read info read text byte text byte 0 byte block byte 255 int size input stream read size 0 input stream read block 0 size 1 byte text text text byte text length size system arraycopi text 0 text 0 text length system arraycopi block 0 text text length size size input stream read return text catch except swt error swt error io return null plaintext readplaintextextens inputstream inputstream inputstream inputstream oldtext oldtext oldtext oldtext oldtext inputstream error_io read graphic control extens identifi input stream read control inform store return byte read graphic control extens try read size block 0x04 input stream read read control block byte control block byte 4 input stream read control block byte bit field control block 0 store user input field user input bit field 0x02 0 store dispos method dispos method bit field 2 0x07 store delai delai control block 1 0xff control block 2 0xff 8 store transpar color bit field 0x01 0 int color index control block 3 0xff custom gif specifi invalid color index larger number entri palett detect case ignor color index color index 1 default depth transpar pixel color index transpar pixel 1 read block termin input stream read return control block catch except swt error swt error io return null graphicscontrol readgraphicscontrolextens inputstream controlblock inputstream controlblock bitfield controlblock userinput bitfield disposalmethod bitfield delaytim controlblock controlblock bitfield colorindex controlblock colorindex defaultdepth transparentpixel colorindex transparentpixel inputstream controlblock error_io read applic extens identifi input stream read rest extens look store number repeat return data byte read applic extens try read size block 0x0b input stream read read applic identifi byte applic byte byte 8 input stream read applic byte string applic string applic byte read authent code byte authent byte byte 3 input stream read authent byte string authent string authent byte read applic data byte data byte 0 byte block byte 255 int size input stream read size 0 input stream read block 0 size 1 byte data data data byte data length size system arraycopi data 0 data 0 data length system arraycopi block 0 data data length size size input stream read look netscap repeat count field anim gif applic equal netscap authent equal 2 0 data 0 01 non nl 1 non nl 2 repeat count data 1 0xff data 2 0xff 8 loader repeat count repeat count return data catch except swt error swt error io return null readapplicationextens inputstream applicationbyt inputstream applicationbyt applicationbyt authenticationbyt inputstream authenticationbyt authenticationbyt inputstream inputstream olddata olddata olddata olddata olddata inputstream repeatcount repeatcount repeatcount error_io return devic independ imag repres imag block current posit input stream throw error error occur imag data read imag block palett data default palett int depth palett data palett byte block byte 9 try input stream read block catch io except swt error swt error io int left block 0 0xff block 1 0xff 8 int top block 2 0xff block 3 0xff 8 int width block 4 0xff block 5 0xff 8 int height block 6 0xff block 7 0xff 8 byte bit field block 8 boolean interlac bit field 0x40 0 boolean sort bit field 0x20 0 bit field 0x80 0 local palett depth bit field 0x7 1 palett read palett 1 depth local palett depth default depth palett default palett promot depth highest support depth 1 depth 4 depth 8 depth 4 depth 4 depth 8 palett null palett grai ramp 1 depth int initi code size 1 try initi code size input stream read catch io except swt error swt error io initi code size 0 swt error swt error invalid imag imag data imag imag data intern width height depth palett 4 null 0 null null 1 transpar pixel swt imag gif left top dispos method delai lzw codec codec lzw codec codec decod input stream loader imag interlac initi code size return imag deviceindependentimag imagedata readimageblock palettedata defaultpalett palettedata inputstream ioexcept error_io bitfield bitfield bitfield bitfield bitfield readpalett defaultdepth defaultpalett grayramp initialcodes initialcodes inputstream ioexcept error_io initialcodes error_invalid_imag imagedata imagedata intern_new transparentpixel imag_gif disposalmethod delaytim lzwcodec lzwcodec inputstream initialcodes read palett input stream palett data read palett int num color byte byte byte num color 3 try input stream read byte byte length swt error swt error invalid imag catch io except swt error swt error io rgb color rgb num color int 0 num color color rgb byte 3 0xff byte 3 1 0xff byte 3 2 0xff return palett data color palettedata readpalett numcolor numcolor inputstream error_invalid_imag ioexcept error_io numcolor numcolor palettedata write devic independ imag output stream void unload byte stream imag data imag imag depth 1 imag depth 4 imag depth 8 swt error swt error unsupport depth byte bit field byte 0x80 0xf8 0xf7 0x8f imag depth 1 imag depth 1 16 try output stream write byte byte byte byte output stream write byte byte 8 byte 9 byte output stream write short short imag width output stream write short short imag height output stream write byte bit field output stream write byte byte 0 output stream write byte byte 0 catch io except swt error swt error io write palett imag palett imag depth imag transpar pixel 1 imag dispos method 0 imag delai 0 write graphic control block imag write imag block imag try output stream write 0x3b catch io except swt error swt error io unloadintobytestream imagedata error_unsupport_depth bitfield outputstream outputstream outputstream writeshort outputstream writeshort outputstream writebyt bitfield outputstream writebyt outputstream writebyt ioexcept error_io writepalett transparentpixel disposalmethod delaytim writegraphicscontrolblock writeimageblock outputstream ioexcept error_io write graphic control block describ devic independ imag void write graphic control block imag data imag try output stream write gif extens block id output stream write gif graphic control block id output stream write 0x04 size block byte gc block byte 4 gc block 0 byte 0xfd gc block 1 0 gc block 2 0 gc block 3 0 imag transpar pixel 1 gc block 0 byte gc block 0 0xfe gc block 0 byte gc block 0 0x01 gc block 3 byte imag transpar pixel imag dispos method 0 gc block 0 byte gc block 0 imag dispos method 0x07 2 imag delai 0 gc block 1 byte imag delai 0xff gc block 2 byte imag delai 8 0xff output stream write gc block output stream write 0 block termin catch io except swt error swt error io graphicscontrolblock writegraphicscontrolblock imagedata outputstream gif_extens_block_id outputstream gif_graphic_control_block_id outputstream gcblock gcblock gcblock gcblock gcblock transparentpixel gcblock gcblock gcblock gcblock gcblock transparentpixel disposalmethod gcblock gcblock disposalmethod delaytim gcblock delaytim gcblock delaytim outputstream gcblock outputstream ioexcept error_io write devic independ imag current posit output stream void write imag block imag data imag try output stream write gif imag block id byte block byte 9 block 0 byte imag 0xff block 1 byte imag 8 0xff block 2 byte imag 0xff block 3 byte imag 8 0xff block 4 byte imag width 0xff block 5 byte imag width 8 0xff block 6 byte imag height 0xff block 7 byte imag height 8 0xff block 8 0 interlac sort local palett output stream write block output stream write imag depth catch io except swt error swt error io lzw codec encod output stream imag writeimageblock imagedata outputstream gif_imag_block_id outputstream outputstream ioexcept error_io lzwcodec outputstream write palett output stream void write palett palett data palett int depth byte byte byte 1 depth 3 int offset 0 int 0 palett color length rgb color palett color byte offset byte color red byte offset 1 byte color green byte offset 2 byte color blue offset 3 try output stream write byte catch io except swt error swt error io writepalett palettedata outputstream ioexcept error_io final class jpeg appn extend jpeg variabl size segment public jpeg appn byte refer super refer jpegappn jpegvariablesizeseg jpegappn public jpeg appn le data input stream byte stream super byte stream jpegappn ledatainputstream bytestream bytestream public boolean verifi int marker segment marker return marker jpeg file format app0 marker jpeg file format app15 getsegmentmark jpegfileformat jpegfileformat final class jpeg arithmet condit tabl extend jpeg variabl size segment public jpeg arithmet condit tabl le data input stream byte stream super byte stream jpegarithmeticconditioningt jpegvariablesizeseg jpegarithmeticconditioningt ledatainputstream bytestream bytestream public int signatur return jpeg file format dac jpegfileformat final class jpeg comment extend jpeg variabl size segment public jpeg comment byte refer super refer jpegcom jpegvariablesizeseg jpegcom public jpeg comment le data input stream byte stream super byte stream jpegcom ledatainputstream bytestream bytestream public int signatur return jpeg file format com jpegfileformat final class jpeg end imag extend jpeg fix size segment public jpeg end imag super jpegendofimag jpegfixedsizeseg jpegendofimag public jpeg end imag byte refer super refer jpegendofimag public int signatur return jpeg file format eoi jpegfileformat public int fix size return 2 fixeds void compress imag data imag byte datai comp byte data cb comp byte data cr comp int src width imag width int src height imag height int vh factor maxv maxh int frame compon imag compon byte compon int 0 compon frame compon frame compon compon id imag compon byte frame compon cw frame compon ch frame compon frame compon compon id id int po 0 po src height po int src of po src width int dst of po frame compon cw system arraycopi datai comp src of imag compon id dst of src width frame compon frame compon compon id id cb int po 0 po src height maxv po int dest row index po frame compon cw int po 0 po src width maxh po int sum 0 int iv 0 iv maxv iv int src index po maxv iv src width po maxh int ih 0 ih maxh ih sum data cb comp src index ih 0xff imag compon id cb dest row index po byte sum vh factor frame compon frame compon compon id id cr int po 0 po src height maxv po int dest row index po frame compon cw int po 0 po src width maxh po int sum 0 int iv 0 iv maxv iv int src index po maxv iv src width po maxh int ih 0 ih maxh ih sum data cr comp src index ih 0xff imag compon id cr dest row index po byte sum vh factor int comp 0 comp compon comp byte imag compon imag compon comp frame compon frame compon compon id comp int factor frame compon hi int factor frame compon vi int compon width frame compon cw int compon height frame compon ch int compress width src width maxh factor int compress height src height maxv factor compress width compon width int delta compon width compress width int po 0 po compress height po int dst of po 1 compon width delta int data imag compon dst of 1 0xff int 0 delta imag compon dst of byte data compress height compon height int src of compress height 1 compon width int po compress height po compon height po int dst of po 1 compon width system arraycopi imag compon src of imag compon dst of compon width imagedata dataycomp datacbcomp datacrcomp srcwidth srcheight vhfactor framecompon imagecompon ncompon ncompon framecompon framecompon componentid imagecompon framecompon framecompon framecompon framecompon componentid id_y ypo ypo srcheight ypo srcof ypo srcwidth dstof ypo framecompon dataycomp srcof imagecompon id_y dstof srcwidth framecompon framecompon componentid id_cb ypo ypo srcheight ypo destrowindex ypo framecompon xpo xpo srcwidth xpo srcindex ypo srcwidth xpo datacbcomp srcindex imagecompon id_cb destrowindex xpo vhfactor framecompon framecompon componentid id_cr ypo ypo srcheight ypo destrowindex ypo framecompon xpo xpo srcwidth xpo srcindex ypo srcwidth xpo datacrcomp srcindex imagecompon id_cr destrowindex xpo vhfactor icomp icomp ncompon icomp imagecompon imagecompon icomp framecompon framecompon componentid icomp hfactor framecompon vfactor framecompon componentwidth framecompon componentheight framecompon compressedwidth srcwidth hfactor compressedheight srcheight vfactor compressedwidth componentwidth componentwidth compressedwidth ypo ypo compressedheight ypo dstof ypo componentwidth datavalu imagecompon dstof imagecompon dstof datavalu compressedheight componentheight srcof compressedheight componentwidth ypo compressedheight ypo componentheight ypo dstof ypo componentwidth imagecompon srcof imagecompon dstof componentwidth void convert4 bitrgb toi cb cr imag data imag rgb rgb imag getrg bs int palett size rgb length byte comp byte palett size byte cb comp byte palett size byte cr comp byte palett size int src width imag width int src height imag height int 0 palett size rgb color rgb int color red int color green int color blue int ry tabl gy tabl tabl comp byte 65536 0 65536 0 comp cb tabl cb tabl cb tabl cb comp byte 65536 0 65536 0 cb comp cr tabl cr tabl cr tabl cr comp byte 65536 0 65536 0 cr comp int size src width src height byte datai comp byte size byte data cb comp byte size byte data cr comp byte size byte orig data imag data int po 0 po src height po int po 0 po src width 2 po int src index po src width 2 po int dst index po src width po 2 int valu2 orig data src index 0xff int valu1 valu2 16 valu2 valu2 16 datai comp dst index comp valu1 data cb comp dst index cb comp valu1 data cr comp dst index cr comp valu1 datai comp dst index 1 comp valu2 data cb comp dst index 1 cb comp valu2 data cr comp dst index 1 cr comp valu2 compress imag datai comp data cb comp data cr comp convert4bitrgbtoycbcr imagedata getrgb palettes ycomp palettes cbcomp palettes crcomp palettes srcwidth srcheight palettes rytabl gytabl bytabl ycomp ycomp rcbtabl gcbtabl bcbtabl cbcomp cbcomp rcrtabl gcrtabl bcrtabl crcomp crcomp bsize srcwidth srcheight dataycomp bsize datacbcomp bsize datacrcomp bsize origdata ypo ypo srcheight ypo xpo xpo srcwidth xpo srcindex ypo srcwidth xpo dstindex ypo srcwidth xpo origdata srcindex dataycomp dstindex ycomp datacbcomp dstindex cbcomp datacrcomp dstindex crcomp dataycomp dstindex ycomp datacbcomp dstindex cbcomp datacrcomp dstindex crcomp dataycomp datacbcomp datacrcomp void convert8 bitrgb toi cb cr imag data imag rgb rgb imag getrg bs int palett size rgb length byte comp byte palett size byte cb comp byte palett size byte cr comp byte palett size int src width imag width int src height imag height int 0 palett size rgb color rgb int color red int color green int color blue int ry tabl gy tabl tabl comp byte 65536 0 65536 0 comp cb tabl cb tabl cb tabl cb comp byte 65536 0 65536 0 cb comp cr tabl cr tabl cr tabl cr comp byte 65536 0 65536 0 cr comp int dst width imag width int dst height src height int stride src width 3 4 4 int size dst width dst height byte datai comp byte size byte data cb comp byte size byte data cr comp byte size byte orig data imag data int po 0 po src height po int src row index po stride int dst row index po dst width int po 0 po src width po int orig data src row index po 0xff int dst index dst row index po datai comp dst index comp data cb comp dst index cb comp data cr comp dst index cr comp compress imag datai comp data cb comp data cr comp convert8bitrgbtoycbcr imagedata getrgb palettes ycomp palettes cbcomp palettes crcomp palettes srcwidth srcheight palettes rytabl gytabl bytabl ycomp ycomp rcbtabl gcbtabl bcbtabl cbcomp cbcomp rcrtabl gcrtabl bcrtabl crcomp crcomp dstwidth dstheight srcheight srcwidth bsize dstwidth dstheight dataycomp bsize datacbcomp bsize datacrcomp bsize origdata ypo ypo srcheight ypo srcrowindex ypo dstrowindex ypo dstwidth xpo xpo srcwidth xpo origdata srcrowindex xpo dstindex dstrowindex xpo dataycomp dstindex ycomp datacbcomp dstindex cbcomp datacrcomp dstindex crcomp dataycomp datacbcomp datacrcomp compress imag datai comp data cb comp data cr comp byte convertcmyk torgb unsupport cmyk format answer empti byte arrai return byte 0 dataycomp datacbcomp datacrcomp convertcmyktorgb void convert imag toi cb cr imag data imag switch imag depth case 4 convert4 bitrgb toi cb cr imag return case 8 convert8 bitrgb toi cb cr imag return case 16 case 24 case 32 convert multirgb toi cb cr imag return default swt error swt error unsupport depth return convertimagetoycbcr imagedata convert4bitrgbtoycbcr convert8bitrgbtoycbcr convertmultirgbtoycbcr error_unsupport_depth void convert multirgb toi cb cr imag data imag int src width imag width int src height imag height int size src width src height byte datai comp byte size byte data cb comp byte size byte data cr comp byte size palett data palett imag palett int buffer int src width palett direct int red mask palett red mask int green mask palett green mask int blue mask palett blue mask int red shift palett red shift int green shift palett green shift int blue shift palett blue shift int po 0 po src height po imag pixel 0 po src width buffer 0 int dst row index po src width int po 0 po src width po int pixel buffer po int dst data index dst row index po int pixel red mask red shift 0 red shift red shift int pixel green mask green shift 0 green shift green shift int pixel blue mask blue shift 0 blue shift blue shift datai comp dst data index byte ry tabl gy tabl tabl 65536 data cb comp dst data index byte cb tabl cb tabl cb tabl 65536 data cr comp dst data index byte cr tabl cr tabl cr tabl 65536 int po 0 po src height po imag pixel 0 po src width buffer 0 int dst row index po src width int po 0 po src width po int pixel buffer po int dst data index dst row index po rgb rgb palett getrgb pixel int rgb red int rgb green int rgb blue datai comp dst data index byte ry tabl gy tabl tabl 65536 data cb comp dst data index byte cb tabl cb tabl cb tabl 65536 data cr comp dst data index byte cr tabl cr tabl cr tabl 65536 compress imag datai comp data cb comp data cr comp convertmultirgbtoycbcr imagedata srcwidth srcheight bsize srcwidth srcheight dataycomp bsize datacbcomp bsize datacrcomp bsize palettedata srcwidth isdirect redmask redmask greenmask greenmask bluemask bluemask redshift redshift greenshift greenshift blueshift blueshift ypo ypo srcheight ypo getpixel ypo srcwidth dstrowindex ypo srcwidth xpo xpo srcwidth xpo xpo dstdataindex dstrowindex xpo redmask redshift redshift redshift greenmask greenshift greenshift greenshift bluemask blueshift blueshift blueshift dataycomp dstdataindex rytabl gytabl bytabl datacbcomp dstdataindex rcbtabl gcbtabl bcbtabl datacrcomp dstdataindex rcrtabl gcrtabl bcrtabl ypo ypo srcheight ypo getpixel ypo srcwidth dstrowindex ypo srcwidth xpo xpo srcwidth xpo xpo dstdataindex dstrowindex xpo dataycomp dstdataindex rytabl gytabl bytabl datacbcomp dstdataindex rcbtabl gcbtabl bcbtabl datacrcomp dstdataindex rcrtabl gcrtabl bcrtabl dataycomp datacbcomp datacrcomp byte converti torgb int comp width frame compon compon id id cw int byte line imag width 8 7 8 3 4 4 byte data byte byte line imag height byte comp imag compon id int dest index 0 int 0 imag height int src index comp width int 0 byte line int y comp src index 0xff 0 0 255 255 imag width 0 data dest index byte src index dest index return data convertytorgb compwidth framecompon componentid id_y bytesperlin imagewidth bytesperlin imageheight ycomp imagecompon id_y destindex imageheight srcindex compwidth bytesperlin ycomp srcindex imagewidth destindex srcindex destindex byte converti cb cr torgb convert exist imag compon rgb format cb cr defin ccir 601 1 cb cr normal rang 0 maxjsampl 0 5 0 5 convers equat implement 1 40200 cr 0 34414 cb 0 71414 cr 1 77200 cb cb cr repres incom valu maxjsampl 2 number deriv tiff 6 0 section 21 date 3 june 92 avoid float point arithmet repres fraction constant integ scale 2 16 4 digit precis divid product 2 16 round correct answer notic integr input contribut fraction need particip round speed avoid multipl loop precalcul constant time cb cr valu 8 bit jsampl es reason 256 entri tabl 12 bit sampl accept reason 16 bit sampl want lossless storag shouldn chang colorspac anywai cr cb valu round integ advanc valu calcul left scale add round int size imag width imag height compon byte rgb data byte size int dest index 0 expand imag compon byte comp imag compon id byte cb comp imag compon id cb byte cr comp imag compon id cr int comp width frame compon compon id id cw int 0 imag height int src index comp width int 0 imag width int y comp src index 0xff int cb cb comp src index 0xff int cr cr comp src index 0xff int crr tabl cr int cbg tabl cb crg tabl cr 65536 int cbb tabl cb 0 0 255 255 0 0 255 255 0 0 255 255 rgb data dest index byte rgb data dest index 1 byte rgb data dest index 2 byte dest index 3 src index return rgb data convertycbcrtorgb ycbcr jsampl bsize imagewidth imageheight ncompon rgbdata bsize destindex expandimagecompon ycomp imagecompon id_y cbcomp imagecompon id_cb crcomp imagecompon id_cr compwidth framecompon componentid id_y imageheight srcindex compwidth imagewidth ycomp srcindex cbcomp srcindex crcomp srcindex crrtabl cbgtabl crgtabl cbbtabl rgbdata destindex rgbdata destindex rgbdata destindex destindex srcindex rgbdata return rgb data byte convertyiq torgb unsupport cmyk format answer empti byte arrai return byte 0 rgbdata convertyiqtorgb void decodeac coeffici int data unit int comp int param scan header compon paramet compon id comp jpeg huffman tabl ac tabl ac huffman tabl param ac int 1 64 int rs decod tabl ac tabl int rs 4 int rs 0xf 0 15 16 break int bit receiv data unit zig zag8x8 extend bit decodeaccoeffici dataunit icomp sparam scanhead componentparamet componentid icomp jpeghuffmant actabl achuffmant sparam decodeusingt actabl dataunit zigzag8x8 extendbi void decodeac coeffici int data unit int comp int start int end int approx bit eobrun 0 eobrun return int param scan header compon paramet compon id comp jpeg huffman tabl ac tabl ac huffman tabl param ac int start end int rs decod tabl ac tabl int rs 4 int rs 0xf 0 15 16 eobrun 1 receiv 1 break int bit receiv data unit zig zag8x8 extend bit approx bit decodeacfirstcoeffici dataunit icomp approxbit sparam scanhead componentparamet componentid icomp jpeghuffmant actabl achuffmant sparam decodeusingt actabl dataunit zigzag8x8 extendbi approxbit void decodeac refin coeffici int data unit int comp int start int end int approx bit int param scan header compon paramet compon id comp jpeg huffman tabl ac tabl ac huffman tabl param ac int start end eobrun 0 end int zz index zig zag8x8 data unit zz index 0 data unit zz index refineac data unit zz index approx bit eobrun int rs decod tabl ac tabl int rs 4 int rs 0xf 0 15 int zero 0 zero 16 end int zz index zig zag8x8 data unit zz index 0 data unit zz index refineac data unit zz index approx bit zero eobrun 1 receiv int bit receiv int zero 0 int zz index zig zag8x8 zero data unit zz index 0 end data unit zz index 0 data unit zz index refineac data unit zz index approx bit zero zz index zig zag8x8 bit 0 data unit zz index 1 approx bit data unit zz index 1 approx bit decodeacrefinecoeffici dataunit icomp approxbit sparam scanhead componentparamet componentid icomp jpeghuffmant actabl achuffmant sparam zzindex zigzag8x8 dataunit zzindex dataunit zzindex dataunit zzindex approxbit decodeusingt actabl zzindex zigzag8x8 dataunit zzindex dataunit zzindex dataunit zzindex approxbit zzindex zigzag8x8 dataunit zzindex dataunit zzindex dataunit zzindex dataunit zzindex approxbit zzindex zigzag8x8 dataunit zzindex approxbit dataunit zzindex approxbit int refineac int ac int approx bit ac 0 int bit bit bit 0 ac ac 1 approx bit ac 0 int bit bit bit 0 ac ac 1 approx bit return ac approxbit nextbit approxbit nextbit approxbit void decodedc coeffici int data unit int comp boolean int approx bit int param scan header compon paramet compon id comp jpeg huffman tabl dc tabl dc huffman tabl param dc int lastdc 0 progress int bit bit lastdc data unit 0 bit approx bit lastdc precedingd cs comp int bit decod tabl dc tabl bit 0 int bit receiv bit int diff extend bit bit lastdc lastdc diff precedingd cs comp lastdc progress lastdc lastdc approx bit data unit 0 lastdc decodedccoeffici dataunit icomp approxbit sparam scanhead componentparamet componentid icomp jpeghuffmant dctabl dchuffmant sparam nextbit dataunit approxbit precedingdc icomp nbit decodeusingt dctabl nbit nbit extendbi nbit precedingdc icomp approxbit dataunit void dequant int data unit int comp int tabl quantiz tabl frame compon compon id comp tqi int 0 data unit length int zz index zig zag8x8 data unit zz index data unit zz index tabl dataunit icomp qtabl quantizationt framecompon componentid icomp dataunit zzindex zigzag8x8 dataunit zzindex dataunit zzindex qtabl byte decod imag compon int comp id int compon int comp id index 0 int 0 compon comp id comp id index 1 comp id index comp id length 3 comp id 0 1 comp id 1 2 comp id 2 3 return converti cb cr torgb comp id length 3 comp id 0 1 comp id 1 4 comp id 2 5 return convertyiq torgb comp id length 4 return convertcmyk torgb return converti torgb decodeimagecompon compid ncompon compidsindex ncompon compid compidsindex compidsindex compid compid compid compid convertycbcrtorgb compid compid compid compid convertyiqtorgb compid convertcmyktorgb convertytorgb void decodemcu atx andi int xmcu int ymcu int compon scan boolean int start int end int approx bit int comp 0 comp compon scan comp int scan compon comp scan header compon paramet compon id scan compon null scan compon int frame compon frame compon compon id scan compon int hi frame compon hi int vi frame compon vi compon scan 1 hi 1 vi 1 int comp width frame compon cw int ivi 0 ivi vi ivi int ihi 0 ihi hi ihi progress progress scan creat data unit subsequ scan refin exist data unit int index ymcu vi ivi comp width xmcu hi ihi data unit data unit scan compon index data unit null data unit int 64 data unit scan compon index data unit sequenti clear reus data unit buffer int 0 data unit length data unit 0 progress scan header isdc progress scan decodedc coeffici data unit scan compon approx bit progress decodeac coeffici data unit scan compon scan header isac progress scan decodeac coeffici data unit scan compon start end approx bit decodeac refin coeffici data unit scan compon start end approx bit loader listen dequant idct sampl color convers copi coeffici data order displai imag increment int temp data unit data unit int 64 system arraycopi temp 0 data unit 0 64 progress progress loader listen dequant data unit scan compon inversedct data unit store data data unit scan compon xmcu ymcu hi ihi vi ivi decodemcuatxandi ncomponentsinscan approxbit icomp icomp ncomponentsinscan icomp scancompon icomp scanhead componentparamet componentid scancompon scancompon framecompon framecompon componentid scancompon framecompon framecompon ncomponentsinscan compwidth framecompon compwidth dataunit dataunit scancompon dataunit dataunit dataunit scancompon dataunit dataunit dataunit scanhead isdcprogressivescan decodedccoeffici dataunit scancompon approxbit decodeaccoeffici dataunit scancompon scanhead isacprogressivescan decodeacfirstcoeffici dataunit scancompon approxbit decodeacrefinecoeffici dataunit scancompon approxbit haslisten dataunit dataunit dataunit haslisten dataunit scancompon dataunit storedata dataunit scancompon void decod scan progress scan header verifi progress scan swt error swt error invalid imag int compon scan scan header number imag compon int mcu row scan interleav mcu row int mcu row interleav mcu col compon scan 1 non interleav int scan compon 0 scan header compon paramet compon id scan compon null scan compon int frame compon frame compon compon id scan compon int hi frame compon hi int vi frame compon vi int mcu width dctsize maxh hi int mcu height dctsize maxv vi mcu row imag width mcu width 1 mcu width mcu row scan imag height mcu height 1 mcu height boolean scan header scan int start scan header start spectral select int end scan header end spectral select int approx bit scan header approx bit posit low restart restart interv restart number 0 int ymcu 0 ymcu mcu row scan ymcu int xmcu 0 xmcu mcu row xmcu restart interv 0 restart 0 process restart interv restart decodemcu atx andi xmcu ymcu compon scan start end approx bit decodescan scanhead verifyprogressivescan error_invalid_imag ncomponentsinscan scanhead getnumberofimagecompon mcurowsinscan interleavedmcurow mcusperrow interleavedmcucol ncomponentsinscan scancompon scanhead componentparamet componentid scancompon scancompon framecompon framecompon componentid scancompon framecompon framecompon mcuwidth mcuheight mcusperrow imagewidth mcuwidth mcuwidth mcurowsinscan imageheight mcuheight mcuheight scanhead isfirstscan scanhead getstartofspectralselect scanhead getendofspectralselect approxbit scanhead getapproxbitpositionlow restartstogo restartinterv nextrestartnumb mcurowsinscan mcusperrow restartinterv restartstogo processrestartinterv restartstogo decodemcuatxandi ncomponentsinscan approxbit int decod tabl jpeg huffman tabl huffman tabl int 0 int max code huffman tabl dh max code int min code huffman tabl dh min code int val ptr huffman tabl dh val ptr int huff val huffman tabl dh valu int code bit code max code code code 2 bit int val ptr j code min code return huff val decodeusingt jpeghuffmant huffmant maxcod huffmant getdhmaxcod mincod huffmant getdhmincod valptr huffmant getdhvalptr huffval huffmant getdhvalu nextbit maxcod nextbit valptr mincod huffval void emit int huff code int bit bit 0 swt error swt error invalid imag int power2m1 int 1 3 7 15 31 63 127 255 511 1023 2047 4095 8191 16383 32767 65535 131125 int code huff code power2m1 bit 1 24 bit current bit count byte code buffer byte 4 code buffer 0 byte code 256 code buffer 1 byte code 256 256 code buffer 2 byte code 65536 256 code buffer 3 byte code 16777216 256 int ab bit 8 current bit count ab 0 ab ab ab 8 0 current byte code buffer 2 emit byte byte current byte emit byte byte code buffer 1 current byte code buffer 0 current bit count bit 16 current bit count bit current bit count 8 current byte code buffer 2 emit byte byte current byte current byte code buffer 1 current bit count 8 current byte code buffer 2 huffcod nbit nbit error_invalid_imag huffcod nbit nbit currentbitcount codebuff codebuff codebuff codebuff codebuff nbit currentbitcount currentbyt codebuff emitbyt currentbyt emitbyt codebuff currentbyt codebuff currentbitcount nbit currentbitcount nbit currentbitcount currentbyt codebuff emitbyt currentbyt currentbyt codebuff currentbitcount currentbyt codebuff void emit byte byte byte buffer current posit 512 reset output buffer data buffer buffer current posit byte buffer current posit byte 1 emit byte byte 0 emitbyt bytevalu buffercurrentposit resetoutputbuff databuff buffercurrentposit bytevalu buffercurrentposit bytevalu emitbyt void encodeac coeffici int data unit int comp int param scan header compon paramet comp jpeg huffman tabl ac tabl ac huffman tabl param ac int eh code ac tabl eh code byte eh size ac tabl eh code length int 0 int 1 64 int ac data unit zig zag8x8 1 ac 0 64 emit eh code 0 eh size 0 0xff 15 emit eh code 0xf0 eh size 0xf0 0xff 16 ac 0 int absac ac absac 0 absac absac int bit bit tabl absac int rs 16 bit emit eh code rs eh size rs 0xff emit 0xffffff absac bit int bit bit tabl ac int rs 16 bit emit eh code rs eh size rs 0xff emit ac bit 0 encodeaccoeffici dataunit icomp sparam scanhead componentparamet icomp jpeghuffmant actabl achuffmant sparam ehcod actabl ehcod ehsiz actabl ehcodelength acvalu dataunit zigzag8x8 acvalu ehcod ehsiz ehcod ehsiz acvalu absacvalu acvalu absacvalu absacvalu absacvalu nbit nbitstabl absacvalu nbit ehcod ehsiz absacvalu nbit nbit nbitstabl acvalu nbit ehcod ehsiz acvalu nbit void encodedc coeffici int data unit int comp int param scan header compon paramet comp jpeg huffman tabl dc tabl dc huffman tabl param dc int lastdc precedingd cs comp int dc data unit 0 int diff dc lastdc precedingd cs comp dc diff 0 int ab diff 0 diff int bit bit tabl ab diff emit dc tabl eh code bit dc tabl eh code length bit emit 0xffffff ab diff bit int bit bit tabl diff emit dc tabl eh code bit dc tabl eh code length bit bit 0 emit diff bit encodedccoeffici dataunit icomp sparam scanhead componentparamet icomp jpeghuffmant dctabl dchuffmant sparam precedingdc icomp dcvalu dataunit dcvalu precedingdc icomp dcvalu absdiff nbit nbitstabl absdiff dctabl ehcod nbit dctabl ehcodelength nbit absdiff nbit nbit nbitstabl dctabl ehcod nbit dctabl ehcodelength nbit nbit nbit void encodemcu atx andi int xmcu int ymcu int compon scan scan header number imag compon data unit int 64 int comp 0 comp compon scan comp int frame compon frame compon compon id comp int hi frame compon hi int vi frame compon vi int ivi 0 ivi vi ivi int ihi 0 ihi hi ihi extract data data unit comp xmcu ymcu ihi ivi forwarddct data unit quantiz data data unit comp encodedc coeffici data unit comp encodeac coeffici data unit comp encodemcuatxandi ncomponentsinscan scanhead getnumberofimagecompon dataunit icomp icomp ncomponentsinscan icomp framecompon framecompon componentid icomp framecompon framecompon extractdata dataunit icomp dataunit quantizedata dataunit icomp encodedccoeffici dataunit icomp encodeaccoeffici dataunit icomp void encod scan int ymcu 0 ymcu interleav mcu row ymcu int xmcu 0 xmcu interleav mcu col xmcu encodemcu atx andi xmcu ymcu current bit count 0 emit byte byte current byte reset output buffer encodescan interleavedmcurow interleavedmcucol encodemcuatxandi currentbitcount emitbyt currentbyt resetoutputbuff void expand imag compon int comp 0 comp compon comp int frame compon frame compon compon id comp int hi frame compon hi int vi frame compon vi int uph maxh hi int upv maxv vi uph upv 1 byte compon imag compon comp int comp width frame compon cw int comp height frame compon ch int comp width comp width uph int comp height comp height upv rgb rgb rgb rgb 0 0 0 rgb 0x80 0 0 rgb 0 0x80 0 rgb 0x80 0x80 0 rgb 0 0 0x80 rgb 0x80 0 0x80 rgb 0 0x80 0x80 rgb 0xc0 0xc0 0xc0 rgb 0x80 0x80 0x80 rgb 0xff 0 0 rgb 0 0xff 0 rgb 0xff 0xff 0 rgb 0 0 0xff rgb 0xff 0 0xff rgb 0 0xff 0xff rgb 0xff 0xff 0xff imag data src imag data comp width comp height 8 palett data rgb 4 compon imag data dest src scale comp width comp height imag compon comp dest data expandimagecompon icomp icomp ncompon icomp framecompon framecompon componentid icomp framecompon framecompon imagecompon icomp compwidth framecompon compheight framecompon upcompwidth compwidth upcompheight compheight imagedata imagedata compwidth compheight palettedata imagedata scaledto upcompwidth upcompheight imagecompon icomp int extend int diff int diff extend test return diff extend offset return diff extendbi extendtest extendoffset void extract data int data unit int comp int xmcu int ymcu int ihi int ivi byte comp imag imag compon comp int frame compon frame compon compon id comp int hi frame compon hi int vi frame compon vi int comp width frame compon cw int src index ymcu vi ivi comp width dctsize xmcu hi ihi dctsize int dest index 0 int 0 dctsize int col 0 col dctsize col data unit dest index comp imag src index col 0xff 128 dest index src index comp width extractdata dataunit icomp compimag imagecompon icomp framecompon framecompon componentid icomp framecompon framecompon compwidth framecompon srcindex compwidth destindex dataunit destindex compimag srcindex destindex srcindex compwidth void forwarddct int data unit int row 0 row 8 row int index row dctsize int tmp0 data unit index data unit index 7 int tmp7 data unit index data unit index 7 int tmp1 data unit index 1 data unit index 6 int tmp6 data unit index 1 data unit index 6 int tmp2 data unit index 2 data unit index 5 int tmp5 data unit index 2 data unit index 5 int tmp3 data unit index 3 data unit index 4 int tmp4 data unit index 3 data unit index 4 part ll figur 1 note publish figur faulti rotat sqrt 2 c1 sqrt 2 c6 int tmp10 tmp0 tmp3 int tmp13 tmp0 tmp3 int tmp11 tmp1 tmp2 int tmp12 tmp1 tmp2 data unit index tmp10 tmp11 4 data unit index 4 tmp10 tmp11 4 int z1 tmp12 tmp13 fix 0 541196100 int scale factor1 extend test 11 int scale factor2 extend test 12 int z1 tmp13 fix 0 765366865 scale factor1 data unit index 2 scale factor2 0 scale factor2 0 data unit index 2 z1 tmp12 0 fix 1 847759065 scale factor1 data unit index 6 scale factor2 0 scale factor2 0 data unit index 6 odd part figur 8 note paper omit factor sqrt 2 ck repres co pi 16 i0 i3 paper tmp4 tmp7 z1 tmp4 tmp7 int z2 tmp5 tmp6 int z3 tmp4 tmp6 int z4 tmp5 tmp7 int z5 z3 z4 fix 1 175875602 sqrt 2 c3 tmp4 tmp4 fix 0 298631336 sqrt 2 c1 c3 c5 c7 tmp5 tmp5 fix 2 053119869 sqrt 2 c1 c3 c5 c7 tmp6 tmp6 fix 3 072711026 sqrt 2 c1 c3 c5 c7 tmp7 tmp7 fix 1 501321110 sqrt 2 c1 c3 c5 c7 z1 z1 0 fix 0 899976223 sqrt 2 c7 c3 z2 z2 0 fix 2 562915447 sqrt 2 c1 c3 z3 z3 0 fix 1 961570560 sqrt 2 c3 c5 z4 z4 0 fix 0 390180644 sqrt 2 c5 c3 z3 z3 z5 z4 z4 z5 tmp4 z1 z3 scale factor1 data unit index 7 scale factor2 0 scale factor2 0 data unit index 7 tmp5 z2 z4 scale factor1 data unit index 5 scale factor2 0 scale factor2 0 data unit index 5 tmp6 z2 z3 scale factor1 data unit index 3 scale factor2 0 scale factor2 0 data unit index 3 tmp7 z1 z4 scale factor1 data unit index 1 scale factor2 0 scale factor2 0 data unit index 1 pass 2 process column note descal result factor 8 2 3 undo pass1 bit scale int col 0 col 8 col int c0 col int c1 col 8 int c2 col 16 int c3 col 24 int c4 col 32 int c5 col 40 int c6 col 48 int c7 col 56 int tmp0 data unit c0 data unit c7 int tmp7 data unit c0 data unit c7 int tmp1 data unit c1 data unit c6 int tmp6 data unit c1 data unit c6 int tmp2 data unit c2 data unit c5 int tmp5 data unit c2 data unit c5 int tmp3 data unit c3 data unit c4 int tmp4 data unit c3 data unit c4 part ll figur 1 note publish figur faulti rotat sqrt 2 c1 sqrt 2 c6 int tmp10 tmp0 tmp3 int tmp13 tmp0 tmp3 int tmp11 tmp1 tmp2 int tmp12 tmp1 tmp2 int scale factor1 extend test 5 int scale factor2 extend test 6 int tmp10 tmp11 scale factor1 data unit c0 scale factor2 0 scale factor2 0 data unit c0 tmp10 tmp11 scale factor1 data unit c4 scale factor2 0 scale factor2 0 data unit c4 int z1 tmp12 tmp13 fix 0 541196100 scale factor1 extend test 18 scale factor2 extend test 19 z1 tmp13 fix 0 765366865 scale factor1 data unit c2 scale factor2 0 scale factor2 0 data unit c2 z1 tmp12 0 fix 1 847759065 scale factor1 data unit c6 scale factor2 0 scale factor2 0 data unit c6 odd part figur 8 note paper omit factor sqrt 2 ck repres co pi 16 i0 i3 paper tmp4 tmp7 z1 tmp4 tmp7 int z2 tmp5 tmp6 int z3 tmp4 tmp6 int z4 tmp5 tmp7 int z5 z3 z4 fix 1 175875602 sqrt 2 c3 tmp4 tmp4 fix 0 298631336 sqrt 2 c1 c3 c5 c7 tmp5 tmp5 fix 2 053119869 sqrt 2 c1 c3 c5 c7 tmp6 tmp6 fix 3 072711026 sqrt 2 c1 c3 c5 c7 tmp7 tmp7 fix 1 501321110 sqrt 2 c1 c3 c5 c7 z1 z1 0 fix 0 899976223 sqrt 2 c7 c3 z2 z2 0 fix 2 562915447 sqrt 2 c1 c3 z3 z3 0 fix 1 961570560 sqrt 2 c3 c5 z4 z4 0 fix 0 390180644 sqrt 2 c5 c3 z3 z3 z5 z4 z4 z5 tmp4 z1 z3 scale factor1 data unit c7 scale factor2 0 scale factor2 0 data unit c7 tmp5 z2 z4 scale factor1 data unit c5 scale factor2 0 scale factor2 0 data unit c5 tmp6 z2 z3 scale factor1 data unit c3 scale factor2 0 scale factor2 0 data unit c3 tmp7 z1 z4 scale factor1 data unit c1 scale factor2 0 scale factor2 0 data unit c1 dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex fix_0_541196100 scalefactor1 extendtest scalefactor2 extendtest fix_0_765366865 scalefactor1 dataunit rindex scalefactor2 scalefactor2 dataunit rindex fix_1_847759065 scalefactor1 dataunit rindex scalefactor2 scalefactor2 dataunit rindex fix_1_175875602 fix_0_298631336 fix_2_053119869 fix_3_072711026 fix_1_501321110 fix_0_899976223 fix_2_562915447 fix_1_961570560 fix_0_390180644 scalefactor1 dataunit rindex scalefactor2 scalefactor2 dataunit rindex scalefactor1 dataunit rindex scalefactor2 scalefactor2 dataunit rindex scalefactor1 dataunit rindex scalefactor2 scalefactor2 dataunit rindex scalefactor1 dataunit rindex scalefactor2 scalefactor2 dataunit rindex pass1_bit dataunit dataunit dataunit dataunit dataunit dataunit dataunit dataunit dataunit dataunit dataunit dataunit dataunit dataunit dataunit dataunit scalefactor1 extendtest scalefactor2 extendtest scalefactor1 dataunit scalefactor2 scalefactor2 dataunit scalefactor1 dataunit scalefactor2 scalefactor2 dataunit fix_0_541196100 scalefactor1 extendtest scalefactor2 extendtest fix_0_765366865 scalefactor1 dataunit scalefactor2 scalefactor2 dataunit fix_1_847759065 scalefactor1 dataunit scalefactor2 scalefactor2 dataunit fix_1_175875602 fix_0_298631336 fix_2_053119869 fix_3_072711026 fix_1_501321110 fix_0_899976223 fix_2_562915447 fix_1_961570560 fix_0_390180644 scalefactor1 dataunit scalefactor2 scalefactor2 dataunit scalefactor1 dataunit scalefactor2 scalefactor2 dataunit scalefactor1 dataunit scalefactor2 scalefactor2 dataunit scalefactor1 dataunit scalefactor2 scalefactor2 dataunit void getapp0 jpeg appn appn jpeg appn input stream appn verifi swt error swt error invalid imag jpegappn jpegappn inputstream error_invalid_imag void getcom jpeg comment input stream jpegcom inputstream jpeg comment input stream void getdac jpeg arithmet condit tabl dac jpeg arithmet condit tabl input stream arithmet tabl dac jpegcom inputstream jpegarithmeticconditioningt jpegarithmeticconditioningt inputstream arithmetict void getdht jpeg huffman tabl dht jpeg huffman tabl input stream dht verifi swt error swt error invalid imag ac huffman tabl null ac huffman tabl jpeg huffman tabl 4 dc huffman tabl null dc huffman tabl jpeg huffman tabl 4 jpeg huffman tabl dht tabl dht tabl int 0 dht tabl length jpeg huffman tabl dht tabl dht tabl dht tabl tabl class 0 dc huffman tabl dht tabl tabl identifi dht tabl ac huffman tabl dht tabl tabl identifi dht tabl jpeghuffmant jpeghuffmant inputstream error_invalid_imag achuffmant achuffmant jpeghuffmant dchuffmant dchuffmant jpeghuffmant jpeghuffmant dhttabl getallt dhttabl jpeghuffmant dhttabl dhttabl dhttabl gettableclass dchuffmant dhttabl gettableidentifi dhttabl achuffmant dhttabl gettableidentifi dhttabl void getdnl jpeg restart interv input stream jpegrestartinterv inputstream void getdqt jpeg quantiz tabl dqt jpeg quantiz tabl input stream int current tabl quantiz tabl current tabl null current tabl int 4 int dqt tabl kei dqt quantiz tabl kei int dqt tabl valu dqt quantiz tabl valu int 0 dqt tabl kei length int index dqt tabl kei current tabl index dqt tabl valu quantiz tabl current tabl jpegquantizationt jpegquantizationt inputstream currentt quantizationt currentt currentt dqttableskei getquantizationtableskei dqttablesvalu getquantizationtablesvalu dqttableskei dqttableskei currentt dqttablesvalu quantizationt currentt void getdri jpeg restart interv dri jpeg restart interv input stream dri verifi swt error swt error invalid imag restart interv dri restart interv jpegrestartinterv jpegrestartinterv inputstream error_invalid_imag restartinterv getrestartinterv static void initi initializergbi cb cr tabl initializei cb crrgb tabl initi bit count tabl initializergbycbcrt initializeycbcrrgbt initializebitcountt static void initi bit count tabl int bit 1 int power2 2 bit tabl int 2048 bit tabl 0 0 int 1 bit tabl length power2 bit power2 2 bit tabl bit initializebitcountt nbit nbitstabl nbitstabl nbitstabl nbit nbitstabl nbit static void initializergbi cb cr tabl ry tabl int 256 gy tabl int 256 tabl int 256 cb tabl int 256 cb tabl int 256 cb tabl int 256 cr tabl cb tabl cr tabl int 256 cr tabl int 256 int 0 256 ry tabl i 19595 gy tabl i 38470 tabl i 7471 32768 cb tabl i 11059 cb tabl i 21709 cb tabl i 32768 8388608 cr tabl i 27439 cr tabl i 5329 initializergbycbcrt rytabl gytabl bytabl rcbtabl gcbtabl bcbtabl rcrtabl bcbtabl gcrtabl bcrtabl rytabl gytabl bytabl rcbtabl gcbtabl bcbtabl gcrtabl bcrtabl static void initializei cb crrgb tabl crr tabl int 256 cbb tabl int 256 crg tabl int 256 cbg tabl int 256 int 0 256 int x2 2 255 crr tabl 45941 x2 32768 65536 cbb tabl 58065 x2 32768 65536 crg tabl 23401 x2 cbg tabl 11277 x2 32768 initializeycbcrrgbt crrtabl cbbtabl crgtabl cbgtabl crrtabl cbbtabl crgtabl cbgtabl void inversedct int data unit int row 0 row 8 row int index row dctsize due quantiz find input coeffici especi ac term exploit short circuit idct calcul row ac term case output equal dc coeffici scale factor need typic imag quantiz tabl half row dct calcul simplifi row data unit index int dc val data unit index 4 int index index 8 data unit dc val part revers part forward dct rotat sqrt 2 6 int z2 data unit index 2 int z3 data unit index 6 int z1 z2 z3 fix 0 541196100 int tmp2 z1 z3 0 fix 1 847759065 int tmp3 z1 z2 fix 0 765366865 int tmp0 data unit index data unit index 4 8192 int tmp1 data unit index data unit index 4 8192 int tmp10 tmp0 tmp3 int tmp13 tmp0 tmp3 int tmp11 tmp1 tmp2 int tmp12 tmp1 tmp2 odd part figur 8 matrix unitari transpos invers i0 i3 y7 y5 y3 y1 tmp0 data unit index 7 tmp1 data unit index 5 tmp2 data unit index 3 tmp3 data unit index 1 z1 tmp0 tmp3 z2 tmp1 tmp2 z3 tmp0 tmp2 int z4 tmp1 tmp3 int z5 z3 z4 fix 1 175875602 sqrt 2 c3 tmp0 tmp0 fix 0 298631336 sqrt 2 c1 c3 c5 c7 tmp1 tmp1 fix 2 053119869 sqrt 2 c1 c3 c5 c7 tmp2 tmp2 fix 3 072711026 sqrt 2 c1 c3 c5 c7 tmp3 tmp3 fix 1 501321110 sqrt 2 c1 c3 c5 c7 z1 z1 0 fix 0 899976223 sqrt 2 c7 c3 z2 z2 0 fix 2 562915447 sqrt 2 c1 c3 z3 z3 0 fix 1 961570560 sqrt 2 c3 c5 z4 z4 0 fix 0 390180644 sqrt 2 c5 c3 z3 z3 z5 z4 z4 z5 tmp0 tmp0 z1 z3 tmp1 tmp1 z2 z4 tmp2 tmp2 z2 z3 tmp3 tmp3 z1 z4 int descal factor1 extend test 11 int descal factor2 extend test 12 data unit index tmp10 tmp3 descal factor1 descal factor2 data unit index 7 tmp10 tmp3 descal factor1 descal factor2 data unit index 1 tmp11 tmp2 descal factor1 descal factor2 data unit index 6 tmp11 tmp2 descal factor1 descal factor2 data unit index 2 tmp12 tmp1 descal factor1 descal factor2 data unit index 5 tmp12 tmp1 descal factor1 descal factor2 data unit index 3 tmp13 tmp0 descal factor1 descal factor2 data unit index 4 tmp13 tmp0 descal factor1 descal factor2 pass 2 process column note descal result factor 8 2 3 undo pass1 bit scale int col 0 col 8 col int c0 col int c1 col 8 int c2 col 16 int c3 col 24 int c4 col 32 int c5 col 40 int c6 col 48 int c7 col 56 column data unit col int dc val data unit c0 16 32 data unit c0 dc val data unit c1 dc val data unit c2 dc val data unit c3 dc val data unit c4 dc val data unit c5 dc val data unit c6 dc val data unit c7 dc val part revers part forward dct rotat sqrt 2 6 int z2 data unit c2 int z3 data unit c6 int z1 z2 z3 fix 0 541196100 int tmp2 z1 z3 0 fix 1 847759065 int tmp3 z1 z2 fix 0 765366865 int tmp0 data unit c0 data unit c4 8192 int tmp1 data unit c0 data unit c4 8192 int tmp10 tmp0 tmp3 int tmp13 tmp0 tmp3 int tmp11 tmp1 tmp2 int tmp12 tmp1 tmp2 odd part figur 8 matrix unitari transpos invers i0 i3 y7 y5 y3 y1 tmp0 data unit c7 tmp1 data unit c5 tmp2 data unit c3 tmp3 data unit c1 z1 tmp0 tmp3 z2 tmp1 tmp2 z3 tmp0 tmp2 int z4 tmp1 tmp3 int z5 z3 z4 fix 1 175875602 sqrt 2 c3 tmp0 tmp0 fix 0 298631336 sqrt 2 c1 c3 c5 c7 tmp1 tmp1 fix 2 053119869 sqrt 2 c1 c3 c5 c7 tmp2 tmp2 fix 3 072711026 sqrt 2 c1 c3 c5 c7 tmp3 tmp3 fix 1 501321110 sqrt 2 c1 c3 c5 c7 z1 z1 0 fix 0 899976223 sqrt 2 c7 c3 z2 z2 0 fix 2 562915447 sqrt 2 c1 c3 z3 z3 0 fix 1 961570560 sqrt 2 c3 c5 z4 z4 0 fix 0 390180644 sqrt 2 c5 c3 z3 z3 z5 z4 z4 z5 tmp0 tmp0 z1 z3 tmp1 tmp1 z2 z4 tmp2 tmp2 z2 z3 tmp3 tmp3 z1 z4 final output stage input tmp10 tmp13 tmp0 tmp3 int descal factor1 extend test 18 int descal factor2 extend test 19 data unit c0 tmp10 tmp3 descal factor1 descal factor2 data unit c7 tmp10 tmp3 descal factor1 descal factor2 data unit c1 tmp11 tmp2 descal factor1 descal factor2 data unit c6 tmp11 tmp2 descal factor1 descal factor2 data unit c2 tmp12 tmp1 descal factor1 descal factor2 data unit c5 tmp12 tmp1 descal factor1 descal factor2 data unit c3 tmp13 tmp0 descal factor1 descal factor2 data unit c4 tmp13 tmp0 descal factor1 descal factor2 dataunit rindex iszeroinrow dataunit rindex dcval dataunit rindex rindex rindex dataunit dcval dataunit rindex dataunit rindex fix_0_541196100 fix_1_847759065 fix_0_765366865 dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex fix_1_175875602 fix_0_298631336 fix_2_053119869 fix_3_072711026 fix_1_501321110 fix_0_899976223 fix_2_562915447 fix_1_961570560 fix_0_390180644 descalefactor1 extendtest descalefactor2 extendtest dataunit rindex descalefactor1 descalefactor2 dataunit rindex descalefactor1 descalefactor2 dataunit rindex descalefactor1 descalefactor2 dataunit rindex descalefactor1 descalefactor2 dataunit rindex descalefactor1 descalefactor2 dataunit rindex descalefactor1 descalefactor2 dataunit rindex descalefactor1 descalefactor2 dataunit rindex descalefactor1 descalefactor2 pass1_bit iszeroincolumn dataunit dcval dataunit dataunit dcval dataunit dcval dataunit dcval dataunit dcval dataunit dcval dataunit dcval dataunit dcval dataunit dcval dataunit dataunit fix_0_541196100 fix_1_847759065 fix_0_765366865 dataunit dataunit dataunit dataunit dataunit dataunit dataunit dataunit fix_1_175875602 fix_0_298631336 fix_2_053119869 fix_3_072711026 fix_1_501321110 fix_0_899976223 fix_2_562915447 fix_1_961570560 fix_0_390180644 descalefactor1 extendtest descalefactor2 extendtest dataunit descalefactor1 descalefactor2 dataunit descalefactor1 descalefactor2 dataunit descalefactor1 descalefactor2 dataunit descalefactor1 descalefactor2 dataunit descalefactor1 descalefactor2 dataunit descalefactor1 descalefactor2 dataunit descalefactor1 descalefactor2 dataunit descalefactor1 descalefactor2 boolean file format le data input stream stream try jpeg start imag soi jpeg start imag stream stream unread soi refer return soi verifi longer check appn catch except return fals isfileformat ledatainputstream jpegstartofimag jpegstartofimag boolean column int data unit int col return data unit col 8 data unit col 16 data unit col 24 data unit col 32 data unit col 40 data unit col 48 data unit col 56 0 iszeroincolumn dataunit dataunit dataunit dataunit dataunit dataunit dataunit dataunit boolean row int data unit int index return data unit index 1 data unit index 2 data unit index 3 data unit index 4 data unit index 5 data unit index 6 data unit index 7 0 iszeroinrow dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex dataunit rindex imag data load byte stream jpeg start imag soi jpeg start imag input stream soi verifi swt error swt error invalid imag restart interv 0 process tabl preced frame header process tabl start frame frame header jpeg frame header input stream frame header verifi swt error swt error invalid imag imag width frame header sampl line imag height frame header number line maxh frame header maxh factor maxv frame header maxv factor int mcu width maxh dctsize int mcu height maxv dctsize interleav mcu col imag width mcu width 1 mcu width interleav mcu row imag height mcu height 1 mcu height progress frame header progress sampl precis frame header sampl precis compon frame header number imag compon frame compon frame header compon paramet compon id frame header compon identifi imag compon byte compon progress progress jpeg need data unit data unit int compon sequenti jpeg need data unit data unit int 8 8 int 0 compon int frame compon frame compon compon id int buffer size frame compon cw frame compon ch imag compon byte buffer size progress data unit int buffer size process tabl preced scan header process tabl start scan scan header jpeg scan header input stream scan header verifi swt error swt error invalid imag process scan tabl eoi int progress scan count 0 boolean fals reset input buffer precedingd cs int 4 decod scan progress loader listen imag data imag data creat imag data loader notifi listen imag loader event loader imag data progress scan count fals progress scan count unread buffer data look tabl int delta 512 buffer current posit 1 delta 0 byte unread buffer byte delta system arraycopi data buffer buffer current posit 1 unread buffer 0 delta try input stream unread unread buffer catch io except swt error swt error io process tabl preced scan header jpeg segment jpeg segment process tabl jpeg segment null jpeg segment segment marker eoi true scan header jpeg scan header input stream scan header verifi swt error swt error invalid imag progress int ymcu 0 ymcu interleav mcu row ymcu int xmcu 0 xmcu interleav mcu col xmcu int comp 0 comp compon comp int frame compon frame compon compon id comp int hi frame compon hi int vi frame compon vi int comp width frame compon cw int ivi 0 ivi vi ivi int ihi 0 ihi hi ihi int index ymcu vi ivi comp width xmcu hi ihi data unit data unit comp index dequant data unit comp inversedct data unit store data data unit comp xmcu ymcu hi ihi vi ivi imag data imag data creat imag data progress loader listen loader notifi listen imag loader event loader imag data progress scan count true return imag data imag data imagedata loadfrombytestream jpegstartofimag jpegstartofimag inputstream error_invalid_imag restartinterv processt framehead jpegframehead inputstream framehead error_invalid_imag imagewidth framehead getsamplesperlin imageheight framehead getnumberoflin framehead getmaxhfactor framehead getmaxvfactor mcuwidth mcuheight interleavedmcucol imagewidth mcuwidth mcuwidth interleavedmcurow imageheight mcuheight mcuheight framehead isprogress sampleprecis framehead getsampleprecis ncompon framehead getnumberofimagecompon framecompon framehead componentparamet componentid framehead componentidentifi imagecompon ncompon dataunit ncompon dataunit ncompon framecompon framecompon componentid buffers framecompon framecompon imagecompon buffers dataunit buffers processt scanhead jpegscanhead inputstream scanhead error_invalid_imag progressivescancount resetinputbuff precedingdc decodescan haslisten imagedata imagedata createimagedata notifylisten imageloaderev imagedata progressivescancount progressivescancount buffercurrentposit unreadbuff databuff buffercurrentposit unreadbuff inputstream unreadbuff ioexcept error_io jpegseg jpegseg processt jpegseg jpegseg getsegmentmark scanhead jpegscanhead inputstream scanhead error_invalid_imag interleavedmcurow interleavedmcucol icomp icomp ncompon icomp framecompon framecompon componentid icomp framecompon framecompon compwidth framecompon compwidth dataunit dataunit icomp dataunit icomp dataunit storedata dataunit icomp imagedata imagedata createimagedata haslisten notifylisten imageloaderev imagedata progressivescancount imagedata imagedata imag data creat imag data return imag data intern imag width imag height compon sampl precis set palett compon 1 4 1 decod imag compon 0 null null 1 1 swt imag jpeg 0 0 0 0 imagedata createimagedata imagedata intern_new imagewidth imageheight ncompon sampleprecis setuppalett ncompon decodeimagecompon imag_jpeg int bit current bit count 0 current bit count current byte 2 current byte 255 current byte 256 return 1 return 0 buffer current posit buffer current posit 512 reset input buffer buffer current posit 0 current byte data buffer buffer current posit 0xff current bit count 8 byte byte buffer current posit 511 reset input buffer current bit count 8 byte data buffer 0 byte data buffer buffer current posit 1 current byte 0xff byte 0 buffer current posit current bit count current byte 2 current byte 255 current byte 256 return 1 return 0 byte 0xff 0xff00 dnl getdnl return 0 swt error swt error invalid imag return 0 current bit count current byte 2 current byte 255 current byte 256 return 1 return 0 nextbit currentbitcount currentbitcount currentbyt currentbyt currentbyt buffercurrentposit buffercurrentposit resetinputbuff buffercurrentposit currentbyt databuff buffercurrentposit currentbitcount nextbyt buffercurrentposit resetinputbuff currentbitcount nextbyt databuff nextbyt databuff buffercurrentposit currentbyt nextbyt buffercurrentposit currentbitcount currentbyt currentbyt currentbyt nextbyt error_invalid_imag currentbitcount currentbyt currentbyt currentbyt void process restart interv buffer current posit buffer current posit 511 reset input buffer buffer current posit 0 current byte data buffer buffer current posit 0xff current byte 0xff current byte 0xff buffer current posit buffer current posit 511 reset input buffer buffer current posit 0 current byte data buffer buffer current posit 0xff current byte rst0 restart number 256 swt error swt error invalid imag buffer current posit buffer current posit 511 reset input buffer buffer current posit 0 current byte data buffer buffer current posit 0xff current bit count 8 restart restart interv restart number restart number 1 8 precedingd cs int 4 eobrun 0 processrestartinterv buffercurrentposit buffercurrentposit resetinputbuff buffercurrentposit currentbyt databuff buffercurrentposit currentbyt currentbyt buffercurrentposit buffercurrentposit resetinputbuff buffercurrentposit currentbyt databuff buffercurrentposit currentbyt nextrestartnumb error_invalid_imag buffercurrentposit buffercurrentposit resetinputbuff buffercurrentposit currentbyt databuff buffercurrentposit currentbitcount restartstogo restartinterv nextrestartnumb nextrestartnumb precedingdc process marker frame header scan header eoi found jpeg segment process tabl true jpeg segment jpeg segment seek unspecifi marker input stream jpeg segment null return null jpeg frame header sof jpeg frame header jpeg segment refer sof verifi return jpeg segment int marker jpeg segment segment marker switch marker case soi soi file swt error swt error invalid imag case eoi case so return jpeg segment case dqt getdqt break case dht getdht break case dac getdac break case dri getdri break case app0 getapp0 break case com getcom break default skip segment input stream jpegseg processt jpegseg jpegseg seekunspecifiedmark inputstream jpegseg jpegframehead jpegframehead jpegseg jpegseg jpegseg getsegmentmark error_invalid_imag jpegseg skipsegmentfrom inputstream void quantiz data int data unit int comp int tabl quantiz tabl frame compon compon id comp tqi int 0 data unit length int zz index zig zag8x8 int data data unit zz index int ab data data 0 0 data data int tabl int q2 2 ab data q2 ab data data unit zz index 0 ab data data 0 data unit zz index ab data data unit zz index 0 ab data quantizedata dataunit icomp qtabl quantizationt framecompon componentid icomp dataunit zzindex zigzag8x8 dataunit zzindex absdata qvalu qtabl qvalu absdata absdata qvalu dataunit zzindex absdata qvalu dataunit zzindex absdata dataunit zzindex absdata int receiv int bit int 0 int 0 bit v 2 bit return nbit nbit nextbit void reset input buffer data buffer null data buffer byte 512 try input stream read data buffer catch io except swt error swt error io current bit count 0 buffer current posit 1 resetinputbuff databuff databuff inputstream databuff ioexcept error_io currentbitcount buffercurrentposit void reset output buffer data buffer null data buffer byte 512 try output stream write data buffer 0 buffer current posit catch io except swt error swt error io buffer current posit 0 resetoutputbuff databuff databuff outputstream databuff buffercurrentposit ioexcept error_io buffercurrentposit static jpeg segment seek unspecifi marker le data input stream byte stream byte byte arrai byte 2 try true byte stream read byte arrai 0 1 1 return null byte arrai 0 byte 0xff byte stream read byte arrai 1 1 1 return null byte arrai 1 byte 0xff byte arrai 1 0 byte stream unread byte arrai return jpeg segment byte arrai catch io except swt error swt error io return null jpegseg seekunspecifiedmark ledatainputstream bytestream bytearrai bytestream bytearrai bytearrai bytestream bytearrai bytearrai bytearrai bytestream bytearrai jpegseg bytearrai ioexcept error_io palett data set palett compon 1 rgb entri rgb 256 int 0 256 entri rgb i return palett data entri return palett data 0xff 0xff00 0xff0000 palettedata setuppalett ncompon palettedata palettedata static void skip segment le data input stream byte stream try byte byte arrai byte 4 jpeg segment jpeg segment jpeg segment byte arrai byte stream read byte arrai byte arrai length swt error swt error invalid imag byte arrai 0 1 byte arrai 1 0 byte arrai 1 1 swt error swt error invalid imag int delta jpeg segment segment length 2 byte stream skip delta catch except swt error swt error io skipsegmentfrom ledatainputstream bytestream bytearrai jpegseg jpegseg jpegseg bytearrai bytestream bytearrai bytearrai error_invalid_imag bytearrai bytearrai bytearrai error_invalid_imag jpegseg getsegmentlength bytestream error_io void store data int data unit int comp int xmcu int ymcu int hi int ihi int vi int ivi byte comp imag imag compon comp int frame compon frame compon compon id comp int comp width frame compon cw int dest index ymcu vi ivi comp width dctsize xmcu hi ihi dctsize int src index 0 int 0 dctsize int col 0 col dctsize col int data unit src index 128 0 0 255 255 comp imag dest index col byte src index dest index comp width storedata dataunit icomp compimag imagecompon icomp framecompon framecompon componentid icomp compwidth framecompon destindex compwidth srcindex dataunit srcindex compimag destindex srcindex destindex compwidth void unload byte stream imag data imag jpeg start imag write stream output stream swt error swt error io jpeg appn appn jpeg appn byte byte 0xff byte 0xe0 0 0x10 0x4a 0x46 0x49 0x46 0 1 1 0 0 1 0 1 0 0 appn write stream output stream swt error swt error io quantiz tabl int 4 jpeg quantiz tabl chromdqt jpeg quantiz tabl default chromin tabl chromdqt scale encoderq factor int jpegdqt kei chromdqt quantiz tabl kei int jpegdqt valu chromdqt quantiz tabl valu int 0 jpegdqt kei length quantiz tabl jpegdqt kei jpegdqt valu jpeg quantiz tabl lumdqt jpeg quantiz tabl default lumin tabl lumdqt scale encoderq factor jpegdqt kei lumdqt quantiz tabl kei jpegdqt valu lumdqt quantiz tabl valu int 0 jpegdqt kei length quantiz tabl jpegdqt kei jpegdqt valu lumdqt write stream output stream swt error swt error io chromdqt write stream output stream swt error swt error io int frame length scan length precis int frame param scan param imag depth 1 frame length 11 frame param int 1 frame param 0 int 1 1 1 0 0 scan param int 1 scan param 0 int 0 0 scan length 8 compon 1 precis 1 frame length 17 frame param int 3 frame param 0 int 0 2 2 0 0 frame param 1 int 1 1 1 0 0 frame param 2 int 1 1 1 0 0 scan param int 3 scan param 0 int 0 0 scan param 1 int 1 1 scan param 2 int 1 1 scan length 12 compon 3 precis 8 imag width imag width imag height imag height frame header jpeg frame header byte 19 frame header set segment marker sof0 frame header set segment length frame length frame header set sampl precis precis frame header set sampl line imag width frame header set number line imag height frame header set number imag compon compon frame header compon paramet frame param frame header compon identifi int 0 1 2 frame header initi content frame header write stream output stream swt error swt error io frame compon frame param compon id frame header compon identifi maxh frame header maxh factor maxv frame header maxv factor int mcu width maxh dctsize int mcu height maxv dctsize interleav mcu col imag width mcu width 1 mcu width interleav mcu row imag height mcu height 1 mcu height ac huffman tabl jpeg huffman tabl 4 dc huffman tabl jpeg huffman tabl 4 jpeg huffman tabl dht tabl jpeg huffman tabl jpeg huffman tabl defaultdc lumin tabl jpeg huffman tabl defaultdc chromin tabl jpeg huffman tabl defaultac lumin tabl jpeg huffman tabl defaultac chromin tabl int 0 dht tabl length jpeg huffman tabl dht tabl dht tabl dht tabl write stream output stream swt error swt error io jpeg huffman tabl tabl dht tabl tabl int 0 tabl length jpeg huffman tabl huffman tabl tabl huffman tabl tabl class 0 dc huffman tabl huffman tabl tabl identifi huffman tabl ac huffman tabl huffman tabl tabl identifi huffman tabl precedingd cs int 4 scan header jpeg scan header byte 14 scan header set segment marker so scan header set segment length scan length scan header set number imag compon compon scan header set start spectral select 0 scan header set end spectral select 63 scan header compon paramet scan param scan header initi content scan header write stream output stream swt error swt error io convert imag toi cb cr imag reset output buffer current byte 0 current bit count 0 encod scan jpeg end imag write stream output stream swt error swt error io unloadintobytestream imagedata jpegstartofimag writetostream outputstream error_io jpegappn jpegappn writetostream outputstream error_io quantizationt jpegquantizationt jpegquantizationt defaultchrominancet scalebi encoderqfactor jpegdqtkei getquantizationtableskei jpegdqtvalu getquantizationtablesvalu jpegdqtkei quantizationt jpegdqtkei jpegdqtvalu jpegquantizationt jpegquantizationt defaultluminancet scalebi encoderqfactor jpegdqtkei getquantizationtableskei jpegdqtvalu getquantizationtablesvalu jpegdqtkei quantizationt jpegdqtkei jpegdqtvalu writetostream outputstream error_io writetostream outputstream error_io framelength scanlength frameparam scanparam framelength frameparam frameparam scanparam scanparam scanlength ncompon framelength frameparam frameparam frameparam frameparam scanparam scanparam scanparam scanparam scanlength ncompon imagewidth imageheight framehead jpegframehead framehead setsegmentmark framehead setsegmentlength framelength framehead setsampleprecis framehead setsamplesperlin imagewidth framehead setnumberoflin imageheight framehead setnumberofimagecompon ncompon framehead componentparamet frameparam framehead componentidentifi framehead initializecont framehead writetostream outputstream error_io framecompon frameparam componentid framehead componentidentifi framehead getmaxhfactor framehead getmaxvfactor mcuwidth mcuheight interleavedmcucol imagewidth mcuwidth mcuwidth interleavedmcurow imageheight mcuheight mcuheight achuffmant jpeghuffmant dchuffmant jpeghuffmant jpeghuffmant dhttabl jpeghuffmant jpeghuffmant getdefaultdcluminancet jpeghuffmant getdefaultdcchrominancet jpeghuffmant getdefaultacluminancet jpeghuffmant getdefaultacchrominancet dhttabl jpeghuffmant dhttabl dhttabl dhttabl writetostream outputstream error_io jpeghuffmant alltabl dhttabl getallt alltabl jpeghuffmant huffmant alltabl huffmant gettableclass dchuffmant huffmant gettableidentifi huffmant achuffmant huffmant gettableidentifi huffmant precedingdc scanhead jpegscanhead scanhead setsegmentmark scanhead setsegmentlength scanlength scanhead setnumberofimagecompon ncompon scanhead setstartofspectralselect scanhead setendofspectralselect scanhead componentparamet scanparam scanhead initializecont scanhead writetostream outputstream error_io convertimagetoycbcr resetoutputbuff currentbyt currentbitcount encodescan jpegendofimag writetostream outputstream error_io abstract class jpeg fix size segment extend jpeg segment public jpeg fix size segment refer byte fix size set segment marker signatur jpegfixedsizeseg jpegseg jpegfixedsizeseg fixeds setsegmentmark public jpeg fix size segment byte refer super refer jpegfixedsizeseg public jpeg fix size segment le data input stream byte stream refer byte fix size try byte stream read refer catch except swt error swt error io jpegfixedsizeseg ledatainputstream bytestream fixeds bytestream error_io abstract public int fix size fixeds abstract public int fix size public int segment length return fix size 2 fixeds getsegmentlength fixeds public void set segment length int length setsegmentlength public int compon paramet public jpeg frame header byte refer super refer componentparamet jpegframehead public jpeg frame header le data input stream byte stream super byte stream initi compon paramet jpegframehead ledatainputstream bytestream bytestream initializecomponentparamet public int sampl precis return refer 4 0xff getsampleprecis public int number line return refer 5 0xff 8 refer 6 0xff getnumberoflin public int sampl line return refer 7 0xff 8 refer 8 0xff getsamplesperlin public int number imag compon return refer 9 0xff getnumberofimagecompon public void set sampl precis int precis refer 4 byte precis 0xff setsampleprecis public void set number line int integ refer 5 byte integ 0xff00 8 refer 6 byte integ 0xff setnumberoflin aninteg aninteg aninteg public void set sampl line int sampl refer 7 byte sampl 0xff00 8 refer 8 byte sampl 0xff setsamplesperlin public void set number imag compon int integ refer 9 byte integ 0xff setnumberofimagecompon aninteg aninteg public int maxh factor return maxh factor getmaxhfactor maxhfactor public int maxv factor return maxv factor getmaxvfactor maxvfactor public void set maxh factor int integ maxh factor integ setmaxhfactor aninteg maxhfactor aninteg public void set maxv factor int integ maxv factor integ setmaxvfactor aninteg maxvfactor aninteg decod void initi compon paramet int nf number imag compon compon identifi int nf int comp spec param int 0 int hmax 1 int vmax 1 int 0 nf int of 3 10 int ci refer of 0xff compon identifi ci int hi refer of 1 0xff 16 int vi refer of 1 0xff 16 int tqi refer of 2 0xff hi hmax hmax hi vi vmax vmax vi int comp param int 5 comp param 0 tqi comp param 1 hi comp param 2 vi comp spec param length ci int param int ci 1 system arraycopi comp spec param 0 param 0 comp spec param length comp spec param param comp spec param ci comp param int sampl line int number line int multipl int 8 16 24 32 int 0 nf int comp param comp spec param compon identifi int hi comp param 1 int vi comp param 2 int comp width hi hmax 1 hmax int comp height vi vmax 1 vmax int ds width round multipl comp width multipl hi 1 int ds height round multipl comp height multipl vi 1 comp param 3 ds width comp param 4 ds height set maxh factor hmax set maxv factor vmax compon paramet comp spec param initializecomponentparamet getnumberofimagecompon componentidentifi compspecparam componentidentifi compparam compparam compparam compparam compspecparam newparam compspecparam newparam compspecparam compspecparam newparam compspecparam compparam getsamplesperlin getnumberoflin compparam compspecparam componentidentifi compparam compparam compwidth compheight dswidth rounduptomultipl compwidth dsheight rounduptomultipl compheight compparam dswidth compparam dsheight setmaxhfactor setmaxvfactor componentparamet compspecparam encod public void initi content int nf number imag compon nf 0 nf compon paramet length swt error swt error invalid imag int hmax 0 int vmax 0 int comp spec param compon paramet int 0 nf int of 3 10 int comp param comp spec param compon identifi int hi comp param 1 int vi comp param 2 hi vi 4 swt error swt error invalid imag refer of byte 1 refer of 1 byte hi 16 vi refer of 2 byte comp param 0 hi hmax hmax hi vi vmax vmax vi int sampl line int number line int multipl int 8 16 24 32 int 0 nf int comp param comp spec param compon identifi int hi comp param 1 int vi comp param 2 int comp width hi hmax 1 hmax int comp height vi vmax 1 vmax int ds width round multipl comp width multipl hi 1 int ds height round multipl comp height multipl vi 1 comp param 3 ds width comp param 4 ds height set maxh factor hmax set maxv factor vmax initializecont getnumberofimagecompon componentparamet error_invalid_imag compspecparam componentparamet compparam compspecparam componentidentifi compparam compparam error_invalid_imag compparam getsamplesperlin getnumberoflin compparam compspecparam componentidentifi compparam compparam compwidth compheight dswidth rounduptomultipl compwidth dsheight rounduptomultipl compheight compparam dswidth compparam dsheight setmaxhfactor setmaxvfactor int round multipl int integ int integ int integ integ 1 return a integ rounduptomultipl aninteg minteg aninteg minteg minteg public boolean verifi int marker segment marker return marker jpeg file format sof0 marker jpeg file format sof3 marker jpeg file format sof5 marker jpeg file format sof7 marker jpeg file format sof9 marker jpeg file format sof11 marker jpeg file format sof13 marker jpeg file format sof15 getsegmentmark jpegfileformat jpegfileformat jpegfileformat jpegfileformat jpegfileformat jpegfileformat jpegfileformat jpegfileformat public boolean progress int marker segment marker return marker jpeg file format sof2 marker jpeg file format sof6 marker jpeg file format sof10 marker jpeg file format sof14 isprogress getsegmentmark jpegfileformat jpegfileformat jpegfileformat jpegfileformat public boolean arithmet code return segment marker jpeg file format sof9 isarithmeticcod getsegmentmark jpegfileformat public jpeg huffman tabl byte refer super refer jpeghuffmant public jpeg huffman tabl le data input stream byte stream super byte stream initi jpeghuffmant ledatainputstream bytestream bytestream public jpeg huffman tabl tabl return tabl jpeghuffmant getallt alltabl public static jpeg huffman tabl defaultac chromin tabl jpeg huffman tabl result jpeg huffman tabl ac chromin tabl result initi return result jpeghuffmant getdefaultacchrominancet jpeghuffmant jpeghuffmant acchrominancet public static jpeg huffman tabl defaultac lumin tabl jpeg huffman tabl result jpeg huffman tabl ac lumin tabl result initi return result jpeghuffmant getdefaultacluminancet jpeghuffmant jpeghuffmant acluminancet public static jpeg huffman tabl defaultdc chromin tabl jpeg huffman tabl result jpeg huffman tabl dc chromin tabl result initi return result jpeghuffmant getdefaultdcchrominancet jpeghuffmant jpeghuffmant dcchrominancet public static jpeg huffman tabl defaultdc lumin tabl jpeg huffman tabl result jpeg huffman tabl dc lumin tabl result initi return result jpeghuffmant getdefaultdcluminancet jpeghuffmant jpeghuffmant dcluminancet public int dh max code return dh max code getdhmaxcod dhmaxcod public int dh min code return dh min code getdhmincod dhmincod public int dh val ptr return dh val ptr getdhvalptr dhvalptr public int dh valu return dh valu getdhvalu dhvalu public int tabl class return tabl class gettableclass tableclass public int tabl identifi return tabl identifi gettableidentifi tableidentifi void initi int total length segment length 2 int of 4 int bit int 16 jpeg huffman tabl huff tabl jpeg huffman tabl 8 maximum 4 ac 4 dc int huff tabl count 0 total length 0 int tc refer of 0xff 16 tabl class ac 1 dc 0 int tid refer of 0xff 16 tabl id 0 1 baselin 0 3 prog ext of read 16 count byte add tabl size int count 0 int 0 bit length int count refer of 0xff bit count count count of 16 total length 17 read tabl int huff val int count int 0 count huff val refer of 0xff of count total length count calcul length int huff code length int 50 start 50 increment need int huff code length index 0 int 0 16 int 0 bit huff code length index huff code length length int huff code length int huff code length length 50 system arraycopi huff code length 0 huff code length 0 huff code length length huff code length huff code length huff code length huff code length index 1 huff code length index truncat huff code length correct size huff code length index huff code length length int huff code length int huff code length index system arraycopi huff code length 0 huff code length 0 huff code length index huff code length huff code length calcul huffman code int huff code int 50 start 50 increment need int huff code index 0 int 1 int code 0 int si huff code length 0 int 0 huff code length index huff code length index huff code length si huff code index huff code length int huff code int huff code length 50 system arraycopi huff code 0 huff code 0 huff code length huff code huff code huff code huff code index code huff code index code code 2 si truncat huff code correct size huff code index huff code length int huff code int huff code index system arraycopi huff code 0 huff code 0 huff code index huff code huff code calcul maximum minimum code 0 int max code int 16 int min code int 16 int val ptr int 16 int 0 16 int size bit size 0 max code 1 val ptr min code huff code k size max code huff code 1 calcul huffman code length int huff code int 256 byte huff size byte 256 int 0 huff code index huff code huff val huff code huff size huff val byte huff code length creat jpeg huffman tabl add tabl arrai jpeg huffman tabl dht tabl jpeg huffman tabl refer dht tabl tabl class tc dht tabl tabl identifi tid dht tabl dh valu huff val dht tabl dh code huff code dht tabl dh code length huff code length dht tabl dh min code min code dht tabl dh max code max code dht tabl dh val ptr val ptr dht tabl eh code huff code dht tabl eh code length huff size huff tabl huff tabl count dht tabl huff tabl count tabl jpeg huffman tabl huff tabl count system arraycopi huff tabl 0 tabl 0 huff tabl count totallength getsegmentlength jpeghuffmant hufftabl jpeghuffmant hufftablecount totallength bcount bcount bcount totallength huffval huffval totallength huffcodelength huffcodelengthsindex huffcodelengthsindex huffcodelength newhuffcodelength huffcodelength huffcodelength newhuffcodelength huffcodelength huffcodelength newhuffcodelength huffcodelength huffcodelengthsindex huffcodelengthsindex huffcodelength huffcodelengthsindex huffcodelength newhuffcodelength huffcodelengthsindex huffcodelength newhuffcodelength huffcodelengthsindex huffcodelength newhuffcodelength huffcod huffcodesindex huffcodelength huffcodelengthsindex huffcodelengthsindex huffcodelength huffcodesindex huffcod newhuffcod huffcod huffcod newhuffcod huffcod huffcod newhuffcod huffcod huffcodesindex huffcodesindex huffcod huffcodesindex huffcod newhuffcod huffcodesindex huffcod newhuffcod huffcodesindex huffcod newhuffcod maxcod mincod valptr bsize bsize maxcod valptr mincod huffcod bsize maxcod huffcod ehuffman ehuffcod ehuffs huffcodesindex ehuffcod huffval huffcod ehuffs huffval huffcodelength jpeghuffmant alltabl jpeghuffmant dhttabl jpeghuffmant dhttabl tableclass dhttabl tableidentifi dhttabl dhvalu huffval dhttabl dhcode huffcod dhttabl dhcodelength huffcodelength dhttabl dhmincod mincod dhttabl dhmaxcod maxcod dhttabl dhvalptr valptr dhttabl ehcod ehuffcod dhttabl ehcodelength ehuffs hufftabl hufftablecount dhttabl hufftablecount alltabl jpeghuffmant hufftablecount hufftabl alltabl hufftablecount public int signatur return jpeg file format dht jpegfileformat public jpeg quantiz tabl byte refer super refer jpegquantizationt public jpeg quantiz tabl le data input stream byte stream super byte stream jpegquantizationt ledatainputstream bytestream bytestream public static jpeg quantiz tabl default chromin tabl byte data byte default chrominanceq tabl length system arraycopi default chrominanceq tabl 0 data 0 data length return jpeg quantiz tabl data jpegquantizationt defaultchrominancet defaultchrominanceqt defaultchrominanceqt jpegquantizationt public static jpeg quantiz tabl default lumin tabl byte data byte default luminanceq tabl length system arraycopi default luminanceq tabl 0 data 0 data length return jpeg quantiz tabl data jpegquantizationt defaultluminancet defaultluminanceqt defaultluminanceqt jpegquantizationt public int quantiz tabl kei int kei int 4 int kei index 0 int total length segment length 2 int of 4 total length 64 int tq refer of 0xff 16 int pq refer of 0xff 16 pq 0 of 65 total length 65 of 129 total length 129 kei index kei length int kei int kei length 4 system arraycopi kei 0 kei 0 kei length kei kei kei kei index tq kei index int kei int kei index system arraycopi kei 0 kei 0 kei index return kei getquantizationtableskei keysindex totallength getsegmentlength totallength totallength totallength keysindex newkei newkei newkei keysindex keysindex newkei keysindex newkei keysindex newkei public int quantiz tabl valu int valu int 4 int valu index 0 int total length segment length 2 int of 4 total length 64 int qk int 64 int pq refer of 0xff 16 pq 0 int 0 qk length qk refer of 1 of 65 total length 65 int 0 qk length int idx 1 2 qk refer of idx 1 0xff 256 refer of idx 2 0xff of 129 total length 129 valu index valu length int valu int valu length 4 system arraycopi valu 0 valu 0 valu length valu valu valu valu index qk valu index int valu int valu index system arraycopi valu 0 valu 0 valu index return valu getquantizationtablesvalu valuesindex totallength getsegmentlength totallength totallength totallength valuesindex newvalu newvalu newvalu valuesindex valuesindex newvalu valuesindex newvalu valuesindex newvalu public void scale int qualiti factor int factor qualiti factor factor 0 factor 1 factor 100 factor 100 factor 50 factor 5000 factor factor 200 factor 2 int total length segment length 2 int of 4 total length 64 int tq refer of 0xff 16 int pq refer of 0xff 16 pq 0 int of 1 of 64 int temp refer 0xff factor 50 100 temp 0 temp 1 temp 255 temp 255 refer byte temp of 65 total length 65 int of 1 of 128 2 int temp refer 0xff 256 refer 1 0xff factor 50 100 temp 0 temp 1 temp 32767 temp 32767 refer byte temp 256 refer 1 byte temp 256 of 129 total length 129 scalebi qualityfactor qfactor qualityfactor qfactor qfactor qfactor qfactor qfactor qfactor qfactor qfactor qfactor totallength getsegmentlength totallength qfactor totallength qfactor totallength public int signatur return jpeg file format dqt jpegfileformat final class jpeg restart interv extend jpeg fix size segment public jpeg restart interv le data input stream byte stream super byte stream jpegrestartinterv jpegfixedsizeseg jpegrestartinterv ledatainputstream bytestream bytestream public int signatur return jpeg file format dri jpegfileformat public int restart interv return refer 4 0xff 8 refer 5 0xff getrestartinterv public int fix size return 6 fixeds public int compon paramet public jpeg scan header byte refer super refer componentparamet jpegscanhead public jpeg scan header le data input stream byte stream super byte stream initi compon paramet jpegscanhead ledatainputstream bytestream bytestream initializecomponentparamet public int approx bit posit high return refer 2 number imag compon 7 0xff 16 getapproxbitpositionhigh getnumberofimagecompon public int approx bit posit low return refer 2 number imag compon 7 0xff 16 getapproxbitpositionlow getnumberofimagecompon public int end spectral select return refer 2 number imag compon 6 0xff getendofspectralselect getnumberofimagecompon public int number imag compon return refer 4 0xff getnumberofimagecompon public int start spectral select return refer 2 number imag compon 5 0xff getstartofspectralselect getnumberofimagecompon decod void initi compon paramet int comp count number imag compon compon paramet int 0 int 0 comp count int of 5 2 int cid refer of 0xff int dc refer of 1 0xff 16 int ac refer of 1 0xff 16 compon paramet length cid int param int cid 1 system arraycopi compon paramet 0 param 0 compon paramet length compon paramet param compon paramet cid int dc ac initializecomponentparamet compcount getnumberofimagecompon componentparamet compcount componentparamet newparam componentparamet newparam componentparamet componentparamet newparam componentparamet encod public void initi content int comp count number imag compon int comp spec param compon paramet comp count 0 comp count comp spec param length swt error swt error invalid imag int 0 comp count int of 2 5 int comp param comp spec param refer of byte 1 refer of 1 byte comp param 0 16 comp param 1 initializecont compcount getnumberofimagecompon compspecparam componentparamet compcount compcount compspecparam error_invalid_imag compcount compparam compspecparam compparam compparam public void set end spectral select int integ refer 2 number imag compon 6 byte integ setendofspectralselect aninteg getnumberofimagecompon aninteg public void set number imag compon int integ refer 4 byte integ 0xff setnumberofimagecompon aninteg aninteg public void set start spectral select int integ refer 2 number imag compon 5 byte integ setstartofspectralselect aninteg getnumberofimagecompon aninteg public int signatur return jpeg file format so jpegfileformat public boolean verifi progress scan int start start spectral select int end end spectral select int low approx bit posit low int high approx bit posit high int count number imag compon start 0 end 00 start end end 63 low 13 high 13 high 0 high low 1 return start 0 start 0 count 1 return fals verifyprogressivescan getstartofspectralselect getendofspectralselect getapproxbitpositionlow getapproxbitpositionhigh getnumberofimagecompon public boolean isac progress scan return start spectral select 0 end spectral select 0 isacprogressivescan getstartofspectralselect getendofspectralselect public boolean isdc progress scan return start spectral select 0 end spectral select 0 isdcprogressivescan getstartofspectralselect getendofspectralselect public boolean scan return approx bit posit high 0 isfirstscan getapproxbitpositionhigh public byte refer jpeg segment jpegseg public jpeg segment byte refer refer refer jpegseg public int signatur return 0 public boolean verifi return segment marker signatur getsegmentmark public int segment marker return refer 0 0xff 8 refer 1 0xff getsegmentmark public void set segment marker int marker refer 0 byte marker 0xff00 8 refer 1 byte marker 0xff setsegmentmark public int segment length return refer 2 0xff 8 refer 3 0xff getsegmentlength public void set segment length int length refer 2 byte length 0xff00 8 refer 3 byte length 0xff setsegmentlength public boolean write stream le data output stream byte stream try byte stream write refer return true catch except return fals writetostream ledataoutputstream bytestream bytestream final class jpeg start imag extend jpeg fix size segment public jpeg start imag super jpegstartofimag jpegfixedsizeseg jpegstartofimag public jpeg start imag byte refer super refer jpegstartofimag public jpeg start imag le data input stream byte stream super byte stream jpegstartofimag ledatainputstream bytestream bytestream public int signatur return jpeg file format soi jpegfileformat public int fix size return 2 fixeds abstract class jpeg variabl size segment extend jpeg segment public jpeg variabl size segment byte refer super refer jpegvariablesizeseg jpegseg jpegvariablesizeseg public jpeg variabl size segment le data input stream byte stream try byte header byte 4 byte stream read header refer header segment length byte content byte segment length 2 content 0 header 0 content 1 header 1 content 2 header 2 content 3 header 3 byte stream read content 4 content length 4 refer content catch except swt error swt error io jpegvariablesizeseg ledatainputstream bytestream bytestream getsegmentlength getsegmentlength bytestream error_io public le data input stream input stream input input 512 ledatainputstream inputstream public le data input stream input stream input int buffer size input buffer size 0 buf byte buffer size po buffer size throw illeg argument except ledatainputstream inputstream buffers buffers buffers buffers illegalargumentexcept public void close throw io except buf null null close null ioexcept answer byte read public int posit return posit getposit answer byte read block public int throw io except buf null throw io except return buf length po ioexcept ioexcept answer byte input stream public int read throw io except buf null throw io except posit po buf length return buf po 0xff return read ioexcept ioexcept don imit jdk behaviour read random number byte actual read public int read byte int int len throw io except int result int left len result read data len true result 1 return 1 posit result result left return len left result result result read data left ioexcept readdata readdata read code length code byte le data input stream store byte arrai code buffer code start code offset code answer number byte actual read 1 byte read end stream encount implement read byte pushback buffer target stream byte requir satisfi code count code param buffer byte arrai store read byte param offset offset code buffer code store read byte param length maximum number byte store code buffer code return int number byte actual read 1 end stream except java io io except io except occur privat int read data byte buffer int offset int length throw io except buf null throw io except offset 0 offset buffer length length 0 length buffer length offset throw arrai index bound except int cach copi 0 int offset offset pushback byte int buf length po 0 cach copi length length system arraycopi buf po buffer offset cach copi offset cach copi po cach copi copi cach copi length return length int copi read buffer offset length cach copi copi 0 return copi cach copi cach copi 0 return copi return cach copi ledatainputstream ioexcept ioexcept readdata ioexcept ioexcept arrayindexoutofboundsexcept cachecopi newoffset cachecopi newoffset cachecopi newoffset cachecopi cachecopi cachecopi incopi newoffset cachecopi incopi incopi cachecopi cachecopi incopi cachecopi answer integ compris byte input stream public int read int throw io except byte buf byte 4 read buf return buf 3 0xff 8 buf 2 0xff 8 buf 1 0xff 8 buf 0 0xff readint ioexcept answer short compris byte input stream public short read short throw io except byte buf byte 2 read buf return short buf 1 0xff 8 buf 0 0xff readshort ioexcept push entir content buffer code code byte push read 0 1 push buffer handl byte copi code code io except thrown byte push param byte arrai byte push stream except java io io except pushback buffer small public void unread byte throw io except int length length length po throw io except posit length po length system arraycopi 0 buf po length ioexcept ioexcept ioexcept ioexcept final class le data output stream extend output stream output stream public le data output stream output stream output output ledataoutputstream outputstream outputstream ledataoutputstream outputstream output public void close throw io except close ioexcept close public void write byte int int len throw io except write len ioexcept write byte output stream public void write int throw io except write ioexcept write byte output stream public void write byte byte throw io except write 0xff writebyt ioexcept write byte integ output stream public void write int int int throw io except write int 0xff write int 8 0xff write int 16 0xff write int 24 0xff writeint theint ioexcept theint theint theint theint write byte short output stream public void write short int short throw io except write short 0xff write short 8 0xff writeshort theshort ioexcept theshort theshort decod input void decod int code int oc 0 int fc 0 byte buf byte imag width int stack index 0 int buf index 0 int code end code clear code code size bit pixel 1 code mask mask tabl bit pixel current slot code top slot 1 code size code clear code end code oc fc buf buf index byte buf index buf index imag width put pixel buf buf index 0 code code current slot code current slot swt error swt error invalid imag code oc stack stack index fc stack index code code stack stack index suffix code stack index code prefix code stack stack index code stack index current slot top slot fc code suffix current slot fc prefix current slot oc current slot oc current slot top slot code size 12 code mask mask tabl code size code size top slot top slot top slot stack index 0 stack index buf buf index byte stack stack index buf index buf index imag width put pixel buf buf index 0 buf index 0 line imag height put pixel buf imagewidth stackindex bufindex nextcod endcod clearcod codes bitsperpixel codemask mask_tabl bitsperpixel currentslot newcod topslot codes nextcod clearcod endcod bufindex bufindex bufindex imagewidth nextputpixel bufindex currentslot currentslot error_invalid_imag stackindex stackindex newcod stackindex stackindex stackindex stackindex currentslot topslot currentslot currentslot currentslot currentslot topslot codes codemask mask_tabl codes codes topslot topslot topslot stackindex stackindex bufindex stackindex bufindex bufindex imagewidth nextputpixel bufindex bufindex imageheight nextputpixel decod lzw encod byte byte stream devic independ imag public void decod le data input stream input stream imag loader loader imag data imag boolean interlac int depth input stream input stream loader loader imag imag interlac interlac bit pixel depth initi decod decod deviceindependentimag ledatainputstream inputstream imageload imagedata inputstream inputstream bitsperpixel initializefordecod encod imag void encod put code clear code int prefix encod loop put code prefix put code end code write partial block bit left 8 block 0 byte block index 1 byte block 0 byte block index byte data write block write empti block end need block 0 0 block 0 0 write block nextputcod clearcod lastprefix encodeloop nextputcod lastprefix nextputcod endcod bitsleft blockindex blockindex writeblock writeblock encod byte byte stream devic independ imag public void encod le data output stream byte stream imag data imag output stream byte stream imag imag initi encod encod deviceindependentimag ledataoutputstream bytestream imagedata outputstream bytestream initializeforencod encod loop broken allow earli return int encod loop int pixel pixel boolean found lzw node node true int current prefix pixel node node stack current prefix found true pixel pixel pixel 0 return current prefix found node children null node node children found node suffix pixel pixel node suffix node left null node left lzw node found fals node node left node null node lzw node found fals node node found current prefix node code pixel pixel pixel 0 return current prefix found node children lzw node node node children node children null node left null node null node code current slot node prefix current prefix node suffix pixel put code current prefix current slot current slot 4096 current slot top slot code size code mask mask tabl code size 1 top slot 2 put code clear code int 0 node stack length node stack children null code size bit pixel 1 code mask mask tabl code size 1 current slot code top slot 1 code size encodeloop nextpixel lzwnode currentprefix nodestack currentprefix nextpixel currentprefix lzwnode lzwnode currentprefix nextpixel currentprefix lzwnode currentslot currentprefix nextputcod currentprefix currentslot currentslot currentslot topslot codes codemask mask_tabl codes topslot nextputcod clearcod nodestack nodestack codes bitsperpixel codemask mask_tabl codes currentslot newcod topslot codes initi receiv decod byte arrai void initi decod pass 1 line 0 code size bit pixel 1 top slot 1 code size clear code 1 bit pixel end code clear code 1 code current slot end code 1 current byte 1 block size bit left 0 block index 0 code mask mask tabl code size 1 stack int 4096 suffix int 4096 prefix int 4096 block byte 256 imag width imag width imag height imag height initializefordecod codes bitsperpixel topslot codes clearcod bitsperpixel endcod clearcod newcod currentslot endcod currentbyt blocksiz bitsleft blockindex codemask mask_tabl codes imagewidth imageheight initi receiv encod byte arrai void initi encod interlac fals bit pixel imag depth code size bit pixel 1 top slot 1 code size clear code 1 bit pixel end code clear code 1 code current slot end code 1 bit left 8 current byte 0 block index 1 block size 255 block byte block size block 0 byte block size 1 node stack lzw node 1 bit pixel int 0 node stack length lzw node node lzw node node code 1 node prefix 1 node suffix 1 node stack node imag width imag width imag height imag height imagei 1 line arrai byte imag width imagex imag width 1 forc read initializeforencod bitsperpixel codes bitsperpixel topslot codes clearcod bitsperpixel endcod clearcod newcod currentslot endcod bitsleft currentbyt blockindex blocksiz blocksiz blocksiz nodestack lzwnode bitsperpixel nodestack lzwnode lzwnode nodestack imagewidth imageheight linearrai imagewidth imagewidth answer code input byte arrai int code int code bit left 0 block index block size block size read block block index 0 block size 0 return end code block index current byte block block index 0xff bit left 8 code current byte int shift bit left 8 shift 0 code current byte 0 shift code current byte shift code size bit left block index block size block size read block block index 0 block size 0 return end code block index current byte block block index 0xff code current byte bit left bit left 8 bit left code size return code code mask nextcod bitsleft blockindex blocksiz blocksiz readblock blockindex blocksiz endcod blockindex currentbyt blockindex bitsleft currentbyt bitsleft currentbyt currentbyt codes bitsleft blockindex blocksiz blocksiz readblock blockindex blocksiz endcod blockindex currentbyt blockindex currentbyt bitsleft bitsleft bitsleft codes codemask answer pixel encod imag int pixel imagex imagex imag width imagei imagei imag height return 1 pixel line arrai imag width imagex 1 return line arrai imagex 1 0xff nextpixel imagewidth imageheight nextpixel linearrai imagewidth linearrai copi row pixel valu imag void pixel byte buf int line width imag depth 8 system arraycopi imag data imagei imag byte line buf 0 line width imag pixel 0 imagei line width buf 0 nextpixel linewidth bytesperlin linewidth getpixel linewidth output code output stream void put code int code int code code int code bit code size fill remaind current byte high order bit code int code mask tabl bit left 1 current byte current byte 8 bit left block block index byte current byte code bit bit left code bit 1 code fit byte bit left code size bit left 0 byte readi bit left 8 block index block index block size write block block index 1 current byte 0 return code code bit left fill remain byte block index block index block size write block block index 1 code bit 8 current byte code 0xff block block index byte current byte code code 8 code bit 8 block index block index block size write block block index 1 fill low order bit byte remaind bit left 8 code bit current byte code block block index byte current byte acod nextputcod acod codetodo acod codebitstodo codes codetodo mask_tabl bitsleft currentbyt currentbyt bitsleft blockindex currentbyt codebitstodo bitsleft codebitstodo bitsleft codes bitsleft bitsleft blockindex blockindex blocksiz writeblock blockindex currentbyt codetodo codetodo bitsleft blockindex blockindex blocksiz writeblock blockindex codebitstodo currentbyt codetodo blockindex currentbyt codetodo codetodo codebitstodo blockindex blockindex blocksiz writeblock blockindex bitsleft codebitstodo currentbyt codetodo blockindex currentbyt copi row pixel valu imag void put pixel byte buf imag depth 8 slight optim depth 8 int start line imag byte line int 0 imag width imag data start buf imag set pixel 0 line imag width buf 0 interlac pass 1 copi row buf 7 line 8 pass 2 copi row buf 3 line 8 pass 3 copi row buf 1 line 4 pass 4 line 2 pass 5 line 0 line imag height pass pass 2 line 4 pass 3 line 2 pass 4 line 1 pass 5 line 0 pass 5 loader listen imag data imag copi imag data imag clone loader notifi listen imag loader event loader imag copi pass 2 fals line imag height line 0 line nextputpixel bytesperlin imagewidth setpixel imagewidth copyrow copyrow copyrow imageheight haslisten imagedata imagecopi imagedata notifylisten imageloaderev imagecopi imageheight copi duplic row pixel valu imag fill row imag interlac void copi row byte buf int copi int 1 copi line imag height imag set pixel 0 line imag width buf 0 copyrow imageheight setpixel imagewidth read block byte stream return number byte read throw except block read int read block int size 1 try size input stream read size 1 swt error swt error invalid imag block 0 byte size size input stream read block 1 size size 1 swt error swt error invalid imag catch except swt error swt error io return size readblock inputstream error_invalid_imag inputstream error_invalid_imag error_io write block byte stream throw except block written void write block try output stream write block 0 block 0 0xff 1 catch except swt error swt error io writeblock outputstream error_io construct png chunk refer byte png chunk byte refer super set refer refer pngchunk pngchunk setrefer png chunk refer byte arrai byte refer return refer pngchunk bytearrai getrefer set png chunk refer byte arrai void set refer byte refer refer refer pngchunk bytearrai setrefer 32 bit integ refer byte arrai offset int int32 int offset int answer 0 answer refer offset 0xff 24 answer refer offset 1 0xff 16 answer refer offset 2 0xff 8 answer refer offset 3 0xff return answer getint32 set 32 bit integ refer byte arrai offset void set int32 int offset int refer offset byte 24 0xff refer offset 1 byte 16 0xff refer offset 2 byte 8 0xff refer offset 3 byte 0xff setint32 length data compon chunk length entir chunk int length return int32 length offset getlength getint32 length_offset set length data compon chunk length entir chunk void set length int set int32 length offset setlength setint32 length_offset chunk type byte byte ascii charact byte upper case chunk critic byte upper case chunk publicli defin byte upper case fourth byte upper case chunk unsaf copi public chunk type defin png develop group byte type byte byte type byte 4 system arraycopi refer type offset type 0 type field length return type gettypebyt type_offset type_field_length set chunk type byte byte ascii charact byte upper case chunk critic byte upper case chunk publicli defin byte upper case fourth byte upper case chunk unsaf copi public chunk type defin png develop group void set type byte valu length type field length swt error swt error invalid argument system arraycopi 0 refer type offset type field length settyp type_field_length error_invalid_argument type_offset type_field_length chunk data byte data int data length length refer length min length data length swt error swt error invalid rang byte data byte data length system arraycopi refer data offset data 0 data length return data getdata datalength getlength min_length datalength error_invalid_rang datalength data_offset datalength set chunk data method side effect 1 set length field length data arrai 2 set crc field comput crc data arrai void set data byte data set length data length system arraycopi data 0 refer data offset data length setcrc computecrc setdata setlength data_offset crc chunk data ensur length field make call int getcrc int crc offset data offset length return int32 crc offset crcoffset data_offset getlength getint32 crcoffset set crc chunk data ensur length field make call void setcrc int int crc offset data offset length set int32 crc offset crcoffset data_offset getlength setint32 crcoffset chunk total size includ length type crc field int size return min length length getsiz min_length getlength comput crc chunk data answer match store chunk boolean checkcrc int crc computecrc int storedcrc getcrc return crc storedcrc answer crc chunk data int computecrc int crc 0xffffffff int start type offset int stop data offset length int start stop int index crc refer 0xff crc crc tabl index crc 8 0x00ffffff return crc type_offset data_offset getlength crc_tabl boolean type match arrai byte arrai int 0 type field length refer type offset arrai return fals return true typematchesarrai type_field_length type_offset boolean critic return charact upper case char type byte 0 iscrit isuppercas gettypebyt int chunk type type match arrai type ihdr return chunk ihdr type match arrai type plte return chunk plte type match arrai type idat return chunk idat type match arrai type iend return chunk iend type match arrai type trn return chunk trn return chunk unknown getchunktyp typematchesarrai type_ihdr chunk_ihdr typematchesarrai type_plte chunk_plte typematchesarrai type_idat chunk_idat typematchesarrai type_iend chunk_iend typematchesarrai type_trn chunk_trn chunk_unknown read png chunk input stream unabl read chunk return null static png chunk read stream le data input stream stream try int header length length field length type field length byte header byte byte header length int result stream read header byte 0 header length stream unread header byte result header length return null png chunk temp chunk png chunk header byte int chunk length temp chunk size byte chunk byte chunk length result stream read chunk 0 chunk length result chunk length return null switch temp chunk chunk type case chunk ihdr return png ihdr chunk chunk case chunk plte return png plte chunk chunk case chunk idat return png idat chunk chunk case chunk iend return png iend chunk chunk case chunk trn return png trn chunk chunk default return png chunk chunk catch io except return null pngchunk readnextfromstream ledatainputstream headerlength length_field_length type_field_length headerbyt headerlength headerbyt headerlength headerbyt headerlength pngchunk tempchunk pngchunk headerbyt chunklength tempchunk getsiz chunklength chunklength chunklength tempchunk getchunktyp chunk_ihdr pngihdrchunk chunk_plte pngpltechunk chunk_idat pngidatchunk chunk_iend pngiendchunk chunk_trn pngtrnschunk pngchunk ioexcept answer chunk valid png chunk void valid png file read read png ihdr chunk header chunk refer length min length swt error swt error invalid imag byte type type byte charact upper case charact upper case char type 2 swt error swt error invalid imag charact letter int 0 type field length compat letter char type swt error swt error invalid imag store crc match data comput crc checkcrc swt error swt error invalid imag pngfilereadst readstat pngihdrchunk headerchunk min_length error_invalid_imag gettypebyt isuppercas error_invalid_imag type_field_length islett error_invalid_imag error_invalid_imag provid subclass overrid add data to string call tostr public string string string buffer buffer string buffer buffer append buffer append length buffer append length buffer append type byte type type byte int 0 type length buffer append char type contribut string buffer buffer append tcrc buffer append integ hex string getcrc buffer append return buffer string tostr stringbuff stringbuff tlength getlength ttype gettypebyt contributetostr tohexstr tostr png chunk reader le data input stream input stream input stream input stream read png file read header chunk null pngchunkread ledatainputstream inputstream inputstream inputstream readstat pngfilereadst headerchunk png ihdr chunk ihdr chunk header chunk null try png chunk chunk png chunk read stream input stream header chunk png ihdr chunk chunk header chunk valid read null catch class cast except swt error swt error invalid imag return header chunk pngihdrchunk getihdrchunk headerchunk pngchunk pngchunk readnextfromstream inputstream headerchunk pngihdrchunk headerchunk readstat classcastexcept error_invalid_imag headerchunk png chunk read chunk header chunk null return ihdr chunk png chunk chunk png chunk read stream input stream switch chunk chunk type case png chunk chunk trn png trn chunk chunk valid read header chunk palett chunk break case png chunk chunk plte chunk valid read header chunk palett chunk png plte chunk chunk break default chunk valid read header chunk read readidat chunk chunk type png chunk chunk idat read read pixel data true return chunk pngchunk readnextchunk headerchunk getihdrchunk pngchunk pngchunk readnextfromstream inputstream getchunktyp pngchunk chunk_trn pngtrnschunk readstat headerchunk palettechunk pngchunk chunk_plte readstat headerchunk palettechunk pngpltechunk readstat headerchunk readstat getchunktyp pngchunk chunk_idat readstat readpixeldata boolean read pixel data return read read pixel data readpixeldata readstat readpixeldata boolean chunk return read readiend hasmorechunk readstat png decod data stream png idat chunk idat chunk png chunk reader chunk reader super current chunk idat chunk chunk reader chunk reader byte index 0 bit index max bit 1 adler 1 lz block reader png lz block reader read compress data header lz block reader read block header pngdecodingdatastream pngidatchunk idatchunk pngchunkread chunkread currentchunk idatchunk chunkread chunkread nextbyteindex nextbitindex max_bit adlervalu lzblockread pnglzblockread readcompresseddatahead lzblockread readnextblockhead method call imag decod think compress imag data read method ensur data end block marker block method read ensur empti void assert imag data end lz block reader assert compress data end assertimagedataatend lzblockread assertcompresseddataatend int idat bit int length int 0 int 0 length idat bit return getnextidatbit getnextidatbit byte idat bit bit index max bit current byte idat byte bit index 0 int mask 1 bit index bit index return current byte mask 0 byte 1 byte 0 getnextidatbit nextbitindex max_bit currentbyt getnextidatbyt nextbitindex nextbitindex nextbitindex currentbyt privat png idat chunk chunk png chunk chunk chunk reader read chunk chunk null error chunk chunk type png chunk chunk idat error return png idat chunk chunk pngidatchunk getnextchunk pngchunk chunkread readnextchunk getchunktyp pngchunk chunk_idat pngidatchunk byte idat byte byte index current chunk length 1 current chunk chunk byte index 0 byte byte current chunk data byte offset byte index byte index bit index max bit 1 return byte getnextidatbyt nextbyteindex currentchunk getlength currentchunk getnextchunk nextbyteindex nextbyt currentchunk getdatabyteatoffset nextbyteindex nextbyteindex nextbitindex max_bit nextbyt privat void updat adler byte int low adler 0xffff int high adler 16 0xffff int int 0xff low low int prime high low high prime adler high 16 low updateadl adlervalu adlervalu valueint valueint adlervalu byte decod byte byte decod byte lz block reader byte updat adler decod byte return decod byte getnextdecodedbyt nextdecodedbyt lzblockread getnextbyt updateadl nextdecodedbyt nextdecodedbyt void error swt error swt error invalid imag error_invalid_imag privat void read compress data header byte header byte1 idat byte byte header byte2 idat byte int number header byte1 0xff 8 header byte2 0xff number 31 0 error int compress method header byte1 0x0f compress method 8 error int window size hint header byte1 0xf0 4 window size hint 7 error int window size 1 window size hint 8 lz block reader set window size window size int dictionari header byte2 1 5 dictionari 0 error int compress level header byte2 0xc0 6 readcompresseddatahead headerbyt1 getnextidatbyt headerbyt2 getnextidatbyt headerbyt1 headerbyt2 compressionmethod headerbyt1 compressionmethod windowsizehint headerbyt1 windowsizehint windows windowsizehint lzblockread setwindows windows headerbyt2 compressionlevel headerbyt2 void check adler int store adler idat byte 0xff 24 idat byte 0xff 16 idat byte 0xff 8 idat byte 0xff store adler adler error checkadl storedadl getnextidatbyt getnextidatbyt getnextidatbyt getnextidatbyt storedadl adlervalu skip signatur data verifi ispng file void read signatur throw io except byte signatur byte signatur length input stream read signatur ispngfil readsignatur ioexcept signatur_length inputstream load png imag byte stream imag data load byte stream try read signatur png chunk reader chunk reader png chunk reader input stream header chunk chunk reader ihdr chunk int imag size align byte row header chunk height data byte imag size imag data imag data intern header chunk width header chunk height header chunk swt bit pixel palett data 0 0 0 4 data 0 null null 1 1 swt imag png 0 0 0 0 header chunk direct color imag data palett header chunk palett data read process chunk iend chunk encount chunk reader chunk read chunk chunk reader return imag data imag data catch io except swt error swt error invalid imag return null imagedata loadfrombytestream readsignatur pngchunkread chunkread pngchunkread inputstream headerchunk chunkread getihdrchunk images getalignedbytesperrow headerchunk getheight images imagedata imagedata intern_new headerchunk getwidth headerchunk getheight headerchunk getswtbitsperpixel palettedata imag_png headerchunk usesdirectcolor imagedata headerchunk getpalettedata chunkread hasmorechunk readnextchunk chunkread imagedata imagedata ioexcept error_invalid_imag read handl chunk data png file void read chunk png chunk reader chunk reader png chunk chunk chunk reader read chunk switch chunk chunk type case png chunk chunk iend break case png chunk chunk plte header chunk direct color palett chunk png plte chunk chunk imag data palett palett chunk palett data break case png chunk chunk trn png trn chunk trn chunk png trn chunk chunk trn chunk transpar type header chunk png trn chunk transpar type pixel imag data transpar pixel trn chunk swt transpar pixel header chunk alpha palett trn chunk alpha valu header chunk palett chunk int transpar count 0 transpar pixel 1 int 0 alpha palett length alpha palett 0xff 255 transpar count transpar pixel transpar count 0 alpha palett null transpar count 1 alpha palett transpar pixel 0 alpha palett null imag data transpar pixel transpar pixel break case png chunk chunk idat chunk reader read pixel data idat chunk imag file sequenti pixel data read idat block encount invalid imag swt error swt error invalid imag read pixel data imag imag idat chunk png idat chunk data chunk png idat chunk chunk read pixel data data chunk chunk reader break default chunk critic critic chunk support swt error swt error implement readnextchunk pngchunkread chunkread pngchunk chunkread readnextchunk getchunktyp pngchunk chunk_iend pngchunk chunk_plte headerchunk usesdirectcolor palettechunk pngpltechunk imagedata palettechunk getpalettedata pngchunk chunk_trn pngtrnschunk trnschunk pngtrnschunk trnschunk gettransparencytyp headerchunk pngtrnschunk transpar_type_pixel imagedata transparentpixel trnschunk getswttransparentpixel headerchunk alphapalett trnschunk getalphavalu headerchunk palettechunk transparentcount transparentpixel alphapalett alphapalett transparentcount transparentpixel transparentcount alphapalett transparentcount alphapalett transparentpixel alphapalett imagedata transparentpixel transparentpixel pngchunk chunk_idat chunkread readpixeldata error_invalid_imag pngidatchunk datachunk pngidatchunk readpixeldata datachunk chunkread iscrit error_not_implement void unload byte stream imag data p1 swt error swt error implement unloadintobytestream imagedata error_not_implement boolean file format le data input stream stream try byte signatur byte signatur length stream read signatur stream unread signatur signatur 0 0xff 137 return fals 137 signatur 1 0xff 80 return fals signatur 2 0xff 78 return fals signatur 3 0xff 71 return fals signatur 4 0xff 13 return fals return signatur 5 0xff 10 return fals linefe signatur 6 0xff 26 return fals ctrl signatur 7 0xff 10 return fals linefe return true catch except return fals isfileformat ledatainputstream signatur_length swt support 16 bit depth imag 16 bit depth convert data 8 bit depth byte valid bit depth byte data header chunk bit depth 8 byte result byte data length 2 compress16 bit depth to8 bit depth data 0 result 0 result length return result return data validatebitdepth headerchunk getbitdepth compress16bitdepthto8bitdepth swt support greyscal color type plain grayscal creat palett grayscal alpha need convert pixel rgb valu note method assum bit depth data restrict 8 void set pixel data byte data imag data imag data switch header chunk color type case png ihdr chunk color type grayscal alpha int width imag data width int height imag data height int dest byte line imag data byte line imag 16 bit depth convert 8 bit depth imag int src byte line align byte row header chunk bit depth 8 src byte line 2 byte rgb data byte dest byte line height byte alpha data byte width height int 0 height int src index src byte line int dest index dest byte line int dest alpha index width int 0 width byte grei data src index byte alpha data src index 1 rgb data dest index 0 grei rgb data dest index 1 grei rgb data dest index 2 grei alpha data dest alpha index alpha src index 2 dest index 3 dest alpha index imag data data rgb data imag data alpha data alpha data break case png ihdr chunk color type rgb alpha int width imag data width int height imag data height int dest byte line imag data byte line int src byte line align byte row imag 16 bit depth convert 8 bit depth imag header chunk bit depth 8 src byte line 2 byte rgb data byte dest byte line height byte alpha data byte width height int 0 height int src index src byte line int dest index dest byte line int dest alpha index width int 0 width rgb data dest index 0 data src index 0 rgb data dest index 1 data src index 1 rgb data dest index 2 data src index 2 alpha data dest alpha index data src index 3 src index 4 dest index 3 dest alpha index imag data data rgb data imag data alpha data alpha data break case png ihdr chunk color type rgb imag data data data break case png ihdr chunk color type palett imag data data data alpha palett null int size imag data width imag data height byte alpha data byte size byte pixel data byte size imag data pixel 0 0 size pixel data 0 int 0 pixel data length alpha data alpha palett pixel data 0xff imag data alpha data alpha data break default imag data data data break setpixeldata imagedata imagedata headerchunk getcolortyp pngihdrchunk color_type_grayscal_with_alpha imagedata imagedata destbytesperlin imagedata bytesperlin srcbytesperlin getalignedbytesperrow headerchunk getbitdepth srcbytesperlin rgbdata destbytesperlin alphadata srcindex srcbytesperlin destindex destbytesperlin destalphaindex srcindex srcindex rgbdata destindex rgbdata destindex rgbdata destindex alphadata destalphaindex srcindex destindex destalphaindex imagedata rgbdata imagedata alphadata alphadata pngihdrchunk color_type_rgb_with_alpha imagedata imagedata destbytesperlin imagedata bytesperlin srcbytesperlin getalignedbytesperrow headerchunk getbitdepth srcbytesperlin rgbdata destbytesperlin alphadata srcindex srcbytesperlin destindex destbytesperlin destalphaindex rgbdata destindex srcindex rgbdata destindex srcindex rgbdata destindex srcindex alphadata destalphaindex srcindex srcindex destindex destalphaindex imagedata rgbdata imagedata alphadata alphadata pngihdrchunk color_type_rgb imagedata pngihdrchunk color_type_palett imagedata alphapalett imagedata imagedata alphadata pixeldata imagedata getpixel pixeldata pixeldata alphadata alphapalett pixeldata imagedata alphadata alphadata imagedata png support color type bit depth unsupport swt imag unsupport color type grai scale type bit depth 16 convert data swt support format assign data imag data void set imag data valu byte data imag data imag data byte result valid bit depth data set pixel data result imag data imagedata setimagedatavalu imagedata imagedata validatebitdepth setpixeldata imagedata read imag data data stream handl decod data filter interlac void read pixel data png idat chunk chunk png chunk reader chunk reader decod stream png decod data stream chunk chunk reader int interlac method header chunk interlac method interlac method png ihdr chunk interlac method read non interlac imag read interlac imag decod stream assert imag data end decod stream check adler readpixeldata pngidatchunk pngchunkread chunkread decodingstream pngdecodingdatastream chunkread interlacemethod headerchunk getinterlacemethod interlacemethod pngihdrchunk interlac_method_none readnoninterlacedimag readinterlacedimag decodingstream assertimagedataatend decodingstream checkadl answer number byte word align row pixel data int align byte row return byte row header chunk width 3 4 4 getalignedbytesperrow getbytesperrow headerchunk getwidth answer number byte row imag data png row byte align imag bit depth byte unus bit end row bit undefin int byte row return byte row header chunk width getbytesperrow getbytesperrow headerchunk getwidth answer number byte need repres pixel depend imag color type bit depth note method round imag pixel size isn byte align int byte pixel int bit pixel header chunk bit pixel return bit pixel 7 8 getbytesperpixel bitsperpixel headerchunk getbitsperpixel bitsperpixel answer number byte row pixel width row byte align imag bit depth byte unus bit end row bit undefin int byte row int row width pixel int bit pixel header chunk bit pixel int bit row bit pixel row width pixel int bit byte 8 return bit row bit byte 1 bit byte getbytesperrow rowwidthinpixel bitsperpixel headerchunk getbitsperpixel bitsperrow bitsperpixel rowwidthinpixel bitsperbyt bitsperrow bitsperbyt bitsperbyt 1 read frame interlac data 2 updat imag data 3 notifi imag loader listen frame load void read interlac frame int row interv int column interv int start row int start column int frame count int width header chunk width int align byte row align byte row int height header chunk height start row height start column width return int pixel row width start column column interv 1 column interv int byte row byte row pixel row byte row1 byte byte row byte row2 byte byte row byte current row row1 byte row row2 int row start row row height row row interv byte filter type decod stream decod byte int col 0 col byte row col current row col decod stream decod byte filter row current row row filter type header chunk bit depth 8 int byte pixel byte pixel int data offset row align byte row start column byte pixel int row offset 0 row offset current row length row offset byte pixel int byte offset 0 byte offset byte pixel byte offset data data offset byte offset current row row offset byte offset data offset column interv byte pixel int bit pixel header chunk bit depth int pixel byte 8 bit pixel int column start column int row base row align byte row int mask 0 int 0 bit pixel mask 1 mask 1 int max shift 8 bit pixel int byte offset 0 byte offset current row length byte offset int bit offset max shift bit offset 0 bit offset bit pixel column width int data offset row base column bit pixel 8 int current row byte offset bit offset mask int data shift max shift bit pixel column pixel byte data data offset data shift column column interv current row current row row1 row2 row1 row row row1 row2 row1 set imag data valu data imag data fire interlac frame event frame count imagedata readinterlacefram rowinterv columninterv startrow startcolumn framecount headerchunk getwidth alignedbytesperrow getalignedbytesperrow headerchunk getheight startrow startcolumn pixelsperrow startcolumn columninterv columninterv bytesperrow getbytesperrow pixelsperrow bytesperrow bytesperrow currentrow lastrow startrow rowinterv filtertyp decodingstream getnextdecodedbyt bytesperrow currentrow decodingstream getnextdecodedbyt filterrow currentrow lastrow filtertyp headerchunk getbitdepth bytesperpixel getbytesperpixel dataoffset alignedbytesperrow startcolumn bytesperpixel rowoffset rowoffset currentrow rowoffset bytesperpixel byteoffset byteoffset bytesperpixel byteoffset dataoffset byteoffset currentrow rowoffset byteoffset dataoffset columninterv bytesperpixel bitsperpixel headerchunk getbitdepth pixelsperbyt bitsperpixel startcolumn rowbas alignedbytesperrow valuemask bitsperpixel valuemask valuemask maxshift bitsperpixel byteoffset byteoffset currentrow byteoffset bitoffset maxshift bitoffset bitoffset bitsperpixel dataoffset rowbas bitsperpixel currentrow byteoffset bitoffset valuemask datashift maxshift bitsperpixel pixelsperbyt dataoffset datashift columninterv currentrow currentrow lastrow lastrow setimagedatavalu imagedata fireinterlacedframeev framecount read pixel data interlac imag data stream void read interlac imag read interlac frame 8 8 0 0 0 read interlac frame 8 8 0 4 1 read interlac frame 8 4 4 0 2 read interlac frame 4 4 0 2 3 read interlac frame 4 2 2 0 4 read interlac frame 2 2 0 1 5 read interlac frame 2 1 1 0 6 readinterlacedimag readinterlacefram readinterlacefram readinterlacefram readinterlacefram readinterlacefram readinterlacefram readinterlacefram fire event let listen interlac frame load final frame true imag finish load fals frame void fire interlac frame event int frame count loader listen imag data imag imag data imag data clone boolean final frame frame count 6 loader notifi listen imag loader event loader imag frame count final frame finalfram fireinterlacedframeev framecount haslisten imagedata imagedata imagedata finalfram framecount notifylisten imageloaderev framecount finalfram read pixel data non interlac imag data stream updat imag data reflect data void read non interlac imag int data offset 0 int align byte row align byte row int byte row byte row byte row1 byte byte row byte row2 byte byte row byte current row row1 byte row row2 int row 0 row header chunk height row byte filter type decod stream decod byte int col 0 col byte row col current row col decod stream decod byte filter row current row row filter type system arraycopi current row 0 data data offset byte row data offset align byte row current row current row row1 row2 row1 row row row1 row2 row1 set imag data valu data imag data imagedata readnoninterlacedimag dataoffset alignedbytesperrow getalignedbytesperrow bytesperrow getbytesperrow bytesperrow bytesperrow currentrow lastrow headerchunk getheight filtertyp decodingstream getnextdecodedbyt bytesperrow currentrow decodingstream getnextdecodedbyt filterrow currentrow lastrow filtertyp currentrow dataoffset bytesperrow dataoffset alignedbytesperrow currentrow currentrow lastrow lastrow setimagedatavalu imagedata swt support 16 bit depth color format convert 16 bit data 8 bit data correct to multipli 16 bit valu 2 8 1 2 16 1 fast to drop low byte 16 bit static void compress16 bit depth to8 bit depth byte sourc int sourc offset byte destin int destin offset int number valu doubl multipli compat pow2 8 1 compat pow2 16 1 int 0 number valu int sourc index sourc offset 2 int destin index destin offset int sourc sourc index 8 sourc sourc index 1 byte compress byte multipli byte compress sourc sourc index destin destin index compress compress16bitdepthto8bitdepth sourceoffset destinationoffset numberofvalu numberofvalu sourceindex sourceoffset destinationindex destinationoffset sourceindex sourceindex compressedvalu compressedvalu sourceindex destinationindex compressedvalu swt support 16 bit depth color format convert 16 bit data 8 bit data correct to multipli 16 bit valu 2 8 1 2 16 1 fast to drop low byte 16 bit static int compress16 bit depth to8 bit depth int doubl multipli compat pow2 8 1 compat pow2 16 1 byte compress byte multipli return 8 compress16bitdepthto8bitdepth compressedvalu png support filter type type appli row imag data method unfilt row base filter type void filter row byte row byte previou row int filter type int byte offset header chunk filter byte offset switch filter type case png ihdr chunk filter break case png ihdr chunk filter int byte offset row length int current row 0xff int left row byte offset 0xff row byte current left 0xff break case png ihdr chunk filter int 0 row length int current row 0xff int previou row 0xff row byte current 0xff break case png ihdr chunk filter averag int 0 row length int left byte offset 0 row byte offset 0xff int previou row 0xff int current row 0xff row byte current left 2 0xff break case png ihdr chunk filter paeth int 0 row length int left byte offset 0 row byte offset 0xff int left byte offset 0 previou row byte offset 0xff int previou row 0xff int math ab abov left int math ab left left int math ab left left abov left int preductor 0 preductor left preductor preductor left int current row 0xff row byte current preductor 0xff break filtertyp filterrow previousrow filtertyp byteoffset headerchunk getfilterbyteoffset filtertyp pngihdrchunk filter_none pngihdrchunk filter_sub byteoffset byteoffset pngihdrchunk filter_up previousrow pngihdrchunk filter_averag byteoffset byteoffset previousrow pngihdrchunk filter_paeth byteoffset byteoffset aboveleft byteoffset previousrow byteoffset previousrow aboveleft aboveleft aboveleft aboveleft aboveleft currentvalu currentvalu png huffman tabl int length super initi length gener tabl length pnghuffmant generatet privat void initi int length code valu int length length int 0 code valu length code valu i min code length smallest huffman code length 1 max code length largest huffman code length 1 index length index valu arrai code length 1 code length info code length info max code length int 0 max code length code length info code length info code length info length code length info base index 0 code length info min bad code code length info max 1 codevalu codevalu codevalu mincodesbylength maxcodesbylength indexesbylength codelengthinfo codelengthinfo max_code_length max_code_length codelengthinfo codelengthinfo codelengthinfo codelengthinfo baseindex codelengthinfo bad_code codelengthinfo privat void gener tabl int length sort valu primari kei code size secondari kei int 0 length length 1 int 1 length length length length length length code valu code valu int tmp tmp length length length length tmp tmp code valu code valu code valu code valu tmp valu arrai correspond element valu arrai huffman code code valu code length code length int code int length length int length 0 int code 0 int 0 length length length length length code 1 length 0 code code code int 0 int 0 length length length length code length info 1 base index code length info 1 min code 0 code length info 1 max code generatet codevalu codevalu codevalu codevalu codevalu codevalu codevalu lastlength lastlength lastlength lastlength codelengthinfo baseindex codelengthinfo codelengthinfo int png decod data stream stream int code stream idat bit int codelength 0 take advantag fact 1 bit prefix longer code valu codelength max code length code code length info codelength max code code 1 stream idat bit codelength codelength max code length stream error huffman code length codelength 1 rang min code length codelength max code length codelength code offset 1 th code codelength 1 int offset code code length info codelength min index length codelength code length codelength 1 look huffman code tabl int index code length info codelength base index offset return code valu index getnextvalu pngdecodingdatastream getnextidatbit codevalu max_code_length codelengthinfo getnextidatbit max_code_length mincodesbylength maxcodesbylength codelengthinfo indexesbylength codelengthinfo baseindex codevalu static png huffman tabl dynam tabl png decod data stream stream return png huffman tabl stream pnghuffmant getdynamict pngdecodingdatastream pnghuffmant return png huffman tabl stream static png huffman tabl fix tabl return png huffman tabl pnghuffmant pnghuffmant getfixedt pnghuffmant privat png huffman tabl fix liter tabl fix liter tabl null fix liter tabl png huffman tabl fix liter length return fix liter tabl pnghuffmant getfixedliteralt fixedliteralt fixedliteralt pnghuffmant fixedliterallength fixedliteralt privat png huffman tabl fix distanc tabl fix distanc tabl null fix distanc tabl png huffman tabl fix distanc length return fix distanc tabl pnghuffmant getfixeddistancet fixeddistancet fixeddistancet pnghuffmant fixeddistancelength fixeddistancet privat png huffman tabl liter tabl fix liter tabl distanc tabl fix distanc tabl pnghuffmant literalt getfixedliteralt distancet getfixeddistancet privat png huffman tabl png decod data stream stream int liter png lz block reader length code stream idat bit 5 int distanc png lz block reader distanc code stream idat bit 5 int code length code png lz block reader code length code stream idat bit 4 code length code png lz block reader code length code stream error tricki tricki tricki length code store odd order order definit static field length code order data valu code valu number code tabl size length code tabl size regardless number valu actual tabl int length code int length code tabl size int 0 code length code length code length code order stream idat bit 3 png huffman tabl code length tabl png huffman tabl length code int liter length read length stream liter code length tabl liter tabl size int distanc length read length stream distanc code length tabl distanc tabl size liter tabl png huffman tabl liter length distanc tabl png huffman tabl distanc length pnghuffmant pngdecodingdatastream pnglzblockread first_length_code getnextidatbit pnglzblockread first_distanc_code getnextidatbit codelengthcod pnglzblockread first_code_length_code getnextidatbit codelengthcod pnglzblockread last_code_length_code lengthcodeord lengthcodetables lengthcod lengthcodetables codelengthcod lengthcod lengthcodeord getnextidatbit pnghuffmant codelengthst pnghuffmant lengthcod literallength readlength codelengthst literaltables distancelength readlength codelengthst distancetables literalt pnghuffmant literallength distancet pnghuffmant distancelength privat int read length png decod data stream stream int num length png huffman tabl length tabl int tabl size int length int tabl size int index 0 index num length int length tabl stream 16 liter length index index 16 repeat previou code 3 6 time int count stream idat bit 2 3 int 0 count length index length index 1 index 17 repeat 0 3 10 time int count stream idat bit 3 3 int 0 count length index 0 index 18 repeat 0 11 138 time int count stream idat bit 7 11 int 0 count length index 0 index stream error return length readlength pngdecodingdatastream numlength pnghuffmant lengthstabl tables tables numlength lengthstabl getnextvalu getnextidatbit getnextidatbit getnextidatbit int liter png decod data stream stream return liter tabl stream getnextliteralvalu pngdecodingdatastream literalt getnextvalu int distanc png decod data stream stream return distanc tabl stream getnextdistancevalu pngdecodingdatastream distancet getnextvalu class png idat chunk extend png chunk png idat chunk byte refer super refer pngidatchunk pngchunk pngidatchunk answer chunk valid idat chunk void valid png file read read png ihdr chunk header chunk read readihdr header chunk palett read readplt read readiend swt error swt error invalid imag read readidat true super valid read header chunk pngfilereadst readstat pngihdrchunk headerchunk readstat headerchunk getmusthavepalett readstat readstat error_invalid_imag readstat readstat headerchunk byte data byte offset int offset return refer data offset offset getdatabyteatoffset data_offset class png iend chunk extend png chunk png iend chunk byte refer super refer pngiendchunk pngchunk pngiendchunk answer chunk valid iend chunk void valid png file read read png ihdr chunk header chunk iend chunk invalid ihdr read palett requir read idat chunk read read readihdr header chunk palett read readplt read readidat read readiend swt error swt error invalid imag read readiend true super valid read header chunk iend chunk allow data length 0 swt error swt error invalid imag pngfilereadst readstat pngihdrchunk headerchunk readstat headerchunk getmusthavepalett readstat readstat readstat error_invalid_imag readstat readstat headerchunk getlength error_invalid_imag construct png chunk refer byte png ihdr chunk byte refer super refer pngchunk pngihdrchunk imag width pixel int width return int32 width data offset getwidth getint32 width_data_offset set imag width pixel void set width int set int32 width data offset setwidth setint32 width_data_offset imag height pixel int height return int32 height data offset getheight getint32 height_data_offset set imag height pixel void set height int set int32 height data offset setheight setint32 height_data_offset imag bit depth limit valu 1 2 4 8 16 byte bit depth return refer bit depth offset getbitdepth bit_depth_offset set imag bit depth limit valu 1 2 4 8 16 void set bit depth byte refer bit depth offset setbitdepth bit_depth_offset imag color type limit valu 0 grayscal imag 2 rgb tripl 3 palett 4 grayscal alpha channel 6 rgb alpha channel byte color type return refer color type offset getcolortyp color_type_offset set imag color type limit valu 0 grayscal imag 2 rgb tripl 3 palett 4 grayscal alpha channel 6 rgb alpha channel void set color type byte refer color type offset setcolortyp color_type_offset imag compress method 0 byte compress method return refer compress method offset getcompressionmethod compress_method_offset set imag compress method 0 void set compress method byte refer compress method offset setcompressionmethod compress_method_offset imag filter method 0 byte filter method return refer filter method offset getfiltermethod filter_method_offset set imag filter method 0 void set filter method byte refer filter method offset setfiltermethod filter_method_offset imag interlac method limit 0 interlac 1 adam7 interlac byte interlac method return refer interlac method offset getinterlacemethod interlac_method_offset set imag interlac method limit 0 interlac 1 adam7 interlac void set interlac method byte refer interlac method offset setinterlacemethod interlac_method_offset answer chunk valid ihdr chunk void valid png file read read png ihdr chunk header chunk ihdr chunk invalid chunk read read readihdr read readplt read readidat read readiend swt error swt error invalid imag read readihdr true super valid read header chunk length expect data length swt error swt error invalid imag compress method 0 swt error swt error invalid imag interlac method interlac method interlac method interlac method adam7 swt error swt error invalid imag boolean color type valid fals byte color type color type int 0 valid color type length valid color type color type color type valid true break color type valid swt error swt error invalid imag boolean bit depth valid fals byte bit depth bit depth int 0 valid bit depth length valid bit depth bit depth bit depth valid true break bit depth valid swt error swt error invalid imag color type color type rgb color type color type rgb alpha color type color type grayscal alpha bit depth 8 swt error swt error invalid imag color type color type palett bit depth 8 swt error swt error invalid imag pngfilereadst readstat pngihdrchunk headerchunk readstat readstat readstat readstat error_invalid_imag readstat readstat headerchunk getlength expect_data_length error_invalid_imag getcompressionmethod error_invalid_imag getinterlacemethod interlac_method_none getinterlacemethod interlac_method_adam7 error_invalid_imag colortypeisvalid colortyp getcolortyp validcolortyp validcolortyp colortyp colortypeisvalid colortypeisvalid error_invalid_imag bitdepthisvalid bitdepth getbitdepth validbitdepth validbitdepth bitdepth bitdepthisvalid bitdepthisvalid error_invalid_imag colortyp color_type_rgb colortyp color_type_rgb_with_alpha colortyp color_type_grayscal_with_alpha bitdepth error_invalid_imag colortyp color_type_palett bitdepth error_invalid_imag string color type string switch color type case color type grayscal return grayscal case color type rgb return rgb case color type palett return palett case color type grayscal alpha return grayscal alpha case color type rgb alpha return rgb alpha default return unknown color type getcolortypestr getcolortyp color_type_grayscal color_type_rgb color_type_palett color_type_grayscal_with_alpha color_type_rgb_with_alpha getcolortyp string filter method string switch filter method case filter return case filter return case filter return case filter averag return averag case filter paeth return paeth default return unknown getfiltermethodstr getfiltermethod filter_none filter_sub filter_up filter_averag filter_paeth string interlac method string switch interlac method case interlac method return interlac case interlac method adam7 return interlac adam7 default return unknown getinterlacemethodstr getinterlacemethod interlac_method_none interlac_method_adam7 void contribut string string buffer buffer buffer append width buffer append width buffer append height buffer append height buffer append bit depth buffer append bit depth buffer append color type buffer append color type string buffer append compress method buffer append compress method buffer append filter method buffer append filter method string buffer append interlac method buffer append interlac method string contributetostr stringbuff twidth getwidth theight getheight tbit getbitdepth tcolor getcolortypestr tcompress getcompressionmethod tfilter getfiltermethodstr tinterlac getinterlacemethodstr boolean palett return color type color type palett getmusthavepalett getcolortyp color_type_palett boolean palett int color type color type return color type color type grayscal color type color type grayscal alpha getcanhavepalett colortyp getcolortyp colortyp color_type_grayscal colortyp color_type_grayscal_with_alpha answer pixel size bit base color type bit depth int bit pixel int bit depth bit depth switch color type case color type rgb alpha return 4 bit depth case color type rgb return 3 bit depth case color type grayscal alpha return 2 bit depth case color type grayscal case color type palett return bit depth default swt error swt error invalid imag return 0 getbitsperpixel bitdepth getbitdepth getcolortyp color_type_rgb_with_alpha bitdepth color_type_rgb bitdepth color_type_grayscal_with_alpha bitdepth color_type_grayscal color_type_palett bitdepth error_invalid_imag answer pixel size bit base color type bit depth int swt bit pixel int bit depth bit depth switch color type case color type rgb alpha case color type rgb case color type grayscal alpha return 24 case color type grayscal case color type palett return math min bit depth 8 default swt error swt error invalid imag return 0 getswtbitsperpixel bitdepth getbitdepth getcolortyp color_type_rgb_with_alpha color_type_rgb color_type_grayscal_with_alpha color_type_grayscal color_type_palett bitdepth error_invalid_imag int filter byte offset bit depth 8 return 1 return bit pixel 8 getfilterbyteoffset getbitdepth getbitsperpixel boolean direct color switch color type case color type grayscal case color type grayscal alpha case color type rgb case color type rgb alpha return true default return fals usesdirectcolor getcolortyp color_type_grayscal color_type_grayscal_with_alpha color_type_rgb color_type_rgb_with_alpha palett data creat grayscal palett int bit depth math min bit depth 8 int max compat pow2 bit depth 1 int delta 255 max int grai 0 rgb rgb rgb max 1 int 0 max rgb rgb grai grai grai grai delta return palett data rgb palettedata creategrayscalepalett bitdepth getbitdepth bitdepth palettedata palett data palett data switch color type case color type grayscal return creat grayscal palett case color type grayscal alpha case color type rgb case color type rgb alpha return palett data 0xff0000 0xff00 0xff default return null palettedata getpalettedata getcolortyp color_type_grayscal creategrayscalepalett color_type_grayscal_with_alpha color_type_rgb color_type_rgb_with_alpha palettedata png lz block reader png decod data stream stream stream stream read header fals block fals pnglzblockread pngdecodingdatastream readhead islastblock void set window size int window size window byte window size setwindows windows windows void read block header block stream idat bit 0 compress type byte stream idat bit 2 0xff compress type 2 stream error compress type uncompress byte b1 stream idat byte byte b2 stream idat byte byte b3 stream idat byte byte b4 stream idat byte b1 b3 b2 b4 stream error uncompress byte remain b1 0xff b2 0xff 8 compress type compress dynam huffman tabl png huffman tabl dynam tabl stream huffman tabl png huffman tabl fix tabl readnextblockhead islastblock getnextidatbit compressiontyp getnextidatbit compressiontyp compressiontyp getnextidatbyt getnextidatbyt getnextidatbyt getnextidatbyt uncompressedbytesremain compressiontyp compress_dynam huffmant pnghuffmant getdynamict huffmant pnghuffmant getfixedt byte byte compress type uncompress uncompress byte remain 0 read block header return byte uncompress byte remain return stream idat byte byte compress byte end compress block block stream error read block header return byte return getnextbyt compressiontyp uncompressedbytesremain readnextblockhead getnextbyt uncompressedbytesremain getnextidatbyt getnextcompressedbyt end_of_compress_block islastblock readnextblockhead getnextbyt privat void assert block end compress type uncompress uncompress byte remain 0 stream error copi byte remain 0 huffman tabl liter stream end compress block stream error assertblockatend compressiontyp uncompressedbytesremain copybytesremain huffmant getnextliteralvalu end_of_compress_block void assert compress data end assert block end block read block header assert block end assertcompresseddataatend assertblockatend islastblock readnextblockhead assertblockatend privat byte compress byte copi byte remain 0 byte window copi index window window index copi byte remain copi index window index copi index window length copi index 0 window index window length window index 0 return int huffman tabl liter stream end compress block window window index byte 0xff window index window index window length window index 0 return byte 0xff end compress block read block header return byte length code int extra bit extra length bit length code int length length base length code extra bit 0 length stream idat bit extra bit huffman tabl distanc stream distanc code stream error extra bit extra distanc bit int distanc distanc base extra bit 0 distanc stream idat bit extra bit copi index window index distanc copi index 0 copi index window length copi byte remain length return compress byte stream error return 0 getnextcompressedbyt copybytesremain copyindex windowindex copybytesremain copyindex windowindex copyindex copyindex windowindex windowindex huffmant getnextliteralvalu end_of_compress_block windowindex windowindex windowindex windowindex end_of_compress_block readnextblockhead getnextbyt last_length_code extrabit extralengthbit first_length_code lengthbas first_length_code extrabit getnextidatbit extrabit huffmant getnextdistancevalu last_distanc_code extrabit extradistancebit distancebas extrabit getnextidatbit extrabit copyindex windowindex copyindex copyindex copybytesremain getnextcompressedbyt class png plte chunk extend png chunk png plte chunk byte refer super refer pngpltechunk pngchunk pngpltechunk number color palett int palett size return length 3 getpalettes getlength palett data object repres color store plte chunk result cach plte chunk store palett data creat palett data palett data rgb rgb rgb palett size int start data offset int end data offset length int 0 rgb length int offset data offset 3 int red refer offset 0xff int green refer offset 1 0xff int blue refer offset 2 0xff rgb rgb red green blue return palett data rgb palettedata palettedata getpalettedata getpalettes data_offset data_offset getlength data_offset palettedata answer chunk valid plte chunk void valid png file read read png ihdr chunk header chunk plte chunk invalid ihdr read plte idat iend chunk read read readihdr read readplt read readtrn read readbkgd read readidat read readiend swt error swt error invalid imag read readplt true super valid read header chunk palett includ grayscal imag header chunk palett swt error swt error invalid imag palett chunk data field event multipl 3 3 byte group repres rgb length 3 0 swt error swt error invalid imag palett entri 2 bit depth bit depth bit depth imag ihdr chunk compat pow2 header chunk bit depth palett size swt error swt error invalid imag palett 256 entri 256 palett size swt error swt error invalid imag pngfilereadst readstat pngihdrchunk headerchunk readstat readstat readstat readstat readstat readstat error_invalid_imag readstat readstat headerchunk headerchunk getcanhavepalett error_invalid_imag getlength error_invalid_imag bitdepth bitdepth headerchunk getbitdepth getpalettes error_invalid_imag getpalettes error_invalid_imag void contribut string string buffer buffer buffer append palett size buffer append palett size contributetostr stringbuff tpalett getpalettes static final int transpar type alpha 1 png trn chunk byte refer super refer transpar_type_alpha pngtrnschunk void valid length png ihdr chunk header png plte chunk palett chunk boolean valid switch header color type case png ihdr chunk color type rgb 2 byte valu rgb valid length 6 break case png ihdr chunk color type palett 2 byte valu rgb valid length palett chunk length break case png ihdr chunk color type grayscal 2 byte valid length 2 break alpha trn case png ihdr chunk color type rgb alpha case png ihdr chunk color type grayscal alpha default valid fals valid swt error swt error invalid imag validatelength pngihdrchunk pngpltechunk palettechunk getcolortyp pngihdrchunk color_type_rgb getlength pngihdrchunk color_type_palett getlength palettechunk getlength pngihdrchunk color_type_grayscal getlength pngihdrchunk color_type_rgb_with_alpha pngihdrchunk color_type_grayscal_with_alpha error_invalid_imag answer chunk valid trn chunk void valid png file read read png ihdr chunk header chunk png plte chunk palett chunk read readihdr header chunk palett read readplt read readidat read readiend swt error swt error invalid imag read readtrn true valid length header chunk palett chunk super valid read header chunk pngfilereadst readstat pngihdrchunk headerchunk pngpltechunk palettechunk readstat headerchunk getmusthavepalett readstat readstat readstat error_invalid_imag readstat validatelength headerchunk palettechunk readstat headerchunk int transpar type png ihdr chunk header header color type png ihdr chunk color type palett return transpar type alpha return transpar type pixel gettransparencytyp pngihdrchunk getcolortyp pngihdrchunk color_type_palett transpar_type_alpha transpar_type_pixel answer transpar pixel rgb valid palett color type valid alpha color type convert grayscal palett index compress 6 byte rgb 3 byte rgb int swt transpar pixel png ihdr chunk header switch header color type case png ihdr chunk color type grayscal int grai refer data offset 0xff 8 refer data offset 1 0xff header bit depth 8 return png file format compress16 bit depth to8 bit depth grai return grai 0xff case png ihdr chunk color type rgb int red refer data offset 0xff 8 refer data offset 1 0xff int green refer data offset 2 0xff 8 refer data offset 3 0xff int blue refer data offset 4 0xff 8 refer data offset 5 0xff header bit depth 8 red png file format compress16 bit depth to8 bit depth red green png file format compress16 bit depth to8 bit depth green blue png file format compress16 bit depth to8 bit depth blue return red 16 green 8 blue default swt error swt error invalid imag return 1 getswttransparentpixel pngihdrchunk getcolortyp pngihdrchunk color_type_grayscal data_offset data_offset getbitdepth pngfileformat compress16bitdepthto8bitdepth pngihdrchunk color_type_rgb data_offset data_offset data_offset data_offset data_offset data_offset getbitdepth pngfileformat compress16bitdepthto8bitdepth pngfileformat compress16bitdepthto8bitdepth pngfileformat compress16bitdepthto8bitdepth error_invalid_imag answer arrai alpha valu correspond color palett valid color type palett color type byte alpha valu png ihdr chunk header png plte chunk palett chunk header color type png ihdr chunk color type palett swt error swt error invalid imag byte alpha byte palett chunk palett size int data length length int 0 0 data length alpha refer data offset palett entri alpha trn chunk spec alpha 255 int j alpha length alpha byte 255 return alpha color_type_palett getalphavalu pngihdrchunk pngpltechunk palettechunk getcolortyp pngihdrchunk color_type_palett error_invalid_imag palettechunk getpalettes datalength getlength datalength data_offset public tiff directori tiff random file access file boolean endian imag loader loader file file endian endian loader loader tiffdirectori tiffrandomfileaccess islittleendian imageload islittleendian islittleendian public tiff directori imag data imag imag imag tiffdirectori imagedata pack bit decod int decod pack bit byte src byte dest int offset dest int dest index offset dest int src index 0 src index src length byte src src index 0 n 127 copi 1 byte liter system arraycopi src src index dest dest index 1 src index 1 dest index 1 127 n 1 copi byte 1 time byte src src index int 0 1 dest dest index src index noop 128 src index number byte copi return dest index offset dest packbit decodepackbit offsetdest destindex offsetdest srcindex srcindex srcindex srcindex destindex srcindex destindex srcindex destindex srcindex srcindex destindex offsetdest int entri int type byte buffer int index return int buffer index 8 type getentryvalu toint void entri int type byte buffer int index int valu throw io except int start index 8 int size int offset int buffer start type switch type case type short size 2 break case type size 4 break case type ration size 8 break case type ascii case type byte size 1 break default swt error swt error unsupport format return valu length size 4 buffer byte valu length size file seek offset file read buffer start 0 int 0 valu length valu int buffer start size type getentryvalu ioexcept toint type_long type_short type_long type_ration type_ascii type_byte error_unsupport_format toint void decod pixel imag data imag throw io except row byte align byte imag data byte imag width depth 7 8 imag length imag data imag data int dest index 0 int length strip offset length int 0 length read strip byte data byte strip byte count file seek strip offset file read data compress compress system arraycopi data 0 imag data dest index data length dest index data length compress compress packbit dest index decod pack bit data imag data dest index compress compress ccitt 3 1 compress 3 tiff modifi huffman codec codec tiff modifi huffman codec int row row strip length 1 int imag length row strip 0 row dest index codec decod data imag data dest index imag width row loader listen loader notifi listen imag loader event loader imag i length 1 decodepixel imagedata ioexcept imagedata imagewidth imagelength imagedata destindex stripoffset stripbytecount stripoffset compress_none imagedata destindex destindex compress_packbit destindex decodepackbit imagedata destindex compress_ccitt_3_1 tiffmodifiedhuffmancodec tiffmodifiedhuffmancodec nrow rowsperstrip imagelength rowsperstrip nrow destindex imagedata destindex imagewidth nrow haslisten notifylisten imageloaderev palett data color map throw io except int num color 1 bit sampl 0 entri 16 bit wide 2 byte int num byte 3 2 num color byte buffer byte num byte file seek color map offset file read buffer rgb color rgb num color swt support 16 bit depth color format convert 16 bit data 8 bit data correct to multipli 16 bit valu 2 8 1 2 16 1 fast to drop low byte 16 bit int offset endian 1 0 int startg 2 num color int startb startg 2 num color int 0 num color int buffer offset 0xff int buffer startg offset 0xff int buffer startb offset 0xff color rgb offset 2 return palett data color palettedata getcolormap ioexcept numcolor bitspersampl numbyt numcolor numbyt colormapoffset numcolor islittleendian numcolor numcolor numcolor palettedata palett data grai palett int num color 1 bit sampl 0 rgb rgb rgb num color int 0 num color int 0xff num color 1 photometr interpret 0 0xff rgb rgb valu return palett data rgb palettedata getgraypalett numcolor bitspersampl numcolor numcolor numcolor photometricinterpret palettedata palett data getrgb palett int bitsr int bitsg int bitsb int blue mask 0 int 0 bitsb blue mask 1 int green mask 0 int bitsb bitsb bitsg green mask 1 int red mask 0 int bitsb bitsg bitsb bitsg bitsr red mask 1 return palett data red mask green mask blue mask palettedata getrgbpalett bluemask bluemask greenmask greenmask redmask redmask palettedata redmask greenmask bluemask int format strip int row byte size int nbr row byte data int max strip byte size int offset postifd int extra byte int strip calcul nbr requir strip requir strip greater max strip byte size strip 1 entir row format strip field arrai imag data store contigu block block store ifd tag info ifd int nbr row strip row byte size max strip byte size strip 1 row data length row byte size nbr row strip 1 int nbr data length max strip byte size 1 max strip byte size nbr row strip nbr row nbr nbr row nbr row strip 1 nbr row strip int strip byte size row byte size nbr row strip int offset int int count int nbr byte end ifd directori start imag data space offset count data field type 4 byte tag requir space ifd imag block extra byte paramet strip offset count data store directli ifd need reserv space int postifd data 1 0 2 4 int start offset offset postifd extra byte postifd data offset imag data int offset start offset int 0 store strip sequenti allow copi pixel contigu area offset offset count strip byte size offset strip byte size strip fewer row int mod data length strip byte size mod 0 count count length 1 mod strip 0 offset strip 1 count return nbr row strip formatstrip rowbytes nbrrow maxstripbytes offsetpostifd extrabyt maxstripbytes nbrrowsperstrip rowbytes maxstripbytes rowbytes nbrrowsperstrip maxstripbytes maxstripbytes nbrrowsperstrip nbrrow nbrrow nbrrowsperstrip nbrrowsperstrip stripbytes rowbytes nbrrowsperstrip type_long extrabyt postifddata startoffset offsetpostifd extrabyt postifddata startoffset stripbytes stripbytes stripbytes nbrrowsperstrip int format color map rgb rgb tiff color map red green blue valu convert 8 bit 16 bit int color map int rgb length 3 int offset green rgb length int offset blue rgb length 2 int 0 rgb length color map rgb red 8 rgb red color map offset green rgb green 8 rgb green color map offset blue rgb blue 8 rgb blue return color map formatcolormap colormap colormap offsetgreen offsetblu colormap colormap offsetgreen colormap offsetblu colormap void pars entri byte buffer throw io except int offset 0 offset buffer length offset ifd entri size int tag int buffer offset type short int type int buffer offset 2 type short int count int buffer offset 4 type switch tag case tag imagewidth imag width entri type buffer offset break case tag imagelength imag length entri type buffer offset break case tag bitspersampl type type short swt error swt error invalid imag bit sampl int count entri type buffer offset bit sampl break case tag compress compress entri type buffer offset break case tag photometricinterpret photometr interpret entri type buffer offset break case tag stripoffset type type type type short swt error swt error invalid imag strip offset int count entri type buffer offset strip offset break case tag samplesperpixel type type short swt error swt error invalid imag sampl pixel entri type buffer offset basic 1 3 valu support sampl pixel 1 sampl pixel 3 swt error swt error unsupport depth break case tag rowsperstrip row strip entri type buffer offset break case tag stripbytecount strip byte count int count entri type buffer offset strip byte count break case tag xresolut break case tag yresolut break case tag t4option type type swt error swt error invalid imag t4 option entri type buffer offset t4 option 0x1 1 2 dimension code support swt error swt error unsupport format break case tag resolutionunit break case tag colormap type type short swt error swt error invalid imag offset color map type color map offset entri type buffer offset break parseentri ioexcept ifd_entri_size toint type_short toint type_short toint type_long tag_imagewidth imagewidth getentryvalu tag_imagelength imagelength getentryvalu tag_bitspersampl type_short error_invalid_imag bitspersampl getentryvalu bitspersampl tag_compress getentryvalu tag_photometricinterpret photometricinterpret getentryvalu tag_stripoffset type_long type_short error_invalid_imag stripoffset getentryvalu stripoffset tag_samplesperpixel type_short error_invalid_imag samplesperpixel getentryvalu samplesperpixel samplesperpixel error_unsupport_depth tag_rowsperstrip rowsperstrip getentryvalu tag_stripbytecount stripbytecount getentryvalu stripbytecount tag_xresolut tag_yresolut tag_t4option type_long error_invalid_imag t4option getentryvalu t4option error_unsupport_format tag_resolutionunit tag_colormap type_short error_invalid_imag colormap type_long colormapoffset getentryvalu type_long public imag data read throw io except set tiff default valu bit sampl int 1 color map offset compress 1 imag length imag width photometr interpret row strip integ max sampl pixel 1 strip byte count null strip offset null byte buffer byte 2 file read buffer int number entri int buffer 0 type short buffer byte ifd entri size number entri file read buffer pars entri buffer palett data palett null depth 0 switch photometr interpret case 0 case 1 bilevel grayscal imag palett grai palett depth bit sampl 0 break case 2 rgb imag color map offset swt error swt error invalid imag sampl pixel 3 support palett getrgb palett bit sampl 0 bit sampl 1 bit sampl 2 depth bit sampl 0 bit sampl 1 bit sampl 2 break case 3 palett color imag color map offset swt error swt error invalid imag palett color map depth bit sampl 0 break default swt error swt error invalid imag imag data imag imag data intern imag width imag length depth palett 1 null 0 null null 1 1 swt imag tiff 0 0 0 0 decod pixel imag return imag imagedata ioexcept bitspersampl colormapoffset no_valu imagelength no_valu imagewidth no_valu photometricinterpret no_valu rowsperstrip max_valu samplesperpixel stripbytecount stripoffset numberentri toint type_short ifd_entri_size numberentri parseentri palettedata photometricinterpret getgraypalett bitspersampl colormapoffset no_valu error_invalid_imag samplesperpixel getrgbpalett bitspersampl bitspersampl bitspersampl bitspersampl bitspersampl bitspersampl colormapoffset no_valu error_invalid_imag getcolormap bitspersampl error_invalid_imag imagedata imagedata intern_new imagewidth imagelength imag_tiff decodepixel int int byte buffer int int type type type return endian buffer 0xff buffer 1 0xff 8 buffer 2 0xff 16 buffer 3 0xff 24 buffer 3 0xff buffer 2 0xff 8 buffer 1 0xff 16 buffer 0xff 24 type type short return endian buffer 0xff buffer 1 0xff 8 buffer 1 0xff buffer 0xff 8 invalid type swt error swt error invalid imag return 1 toint type_long islittleendian type_short islittleendian error_invalid_imag void write int photometr interpret throw io except boolean isrgb photometr interpret 2 boolean color map photometr interpret 3 boolean bi level photometr interpret 0 photometr interpret 1 int imag width imag width int imag length imag height int row byte size imag byte line int number entri bi level 9 11 int length directori 2 12 number entri 4 offset header directori int offset 8 length directori extra space resolut resolut valu int extra byte 16 int color map null color map palett data palett imag palett rgb rgb palett getrg bs color map format color map rgb number entri color map match bit sampl field color map length 3 1 imag depth swt error swt error unsupport format extra space color map valu extra byte color map length 2 isrgb extra space bit sampl valu extra byte 6 tiff recommend store data strip 8 ko byte data imag data int strip int 2 int nbr row strip format strip row byte size imag length data 8192 offset extra byte strip int strip offset strip 0 int strip byte count strip 1 int bit sampl offset isrgb bit sampl offset offset offset 6 int strip offset offset strip byte count offset int resolut offset resolut offset color map offset int cnt strip offset length cnt 1 strip offset offset offset offset 4 cnt strip byte count offset offset offset 4 cnt resolut offset offset offset 8 resolut offset offset offset 8 color map color map offset offset offset color map length 2 tiff header write header imag file directori write short number entri write entri tag imagewidth type 1 imag width write entri tag imagelength type 1 imag length color map write entri tag bitspersampl type short 1 imag depth isrgb write entri tag bitspersampl type short 3 bit sampl offset write entri tag compress type short 1 compress write entri tag photometricinterpret type short 1 photometr interpret write entri tag stripoffset type cnt cnt 1 strip offset offset strip offset 0 isrgb write entri tag samplesperpixel type short 1 3 write entri tag rowsperstrip type 1 nbr row strip write entri tag stripbytecount type cnt cnt 1 strip byte count offset strip byte count 0 write entri tag xresolut type ration 1 resolut offset write entri tag yresolut type ration 1 resolut offset color map write entri tag colormap type short color map length color map offset offset ifd 0 ifd write int 0 valu longer 4 byte section bit sampl 8 8 8 isrgb int 0 3 write short 8 cnt 1 int 0 cnt write int strip offset int 0 cnt write int strip byte count resolut resolut set 300 dpi int 0 2 write int 300 write int 1 color map color map int 0 color map length write short color map imag data write data photometricinterpret ioexcept photometricinterpret iscolormap photometricinterpret isbilevel photometricinterpret photometricinterpret imagewidth imagelength rowbytes bytesperlin numberentri isbilevel lengthdirectori numberentri nextoffset lengthdirectori xresolut yresolut extrabyt colormap iscolormap palettedata getrgb colormap formatcolormap bitspersampl colormap error_unsupport_format colormap extrabyt colormap bitspersampl extrabyt nbrrowsperstrip formatstrip rowbytes imagelength nextoffset extrabyt stripoffset stripbytecount bitspersampleoffset no_valu bitspersampleoffset nextoffset nextoffset stripoffsetsoffset no_valu stripbytecountsoffset no_valu xresolutionoffset yresolutionoffset colormapoffset no_valu stripoffset stripoffsetsoffset nextoffset nextoffset stripbytecountsoffset nextoffset nextoffset xresolutionoffset nextoffset nextoffset yresolutionoffset nextoffset nextoffset iscolormap colormapoffset nextoffset nextoffset colormap writehead writeshort numberentri writeentri tag_imagewidth type_long imagewidth writeentri tag_imagelength type_long imagelength iscolormap writeentri tag_bitspersampl type_short writeentri tag_bitspersampl type_short bitspersampleoffset writeentri tag_compress type_short compress_none writeentri tag_photometricinterpret type_short photometricinterpret writeentri tag_stripoffset type_long stripoffsetsoffset stripoffset writeentri tag_samplesperpixel type_short writeentri tag_rowsperstrip type_long nbrrowsperstrip writeentri tag_stripbytecount type_long stripbytecountsoffset stripbytecount writeentri tag_xresolut type_ration xresolutionoffset writeentri tag_yresolut type_ration yresolutionoffset iscolormap writeentri tag_colormap type_short colormap colormapoffset writeint bitspersampl writeshort writeint stripoffset writeint stripbytecount xresolut yresolut writeint writeint colormap iscolormap colormap writeshort colormap void write entri short tag int type int count int throw io except write short tag write short type write int count write int writeentri ioexcept writeshort writeshort writeint writeint void write header throw io except endian write byte byte 0x49 write byte byte 0x49 tiff identifi write short 42 offset ifd chosen 8 word align immedi header write int 8 writehead ioexcept writebyt writebyt writeshort writeint void write stream le data output stream byte stream throw io except byte stream int photometr interpret 1 scanlin pad 1 imag scanlin pad 1 swt error swt error unsupport format switch imag depth case 1 palett black white white black palett data palett imag palett rgb rgb palett color palett direct rgb null rgb length 2 swt error swt error unsupport format rgb rgb0 rgb 0 rgb rgb1 rgb 1 rgb0 red rgb0 green rgb0 green rgb0 blue rgb1 red rgb1 green rgb1 green rgb1 blue rgb0 red 0x0 rgb1 red 0xff rgb0 red 0xff rgb1 red 0x0 swt error swt error unsupport format 0 mean color index 0 imag white photometr interpret imag palett color 0 red 0xff 0 1 break case 4 case 8 photometr interpret 3 break case 24 photometr interpret 2 break default swt error swt error unsupport format write photometr interpret writetostream ledataoutputstream bytestream ioexcept bytestream photometricinterpret scanlinepad error_unsupport_format palettedata isdirect error_unsupport_format error_unsupport_format photometricinterpret photometricinterpret photometricinterpret error_unsupport_format photometricinterpret boolean file format le data input stream stream try byte header byte 4 stream read header stream unread header header 0 header 1 return fals header 0 0x49 header 2 42 header 3 0 header 0 0x4d header 2 0 header 3 42 return fals return true catch except return fals isfileformat ledatainputstream imag data load byte stream byte header byte 8 boolean endian imag data imag imag data 0 tiff random file access file tiff random file access input stream try file read header header 0 header 1 swt error swt error invalid imag header 0 0x49 header 2 42 header 3 0 header 0 0x4d header 2 0 header 3 42 swt error swt error invalid imag endian header 0 0x49 int offset endian header 4 0xff header 5 0xff 8 header 6 0xff 16 header 7 0xff 24 header 7 0xff header 6 0xff 8 header 5 0xff 16 header 4 0xff 24 file seek offset tiff directori directori tiff directori file endian loader imag data imag directori read baselin reader expect read directori imag imag data imag catch io except swt error swt error io return imag imagedata loadfrombytestream islittleendian imagedata imagedata tiffrandomfileaccess tiffrandomfileaccess inputstream error_invalid_imag error_invalid_imag islittleendian islittleendian tiffdirectori tiffdirectori islittleendian imagedata imagedata ioexcept error_io void unload byte stream imag data imag tiff directori directori tiff directori imag try directori write stream output stream catch io except swt error swt error io unloadintobytestream imagedata tiffdirectori tiffdirectori writetostream outputstream ioexcept error_io public int decod byte src byte dest int offset dest int row size int row src src dest dest row size row size byte offset src 0 bit offset src 0 byte offset dest offset dest bit offset dest 0 int cnt 0 cnt row decod row cnt byte align bit offset dest 0 byte offset dest bit offset dest 0 return byte offset dest offset dest offsetdest rowsiz nrow rowsiz rowsiz byteoffsetsrc bitoffsetsrc byteoffsetdest offsetdest bitoffsetdest nrow decoderow bitoffsetdest byteoffsetdest bitoffsetdest byteoffsetdest offsetdest boolean decod row white true int 0 row size int run length decod run length run length 0 return fals run length set bit white white black run length white white return true decoderow iswhit rowsiz runlength decoderunlength runlength runlength setnextbit iswhit whitevalu blackvalu runlength iswhit iswhit int decod run length int run length 0 int partial run 0 short huffman code white white code black code true boolean found fals nbr bit white white min bit black min bit code bit nbr bit int 0 huffman code length int 0 huffman code length huffman code 0 code found true partial run huffman code 1 partial run 1 stop reach final eol byte byte offset src src length 1 return 1 group 3 start row eol ignor run length partial run partial run 64 return run length break found break code code 1 bit found swt error swt error invalid imag decoderunlength runlength partialrun huffmancod iswhit white_code black_code nbrbit iswhit white_min_bit black_min_bit getnextbit nbrbit huffmancod huffmancod huffmancod partialrun huffmancod partialrun byteoffsetsrc runlength partialrun partialrun runlength getnextbit error_invalid_imag int bit int src byte offset src 7 bit offset src 0x1 bit offset src bit offset src 7 byte offset src bit offset src 0 return getnextbit byteoffsetsrc bitoffsetsrc bitoffsetsrc bitoffsetsrc byteoffsetsrc bitoffsetsrc int bit int cnt int 0 int 0 cnt valu 1 bit return getnextbit getnextbit void set bit int int cnt int cnt bit offset dest 0 bit offset dest 7 0 dest byte offset dest 1 byte dest byte offset dest 1 7 bit offset dest byte dest byte offset dest 1 7 bit offset dest bit offset dest bit offset dest 8 byte offset dest bit offset dest 0 8 dest byte offset dest byte 1 0xff 0 8 0 dest byte offset dest 1 byte dest byte offset dest 1 7 bit offset dest byte dest byte offset dest 1 7 bit offset dest bit offset dest setnextbit bitoffsetdest bitoffsetdest byteoffsetdest byteoffsetdest bitoffsetdest byteoffsetdest bitoffsetdest bitoffsetdest bitoffsetdest byteoffsetdest bitoffsetdest byteoffsetdest byteoffsetdest byteoffsetdest bitoffsetdest byteoffsetdest bitoffsetdest bitoffsetdest public tiff random file access le data input stream stream input stream stream start current input stream posit buffer byte list size tiffrandomfileaccess ledatainputstream inputstream inputstream getposit list_size void seek int po throw io except po current return po start throw io except current po current int current store requir byte int index chunk size int offset chunk size 0 index buffer length byte buffer buffer buffer byte math max index 1 buffer length list size system arraycopi buffer 0 buffer 0 buffer length buffer index null buffer index byte chunk size int cnt input stream read buffer index offset math min chunk size offset cnt cnt index offset 0 ioexcept ioexcept chunk_size chunk_size oldbuff oldbuff list_size oldbuff oldbuff chunk_size inputstream chunk_size void read byte throw io except int size length int cach math min size current int miss size current int dest 0 cach 0 cach byte int index current chunk size int offset current chunk size cach 0 int cnt math min cach chunk size offset system arraycopi buffer index offset dest cnt cach cnt dest cnt index offset 0 miss 0 read requir byte int index chunk size int offset chunk size miss 0 index buffer length byte buffer buffer buffer byte math max index buffer length list size system arraycopi buffer 0 buffer 0 buffer length buffer index null buffer index byte chunk size int cnt input stream read buffer index offset math min miss chunk size offset system arraycopi buffer index offset dest cnt miss cnt cnt dest cnt index offset 0 current size ioexcept ncach nmiss destnext ncach chunk_size chunk_size ncach ncach chunk_size destnext ncach destnext nmiss chunk_size chunk_size nmiss oldbuff oldbuff list_size oldbuff oldbuff chunk_size inputstream nmiss chunk_size destnext nmiss destnext compress num byte byte imag data src store dest start 0 techniqu comp true line imag answer size compress data int compress int comp byte src int src offset int num byte byte dest boolean comp 1 bmp rle8 compress return compressrl8 data src src offset num byte dest comp 2 bmp rle4 compress return compressrl4 data src src offset num byte dest swt error swt error invalid imag return 0 numbyt srcoffset numbyt bmp_rle8_compress compressrl8data srcoffset numbyt bmp_rle4_compress compressrl4data srcoffset numbyt error_invalid_imag int compressrl4 data byte src int src offset int num byte byte dest boolean int sp src offset end src offset num byte dp 0 int size 0 left byte byte sp end find consecut byte the 128 left end sp 1 left 127 left 127 0 left src sp src sp 1 break byte scan line includ 127 left store interven data switch case 0 break case 1 handl separ 0 2 command dest dp 2 dp 1 byte 2 pixel dest dp src sp dp sp size 2 break default dest dp 0 dp dest dp byte n dp byte 2 pixel 0 dest dp src sp dp sp size 2 n 1 0 pad word dest dp 0 dp size break find length run 127 store left end sp left 0 left 127 left 127 byte src sp 1 left src sp byte break dest dp byte n dp byte 2 pixel dest dp byte dp sp size 2 store end line end bitmap code dest dp 0 dp dest dp 1 dp dest dp 0 dp size 2 return size compressrl4data srcoffset numbyt srcoffset srcoffset numbyt thebyt thebyt thebyt thebyt int compressrl8 data byte src int src offset int num byte byte dest boolean int sp src offset end src offset num byte dp 0 int size 0 left byte byte sp end find consecut byte the 256 left end sp 1 left 254 left 254 0 left src sp src sp 1 break byte scan line includ left store interven data switch case 0 break case 2 handl separ 0 2 command dest dp 1 dp dest dp src sp dp sp size 2 don break fall case 1 handl separ 0 1 command dest dp 1 dp dest dp src sp dp sp size 2 break default dest dp 0 dp dest dp byte dp 0 dest dp src sp dp sp size 2 n 1 0 pad word dest dp 0 dp size break find length run 255 store left end sp left 0 left 255 left 255 byte src sp 1 left src sp byte break dest dp byte dp dest dp byte dp sp size 2 store end line end bitmap code dest dp 0 dp dest dp 1 dp dest dp 0 dp size 2 return size compressrl8data srcoffset numbyt srcoffset srcoffset numbyt thebyt thebyt thebyt thebyt void decompress data byte src byte dest int stride int cmp cmp 1 bmp rle8 compress decompressrl8 data src src length stride dest dest length 0 swt error swt error invalid imag return cmp 2 bmp rle4 compress decompressrl4 data src src length stride dest dest length 0 swt error swt error invalid imag return swt error swt error invalid imag decompressdata bmp_rle8_compress decompressrl8data error_invalid_imag bmp_rle4_compress decompressrl4data error_invalid_imag error_invalid_imag int decompressrl4 data byte src int num byte int stride byte dest int dest size int sp 0 int se num byte int dp 0 int de dest size int 0 0 sp se int len src sp 0xff sp len 0 len src sp 0xff sp switch len case 0 end line 0 dp stride dp de return 1 break case 1 end bitmap return 1 case 2 delta src sp 0xff sp src sp 0xff sp dp stride 2 dp de return 1 break default absolut mode run len 1 0 odd run length support return 1 len len len 2 len se sp return 1 len de dp return 1 int 0 len dest dp src sp dp sp sp 1 0 sp word align sp break len 1 0 return 1 len len len 2 byte byte src sp sp len de dp return 1 int 0 len dest dp byte dp return 1 decompressrl4data numbyt destsiz numbyt destsiz thebyt thebyt int decompressrl8 data byte src int num byte int stride byte dest int dest size int sp 0 int se num byte int dp 0 int de dest size int 0 0 sp se int len src sp 0xff sp len 0 len src sp 0xff sp switch len case 0 end line 0 dp stride dp de return 1 break case 1 end bitmap return 1 case 2 delta src sp 0xff sp src sp 0xff sp dp stride dp de return 1 break default absolut mode run len se sp return 1 len de dp return 1 int 0 len dest dp src sp dp sp sp 1 0 sp word align sp len break byte byte src sp sp len de dp return 1 int 0 len dest dp byte dp len return 1 decompressrl8data numbyt destsiz numbyt destsiz thebyt thebyt boolean file format le data input stream stream try byte header byte 2 stream read header stream unread header return header 0 0x42 header 1 0x4d catch except return fals isfileformat ledatainputstream byte load data byte info header int width info header 4 0xff info header 5 0xff 8 info header 6 0xff 16 info header 7 0xff 24 int height info header 8 0xff info header 9 0xff 8 info header 10 0xff 16 info header 11 0xff 24 int bit count info header 14 0xff info header 15 0xff 8 int stride width bit count 7 8 stride stride 3 4 4 round 4 byte multipl byte data load data info header stride flip scan line data stride height return data loaddata infohead infohead infohead infohead infohead infohead infohead infohead infohead bitcount infohead infohead bitcount loaddata infohead flipscanlin byte load data byte info header int stride int height info header 8 0xff info header 9 0xff 8 info header 10 0xff 16 info header 11 0xff 24 int data size height stride byte data byte data size int cmp info header 16 0xff info header 17 0xff 8 info header 18 0xff 16 info header 19 0xff 24 cmp 0 bmp compress try input stream read data data size swt error swt error invalid imag catch io except swt error swt error io int compress size info header 20 0xff info header 21 0xff 8 info header 22 0xff 16 info header 23 0xff 24 byte compress byte compress size try input stream read compress compress size swt error swt error invalid imag catch io except swt error swt error io decompress data compress data stride cmp return data loaddata infohead infohead infohead infohead infohead datas datas infohead infohead infohead infohead bmp_no_compress inputstream datas error_invalid_imag ioexcept error_io compresseds infohead infohead infohead infohead compresseds inputstream compresseds error_invalid_imag ioexcept error_io decompressdata int load file header int header int 5 try header 0 input stream read short header 1 input stream read int header 2 input stream read short header 3 input stream read short header 4 input stream read int catch io except swt error swt error io header 0 0x4d42 swt error swt error invalid imag return header loadfilehead inputstream readshort inputstream readint inputstream readshort inputstream readshort inputstream readint ioexcept error_io error_invalid_imag imag data load byte stream int file header load file header byte info header byte bmp header fix size try input stream read info header catch except swt error swt error io palett data palett load palett info header input stream posit file header 4 seek offset try input stream skip file header 4 input stream posit catch io except swt error swt error io byte data load data info header compress info header 16 0xff info header 17 0xff 8 info header 18 0xff 16 info header 19 0xff 24 import color info header 36 0xff info header 37 0xff 8 info header 38 0xff 16 info header 39 0xff 24 int pel meter info header 24 0xff info header 25 0xff 8 info header 26 0xff 16 info header 27 0xff 24 int pel meter info header 28 0xff info header 29 0xff 8 info header 30 0xff 16 info header 31 0xff 24 pel meter point pel meter pel meter int width info header 4 0xff info header 5 0xff 8 info header 6 0xff 16 info header 7 0xff 24 int height info header 8 0xff info header 9 0xff 8 info header 10 0xff 16 info header 11 0xff 24 int bit count info header 14 0xff info header 15 0xff 8 int type compress 1 bmp rle8 compress compress 2 bmp rle4 compress swt imag bmp rle swt imag bmp return imag data imag data intern width height bit count palett 4 data 0 null null 1 1 type 0 0 0 0 imagedata loadfrombytestream filehead loadfilehead infohead bmpheaderfixeds inputstream infohead error_io palettedata loadpalett infohead inputstream getposit filehead inputstream filehead inputstream getposit ioexcept error_io loaddata infohead infohead infohead infohead infohead importantcolor infohead infohead infohead infohead xpelspermet infohead infohead infohead infohead ypelspermet infohead infohead infohead infohead pelspermet xpelspermet ypelspermet infohead infohead infohead infohead infohead infohead infohead infohead bitcount infohead infohead bmp_rle8_compress bmp_rle4_compress imag_bmp_rle imag_bmp imagedata imagedata intern_new bitcount palett data load palett byte info header int depth info header 14 0xff info header 15 0xff 8 depth 8 int num color info header 32 0xff info header 33 0xff 8 info header 34 0xff 16 info header 35 0xff 24 num color 0 num color 1 info header 14 0xff info header 15 0xff 8 num color 256 num color 256 byte buf byte num color 4 try input stream read buf buf length swt error swt error invalid imag catch io except swt error swt error io return palett byte buf num color depth 16 return palett data 0x7c00 0x3e0 0x1f depth 24 return palett data 0xff 0xff00 0xff0000 return palett data 0xff00 0xff0000 0xff000000 palettedata loadpalett infohead infohead infohead numcolor infohead infohead infohead infohead numcolor numcolor infohead infohead numcolor numcolor numcolor inputstream error_invalid_imag ioexcept error_io palettefrombyt numcolor palettedata palettedata palettedata palett data palett byte byte byte int num color int byte offset 0 rgb color rgb num color int 0 num color color rgb byte byte offset 2 0xff byte byte offset 1 0xff byte byte offset 0xff byte offset 4 return palett data color palettedata palettefrombyt numcolor bytesoffset numcolor numcolor bytesoffset bytesoffset bytesoffset bytesoffset palettedata answer byte arrai bmp represent devic independ palett static byte palett byte palett data pal int pal color null 0 pal color length 256 pal color length 256 byte byte byte 4 int offset 0 int 0 rgb col pal color byte offset byte col blue byte offset 1 byte col green byte offset 2 byte col red offset 4 return byte palettetobyt palettedata unload imag data byte stream compress strategi answer number byte written int unload data imag data imag output stream int comp int total size 0 try comp 0 return unload data compress imag int bpl imag width imag depth 7 8 int bmp bpl bpl 3 4 4 bmp pad scanlin multipl 4 byte int imag bpl imag byte line compress actual space worst case byte buf byte bmp bpl 2 int src offset imag bpl imag height 1 start line byte data imag data total size 0 byte buf2 byte 32768 int buf2 offset 0 int imag height 1 0 int line size compress comp data src offset bpl buf 0 buf2 offset line size buf2 length write buf2 0 buf2 offset buf2 offset 0 system arraycopi buf 0 buf2 buf2 offset line size buf2 offset line size total size line size src offset imag bpl buf2 offset 0 write buf2 0 buf2 offset catch io except swt error swt error io return total size unloaddata imagedata outputstream totals unloaddatanocompress bmpbpl imagebpl bytesperlin bmpbpl srcoffset imagebpl totals buf2offset lines srcoffset buf2offset lines buf2offset buf2offset buf2offset lines buf2offset lines totals lines srcoffset imagebpl buf2offset buf2offset ioexcept error_io totals prepar imag data unload byte stream compress strategi answer number byte written int unload data compress imag data imag output stream int bmp bpl 0 try int bpl imag width imag depth 7 8 bmp bpl bpl 3 4 4 bmp pad scanlin multipl 4 byte int line buf 32678 bmp bpl byte buf byte line buf bmp bpl byte data imag data int imag bpl imag byte line int data index imag bpl imag height 1 start line imag depth 16 int 0 imag height line buf int count imag height line buf count count line buf int buf offset 0 int 0 count int index 0 index bpl index 2 buf buf offset index 1 data data index index 1 buf buf offset index data data index index buf offset bmp bpl data index imag bpl write buf 0 buf offset int 0 imag height line buf int tmp imag height int count tmp line buf tmp line buf int buf offset 0 int 0 count system arraycopi data data index buf buf offset bpl buf offset bmp bpl data index imag bpl write buf 0 buf offset catch io except swt error swt error io return bmp bpl imag height unloaddatanocompress imagedata outputstream bmpbpl bmpbpl linesperbuf bmpbpl linesperbuf bmpbpl imagebpl bytesperlin dataindex imagebpl linesperbuf linesperbuf linesperbuf bufoffset windex windex windex bufoffset windex dataindex windex bufoffset windex dataindex windex bufoffset bmpbpl dataindex imagebpl bufoffset linesperbuf linesperbuf linesperbuf bufoffset dataindex bufoffset bufoffset bmpbpl dataindex imagebpl bufoffset ioexcept error_io bmpbpl unload devic independ imag window bmp format byte stream void unload byte stream imag data imag byte rgb int num col imag depth 1 imag depth 4 imag depth 8 imag depth 16 imag depth 24 imag depth 32 swt error swt error unsupport depth int comp compress comp 0 comp 1 imag depth 8 comp 2 imag depth 4 swt error swt error invalid imag palett data pal imag palett imag depth 16 imag depth 24 imag depth 32 pal direct swt error swt error invalid imag num col 0 rgb null pal direct swt error swt error invalid imag num col pal color length rgb palett byte pal fill file header bfsize later int header size 54 int file header int 5 file header 0 0x4d42 signatur file header 1 0 file size fill later file header 2 0 reserv 1 file header 3 0 reserv 2 file header 4 header size offset data rgb null file header 4 rgb length prepar data don try rewind stream fill detail later byte arrai output stream byte arrai output stream unload data imag comp byte compress data byte arrai calcul file size file header 1 file header 4 compress data length write header try output stream write short file header 0 output stream write int file header 1 output stream write short file header 2 output stream write short file header 3 output stream write int file header 4 catch io except swt error swt error io try output stream write int winbmp file format bmp header fix size output stream write int imag width output stream write int imag height output stream write short 1 output stream write short short imag depth output stream write int comp output stream write int compress data length output stream write int pel meter output stream write int pel meter output stream write int num col output stream write int import color catch io except swt error swt error io unload palett num col 0 try output stream write rgb catch io except swt error swt error io unload data try output stream write compress data catch io except swt error swt error io deviceindependentimag unloadintobytestream imagedata numcol error_unsupport_depth error_invalid_imag palettedata isdirect error_invalid_imag numcol isdirect error_invalid_imag numcol palettetobyt headerss filehead filehead filehead filehead filehead filehead headerss filehead bytearrayoutputstream bytearrayoutputstream unloaddata compresseddata tobytearrai filehead filehead compresseddata outputstream writeshort filehead outputstream writeint filehead outputstream writeshort filehead outputstream writeshort filehead outputstream writeint filehead ioexcept error_io outputstream writeint winbmpfileformat bmpheaderfixeds outputstream writeint outputstream writeint outputstream writeshort outputstream writeshort outputstream writeint outputstream writeint compresseddata outputstream writeint pelspermet outputstream writeint pelspermet outputstream writeint numcol outputstream writeint importantcolor ioexcept error_io numcol outputstream ioexcept error_io outputstream compresseddata ioexcept error_io void flip scan line byte data int stride int height int i1 0 int i2 height 1 stride int 0 height 2 int index 0 index stride index byte data index i1 data index i1 data index i2 data index i2 i1 stride i2 stride flipscanlin static final byte convert pad byte data int width int height int depth int pad int pad pad pad return data int stride width depth 7 8 int bpl stride pad 1 pad pad int bpl stride pad 1 pad pad byte data byte height bpl int src index 0 dest index 0 int 0 height system arraycopi data src index data dest index bpl src index bpl dest index bpl return data convertpad newpad newpad newbpl newpad newpad newpad newdata newbpl srcindex destindex srcindex newdata destindex newbpl srcindex destindex newbpl newdata answer size byte file represent icon int icon size imag data int shape data stride width depth 31 32 4 int mask data stride width 31 32 4 int data size shape data stride mask data stride height int palett size palett color null palett color length 4 0 return winbmp file format bmp header fix size palett size data size icons imagedata shapedatastrid maskdatastrid datas shapedatastrid maskdatastrid palettes winbmpfileformat bmpheaderfixeds palettes datas boolean file format le data input stream stream try byte header byte 4 stream read header stream unread header return header 0 0 header 1 0 header 2 1 header 3 0 catch except return fals isfileformat ledatainputstream boolean valid icon imag data switch depth case 1 case 4 case 8 palett direct return fals int size palett color length return size 2 size 16 size 32 size 256 case 24 case 32 return palett direct return fals isvalidicon imagedata isdirect isdirect int load file header le data input stream byte stream int file header int 3 try file header 0 byte stream read short file header 1 byte stream read short file header 2 byte stream read short catch io except swt error swt error io file header 0 0 file header 1 1 swt error swt error invalid imag int num icon file header 2 num icon 0 swt error swt error invalid imag return num icon loadfilehead ledatainputstream bytestream filehead filehead bytestream readshort filehead bytestream readshort filehead bytestream readshort ioexcept error_io filehead filehead error_invalid_imag numicon filehead numicon error_invalid_imag numicon int load file header le data input stream byte stream boolean header int file header int 3 try header file header 0 byte stream read short file header 1 byte stream read short file header 0 0 file header 1 1 file header 2 byte stream read short catch io except swt error swt error io file header 0 0 file header 1 1 swt error swt error invalid imag int num icon file header 2 num icon 0 swt error swt error invalid imag return num icon loadfilehead ledatainputstream bytestream hashead filehead hashead filehead bytestream readshort filehead bytestream readshort filehead filehead filehead bytestream readshort ioexcept error_io filehead filehead error_invalid_imag numicon filehead numicon error_invalid_imag numicon imag data load byte stream int num icon load file header input stream int header load icon header num icon imag data icon imag data header length int 0 icon length icon load icon header return icon imagedata loadfrombytestream numicon loadfilehead inputstream loadiconhead numicon imagedata imagedata loadicon load icon byte stream imag data load icon int icon header byte info header load info header icon header winbmp file format bmp format winbmp file format bmp format input stream input stream palett data palett bmp format load palett info header byte shape data bmp format load data info header int width info header 4 0xff info header 5 0xff 8 info header 6 0xff 16 info header 7 0xff 24 int height info header 8 0xff info header 9 0xff 8 info header 10 0xff 16 info header 11 0xff 24 int depth info header 14 0xff info header 15 0xff 8 info header 14 1 info header 15 0 byte mask data bmp format load data info header mask data convert pad mask data width height 1 4 2 bit invert data mask data 0 mask data length return imag data intern width height depth palett 4 shape data 2 mask data null 1 1 swt imag ico 0 0 0 0 imagedata loadicon iconhead infohead loadinfohead iconhead winbmpfileformat bmpformat winbmpfileformat bmpformat inputstream inputstream palettedata bmpformat loadpalett infohead shapedata bmpformat loaddata infohead infohead infohead infohead infohead infohead infohead infohead infohead infohead infohead infohead infohead maskdata bmpformat loaddata infohead maskdata convertpad maskdata bitinvertdata maskdata maskdata imagedata intern_new shapedata maskdata imag_ico int load icon header int num icon int header int num icon 7 try int 0 num icon header 0 input stream read header 1 input stream read header 2 input stream read short header 3 input stream read short header 4 input stream read short header 5 input stream read int header 6 input stream read int catch io except swt error swt error io return header loadiconhead numicon numicon numicon inputstream inputstream inputstream readshort inputstream readshort inputstream readshort inputstream readint inputstream readint ioexcept error_io byte load info header int icon header int width icon header 0 int height icon header 1 int num color icon header 2 number color low byte high byte 0 num color 0 num color 256 00 repres 256 0x100 color num color 2 num color 8 num color 16 num color 32 num color 256 swt error swt error invalid imag input stream posit icon header 6 seek offset try input stream skip icon header 6 input stream posit catch io except swt error swt error io return null byte info header byte winbmp file format bmp header fix size try input stream read info header catch io except swt error swt error io info header 12 0xff info header 13 0xff 8 1 swt error swt error invalid imag int info width info header 4 0xff info header 5 0xff 8 info header 6 0xff 16 info header 7 0xff 24 int info height info header 8 0xff info header 9 0xff 8 info header 10 0xff 16 info header 11 0xff 24 int bit count info header 14 0xff info header 15 0xff 8 height info height bit count 1 height 2 width info width height 2 info height bit count 1 bit count 4 bit count 8 bit count 24 bit count 32 swt error swt error invalid imag info header 8 byte height 0xff info header 9 byte height 8 0xff info header 10 byte height 16 0xff info header 11 byte height 24 0xff return info header loadinfohead iconhead iconhead iconhead numcolor iconhead numcolor numcolor numcolor numcolor numcolor numcolor numcolor error_invalid_imag inputstream getposit iconhead inputstream iconhead inputstream getposit ioexcept error_io infohead winbmpfileformat bmpheaderfixeds inputstream infohead ioexcept error_io infohead infohead error_invalid_imag infowidth infohead infohead infohead infohead infoheight infohead infohead infohead infohead bitcount infohead infohead infoheight bitcount infowidth infoheight bitcount bitcount bitcount bitcount bitcount error_invalid_imag infohead infohead infohead infohead infohead unload singl icon void unload icon imag data icon int size imag icon width icon depth 31 32 4 icon width 31 32 4 icon height try output stream write int winbmp file format bmp header fix size output stream write int icon width output stream write int icon height 2 output stream write short 1 output stream write short short icon depth output stream write int 0 output stream write int size imag output stream write int 0 output stream write int 0 output stream write int icon palett color null icon palett color length 0 output stream write int 0 catch io except swt error swt error io byte rgb winbmp file format palett byte icon palett try output stream write rgb catch io except swt error swt error io unload shape data icon unload mask data icon unloadicon imagedata sizeimag outputstream writeint winbmpfileformat bmpheaderfixeds outputstream writeint outputstream writeint outputstream writeshort outputstream writeshort outputstream writeint outputstream writeint sizeimag outputstream writeint outputstream writeint outputstream writeint outputstream writeint ioexcept error_io winbmpfileformat palettetobyt outputstream ioexcept error_io unloadshapedata unloadmaskdata unload icon header icon calcul offset void unload icon header imag data int header size 16 int offset header size 6 int icon size icon size try output stream write byte byte width output stream write byte byte height output stream write short palett color null palett color length 0 output stream write short 0 output stream write short 0 output stream write int icon size output stream write int offset catch io except swt error swt error io unloadiconhead imagedata headers headers icons icons outputstream writebyt outputstream writebyt outputstream writeshort outputstream writeshort outputstream writeshort outputstream writeint icons outputstream writeint ioexcept error_io void unload byte stream imag data imag valid icon imag swt error swt error invalid imag try output stream write short 0 output stream write short 1 output stream write short 1 catch io except swt error swt error io unload icon header imag unload icon imag unloadintobytestream imagedata isvalidicon error_invalid_imag outputstream writeshort outputstream writeshort outputstream writeshort ioexcept error_io unloadiconhead unloadicon unload mask data icon data flip vertic invert void unload mask data imag data icon imag data mask icon transpar mask int bpl icon width 7 8 int pad mask scanlin pad int src bpl bpl pad 1 pad pad int dest bpl bpl 3 4 4 byte buf byte dest bpl int offset icon height 1 src bpl byte data mask data try int 0 icon height system arraycopi data offset buf 0 bpl bit invert data buf 0 bpl output stream write buf 0 dest bpl offset src bpl catch io except swt error swt error io unloadmaskdata imagedata imagedata gettransparencymask scanlinepad srcbpl destbpl destbpl srcbpl bitinvertdata outputstream destbpl srcbpl ioexcept error_io unload shape data icon data flip vertic void unload shape data imag data icon int bpl icon width icon depth 7 8 int pad icon scanlin pad int src bpl bpl pad 1 pad pad int dest bpl bpl 3 4 4 byte buf byte dest bpl int offset icon height 1 src bpl byte data icon data try int 0 icon height system arraycopi data offset buf 0 bpl output stream write buf 0 dest bpl offset src bpl catch io except swt error swt error io unloadshapedata imagedata scanlinepad srcbpl destbpl destbpl srcbpl outputstream destbpl srcbpl ioexcept error_io nsid ns iappshel iid string public nsi app shell int address super address ns_iappshel_iid_string nsiappshel public int creat int argc int argv return xpcom vtbl call super method id 1 address argc argv vtblcall last_method_id getaddress public int run return xpcom vtbl call super method id 2 address vtblcall last_method_id getaddress public int spinup return xpcom vtbl call super method id 3 address vtblcall last_method_id getaddress public int spindown return xpcom vtbl call super method id 4 address vtblcall last_method_id getaddress public int listen event queue int queue boolean listen return xpcom vtbl call super method id 5 address queue listen listentoeventqueu aqueu alisten vtblcall last_method_id getaddress aqueu alisten public int nativ event int real event int event return xpcom vtbl call super method id 6 address real event event getnativeev arealev aevent vtblcall last_method_id getaddress arealev aevent public int dispatch nativ event boolean real event int event return xpcom ns error implement dispatchnativeev arealev aevent ns_error_not_implement public int exit return xpcom vtbl call super method id 8 address vtblcall last_method_id getaddress nsid ns ibasewindow iid string public nsi base window int address super address ns_ibasewindow_iid_string nsibasewindow public int init window int parent nativ window int parent widget int int int cx int cy return xpcom vtbl call super method id 1 address parent nativ window parent widget cx cy initwindow parentnativewindow parentwidget vtblcall last_method_id getaddress parentnativewindow parentwidget public int creat return xpcom vtbl call super method id 2 address vtblcall last_method_id getaddress public int destroi return xpcom vtbl call super method id 3 address vtblcall last_method_id getaddress public int set posit int int return xpcom vtbl call super method id 4 address setposit vtblcall last_method_id getaddress public int posit int int return xpcom vtbl call super method id 5 address getposit vtblcall last_method_id getaddress public int set size int cx int cy boolean repaint return xpcom vtbl call super method id 6 address cx cy repaint setsiz frepaint vtblcall last_method_id getaddress frepaint public int size int cx int cy return xpcom vtbl call super method id 7 address cx cy getsiz vtblcall last_method_id getaddress public int set posit size int int int cx int cy boolean repaint return xpcom vtbl call super method id 8 address cx cy repaint setpositionands frepaint vtblcall last_method_id getaddress frepaint public int posit size int int int cx int cy return xpcom vtbl call super method id 9 address cx cy getpositionands vtblcall last_method_id getaddress public int repaint boolean forc return xpcom vtbl call super method id 10 address forc vtblcall last_method_id getaddress public int parent widget int parent widget return xpcom vtbl call super method id 11 address parent widget getparentwidget aparentwidget vtblcall last_method_id getaddress aparentwidget public int set parent widget int parent widget return xpcom vtbl call super method id 12 address parent widget setparentwidget aparentwidget vtblcall last_method_id getaddress aparentwidget public int parent nativ window int parent nativ window return xpcom vtbl call super method id 13 address parent nativ window getparentnativewindow aparentnativewindow vtblcall last_method_id getaddress aparentnativewindow public int set parent nativ window int parent nativ window return xpcom vtbl call super method id 14 address parent nativ window setparentnativewindow aparentnativewindow vtblcall last_method_id getaddress aparentnativewindow public int visibl boolean visibl return xpcom vtbl call super method id 15 address visibl getvis avis vtblcall last_method_id getaddress avis public int set visibl boolean visibl return xpcom vtbl call super method id 16 address visibl setvis avis vtblcall last_method_id getaddress avis public int enabl boolean enabl return xpcom vtbl call super method id 17 address enabl geten aenabl vtblcall last_method_id getaddress aenabl public int set enabl boolean enabl return xpcom vtbl call super method id 18 address enabl seten aenabl vtblcall last_method_id getaddress aenabl public int blur suppress boolean blur suppress return xpcom vtbl call super method id 19 address blur suppress getblursuppress ablursuppress vtblcall last_method_id getaddress ablursuppress public int set blur suppress boolean blur suppress return xpcom vtbl call super method id 20 address blur suppress setblursuppress ablursuppress vtblcall last_method_id getaddress ablursuppress public int main widget int main widget return xpcom vtbl call super method id 21 address main widget getmainwidget amainwidget vtblcall last_method_id getaddress amainwidget public int set focu return xpcom vtbl call super method id 22 address setfocu vtblcall last_method_id getaddress public int titl int titl return xpcom vtbl call super method id 23 address titl gettitl atitl vtblcall last_method_id getaddress atitl public int set titl char titl return xpcom vtbl call super method id 24 address titl settitl atitl vtblcall last_method_id getaddress atitl contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv end licens block packag org eclips swt intern mozilla public class nsi categori manag extend nsi support nsicategorymanag nsisupport static final int method id nsi support method id 6 last_method_id nsisupport last_method_id contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv end licens block packag org eclips swt intern mozilla public class nsi channel extend nsi request nsichannel nsirequest static final int method id nsi request method id 16 last_method_id nsirequest last_method_id public static final string ns ichannel iid string c63a055a a676 4e71 bf3c 6cfa11082018 ns_ichannel_iid_string public static final nsid ns ichannel iid ns_ichannel_iid nsid ns ichannel iid string ns_ichannel_iid_string public nsi channel int address super address nsichannel public int originaluri int originaluri return xpcom vtbl call super method id 1 address originaluri getoriginaluri aoriginaluri vtblcall last_method_id getaddress aoriginaluri public int set originaluri int originaluri return xpcom vtbl call super method id 2 address originaluri setoriginaluri aoriginaluri vtblcall last_method_id getaddress aoriginaluri public int geturi int auri return xpcom vtbl call super method id 3 address auri vtblcall last_method_id getaddress nsid ns icomponentmanag iid string public nsi compon manag int address super address ns_icomponentmanag_iid_string nsicomponentmanag public int class object nsid class nsid aiid int result return xpcom vtbl call super method id 1 address class aiid result getclassobject aclass vtblcall last_method_id getaddress aclass public int class object contractid byte contractid nsid aiid int result return xpcom vtbl call super method id 2 address contractid aiid result getclassobjectbycontractid acontractid vtblcall last_method_id getaddress acontractid public int creat instanc nsid class int deleg nsid aiid int result return xpcom vtbl call super method id 3 address class deleg aiid result createinst aclass adeleg vtblcall last_method_id getaddress aclass adeleg public int creat instanc contractid byte contractid int deleg nsid aiid int result return xpcom vtbl call super method id 4 address contractid deleg aiid result createinstancebycontractid acontractid adeleg vtblcall last_method_id getaddress acontractid adeleg nsid ns icomponentregistrar iid string public nsi compon registrar int address super address ns_icomponentregistrar_iid_string nsicomponentregistrar public int auto regist int spec return xpcom vtbl call super method id 1 address spec autoregist aspec vtblcall last_method_id getaddress aspec public int auto unregist int spec return xpcom vtbl call super method id 2 address spec autounregist aspec vtblcall last_method_id getaddress aspec public int regist factori nsid class byte class byte contractid int factori return xpcom vtbl call super method id 3 address class class contractid factori registerfactori aclass aclassnam acontractid afactori vtblcall last_method_id getaddress aclass aclassnam acontractid afactori public int unregist factori nsid class int factori return xpcom ns error implement unregisterfactori aclass afactori ns_error_not_implement public int regist factori locat nsid class byte class byte contractid int file byte loader str byte type return xpcom ns error implement registerfactoryloc aclass aclassnam acontractid afil aloaderstr atyp ns_error_not_implement public int unregist factori locat nsid class int file return xpcom ns error implement unregisterfactoryloc aclass afil ns_error_not_implement public int iscid regist nsid class boolean retval return xpcom ns error implement iscidregist aclass _retval ns_error_not_implement public int contractid regist byte contractid boolean retval return xpcom ns error implement iscontractidregist acontractid _retval ns_error_not_implement public int enumerateci ds int retval return xpcom vtbl call super method id 9 address retval enumeratecid _retval vtblcall last_method_id getaddress _retval public int enumer contracti ds int retval return xpcom vtbl call super method id 10 address retval enumeratecontractid _retval vtblcall last_method_id getaddress _retval public int cid contractid nsid class int retval return xpcom vtbl call super method id 11 address class retval cidtocontractid aclass _retval vtblcall last_method_id getaddress aclass _retval public int contractid tocid byte contractid nsid retval return xpcom ns error implement contractidtocid acontractid _retval ns_error_not_implement contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv end licens block packag org eclips swt intern mozilla public class nsi content viewer extend nsi support nsicontentview nsisupport static final int method id nsi support method id 22 last_method_id nsisupport last_method_id public static final string ns icontentview iid string a6cf9056 15b3 11d2 932e 00805f8add32 ns_icontentview_iid_string public static final nsid ns icontentview iid ns_icontentview_iid nsid ns icontentview iid string ns_icontentview_iid_string public nsi content viewer int address super address nsicontentview public int init int parent widget int devic context int bound return xpcom vtbl call super method id 1 address parent widget devic context bound aparentwidget adevicecontext abound vtblcall last_method_id getaddress aparentwidget adevicecontext abound public int contain int contain return xpcom vtbl call super method id 2 address contain getcontain acontain vtblcall last_method_id getaddress acontain public int set contain int contain return xpcom vtbl call super method id 3 address contain setcontain acontain vtblcall last_method_id getaddress acontain public int load start int doc return xpcom vtbl call super method id 4 address doc loadstart adoc vtblcall last_method_id getaddress adoc public int load complet int statu return xpcom vtbl call super method id 5 address statu loadcomplet astatu vtblcall last_method_id getaddress astatu public int unload return xpcom vtbl call super method id 6 address vtblcall last_method_id getaddress contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv nsid ns icontextmenulisten iid string public nsi context menu listen int address super address ns_icontextmenulisten_iid_string nsicontextmenulisten public static final int context input 16 public int show context menu int context flag int event int node return xpcom vtbl call super method id 1 address context flag event node context_input onshowcontextmenu acontextflag aevent anod vtblcall last_method_id getaddress acontextflag aevent anod nsid ns icontrol iid string public nsi control int address super address ns_icontrol_iid_string nsicontrol public int command enabl byte command boolean retval return xpcom vtbl call super method id 1 address command retval iscommanden _retval vtblcall last_method_id getaddress _retval public int support command byte command boolean retval return xpcom vtbl call super method id 2 address command retval supportscommand _retval vtblcall last_method_id getaddress _retval public int command byte command return xpcom vtbl call super method id 3 address command docommand vtblcall last_method_id getaddress public int event byte event return xpcom vtbl call super method id 4 address event onev eventnam vtblcall last_method_id getaddress eventnam nsid ns icontrol iid string public nsi control int address super address ns_icontrol_iid_string nsicontrol public int command dispatch int command dispatch return xpcom vtbl call super method id 1 address command dispatch getcommanddispatch acommanddispatch vtblcall last_method_id getaddress acommanddispatch public int set command dispatch int command dispatch return xpcom vtbl call super method id 2 address command dispatch setcommanddispatch acommanddispatch vtblcall last_method_id getaddress acommanddispatch public int control command byte command int retval return xpcom vtbl call super method id 3 address command retval getcontrollerforcommand _retval vtblcall last_method_id getaddress _retval public int insert control int index int control return xpcom vtbl call super method id 4 address index control insertcontrollerat vtblcall last_method_id getaddress public int remov control int index int retval return xpcom vtbl call super method id 5 address index retval removecontrollerat _retval vtblcall last_method_id getaddress _retval public int control int index int retval return xpcom vtbl call super method id 6 address index retval getcontrollerat _retval vtblcall last_method_id getaddress _retval public int append control int control return xpcom vtbl call super method id 7 address control appendcontrol vtblcall last_method_id getaddress public int remov control int control return xpcom vtbl call super method id 8 address control removecontrol vtblcall last_method_id getaddress public int control id int control int retval return xpcom vtbl call super method id 9 address control retval getcontrollerid _retval vtblcall last_method_id getaddress _retval public int control id int controllerid int retval return xpcom vtbl call super method id 10 address controllerid retval getcontrollerbyid _retval vtblcall last_method_id getaddress _retval public int control count int retval return xpcom vtbl call super method id 11 address retval getcontrollercount _retval vtblcall last_method_id getaddress _retval public static final int sizeof 16 public nsid public nsid string id pars id public boolean equal nsid int ptr xpcom nsid xpcom memmov ptr nsid sizeof int ptr xpcom nsid xpcom memmov ptr nsid sizeof boolean result xpcom nsid equal ptr ptr xpcom nsid delet ptr xpcom nsid delet ptr return result nsid_new otherptr nsid_new otherptr nsid_equal otherptr nsid_delet nsid_delet otherptr public boolean pars string aid str int ptr xpcom nsid boolean result xpcom nsid pars ptr aid str xpcom memmov ptr nsid sizeof xpcom nsid delet ptr return result aidstr nsid_new nsid_pars aidstr nsid_delet nsid ns idirectoryservic iid string public nsi directori servic int address super address ns_idirectoryservic_iid_string nsidirectoryservic public int init return xpcom vtbl call super method id 1 address vtblcall last_method_id getaddress public int regist provid int prov return xpcom vtbl call super method id 2 address prov registerprovid vtblcall last_method_id getaddress public int unregist provid int prov return xpcom vtbl call super method id 3 address prov unregisterprovid vtblcall last_method_id getaddress nsid ns idirectoryserviceprovid iid string public nsi directori servic provid int address super address ns_idirectoryserviceprovid_iid_string nsidirectoryserviceprovid public int file byte prop boolean persist int retval return xpcom ns error implement getfil _retval ns_error_not_implement nsid ns idirectoryserviceprovid2 iid string public nsi directori servic provid2 int address super address ns_idirectoryserviceprovid2_iid_string nsidirectoryserviceprovid2 public int file byte prop int retval return xpcom vtbl call super method id 1 address prop retval getfil _retval vtblcall last_method_id getaddress _retval contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv end licens block packag org eclips swt intern mozilla public class nsi doc shell extend nsi support nsidocshel nsisupport static final int method id nsi support method id 51 last_method_id nsisupport last_method_id public static final string ns idocshel iid string 69e5de00 7b8b 11d3 af61 00a024ffc08c ns_idocshel_iid_string public static final nsid ns idocshel iid ns_idocshel_iid nsid ns idocshel iid string ns_idocshel_iid_string public nsi doc shell int address super address nsidocshel public int loaduri int uri int load info int load flag boolean parti return xpcom vtbl call super method id 1 address uri load info load flag parti loadinfo aloadflag firstparti vtblcall last_method_id getaddress loadinfo aloadflag firstparti public int load stream int stream int auri int content type int content charset int load info return xpcom vtbl call super method id 2 address stream auri content type content charset load info loadstream astream acontenttyp acontentcharset aloadinfo vtblcall last_method_id getaddress astream acontenttyp acontentcharset aloadinfo public int intern load int auri int referr int owner boolean inherit owner char window target int post data stream int header stream int load flag int ash entri boolean parti int doc shell int request return xpcom ns error implement internalload areferr aowner ainheritown awindowtarget apostdatastream aheadersstream aloadflag ashentri firstparti adocshel arequest ns_error_not_implement public int creat load info int load info return xpcom vtbl call super method id 4 address load info createloadinfo loadinfo vtblcall last_method_id getaddress loadinfo public int prepar content model return xpcom vtbl call super method id 5 address preparefornewcontentmodel vtblcall last_method_id getaddress public int set currenturi int auri return xpcom vtbl call super method id 6 address auri setcurrenturi vtblcall last_method_id getaddress public int fire unload notif return xpcom vtbl call super method id 7 address fireunloadnotif vtblcall last_method_id getaddress public int pre context int pre context return xpcom vtbl call super method id 8 address pre context getprescontext aprescontext vtblcall last_method_id getaddress aprescontext public int content viewer int content viewer return xpcom vtbl call super method id 11 address content viewer getcontentview acontentview vtblcall last_method_id getaddress acontentview public int chrome event handler int chrome event handler return xpcom vtbl call super method id 12 address chrome event handler getchromeeventhandl achromeeventhandl vtblcall last_method_id getaddress achromeeventhandl public int set chrome event handler int chrome event handler return xpcom vtbl call super method id 13 address chrome event handler setchromeeventhandl achromeeventhandl vtblcall last_method_id getaddress achromeeventhandl public int parenturi content listen int parenturi content listen return xpcom vtbl call super method id 14 address parenturi content listen getparenturicontentlisten aparenturicontentlisten vtblcall last_method_id getaddress aparenturicontentlisten public int set parenturi content listen int parenturi content listen return xpcom vtbl call super method id 15 address parenturi content listen setparenturicontentlisten aparenturicontentlisten vtblcall last_method_id getaddress aparenturicontentlisten public int document charset info int document charset info return xpcom vtbl call super method id 16 address document charset info getdocumentcharsetinfo adocumentcharsetinfo vtblcall last_method_id getaddress adocumentcharsetinfo public int set document charset info int document charset info return xpcom vtbl call super method id 17 address document charset info setdocumentcharsetinfo adocumentcharsetinfo vtblcall last_method_id getaddress adocumentcharsetinfo public int allow javascript boolean allow javascript getallowjavascript aallowjavascript return xpcom vtbl call super method id 20 address allow javascript vtblcall last_method_id getaddress aallowjavascript public int set allow javascript boolean allow javascript setallowjavascript aallowjavascript return xpcom vtbl call super method id 21 address allow javascript vtblcall last_method_id getaddress aallowjavascript public int allow meta redirect boolean allow meta redirect getallowmetaredirect allowmetaredirect return xpcom vtbl call super method id 22 address allow meta redirect vtblcall last_method_id getaddress allowmetaredirect public int set allow meta redirect boolean allow meta redirect setallowmetaredirect allowmetaredirect return xpcom vtbl call super method id 23 address allow meta redirect vtblcall last_method_id getaddress allowmetaredirect nsid ns idocshelltreeitem iid string public nsi doc shell tree item int address super address ns_idocshelltreeitem_iid_string nsidocshelltreeitem public int int return xpcom vtbl call super method id 1 address getnam anam vtblcall last_method_id getaddress anam public int set char return xpcom vtbl call super method id 2 address setnam anam vtblcall last_method_id getaddress anam public int equal char boolean retval return xpcom vtbl call super method id 3 address retval nameequ _retval vtblcall last_method_id getaddress _retval public static final int type 2147483647 public int item type int item type return xpcom vtbl call super method id 4 address item type typeal getitemtyp aitemtyp vtblcall last_method_id getaddress aitemtyp public int set item type int item type return xpcom vtbl call super method id 5 address item type setitemtyp aitemtyp vtblcall last_method_id getaddress aitemtyp public int parent int parent return xpcom vtbl call super method id 6 address parent getpar apar vtblcall last_method_id getaddress apar public int set parent int parent return xpcom vtbl call super method id 7 address parent setpar apar vtblcall last_method_id getaddress apar public int type parent int type parent return xpcom vtbl call super method id 8 address type parent getsametypepar asametypepar vtblcall last_method_id getaddress asametypepar public int root tree item int root tree item return xpcom vtbl call super method id 9 address root tree item getroottreeitem aroottreeitem vtblcall last_method_id getaddress aroottreeitem public int type root tree item int type root tree item return xpcom vtbl call super method id 10 address type root tree item getsametyperoottreeitem asametyperoottreeitem vtblcall last_method_id getaddress asametyperoottreeitem public int find item char int requestor int retval return xpcom vtbl call super method id 11 address requestor retval finditemwithnam arequestor _retval vtblcall last_method_id getaddress arequestor _retval public int tree owner int tree owner return xpcom vtbl call super method id 12 address tree owner gettreeown atreeown vtblcall last_method_id getaddress atreeown public int set tree owner int tree owner return xpcom vtbl call super method id 13 address tree owner settreeown atreeown vtblcall last_method_id getaddress atreeown public int child offset int child offset return xpcom vtbl call super method id 14 address child offset getchildoffset achildoffset vtblcall last_method_id getaddress achildoffset public int set child offset int child offset return xpcom vtbl call super method id 15 address child offset setchildoffset achildoffset vtblcall last_method_id getaddress achildoffset contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv end licens block nsid ns idomloc iid string public nsidom event int address super address ns_idomloc_iid_string nsidomev public static final int bubbl phase 3 public int type int type return xpcom vtbl call super method id 1 address type bubbl_phase gettyp atyp vtblcall last_method_id getaddress atyp public int target int target return xpcom vtbl call super method id 2 address target gettarget atarget vtblcall last_method_id getaddress atarget public int current target int current target return xpcom vtbl call super method id 3 address current target getcurrenttarget acurrenttarget vtblcall last_method_id getaddress acurrenttarget public int event phase short event phase return xpcom vtbl call super method id 4 address event phase geteventphas aeventphas vtblcall last_method_id getaddress aeventphas public int bubbl boolean bubbl return xpcom vtbl call super method id 5 address bubbl getbubbl abubbl vtblcall last_method_id getaddress abubbl public int cancel boolean cancel return xpcom vtbl call super method id 6 address cancel getcancel acancel vtblcall last_method_id getaddress acancel public int stamp int stamp return xpcom vtbl call super method id 7 address stamp gettimestamp atimestamp vtblcall last_method_id getaddress atimestamp public int stop propag return xpcom vtbl call super method id 8 address stoppropag vtblcall last_method_id getaddress public int prevent default return xpcom vtbl call super method id 9 address preventdefault vtblcall last_method_id getaddress public int init event int event type arg boolean bubbl arg boolean cancel arg return xpcom vtbl call super method id 10 address event type arg bubbl arg cancel arg initev eventtypearg canbubblearg cancelablearg vtblcall last_method_id getaddress eventtypearg canbubblearg cancelablearg nsid ns idomloc iid string public nsidom locat int address super address ns_idomloc_iid_string nsidomloc public int hash int hash return xpcom vtbl call super method id 1 address hash gethash ahash vtblcall last_method_id getaddress ahash public int set hash int hash return xpcom vtbl call super method id 2 address hash sethash ahash vtblcall last_method_id getaddress ahash public int host int host return xpcom vtbl call super method id 3 address host gethost ahost vtblcall last_method_id getaddress ahost public int set host int host return xpcom vtbl call super method id 4 address host sethost ahost vtblcall last_method_id getaddress ahost public int hostnam int hostnam return xpcom vtbl call super method id 5 address hostnam gethostnam ahostnam vtblcall last_method_id getaddress ahostnam public int set hostnam int hostnam return xpcom vtbl call super method id 6 address hostnam sethostnam ahostnam vtblcall last_method_id getaddress ahostnam public int href int href return xpcom vtbl call super method id 7 address href gethref ahref vtblcall last_method_id getaddress ahref public int set href int href return xpcom vtbl call super method id 8 address href sethref ahref vtblcall last_method_id getaddress ahref public int pathnam int pathnam return xpcom vtbl call super method id 9 address pathnam getpathnam apathnam vtblcall last_method_id getaddress apathnam public int set pathnam int pathnam return xpcom vtbl call super method id 10 address pathnam setpathnam apathnam vtblcall last_method_id getaddress apathnam public int port int port return xpcom vtbl call super method id 11 address port getport aport vtblcall last_method_id getaddress aport public int set port int port return xpcom vtbl call super method id 12 address port setport aport vtblcall last_method_id getaddress aport public int protocol int protocol return xpcom vtbl call super method id 13 address protocol getprotocol aprotocol vtblcall last_method_id getaddress aprotocol public int set protocol int protocol return xpcom vtbl call super method id 14 address protocol setprotocol aprotocol vtblcall last_method_id getaddress aprotocol public int search int search return xpcom vtbl call super method id 15 address search getsearch asearch vtblcall last_method_id getaddress asearch public int set search int search return xpcom vtbl call super method id 16 address search setsearch asearch vtblcall last_method_id getaddress asearch public int reload boolean forceget return xpcom vtbl call super method id 17 address forceget vtblcall last_method_id getaddress public int replac int url return xpcom vtbl call super method id 18 address url vtblcall last_method_id getaddress public int assign int url return xpcom vtbl call super method id 19 address url vtblcall last_method_id getaddress public int string int retval return xpcom vtbl call super method id 20 address retval tostr _retval vtblcall last_method_id getaddress _retval nsid ns idommouseev iid string public nsidom mous event int address super address ns_idommouseev_iid_string nsidommouseev public int screenx int screenx return xpcom vtbl call super method id 1 address screenx getscreenx ascreenx vtblcall last_method_id getaddress ascreenx public int screeni int screeni return xpcom vtbl call super method id 2 address screeni getscreeni ascreeni vtblcall last_method_id getaddress ascreeni public int clientx int clientx return xpcom vtbl call super method id 3 address clientx getclientx aclientx vtblcall last_method_id getaddress aclientx public int clienti int clienti return xpcom vtbl call super method id 4 address clienti getclienti aclienti vtblcall last_method_id getaddress aclienti public int ctrl kei boolean ctrl kei return xpcom vtbl call super method id 5 address ctrl kei getctrlkei actrlkei vtblcall last_method_id getaddress actrlkei public int shift kei boolean shift kei return xpcom vtbl call super method id 6 address shift kei getshiftkei ashiftkei vtblcall last_method_id getaddress ashiftkei public int alt kei boolean alt kei return xpcom vtbl call super method id 7 address alt kei getaltkei aaltkei vtblcall last_method_id getaddress aaltkei public int meta kei boolean meta kei return xpcom vtbl call super method id 8 address meta kei getmetakei ametakei vtblcall last_method_id getaddress ametakei public int button short button return xpcom vtbl call super method id 9 address button getbutton abutton vtblcall last_method_id getaddress abutton public int relat target int relat target return xpcom vtbl call super method id 10 address relat target getrelatedtarget arelatedtarget vtblcall last_method_id getaddress arelatedtarget public int init mous event int type arg boolean bubbl arg boolean cancel arg int view arg int detail arg int screenx arg int screeni arg int clientx arg int clienti arg boolean ctrl kei arg boolean alt kei arg boolean shift kei arg boolean meta kei arg short button arg int relat target arg return xpcom ns error implement initmouseev typearg canbubblearg cancelablearg viewarg detailarg screenxarg screenyarg clientxarg clientyarg ctrlkeyarg altkeyarg shiftkeyarg metakeyarg buttonarg relatedtargetarg ns_error_not_implement nsid ns idomuiev iid string public nsidomui event int address super address ns_idomuiev_iid_string nsidomuiev public int view int view return xpcom vtbl call super method id 1 address view getview aview vtblcall last_method_id getaddress aview public int detail int detail return xpcom vtbl call super method id 2 address detail getdetail adetail vtblcall last_method_id getaddress adetail public int init event int type arg boolean bubbl arg boolean cancel arg int view arg int detail arg return xpcom ns error implement initev typearg canbubblearg cancelablearg viewarg detailarg ns_error_not_implement nsid ns idomwindow iid string public nsidom window int address super address ns_idomwindow_iid_string nsidomwindow public int document int document return xpcom vtbl call super method id 1 address document getdocu adocu vtblcall last_method_id getaddress adocu public int parent int parent return xpcom vtbl call super method id 2 address parent getpar apar vtblcall last_method_id getaddress apar public int top int top return xpcom vtbl call super method id 3 address top gettop atop vtblcall last_method_id getaddress atop public int scrollbar int scrollbar return xpcom vtbl call super method id 4 address scrollbar getscrollbar vtblcall last_method_id getaddress public int frame int frame return xpcom vtbl call super method id 5 address frame getfram vtblcall last_method_id getaddress public int int return xpcom vtbl call super method id 6 address getnam anam vtblcall last_method_id getaddress anam public int set int return xpcom vtbl call super method id 7 address setnam anam vtblcall last_method_id getaddress anam public int text zoom float text zoom return xpcom vtbl call super method id 8 address text zoom gettextzoom atextzoom vtblcall last_method_id getaddress atextzoom public int set text zoom float text zoom return xpcom vtbl call super method id 9 address text zoom settextzoom atextzoom vtblcall last_method_id getaddress atextzoom public int scrollx int scrollx return xpcom vtbl call super method id 10 address scrollx getscrollx ascrollx vtblcall last_method_id getaddress ascrollx public int scrolli int scrolli return xpcom vtbl call super method id 11 address scrolli getscrolli ascrolli vtblcall last_method_id getaddress ascrolli public int scroll int scroll int scroll return xpcom vtbl call super method id 12 address scroll scroll scrollto xscroll yscroll vtblcall last_method_id getaddress xscroll yscroll public int scroll int scroll dif int scroll dif return xpcom vtbl call super method id 13 address scroll dif scroll dif scrollbi xscrolldif yscrolldif vtblcall last_method_id getaddress xscrolldif yscrolldif public int select int retval return xpcom vtbl call super method id 14 address retval getselect _retval vtblcall last_method_id getaddress _retval public int scroll line int num line return xpcom vtbl call super method id 15 address num line scrollbylin numlin vtblcall last_method_id getaddress numlin public int scroll page int num page return xpcom vtbl call super method id 16 address num page scrollbypag numpag vtblcall last_method_id getaddress numpag public int size content return xpcom vtbl call super method id 17 address sizetocont vtblcall last_method_id getaddress nsid ns iembeddingsitewindow iid string public nsi embed site window int address super address ns_iembeddingsitewindow_iid_string nsiembeddingsitewindow public static final int dim flag size outer 4 public int set dimens int flag int int int cx int cy return xpcom vtbl call super method id 1 address flag cx cy dim_flag_size_outer setdimens vtblcall last_method_id getaddress public int dimens int flag int int int cx int cy return xpcom vtbl call super method id 2 address flag cx cy getdimens vtblcall last_method_id getaddress public int set focu return xpcom vtbl call super method id 3 address setfocu vtblcall last_method_id getaddress public int visibl boolean visibl return xpcom vtbl call super method id 4 address visibl getvis avis vtblcall last_method_id getaddress avis public int set visibl boolean visibl return xpcom vtbl call super method id 5 address visibl setvis avis vtblcall last_method_id getaddress avis public int titl int titl return xpcom vtbl call super method id 6 address titl gettitl atitl vtblcall last_method_id getaddress atitl public int set titl char titl return xpcom vtbl call super method id 7 address titl settitl atitl vtblcall last_method_id getaddress atitl public int site window int site window return xpcom vtbl call super method id 8 address site window getsitewindow asitewindow vtblcall last_method_id getaddress asitewindow nsid ns ieventsink iid string public nsi event sink int address super address ns_ieventsink_iid_string nsieventsink public int dispatch event int event boolean retval return xpcom vtbl call super method id 1 address event retval dispatchev anev _retval vtblcall last_method_id getaddress anev _retval public int drag event int messag short mous globalx short mous globali short kei modifi boolean retval return xpcom vtbl call super method id 2 address messag mous globalx mous globali kei modifi retval dragev amessag amouseglobalx amouseglobali akeymodifi _retval vtblcall last_method_id getaddress amessag amouseglobalx amouseglobali akeymodifi _retval public int scroll boolean vertic short num line short mous localx short mous locali boolean retval return xpcom vtbl call super method id 3 address vertic num line mous localx mous locali retval avert anumlin amouselocalx amouselocali _retval vtblcall last_method_id getaddress avert anumlin amouselocalx amouselocali _retval public int idl return xpcom vtbl call super method id 4 address vtblcall last_method_id getaddress nsid ns ifactori iid string public nsi factori int address super address ns_ifactori_iid_string nsifactori public int creat instanc int outer nsid iid int result return xpcom vtbl call super method id 1 address outer iid result createinst aouter vtblcall last_method_id getaddress aouter public int lock factori boolean lock return xpcom vtbl call super method id 2 address lock lockfactori vtblcall last_method_id getaddress nsid ns ifil iid string public nsi file int address super address ns_ifil_iid_string nsifil public static final int directori type 1 public int append int node return xpcom vtbl call super method id 1 address node directori_type vtblcall last_method_id getaddress public int append nativ int node return xpcom vtbl call super method id 2 address node appendn vtblcall last_method_id getaddress public int normal return xpcom vtbl call super method id 3 address vtblcall last_method_id getaddress public int creat int type int permiss return xpcom vtbl call super method id 4 address type permiss vtblcall last_method_id getaddress public int leaf int leaf return xpcom vtbl call super method id 5 address leaf getleafnam aleafnam vtblcall last_method_id getaddress aleafnam public int set leaf int leaf return xpcom vtbl call super method id 6 address leaf setleafnam aleafnam vtblcall last_method_id getaddress aleafnam public int nativ leaf int nativ leaf return xpcom vtbl call super method id 7 address nativ leaf getnativeleafnam anativeleafnam vtblcall last_method_id getaddress anativeleafnam public int set nativ leaf int nativ leaf return xpcom vtbl call super method id 8 address nativ leaf setnativeleafnam anativeleafnam vtblcall last_method_id getaddress anativeleafnam public int copi int parent dir int return xpcom vtbl call super method id 9 address parent dir copyto newparentdir newnam vtblcall last_method_id getaddress newparentdir newnam public int copi nativ int parent dir int return xpcom vtbl call super method id 10 address parent dir copyton newparentdir newnam vtblcall last_method_id getaddress newparentdir newnam public int copi link int parent dir int return xpcom vtbl call super method id 11 address parent dir copytofollowinglink newparentdir newnam vtblcall last_method_id getaddress newparentdir newnam public int copi link nativ int parent dir int return xpcom vtbl call super method id 12 address parent dir copytofollowinglinksn newparentdir newnam vtblcall last_method_id getaddress newparentdir newnam public int move int parent dir int return xpcom vtbl call super method id 13 address parent dir moveto newparentdir newnam vtblcall last_method_id getaddress newparentdir newnam public int move nativ int parent dir int return xpcom vtbl call super method id 14 address parent dir moveton newparentdir newnam vtblcall last_method_id getaddress newparentdir newnam public int remov boolean recurs return xpcom vtbl call super method id 15 address recurs vtblcall last_method_id getaddress public int permiss int permiss return xpcom vtbl call super method id 16 address permiss getpermiss vtblcall last_method_id getaddress public int set permiss int permiss return xpcom vtbl call super method id 17 address permiss setpermiss vtblcall last_method_id getaddress public int permiss link int permiss link return xpcom vtbl call super method id 18 address permiss link getpermissionsoflink apermissionsoflink vtblcall last_method_id getaddress apermissionsoflink public int set permiss link int permiss link return xpcom vtbl call super method id 19 address permiss link setpermissionsoflink apermissionsoflink vtblcall last_method_id getaddress apermissionsoflink public int modifi modifi return xpcom vtbl call super method id 20 address modifi getlastmodifiedtim alastmodifiedtim vtblcall last_method_id getaddress alastmodifiedtim public int set modifi modifi return xpcom vtbl call super method id 21 address modifi setlastmodifiedtim alastmodifiedtim vtblcall last_method_id getaddress alastmodifiedtim public int modifi link modifi link return xpcom vtbl call super method id 22 address modifi link getlastmodifiedtimeoflink alastmodifiedtimeoflink vtblcall last_method_id getaddress alastmodifiedtimeoflink public int set modifi link modifi link return xpcom vtbl call super method id 23 address modifi link setlastmodifiedtimeoflink alastmodifiedtimeoflink vtblcall last_method_id getaddress alastmodifiedtimeoflink public int file size file size return xpcom vtbl call super method id 24 address file size getfiles afiles vtblcall last_method_id getaddress afiles public int set file size file size return xpcom vtbl call super method id 25 address file size setfiles afiles vtblcall last_method_id getaddress afiles public int file size link file size link return xpcom vtbl call super method id 26 address file size link getfilesizeoflink afilesizeoflink vtblcall last_method_id getaddress afilesizeoflink public int target int target return xpcom vtbl call super method id 27 address target gettarget atarget vtblcall last_method_id getaddress atarget public int nativ target int nativ target return xpcom vtbl call super method id 28 address nativ target getnativetarget anativetarget vtblcall last_method_id getaddress anativetarget public int path int path return xpcom vtbl call super method id 29 address path getpath apath vtblcall last_method_id getaddress apath public int nativ path int nativ path return xpcom vtbl call super method id 30 address nativ path getnativepath anativepath vtblcall last_method_id getaddress anativepath public int exist boolean retval return xpcom vtbl call super method id 31 address retval _retval vtblcall last_method_id getaddress _retval public int writabl boolean retval return xpcom vtbl call super method id 32 address retval iswrit _retval vtblcall last_method_id getaddress _retval public int readabl boolean retval return xpcom vtbl call super method id 33 address retval isread _retval vtblcall last_method_id getaddress _retval public int execut boolean retval return xpcom vtbl call super method id 34 address retval isexecut _retval vtblcall last_method_id getaddress _retval public int hidden boolean retval return xpcom vtbl call super method id 35 address retval ishidden _retval vtblcall last_method_id getaddress _retval public int directori boolean retval return xpcom vtbl call super method id 36 address retval isdirectori _retval vtblcall last_method_id getaddress _retval public int file boolean retval return xpcom vtbl call super method id 37 address retval isfil _retval vtblcall last_method_id getaddress _retval public int symlink boolean retval return xpcom vtbl call super method id 38 address retval issymlink _retval vtblcall last_method_id getaddress _retval public int special boolean retval return xpcom vtbl call super method id 39 address retval isspeci _retval vtblcall last_method_id getaddress _retval public int creat uniqu int type int permiss return xpcom vtbl call super method id 40 address type permiss createuniqu vtblcall last_method_id getaddress public int clone int retval return xpcom vtbl call super method id 41 address retval _retval vtblcall last_method_id getaddress _retval public int equal int file boolean retval return xpcom vtbl call super method id 42 address file retval infil _retval vtblcall last_method_id getaddress infil _retval public int int file boolean recur boolean retval return xpcom vtbl call super method id 43 address file recur retval infil _retval vtblcall last_method_id getaddress infil _retval public int parent int parent return xpcom vtbl call super method id 44 address parent getpar apar vtblcall last_method_id getaddress apar public int directori entri int directori entri return xpcom vtbl call super method id 45 address directori entri getdirectoryentri directoryentri vtblcall last_method_id getaddress directoryentri contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv end licens block packag org eclips swt intern mozilla public class nsi input stream extend nsi support nsiinputstream nsisupport contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv end licens block nsid ns iinterfacerequestor iid string public nsi interfac requestor int address super address ns_iinterfacerequestor_iid_string nsiinterfacerequestor public int interfac nsid uuid int result return xpcom vtbl call super method id 1 address uuid result getinterfac vtblcall last_method_id getaddress contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv end licens block packag org eclips swt intern mozilla public class nsiio servic extend nsi support nsiioservic nsisupport static final int method id nsi support method id 10 last_method_id nsisupport last_method_id public static final string ns iioservic iid string bddeda3f 9020 4d12 8c70 984ee9f7935e ns_iioservic_iid_string public static final nsid ns iioservic iid ns_iioservic_iid nsid ns iioservic iid string ns_iioservic_iid_string public nsiio servic int address super address nsiioservic contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv end licens block packag org eclips swt intern mozilla public class nsi load group extend nsi request nsiloadgroup nsirequest static final int method id nsi request method id 10 last_method_id nsirequest last_method_id public static final string ns iloadgroup iid string 3de0a31c feaf 400f 9f1e 4ef71f8b20cc ns_iloadgroup_iid_string public static final nsid ns iloadgroup iid ns_iloadgroup_iid nsid ns iloadgroup iid string ns_iloadgroup_iid_string public nsi load group int address super address nsiloadgroup nsid ns ilocalfil iid string public nsi local file int address super address ns_ilocalfil_iid_string nsilocalfil public int init path int file path return xpcom vtbl call super method id 1 address file path initwithpath filepath vtblcall last_method_id getaddress filepath public int init nativ path int file path return xpcom vtbl call super method id 2 address file path initwithnativepath filepath vtblcall last_method_id getaddress filepath public int init file int file return xpcom vtbl call super method id 3 address file initwithfil afil vtblcall last_method_id getaddress afil public int follow link boolean follow link return xpcom vtbl call super method id 4 address follow link getfollowlink followlink vtblcall last_method_id getaddress followlink public int set follow link boolean follow link return xpcom vtbl call super method id 5 address follow link setfollowlink followlink vtblcall last_method_id getaddress followlink public int opennspr file desc int flag int mode int retval return xpcom vtbl call super method id 6 address flag mode retval opennsprfiledesc _retval vtblcall last_method_id getaddress _retval public int openansi file desc byte mode int retval return xpcom vtbl call super method id 7 address mode retval openansifiledesc _retval vtblcall last_method_id getaddress _retval public int load int retval return xpcom vtbl call super method id 8 address retval _retval vtblcall last_method_id getaddress _retval public int disk space disk space return xpcom vtbl call super method id 9 address disk space getdiskspaceavail adiskspaceavail vtblcall last_method_id getaddress adiskspaceavail public int append rel path int rel file path return xpcom vtbl call super method id 10 address rel file path appendrelativepath relativefilepath vtblcall last_method_id getaddress relativefilepath public int append rel nativ path int rel file path return xpcom vtbl call super method id 11 address rel file path appendrelativenativepath relativefilepath vtblcall last_method_id getaddress relativefilepath public int persist descriptor int persist descriptor return xpcom vtbl call super method id 12 address persist descriptor getpersistentdescriptor apersistentdescriptor vtblcall last_method_id getaddress apersistentdescriptor public int set persist descriptor int persist descriptor return xpcom vtbl call super method id 13 address persist descriptor setpersistentdescriptor apersistentdescriptor vtblcall last_method_id getaddress apersistentdescriptor public int reveal return xpcom vtbl call super method id 14 address vtblcall last_method_id getaddress public int launch return xpcom vtbl call super method id 15 address vtblcall last_method_id getaddress public int rel descriptor int file int retval return xpcom vtbl call super method id 16 address file retval getrelativedescriptor fromfil _retval vtblcall last_method_id getaddress fromfil _retval public int set rel descriptor int file int rel desc return xpcom vtbl call super method id 17 address file rel desc setrelativedescriptor fromfil relativedesc vtblcall last_method_id getaddress fromfil relativedesc nsid ns imemori iid string public nsi memori int address super address ns_imemori_iid_string nsimemori public int alloc int size return xpcom vtbl call super method id 1 address size vtblcall last_method_id getaddress public int realloc int ptr int size return xpcom vtbl call super method id 2 address ptr size newsiz vtblcall last_method_id getaddress newsiz public void free int ptr xpcom vtbl call ret super method id 3 address ptr vtblcallnoret last_method_id getaddress public int heap minim boolean return xpcom vtbl call super method id 4 address heapminim vtblcall last_method_id getaddress public int low memori boolean retval return xpcom vtbl call super method id 5 address retval islowmemori _retval vtblcall last_method_id getaddress _retval nsid ns iobserv iid string public nsi observ int address super address ns_iobserv_iid_string nsiobserv public int observ int subject byte topic char data return xpcom vtbl call super method id 1 address subject topic data asubject atop adata vtblcall last_method_id getaddress asubject atop adata nsid ns iobserverservic iid string public nsi observ servic int address super address ns_iobserverservic_iid_string nsiobserverservic public int add observ int observ byte topic boolean own weak return xpcom vtbl call super method id 1 address observ topic own weak addobserv anobserv atop ownsweak vtblcall last_method_id getaddress anobserv atop ownsweak public int remov observ int observ byte topic return xpcom vtbl call super method id 2 address observ topic removeobserv anobserv atop vtblcall last_method_id getaddress anobserv atop public int notifi observ int subject byte topic char data return xpcom vtbl call super method id 3 address subject topic data notifyobserv asubject atop somedata vtblcall last_method_id getaddress asubject atop somedata public int enumer observ byte topic int retval return xpcom vtbl call super method id 4 address topic retval enumerateobserv atop _retval vtblcall last_method_id getaddress atop _retval nsid ns ipref iid string public nsi pref int address super address ns_ipref_iid_string nsipref public int read user pref int file return xpcom vtbl call super method id 1 address file readuserpref afil vtblcall last_method_id getaddress afil public int reset pref return xpcom vtbl call super method id 2 address resetpref vtblcall last_method_id getaddress public int reset user pref return xpcom vtbl call super method id 3 address resetuserpref vtblcall last_method_id getaddress public int save pref file int file return xpcom vtbl call super method id 4 address file savepreffil afil vtblcall last_method_id getaddress afil public int branch byte pref root int retval return xpcom vtbl call super method id 5 address pref root retval getbranch aprefroot _retval vtblcall last_method_id getaddress aprefroot _retval public int default branch byte pref root int retval return xpcom vtbl call super method id 6 address pref root retval getdefaultbranch aprefroot _retval vtblcall last_method_id getaddress aprefroot _retval public static final int pref valuetyp mask 224 public int root int root return xpcom vtbl call super method id 7 address root eprefvaluetypemask getroot aroot vtblcall last_method_id getaddress aroot public int pref type byte pref int retval return xpcom vtbl call super method id 8 address pref retval getpreftyp aprefnam _retval vtblcall last_method_id getaddress aprefnam _retval public int bool pref byte pref boolean retval return xpcom vtbl call super method id 9 address pref retval getboolpref aprefnam _retval vtblcall last_method_id getaddress aprefnam _retval public int set bool pref byte pref int return xpcom vtbl call super method id 10 address pref setboolpref aprefnam avalu vtblcall last_method_id getaddress aprefnam avalu public int char pref byte pref int retval return xpcom vtbl call super method id 11 address pref retval getcharpref aprefnam _retval vtblcall last_method_id getaddress aprefnam _retval public int set char pref byte pref byte return xpcom vtbl call super method id 12 address pref setcharpref aprefnam avalu vtblcall last_method_id getaddress aprefnam avalu public int int pref byte pref int retval return xpcom vtbl call super method id 13 address pref retval getintpref aprefnam _retval vtblcall last_method_id getaddress aprefnam _retval public int set int pref byte pref int return xpcom vtbl call super method id 14 address pref setintpref aprefnam avalu vtblcall last_method_id getaddress aprefnam avalu public int complex byte pref nsid type int return xpcom vtbl call super method id 15 address pref type getcomplexvalu aprefnam atyp avalu vtblcall last_method_id getaddress aprefnam atyp avalu public int set complex byte pref nsid type int return xpcom vtbl call super method id 16 address pref type setcomplexvalu aprefnam atyp avalu vtblcall last_method_id getaddress aprefnam atyp avalu public int clear user pref byte pref return xpcom vtbl call super method id 17 address pref clearuserpref aprefnam vtblcall last_method_id getaddress aprefnam public int pref lock byte pref boolean retval return xpcom vtbl call super method id 18 address pref retval prefislock aprefnam _retval vtblcall last_method_id getaddress aprefnam _retval public int lock pref byte pref return xpcom vtbl call super method id 19 address pref lockpref aprefnam vtblcall last_method_id getaddress aprefnam public int unlock pref byte pref return xpcom vtbl call super method id 20 address pref unlockpref aprefnam vtblcall last_method_id getaddress aprefnam public int reset branch byte start return xpcom vtbl call super method id 21 address start resetbranch astartingat vtblcall last_method_id getaddress astartingat public int delet branch byte start return xpcom vtbl call super method id 22 address start deletebranch astartingat vtblcall last_method_id getaddress astartingat public int child list byte start int count int child arrai return xpcom ns error implement getchildlist astartingat acount achildarrai ns_error_not_implement public int add observ byte domain int observ boolean hold weak return xpcom vtbl call super method id 24 address domain observ hold weak addobserv adomain aobserv aholdweak vtblcall last_method_id getaddress adomain aobserv aholdweak public int remov observ byte domain int observ return xpcom vtbl call super method id 25 address domain observ removeobserv adomain aobserv vtblcall last_method_id getaddress adomain aobserv public int copi char pref byte pref int retval return xpcom vtbl call super method id 26 address pref retval copycharpref _retval vtblcall last_method_id getaddress _retval public int copi default char pref byte pref int retval return xpcom vtbl call super method id 27 address pref retval copydefaultcharpref _retval vtblcall last_method_id getaddress _retval public int default bool pref byte pref boolean retval return xpcom vtbl call super method id 28 address pref retval getdefaultboolpref _retval vtblcall last_method_id getaddress _retval public int default int pref byte pref int retval return xpcom vtbl call super method id 29 address pref retval getdefaultintpref _retval vtblcall last_method_id getaddress _retval public int set default bool pref byte pref boolean return xpcom vtbl call super method id 30 address pref setdefaultboolpref vtblcall last_method_id getaddress public int set default char pref byte pref byte return xpcom vtbl call super method id 31 address pref setdefaultcharpref vtblcall last_method_id getaddress public int set default int pref byte pref int return xpcom vtbl call super method id 32 address pref setdefaultintpref vtblcall last_method_id getaddress public int copi unichar pref byte pref int retval return xpcom vtbl call super method id 33 address pref retval copyunicharpref _retval vtblcall last_method_id getaddress _retval public int copi default unichar pref byte pref int retval return xpcom vtbl call super method id 34 address pref retval copydefaultunicharpref _retval vtblcall last_method_id getaddress _retval public int set unichar pref byte pref char return xpcom vtbl call super method id 35 address pref setunicharpref vtblcall last_method_id getaddress public int set default unichar pref byte pref char return xpcom vtbl call super method id 36 address pref setdefaultunicharpref vtblcall last_method_id getaddress public int local unichar pref byte pref int retval return xpcom vtbl call super method id 37 address pref retval getlocalizedunicharpref _retval vtblcall last_method_id getaddress _retval public int default local unichar pref byte pref int retval return xpcom vtbl call super method id 38 address pref retval getdefaultlocalizedunicharpref _retval vtblcall last_method_id getaddress _retval public int file pref byte pref int retval return xpcom vtbl call super method id 39 address pref retval getfilepref _retval vtblcall last_method_id getaddress _retval public int set file pref byte pref int boolean set default return xpcom vtbl call super method id 40 address pref set default setfilepref setdefault vtblcall last_method_id getaddress setdefault public int filex pref byte pref int retval return xpcom vtbl call super method id 41 address pref retval getfilexpref _retval vtblcall last_method_id getaddress _retval public int set filex pref byte pref int return xpcom vtbl call super method id 42 address pref setfilexpref vtblcall last_method_id getaddress public int regist callback byte domain int callback int closur return xpcom vtbl call super method id 43 address domain callback closur registercallback vtblcall last_method_id getaddress public int unregist callback byte domain int callback int closur return xpcom vtbl call super method id 44 address domain callback closur unregistercallback vtblcall last_method_id getaddress public int enumer children byte parent int callback int data return xpcom vtbl call super method id 45 address parent callback data enumeratechildren vtblcall last_method_id getaddress nsid ns iprofil iid string public nsi profil int address super address ns_iprofil_iid_string nsiprofil public int profil count int profil count return xpcom vtbl call super method id 1 address profil count getprofilecount aprofilecount vtblcall last_method_id getaddress aprofilecount public int profil list int length int profil name return xpcom vtbl call super method id 2 address length profil name getprofilelist profilenam vtblcall last_method_id getaddress profilenam public int profil exist char profil boolean retval return xpcom vtbl call super method id 3 address profil retval profileexist profilenam _retval vtblcall last_method_id getaddress profilenam _retval public int current profil int current profil return xpcom vtbl call super method id 4 address current profil getcurrentprofil acurrentprofil vtblcall last_method_id getaddress acurrentprofil public int set current profil char current profil return xpcom vtbl call super method id 5 address current profil setcurrentprofil acurrentprofil vtblcall last_method_id getaddress acurrentprofil public static final int shutdown cleans 2 public int shut current profil int shut type return xpcom vtbl call super method id 6 address shut type shutdown_cleans shutdowncurrentprofil shutdowntyp vtblcall last_method_id getaddress shutdowntyp public int creat profil char profil char nativ profil dir char langcod boolean exist dir return xpcom vtbl call super method id 7 address profil nativ profil dir langcod exist dir createnewprofil profilenam nativeprofiledir useexistingdir vtblcall last_method_id getaddress profilenam nativeprofiledir useexistingdir public int renam profil char char return xpcom vtbl call super method id 8 address renameprofil oldnam newnam vtblcall last_method_id getaddress oldnam newnam public int delet profil char boolean delet file return xpcom vtbl call super method id 9 address delet file deleteprofil candeletefil vtblcall last_method_id getaddress candeletefil public int clone profil char profil return xpcom vtbl call super method id 10 address profil cloneprofil profilenam vtblcall last_method_id getaddress profilenam nsid ns iprofilechangestatu iid string public nsi profil chang statu int address super address ns_iprofilechangestatu_iid_string nsiprofilechangestatu public int veto chang return xpcom vtbl call super method id 1 address vetochang vtblcall last_method_id getaddress public int chang fail return xpcom vtbl call super method id 2 address changefail vtblcall last_method_id getaddress nsid ns ipromptservic iid string public nsi prompt servic int address super address ns_ipromptservic_iid_string nsipromptservic public int alert int parent char dialog titl char text return xpcom vtbl call super method id 1 address parent dialog titl text dialogtitl vtblcall last_method_id getaddress dialogtitl public int alert check int parent char dialog titl char text char check msg boolean check return xpcom ns error implement alertcheck dialogtitl checkmsg checkvalu ns_error_not_implement public int confirm int parent char dialog titl char text boolean retval return xpcom ns error implement dialogtitl _retval ns_error_not_implement public int confirm check int parent char dialog titl char text char check msg boolean check boolean retval return xpcom ns error implement confirmcheck dialogtitl checkmsg checkvalu _retval ns_error_not_implement public static final int std ok cancel button 513 public int confirm int parent char dialog titl char text int button flag char button0 titl char button1 titl char button2 titl char check msg boolean check int retval return xpcom ns error implement std_ok_cancel_button confirmex dialogtitl buttonflag button0titl button1titl button2titl checkmsg checkvalu _retval ns_error_not_implement public int prompt int parent char dialog titl char text int char check msg boolean check boolean retval return xpcom ns error implement dialogtitl checkmsg checkvalu _retval ns_error_not_implement public int prompt usernam password int parent char dialog titl char text int usernam int password char check msg boolean check boolean retval return xpcom ns error implement promptusernameandpassword dialogtitl checkmsg checkvalu _retval ns_error_not_implement public int prompt password int parent char dialog titl char text int password char check msg boolean check boolean retval return xpcom ns error implement promptpassword dialogtitl checkmsg checkvalu _retval ns_error_not_implement public int select int parent char dialog titl char text int count char select list int select boolean retval return xpcom ns error implement dialogtitl selectlist outselect _retval ns_error_not_implement nsid ns iproperti iid string public nsi properti int address super address ns_iproperti_iid_string nsiproperti public int byte prop nsid iid int result return xpcom vtbl call super method id 1 address prop iid result vtblcall last_method_id getaddress public int set byte prop int return xpcom vtbl call super method id 2 address prop vtblcall last_method_id getaddress public int byte prop boolean retval return xpcom vtbl call super method id 3 address prop retval _retval vtblcall last_method_id getaddress _retval public int undefin byte prop return xpcom vtbl call super method id 4 address prop vtblcall last_method_id getaddress public int kei int count int kei return xpcom vtbl call super method id 5 address count kei getkei vtblcall last_method_id getaddress contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv end licens block packag org eclips swt intern mozilla public class nsi request extend nsi support nsirequest nsisupport static final int method id nsi support method id 10 last_method_id nsisupport last_method_id public static final string ns irequest iid string ef6bfbd2 fd46 48d8 96b7 9f8f0fd387fe ns_irequest_iid_string public static final nsid ns irequest iid ns_irequest_iid nsid ns irequest iid string ns_irequest_iid_string public nsi request int address super address nsirequest contributor ibm bind permit interfac mozilla swt copyright 2003 ibm corp right reserv nsid ns iservicemanag iid string public nsi servic manag int address super address ns_iservicemanag_iid_string nsiservicemanag public int servic nsid class nsid aiid int result return xpcom vtbl call super method id 1 address class aiid result getservic aclass vtblcall last_method_id getaddress aclass public int servic contractid byte contractid nsid aiid int result return xpcom vtbl call super method id 2 address contractid aiid result getservicebycontractid acontractid vtblcall last_method_id getaddress acontractid public int servic instanti nsid class nsid aiid boolean retval return xpcom vtbl call super method id 3 address class aiid retval isserviceinstanti aclass _retval vtblcall last_method_id getaddress aclass _retval public int servic instanti contractid byte contractid nsid aiid boolean retval return xpcom vtbl call super method id 4 address contractid aiid retval isserviceinstantiatedbycontractid acontractid _retval vtblcall last_method_id getaddress acontractid _retval contributor ibm privat int address public nsi support int address address address nsisupport public int address return address getaddress public int queri interfac nsid uuid int result return xpcom vtbl call 0 address uuid result queryinterfac vtblcall getaddress public int add ref return xpcom vtbl call 1 address addref vtblcall getaddress public int releas return xpcom vtbl call 2 address vtblcall getaddress nsid ns isupportsweakrefer iid string public nsi support weak refer int address super address ns_isupportsweakrefer_iid_string nsisupportsweakrefer public int weak refer int ret val return xpcom vtbl call super method id 1 address ret val getweakrefer retval vtblcall last_method_id getaddress retval nsid ns itooltiplisten iid string public nsi tooltip listen int address super address ns_itooltiplisten_iid_string nsitooltiplisten public int show tooltip int ax coord int ay coord int tip text return xpcom vtbl call super method id 1 address ax coord ay coord tip text onshowtooltip axcoord aycoord atiptext vtblcall last_method_id getaddress axcoord aycoord atiptext public int hide tooltip return xpcom vtbl call super method id 2 address onhidetooltip vtblcall last_method_id getaddress nsid ns iuri iid string public nsiuri int address super address ns_iuri_iid_string public int spec int spec return xpcom vtbl call super method id 1 address spec getspec aspec vtblcall last_method_id getaddress aspec public int set spec int spec return xpcom vtbl call super method id 2 address spec setspec aspec vtblcall last_method_id getaddress aspec public int pre path int pre path return xpcom vtbl call super method id 3 address pre path getprepath aprepath vtblcall last_method_id getaddress aprepath public int scheme int scheme return xpcom vtbl call super method id 4 address scheme getschem aschem vtblcall last_method_id getaddress aschem public int set scheme int scheme return xpcom vtbl call super method id 5 address scheme setschem aschem vtblcall last_method_id getaddress aschem public int user pass int user pass return xpcom vtbl call super method id 6 address user pass getuserpass userpass vtblcall last_method_id getaddress userpass public int set user pass int user pass return xpcom vtbl call super method id 7 address user pass setuserpass userpass vtblcall last_method_id getaddress userpass public int usernam int usernam return xpcom vtbl call super method id 8 address usernam getusernam ausernam vtblcall last_method_id getaddress ausernam public int set usernam int usernam return xpcom vtbl call super method id 9 address usernam setusernam ausernam vtblcall last_method_id getaddress ausernam public int password int password return xpcom vtbl call super method id 10 address password getpassword apassword vtblcall last_method_id getaddress apassword public int set password int password return xpcom vtbl call super method id 11 address password setpassword apassword vtblcall last_method_id getaddress apassword public int host port int host port return xpcom vtbl call super method id 12 address host port gethostport ahostport vtblcall last_method_id getaddress ahostport public int set host port int host port return xpcom vtbl call super method id 13 address host port sethostport ahostport vtblcall last_method_id getaddress ahostport public int host int host return xpcom vtbl call super method id 14 address host gethost ahost vtblcall last_method_id getaddress ahost public int set host int host return xpcom vtbl call super method id 15 address host sethost ahost vtblcall last_method_id getaddress ahost public int port int port return xpcom vtbl call super method id 16 address port getport aport vtblcall last_method_id getaddress aport public int set port int port return xpcom vtbl call super method id 17 address port setport aport vtblcall last_method_id getaddress aport public int path int path return xpcom vtbl call super method id 18 address path getpath apath vtblcall last_method_id getaddress apath public int set path int path return xpcom vtbl call super method id 19 address path setpath apath vtblcall last_method_id getaddress apath public int equal int boolean retval return xpcom vtbl call super method id 20 address retval _retval vtblcall last_method_id getaddress _retval public int scheme byte scheme boolean retval return xpcom vtbl call super method id 21 address scheme retval schemei _retval vtblcall last_method_id getaddress _retval public int clone int retval return xpcom vtbl call super method id 22 address retval _retval vtblcall last_method_id getaddress _retval public int resolv int rel path int retval return xpcom vtbl call super method id 23 address rel path retval relativepath _retval vtblcall last_method_id getaddress relativepath _retval public int ascii spec int ascii spec return xpcom vtbl call super method id 24 address ascii spec getasciispec aasciispec vtblcall last_method_id getaddress aasciispec public int ascii host int ascii host return xpcom vtbl call super method id 25 address ascii host getasciihost aasciihost vtblcall last_method_id getaddress aasciihost public int origin charset int origin charset return xpcom vtbl call super method id 26 address origin charset getorigincharset aorigincharset vtblcall last_method_id getaddress aorigincharset nsid ns iuricontentlisten iid string public nsiuri content listen int address super address ns_iuricontentlisten_iid_string nsiuricontentlisten public int starturi open int auri boolean retval return xpcom vtbl call super method id 1 address auri retval onstarturiopen _retval vtblcall last_method_id getaddress _retval public int content byte content type boolean content prefer int request int content handler boolean retval return xpcom ns error implement docont acontenttyp aiscontentpref arequest acontenthandl _retval ns_error_not_implement public int prefer byte content type int desir content type boolean retval return xpcom ns error implement ispref acontenttyp adesiredcontenttyp _retval ns_error_not_implement public int handl content byte content type boolean content prefer int desir content type boolean retval return xpcom ns error implement canhandlecont acontenttyp aiscontentpref adesiredcontenttyp _retval ns_error_not_implement public int load cooki int load cooki return xpcom vtbl call super method id 5 address load cooki getloadcooki aloadcooki vtblcall last_method_id getaddress aloadcooki public int set load cooki int load cooki return xpcom vtbl call super method id 6 address load cooki setloadcooki aloadcooki vtblcall last_method_id getaddress aloadcooki public int parent content listen int parent content listen return xpcom vtbl call super method id 7 address parent content listen getparentcontentlisten aparentcontentlisten vtblcall last_method_id getaddress aparentcontentlisten public int set parent content listen int parent content listen return xpcom vtbl call super method id 8 address parent content listen setparentcontentlisten aparentcontentlisten vtblcall last_method_id getaddress aparentcontentlisten nsid ns iweakrefer iid string public nsi weak refer int address super address ns_iweakrefer_iid_string nsiweakrefer public int queri refer nsid uuid int result return xpcom vtbl call super method id 1 address uuid result queryrefer vtblcall last_method_id getaddress nsid ns iwebbrows iid string public nsi web browser int address super address ns_iwebbrows_iid_string nsiwebbrows public int add web browser listen int listen nsid aiid return xpcom vtbl call super method id 1 address listen aiid addwebbrowserlisten alisten vtblcall last_method_id getaddress alisten public int remov web browser listen int listen nsid aiid return xpcom vtbl call super method id 2 address listen aiid removewebbrowserlisten alisten vtblcall last_method_id getaddress alisten public int contain window int contain window return xpcom vtbl call super method id 3 address contain window getcontainerwindow acontainerwindow vtblcall last_method_id getaddress acontainerwindow public int set contain window int contain window return xpcom vtbl call super method id 4 address contain window setcontainerwindow acontainerwindow vtblcall last_method_id getaddress acontainerwindow public int parenturi content listen int parenturi content listen return xpcom vtbl call super method id 5 address parenturi content listen getparenturicontentlisten aparenturicontentlisten vtblcall last_method_id getaddress aparenturicontentlisten public int set parenturi content listen int parenturi content listen return xpcom vtbl call super method id 6 address parenturi content listen setparenturicontentlisten aparenturicontentlisten vtblcall last_method_id getaddress aparenturicontentlisten public int contentdom window int contentdom window return xpcom vtbl call super method id 7 address contentdom window getcontentdomwindow acontentdomwindow vtblcall last_method_id getaddress acontentdomwindow nsid ns iwebbrowserchrom iid string public nsi web browser chrome int address super address ns_iwebbrowserchrom_iid_string nsiwebbrowserchrom public static final int statu link 3 public int set statu int statu type char statu return xpcom vtbl call super method id 1 address statu type statu statu_link setstatu statustyp vtblcall last_method_id getaddress statustyp public int web browser int web browser return xpcom vtbl call super method id 2 address web browser getwebbrows awebbrows vtblcall last_method_id getaddress awebbrows public int set web browser int web browser return xpcom vtbl call super method id 3 address web browser setwebbrows awebbrows vtblcall last_method_id getaddress awebbrows public static final int chrome 4094 public int chrome flag int chrome flag return xpcom vtbl call super method id 4 address chrome flag chrome_all getchromeflag chromeflag vtblcall last_method_id getaddress chromeflag public int set chrome flag int chrome flag return xpcom vtbl call super method id 5 address chrome flag setchromeflag chromeflag vtblcall last_method_id getaddress chromeflag public int destroi browser window return xpcom vtbl call super method id 6 address destroybrowserwindow vtblcall last_method_id getaddress public int size browser int acx int aci return xpcom vtbl call super method id 7 address acx aci sizebrowserto vtblcall last_method_id getaddress public int show modal return xpcom vtbl call super method id 8 address showasmod vtblcall last_method_id getaddress public int window modal boolean retval return xpcom vtbl call super method id 9 address retval iswindowmod _retval vtblcall last_method_id getaddress _retval public int exit modal event loop int statu return xpcom vtbl call super method id 10 address statu exitmodaleventloop astatu vtblcall last_method_id getaddress astatu nsid ns iwebbrowserchromefocu iid string public nsi web browser chrome focu int address super address ns_iwebbrowserchromefocu_iid_string nsiwebbrowserchromefocu public int focu element return xpcom vtbl call super method id 1 address focusnextel vtblcall last_method_id getaddress public int focu prev element return xpcom vtbl call super method id 2 address focusprevel vtblcall last_method_id getaddress nsid ns iwebbrowserfocu iid string public nsi web browser focu int address super address ns_iwebbrowserfocu_iid_string nsiwebbrowserfocu public int activ return xpcom vtbl call super method id 1 address vtblcall last_method_id getaddress public int deactiv return xpcom vtbl call super method id 2 address vtblcall last_method_id getaddress public int set focu element return xpcom vtbl call super method id 3 address setfocusatfirstel vtblcall last_method_id getaddress public int set focu element return xpcom vtbl call super method id 4 address setfocusatlastel vtblcall last_method_id getaddress public int focus window int focus window return xpcom vtbl call super method id 5 address focus window getfocusedwindow afocusedwindow vtblcall last_method_id getaddress afocusedwindow public int set focus window int focus window return xpcom vtbl call super method id 6 address focus window setfocusedwindow afocusedwindow vtblcall last_method_id getaddress afocusedwindow public int focus element int focus element return xpcom vtbl call super method id 7 address focus element getfocusedel afocusedel vtblcall last_method_id getaddress afocusedel public int set focus element int focus element return xpcom vtbl call super method id 8 address focus element setfocusedel afocusedel vtblcall last_method_id getaddress afocusedel nsid ns iwebnavig iid string public nsi web navig int address super address ns_iwebnavig_iid_string nsiwebnavig public int boolean return xpcom vtbl call super method id 1 address getcangoback acangoback vtblcall last_method_id getaddress acangoback public int forward boolean forward return xpcom vtbl call super method id 2 address forward getcangoforward acangoforward vtblcall last_method_id getaddress acangoforward public int return xpcom vtbl call super method id 3 address goback vtblcall last_method_id getaddress public int forward return xpcom vtbl call super method id 4 address goforward vtblcall last_method_id getaddress public int goto index int index return xpcom vtbl call super method id 5 address index gotoindex vtblcall last_method_id getaddress public static final int load flag charset chang 1024 public int loaduri char uri int load flag int referr int post data int header return xpcom vtbl call super method id 6 address uri load flag referr post data header load_flag_charset_chang loadflag postdata vtblcall last_method_id getaddress loadflag postdata public int reload int reload flag return xpcom vtbl call super method id 7 address reload flag reloadflag vtblcall last_method_id getaddress reloadflag public static final int stop 3 public int stop int stop flag return xpcom vtbl call super method id 8 address stop flag stop_all stopflag vtblcall last_method_id getaddress stopflag public int document int document return xpcom vtbl call super method id 9 address document getdocu adocu vtblcall last_method_id getaddress adocu public int currenturi int currenturi return xpcom vtbl call super method id 10 address currenturi getcurrenturi acurrenturi vtblcall last_method_id getaddress acurrenturi public int referringuri int referringuri return xpcom vtbl call super method id 11 address referringuri getreferringuri areferringuri vtblcall last_method_id getaddress areferringuri public int session histori int session histori return xpcom vtbl call super method id 12 address session histori getsessionhistori asessionhistori vtblcall last_method_id getaddress asessionhistori public int set session histori int session histori return xpcom vtbl call super method id 13 address session histori setsessionhistori asessionhistori vtblcall last_method_id getaddress asessionhistori nsid ns iwebprogress iid string public nsi web progress int address super address ns_iwebprogress_iid_string nsiwebprogress public static final int notifi 255 public int add progress listen int listen int notifi mask return xpcom vtbl call super method id 1 address listen notifi mask notifi_all addprogresslisten anotifymask vtblcall last_method_id getaddress anotifymask public int remov progress listen int listen return xpcom vtbl call super method id 2 address listen removeprogresslisten vtblcall last_method_id getaddress public int getdom window int adom window return xpcom vtbl call super method id 3 address adom window getdomwindow adomwindow vtblcall last_method_id getaddress adomwindow public int load document boolean load document return xpcom vtbl call super method id 4 address load document getisloadingdocu aisloadingdocu vtblcall last_method_id getaddress aisloadingdocu nsid ns iwebprogresslisten iid string public nsi web progress listen int address super address ns_iwebprogresslisten_iid_string nsiwebprogresslisten public static final int secur low 131072 public int chang int web progress int request int flag int statu return xpcom vtbl call super method id 1 address web progress request flag statu state_secur_low onstatechang awebprogress arequest astateflag astatu vtblcall last_method_id getaddress awebprogress arequest astateflag astatu public int progress chang int web progress int request int cur progress int max progress int cur total progress int max total progress return xpcom vtbl call super method id 2 address web progress request cur progress max progress cur total progress max total progress onprogresschang awebprogress arequest acurselfprogress amaxselfprogress acurtotalprogress amaxtotalprogress vtblcall last_method_id getaddress awebprogress arequest acurselfprogress amaxselfprogress acurtotalprogress amaxtotalprogress public int locat chang int web progress int request int locat return xpcom vtbl call super method id 3 address web progress request locat onlocationchang awebprogress arequest vtblcall last_method_id getaddress awebprogress arequest public int statu chang int web progress int request int statu char messag return xpcom vtbl call super method id 4 address web progress request statu messag onstatuschang awebprogress arequest astatu amessag vtblcall last_method_id getaddress awebprogress arequest astatu amessag public int secur chang int web progress int request int return xpcom vtbl call super method id 5 address web progress request onsecuritychang awebprogress arequest vtblcall last_method_id getaddress awebprogress arequest static final int method id nsi support method id 83 public nsi widget int address super address last_method_id nsisupport last_method_id nsiwidget public int creat nsi widget parent int rect int handl event function int context int app shell int toolkit int init data int parent address parent null parent address 0 return xpcom vtbl call super method id 1 address parent address rect handl event function context app shell toolkit init data nsiwidget apar arect ahandleeventfunct acontext aappshel atoolkit ainitdata aparentaddress apar apar getaddress vtblcall last_method_id getaddress aparentaddress arect ahandleeventfunct acontext aappshel atoolkit ainitdata public int creat int parent int rect int handl event function int context int app shell int toolkit int init data return xpcom vtbl call super method id 2 address parent rect handl event function context app shell toolkit init data apar arect ahandleeventfunct acontext aappshel atoolkit ainitdata vtblcall last_method_id getaddress apar arect ahandleeventfunct acontext aappshel atoolkit ainitdata public int client data int client data return xpcom vtbl call super method id 3 address client data getclientdata aclientdata vtblcall last_method_id getaddress aclientdata public int set client data int client data return xpcom vtbl call super method id 4 address client data setclientdata aclientdata vtblcall last_method_id getaddress aclientdata public int destroi return xpcom vtbl call super method id 5 address vtblcall last_method_id getaddress public int set parent int parent return xpcom vtbl call super method id 6 address parent setpar anewpar vtblcall last_method_id getaddress anewpar public int parent return xpcom vtbl call super method id 7 address getpar vtblcall last_method_id getaddress public int children return xpcom vtbl call super method id 8 address getchildren vtblcall last_method_id getaddress public int show boolean return xpcom vtbl call super method id 9 address astat vtblcall last_method_id getaddress astat public int set modal boolean modal return xpcom vtbl call super method id 10 address modal setmod amod vtblcall last_method_id getaddress amod public int visibl boolean return xpcom vtbl call super method id 11 address isvis astat vtblcall last_method_id getaddress astat public int constrain posit boolean allow slop int ax int ay return xpcom vtbl call super method id 12 address allow slop ax ay constrainposit aallowslop vtblcall last_method_id getaddress aallowslop public int move int ax int ay return xpcom vtbl call super method id 13 address ax ay vtblcall last_method_id getaddress public int resiz int width int height boolean repaint return xpcom vtbl call super method id 14 address width height repaint awidth aheight arepaint vtblcall last_method_id getaddress awidth aheight arepaint public int resiz int ax int ay int width int height boolean repaint return xpcom vtbl call super method id 15 address ax ay width height repaint awidth aheight arepaint vtblcall last_method_id getaddress awidth aheight arepaint public int setz index int az index return xpcom vtbl call super method id 16 address az index setzindex azindex vtblcall last_method_id getaddress azindex public int getz index int zindex return xpcom vtbl call super method id 17 address zindex getzindex azindex vtblcall last_method_id getaddress azindex public int place int widget boolean activ return xpcom vtbl call super method id 18 address widget activ placebehind awidget aactiv vtblcall last_method_id getaddress awidget aactiv public int set size mode int mode return xpcom vtbl call super method id 19 address mode setsizemod amod vtblcall last_method_id getaddress amod public int size mode int mode return xpcom vtbl call super method id 20 address mode getsizemod amod vtblcall last_method_id getaddress amod public int enabl boolean return xpcom vtbl call super method id 21 address astat vtblcall last_method_id getaddress astat public int enabl boolean return xpcom vtbl call super method id 22 address isen astat vtblcall last_method_id getaddress astat public int set focu boolean rais return xpcom vtbl call super method id 23 address rais setfocu arais vtblcall last_method_id getaddress arais public int bound int rect return xpcom vtbl call super method id 24 address rect getbound arect vtblcall last_method_id getaddress arect public int screen bound int rect return xpcom vtbl call super method id 25 address rect getscreenbound arect vtblcall last_method_id getaddress arect public int client bound int rect return xpcom vtbl call super method id 26 address rect getclientbound arect vtblcall last_method_id getaddress arect public int border size int width int height return xpcom vtbl call super method id 27 address width height getborders awidth aheight vtblcall last_method_id getaddress awidth aheight public int foreground color return xpcom vtbl call super method id 28 address getforegroundcolor vtblcall last_method_id getaddress public int set foreground color int color return xpcom vtbl call super method id 29 address color setforegroundcolor acolor vtblcall last_method_id getaddress acolor public int background color return xpcom vtbl call super method id 30 address getbackgroundcolor vtblcall last_method_id getaddress public int set background color int color return xpcom vtbl call super method id 31 address color setbackgroundcolor acolor vtblcall last_method_id getaddress acolor public int font return xpcom vtbl call super method id 32 address getfont vtblcall last_method_id getaddress public int set font int font return xpcom vtbl call super method id 33 address font setfont afont vtblcall last_method_id getaddress afont public int cursor return xpcom vtbl call super method id 34 address getcursor vtblcall last_method_id getaddress public int set cursor int cursor return xpcom vtbl call super method id 35 address cursor setcursor acursor vtblcall last_method_id getaddress acursor public int window type int window type return xpcom vtbl call super method id 36 address window type getwindowtyp awindowtyp vtblcall last_method_id getaddress awindowtyp public int set window transluc boolean transluc return xpcom vtbl call super method id 37 address transluc setwindowtransluc atransluc vtblcall last_method_id getaddress atransluc public int window transluc boolean transluc return xpcom vtbl call super method id 38 address transluc getwindowtransluc atransluc vtblcall last_method_id getaddress atransluc public int updat transluc window alpha int rect int alpha return xpcom vtbl call super method id 39 address rect alpha updatetranslucentwindowalpha arect aalpha vtblcall last_method_id getaddress arect aalpha public int hide window chrome boolean hide return xpcom vtbl call super method id 40 address hide hidewindowchrom ashouldhid vtblcall last_method_id getaddress ashouldhid public int full screen boolean full screen return xpcom vtbl call super method id 41 address full screen makefullscreen afullscreen vtblcall last_method_id getaddress afullscreen public int valid return xpcom vtbl call super method id 42 address vtblcall last_method_id getaddress public int invalid boolean synchron return xpcom vtbl call super method id 43 address synchron aissynchron vtblcall last_method_id getaddress aissynchron public int invalid int rect boolean synchron return xpcom vtbl call super method id 44 address rect synchron arect aissynchron vtblcall last_method_id getaddress arect aissynchron public int invalid region int region boolean synchron return xpcom vtbl call super method id 45 address invalidateregion aregion aissynchron vtblcall last_method_id getaddress public int updat return xpcom vtbl call super method id 46 address vtblcall last_method_id getaddress public int add mous listen int listen return xpcom vtbl call super method id 47 address listen addmouselisten alisten vtblcall last_method_id getaddress alisten public int add event listen int listen return xpcom vtbl call super method id 48 address listen addeventlisten alisten vtblcall last_method_id getaddress alisten public int add menu listen int listen return xpcom vtbl call super method id 49 address listen addmenulisten alisten vtblcall last_method_id getaddress alisten public int toolkit return xpcom vtbl call super method id 50 address gettoolkit vtblcall last_method_id getaddress public int set color map int color map return xpcom vtbl call super method id 51 address color map setcolormap acolormap vtblcall last_method_id getaddress acolormap public int scroll int dx int dy int clip rect return xpcom vtbl call super method id 52 address dx dy clip rect adx adi acliprect vtblcall last_method_id getaddress adx adi acliprect public int scroll widget int dx int dy return xpcom vtbl call super method id 53 address dx dy scrollwidget adx adi vtblcall last_method_id getaddress adx adi public int scroll rect int scr rect int dx int dy return xpcom vtbl call super method id 54 address scr rect dx dy scrollrect ascrrect adx adi vtblcall last_method_id getaddress ascrrect adx adi public void add child int child xpcom vtbl call ret super method id 55 address child addchild achild vtblcallnoret last_method_id getaddress achild public void remov child int child xpcom vtbl call ret super method id 56 address child removechild achild vtblcallnoret last_method_id getaddress achild public int nativ data int data type return xpcom vtbl call super method id 57 address data type getnativedata adatatyp vtblcall last_method_id getaddress adatatyp public void free nativ data int data int data type xpcom vtbl call ret super method id 58 address data data type freenativedata adatatyp vtblcallnoret last_method_id getaddress adatatyp public int render context return xpcom vtbl call super method id 59 address getrenderingcontext vtblcall last_method_id getaddress public int devic context return xpcom vtbl call super method id 60 address getdevicecontext vtblcall last_method_id getaddress public int app shell return xpcom vtbl call super method id 61 address getappshel vtblcall last_method_id getaddress public int set border style int border style return xpcom vtbl call super method id 62 address border style setborderstyl aborderstyl vtblcall last_method_id getaddress aborderstyl public int set titl int titl return xpcom vtbl call super method id 63 address titl settitl atitl vtblcall last_method_id getaddress atitl public int set icon int icon spec return xpcom vtbl call super method id 64 address icon spec seticon aniconspec vtblcall last_method_id getaddress aniconspec public int set menu bar int menu bar return xpcom vtbl call super method id 65 address menu bar setmenubar amenubar vtblcall last_method_id getaddress amenubar public int show menu bar boolean show return xpcom vtbl call super method id 66 address show showmenubar ashow vtblcall last_method_id getaddress ashow public int widget screen int rect int rect return xpcom vtbl call super method id 67 address rect rect widgettoscreen aoldrect anewrect vtblcall last_method_id getaddress aoldrect anewrect public int screen widget int rect int rect return xpcom vtbl call super method id 68 address rect rect screentowidget aoldrect anewrect vtblcall last_method_id getaddress aoldrect anewrect public int begin resiz children return xpcom vtbl call super method id 69 address beginresizingchildren vtblcall last_method_id getaddress public int end resiz chidren return xpcom vtbl call super method id 70 address endresizingchidren vtblcall last_method_id getaddress public int prefer size int width int height return xpcom vtbl call super method id 71 address width height getpreferreds awidth aheight vtblcall last_method_id getaddress awidth aheight public int set prefer size int width int height return xpcom vtbl call super method id 72 address width height setpreferreds awidth aheight vtblcall last_method_id getaddress awidth aheight public int dispatch event int event int statu return xpcom vtbl call super method id 73 address event statu dispatchev astatu vtblcall last_method_id getaddress astatu public int paint int render context int dirti rect return xpcom vtbl call super method id 74 address render context dirti rect arenderingcontext adirtyrect vtblcall last_method_id getaddress arenderingcontext adirtyrect public int enabl drag drop boolean enabl return xpcom vtbl call super method id 75 address enabl enabledragdrop aenabl vtblcall last_method_id getaddress aenabl public void convert devic coordin int ax int ay xpcom vtbl call ret super method id 76 address ax ay converttodevicecoordin vtblcallnoret last_method_id getaddress public int captur mous boolean captur return xpcom vtbl call super method id 77 address captur capturemous acaptur vtblcall last_method_id getaddress acaptur public int window class char class return xpcom vtbl call super method id 78 address class getwindowclass aclass vtblcall last_method_id getaddress aclass public int set window class char class return xpcom vtbl call super method id 79 address class setwindowclass aclass vtblcall last_method_id getaddress aclass public int captur rollup event int listen boolean captur boolean consum rollup event return xpcom vtbl call super method id 80 address listen captur consum rollup event capturerollupev alisten adocaptur aconsumerollupev vtblcall last_method_id getaddress alisten adocaptur aconsumerollupev public int modal event filter boolean real event int event boolean window return xpcom vtbl call super method id 81 address real event event window modaleventfilt arealev aevent aforwindow vtblcall last_method_id getaddress arealev aevent aforwindow public int attent return xpcom vtbl call super method id 82 address getattent vtblcall last_method_id getaddress public int input event int return xpcom vtbl call super method id 83 address getlastinputeventtim atim vtblcall last_method_id getaddress atim nsid ns iwindowcr iid string public nsi window creator int address super address ns_iwindowcr_iid_string nsiwindowcr public int creat chrome window int parent int chrome flag int retval return xpcom vtbl call super method id 1 address parent chrome flag retval createchromewindow chromeflag _retval vtblcall last_method_id getaddress chromeflag _retval nsid ns iwindowwatch iid string public nsi window watcher int address super address ns_iwindowwatch_iid_string nsiwindowwatch public int open window int parent byte url byte byte featur int argument int retval return xpcom ns error implement openwindow apar aurl anam afeatur aargument _retval ns_error_not_implement public int regist notif int observ return xpcom vtbl call super method id 2 address observ registernotif aobserv vtblcall last_method_id getaddress aobserv public int unregist notif int observ return xpcom vtbl call super method id 3 address observ unregisternotif aobserv vtblcall last_method_id getaddress aobserv public int window enumer int retval return xpcom vtbl call super method id 4 address retval getwindowenumer _retval vtblcall last_method_id getaddress _retval public int prompter int parent int retval return xpcom vtbl call super method id 5 address parent retval getnewprompt apar _retval vtblcall last_method_id getaddress apar _retval public int auth prompter int parent int retval return xpcom vtbl call super method id 6 address parent retval getnewauthprompt apar _retval vtblcall last_method_id getaddress apar _retval public int set window creator int creator return xpcom vtbl call super method id 7 address creator setwindowcr vtblcall last_method_id getaddress public int chrome window int window int retval return xpcom vtbl call super method id 8 address window retval getchromeforwindow awindow _retval vtblcall last_method_id getaddress awindow _retval public int window char target int current window int retval return xpcom vtbl call super method id 9 address target current window retval getwindowbynam atargetnam acurrentwindow _retval vtblcall last_method_id getaddress atargetnam acurrentwindow _retval public int activ window int activ window return xpcom vtbl call super method id 10 address activ window getactivewindow aactivewindow vtblcall last_method_id getaddress aactivewindow public int set activ window int activ window return xpcom vtbl call super method id 11 address activ window setactivewindow aactivewindow vtblcall last_method_id getaddress aactivewindow privat int handl public ns string handl xpcom nsstring nsstring nsstring_new public ns string string string string null char string char string length 1 string char 0 string length string 0 handl xpcom nsstring string nsstring astr getchar astr nsstring_new astr public int address return handl getaddress public string string handl 0 return null int length xpcom nsstring length handl int buffer xpcom nsstring handl char dest char length xpcom memmov dest buffer length 2 return string dest tostr nsstring_length nsstring_get public void dispos handl 0 return xpcom nsstring delet handl handl 0 nsstring_delet public static final int ns error htmlparser unresolveddtd 0x804e03f3 public static final nativ void memmov nsid dest int src int nbyte ns_error_htmlparser_unresolveddtd public static final nativ void memmov nsid dest int src int nbyte public static final nativ void memmov int dest nsid src int nbyte public static final nativ void memmov nsid dest int src int nbyte public static final nativ void memmov int dest nsid src int nbyte public static final nativ void memmov int dest int src int nbyte public static final nativ void memmov int dest nsid src int nbyte public static final nativ void memmov int dest int src int nbyte public static final nativ void memmov int dest int src int nbyte public static final nativ void memmov int dest int src int nbyte public static final nativ void memmov int dest int src int nbyte public static final nativ void memmov byte dest int src int nbyte public static final nativ void memmov int dest int src int nbyte public static final nativ void memmov byte dest int src int nbyte public static final nativ void memmov char dest int src int nbyte public static final nativ void memmov byte dest int src int nbyte public static final nativ void memmov char dest int src int nbyte public static final nativ void memmov int dest byte src int nbyte public static final nativ void memmov char dest int src int nbyte public static final nativ void memmov int dest byte src int nbyte public static final nativ void memmov int dest char src int nbyte public static final nativ void memmov int dest byte src int nbyte public static final nativ void memmov int dest char src int nbyte public static final nativ void memmov byte dest char src int nbyte public static final nativ void memmov int dest char src int nbyte public static final nativ void memmov byte dest char src int nbyte public static final nativ int ns getcomponentmanag int result ns_getcomponentmanag public static final nativ void memmov byte dest char src int nbyte public static final nativ int ns getcomponentmanag int result public static final nativ int ns getservicemanag int result ns_getcomponentmanag ns_getservicemanag public static final nativ int ns getcomponentmanag int result public static final nativ int ns getservicemanag int result public static final nativ int ns initembed int moz bin directori int app file loc provid ns_getcomponentmanag ns_getservicemanag ns_initembed amozbindirectori aappfilelocprovid public static final nativ int ns getservicemanag int result public static final nativ int ns initembed int moz bin directori int app file loc provid public static final nativ int ns newlocalfil int path boolean follow link int result ns_getservicemanag ns_initembed amozbindirectori aappfilelocprovid ns_newlocalfil followlink public static final nativ int ns initembed int moz bin directori int app file loc provid public static final nativ int ns newlocalfil int path boolean follow link int result public static final nativ int ns newsingletonenumer int local file int enum public static final nativ int ns termembed ns_initembed amozbindirectori aappfilelocprovid ns_newlocalfil followlink ns_newsingletonenumer localfil ns_termembed public static final nativ int ns newlocalfil int path boolean follow link int result public static final nativ int ns newsingletonenumer int local file int enum public static final nativ int ns termembed ns_newlocalfil followlink ns_newsingletonenumer localfil ns_termembed public static final nativ int ns newsingletonenumer int local file int enum public static final nativ int ns termembed public static final nativ int nscrt strlen prunichar int ns_newsingletonenumer localfil ns_termembed nscrt_strlen_prunichar public static final nativ int ns termembed public static final nativ int nscrt strlen prunichar int public static final nativ int nscstring ns_termembed nscrt_strlen_prunichar nscstring_new public static final nativ int nscrt strlen prunichar int public static final nativ int nscstring public static final nativ int nscstring byte string int length nscrt_strlen_prunichar nscstring_new nscstring_new astr public static final nativ int nscstring public static final nativ int nscstring byte string int length public static final nativ void nscstring delet int ptr nscstring_new nscstring_new astr nscstring_delet public static final nativ int nscstring byte string int length public static final nativ void nscstring delet int ptr public static final nativ int nscstring length int ptr nscstring_new astr nscstring_delet nscstring_length public static final nativ void nscstring delet int ptr public static final nativ int nscstring length int ptr public static final nativ int nscstring int ptr nscstring_delet nscstring_length nscstring_get public static final nativ int nscstring length int ptr public static final nativ int nscstring int ptr public static final nativ void nsid delet int ptr nscstring_length nscstring_get nsid_delet public static final nativ int nscstring int ptr public static final nativ void nsid delet int ptr public static final nativ int nsid nscstring_get nsid_delet nsid_new public static final nativ void nsid delet int ptr public static final nativ int nsid public static final nativ boolean nsid pars int ptr string aid str nsid_delet nsid_new nsid_pars aidstr public static final nativ int nsid public static final nativ boolean nsid pars int ptr string aid str public static final nativ boolean nsid equal int ptr int nsid_new nsid_pars aidstr nsid_equal public static final nativ boolean nsid pars int ptr string aid str public static final nativ boolean nsid equal int ptr int public static final nativ int nsrect int ax int ay int width int height nsid_pars aidstr nsid_equal nsrect_new awidth aheight public static final nativ boolean nsid equal int ptr int public static final nativ int nsrect int ax int ay int width int height public static final nativ void nsrect delet int ptr nsid_equal nsrect_new awidth aheight nsrect_delet public static final nativ int nsrect int ax int ay int width int height public static final nativ void nsrect delet int ptr public static final nativ int nsstring nsrect_new awidth aheight nsrect_delet nsstring_new public static final nativ void nsrect delet int ptr public static final nativ int nsstring public static final nativ int nsstring char string nsrect_delet nsstring_new nsstring_new astr public static final nativ int nsstring public static final nativ int nsstring char string public static final nativ void nsstring delet int ptr nsstring_new nsstring_new astr nsstring_delet public static final nativ int nsstring char string public static final nativ void nsstring delet int ptr public static final nativ int nsstring length int ptr nsstring_new astr nsstring_delet nsstring_length public static final nativ void nsstring delet int ptr public static final nativ int nsstring length int ptr public static final nativ int nsstring int ptr nsstring_delet nsstring_length nsstring_get public static final nativ int nsstring length int ptr public static final nativ int nsstring int ptr public static final nativ boolean nsstring equal int ptr int nsstring_length nsstring_get nsstring_equal public static final nativ int nsstring int ptr public static final nativ boolean nsstring equal int ptr int public static final nativ void nsstring assignwithconvers int ptr byte string nsstring_get nsstring_equal nsstring_assignwithconvers astr public static final nativ boolean nsstring equal int ptr int public static final nativ void nsstring assignwithconvers int ptr byte string public static final nativ void pr free int ptr nsstring_equal nsstring_assignwithconvers astr pr_free public static final nativ void nsstring assignwithconvers int ptr byte string public static final nativ void pr free int ptr public static final nativ string pr getenv string nsstring_assignwithconvers astr pr_free pr_getenv public static final nativ void pr free int ptr public static final nativ string pr getenv string public static final nativ int pr malloc int length pr_free pr_getenv pr_malloc public static final nativ string pr getenv string public static final nativ int pr malloc int length public static final nativ int strlen int pr_getenv pr_malloc public static final nativ int strlen int public static final nativ int ns write segment fun int ptr int stream int closur byte segment int offset int count int write count nswritesegmentfun ainstream aclosur afromseg atooffset acount awritecount public static final nativ int ns write segment fun int ptr int stream int closur byte segment int offset int count int write count static final nativ int vtbl call int fn number int pp vtbl nsid arg0 int arg1 nswritesegmentfun ainstream aclosur afromseg atooffset acount awritecount vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl nsid arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 nsid arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl nsid arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl nsid arg0 byte arg1 byte arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl nsid arg0 byte arg1 byte arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl nsid arg0 byte arg1 byte arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 static final nativ int vtbl call int fn number int pp vtbl int arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 static final nativ int vtbl call int fn number int pp vtbl int arg0 static final nativ void vtbl call ret int fn number int pp vtbl int arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcallnoret fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 static final nativ void vtbl call ret int fn number int pp vtbl int arg0 static final nativ void vtbl call ret int fn number int pp vtbl int arg0 int arg1 vtblcall fnnumber ppvtbl vtblcallnoret fnnumber ppvtbl vtblcallnoret fnnumber ppvtbl static final nativ void vtbl call ret int fn number int pp vtbl int arg0 static final nativ void vtbl call ret int fn number int pp vtbl int arg0 int arg1 static final nativ void vtbl call ret int fn number int pp vtbl int arg0 int arg1 vtblcallnoret fnnumber ppvtbl vtblcallnoret fnnumber ppvtbl vtblcallnoret fnnumber ppvtbl static final nativ void vtbl call ret int fn number int pp vtbl int arg0 int arg1 static final nativ void vtbl call ret int fn number int pp vtbl int arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 vtblcallnoret fnnumber ppvtbl vtblcallnoret fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ void vtbl call ret int fn number int pp vtbl int arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 static final nativ int vtbl call int fn number int pp vtbl byte arg0 vtblcallnoret fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 static final nativ int vtbl call int fn number int pp vtbl byte arg0 static final nativ int vtbl call int fn number int pp vtbl int arg0 nsid arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 static final nativ int vtbl call int fn number int pp vtbl int arg0 nsid arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 nsid arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 int arg5 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 int arg5 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 int arg5 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 boolean arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 boolean arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 boolean arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl boolean arg0 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 static final nativ int vtbl call int fn number int pp vtbl char arg0 boolean arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl boolean arg0 static final nativ int vtbl call int fn number int pp vtbl char arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 boolean arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 boolean arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 boolean arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 boolean arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl arg0 static final nativ int vtbl call int fn number int pp vtbl float arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl arg0 static final nativ int vtbl call int fn number int pp vtbl float arg0 static final nativ int vtbl call int fn number int pp vtbl doubl arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl float arg0 static final nativ int vtbl call int fn number int pp vtbl doubl arg0 static final nativ int vtbl call int fn number int pp vtbl arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl doubl arg0 static final nativ int vtbl call int fn number int pp vtbl arg0 static final nativ int vtbl call int fn number int pp vtbl doubl arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl arg0 static final nativ int vtbl call int fn number int pp vtbl doubl arg0 static final nativ int vtbl call int fn number int pp vtbl short arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl doubl arg0 static final nativ int vtbl call int fn number int pp vtbl short arg0 static final nativ int vtbl call int fn number int pp vtbl float arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl short arg0 static final nativ int vtbl call int fn number int pp vtbl float arg0 static final nativ int vtbl call int fn number int pp vtbl short arg0 float arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl float arg0 static final nativ int vtbl call int fn number int pp vtbl short arg0 float arg1 static final nativ int vtbl call int fn number int pp vtbl short arg0 float arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl short arg0 float arg1 static final nativ int vtbl call int fn number int pp vtbl short arg0 float arg1 static final nativ int vtbl call int fn number int pp vtbl short arg0 int arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl short arg0 float arg1 static final nativ int vtbl call int fn number int pp vtbl short arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 int arg4 int arg5 int arg6 int arg7 int arg8 boolean arg9 boolean arg10 boolean arg11 boolean arg12 short arg13 int arg14 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl short arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 int arg4 int arg5 int arg6 int arg7 int arg8 boolean arg9 boolean arg10 boolean arg11 boolean arg12 short arg13 int arg14 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 int arg4 int arg5 int arg6 short arg7 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 int arg4 int arg5 int arg6 int arg7 int arg8 boolean arg9 boolean arg10 boolean arg11 boolean arg12 short arg13 int arg14 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 int arg4 int arg5 int arg6 short arg7 static final nativ int vtbl call int fn number int pp vtbl int arg0 short arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 int arg4 int arg5 int arg6 short arg7 static final nativ int vtbl call int fn number int pp vtbl int arg0 short arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 short arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 short arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 short arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 nsid arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 short arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 nsid arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 byte arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 byte arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 char arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 byte arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 char arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 char arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 boolean arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 boolean arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl byte arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 nsid arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl char arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 nsid arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 char arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 char arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 boolean arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 boolean arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 boolean arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 char arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 boolean arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 boolean arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 boolean arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl boolean arg0 boolean arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 boolean arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 char arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl boolean arg0 boolean arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 int arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 char arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 char arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 char arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 boolean arg4 boolean arg5 boolean arg6 boolean arg7 int arg8 int arg9 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 boolean arg4 boolean arg5 boolean arg6 boolean arg7 int arg8 int arg9 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 int arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 boolean arg4 boolean arg5 boolean arg6 boolean arg7 int arg8 int arg9 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl boolean arg0 int arg1 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 int arg2 char arg3 int arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 int arg2 char arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 int arg2 char arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 int arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 boolean arg3 boolean arg4 boolean arg5 boolean arg6 boolean arg7 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 boolean arg3 boolean arg4 boolean arg5 boolean arg6 boolean arg7 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 int arg3 int arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 boolean arg2 boolean arg3 boolean arg4 boolean arg5 boolean arg6 boolean arg7 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 char arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 char arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 char arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 char arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 char arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 boolean arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 char arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 boolean arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 boolean arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 boolean arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 int arg2 char arg3 int arg4 boolean arg5 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 boolean arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 int arg2 char arg3 int arg4 boolean arg5 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 boolean arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 int arg2 char arg3 int arg4 boolean arg5 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 boolean arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 int arg2 char arg3 char arg4 char arg5 char arg6 boolean arg7 int arg8 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 boolean arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 int arg2 char arg3 char arg4 char arg5 char arg6 boolean arg7 int arg8 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 boolean arg3 boolean arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 int arg2 char arg3 char arg4 char arg5 char arg6 boolean arg7 int arg8 static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 boolean arg3 boolean arg4 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 char arg1 char arg2 boolean arg3 boolean arg4 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl nsid arg0 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl nsid arg0 static final nativ int vtbl call int fn number int pp vtbl int arg0 nsid arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl nsid arg0 static final nativ int vtbl call int fn number int pp vtbl int arg0 nsid arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 char arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 nsid arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 char arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 int arg3 int arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 char arg3 static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 int arg2 boolean arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl char arg0 int arg1 int arg2 int arg3 int arg4 static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 int arg2 boolean arg3 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 boolean arg1 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 boolean arg1 int arg2 boolean arg3 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl nsid arg0 nsid arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl boolean arg0 boolean arg1 static final nativ int vtbl call int fn number int pp vtbl nsid arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl nsid arg0 int arg1 nsid arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl nsid arg0 nsid arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl nsid arg0 int arg1 nsid arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 nsid arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl nsid arg0 int arg1 nsid arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 nsid arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl nsid arg0 nsid arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 nsid arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl nsid arg0 nsid arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 nsid arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl nsid arg0 nsid arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 nsid arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 int arg5 int arg6 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 nsid arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 int arg5 int arg6 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 int arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 int arg2 int arg3 int arg4 int arg5 int arg6 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 short arg1 short arg2 short arg3 boolean arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl boolean arg0 int arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 short arg1 short arg2 short arg3 boolean arg4 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 short arg1 short arg2 short arg3 boolean arg4 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 short arg1 short arg2 short arg3 boolean arg4 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 short arg1 short arg2 short arg3 boolean arg4 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 int arg1 boolean arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl boolean arg0 short arg1 short arg2 short arg3 boolean arg4 static final nativ int vtbl call int fn number int pp vtbl boolean arg0 int arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 byte arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl boolean arg0 int arg1 boolean arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 byte arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 int arg2 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 byte arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 int arg2 byte arg3 int arg4 int arg5 int arg6 int arg7 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 int arg2 static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 int arg2 byte arg3 int arg4 int arg5 int arg6 int arg7 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 byte arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl static final nativ int vtbl call int fn number int pp vtbl byte arg0 int arg1 int arg2 byte arg3 int arg4 int arg5 int arg6 int arg7 static final nativ int vtbl call int fn number int pp vtbl int arg0 int arg1 byte arg2 int arg3 static final nativ int vtbl call int fn number int pp vtbl int arg0 byte arg1 int arg2 int arg3 vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl vtblcall fnnumber ppvtbl construct instanc class public fill layout filllayout construct instanc class type param type type fill layout 2 0 public fill layout int type type type filllayout protect point comput size composit composit int hint int hint boolean flush cach control children composit children int count children length int max width 0 max height 0 int 0 count control child children point size child comput size swt default swt default flush cach max width math max max width size max height math max max height size int width 0 height 0 type swt horizont width count max width count 0 width count 1 space height max height width max width height count max height count 0 height count 1 space width margin width 2 height margin height 2 return point width height computes whint hhint flushcach getchildren maxwidth maxheight computes flushcach maxwidth maxwidth maxheight maxheight maxwidth maxheight maxwidth maxheight marginwidth marginheight protect void layout composit composit boolean flush cach rectangl rect composit client area control children composit children int count children length count 0 return int width rect width margin width 2 int height rect height margin height 2 type swt horizont width count 1 space int rect margin width extra width count int rect margin height cell width width count int 0 count control child children int child width cell width 0 child width extra 2 count 1 child width extra 1 2 child set bound child width height child width space height count 1 space int rect margin width cell height height count int rect margin height extra height count int 0 count control child children int child height cell height 0 child height extra 2 count 1 child height extra 1 2 child set bound width child height child height space flushcach getclientarea getchildren marginwidth marginheight marginwidth marginheight cellwidth childwidth cellwidth childwidth childwidth setbound childwidth childwidth marginwidth cellheight marginheight childheight cellheight childheight childheight setbound childheight childheight public int align form attach formattach construct instanc class numer denomin offset default treat numer percentag form denomin 100 offset param numer percentag posit param offset offset side posit 3 0 public form attach int numer numer 100 0 formattach construct instanc class numer offset denomin default treat numer percentag form denomin 100 param numer percentag posit param offset offset side posit public form attach int numer int offset numer 100 offset formattach construct instanc class numer denomin offset posit side fraction form defin numer denomin param numer numer posit param denomin denomin posit param offset offset side posit public form attach int numer int denomin int offset denomin 0 swt error swt error numer numer denomin denomin offset offset formattach error_cannot_be_zero construct instanc class control align default align attach side adjac side control offset offset 0 param control control side attach public form attach control control control 0 swt default formattach construct instanc class control offset align default align attach side adjac side control param control control side attach param offset offset side control public form attach control control int offset control offset swt default formattach construct instanc class control offset align param control control side attach param offset offset side control param align align side control attach public form attach control control int offset int align control control offset offset align align formattach form attach divid int return form attach numer denomin offset formattach formattach int gcd int int int temp math ab math ab n temp m n temp 0 temp m n temp return form attach minu form attach attach form attach solut form attach solut numer numer attach denomin denomin attach numer solut denomin denomin attach denomin int gcd gcd solut denomin solut numer solut numer solut numer gcd solut denomin solut denomin gcd solut offset offset attach offset return solut formattach formattach formattach formattach form attach minu int return form attach numer denomin offset formattach formattach form attach form attach attach form attach solut form attach solut numer numer attach denomin denomin attach numer solut denomin denomin attach denomin int gcd gcd solut denomin solut numer solut numer solut numer gcd solut denomin solut denomin gcd solut offset offset attach offset return solut formattach formattach formattach formattach form attach int return form attach numer denomin offset formattach formattach int solvex int denomin 0 swt error swt error return numer denomin offset error_cannot_be_zero int solvei int numer 0 swt error swt error return offset denomin numer error_cannot_be_zero public string string string string control null control string numer denomin return string offset 0 offset offset tostr tostr boolean visit public form data swt default swt default isvisit formdata public form data int width int height width width height height formdata form attach bottom attach int space cach bottom null return cach bottom visit return cach bottom form attach 0 cach height bottom null top null return cach bottom form attach 0 cach height return cach bottom top attach space cach height control control bottom control control null control dispos bottom control control null control null return cach bottom bottom visit true form data form data form data control layout data form attach bottom attach form data bottom attach space switch bottom align case swt bottom cach bottom bottom attach bottom offset break case swt center form attach top attach form data top attach space form attach bottom height bottom attach minu top attach cach bottom bottom attach minu bottom height minu cach height divid 2 break case swt top case swt default default form attach top attach form data top attach space cach bottom top attach bottom offset space break visit fals return cach bottom formattach getbottomattach cachebottom cachebottom isvisit cachebottom formattach cacheheight cachebottom formattach cacheheight cachebottom gettopattach cacheheight isdispos cachebottom isvisit formdata formdata formdata getlayoutdata formattach bottomattach formdata getbottomattach cachebottom bottomattach formattach topattach formdata gettopattach formattach bottomheight bottomattach topattach cachebottom bottomattach bottomheight cacheheight formattach topattach formdata gettopattach cachebottom topattach isvisit cachebottom form attach left attach int space cach left null return cach left visit return cach left form attach 0 0 left null null return cach left form attach 0 0 return cach left attach space minu cach width control control left control control null control dispos left control control null control null return cach left left visit true form data form data form data control layout data form attach left attach form data left attach space switch left align case swt left cach left left attach left offset break case swt center form attach attach form data attach space form attach left width attach minu left attach cach left left attach left width minu cach width divid 2 break case swt case swt default default form attach attach form data attach space cach left attach left offset space visit fals return cach left formattach getleftattach cacheleft cacheleft isvisit cacheleft formattach cacheleft formattach cacheleft getrightattach cachewidth isdispos cacheleft isvisit formdata formdata formdata getlayoutdata formattach leftattach formdata getleftattach cacheleft leftattach formattach rightattach formdata getrightattach formattach leftwidth rightattach leftattach cacheleft leftattach leftwidth cachewidth formattach rightattach formdata getrightattach cacheleft rightattach isvisit cacheleft form attach attach int space cach null return cach visit return cach form attach 0 cach width null left null return cach form attach 0 cach width return cach left attach space cach width control control control control null control dispos control control null control null return cach right visit true form data form data form data control layout data form attach attach form data attach space switch align case swt cach right attach offset break case swt center form attach left attach form data left attach space form attach width attach minu left attach cach right attach minu width minu cach width divid 2 break case swt left case swt default default form attach left attach form data left attach space cach left attach offset space break visit fals return cach formattach getrightattach cacheright cacheright isvisit cacheright formattach cachewidth cacheright formattach cachewidth cacheright getleftattach cachewidth isdispos cacheright isvisit formdata formdata formdata getlayoutdata formattach rightattach formdata getrightattach cacheright rightattach formattach leftattach formdata getleftattach formattach rightwidth rightattach leftattach cacheright rightattach rightwidth cachewidth formattach leftattach formdata getleftattach cacheright leftattach isvisit cacheright form attach top attach int space cach top null return cach top visit return cach top form attach 0 0 top null bottom null return cach top form attach 0 0 return cach top bottom attach space minu cach height control control top control control null control dispos top control control null control null return cach top top visit true form data form data form data control layout data form attach top attach form data top attach space switch top align case swt top cach top top attach top offset break case swt center form attach bottom attach form data bottom attach space form attach top height bottom attach minu top attach cach top top attach top height minu cach height divid 2 break case swt bottom case swt default default form attach bottom attach form data bottom attach space cach top bottom attach top offset space break visit fals return cach top formattach gettopattach cachetop cachetop isvisit cachetop formattach cachetop formattach cachetop getbottomattach cacheheight isdispos cachetop isvisit formdata formdata formdata getlayoutdata formattach topattach formdata gettopattach cachetop topattach formattach bottomattach formdata getbottomattach formattach topheight bottomattach topattach cachetop topattach topheight cacheheight formattach bottomattach formdata getbottomattach cachetop bottomattach isvisit cachetop construct instanc class public form layout formlayout comput prefer height form respect prefer height control equat top bottom control term height form ax b cx equat height control bottom minu top t cx ax solv height form c 0 equat solut special case mean control constrain height form case need arbitrarili defin height form case 1 0 0 let distanc top form bottom edg control case control attatch top form form need larg show bottom edg control case 2 1 1 let distanc bottom form top edg control case control attach bottom form control visibl offset neg offset posit height form show control bottom edg form case 3 0 0 1 0 let 1 distanc top form bottom edg control case 0 1 fraction offset distanc cx bottom edg control repres fraction form 1 height fraction form known height entir form found set 1 solv equat term give u similarili offset neg control posit cx offset distanc top edg control cx find height entir form set cx solv term int comput height form data data form attach top data top attach space form attach bottom data bottom attach space form attach height bottom minu top height numer 0 bottom numer 0 return bottom offset bottom numer bottom denomin return top offset bottom offset 0 return top offset top denomin bottom numer int divid bottom denomin bottom numer return bottom denomin bottom offset divid return height solvei data cach height computeheight formdata formattach gettopattach formattach getbottomattach formattach cacheheight protect point comput size composit composit int hint int hint boolean flush cach point size layout composit fals 0 0 0 0 flush cach size margin width 2 size margin height 2 return size computes whint hhint flushcach flushcach marginwidth marginheight point comput size control control boolean flush cach form data data form data control layout data data null control set layout data data form data return control comput size data width data height flush cach computes flushcach formdata formdata getlayoutdata setlayoutdata formdata computes flushcach comput prefer height form respect prefer height control int comput width form data data form attach left data left attach space form attach data attach space form attach width minu left width numer 0 numer 0 return offset numer denomin return left offset offset 0 return left offset left denomin left numer int divid denomin numer return denomin offset divid return width solvei data cach width computewidth formdata formattach getleftattach formattach getrightattach formattach cachewidth protect void layout composit composit boolean flush cach rectangl rect composit client area int rect margin width int rect margin height int width math max 0 rect width 2 margin width int height math max 0 rect height 2 margin height layout composit true width height flush cach flushcach getclientarea marginwidth marginheight marginwidth marginheight flushcach point layout composit composit boolean move int int int width int height boolean flush cach control children composit children int 0 children length control child children point size comput size child flush cach form data data form data child layout data data cach width size data cach height size data cach left data cach data cach top data cach bottom null rectangl bound null int 0 children length control child children form data data form data child layout data move int x1 data left attach space solvex width int y1 data top attach space solvex height int x2 data attach space solvex width int y2 data bottom attach space solvex height bound null bound rectangl children length bound rectangl x1 y1 x2 x1 y2 y1 width math max comput width data width height math max comput height data height int 0 children length control child children form data data form data child layout data data cach width data cach height 0 data cach left data cach data cach top data cach bottom null move int 0 children length children set bound bound return move null point width height flushcach getchildren computes flushcach formdata formdata getlayoutdata cachewidth cacheheight cacheleft cacheright cachetop cachebottom formdata formdata getlayoutdata getleftattach gettopattach getrightattach getbottomattach computewidth computeheight formdata formdata getlayoutdata cachewidth cacheheight cacheleft cacheright cachetop cachebottom setbound boolean item data true int span public grid data super isitemdata hspan griddata public grid data int style super style vertic align begin 0 vertic align begin style vertic align center 0 vertic align center style vertic align fill 0 vertic align fill style vertic align end 0 vertic align end style horizont align begin 0 horizont align begin style horizont align center 0 horizont align center style horizont align fill 0 horizont align fill style horizont align end 0 horizont align end style grab horizont 0 grab excess horizont space true grab excess horizont space fals style grab vertic 0 grab excess vertic space true grab excess vertic space fals griddata vertic_align_begin verticalalign vertic_align_center verticalalign vertic_align_fill verticalalign vertic_align_end verticalalign horizont_align_begin horizontalalign horizont_align_center horizontalalign horizont_align_fill horizontalalign horizont_align_end horizontalalign grab_horizont grabexcesshorizontalspac grabexcesshorizontalspac grab_vertic grabexcessverticalspac grabexcessverticalspac 3 0 public grid data int horizont align int vertic align boolean grab excess horizont space boolean grab excess vertic space horizont align vertic align grab excess horizont space grab excess vertic space 1 1 griddata horizontalalign verticalalign grabexcesshorizontalspac grabexcessverticalspac horizontalalign verticalalign grabexcesshorizontalspac grabexcessverticalspac public grid data int horizont align int vertic align boolean grab excess horizont space boolean grab excess vertic space int horizont span int vertic span super horizont align horizont align vertic align vertic align grab excess horizont space grab excess horizont space grab excess vertic space grab excess vertic space horizont span horizont span vertic span vertic span griddata horizontalalign verticalalign grabexcesshorizontalspac grabexcessverticalspac horizontalspan verticalspan horizontalalign horizontalalign verticalalign verticalalign grabexcesshorizontalspac grabexcesshorizontalspac grabexcessverticalspac grabexcessverticalspac horizontalspan horizontalspan verticalspan verticalspan public grid data int width int height super width hint width height hint height griddata widthhint heighthint height hint height boolean item data return item data heighthint isitemdata isitemdata return item data boolean spacer data return item data isitemdata isspacerdata isitemdata construct instanc class public grid layout gridlayout construct instanc class number column column forc width param num column number column grid param column equal width column equal width 2 0 public grid layout int num column boolean column equal width num column num column column equal width column equal width numcolumn makecolumnsequalwidth gridlayout numcolumn makecolumnsequalwidth numcolumn numcolumn makecolumnsequalwidth makecolumnsequalwidth void adjust grid dimens composit composit boolean flush cach ensur control span row column space int row 0 row grid size row int column 0 column num column column grid data spec grid data grid element row column spec item data widget span column spec span 1 control child composit children spec child index point extent child comput size spec width hint spec height hint flush cach calcul size control span column int span index column spec span int span size 0 int column span index span size span size pixel column width horizont space span size span size horizont space span column larg displai control adjust column size account extra space need extent spec horizont indent span size int extra space need extent spec horizont indent span size int column column spec span 1 int col width column equal width evenli distribut extra space column int column extra extra space need num column int column remaind extra space need num column int 0 pixel column width length col width pixel column width column extra pixel column width col width col width pixel column width column column remaind pixel column width column col width vector local expand column vector int column column int 0 expand column length expand column local expand column add element integ local expand column size 0 control column grab excess space alloc space column int column extra extra space need local expand column size int column remaind extra space need local expand column size int 0 local expand column size int expand col integ local expand column element int col width pixel column width expand col column extra pixel column width expand col col width col width pixel column width column column remaind pixel column width column col width add extra space control column column grab excess space col width pixel column width column extra space need pixel column width column col width widget span row spec vertic span 1 control child composit children spec child index point extent child comput size spec width hint spec height hint flush cach calcul size control span row int span index row spec vertic span int span size 0 int row span index span size span size pixel row height vertic space span size span size vertic space span row larg displai control adjust row size account extra space need extent span size int extra space need extent span size int row row spec vertic span 1 int row height vector local expand row vector int row row int 0 expand row length expand row local expand row add element integ local expand row size 0 control row grab excess space alloc space row int row extra extra space need local expand row size int row remaind extra space need local expand row size int 0 local expand row size int expand row integ local expand row element int row height pixel row height expand row row extra pixel row height expand row row height row height pixel row height row row remaind pixel row height row row height add extra space control row row grab excess space row height pixel row height row extra space need pixel row height row row height adjustgriddimens flushcach numcolumn griddata griddata elementat isitemdata hspan getchildren childindex computes widthhint heighthint flushcach lastspanindex hspan spanneds lastspanindex spanneds spanneds pixelcolumnwidth horizontalspac spanneds spanneds horizontalspac horizontalind spanneds extraspaceneed horizontalind spanneds lastcolumn hspan colwidth makecolumnsequalwidth columnextra extraspaceneed numcolumn columnremaind extraspaceneed numcolumn pixelcolumnwidth colwidth pixelcolumnwidth columnextra pixelcolumnwidth colwidth colwidth pixelcolumnwidth lastcolumn columnremaind pixelcolumnwidth lastcolumn colwidth localexpandablecolumn lastcolumn expandablecolumn expandablecolumn localexpandablecolumn addel localexpandablecolumn columnextra extraspaceneed localexpandablecolumn columnremaind extraspaceneed localexpandablecolumn localexpandablecolumn expandablecol localexpandablecolumn elementat intvalu colwidth pixelcolumnwidth expandablecol columnextra pixelcolumnwidth expandablecol colwidth colwidth pixelcolumnwidth lastcolumn columnremaind pixelcolumnwidth lastcolumn colwidth colwidth pixelcolumnwidth lastcolumn extraspaceneed pixelcolumnwidth lastcolumn colwidth verticalspan getchildren childindex computes widthhint heighthint flushcach lastspanindex verticalspan spanneds lastspanindex spanneds spanneds pixelrowheight verticalspac spanneds spanneds verticalspac spanneds extraspaceneed spanneds lastrow verticalspan rowheight localexpandablerow lastrow expandablerow expandablerow localexpandablerow addel localexpandablerow rowextra extraspaceneed localexpandablerow rowremaind extraspaceneed localexpandablerow localexpandablerow expandablerow localexpandablerow elementat intvalu rowheight pixelrowheight expandablerow rowextra pixelrowheight expandablerow rowheight rowheight pixelrowheight lastrow rowremaind pixelrowheight lastrow rowheight rowheight pixelrowheight lastrow extraspaceneed pixelrowheight lastrow rowheight void calcul grid dimens composit composit boolean flush cach int max width child width max height child height control children composit children point child size point children length pixel column width int num column pixel row height int grid size loop grid column width column need column wide widest control int column 0 column num column column max width 0 int row 0 row grid size row grid data spec grid data grid element row column spec item data control child children spec child index child size spec child index child comput size spec width hint spec height hint flush cach child width child size spec child index spec horizont indent spec span 1 max width math max max width child width cach valu later pixel column width column max width column equal width max width 0 find largest column size column size int 0 num column max width math max max width pixel column width max width horizont space int 0 num column pixel column width max width loop grid row height row need row high tallest control int row 0 row grid size row max height 0 int column 0 column num column column grid data spec grid data grid element row column spec item data child height child size spec child index spec vertic span 1 max height math max max height child height cach valu later pixel row height row max height calculategriddimens flushcach maxwidth childwidth maxheight childheight getchildren childsiz pixelcolumnwidth numcolumn pixelrowheight numcolumn maxwidth griddata griddata elementat isitemdata childindex childsiz childindex computes widthhint heighthint flushcach childwidth childsiz childindex horizontalind hspan maxwidth maxwidth childwidth pixelcolumnwidth maxwidth makecolumnsequalwidth maxwidth numcolumn maxwidth maxwidth pixelcolumnwidth maxwidth horizontalspac numcolumn pixelcolumnwidth maxwidth maxheight numcolumn griddata griddata elementat isitemdata childheight childsiz childindex verticalspan maxheight maxheight childheight pixelrowheight maxheight void comput expand cell control grab excess horizont space column control span expand similarli control grab excess vertic space row control span expand hashtabl grow column hashtabl hashtabl grow row hashtabl int col 0 col num column col int row 0 row grid size row grid data spec grid data grid element row col spec grab excess horizont space grow column put integ col spec span 1 object spec grab excess vertic space grow row put integ row spec vertic span 1 object cach valu valu later children layout int 0 enumer enum grow column kei expand column int grow column size enum element expand column integ enum element int i 1 0 enum grow row kei expand row int grow row size enum element expand row integ enum element int i 1 computeexpandablecel growcolumn growrow numcolumn griddata griddata elementat grabexcesshorizontalspac growcolumn hspan grabexcessverticalspac growrow verticalspan growcolumn expandablecolumn growcolumn hasmoreel expandablecolumn nextel intvalu growrow expandablerow growrow hasmoreel expandablerow nextel intvalu point comput layout size composit composit int hint int hint boolean flush cach int total margin height total margin width int total width total height int col row initi grid cach inform help grid layout grid size 0 creat grid composit calcul grid dimens composit flush cach comput expand cell adjust grid dimens composit flush cach col num column row grid size total margin height margin height total margin width margin width total width margin border width space column width column total width total margin width 2 col 1 horizont space add width column int 0 pixel column width length total width total width pixel column width total height margin border height space row height tallest child row total height total margin height 2 row 1 vertic space add height row int 0 pixel row height length total height total height pixel row height hint swt default total width hint hint swt default total height hint prefer extent width height accomod grid control return point total width total height computelayouts whint hhint flushcach totalmarginheight totalmarginwidth totalwidth totalheight creategrid calculategriddimens flushcach computeexpandablecel adjustgriddimens flushcach numcolumn totalmarginheight marginheight totalmarginwidth marginwidth totalwidth totalmarginwidth horizontalspac pixelcolumnwidth totalwidth totalwidth pixelcolumnwidth totalheight totalmarginheight verticalspac pixelrowheight totalheight totalheight pixelrowheight whint totalwidth whint hhint totalheight hhint totalwidth totalheight protect point comput size composit composit int hint int hint boolean flush cach control children composit children int num children children length num children 0 return point 0 0 flush cach grid relat inform calcul grid remov element return comput layout size composit hint hint flush cach computes whint hhint flushcach getchildren numchildren numchildren flushcach removeallel computelayouts whint hhint flushcach point empti cell int row int column grid data row data grid data grid element row column num column row data column null column column num column row column 0 row grid size grid add element empti row return empti cell row column return point row column getfirstemptycel griddata rowdata griddata elementat numcolumn rowdata numcolumn addel emptyrow getfirstemptycel point empti cell int row int column grid data row data grid data grid element row column num column row data column null column return point row column 1 getlastemptycel griddata rowdata griddata elementat numcolumn rowdata point cell int row int column int width int height point start empti cell row column point end empti cell start start end 1 start width return start grid data row data grid data grid element start int start end 1 grid data spacer spec grid data spacer spec item data fals row data spacer spec return cell end end width height getcel getfirstemptycel getlastemptycel griddata rowdata griddata elementat griddata spacerspec griddata spacerspec isitemdata rowdata spacerspec getcel void creat grid composit composit int row column row fill column fill control children grid data spacer spec children composit children grid add element empti row row 0 column 0 loop children place layout spec grid placement occur left top bottom row int 0 children length find spot grid control child children grid data spec grid data child layout data spec null spec grid data child set layout data spec spec span math min spec horizont span num column point cell row column spec span spec vertic span row column vertic span item 1 1 add row grid int 2 spec vertic span row grid size grid add element empti row store layout spec cach child index note assum children composit maintain order creat ad composit grid data grid element row column spec spec child index put spacer grid account item vertic horizont span row fill spec vertic span 1 column fill spec span 1 int 1 row fill int 0 spec span spacer spec grid data spacer spec item data fals grid data grid element row column spacer spec int 1 column fill int 0 spec vertic span spacer spec grid data spacer spec item data fals grid data grid element row column spacer spec column column spec span 1 fill empti grid cell spacer int row grid size grid data row data grid data grid element int 0 num column row data null spacer spec grid data spacer spec item data fals row data spacer spec creategrid rowfil columnfil griddata spacerspec getchildren addel emptyrow griddata griddata getlayoutdata griddata setlayoutdata hspan horizontalspan numcolumn getcel hspan verticalspan verticalspan addel emptyrow childindex griddata elementat childindex rowfil verticalspan columnfil hspan rowfil hspan spacerspec griddata spacerspec isitemdata griddata elementat spacerspec columnfil verticalspan spacerspec griddata spacerspec isitemdata griddata elementat spacerspec hspan griddata rowdata griddata elementat numcolumn rowdata spacerspec griddata spacerspec isitemdata rowdata spacerspec grid data empti row grid data row grid data num column int 0 num column row null return row griddata emptyrow griddata griddata numcolumn numcolumn protect void layout composit composit boolean flush cach int column width int row height int row size rowi columnx int composit width composit height int excess horizont excess vertic control children flush cach grid relat inform calcul grid remov element children composit children children length 0 return point extent comput size composit swt default swt default flush cach column width int num column int 0 pixel column width length column width pixel column width row height int grid size int 0 pixel row height length row height pixel row height int column width 0 row size math max 1 grid size composit width extent composit height extent calcul extra space space due resiz oper alloc dealloc space column row expand control grab excess space column row expand excess horizont composit client area width composit width excess vertic composit client area height composit height alloc dealloc horizont space expand column length 0 int excess remaind int col width excess excess horizont expand column length remaind excess horizont expand column length 0 int 0 expand column length int expand col expand column col width column width expand col col width col width excess column width expand col col width math max expand col col width column width col width col width remaind column width col width spec expand column maximum width hint minimum width column int 0 expand column length int expand col expand column int col width column width expand col int min width 0 int 0 grid size grid data row grid data grid element grid data spec row expand col spec span 1 min width math max min width spec width hint column width expand col math max col width min width alloc dealloc vertic space expand row length 0 int excess remaind int row height excess excess vertic expand row length remaind excess vertic expand row length 0 int 0 expand row length int expand row expand row row height row height expand row row height row height excess row height expand row row height math max expand row row height row height row height row height remaind row height row height spec expand row maximum height hint minimum height row int 0 expand row length int expand row expand row int row height row height expand row int min height 0 grid data row grid data grid element expand row int 0 num column grid data spec row spec vertic span 1 min height math max min height spec height hint row height expand row math max row height min height start columnx margin width composit client area rowi margin height composit client area layout control left top bottom int 0 row size int row height row height grid data row grid data grid element int 0 row length int span width 0 span height 0 int align 0 align 0 int widgetx 0 widgeti 0 int widgetw 0 widgeth 0 grid data spec grid data row column equal width column width composit client area width 2 margin width num column 1 horizont space column width column width num column int 0 column width length column width column width column width column width span width column width int 1 spec span k num column column equal width column width column width span width span width column width horizont space span height row height int 1 spec vertic span grid size span height span height row height vertic space spec item data control child children spec child index point child extent child comput size spec width hint spec height hint flush cach align spec horizont align widgetx columnx calcul width valu control align grid data center align swt center widgetx widgetx span width 2 child extent 2 align grid data end align swt end align swt widgetx widgetx span width child extent spec horizont indent widgetx widgetx spec horizont indent align grid data fill widgetw span width spec horizont indent widgetx columnx spec horizont indent widgetw child extent calcul height valu control align spec vertic align widgeti rowi align grid data center align swt center widgeti widgeti span height 2 child extent 2 align grid data end align swt end align swt bottom widgeti widgeti span height child extent align grid data fill widgeth span height widgeti rowi widgeth child extent place control child set bound widgetx widgeti widgetw widgeth updat start columnx columnx column width horizont space updat start re start row reset start rowi rowi row height vertic space columnx margin width composit client area flushcach columnwidth rowheight rowsiz compositewidth compositeheight excesshorizont excessvert flushcach removeallel getchildren computes flushcach columnwidth numcolumn pixelcolumnwidth columnwidth pixelcolumnwidth rowheight pixelrowheight rowheight pixelrowheight columnwidth rowsiz compositewidth compositeheight excesshorizont getclientarea compositewidth excessvert getclientarea compositeheight expandablecolumn colwidth excesshorizont expandablecolumn excesshorizont expandablecolumn expandablecolumn expandablecol expandablecolumn colwidth columnwidth expandablecol colwidth colwidth columnwidth expandablecol colwidth expandablecol colwidth columnwidth colwidth colwidth columnwidth colwidth widthhint minimumwidth expandablecolumn expandablecol expandablecolumn colwidth columnwidth expandablecol minwidth griddata griddata elementat griddata expandablecol hspan minwidth minwidth widthhint columnwidth expandablecol colwidth minwidth expandablerow rowheight excessvert expandablerow excessvert expandablerow expandablerow expandablerow expandablerow rowheight rowheight expandablerow rowheight rowheight rowheight expandablerow rowheight expandablerow rowheight rowheight rowheight rowheight rowheight rowheight heighthint minimumheight expandablerow expandablerow expandablerow rowheight rowheight expandablerow minheight griddata griddata elementat expandablerow numcolumn griddata verticalspan minheight minheight heighthint rowheight expandablerow rowheight minheight marginwidth getclientarea marginheight getclientarea rowsiz rowheight rowheight griddata griddata elementat spannedwidth spannedheight halign valign griddata griddata makecolumnsequalwidth columnwidth getclientarea marginwidth numcolumn horizontalspac columnwidth columnwidth numcolumn columnwidth columnwidth columnwidth columnwidth columnwidth spannedwidth columnwidth hspan numcolumn makecolumnsequalwidth columnwidth columnwidth spannedwidth spannedwidth columnwidth horizontalspac spannedheight rowheight verticalspan spannedheight spannedheight rowheight verticalspac isitemdata childindex childext computes widthhint heighthint flushcach halign horizontalalign halign griddata halign spannedwidth childext halign griddata halign halign spannedwidth childext horizontalind horizontalind halign griddata spannedwidth horizontalind horizontalind childext valign verticalalign valign griddata valign spannedheight childext valign griddata valign valign spannedheight childext valign griddata spannedheight childext setbound columnwidth horizontalspac rowheight verticalspac marginwidth getclientarea public int height public row data swt default swt default rowdata public row data int width int height width width height height rowdata public row data point point point point rowdata construct instanc class public row layout rowlayout construct instanc class type param type type row layout 2 0 public row layout int type type type rowlayout protect point comput size composit composit int hint int hint boolean flush cach point extent type swt horizont extent layout horizont composit fals hint swt default wrap hint flush cach extent layout vertic composit fals hint swt default wrap hint flush cach hint swt default extent hint hint swt default extent hint return extent computes whint hhint flushcach layouthorizont whint whint flushcach layoutvert hhint hhint flushcach whint whint hhint hhint point comput size control control boolean flush cach int hint swt default hint swt default row data data row data control layout data data null hint data width hint data height return control comput size hint hint flush cach computes flushcach whint hhint rowdata rowdata getlayoutdata whint hhint computes whint hhint flushcach protect void layout composit composit boolean flush cach rectangl client area composit client area type swt horizont layout horizont composit true wrap client area width flush cach layout vertic composit true wrap client area height flush cach flushcach clientarea getclientarea layouthorizont clientarea flushcach layoutvert clientarea flushcach point layout horizont composit composit boolean move boolean wrap int width boolean flush cach control children composit children int count children length int child width 0 child height 0 max height 0 pack int 0 count control child children point size comput size child flush cach child width math max child width size child height math max child height size max height child height int clientx 0 clienti 0 move rectangl rect composit client area clientx rect clienti rect int wrap null boolean wrap fals rectangl bound null move justifi fill bound rectangl count wrap int count int maxx 0 margin left margin width margin top margin height int 0 count control child children pack point size comput size child flush cach child width size child height size wrap 0 child width width wrap true move justifi fill wrap 1 max height margin left margin width space max height pack max height 0 pack fill max height math max max height child height move int childx clientx childi clienti justifi fill bound rectangl childx childi child width child height child set bound childx childi child width child height space child width maxx math max maxx maxx math max clientx margin left margin width maxx space wrap maxx margin margin width move justifi fill int space 0 margin 0 wrap space math max 0 width maxx count 1 margin math max 0 width maxx count 1 2 fill justifi int 0 count 0 wrap count 1 max height int 0 count wrap 0 int wrap count 1 justifi int wrapx 0 int j wrapx bound width space space math max 0 width wrapx wrap count 1 margin math max 0 width wrapx wrap count 1 2 int j justifi bound space 1 margin fill bound height wrap 1 int 0 count wrap justifi bound space 1 margin fill bound height max height children set bound bound return point maxx max height margin bottom margin height layouthorizont flushcach getchildren childwidth childheight maxheight computes flushcach childwidth childwidth childheight childheight maxheight childheight getclientarea marginleft marginwidth margintop marginheight computes flushcach childwidth childheight childwidth maxheight marginleft marginwidth maxheight maxheight maxheight maxheight childheight childwidth childheight setbound childwidth childheight childwidth marginleft marginwidth marginright marginwidth maxheight wrapcount wrapcount wrapcount maxheight setbound maxheight marginbottom marginheight point layout vertic composit composit boolean move boolean wrap int height boolean flush cach control children composit children int count children length int child width 0 child height 0 max width 0 pack int 0 count control child children point size comput size child flush cach child width math max child width size child height math max child height size max width child width int clientx 0 clienti 0 move rectangl rect composit client area clientx rect clienti rect int wrap null boolean wrap fals rectangl bound null move justifi fill bound rectangl count wrap int count int maxi 0 margin left margin width margin top margin height int 0 count control child children pack point size comput size child flush cach child width size child height size wrap 0 child height height wrap true move justifi fill wrap 1 max width space max width margin top margin height pack max width 0 pack fill max width math max max width child width move int childx clientx childi clienti justifi fill bound rectangl childx childi child width child height child set bound childx childi child width child height space child height maxi math max maxi maxi math max clienti margin top margin height maxi space wrap maxi margin bottom margin height move justifi fill int space 0 margin 0 wrap space math max 0 height maxi count 1 margin math max 0 height maxi count 1 2 fill justifi int 0 count 0 wrap count 1 max width int 0 count wrap 0 int wrap count 1 justifi int wrapi 0 int j wrapi bound height space space math max 0 height wrapi wrap count 1 margin math max 0 height wrapi wrap count 1 2 int j justifi bound space 1 margin fill bound width wrap 1 int 0 count wrap justifi bound space 1 margin fill bound width max width children set bound bound return point max width margin margin width maxi layoutvert flushcach getchildren childwidth childheight maxwidth computes flushcach childwidth childwidth childheight childheight maxwidth childwidth getclientarea marginleft marginwidth margintop marginheight computes flushcach childwidth childheight childheight maxwidth maxwidth margintop marginheight maxwidth maxwidth maxwidth childwidth childwidth childheight setbound childwidth childheight childheight margintop marginheight marginbottom marginheight maxwidth wrapcount wrapcount wrapcount maxwidth setbound maxwidth marginright marginwidth construct instanc class print default printer except swt error ul li error handl error occur construct default printer data li ul public printer data swterror error_no_handl printerdata construct instanc class printer driver printer param driver printer driver printer param the printer except swt error ul li error handl valid printer ul driver public printer data string driver string driver driver name swterror error_no_handl printerdata return string concis human readabl descript receiv return string represent receiv public string string return printer data driver driver name non nl 1 non nl 2 non nl 3 non nl 4 tostr printerdata answer concis human readabl descript error code param code swt error code return descript error code swt static string find error text int code switch code case error unspecifi return unspecifi error non nl 1 case error handl return handl non nl 1 case error callback return callback non nl 1 case error null argument return argument null non nl 1 case error invalid argument return argument valid non nl 1 case error invalid rang return index bound non nl 1 case error return argument non nl 1 case error item return item non nl 1 case error select return select non nl 1 case error item height return item height non nl 1 case error text return text non nl 1 case error set text return set text non nl 1 case error item ad return item ad non nl 1 case error item remov return item remov non nl 1 case error implement return implement non nl 1 case error menu drop return menu drop non nl 1 case error thread invalid access return invalid thread access non nl 1 case error widget dispos return widget dispos non nl 1 case error menuitem cascad return menu item cascad non nl 1 case error set select return set select non nl 1 case error set menu return set menu non nl 1 case error set enabl return set enabl non nl 1 case error enabl return enabl non nl 1 case error invalid parent return widget wrong parent non nl 1 case error menu bar return menu bar non nl 1 case error count return count non nl 1 case error menu pop return menu pop non nl 1 case error unsupport depth return unsupport color depth non nl 1 case error io return error non nl 1 case error invalid imag return invalid imag non nl 1 case error unsupport format return unsupport unrecogn format non nl 1 case error invalid subclass return subclass allow non nl 1 case error graphic dispos return graphic dispos non nl 1 case error devic dispos return devic dispos non nl 1 case error fail exec return fail execut runnabl non nl 1 case error fail load librari return unabl load librari non nl 1 return unknown error non nl 1 finderrortext error_unspecifi error_no_handl error_no_more_callback error_null_argument error_invalid_argument error_invalid_rang error_cannot_be_zero error_cannot_get_item error_cannot_get_select error_cannot_get_item_height error_cannot_get_text error_cannot_set_text error_item_not_ad error_item_not_remov error_not_implement error_menu_not_drop_down error_thread_invalid_access error_widget_dispos error_menuitem_not_cascad error_cannot_set_select error_cannot_set_menu error_cannot_set_enabl error_cannot_get_enabl error_invalid_parent error_menu_not_bar error_cannot_get_count error_menu_not_pop_up pop_up error_unsupport_depth error_io error_invalid_imag error_unsupport_format error_invalid_subclass error_graphic_dispos error_devic_dispos error_fail_exec error_fail_load_librari return nl ed messag argument param kei kei look return messag kei except illeg argument except ul li error null argument kei null li ul public static string messag string kei return compat messag kei illegalargumentexcept error_null_argument getmessag getmessag return swt platform exampl win32 motif gtk photon carbon return swt platform public static string platform return librari platform getplatform getplatform return swt version number integ swt051 51 return swt version number public static int version return librari version getvers getvers throw except base pass error code param code swt error code public static void error int code error code null throw except base pass error code code throwabl code argument null throwabl caus swt throw except swt error report throw except dl dd java lang illeg argument except dd dt thrown api method invok illeg argument dt dd org eclips swt swt except extend java lang runtim except dd dt thrown recover error happen intern swt dt dd org eclips swt swt error extend java lang error dd dt thrown non recover error happen intern swt dt dl method logic map error code except param code swt error code param throwabl except caus error occur swt error swt except illeg argument except public static void error int code throwabl throwabl error code throwabl null illegalargumentexcept swtexcept runtimeexcept swterror swterror swtexcept illegalargumentexcept throw except base pass error code code throwabl code argument null throwabl caus swt throw except swt error report throw except dl dd java lang illeg argument except dd dt thrown api method invok illeg argument dt dd org eclips swt swt except extend java lang runtim except dd dt thrown recover error happen intern swt dt dd org eclips swt swt error extend java lang error dd dt thrown non recover error happen intern swt dt dl method logic map error code except param code swt error code param throwabl except caus error occur param detail inform error swt error swt except illeg argument except 3 0 public static void error int code throwabl throwabl string detail code prevent creation chain swt error swt except turn swt error swt except throwabl occur low level code throw except past point higher layer safe catch except note bad thing try avoid theori low level code closest origin problem simpli re throw origin except throwabl instanceof swt error throw swt error throwabl throwabl instanceof swt except throw swt except throwabl string messag find error text code detail null messag detail switch code illeg argument non fatal case error null argument case error case error invalid argument case error menu bar case error menu drop case error menu pop case error menuitem cascad case error invalid parent case error invalid rang throw illeg argument except messag swt error non fatal case error invalid subclass case error thread invalid access case error widget dispos case error graphic dispos case error devic dispos case error invalid imag case error unsupport depth case error unsupport format case error fail exec case error io swt except except swt except code messag except throwabl throwabl throw except os failur limit fatal occur platform case error count case error enabl case error item case error item height case error select case error text case error set enabl case error set menu case error set select case error set text case error item ad case error item remov case error handl fall swt failur limit fatal occur platform case error fail load librari case error callback case error implement case error unspecifi swt error error swt error code messag error throwabl throwabl throw error unknown undefin error swt error error swt error code messag error throwabl throwabl throw error illegalargumentexcept swtexcept runtimeexcept swterror swterror swtexcept illegalargumentexcept swterror swtexcept swterror swtexcept _a_bad_thing_ swterror swterror swtexcept swtexcept finderrortext error_null_argument error_cannot_be_zero error_invalid_argument error_menu_not_bar error_menu_not_drop_down error_menu_not_pop_up error_menuitem_not_cascad error_invalid_parent error_invalid_rang illegalargumentexcept error_invalid_subclass error_thread_invalid_access error_widget_dispos error_graphic_dispos error_devic_dispos error_invalid_imag error_unsupport_depth error_unsupport_format error_fail_exec error_io swtexcept swtexcept error_cannot_get_count error_cannot_get_enabl error_cannot_get_item error_cannot_get_item_height error_cannot_get_select error_cannot_get_text error_cannot_set_enabl error_cannot_set_menu error_cannot_set_select error_cannot_set_text error_item_not_ad error_item_not_remov error_no_handl error_fail_load_librari error_no_more_callback error_not_implement error_unspecifi swterror swterror swterror swterror construct instanc class stack trace fill error code set unspecifi public swt error swt error unspecifi swterror error_unspecifi construct instanc class stack trace messag fill error code set unspecifi param messag detail messag except public swt error string messag swt error unspecifi messag swterror error_unspecifi construct instanc class stack trace error code fill param code swt error code public swt error int code code swt find error text code swterror finderrortext construct instanc class stack trace error code messag fill param code swt error code param messag detail messag except public swt error int code string messag super messag code code swterror return string describ swt error object combin messag string throwabl caus swt error inform return error messag string swt error object public string messag throwabl null return super messag return super messag throwabl string non nl 1 non nl 2 swterror swterror swterror getmessag getmessag getmessag tostr output printabl represent error stack trace standard error stream note print stack trace print stream print stack trace print writer provid order maintain compat cldc public synchron void print stack trace super print stack trace throwabl null system err println stack trace contain error non nl 1 throwabl print stack trace printstacktrac printstream printstacktrac printwrit printstacktrac printstacktrac printstacktrac construct instanc class stack trace fill error code set unspecifi public swt except swt error unspecifi swtexcept error_unspecifi construct instanc class stack trace messag fill error code set unspecifi param messag detail messag except public swt except string messag swt error unspecifi messag swtexcept error_unspecifi construct instanc class stack trace error code fill param code swt error code public swt except int code code swt find error text code swtexcept finderrortext construct instanc class stack trace error code messag fill param code swt error code param messag detail messag except public swt except int code string messag super messag code code swtexcept return string describ swt except object combin messag string throwabl caus swt except inform return error messag string swt except object public string messag throwabl null return super messag return super messag throwabl string non nl 1 non nl 2 swtexcept swtexcept swtexcept getmessag getmessag getmessag tostr output printabl represent except stack trace standard error stream note print stack trace print stream print stack trace print writer provid order maintain compat cldc public void print stack trace super print stack trace throwabl null system err println stack trace contain except non nl 1 throwabl print stack trace printstacktrac printstream printstacktrac printwrit printstacktrac printstacktrac printstacktrac construct instanc class parent param parent shell parent instanc except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul public dialog shell parent parent swt primari modal illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access primari_modal construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent shell parent instanc except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul public dialog shell parent int style check parent parent parent parent style style titl illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access checkpar check class subclass import comment code widget check subclass code except swt except ul li error invalid subclass class allow subclass li ul widget check subclass protect void check subclass displai valid class class error swt error invalid subclass checksubclass swtexcept error_invalid_subclass checksubclass checksubclass isvalidclass getclass error_invalid_subclass throw except widget parent receiv except illeg argument except ul li error null argument parent null li li error invalid argument parent dispos li ul except swt except ul li error thread invalid access call thread creat parent li ul void check parent shell parent parent null error swt error null argument parent check widget illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_thread_invalid_access checkpar error_null_argument checkwidget dialog specif cleanup requir code code swt error error code handl error param code descript error code swt error error void error int code swt error code swterror swterror return receiv parent code shell code null return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public shell parent return parent swtexcept error_widget_dispos error_thread_invalid_access getpar return receiv style inform note return method em match em provid constructor receiv creat return style bit except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int style return style swtexcept error_widget_dispos error_thread_invalid_access getstyl return receiv text string window manag typic displai receiv em titl em text previous set return empti string return text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string text return titl swtexcept error_widget_dispos error_thread_invalid_access gettext set receiv text string window manag typic displai receiv em titl em argument null param text text except illeg argument except ul li error null argument text null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string string string null error swt error null argument titl string illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext error_null_argument bound return rectangl bound public rectangl bound return rectangl width height getbound set bound param x posit param y posit param width width param height height public void set bound rectangl rect rect rect width rect width height rect height setbound return string represent object return string represent object public string string return event type type widget widget x y width width height height non nl 1 non nl 2 non nl 3 non nl 4 non nl 5 non nl 6 non nl 7 tostr public void hook int event type listen listen type null type int 4 listen null listen listen 4 int length type length index length 1 index 0 type index 0 break index index index length level 0 index 0 int 0 type length type 0 type index type listen index listen index int index type length type 0 listen null index length int type int length 4 system arraycopi type 0 type 0 length type type listen listen listen length 4 system arraycopi listen 0 listen 0 length listen listen type index event type listen index listen eventtyp newtyp newtyp newtyp newlisten newlisten newlisten eventtyp public boolean hook int event type type null return fals int 0 type length type event type return true return fals eventtyp eventtyp public void send event event event type null return level try int 0 type length event type swt return type event type listen listen listen listen null listen handl event event final level sendev handleev public int size type null return 0 int count 0 int 0 type length type 0 count return count void remov int index level 0 int end type length 1 system arraycopi type index 1 type index end index system arraycopi listen index 1 listen index end index index end type index 0 listen index null public void unhook int event type listen listen type null return int 0 type length type event type listen listen remov return eventtyp eventtyp public void unhook int event type swt event listen listen type null return int 0 type length type event type listen instanceof type listen type listen type listen type listen listen type listen event listen listen remov return eventtyp swteventlisten eventtyp typedlisten typedlisten typedlisten typedlisten typedlisten geteventlisten construct instanc class parent style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style item construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt style public item widget parent int style super parent style text illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl construct instanc class parent style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent widget parent instanc null param style style item construct param index index store receiv parent except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul swt style public item widget parent int style int index parent style illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access getstyl protect void check subclass subclass allow checksubclass return receiv imag null return receiv imag except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public imag imag check widget return imag swtexcept error_widget_dispos error_thread_invalid_access getimag checkwidget string text return text getnametext gettext return receiv text empti string set return receiv text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string text check widget return text swtexcept error_widget_dispos error_thread_invalid_access gettext checkwidget void releas widget super releas widget text null imag null releasewidget releasewidget set receiv imag argument null indic imag displai param imag imag displai receiv null except illeg argument except ul li error invalid argument imag dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set imag imag imag check widget imag null imag dispos error swt error invalid argument imag imag illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setimag checkwidget isdispos error_invalid_argument set receiv text param string text except illeg argument except ul li error null argument text null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set text string string check widget string null error swt error null argument text string illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access settext checkwidget error_null_argument comput return size composit client area accord layout method comput minimum size client area composit order posit children minimum size insid composit accord layout algorithm encod layout p width height hint suppli constrain result width hint provid minimum width client area layout choos wrap increas height clip overlap constrain children param composit composit widget layout param hint width code swt default code minimum param hint height code swt default code minimum param flush cach code true code mean flush cach layout valu return point comput size width height layout control border width control bound control size control pack comput trim client area control implement whint hhint flushcach getborderwidth getbound getsiz computetrim getclientarea lai children composit accord layout method posit size children composit layout algorithm encod layout children composit posit client area composit posit composit alter method p flush cach hint true layout instruct flush cach valu children typic layout cach prefer size children avoid expens comput valu widget lai p layout trigger explicitli programm flush cach hint true layout trigger resiz caus programm user hint fals param composit composit widget layout param flush cach code true code mean flush cach layout valu flushcach event receiv regist occur param event event occur prevent uniniti instanc creat packag monitor public boolean equal object object object return true object instanceof monitor return fals monitor monitor monitor object return handl monitor handl return rectangl describ receiv size locat rel devic return receiv bound rectangl public rectangl bound return rectangl width height getbound return rectangl describ area receiv capabl displai data return client area public rectangl client area return rectangl clientx clienti client width client height getclientarea clientwidth clientheight public int hash code return handl hashcod throwabl throwabl runnabl lock runnabl runnabl runnabl runnabl runnablelock boolean return runnabl null throwabl null void run runnabl null runnabl run runnabl null thread sync thread public synchron displai displai displai displai syncthread void add runnabl lock lock synchron messag lock messag null messag runnabl lock 4 messag count messag length runnabl lock messag runnabl lock messag count 4 system arraycopi messag 0 messag 0 messag count messag messag messag messag count lock messag count 1 displai wake thread addlast runnablelock messagelock runnablelock messagecount runnablelock newmessag runnablelock messagecount newmessag messagecount newmessag messagecount messagecount wakethread code run code method runnabl invok user interfac thread reason opportun caller method continu run parallel notifi runnabl complet param runnabl code run user interfac thread sync exec protect void async exec runnabl runnabl runnabl null displai wake return add runnabl lock runnabl syncexec asyncexec addlast runnablelock int messag count return messag count getmessagecount messagecount void releas synchron displai null messag null messag lock null sync thread null releasesynchron messagelock syncthread runnabl lock remov synchron messag lock messag count 0 return null runnabl lock lock messag 0 system arraycopi messag 1 messag 0 messag count messag messag count null messag count 0 messag null return lock runnablelock removefirst messagelock messagecount runnablelock messagecount messagecount messagecount boolean run async messag messag count 0 return fals runnabl lock lock remov lock null return true synchron lock sync thread lock thread try lock run catch throwabl lock throwabl swt error swt error fail exec final sync thread null lock notifi return true runasyncmessag messagecount runnablelock removefirst syncthread error_fail_exec syncthread notifyal code run code method runnabl invok user interfac thread reason opportun thread call method suspend runnabl complet param runnabl code run user interfac thread except swt except ul li error fail exec except occur execut runnabl li ul async exec protect void sync exec runnabl runnabl displai valid thread runnabl null runnabl run return runnabl null displai wake return runnabl lock lock runnabl lock runnabl rememb sync thread sync exec lock thread thread current thread synchron lock add lock boolean interrupt fals lock try lock wait catch interrupt except interrupt true interrupt compat interrupt lock throwabl null swt error swt error fail exec lock throwabl swtexcept error_fail_exec asyncexec syncexec isvalidthread runnablelock runnablelock syncthread syncexec currentthread addlast interruptedexcept error_fail_exec trai displai displai int style displai null displai displai current displai null displai displai default displai valid thread error swt error thread invalid access displai displai getcurr getdefault isvalidthread error_thread_invalid_access void creat item trai item item int index 0 index index item count error swt error invalid rang item count item length trai item item trai item item length 4 system arraycopi item 0 item 0 item length item item system arraycopi item index item index 1 item count index item index item createitem trayitem itemcount error_invalid_rang itemcount trayitem newitem trayitem newitem newitem itemcount void destroi item trai item item int index 0 index item count item index item break index index item count return system arraycopi item index 1 item index item count index item item count null destroyitem trayitem itemcount itemcount itemcount itemcount return item rel index receiv throw except index rang param index index item return return item index except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public trai item item int index check widget 0 index index item count error swt error invalid rang return item index illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access trayitem getitem checkwidget itemcount error_invalid_rang return number item contain receiv return number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int item count check widget return item count swtexcept error_widget_dispos error_thread_invalid_access getitemcount checkwidget itemcount return arrai code trai item code item receiv note actual structur receiv maintain list item modifi arrai affect receiv return item receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public trai item item check widget trai item result trai item item count system arraycopi item 0 result 0 result length return result trayitem swtexcept error_widget_dispos error_thread_invalid_access trayitem getitem checkwidget trayitem trayitem itemcount void releas child super releas child displai trai displai trai null releasechild releasechild void releas widget int 0 item length trai item item item item null item dispos item releas resourc item null super releas widget releasewidget trayitem isdispos releaseresourc releasewidget construct instanc class event listen import method em em part swt public api mark public share packag provid swt referenc applic code param listen event listen store receiv public type listen swt event listen listen event listen listen typedlisten swteventlisten eventlisten return receiv event listen import method em em part swt public api mark public share packag provid swt referenc applic code return receiv event listen public swt event listen event listen return event listen swteventlisten geteventlisten eventlisten handl event import method em em part swt public api mark public share packag provid swt referenc applic code public void handl event event switch type case swt paint field set control paint event event paint event paint listen event listen paint control event gc event gc break case swt select field set sash select event event select event select listen event listen widget select event event event doit event doit break case swt default select select listen event listen widget default select select event break case swt dispos dispos listen event listen widget dispos dispos event break case swt focu focu listen event listen focu gain focu event break case swt focu focu listen event listen focu lost focu event break case swt hide menu listen event listen menu hidden menu event break case swt show menu listen event listen menu shown menu event break case swt kei kei event event kei event kei listen event listen kei press event doit event doit break case swt kei kei event event kei event kei listen event listen kei releas event doit event doit break case swt mous mous listen event listen mous mous event break case swt mous mous listen event listen mous mous event break case swt mous doubl click mous listen event listen mous doubl click mous event break case swt mous move mous move listen event listen mous move mous event return case swt resiz control listen event listen control resiz control event break case swt move control listen event listen control move control event break case swt close field set decor shell event event shell event shell listen event listen shell close event doit event doit break case swt activ shell listen event listen shell activ shell event break case swt deactiv shell listen event listen shell deactiv shell event break case swt iconifi shell listen event listen shell iconifi shell event break case swt deiconifi shell listen event listen shell deiconifi shell event break case swt expand tree listen event listen tree expand tree event break case swt collaps tree listen event listen tree collaps tree event break case swt modifi modifi listen event listen modifi text modifi event break case swt verifi field set text rich text verifi event event verifi event verifi listen event listen verifi text event text event text doit event doit break case swt help help listen event listen help request help event break case swt arm arm listen event listen widget arm arm event break case swt mous exit mous track listen event listen mous exit mous event break case swt mous enter mous track listen event listen mous enter mous event break case swt mous hover mous track listen event listen mous hover mous event break case swt travers field set control travers event event travers event travers listen event listen kei travers event detail event detail doit event doit break handleev paintev paintev paintlisten eventlisten paintcontrol selectionev selectionev selectionlisten eventlisten widgetselect defaultselect selectionlisten eventlisten widgetdefaultselect selectionev disposelisten eventlisten widgetdispos disposeev focusin focuslisten eventlisten focusgain focusev focusout focuslisten eventlisten focuslost focusev menulisten eventlisten menuhidden menuev menulisten eventlisten menushown menuev keydown keyev keyev keylisten eventlisten keypress keyup keyev keyev keylisten eventlisten keyreleas mousedown mouselisten eventlisten mousedown mouseev mouseup mouselisten eventlisten mouseup mouseev mousedoubleclick mouselisten eventlisten mousedoubleclick mouseev mousemov mousemovelisten eventlisten mousemov mouseev controllisten eventlisten controlres controlev controllisten eventlisten controlmov controlev shellev shellev shelllisten eventlisten shellclos shelllisten eventlisten shellactiv shellev shelllisten eventlisten shelldeactiv shellev shelllisten eventlisten shelliconifi shellev shelllisten eventlisten shelldeiconifi shellev treelisten eventlisten treeexpand treeevent treelisten eventlisten treecollaps treeevent modifylisten eventlisten modifytext modifyev richtext verifyev verifyev verifylisten eventlisten verifytext helplisten eventlisten helprequest helpev armlisten eventlisten widgetarm armev mouseexit mousetracklisten eventlisten mouseexit mouseev mouseent mousetracklisten eventlisten mouseent mouseev mousehov mousetracklisten eventlisten mousehov mouseev traverseev traverseev traverselisten eventlisten keytravers public class absent inform except extend except public absent inform except absentinformationexcept absentinformationexcept public class absent inform except extend except public absent inform except public absent inform except string arg1 super arg1 absentinformationexcept absentinformationexcept absentinformationexcept public interfac access public boolean packag privat ispackagepriv public interfac access public boolean packag privat public boolean privat ispackagepriv ispriv public boolean packag privat public boolean privat public boolean protect ispackagepriv ispriv isprotect public boolean privat public boolean protect public boolean public ispriv isprotect ispubl public interfac arrai refer extend object refer public valu int arg1 arrayrefer objectrefer getvalu public interfac arrai refer extend object refer public valu int arg1 public list valu arrayrefer objectrefer getvalu getvalu public valu int arg1 public list valu public list valu int arg1 int arg2 getvalu getvalu getvalu public list valu public list valu int arg1 int arg2 public int length getvalu getvalu public list valu int arg1 int arg2 public int length public void set int arg1 arg2 throw invalid type except class load except getvalu setvalu invalidtypeexcept classnotloadedexcept public int length public void set int arg1 arg2 throw invalid type except class load except public void set valu int arg1 list arg2 int arg3 int arg4 throw invalid type except class load except setvalu invalidtypeexcept classnotloadedexcept setvalu invalidtypeexcept classnotloadedexcept public void set int arg1 arg2 throw invalid type except class load except public void set valu int arg1 list arg2 int arg3 int arg4 throw invalid type except class load except public void set valu list arg1 throw invalid type except class load except setvalu invalidtypeexcept classnotloadedexcept setvalu invalidtypeexcept classnotloadedexcept setvalu invalidtypeexcept classnotloadedexcept public interfac arrai type extend refer type public string compon signatur arraytyp referencetyp componentsignatur public interfac arrai type extend refer type public string compon signatur public type compon type throw class load except arraytyp referencetyp componentsignatur componenttyp classnotloadedexcept public string compon signatur public type compon type throw class load except public string compon type componentsignatur componenttyp classnotloadedexcept componenttypenam public type compon type throw class load except public string compon type public arrai refer instanc int arg1 componenttyp classnotloadedexcept componenttypenam arrayrefer newinst public interfac boolean extend primit public boolean equal object arg1 booleanvalu primitivevalu public interfac boolean extend primit public boolean equal object arg1 public int hash code booleanvalu primitivevalu hashcod public boolean equal object arg1 public int hash code public boolean hashcod public class bootstrap public virtual machin manag virtual machin manag return null virtualmachinemanag virtualmachinemanag public interfac byte extend primit compar public boolean equal object arg1 bytevalu primitivevalu public interfac byte extend primit compar public boolean equal object arg1 public int hash code bytevalu primitivevalu hashcod public boolean equal object arg1 public int hash code public byte hashcod public interfac char extend primit compar public boolean equal object arg1 charvalu primitivevalu public interfac char extend primit compar public boolean equal object arg1 public int hash code charvalu primitivevalu hashcod public boolean equal object arg1 public int hash code public char hashcod public interfac class loader refer extend object refer public list defin class classloaderrefer objectrefer definedclass public interfac class loader refer extend object refer public list defin class public list visibl class classloaderrefer objectrefer definedclass visibleclass public class class load except extend except public class load except string class name class classnotloadedexcept classnotloadedexcept classnam classnam public class load except string class string msg super msg class classnotloadedexcept classnam classnam public string class return classnam public class class prepar except extend runtim except public class prepar except classnotpreparedexcept runtimeexcept classnotpreparedexcept public class class prepar except extend runtim except public class prepar except public class prepar except string arg1 super arg1 classnotpreparedexcept runtimeexcept classnotpreparedexcept classnotpreparedexcept public abstract interfac class object refer extend object refer public abstract refer type reflect type classobjectrefer objectrefer referencetyp reflectedtyp public interfac class type extend refer type public static final int invok singl thread 1 public list interfac classtyp referencetyp invok_singl_thread allinterfac public static final int invok singl thread 1 public list interfac public method concret method string arg1 string arg2 invok_singl_thread allinterfac concretemethodbynam public list interfac public method concret method string arg1 string arg2 public list interfac allinterfac concretemethodbynam public method concret method string arg1 string arg2 public list interfac public invok method thread refer arg1 method arg2 list arg3 int arg4 throw invalid type except class load except incompat thread except invoc except concretemethodbynam invokemethod threadrefer invalidtypeexcept classnotloadedexcept incompatiblethreadstateexcept invocationexcept public list interfac public invok method thread refer arg1 method arg2 list arg3 int arg4 throw invalid type except class load except incompat thread except invoc except public boolean enum invokemethod threadrefer invalidtypeexcept classnotloadedexcept incompatiblethreadstateexcept invocationexcept isenum public invok method thread refer arg1 method arg2 list arg3 int arg4 throw invalid type except class load except incompat thread except invoc except public boolean enum public object refer instanc thread refer arg1 method arg2 list arg3 int arg4 throw invalid type except class load except incompat thread except invoc except invokemethod threadrefer invalidtypeexcept classnotloadedexcept incompatiblethreadstateexcept invocationexcept isenum objectrefer newinst threadrefer invalidtypeexcept classnotloadedexcept incompatiblethreadstateexcept invocationexcept public boolean enum public object refer instanc thread refer arg1 method arg2 list arg3 int arg4 throw invalid type except class load except incompat thread except invoc except public void set field arg1 arg2 throw invalid type except class load except isenum objectrefer newinst threadrefer invalidtypeexcept classnotloadedexcept incompatiblethreadstateexcept invocationexcept setvalu invalidtypeexcept classnotloadedexcept public object refer instanc thread refer arg1 method arg2 list arg3 int arg4 throw invalid type except class load except incompat thread except invoc except public void set field arg1 arg2 throw invalid type except class load except public list subclass objectrefer newinst threadrefer invalidtypeexcept classnotloadedexcept incompatiblethreadstateexcept invocationexcept setvalu invalidtypeexcept classnotloadedexcept public void set field arg1 arg2 throw invalid type except class load except public list subclass public class type superclass setvalu invalidtypeexcept classnotloadedexcept classtyp public interfac attach connector extend connector public virtual machin attach map arg1 throw io except illeg connector argument except attachingconnector virtualmachin ioexcept illegalconnectorargumentsexcept public interfac connector public map default argument defaultargu public interfac connector public map default argument public transport transport defaultargu public map default argument public transport transport public string defaultargu public transport transport public string public string descript public interfac argument extend serializ public string public interfac argument extend serializ public string public string label public string public string label public string descript public string label public string descript public boolean valid string arg1 isvalid public string descript public boolean valid string arg1 public string isvalid public boolean valid string arg1 public string public void set string arg1 isvalid setvalu public string public void set string arg1 public boolean setvalu mustspecifi public interfac integ argument extend connector argument public void set int arg1 integerargu setvalu public interfac integ argument extend connector argument public void set int arg1 public boolean valid int arg1 integerargu setvalu isvalid public void set int arg1 public boolean valid int arg1 public string string int arg1 setvalu isvalid stringvalueof public boolean valid int arg1 public string string int arg1 public int int isvalid stringvalueof intvalu public string string int arg1 public int int public int max stringvalueof intvalu public int int public int max public int min intvalu public interfac boolean argument extend connector argument public void set boolean arg1 booleanargu setvalu public interfac boolean argument extend connector argument public void set boolean arg1 public boolean valid string arg1 booleanargu setvalu isvalid public void set boolean arg1 public boolean valid string arg1 public string string boolean arg1 setvalu isvalid stringvalueof public boolean valid string arg1 public string string boolean arg1 public boolean boolean isvalid stringvalueof booleanvalu public interfac select argument extend connector argument public list choic selectedargu public interfac select argument extend connector argument public list choic public boolean valid string arg1 selectedargu isvalid list name public illeg connector argument except string messag list arg name super messag name arg name fname illegalconnectorargumentsexcept argnam fname argnam public illeg connector argument except string messag string arg super messag name arrai list 1 name add arg illegalconnectorargumentsexcept argnam fname arraylist fname argnam public list argument name return name argumentnam fname public interfac launch connector extend connector public virtual machin launch java util map arg1 throw io except illeg connector argument except vm start except launchingconnector virtualmachin ioexcept illegalconnectorargumentsexcept vmstartexcept public interfac listen connector extend connector public virtual machin accept map arg1 throw io except illeg connector argument except listeningconnector virtualmachin ioexcept illegalconnectorargumentsexcept public interfac listen connector extend connector public virtual machin accept map arg1 throw io except illeg connector argument except public string start listen map arg1 throw io except illeg connector argument except listeningconnector virtualmachin ioexcept illegalconnectorargumentsexcept startlisten ioexcept illegalconnectorargumentsexcept public virtual machin accept map arg1 throw io except illeg connector argument except public string start listen map arg1 throw io except illeg connector argument except public void stop listen map arg1 throw io except illeg connector argument except virtualmachin ioexcept illegalconnectorargumentsexcept startlisten ioexcept illegalconnectorargumentsexcept stoplisten ioexcept illegalconnectorargumentsexcept public string start listen map arg1 throw io except illeg connector argument except public void stop listen map arg1 throw io except illeg connector argument except public boolean support multipl connect throw io except illeg connector argument except startlisten ioexcept illegalconnectorargumentsexcept stoplisten ioexcept illegalconnectorargumentsexcept supportsmultipleconnect ioexcept illegalconnectorargumentsexcept public class close connect except extend io except public close connect except closedconnectionexcept ioexcept closedconnectionexcept public close connect except public close connect except string arg1 super arg1 closedconnectionexcept closedconnectionexcept public abstract class connect public abstract void close throw io except ioexcept public abstract class connect public abstract void close throw io except public abstract boolean open ioexcept isopen public abstract void close throw io except public abstract boolean open public abstract byte read packet throw io except ioexcept isopen readpacket ioexcept public abstract boolean open public abstract byte read packet throw io except public abstract void write packet byte arg1 throw io except isopen readpacket ioexcept writepacket ioexcept public abstract class transport servic public abstract static class capabl public abstract boolean support accept timeout transportservic supportsaccepttimeout public abstract static class capabl public abstract boolean support accept timeout public abstract boolean support attach timeout supportsaccepttimeout supportsattachtimeout public abstract boolean support accept timeout public abstract boolean support attach timeout public abstract boolean support handshak timeout supportsaccepttimeout supportsattachtimeout supportshandshaketimeout public abstract boolean support attach timeout public abstract boolean support handshak timeout public abstract boolean support multipl connect supportsattachtimeout supportshandshaketimeout supportsmultipleconnect public abstract static class listen kei public abstract string address listenkei public abstract string address public abstract connect accept transport servic listen kei arg1 arg2 arg3 throw io except transportservic listenkei ioexcept public abstract connect accept transport servic listen kei arg1 arg2 arg3 throw io except public abstract connect attach string arg1 arg2 arg3 throw io except transportservic listenkei ioexcept ioexcept public abstract connect accept transport servic listen kei arg1 arg2 arg3 throw io except public abstract connect attach string arg1 arg2 arg3 throw io except public abstract transport servic capabl capabl transportservic listenkei ioexcept ioexcept transportservic public abstract connect attach string arg1 arg2 arg3 throw io except public abstract transport servic capabl capabl public abstract string descript ioexcept transportservic public abstract transport servic capabl capabl public abstract string descript public abstract string transportservic public abstract string descript public abstract string public abstract transport servic listen kei start listen throw io except transportservic listenkei startlisten ioexcept public abstract string public abstract transport servic listen kei start listen throw io except public abstract transport servic listen kei start listen string arg1 throw io except transportservic listenkei startlisten ioexcept transportservic listenkei startlisten ioexcept public abstract transport servic listen kei start listen throw io except public abstract transport servic listen kei start listen string arg1 throw io except public abstract void stop listen transport servic listen kei arg1 throw io except transportservic listenkei startlisten ioexcept transportservic listenkei startlisten ioexcept stoplisten transportservic listenkei ioexcept public interfac transport public string public class transport timeout except extend io except public transport timeout except transporttimeoutexcept ioexcept transporttimeoutexcept public transport timeout except public transport timeout except string arg1 super arg1 transporttimeoutexcept transporttimeoutexcept process process public vm start except process proc process proc fprocess vmstartexcept fprocess public vm start except string str process proc super str process proc vmstartexcept fprocess public process process return process fprocess public interfac doubl extend primit compar public boolean equal object arg1 doublevalu primitivevalu public interfac doubl extend primit compar public boolean equal object arg1 public int hash code doublevalu primitivevalu hashcod public boolean equal object arg1 public int hash code public doubl hashcod public interfac breakpoint event extend locat event public thread refer thread breakpointev locatableev threadrefer public interfac class prepar event extend event public refer type refer type classprepareev referencetyp referencetyp public interfac class prepar event extend event public refer type refer type public thread refer thread classprepareev referencetyp referencetyp threadrefer public interfac class unload event extend event public string class classunloadev classnam public interfac class unload event extend event public string class public string class signatur classunloadev classnam classsignatur public interfac event extend mirror public event request request eventrequest public interfac event iter extend iter public event event eventiter nextev public interfac event queue extend mirror public event set remov throw interrupt except eventqueu eventset interruptedexcept public interfac event queue extend mirror public event set remov throw interrupt except public event set remov arg1 throw interrupt except eventqueu eventset interruptedexcept eventset interruptedexcept public interfac event set extend mirror collect public event iter event iter eventset eventiter eventiter public interfac event set extend mirror collect public event iter event iter public int suspend polici eventset eventiter eventiter suspendpolici public event iter event iter public int suspend polici public void resum eventiter eventiter suspendpolici public interfac except event extend locat event public locat catch locat exceptionev locatableev catchloc public interfac except event extend locat event public locat catch locat public object refer except exceptionev locatableev catchloc objectrefer public locat catch locat public object refer except public thread refer thread catchloc objectrefer threadrefer public abstract interfac locat event extend event locat public abstract thread refer thread locatableev threadrefer public interfac method entri event extend locat event public method method methodentryev locatableev public interfac method entri event extend locat event public method method public thread refer thread methodentryev locatableev threadrefer public interfac method exit event extend locat event public method method methodexitev locatableev public interfac method exit event extend locat event public method method public thread refer thread methodexitev locatableev threadrefer public interfac modif watchpoint event extend watchpoint event public valu modificationwatchpointev watchpointev valuetob public interfac step event extend locat event public thread refer thread stepev locatableev threadrefer public interfac thread death event extend event public thread refer thread threaddeathev threadrefer public interfac thread start event extend event public thread refer thread threadstartev threadrefer public interfac vm start event extend event public thread refer thread vmstartev threadrefer public interfac watchpoint event extend locat event public field field watchpointev locatableev public interfac watchpoint event extend locat event public field field public object refer object watchpointev locatableev objectrefer public field field public object refer object public thread refer thread objectrefer threadrefer public object refer object public thread refer thread public valu current objectrefer threadrefer valuecurr public interfac field extend type compon compar public boolean equal object arg1 typecompon public interfac field extend type compon compar public boolean equal object arg1 public int hash code typecompon hashcod public boolean equal object arg1 public int hash code public boolean enum constant hashcod isenumconst public int hash code public boolean enum constant public boolean transient hashcod isenumconst istransi public boolean enum constant public boolean transient public boolean volatil isenumconst istransi isvolatil public boolean transient public boolean volatil public type type throw class load except istransi isvolatil classnotloadedexcept public boolean volatil public type type throw class load except public string type isvolatil classnotloadedexcept typenam public interfac float extend primit compar public boolean equal object arg1 floatvalu primitivevalu public interfac float extend primit compar public boolean equal object arg1 public int hash code floatvalu primitivevalu hashcod public boolean equal object arg1 public int hash code public float hashcod public class incompat thread except extend except public incompat thread except incompatiblethreadstateexcept incompatiblethreadstateexcept public class incompat thread except extend except public incompat thread except public incompat thread except string arg1 super arg1 incompatiblethreadstateexcept incompatiblethreadstateexcept incompatiblethreadstateexcept public class inconsist debug info except extend runtim except public inconsist debug info except inconsistentdebuginfoexcept runtimeexcept inconsistentdebuginfoexcept public class inconsist debug info except extend runtim except public inconsist debug info except public inconsist debug info except string arg1 super arg1 inconsistentdebuginfoexcept runtimeexcept inconsistentdebuginfoexcept inconsistentdebuginfoexcept public interfac integ extend primit compar public boolean equal object arg1 integervalu primitivevalu public interfac integ extend primit compar public boolean equal object arg1 public int hash code integervalu primitivevalu hashcod public boolean equal object arg1 public int hash code public int hashcod public interfac interfac type extend refer type public list implementor interfacetyp referencetyp public interfac interfac type extend refer type public list implementor public list subinterfac interfacetyp referencetyp public list implementor public list subinterfac public list superinterfac public class intern except extend runtim except public intern except internalexcept runtimeexcept internalexcept public intern except public intern except int error code error error code internalexcept internalexcept errorcod errorcod public intern except java lang string super internalexcept public intern except java lang string int error code super error error code internalexcept errorcod errorcod public int error code return error errorcod public class invalid code index except extend runtim except public invalid code index except invalidcodeindexexcept runtimeexcept invalidcodeindexexcept public class invalid code index except extend runtim except public invalid code index except public invalid code index except string arg1 super arg1 invalidcodeindexexcept runtimeexcept invalidcodeindexexcept invalidcodeindexexcept public class invalid line number except extend runtim except public invalid line number except invalidlinenumberexcept runtimeexcept invalidlinenumberexcept public class invalid line number except extend runtim except public invalid line number except public invalid line number except string arg1 super arg1 invalidlinenumberexcept runtimeexcept invalidlinenumberexcept invalidlinenumberexcept public class invalid stack frame except extend runtim except public invalid stack frame except invalidstackframeexcept runtimeexcept invalidstackframeexcept public class invalid stack frame except extend runtim except public invalid stack frame except public invalid stack frame except string arg1 super arg1 invalidstackframeexcept runtimeexcept invalidstackframeexcept invalidstackframeexcept public class invalid type except extend except public invalid type except invalidtypeexcept invalidtypeexcept public class invalid type except extend except public invalid type except public invalid type except string arg1 super arg1 invalidtypeexcept invalidtypeexcept invalidtypeexcept public class invoc except extend except privat object refer except public invoc except object refer arg1 except arg1 invocationexcept objectrefer invocationexcept objectrefer except arg1 public object refer except return except objectrefer public interfac local variabl extend mirror compar public boolean equal object arg1 localvari public interfac local variabl extend mirror compar public boolean equal object arg1 public string gener signatur localvari genericsignatur public boolean equal object arg1 public string gener signatur public int hash code genericsignatur hashcod public string gener signatur public int hash code public boolean argument genericsignatur hashcod isargu public int hash code public boolean argument public boolean visibl stack frame arg1 hashcod isargu isvis stackfram public boolean argument public boolean visibl stack frame arg1 public string isargu isvis stackfram public boolean visibl stack frame arg1 public string public string signatur isvis stackfram public string public string signatur public com sun jdi type type throw class load except classnotloadedexcept public string signatur public com sun jdi type type throw class load except public string type classnotloadedexcept typenam public interfac locat public locat locat public interfac locat extend mirror compar public code index codeindex public interfac locat extend mirror compar public code index public refer type declar type codeindex referencetyp declaringtyp public code index public refer type declar type public boolean equal object arg1 codeindex referencetyp declaringtyp public refer type declar type public boolean equal object arg1 public int hash code referencetyp declaringtyp hashcod public boolean equal object arg1 public int hash code public int line number hashcod linenumb public int hash code public int line number public method method hashcod linenumb public int line number public method method public string sourc throw absent inform except linenumb sourcenam absentinformationexcept public method method public string sourc throw absent inform except public int line number string stratum sourcenam absentinformationexcept linenumb public string sourc throw absent inform except public int line number string stratum public string sourc string stratum throw absent inform except sourcenam absentinformationexcept linenumb sourcenam absentinformationexcept public int line number string stratum public string sourc string stratum throw absent inform except public string sourc path string stratum throw absent inform except linenumb sourcenam absentinformationexcept sourcepath absentinformationexcept public string sourc string stratum throw absent inform except public string sourc path string stratum throw absent inform except public string sourc path throw absent inform except sourcenam absentinformationexcept sourcepath absentinformationexcept sourcepath absentinformationexcept public interfac extend primit compar public boolean equal object arg1 longvalu primitivevalu public interfac extend primit compar public boolean equal object arg1 public int hash code longvalu primitivevalu hashcod public boolean equal object arg1 public int hash code public hashcod public interfac method extend type compon locat compar public list line locat throw absent inform except typecompon alllineloc absentinformationexcept public interfac method extend type compon locat compar public list line locat throw absent inform except public list argument throw absent inform except typecompon alllineloc absentinformationexcept absentinformationexcept public list line locat throw absent inform except public list argument throw absent inform except public list argument type name alllineloc absentinformationexcept absentinformationexcept argumenttypenam public list argument throw absent inform except public list argument type name public list argument type throw class load except absentinformationexcept argumenttypenam argumenttyp classnotloadedexcept public list argument type name public list argument type throw class load except public byte bytecod argumenttypenam argumenttyp classnotloadedexcept public list argument type throw class load except public byte bytecod public boolean equal object arg1 argumenttyp classnotloadedexcept public byte bytecod public boolean equal object arg1 public int hash code hashcod public boolean equal object arg1 public int hash code public boolean abstract hashcod isabstract public int hash code public boolean abstract public boolean bridg hashcod isabstract isbridg public boolean abstract public boolean bridg public boolean constructor isabstract isbridg isconstructor public boolean bridg public boolean constructor public boolean nativ isbridg isconstructor isn public boolean constructor public boolean nativ public boolean static initi isconstructor isn isstaticiniti public boolean nativ public boolean static initi public boolean synchron isn isstaticiniti issynchron public boolean static initi public boolean synchron public boolean obsolet isstaticiniti issynchron isobsolet public boolean synchron public boolean obsolet public boolean vararg issynchron isobsolet isvararg public boolean obsolet public boolean vararg public locat locat code index arg1 isobsolet isvararg locationofcodeindex public boolean vararg public locat locat code index arg1 public list locat line int arg1 throw absent inform except isvararg locationofcodeindex locationsoflin absentinformationexcept public locat locat code index arg1 public list locat line int arg1 throw absent inform except public type return type throw class load except locationofcodeindex locationsoflin absentinformationexcept returntyp classnotloadedexcept public list locat line int arg1 throw absent inform except public type return type throw class load except public string return type locationsoflin absentinformationexcept returntyp classnotloadedexcept returntypenam public type return type throw class load except public string return type public list variabl throw absent inform except returntyp classnotloadedexcept returntypenam absentinformationexcept public string return type public list variabl throw absent inform except public list variabl string arg1 throw absent inform except returntypenam absentinformationexcept variablesbynam absentinformationexcept public list variabl throw absent inform except public list variabl string arg1 throw absent inform except public list line locat string arg1 string arg2 throw absent inform except absentinformationexcept variablesbynam absentinformationexcept alllineloc absentinformationexcept public list variabl string arg1 throw absent inform except public list line locat string arg1 string arg2 throw absent inform except public list locat line string arg1 string arg2 int arg3 throw absent inform except variablesbynam absentinformationexcept alllineloc absentinformationexcept locationsoflin absentinformationexcept public interfac mirror public string string tostr public interfac mirror public string string public virtual machin virtual machin tostr virtualmachin virtualmachin public class nativ method except extend runtim except public nativ method except nativemethodexcept runtimeexcept nativemethodexcept public class nativ method except extend runtim except public nativ method except public nativ method except string arg1 super arg1 nativemethodexcept runtimeexcept nativemethodexcept nativemethodexcept public class object collect except extend runtim except public object collect except objectcollectedexcept runtimeexcept objectcollectedexcept public class object collect except extend runtim except public object collect except public object collect except string arg1 super arg1 objectcollectedexcept runtimeexcept objectcollectedexcept objectcollectedexcept public static final int invok singl thread 1 public static final int invok nonvirtu 2 public void disabl collect invok_singl_thread invok_nonvirtu disablecollect public static final int invok nonvirtu 2 public void disabl collect public void enabl collect invok_nonvirtu disablecollect enablecollect public void disabl collect public void enabl collect public int entri count throw incompat thread except disablecollect enablecollect entrycount incompatiblethreadstateexcept public void enabl collect public int entri count throw incompat thread except public boolean equal object arg1 enablecollect entrycount incompatiblethreadstateexcept public int entri count throw incompat thread except public boolean equal object arg1 public valu field arg1 entrycount incompatiblethreadstateexcept getvalu public boolean equal object arg1 public valu field arg1 public map valu java util list arg1 getvalu getvalu public valu field arg1 public map valu java util list arg1 public int hash code getvalu getvalu hashcod public map valu java util list arg1 public int hash code public invok method thread refer arg1 method arg2 list arg3 int arg4 throw invalid type except class load except incompat thread except invoc except getvalu hashcod invokemethod threadrefer invalidtypeexcept classnotloadedexcept incompatiblethreadstateexcept invocationexcept public int hash code public invok method thread refer arg1 method arg2 list arg3 int arg4 throw invalid type except class load except incompat thread except invoc except public boolean collect hashcod invokemethod threadrefer invalidtypeexcept classnotloadedexcept incompatiblethreadstateexcept invocationexcept iscollect public invok method thread refer arg1 method arg2 list arg3 int arg4 throw invalid type except class load except incompat thread except invoc except public boolean collect public thread refer own thread throw incompat thread except public com sun jdi refer type refer type invokemethod threadrefer invalidtypeexcept classnotloadedexcept incompatiblethreadstateexcept invocationexcept iscollect threadrefer owningthread incompatiblethreadstateexcept referencetyp referencetyp public invok method thread refer arg1 method arg2 list arg3 int arg4 throw invalid type except class load except incompat thread except invoc except public boolean collect public thread refer own thread throw incompat thread except public com sun jdi refer type refer type invokemethod threadrefer invalidtypeexcept classnotloadedexcept incompatiblethreadstateexcept invocationexcept iscollect threadrefer owningthread incompatiblethreadstateexcept referencetyp referencetyp public boolean collect public thread refer own thread throw incompat thread except public com sun jdi refer type refer type public void set field arg1 arg2 throw invalid type except class load except iscollect threadrefer owningthread incompatiblethreadstateexcept referencetyp referencetyp setvalu invalidtypeexcept classnotloadedexcept public thread refer own thread throw incompat thread except public com sun jdi refer type refer type public void set field arg1 arg2 throw invalid type except class load except public uniqueid threadrefer owningthread incompatiblethreadstateexcept referencetyp referencetyp setvalu invalidtypeexcept classnotloadedexcept public void set field arg1 arg2 throw invalid type except class load except public uniqueid public list wait thread throw incompat thread except setvalu invalidtypeexcept classnotloadedexcept waitingthread incompatiblethreadstateexcept public abstract interfac path search virtual machin extend virtual machin public abstract list class path pathsearchingvirtualmachin virtualmachin classpath public abstract interfac path search virtual machin extend virtual machin public abstract list class path public abstract list boot class path pathsearchingvirtualmachin virtualmachin classpath bootclasspath public abstract list class path public abstract list boot class path public abstract string base directori classpath bootclasspath basedirectori public interfac primit extend public boolean boolean primitivevalu booleanvalu public interfac primit extend public boolean boolean public byte byte primitivevalu booleanvalu bytevalu public boolean boolean public byte byte public char char booleanvalu bytevalu charvalu public byte byte public char char public doubl doubl bytevalu charvalu doublevalu public char char public doubl doubl public float float charvalu doublevalu floatvalu public doubl doubl public float float public int int doublevalu floatvalu intvalu public float float public int int public long floatvalu intvalu longvalu public int int public long public short short intvalu longvalu shortvalu public interfac refer type extend type compar access public list field referencetyp allfield public interfac refer type extend type compar access public list field public list method referencetyp allfield allmethod public list field public list method public list line locat throw absent inform except allfield allmethod alllineloc absentinformationexcept public list method public list line locat throw absent inform except public class loader refer class loader allmethod alllineloc absentinformationexcept classloaderrefer classload public list line locat throw absent inform except public class loader refer class loader public class object refer class object alllineloc absentinformationexcept classloaderrefer classload classobjectrefer classobject public class loader refer class loader public class object refer class object public boolean equal object arg1 classloaderrefer classload classobjectrefer classobject public class object refer class object public boolean equal object arg1 public boolean fail initi classobjectrefer classobject failedtoiniti public boolean equal object arg1 public boolean fail initi public field field string arg1 failedtoiniti fieldbynam public boolean fail initi public field field string arg1 public list field failedtoiniti fieldbynam public field field string arg1 public list field public string gener signatur fieldbynam genericsignatur public list field public string gener signatur public valu field arg1 genericsignatur getvalu public string gener signatur public valu field arg1 public map valu list arg1 genericsignatur getvalu getvalu public valu field arg1 public map valu list arg1 public int hash code getvalu getvalu hashcod public map valu list arg1 public int hash code public boolean abstract getvalu hashcod isabstract public int hash code public boolean abstract public boolean final hashcod isabstract isfin public boolean abstract public boolean final public boolean initi isabstract isfin isiniti public boolean final public boolean initi public boolean prepar isfin isiniti isprepar public boolean initi public boolean prepar public boolean static isiniti isprepar isstat public boolean prepar public boolean static public boolean verifi isprepar isstat isverifi public boolean static public boolean verifi public list locat line int arg1 throw absent inform except isstat isverifi locationsoflin absentinformationexcept public boolean verifi public list locat line int arg1 throw absent inform except public list method isverifi locationsoflin absentinformationexcept public list locat line int arg1 throw absent inform except public list method public list method string arg1 locationsoflin absentinformationexcept methodsbynam public list method public list method string arg1 public list method string arg1 string arg2 methodsbynam methodsbynam public list method string arg1 public list method string arg1 string arg2 public string methodsbynam methodsbynam public list method string arg1 string arg2 public string public list nest type methodsbynam nestedtyp public string public list nest type public string sourc throw absent inform except nestedtyp sourcenam absentinformationexcept public list nest type public string sourc throw absent inform except public list visibl field nestedtyp sourcenam absentinformationexcept visiblefield public string sourc throw absent inform except public list visibl field public list visibl method sourcenam absentinformationexcept visiblefield visiblemethod public list visibl field public list visibl method public list sourc name string arg1 throw absent inform except visiblefield visiblemethod sourcenam absentinformationexcept public list visibl method public list sourc name string arg1 throw absent inform except public list sourc path string arg1 throw absent inform except visiblemethod sourcenam absentinformationexcept sourcepath absentinformationexcept public list sourc name string arg1 throw absent inform except public list sourc path string arg1 throw absent inform except public string sourc debug extens throw absent inform except sourcenam absentinformationexcept sourcepath absentinformationexcept sourcedebugextens absentinformationexcept public list sourc path string arg1 throw absent inform except public string sourc debug extens throw absent inform except public list line locat string arg1 string arg2 throw absent inform except sourcepath absentinformationexcept sourcedebugextens absentinformationexcept alllineloc absentinformationexcept public string sourc debug extens throw absent inform except public list line locat string arg1 string arg2 throw absent inform except public list locat line string arg1 string arg2 int arg3 throw absent inform except sourcedebugextens absentinformationexcept alllineloc absentinformationexcept locationsoflin absentinformationexcept public list line locat string arg1 string arg2 throw absent inform except public list locat line string arg1 string arg2 int arg3 throw absent inform except public list strata alllineloc absentinformationexcept locationsoflin absentinformationexcept availablestrata public list locat line string arg1 string arg2 int arg3 throw absent inform except public list strata public string default stratum locationsoflin absentinformationexcept availablestrata defaultstratum public interfac breakpoint request extend event request locat public void add thread filter thread refer arg1 breakpointrequest eventrequest addthreadfilt threadrefer public interfac breakpoint request extend event request locat public void add thread filter thread refer arg1 public locat locat breakpointrequest eventrequest addthreadfilt threadrefer public void add thread filter thread refer arg1 public locat locat public void add instanc filter object refer instanc addthreadfilt threadrefer addinstancefilt objectrefer public interfac class prepar request extend event request public void add class exclus filter string arg1 classpreparerequest eventrequest addclassexclusionfilt public interfac class prepar request extend event request public void add class exclus filter string arg1 public void add class filter refer type arg1 classpreparerequest eventrequest addclassexclusionfilt addclassfilt referencetyp public void add class exclus filter string arg1 public void add class filter refer type arg1 public void add class filter string arg1 addclassexclusionfilt addclassfilt referencetyp addclassfilt public interfac class unload request extend event request public void add class exclus filter string arg1 classunloadrequest eventrequest addclassexclusionfilt public interfac class unload request extend event request public void add class exclus filter string arg1 public void add class filter string arg1 classunloadrequest eventrequest addclassexclusionfilt addclassfilt public class duplic request except extend runtim except public duplic request except duplicaterequestexcept runtimeexcept duplicaterequestexcept public class duplic request except extend runtim except public duplic request except public duplic request except string messag super messag duplicaterequestexcept runtimeexcept duplicaterequestexcept duplicaterequestexcept public static final int suspend event thread 1 public static final int suspend 2 public void add count filter int arg1 throw invalid request except suspend_event_thread suspend_all addcountfilt invalidrequeststateexcept public static final int suspend 2 public void add count filter int arg1 throw invalid request except public void disabl suspend_all addcountfilt invalidrequeststateexcept public void add count filter int arg1 throw invalid request except public void disabl public void enabl addcountfilt invalidrequeststateexcept public void disabl public void enabl public boolean enabl isen public void enabl public boolean enabl public void set enabl boolean arg1 isen seten public boolean enabl public void set enabl boolean arg1 public void set suspend polici int arg1 isen seten setsuspendpolici public void set enabl boolean arg1 public void set suspend polici int arg1 public int suspend polici seten setsuspendpolici suspendpolici public void set suspend polici int arg1 public int suspend polici public object properti object kei setsuspendpolici suspendpolici getproperti public int suspend polici public object properti object kei public void put properti object kei object suspendpolici getproperti putproperti public interfac event request manag extend mirror public list access watchpoint request eventrequestmanag accesswatchpointrequest public interfac event request manag extend mirror public list access watchpoint request public list breakpoint request eventrequestmanag accesswatchpointrequest breakpointrequest public list access watchpoint request public list breakpoint request public list class prepar request accesswatchpointrequest breakpointrequest classpreparerequest public list breakpoint request public list class prepar request public list class unload request breakpointrequest classpreparerequest classunloadrequest public list class prepar request public list class unload request public access watchpoint request creat access watchpoint request field arg1 classpreparerequest classunloadrequest accesswatchpointrequest createaccesswatchpointrequest public list class unload request public access watchpoint request creat access watchpoint request field arg1 public breakpoint request creat breakpoint request locat arg1 classunloadrequest accesswatchpointrequest createaccesswatchpointrequest breakpointrequest createbreakpointrequest public access watchpoint request creat access watchpoint request field arg1 public breakpoint request creat breakpoint request locat arg1 public class prepar request creat class prepar request accesswatchpointrequest createaccesswatchpointrequest breakpointrequest createbreakpointrequest classpreparerequest createclasspreparerequest public breakpoint request creat breakpoint request locat arg1 public class prepar request creat class prepar request public class unload request creat class unload request breakpointrequest createbreakpointrequest classpreparerequest createclasspreparerequest classunloadrequest createclassunloadrequest public class prepar request creat class prepar request public class unload request creat class unload request public except request creat except request com sun jdi refer type arg1 boolean arg2 boolean arg3 classpreparerequest createclasspreparerequest classunloadrequest createclassunloadrequest exceptionrequest createexceptionrequest referencetyp public class unload request creat class unload request public except request creat except request com sun jdi refer type arg1 boolean arg2 boolean arg3 public method entri request creat method entri request classunloadrequest createclassunloadrequest exceptionrequest createexceptionrequest referencetyp methodentryrequest createmethodentryrequest public except request creat except request com sun jdi refer type arg1 boolean arg2 boolean arg3 public method entri request creat method entri request public method exit request creat method exit request exceptionrequest createexceptionrequest referencetyp methodentryrequest createmethodentryrequest methodexitrequest createmethodexitrequest public method entri request creat method entri request public method exit request creat method exit request public modif watchpoint request creat modif watchpoint request field arg1 methodentryrequest createmethodentryrequest methodexitrequest createmethodexitrequest modificationwatchpointrequest createmodificationwatchpointrequest public method exit request creat method exit request public modif watchpoint request creat modif watchpoint request field arg1 public step request creat step request thread refer arg1 int arg2 int arg3 methodexitrequest createmethodexitrequest modificationwatchpointrequest createmodificationwatchpointrequest steprequest createsteprequest threadrefer public modif watchpoint request creat modif watchpoint request field arg1 public step request creat step request thread refer arg1 int arg2 int arg3 public thread death request creat thread death request modificationwatchpointrequest createmodificationwatchpointrequest steprequest createsteprequest threadrefer threaddeathrequest createthreaddeathrequest public step request creat step request thread refer arg1 int arg2 int arg3 public thread death request creat thread death request public thread start request creat thread start request steprequest createsteprequest threadrefer threaddeathrequest createthreaddeathrequest threadstartrequest createthreadstartrequest public thread death request creat thread death request public thread start request creat thread start request public void delet breakpoint threaddeathrequest createthreaddeathrequest threadstartrequest createthreadstartrequest deleteallbreakpoint public thread start request creat thread start request public void delet breakpoint public void delet event request event request arg1 threadstartrequest createthreadstartrequest deleteallbreakpoint deleteeventrequest eventrequest public void delet breakpoint public void delet event request event request arg1 public void delet event request list arg1 deleteallbreakpoint deleteeventrequest eventrequest deleteeventrequest public void delet event request event request arg1 public void delet event request list arg1 public list except request deleteeventrequest eventrequest deleteeventrequest exceptionrequest public void delet event request list arg1 public list except request public list method entri request deleteeventrequest exceptionrequest methodentryrequest public list except request public list method entri request public list method exit request exceptionrequest methodentryrequest methodexitrequest public list method entri request public list method exit request public list modif watchpoint request methodentryrequest methodexitrequest modificationwatchpointrequest public list method exit request public list modif watchpoint request public list step request methodexitrequest modificationwatchpointrequest steprequest public list modif watchpoint request public list step request public list thread death request modificationwatchpointrequest steprequest threaddeathrequest public list step request public list thread death request public list thread start request steprequest threaddeathrequest threadstartrequest public list thread death request public list thread start request public vm death request createvm death request threaddeathrequest threadstartrequest vmdeathrequest createvmdeathrequest public list thread start request public vm death request createvm death request public list vm death request threadstartrequest vmdeathrequest createvmdeathrequest vmdeathrequest public interfac except request extend event request public void add class exclus filter string arg1 exceptionrequest eventrequest addclassexclusionfilt public interfac except request extend event request public void add class exclus filter string arg1 public void add class filter refer type arg1 exceptionrequest eventrequest addclassexclusionfilt addclassfilt referencetyp public void add class exclus filter string arg1 public void add class filter refer type arg1 public void add class filter string arg1 addclassexclusionfilt addclassfilt referencetyp addclassfilt public void add class filter refer type arg1 public void add class filter string arg1 public void add thread filter thread refer arg1 addclassfilt referencetyp addclassfilt addthreadfilt threadrefer public void add class filter string arg1 public void add thread filter thread refer arg1 public refer type except addclassfilt addthreadfilt threadrefer referencetyp public void add thread filter thread refer arg1 public refer type except public boolean notifi caught addthreadfilt threadrefer referencetyp notifycaught public refer type except public boolean notifi caught public boolean notifi uncaught referencetyp notifycaught notifyuncaught public boolean notifi caught public boolean notifi uncaught public void add instanc filter object refer instanc notifycaught notifyuncaught addinstancefilt objectrefer public class invalid request except extend runtim except public invalid request except invalidrequeststateexcept runtimeexcept invalidrequeststateexcept public invalid request except string arg1 super arg1 invalidrequeststateexcept public interfac method entri request extend event request public void add class exclus filter string arg1 methodentryrequest eventrequest addclassexclusionfilt public interfac method entri request extend event request public void add class exclus filter string arg1 public void add class filter refer type arg1 methodentryrequest eventrequest addclassexclusionfilt addclassfilt referencetyp public void add class exclus filter string arg1 public void add class filter refer type arg1 public void add class filter string arg1 addclassexclusionfilt addclassfilt referencetyp addclassfilt public void add class filter refer type arg1 public void add class filter string arg1 public void add thread filter thread refer arg1 addclassfilt referencetyp addclassfilt addthreadfilt threadrefer public void add class filter string arg1 public void add thread filter thread refer arg1 public void add instanc filter object refer instanc addclassfilt addthreadfilt threadrefer addinstancefilt objectrefer public interfac method exit request extend event request public void add class exclus filter string arg1 methodexitrequest eventrequest addclassexclusionfilt public interfac method exit request extend event request public void add class exclus filter string arg1 public void add class filter refer type arg1 methodexitrequest eventrequest addclassexclusionfilt addclassfilt referencetyp public void add class exclus filter string arg1 public void add class filter refer type arg1 public void add class filter string arg1 addclassexclusionfilt addclassfilt referencetyp addclassfilt public void add class filter refer type arg1 public void add class filter string arg1 public void add thread filter thread refer arg1 addclassfilt referencetyp addclassfilt addthreadfilt threadrefer public void add class filter string arg1 public void add thread filter thread refer arg1 public void add instanc filter object refer instanc addclassfilt addthreadfilt threadrefer addinstancefilt objectrefer public static final int step min 1 public static final int step line 2 public void add class exclus filter string arg1 step_min step_line addclassexclusionfilt public static final int step line 2 public void add class exclus filter string arg1 public void add class filter refer type arg1 step_line addclassexclusionfilt addclassfilt referencetyp public void add class exclus filter string arg1 public void add class filter refer type arg1 public void add class filter string arg1 addclassexclusionfilt addclassfilt referencetyp addclassfilt public void add class filter refer type arg1 public void add class filter string arg1 public int depth addclassfilt referencetyp addclassfilt public void add class filter string arg1 public int depth public int size addclassfilt public int depth public int size public thread refer thread threadrefer public int size public thread refer thread public void add instanc filter object refer instanc threadrefer addinstancefilt objectrefer public interfac thread death request extend event request public void add thread filter thread refer arg1 threaddeathrequest eventrequest addthreadfilt threadrefer public interfac thread start request extend event request public void add thread filter thread refer arg1 threadstartrequest eventrequest addthreadfilt threadrefer public interfac watchpoint request extend event request public void add class exclus filter string arg1 watchpointrequest eventrequest addclassexclusionfilt public interfac watchpoint request extend event request public void add class exclus filter string arg1 public void add class filter refer type arg1 watchpointrequest eventrequest addclassexclusionfilt addclassfilt referencetyp public void add class exclus filter string arg1 public void add class filter refer type arg1 public void add class filter string arg1 addclassexclusionfilt addclassfilt referencetyp addclassfilt public void add class filter refer type arg1 public void add class filter string arg1 public void add thread filter thread refer arg1 addclassfilt referencetyp addclassfilt addthreadfilt threadrefer public void add class filter string arg1 public void add thread filter thread refer arg1 public field field addclassfilt addthreadfilt threadrefer public void add thread filter thread refer arg1 public field field public void add instanc filter object refer instanc addthreadfilt threadrefer addinstancefilt objectrefer public interfac short extend primit compar public boolean equal object arg1 shortvalu primitivevalu public interfac short extend primit compar public boolean equal object arg1 public int hash code shortvalu primitivevalu hashcod public boolean equal object arg1 public int hash code public short hashcod public interfac stack frame extend mirror locat public valu local variabl arg1 stackfram getvalu localvari public interfac stack frame extend mirror locat public valu local variabl arg1 public map valu list arg1 stackfram getvalu localvari getvalu public valu local variabl arg1 public map valu list arg1 public locat locat getvalu localvari getvalu public map valu list arg1 public locat locat public void set local variabl arg1 arg2 throw invalid type except class load except getvalu setvalu localvari invalidtypeexcept classnotloadedexcept public locat locat public void set local variabl arg1 arg2 throw invalid type except class load except public object refer object setvalu localvari invalidtypeexcept classnotloadedexcept objectrefer thisobject public void set local variabl arg1 arg2 throw invalid type except class load except public object refer object public thread refer thread setvalu localvari invalidtypeexcept classnotloadedexcept objectrefer thisobject threadrefer public object refer object public thread refer thread public local variabl visibl variabl string arg1 throw absent inform except objectrefer thisobject threadrefer localvari visiblevariablebynam absentinformationexcept public thread refer thread public local variabl visibl variabl string arg1 throw absent inform except public list visibl variabl throw absent inform except threadrefer localvari visiblevariablebynam absentinformationexcept visiblevari absentinformationexcept public interfac string refer extend object refer public string stringrefer objectrefer public interfac thread group refer extend object refer public string threadgrouprefer objectrefer public interfac thread group refer extend object refer public string public thread group refer parent threadgrouprefer objectrefer threadgrouprefer public string public thread group refer parent public void resum threadgrouprefer public thread group refer parent public void resum public void suspend threadgrouprefer public void resum public void suspend public list thread group threadgroup public void suspend public list thread group public list thread threadgroup public static final int thread statu wait 4 public static final int thread statu start 5 public object refer current contend monitor throw incompat thread except thread_statu_wait thread_statu_not_start objectrefer currentcontendedmonitor incompatiblethreadstateexcept public static final int thread statu start 5 public object refer current contend monitor throw incompat thread except public stack frame frame int arg1 throw incompat thread except thread_statu_not_start objectrefer currentcontendedmonitor incompatiblethreadstateexcept stackfram incompatiblethreadstateexcept public object refer current contend monitor throw incompat thread except public stack frame frame int arg1 throw incompat thread except public int frame count throw incompat thread except objectrefer currentcontendedmonitor incompatiblethreadstateexcept stackfram incompatiblethreadstateexcept framecount incompatiblethreadstateexcept public stack frame frame int arg1 throw incompat thread except public int frame count throw incompat thread except public list frame throw incompat thread except stackfram incompatiblethreadstateexcept framecount incompatiblethreadstateexcept incompatiblethreadstateexcept public int frame count throw incompat thread except public list frame throw incompat thread except public list frame int arg1 int arg2 throw incompat thread except framecount incompatiblethreadstateexcept incompatiblethreadstateexcept incompatiblethreadstateexcept public list frame throw incompat thread except public list frame int arg1 int arg2 throw incompat thread except public void interrupt incompatiblethreadstateexcept incompatiblethreadstateexcept public list frame int arg1 int arg2 throw incompat thread except public void interrupt public boolean breakpoint incompatiblethreadstateexcept isatbreakpoint public void interrupt public boolean breakpoint public boolean suspend isatbreakpoint issuspend public boolean breakpoint public boolean suspend public string isatbreakpoint issuspend public boolean suspend public string public list own monitor throw incompat thread except issuspend ownedmonitor incompatiblethreadstateexcept public string public list own monitor throw incompat thread except public void resum ownedmonitor incompatiblethreadstateexcept public list own monitor throw incompat thread except public void resum public int statu ownedmonitor incompatiblethreadstateexcept public void resum public int statu public void stop object refer arg1 throw invalid type except objectrefer invalidtypeexcept public int statu public void stop object refer arg1 throw invalid type except public void suspend objectrefer invalidtypeexcept public void stop object refer arg1 throw invalid type except public void suspend public int suspend count objectrefer invalidtypeexcept suspendcount public void suspend public int suspend count public thread group refer thread group suspendcount threadgrouprefer threadgroup public int suspend count public thread group refer thread group public void pop frame stack frame frame throw incompat thread except suspendcount threadgrouprefer threadgroup popfram stackfram incompatiblethreadstateexcept public interfac type extend mirror public abstract string public interfac type extend mirror public abstract string public abstract string signatur public interfac type compon extend mirror access public refer type declar type typecompon referencetyp declaringtyp public interfac type compon extend mirror access public refer type declar type public string gener signatur typecompon referencetyp declaringtyp genericsignatur public refer type declar type public string gener signatur public boolean final referencetyp declaringtyp genericsignatur isfin public string gener signatur public boolean final public boolean static genericsignatur isfin isstat public boolean final public boolean static public boolean synthet isfin isstat issynthet public boolean static public boolean synthet public string isstat issynthet public boolean synthet public string public string signatur issynthet public interfac extend mirror public type type public static final int trace objref 16 public static final int trace 16777215 public list class trace_objref trace_all allclass public static final int trace 16777215 public list class public list thread trace_all allclass allthread public list class public list thread public boolean bytecod allclass allthread cangetbytecod public list thread public boolean bytecod public boolean current contend monitor allthread cangetbytecod cangetcurrentcontendedmonitor public boolean bytecod public boolean current contend monitor public boolean monitor info cangetbytecod cangetcurrentcontendedmonitor cangetmonitorinfo public boolean current contend monitor public boolean monitor info public boolean own monitor info cangetcurrentcontendedmonitor cangetmonitorinfo cangetownedmonitorinfo public boolean monitor info public boolean own monitor info public boolean synthet attribut cangetmonitorinfo cangetownedmonitorinfo cangetsyntheticattribut public boolean own monitor info public boolean synthet attribut public boolean watch field access cangetownedmonitorinfo cangetsyntheticattribut canwatchfieldaccess public boolean synthet attribut public boolean watch field access public boolean watch field modif cangetsyntheticattribut canwatchfieldaccess canwatchfieldmodif public boolean watch field access public boolean watch field modif public list class string arg1 canwatchfieldaccess canwatchfieldmodif classesbynam public boolean watch field modif public list class string arg1 public string descript canwatchfieldmodif classesbynam public list class string arg1 public string descript public void dispos classesbynam public string descript public void dispos public event queue event queue eventqueu eventqueu public void dispos public event queue event queue public event request manag event request manag eventqueu eventqueu eventrequestmanag eventrequestmanag public event queue event queue public event request manag event request manag public void exit int arg1 eventqueu eventqueu eventrequestmanag eventrequestmanag public event request manag event request manag public void exit int arg1 public byte mirror byte arg1 eventrequestmanag eventrequestmanag bytevalu mirrorof public void exit int arg1 public byte mirror byte arg1 public char mirror char arg1 bytevalu mirrorof charvalu mirrorof public byte mirror byte arg1 public char mirror char arg1 public doubl mirror doubl arg1 bytevalu mirrorof charvalu mirrorof doublevalu mirrorof public char mirror char arg1 public doubl mirror doubl arg1 public float mirror float arg1 charvalu mirrorof doublevalu mirrorof floatvalu mirrorof public doubl mirror doubl arg1 public float mirror float arg1 public integ mirror int arg1 doublevalu mirrorof floatvalu mirrorof integervalu mirrorof public float mirror float arg1 public integ mirror int arg1 public mirror arg1 floatvalu mirrorof integervalu mirrorof longvalu mirrorof public integ mirror int arg1 public mirror arg1 public string refer mirror string arg1 integervalu mirrorof longvalu mirrorof stringrefer mirrorof public mirror arg1 public string refer mirror string arg1 public short mirror short arg1 longvalu mirrorof stringrefer mirrorof shortvalu mirrorof public string refer mirror string arg1 public short mirror short arg1 public boolean mirror boolean arg1 stringrefer mirrorof shortvalu mirrorof booleanvalu mirrorof public short mirror short arg1 public boolean mirror boolean arg1 public process process shortvalu mirrorof booleanvalu mirrorof public boolean mirror boolean arg1 public process process public void resum booleanvalu mirrorof public process process public void resum public void set debug trace mode int arg1 setdebugtracemod public void resum public void set debug trace mode int arg1 public void suspend setdebugtracemod public void set debug trace mode int arg1 public void suspend public list top level thread group setdebugtracemod toplevelthreadgroup public void suspend public list top level thread group public string toplevelthreadgroup public list top level thread group public string public string version toplevelthreadgroup public string public string version public void redefin class map arg1 redefineclass public string version public void redefin class map arg1 public boolean redefin class redefineclass canredefineclass public void redefin class map arg1 public boolean redefin class public boolean instanc filter redefineclass canredefineclass canuseinstancefilt public boolean redefin class public boolean instanc filter public boolean add method canredefineclass canuseinstancefilt canaddmethod public boolean instanc filter public boolean add method public boolean unrestrictedli redefin class canuseinstancefilt canaddmethod canunrestrictedlyredefineclass public boolean add method public boolean unrestrictedli redefin class public boolean pop frame canaddmethod canunrestrictedlyredefineclass canpopfram public boolean unrestrictedli redefin class public boolean pop frame public boolean sourc debug extens canunrestrictedlyredefineclass canpopfram cangetsourcedebugextens public boolean pop frame public boolean sourc debug extens public boolean requestvm death event canpopfram cangetsourcedebugextens canrequestvmdeathev public boolean sourc debug extens public boolean requestvm death event public void set default stratum string arg1 cangetsourcedebugextens canrequestvmdeathev setdefaultstratum public boolean requestvm death event public void set default stratum string arg1 public string default stratum canrequestvmdeathev setdefaultstratum getdefaultstratum public void set default stratum string arg1 public string default stratum public boolean modifi setdefaultstratum getdefaultstratum canbemodifi public interfac virtual machin manag public list connector virtualmachinemanag allconnector public interfac virtual machin manag public list connector public list attach connector virtualmachinemanag allconnector attachingconnector public list connector public list attach connector public virtual machin creat virtual machin connect arg1 throw io except allconnector attachingconnector virtualmachin createvirtualmachin ioexcept public list attach connector public virtual machin creat virtual machin connect arg1 throw io except public virtual machin creat virtual machin connect arg1 process arg2 throw io except attachingconnector virtualmachin createvirtualmachin ioexcept virtualmachin createvirtualmachin ioexcept public virtual machin creat virtual machin connect arg1 throw io except public virtual machin creat virtual machin connect arg1 process arg2 throw io except public list connect virtual machin virtualmachin createvirtualmachin ioexcept virtualmachin createvirtualmachin ioexcept connectedvirtualmachin public virtual machin creat virtual machin connect arg1 process arg2 throw io except public list connect virtual machin public launch connector default connector virtualmachin createvirtualmachin ioexcept connectedvirtualmachin launchingconnector defaultconnector public list connect virtual machin public launch connector default connector public list launch connector connectedvirtualmachin launchingconnector defaultconnector launchingconnector public launch connector default connector public list launch connector public list listen connector launchingconnector defaultconnector launchingconnector listeningconnector public list launch connector public list listen connector public int major interfac version launchingconnector listeningconnector majorinterfacevers public list listen connector public int major interfac version public int minor interfac version listeningconnector majorinterfacevers minorinterfacevers public class vm modifi except extend unsupport oper except public vm modifi except vmcannotbemodifiedexcept unsupportedoperationexcept vmcannotbemodifiedexcept public vm modifi except public vm modifi except string arg1 super arg1 vmcannotbemodifiedexcept vmcannotbemodifiedexcept public class vm disconnect except extend runtim except public vm disconnect except vmdisconnectedexcept runtimeexcept vmdisconnectedexcept public vm disconnect except java lang string arg1 super arg1 vmdisconnectedexcept public class vm mismatch except extend runtim except public vm mismatch except vmmismatchexcept runtimeexcept vmmismatchexcept public class vm mismatch except extend runtim except public vm mismatch except public vm mismatch except string arg1 super arg1 vmmismatchexcept runtimeexcept vmmismatchexcept vmmismatchexcept public class vm memori except extend runtim except public vm memori except vmoutofmemoryexcept runtimeexcept vmoutofmemoryexcept public class vm memori except extend runtim except public vm memori except public vm memori except string super vmoutofmemoryexcept runtimeexcept vmoutofmemoryexcept vmoutofmemoryexcept public interfac void extend public boolean equal object arg1 voidvalu public interfac void extend public boolean equal object arg1 public int hash code voidvalu hashcod implement public static void add languag listen int hwnd runnabl runnabl addlanguagelisten public static void draw glyph gc gc char render buffer int render dx int int drawglyph renderbuff renderdx public static boolean bidi platform return fals isbidiplatform implement public static boolean keyboard bidi return fals iskeyboardbidi implement public static int font bidi attribut gc gc return 0 getfontbidiattribut public static void order info gc gc string text int order byte class buffer int flag int offset getorderinfo classbuff public static char render info gc gc string text int order byte class buffer int dx int flag int offset return null getrenderinfo classbuff implement return 0 public static int keyboard languag return 0 getkeyboardlanguag implement public static void remov languag listen int hwnd removelanguagelisten implement public static void set keyboard languag int languag setkeyboardlanguag implement public static boolean set orient int hwnd int orient return fals setorient listen listen listen public void handl event event event switch event type case swt dispos dispos break case swt mous mous event break case swt mous exit mous exit break case swt mous move mous move event break case swt mous mous event break case swt mous doubl click mous doubl click event break case swt paint paint event break handleev ondispos mousedown onmousedown mouseexit onmouseexit mousemov onmousemov mouseup onmouseup mousedoubleclick onmousedoubleclick onpaint boolean dispos fals construct instanc class parent style describ behavior appear style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public cool bar composit parent int style super parent check style style hover cursor cursor displai swt cursor sizew drag cursor cursor displai swt cursor sizeal listen listen listen public void handl event event event switch event type case swt dispos dispos break case swt mous mous event break case swt mous exit mous exit break case swt mous move mous move event break case swt mous mous event break case swt mous doubl click mous doubl click event break case swt paint paint event break int event int swt dispos swt mous swt mous exit swt mous move swt mous swt mous doubl click swt paint int 0 event length add listen event listen indispos illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl coolbar checkstyl hovercursor cursor_sizew dragcursor cursor_sizeal handleev ondispos mousedown onmousedown mouseexit onmouseexit mousemov onmousemov mouseup onmouseup mousedoubleclick onmousedoubleclick onpaint mousedown mouseexit mousemov mouseup mousedoubleclick addlisten privat static int check style int style style swt focu return style swt redraw resiz swt scroll swt scroll checkstyl no_focu no_redraw_resiz v_scroll h_scroll return style swt redraw resiz swt scroll swt scroll protect void check subclass valid subclass error swt error invalid subclass no_redraw_resiz v_scroll h_scroll checksubclass isvalidsubclass error_invalid_subclass public point comput size int hint int hint boolean chang check widget int width 0 height 0 wrap item hint boolean flat style swt flat 0 int row 0 row item length row int row width 0 row height 0 int 0 item row length cool item item item row row width item prefer width row height math max row height item prefer height height row height flat row 0 height row space width math max width row width wrap item size width 0 width default width height 0 height default height hint swt default width hint hint swt default height hint rectangl trim comput trim 0 0 width height return point trim width trim height computes whint hhint checkwidget wrapitem whint rowwidth rowheight coolitem rowwidth preferredwidth rowheight rowheight preferredheight rowheight row_space rowwidth wrapitem getsiz default_width default_height whint whint hhint hhint computetrim cool item grab item int int int row 0 row item length row int 0 item row length cool item item item row rectangl bound item bound bound width cool item minimum width bound x break bound y return null bound return item return null coolitem getgrabbeditem coolitem getbound coolitem minimum_width return item displai rel index throw except index rang param index visual index item return return item visual index except illeg argument except ul li error invalid rang index 0 number element list minu 1 inclus li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item oper fail oper system failur li ul public cool item item int index check widget index 0 error swt error invalid rang int row 0 row item length row item row length index return item row index index item row length error swt error invalid rang return null illegalargumentexcept error_invalid_rang swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_item coolitem getitem checkwidget error_invalid_rang error_invalid_rang return number item contain receiv return number item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error count oper fail oper system failur li ul public int item count check widget return origin item length swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_count getitemcount checkwidget originalitem return arrai code cool item code order displai note actual structur receiv maintain list item modifi arrai affect receiv return receiv item current visual order except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item oper fail oper system failur li ul public cool item item check widget cool item result cool item item count int offset 0 int row 0 row item length row system arraycopi item row 0 result offset item row length offset item row length return result coolitem swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_item coolitem getitem checkwidget coolitem coolitem getitemcount point find item cool item item int row 0 row item length row int 0 item row length item row equal item return point row return point 1 1 finditem coolitem search receiv item order displai start item index 0 item found equal argument return index item item found return 1 param item search item return visual order index search item 1 item found except illeg argument except ul li error null argument item null li li error invalid argument item dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int index cool item item check widget item null error swt error null argument item dispos error swt error invalid argument int answer 0 int row 0 row item length row int 0 item row length item row equal item return answer answer return 1 illegalargumentexcept error_null_argument error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access indexof coolitem checkwidget error_null_argument isdispos error_invalid_argument insert item row adjust width valu appropri void insert item row cool item item int row index int root int bar width size int rowi item row index 0 bound int math max 0 root displai point 0 0 find insert index add item int index index 0 index item row index length index item row index index bound break index 0 item wrap true item row index 0 wrap fals int length item row index length cool item row cool item length 1 system arraycopi item row index 0 row 0 index row index item system arraycopi item row index index row index 1 length index item row index row adjust width item left index 0 cool item left item row index index 1 rectangl left bound left bound int width left bound width left intern minimum width left intern minimum width width width left intern minimum width left set bound left bound left bound width left bound height left request width width set item bound int width 0 height item size index item row index length 1 cool item item row index index 1 width bound x width intern minimum width move right intern minimum width width width bound x item set bound rowi width height width item intern minimum width move left item item intern minimum width width width math max item intern minimum width bar width item set bound rowi width height width bar width move left item width bar width rectangl bound item bound item request width bound width redraw bound bound item intern minimum width bound height fals insertitemintorow coolitem rowindex x_root barwidth getsiz rowindex getbound x_root todisplai rowindex rowindex getbound rowindex oldlength rowindex coolitem newrow coolitem oldlength rowindex newrow newrow rowindex newrow oldlength rowindex newrow coolitem rowindex leftbound getbound newwidth leftbound newwidth internalgetminimumwidth internalgetminimumwidth newwidth newwidth internalgetminimumwidth setbound leftbound leftbound newwidth leftbound requestedwidth newwidth getsiz rowindex coolitem rowindex getbound internalgetminimumwidth moveright internalgetminimumwidth getbound setbound internalgetminimumwidth moveleft internalgetminimumwidth internalgetminimumwidth barwidth setbound barwidth moveleft barwidth getbound requestedwidth internalgetminimumwidth void creat item cool item item int index int item count item count row 0 0 index index item count error swt error invalid rang item length 0 item cool item 1 1 item 0 0 item int index find row insert index item count item row length item row length row row item length 1 item row length set item row prefer size add int index item row length 1 cool item item item row index item ideal rectangl bound item bound bound width item prefer width bound height item prefer height item request width item prefer width item set bound bound bound bound width bound height 0 item wrap true item row 0 wrap fals int length item row length cool item row cool item length 1 system arraycopi item row 0 row 0 row item system arraycopi item row row 1 length item row row item request width cool item minimum width int length origin item length cool item origin cool item length 1 system arraycopi origin item 0 origin 0 index system arraycopi origin item index origin index 1 length index origin index item origin item origin layout item createitem coolitem itemcount getitemcount itemcount error_invalid_rang coolitem itemcount lastindex coolitem lastitem lastindex lastitem lastitem getbound lastitem preferredwidth lastitem preferredheight lastitem requestedwidth lastitem preferredwidth lastitem setbound oldlength coolitem newrow coolitem oldlength newrow newrow newrow oldlength newrow requestedwidth coolitem minimum_width originalitem coolitem neworigin coolitem originalitem neworigin originalitem neworigin neworigin originalitem neworigin layoutitem void destroi item cool item item dispos return int row find item item row 1 return rectangl bound item bound remov item row item row true int index 0 index origin item length origin item index item break index int length origin item length 1 cool item origin cool item length system arraycopi origin item 0 origin 0 index system arraycopi origin item index 1 origin index length index origin item origin redraw bound bound cool item minimum width bound height fals relayout destroyitem coolitem indispos finditem getbound removeitemfromrow originalitem originalitem originalitem coolitem neworigin coolitem originalitem neworigin originalitem neworigin originalitem neworigin coolitem minimum_width void move cool item item int root int row index find item item boolean resiz fals item row index length 1 resiz true item bottom row don move row index item length 1 return int row index item row index length 1 row index row index 1 remov item row item row index fals rectangl item bound redraw cool item minimum width height fals row index item length creat bottom row item cool item row cool item item length 1 system arraycopi item 0 row 0 item length int row item length row row cool item 1 row row 0 item item row resiz true item wrap true insert item row item row index root resiz relayout layout item movedown coolitem x_root oldrowindex finditem oldrowindex oldrowindex newrowindex oldrowindex oldrowindex oldrowindex removeitemfromrow oldrowindex getbound coolitem minimum_width newrowindex coolitem newrow coolitem newrow newrow coolitem newrow newrow insertitemintorow newrowindex x_root layoutitem void move left cool item item int pixel point point find item item int row point int index point index 0 return rectangl bound item bound int min space left 0 int 0 index min space left item row intern minimum width int math max min space left bound pixel cool item left item row index 1 rectangl left bound left bound left bound left intern minimum width int shift left bound left intern minimum width move left left shift left bound left bound int left width math max left intern minimum width left bound width pixel left set bound left bound left bound left width left bound height left request width left width int width bound width bound x item set bound bound width bound height item request width width int damag width bound x cool item minimum width damag width cool item minimum width redraw bound damag width bound height fals moveleft coolitem finditem getbound minspaceonleft minspaceonleft internalgetminimumwidth minspaceonleft coolitem leftbound getbound leftbound internalgetminimumwidth leftbound internalgetminimumwidth moveleft leftbound getbound leftwidth internalgetminimumwidth leftbound setbound leftbound leftbound leftwidth leftbound requestedwidth leftwidth setbound requestedwidth damagedwidth coolitem minimum_width damagedwidth coolitem minimum_width damagedwidth void move cool item item int pixel point point find item item int row point int index point index 0 return rectangl bound item bound int min space 0 int index item row length min space item row intern minimum width int max bound width min space int math min max bound pixel int width 0 index 1 item row length width bound width cool item item row index 1 rectangl bound bound item intern minimum width bound int shift item intern minimum width bound move right shift bound bound width bound x item set bound bound width bound height item request width width cool item left item row index 1 rectangl left bound left bound int left width left bound left set bound left bound left bound left width left bound height left request width left width int damag width bound cool item minimum width cool item margin width bound 0 redraw bound cool item margin width bound damag width bound height fals moveright coolitem finditem getbound minspaceonright minspaceonright internalgetminimumwidth getbound minspaceonright getbound coolitem rightbound getbound internalgetminimumwidth rightbound internalgetminimumwidth rightbound moveright rightbound getbound rightbound setbound requestedwidth coolitem leftbound getbound leftwidth leftbound setbound leftbound leftbound leftwidth leftbound requestedwidth leftwidth damagedwidth coolitem minimum_width coolitem margin_width coolitem margin_width damagedwidth void move cool item item int root point point find item item int row index point boolean resiz fals item row index length 1 resiz true item top row don move row index 0 return remov item row item row index fals rectangl item bound redraw cool item minimum width height fals int row index math max 0 row index 1 row index 0 creat top row item cool item row cool item item length 1 system arraycopi item 0 row 1 item length row 0 cool item 1 row 0 0 item item row resiz true item wrap true insert item row item row index root resiz relayout layout item moveup coolitem x_root finditem oldrowindex oldrowindex oldrowindex removeitemfromrow oldrowindex getbound coolitem minimum_width newrowindex oldrowindex oldrowindex coolitem newrow coolitem newrow newrow coolitem newrow newrow insertitemintorow newrowindex x_root layoutitem void dispos item dispos destroi item chang size item arrai reset bound remain cool item cool bar dispos speed dispos flag skip part item dispos dispos true int 0 item length int 0 item length item dispos hover cursor dispos drag cursor dispos ondispos destroyitem indispos indispos hovercursor dragcursor void mous event event lock event button 1 return drag grab item event event drag null mousex offset event itemx offset mousex offset drag bound set cursor drag cursor onmousedown islock getgrabbeditem mousexoffset itemxoffset mousexoffset getbound setcursor dragcursor void mous exit drag null set cursor null onmouseexit setcursor void mous move event event lock return cool item grab grab item event event drag null int left root displai point event event itemx offset rectangl bound drag bound event bound move drag left root event bound bound height move drag left root event mousex offset int distanc math min mousex offset bound itemx offset event distanc 0 move left drag distanc event mousex offset int distanc event math max mousex offset bound itemx offset distanc 0 move drag distanc mousex offset event return grab null set cursor hover cursor set cursor null onmousemov islock coolitem getgrabbeditem left_root todisplai itemxoffset getbound moveup left_root movedown left_root mousexoffset mousexoffset itemxoffset moveleft mousexoffset mousexoffset itemxoffset moveright mousexoffset setcursor hovercursor setcursor void mous event event set cursor null drag null onmouseup setcursor void mous doubl click event event lock return drag null cool item target grab item event event target null set cursor null return point locat find item target int row locat int index locat item row length 1 point size target size int max size size int 0 item row length index max size item row intern minimum width size max size item maximum width resiz minimum width int distanc size target intern minimum width index 1 item row length item maxim cool item item row index 1 move left distanc item move item move target distanc size target prefer width item prefer width resiz prefer width int distanc target prefer width size index 1 item row length cool item item row index 1 move right distanc distanc target prefer width target size distanc 0 move left target distanc item minimum width maxim int 0 item row length index cool item item item row item request width math max item intern minimum width cool item minimum width target request width max size layout item set cursor hover cursor onmousedoubleclick islock coolitem getgrabbeditem setcursor finditem getsiz maxsiz getsiz maxsiz internalgetminimumwidth maxsiz internalgetminimumwidth coolitem moveleft moveright preferredwidth preferredwidth preferredwidth preferredwidth coolitem moveright preferredwidth getsiz moveleft coolitem requestedwidth internalgetminimumwidth coolitem minimum_width requestedwidth maxsiz layoutitem setcursor hovercursor void paint event event gc gc event gc item length 0 return color shadow color displai system color swt color widget normal shadow color highlight color displai system color swt color widget highlight shadow boolean flat style swt flat 0 int stopx bound width rectangl clip gc clip int row 0 row item length row rectangl bound rectangl 0 0 0 0 int 0 item row length bound item row bound clip intersect bound continu boolean nativ gripper fals draw gripper lock flat nativ gripper draw gripper bound bound cool item minimum width bound height nativ gripper int grabber trim 2 int grabber height bound height 2 grabber trim 1 gc set foreground shadow color gc draw rectangl bound cool item margin width bound grabber trim 2 grabber height gc set foreground highlight color gc draw line bound cool item margin width bound grabber trim 1 bound cool item margin width bound grabber trim grabber height 1 gc draw line bound cool item margin width bound grabber trim bound cool item margin width 1 bound grabber trim draw separ flat nativ gripper 0 gc set foreground shadow color gc draw line bound bound bound bound bound height 1 gc set foreground highlight color gc draw line bound 1 bound bound 1 bound bound height 1 flat row 1 item length draw row separ int separatori bound bound height gc set foreground shadow color gc draw line 0 separatori stopx separatori gc set foreground highlight color gc draw line 0 separatori 1 stopx separatori 1 onpaint shadowcolor getsystemcolor color_widget_normal_shadow highlightcolor getsystemcolor color_widget_highlight_shadow getbound getclip getbound nativegripp islock nativegripp drawgripp coolitem minimum_width nativegripp grabbertrim grabberheight grabbertrim setforeground shadowcolor drawrectangl coolitem margin_width grabbertrim grabberheight setforeground highlightcolor drawlin coolitem margin_width grabbertrim coolitem margin_width grabbertrim grabberheight drawlin coolitem margin_width grabbertrim coolitem margin_width grabbertrim nativegripp setforeground shadowcolor drawlin setforeground highlightcolor drawlin setforeground shadowcolor drawlin setforeground highlightcolor drawlin remov item row adjust width valu appropri void remov item row cool item item int row index boolean dispos int index find item item int length item row index length 1 rectangl item bound item bound item wrap fals length 0 cool item row cool item length system arraycopi item row index 0 row 0 index system arraycopi item row index index 1 row index row length index item row index row item row index 0 wrap true cool item row cool item item length 1 system arraycopi item 0 row 0 row index system arraycopi item row index 1 row row index row length row index item row return dispos index 0 cool item item row index 0 rectangl bound bound int width bound bound width set bound 0 bound width bound height request width width redraw bound bound cool item minimum width bound height fals cool item previou item row index index 1 rectangl bound previou bound int width bound width item bound width previou set bound bound bound width bound height previou request width width removeitemfromrow coolitem rowindex finditem newlength rowindex itembound getbound newlength coolitem newrow coolitem newlength rowindex newrow rowindex newrow newrow rowindex newrow rowindex coolitem newrow coolitem newrow rowindex rowindex newrow rowindex newrow rowindex newrow coolitem rowindex getbound setbound requestedwidth coolitem minimum_width coolitem rowindex getbound itembound setbound requestedwidth return height bar properli lai width int layout item int 0 width size wrap item width int row space style swt flat 0 0 row space int row 0 row item length row int count item row length int 0 determin height width row int row height 0 int width int 0 count cool item item item row row height math max row height item size item intern minimum width row 0 row space lai item int 0 count cool item child item row int width child intern minimum width 1 count width math min width child request width width child intern minimum width rectangl bound child bound rectangl bound rectangl width row height bound equal bound child set bound bound bound bound width bound height rectangl damag rectangl 0 0 0 0 case descend order area redraw bound bound damag bound damag add bound redraw row separ damag row space damag height 2 row space bound height bound height draw bottom gripper bottom area bottom gripper 3 bottom item damag bound math min bound height bound height 3 damag height bound bound height row space damag bound cool item margin width damag width bound width cool item margin width bound bound redraw differ separ damag math min bound bound damag width math ab bound bound cool item minimum width damag bound damag height bound height redraw damag damag damag width damag height fals width row height return layoutitem getsiz wrapitem rowspac row_space rowheight coolitem rowheight rowheight getsiz internalgetminimumwidth rowspac coolitem newwidth internalgetminimumwidth newwidth newwidth requestedwidth newwidth internalgetminimumwidth oldbound getbound newbound newwidth rowheight oldbound newbound setbound newbound newbound newbound newbound oldbound newbound newbound oldbound rowspac rowspac oldbound newbound newbound oldbound newbound newbound newbound rowspac oldbound coolitem margin_width oldbound coolitem margin_width oldbound newbound oldbound newbound oldbound newbound coolitem minimum_width oldbound oldbound newwidth rowheight void relayout point size size int height layout item rectangl trim comput trim 0 0 0 height height size super set size size trim height getsiz layoutitem computetrim setsiz height size super set size size trim height public void set bound int int int width int height super set bound width height layout item setsiz setbound setbound layoutitem layout item public void set size int width int height super set size width height layout item layoutitem setsiz setsiz layoutitem return arrai rel int map creation order receiv item order displai specif indic return arrai repres current visual order item content arrai repres creation order item p note actual structur receiv maintain list item modifi arrai affect receiv return current visual order receiv item except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except swt error ul li error item oper fail oper system failur li ul public int item order check widget int count item count int indic int count count 0 int 0 item length int 0 item length cool item item item int index 0 index origin item length origin item index item break index index origin item length error swt error item indic count index return indic swtexcept error_widget_dispos error_thread_invalid_access swterror error_cannot_get_item getitemord checkwidget getitemcount coolitem originalitem originalitem originalitem error_cannot_get_item void set item order int item order item order null error swt error null argument int count origin item length item order length count error swt error invalid argument ensur item order duplic boolean set boolean count int 0 set length set fals int 0 item order length item order 0 item order count error swt error invalid argument set item order error swt error invalid argument set item order true cool item row cool item count int 0 count row origin item item order item cool item 1 count item 0 row setitemord itemord itemord error_null_argument originalitem itemord error_invalid_argument itemord itemord itemord itemord error_invalid_argument itemord error_invalid_argument itemord coolitem coolitem originalitem itemord coolitem return arrai point coordin describ width height item receiv order displai return receiv item size current visual order except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point item size check widget cool item item item point size point item length int 0 item length size item size return size swtexcept error_widget_dispos error_thread_invalid_access getitems checkwidget coolitem getitem getsiz void set item size point size size null error swt error null argument cool item item item size length item length error swt error invalid argument int 0 item length item set size size setitems error_null_argument coolitem getitem error_invalid_argument setsiz return receiv lock coolbar lock item reposit return true coolbar lock fals except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public boolean lock check widget return lock swtexcept error_widget_dispos error_thread_invalid_access getlock checkwidget islock return arrai int describ rel indic item receiv begin row 0th visibl item begin row count wrap index return arrai receiv wrap indic empti arrai item row except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public int wrap indic check widget item length 1 return int int wrap indic int item length 1 int 0 wrap item 0 length int row 1 row item length row item row 0 wrap wrap indic wrap wrap item row length wrap indic length int tmp int system arraycopi wrap indic 0 tmp 0 return tmp return wrap indic swtexcept error_widget_dispos error_thread_invalid_access getwrapindic checkwidget wrapindic nextwrap wrapindic nextwrap nextwrap wrapindic wrapindic wrapindic set receiv lock coolbar lock item reposit param lock lock coolbar true unlock coolbar except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set lock boolean lock check widget lock lock redraw lock lock swtexcept error_widget_dispos error_thread_invalid_access setlock checkwidget islock islock set indic item receiv begin row indic order displai 0th item begin row count wrap index indic null empti item line param indic arrai wrap indic null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set wrap indic int indic check widget indic null indic int 0 int count origin item length int 0 indic length indic 0 indic count error swt error invalid argument int 0 origin item length origin item wrap fals int 0 indic length int index indic int row 0 row item length row item row length index item row index wrap true break index item row length relayout swtexcept error_widget_dispos error_thread_invalid_access setwrapindic checkwidget originalitem error_invalid_argument originalitem originalitem set receiv item order wrap indic item size method typic restor displai receiv previous store item order order item receiv displai term rel order item ad p wrap indic indic item receiv begin row indic order item order 0th item begin row count wrap index wrap indic null empti item line p size arrai point coordin describ width height receiv item order item order param item order arrai indic describ order displai item param wrap indic arrai wrap indic null param size arrai size receiv item visual order except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul except illeg argument except ul li error null argument item order size null li li error invalid argument item order size length number item li ul except swt error ul li error item oper fail oper system failur li ul public void set item layout int item order int wrap indic point size check widget set item order item order set wrap indic wrap indic set item size size relayout itemord wrapindic swtexcept error_widget_dispos error_thread_invalid_access illegalargumentexcept error_null_argument error_invalid_argument swterror error_cannot_get_item setitemlayout itemord wrapindic checkwidget setitemord itemord setwrapindic wrapindic setitems void wrap item int max width int item count origin item length item count 2 return cool item item visual cool item item count int start 0 int row 0 row item length row system arraycopi item row 0 item visual start item row length start item row length cool item item cool item item count int row count 0 row width 0 start 0 int 0 item count cool item item item visual int item width item intern minimum width 0 item wrap max width swt default row width item width max width start item row count cool item 1 item row count 0 item start 1 row width 0 int count start item row count cool item count system arraycopi item visual start item row count 0 count start row width item width row count row width item width start item count int count item count start item row count cool item count system arraycopi item visual start item row count 0 count row count item length row count cool item tmp cool item row count system arraycopi item 0 tmp 0 row count item tmp item item wrapitem maxwidth itemcount originalitem itemcount coolitem itemsvisu coolitem itemcount itemsvisu coolitem newitem coolitem itemcount rowcount rowwidth itemcount coolitem itemsvisu itemwidth internalgetminimumwidth maxwidth rowwidth itemwidth maxwidth newitem rowcount coolitem newitem rowcount rowwidth newitem rowcount coolitem itemsvisu newitem rowcount rowwidth itemwidth rowcount rowwidth itemwidth itemcount itemcount newitem rowcount coolitem itemsvisu newitem rowcount rowcount newitem rowcount coolitem coolitem rowcount newitem rowcount newitem construct instanc class parent code cool bar code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt drop widget check subclass widget style public cool item cool bar parent int style super parent style parent parent parent creat item parent item count calcul chevron trim coolbar illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass drop_down checksubclass getstyl coolitem coolbar createitem getitemcount calculatechevrontrim construct instanc class parent code cool bar code style describ behavior appear index place item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct param index index store receiv parent except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt drop widget check subclass widget style public cool item cool bar parent int style int index super parent style parent parent parent creat item index calcul chevron trim coolbar illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass drop_down checksubclass getstyl coolitem coolbar createitem calculatechevrontrim add listen collect listen notifi control select send messag defin code select listen code interfac code widget select code call mous drop arrow chevron portion cool item event object detail field code swt arrow code field event object repres point bottom left chevron menu pop code widget default select code call param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event 2 0 public void add select listen select listen listen check widget listen null error swt error null argument type listen type listen type listen listen add listen swt select type listen add listen swt default select type listen selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument typedlisten typedlisten typedlisten addlisten typedlisten addlisten defaultselect typedlisten add listen swt default select type listen protect void check subclass valid subclass error swt error invalid subclass addlisten defaultselect typedlisten checksubclass isvalidsubclass error_invalid_subclass void calcul chevron trim tool bar tb tool bar parent swt flat tool item ti tool item tb swt push imag imag imag displai 1 1 ti set imag imag point size tb comput size swt default swt default chevron horizont trim size 1 chevron vertic trim size 1 tb dispos ti dispos imag dispos calculatechevrontrim toolbar toolbar toolitem toolitem setimag computes chevron_horizont_trim chevron_vertic_trim return prefer size receiv em prefer size em code cool item code size displai width hint height hint argument allow caller ask instanc question width high need to show content caller wish constrain dimens constant code swt default code pass hint param hint width hint code swt default code param hint height hint code swt default code return prefer size except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul layout bound size cool bar border width cool bar comput trim cool bar client area public point comput size int hint int hint check widget int width hint height hint hint swt default width 32 hint swt default height 32 width minimum width return point width height coolitem whint hhint swtexcept error_widget_dispos error_thread_invalid_access getbound getsiz coolbar getborderwidth coolbar computetrim coolbar getclientarea computes whint hhint checkwidget whint hhint whint hhint minimum_width public void dispos dispos return call parent destroi item super dispos need queri bound properli remov item parent destroi item super dispos parent null control null parent chevron cool bar cool item parent dispos item chevron null chevron dispos chevron dispos chevron null arrow imag null arrow imag dispos arrow imag dispos arrow imag null isdispos destroyitem destroyitem coolbar coolitem isdispos arrowimag arrowimag isdispos arrowimag arrowimag imag creat arrow imag int width int height color foreground parent foreground color black displai system color swt color black color background parent background palett data palett palett data rgb foreground getrgb background getrgb black getrgb imag data imag data imag data width height 4 palett imag data transpar pixel 1 imag imag imag displai imag data gc gc gc imag gc set background background gc fill rectangl 0 0 width height gc set foreground black int startx 0 int starti height 6 int step 2 gc draw line startx starti startx step starti step gc draw line startx starti 2 step startx step starti step startx gc draw line startx starti startx step starti step gc draw line startx starti 2 step startx step starti step startx 3 gc draw line startx starti startx step starti step gc draw line startx starti 2 step startx step starti step startx gc draw line startx starti startx step starti step gc draw line startx starti 2 step startx step starti step gc dispos return imag createarrowimag getforeground getsystemcolor color_black getbackground palettedata palettedata imagedata imagedata imagedata imagedata transparentpixel imagedata setbackground fillrectangl setforeground drawlin drawlin drawlin drawlin drawlin drawlin drawlin drawlin return rectangl describ receiv size locat rel parent return receiv bound rectangl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public rectangl bound check widget return rectangl item bound item bound item bound width item bound height swtexcept error_widget_dispos error_thread_invalid_access getbound checkwidget itembound itembound itembound itembound return control receiv return control contain receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public control control check widget return control swtexcept error_widget_dispos error_thread_invalid_access getcontrol checkwidget return minimum size cool item resiz cool item gripper return point minimum width height cool item pixel except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public point minimum size check widget return point minimum width minimum height swtexcept error_widget_dispos error_thread_invalid_access getminimums checkwidget minimumwidth minimumheight return receiv parent code cool bar code return receiv parent except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public cool bar parent check widget return parent coolbar swtexcept error_widget_dispos error_thread_invalid_access coolbar getpar checkwidget return point describ receiv ideal size coordin result ideal width receiv coordin result ideal height receiv return receiv ideal size except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point prefer size check widget return point prefer width prefer height swtexcept error_widget_dispos error_thread_invalid_access getpreferreds checkwidget preferredwidth preferredheight return point describ receiv size coordin result width receiv coordin result height receiv return receiv size except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public point size check widget return point item bound width item bound height swtexcept error_widget_dispos error_thread_invalid_access getsiz checkwidget itembound itembound int intern minimum width int width minimum width minimum width style swt drop 0 width prefer width width chevron imag width chevron horizont trim chevron left margin return width internalgetminimumwidth minimumwidth minimum_width drop_down preferredwidth chevron_imag_width chevron_horizont_trim chevron_left_margin void select event ev rectangl bound chevron bound event event event event detail swt arrow event bound event bound bound height post event swt select event onselect getbound postev remov listen collect listen notifi control select param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen 2 0 public void remov select listen select listen listen check widget listen null error swt error null argument event tabl null return event tabl unhook swt select listen event tabl unhook swt default select listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument eventt eventt eventt defaultselect void set bound int int int width int height item bound x item bound y item bound width width item bound height height control null int control width width minimum width style swt drop 0 width prefer width control width chevron imag width chevron horizont trim chevron left margin control set bound minimum width control width height updat chevron setbound itembound itembound itembound itembound controlwidth minimum_width drop_down preferredwidth controlwidth chevron_imag_width chevron_horizont_trim chevron_left_margin setbound minimum_width controlwidth updatechevron set control receiv argument param control control contain receiv except illeg argument except ul li error invalid argument control dispos li li error invalid parent control widget tree li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set control control control check widget control null control dispos error swt error invalid argument control parent parent error swt error invalid parent control control control null int control width item bound width minimum width style swt drop 0 item bound width prefer width control width chevron imag width chevron horizont trim chevron left margin control set bound item bound minimum width item bound control width item bound height illegalargumentexcept error_invalid_argument error_invalid_parent swtexcept error_widget_dispos error_thread_invalid_access setcontrol checkwidget isdispos error_invalid_argument error_invalid_parent controlwidth itembound minimum_width drop_down itembound preferredwidth controlwidth chevron_imag_width chevron_horizont_trim chevron_left_margin setbound itembound minimum_width itembound controlwidth itembound set minimum size cool item resiz cool item gripper point argument param width minimum width cool item pixel param height minimum height cool item pixel except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set minimum size int width int height check widget minimum width width minimum height height swtexcept error_widget_dispos error_thread_invalid_access setminimums checkwidget minimumwidth minimumheight set minimum size cool item resiz cool item gripper point argument param size point repres minimum width height cool item pixel except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul 2 0 public void set minimum size point size check widget size null error swt error null argument set minimum size size size illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setminimums checkwidget error_null_argument setminimums set receiv ideal size point argument param width ideal width receiv param height ideal height receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set prefer size int width int height check widget ideal true prefer width math max width minimum width minimum width prefer height height swtexcept error_widget_dispos error_thread_invalid_access setpreferreds checkwidget preferredwidth minimumwidth minimum_width preferredheight set receiv ideal size point argument param size ideal size receiv except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set prefer size point size check widget size null error swt error null argument set prefer size size size illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setpreferreds checkwidget error_null_argument setpreferreds set receiv size point argument note attempt set width height receiv neg number set param width width receiv param height height receiv except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set size int width int height check widget width math max width minimum width minimum width ideal prefer width width prefer height height item bound width request width width item bound height height control null int control width width minimum width style swt drop 0 width prefer width control width chevron imag width chevron horizont trim chevron left margin control set size control width height parent relayout updat chevron swtexcept error_widget_dispos error_thread_invalid_access setsiz checkwidget minimumwidth minimum_width preferredwidth preferredheight itembound requestedwidth itembound controlwidth minimum_width drop_down preferredwidth controlwidth chevron_imag_width chevron_horizont_trim chevron_left_margin setsiz controlwidth updatechevron set receiv size point argument note attempt set width height receiv neg number set param size size receiv except illeg argument except ul li error null argument point null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set size point size check widget size null error swt error null argument set size size size illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access setsiz checkwidget error_null_argument setsiz tool item tool item tool item chevron swt push tool item add listen swt select listen public void handl event event event cool item select event toolitem toolitem toolitem toolitem addlisten handleev coolitem onselect void updat chevron control null int width item bound width style swt drop 0 width prefer width int height math min control size item bound height chevron null chevron tool bar parent swt flat swt focu tool item tool item tool item chevron swt push tool item add listen swt select listen public void handl event event event cool item select event int imag height math max 1 height chevron vertic trim arrow imag null arrow imag null arrow imag bound height imag height imag imag creat arrow imag chevron imag width imag height chevron item 0 set imag imag arrow imag null arrow imag dispos arrow imag imag chevron set background parent background chevron set bound item bound width chevron left margin chevron imag width chevron horizont trim item bound chevron imag width chevron horizont trim height chevron set visibl true chevron null chevron set visibl fals updatechevron itembound drop_down preferredwidth getsiz itembound toolbar no_focu toolitem toolitem toolitem toolitem addlisten handleev coolitem onselect imageheight chevron_vertic_trim arrowimag arrowimag arrowimag getbound imageheight createarrowimag chevron_imag_width imageheight getitem setimag arrowimag arrowimag arrowimag setbackground getbackground setbound itembound chevron_left_margin chevron_imag_width chevron_horizont_trim itembound chevron_imag_width chevron_horizont_trim setvis setvis control control access control control control control invok platform specif function alloc access object import method em em part public api code access code mark public share packag provid swt platform call applic code param control control access object return platform specif access object public static access intern access control control return access control intern_new_access add listen collect listen notif access client ask string descript help keyboard shortcut listen notifi send messag defin code access listen code interfac param listen listen notifi receiv ask descript help keyboard shortcut string except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv control dispos li li error thread invalid access call thread creat receiv control li ul access listen remov access listen public void add access listen access listen listen accessiblelisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access accessiblelisten removeaccessiblelisten addaccessiblelisten accessiblelisten remov listen collect listen notif access client ask string descript help keyboard shortcut param listen listen longer notifi receiv ask descript help keyboard shortcut string except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv control dispos li li error thread invalid access call thread creat receiv control li ul access listen add access listen public void remov access listen access listen listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access accessiblelisten addaccessiblelisten removeaccessiblelisten accessiblelisten add listen collect listen notif access client ask custom control specif inform listen notifi send messag defin code access control listen code interfac param listen listen notifi receiv ask custom control specif inform except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv control dispos li li error thread invalid access call thread creat receiv control li ul access control listen remov access control listen public void add access control listen access control listen listen accessiblecontrollisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access accessiblecontrollisten removeaccessiblecontrollisten addaccessiblecontrollisten accessiblecontrollisten remov listen collect listen notif access client ask custom control specif inform param listen listen longer notifi receiv ask custom control specif inform except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv control dispos li li error thread invalid access call thread creat receiv control li ul access control listen add access control listen public void remov access control listen access control listen listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access accessiblecontrollisten addaccessiblecontrollisten removeaccessiblecontrollisten accessiblecontrollisten add listen collect listen notif access client ask custom text control specif inform listen notifi send messag defin code access text listen code interfac param listen listen notifi receiv ask custom text control specif inform except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv control dispos li li error thread invalid access call thread creat receiv control li ul access text listen remov access text listen 3 0 public void add access text listen access text listen listen accessibletextlisten illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access accessibletextlisten removeaccessibletextlisten addaccessibletextlisten accessibletextlisten remov listen collect listen notif access client ask custom text control specif inform param listen listen longer notifi receiv ask custom text control specif inform except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv control dispos li li error thread invalid access call thread creat receiv control li ul access text listen add access text listen 3 0 public void remov access text listen access text listen listen illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access accessibletextlisten addaccessibletextlisten removeaccessibletextlisten accessibletextlisten return control access object return receiv control 3 0 public control control return control getcontrol send messag access client child select custom contain control chang except swt except ul li error widget dispos receiv control dispos li li error thread invalid access call thread creat receiv control li ul 3 0 public void select chang swtexcept error_widget_dispos error_thread_invalid_access selectionchang send messag access client text caret move custom control param index caret index control except swt except ul li error widget dispos receiv control dispos li li error thread invalid access call thread creat receiv control li ul 3 0 public void text caret move int index swtexcept error_widget_dispos error_thread_invalid_access textcaretmov send messag access client text custom control chang param type type chang code acc notifi text insert code code acc notifi text delet code param start index text index control insert delet begin param length non neg length charact insert delet except swt except ul li error widget dispos receiv control dispos li li error thread invalid access call thread creat receiv control li ul acc text insert acc text delet 3 0 public void text chang int type int start index int length notifi_text_insert notifi_text_delet startindex swtexcept error_widget_dispos error_thread_invalid_access text_insert text_delet textchang startindex send messag access client text select chang custom control except swt except ul li error widget dispos receiv control dispos li li error thread invalid access call thread creat receiv control li ul 3 0 public void text select chang swtexcept error_widget_dispos error_thread_invalid_access textselectionchang send messag access client indic focu chang custom control param childid identifi child control except swt except ul li error widget dispos receiv control dispos li li error thread invalid access call thread creat receiv control li ul public void set focu int childid swtexcept error_widget_dispos error_thread_invalid_access setfocu invok platform specif function dispos access object import method em em part public api code access code mark public share packag provid swt platform call applic code public void intern dispos access intern_dispos_access invok platform specif function handl window messag import method em em part public api code access code mark public share packag provid swt platform call applic code public int intern wm getobject int param int param return 0 intern_wm_getobject wparam lparam creat code java awt frame code frame root awt compon embed composit order embed succe composit creat swt embed style import jdk1 5 embed frame receiv mous event lightweight compon ad child embed frame cursor chang order problem strongli recommend heavyweight compon code java awt panel code ad frame root compon param parent parent code composit code code java awt frame code return code java awt frame code parent embed awt compon except illeg argument except ul li error null argument parent null li li error invalid argument parent composit swt embed style li ul 3 0 public static frame frame final composit parent parent null swt error swt error null argument parent style swt embed 0 swt error swt error invalid argument swt error swt error implement return null illegalargumentexcept error_null_argument error_invalid_argument new_frame error_null_argument getstyl error_invalid_argument error_not_implement creat code shell code shell root swt widget embed awt canva param displai displai shell param parent parent code java awt canva code shell return code shell code parent embed swt widget except illeg argument except ul li error null argument displai null li li error null argument parent null li ul 3 0 public static shell shell final displai displai final canva parent displai null swt error swt error null argument parent null swt error swt error null argument swt error swt error implement return null illegalargumentexcept error_null_argument error_null_argument new_shell error_null_argument error_null_argument error_not_implement construct instanc class parent code trai code style describ behavior appear item ad end item maintain parent style style constant defin class code swt code applic instanc class built em bitwis em ing code int code oper code swt code style constant class descript list style constant applic class style bit inherit superclass param parent composit control parent instanc null param style style control construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li li error invalid subclass class allow subclass li ul swt widget check subclass widget style public trai item trai parent int style super parent style parent parent parent creat item parent item count illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access error_invalid_subclass checksubclass getstyl trayitem createitem getitemcount add listen collect listen notifi receiv select send messag defin code select listen code interfac code widget select code call receiv select code widget default select code call receiv doubl click param listen listen notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen remov select listen select event public void add select listen select listen listen check widget listen null error swt error null argument selectionlisten widgetselect widgetdefaultselect illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten removeselectionlisten selectionev addselectionlisten selectionlisten checkwidget error_null_argument return receiv tool tip text null set return receiv tool tip text except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public string tool tip text check widget return tool tip text swtexcept error_widget_dispos error_thread_invalid_access gettooltiptext checkwidget tooltiptext return code true code receiv visibl code fals code return receiv visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public boolean visibl check widget return visibl swtexcept error_widget_dispos error_thread_invalid_access getvis checkwidget void releas child super releas child parent destroi item releasechild releasechild destroyitem remov listen collect listen notifi receiv select param listen listen longer notifi except illeg argument except ul li error null argument listen null li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul select listen add select listen public void remov select listen select listen listen check widget listen null error swt error null argument illegalargumentexcept error_null_argument swtexcept error_widget_dispos error_thread_invalid_access selectionlisten addselectionlisten removeselectionlisten selectionlisten checkwidget error_null_argument set receiv imag param imag imag except illeg argument except ul li error invalid argument imag dispos li ul except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set imag imag imag check widget imag null imag dispos error swt error invalid argument super set imag imag illegalargumentexcept error_invalid_argument swtexcept error_widget_dispos error_thread_invalid_access setimag checkwidget isdispos error_invalid_argument setimag set receiv tool tip text argument null indic tool tip text shown param tool tip text null except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set tool tip text string string check widget tool tip text string swtexcept error_widget_dispos error_thread_invalid_access settooltiptext checkwidget tooltiptext make receiv visibl argument code true code make invis param visibl visibl except swt except ul li error widget dispos receiv dispos li li error thread invalid access call thread creat receiv li ul public void set visibl boolean visibl check widget visibl visibl return visibl send event swt show visibl visibl visibl send event swt hide swtexcept error_widget_dispos error_thread_invalid_access setvis checkwidget sendev sendev creat instanc receiv param parent widget receiv belong param swt style widget style widget class detail abstract tree item tree parent int swt style super parent swt style swtstyle abstracttreeitem swtstyle swtstyle insert item list child item notifi parent item param item item ad receiv children param index posit item insert receiv void add tree item item int index vector item children int visibl index visibl index index 0 index item size error swt error invalid rang item root visibl index index expand fals visibl index 1 visibl index 1 index 0 tree item previou child tree item children element index 1 visibl index previou child visibl index previou child visibl item count 1 visibl index visibl index 1 select parent ad item item visibl index item set index index reset child indic index true item insert element item index expand true visibl item count calcul visibl item count parent select parent ad item item visibl index treeitem getchildren visibleindex getvisibleindex error_invalid_rang isroot visibleindex isexpand visibleindex visibleindex treeitem previouschild treeitem getchildren elementat visibleindex previouschild getvisibleindex previouschild getvisibleitemcount visibleindex getvisibleindex getselectablepar addingitem visibleindex setindex resetchildindic insertelementat isexpand visibleitemcount calculatevisibleitemcountpar getselectablepar addeditem visibleindex set receiv expand receiv expand child item visibl param expand true receiv expand make child item visibl fals receiv collaps make child item invis void intern set expand boolean expand expand expand calcul visibl item count internalsetexpand isexpand calculatevisibleitemcount calcul number expand children recurs tree root item abstract void calcul visibl item count calcul number expand children parent item item calculatevisibleitemcount abstract void calcul visibl item count parent deselect receiv children void deselect enumer children children element abstract tree item tree item set select fals children element true tree item abstract tree item children element tree item deselect calculatevisibleitemcountpar deselectal getchildren abstracttreeitem treeitem setselect hasmoreel treeitem abstracttreeitem nextel treeitem deselectal public void dispos dispos return vector children children abstract tree item child children size 0 tree item object remov vector dispos child abstract tree item children element child dispos super dispos isdispos getchildren abstracttreeitem treeitem abstracttreeitem firstel void dispos set children null visibl item count 0 super dispos dodispos setchildren visibleitemcount dodispos answer vector child item receiv vector children children null children vector 4 return children getchildren answer receiv expand receiv expand children visibl return true receiv expand make children visibl fals receiv collaps make children invis public boolean expand check widget return expand getexpand checkwidget isexpand answer number children public int item count check widget return children size getitemcount checkwidget getchildren answer index receiv rel root item index global index expand item item express true item root visibl item index index item visibl index return index receiv rel root item answer 1 receiv visibl parent collaps anindex anitem anitem theroot getvisibleitem anindex anindex anitem getvisibleindex abstract int visibl index answer index child item identifi child index rel root item getvisibleindex childindex abstract int visibl index int child index answer item search index relativ receiv method call root item search index repres global index item tree search index 0 return receiv search index 1 return visibl child note search index 0 note visibl context neccessarili mean item displai screen visibl mean parent item expand item visibl screen receiv parent client area getvisibleindex childindex searchindex searchindex searchindex searchindex searchindex abstract tree item visibl item int search index answer number expand children direct indirect int visibl item count return visibl item count treeitem getvisibleitem searchindex getvisibleitemcount visibleitemcount return expand circumv widget thread check perform non api caller boolean intern expand return expand internalgetexpand isexpand answer receiv leaf item item leaf child item return true receiv leaf item fals receiv leaf item boolean leaf return children size 0 isleaf getchildren answer receiv root item receiv root item doesn parent item return true receiv root item fals receiv root item boolean root return fals isroot remov child receiv notifi parent widget dispos void remov item select item child vector children children select item widget parent select parent int child index children index child child index 1 tree parent remov true children remov element child index remov item list tree dispos expand true visibl item count calcul visibl item count parent parent remov item child children remov element child index expand true visibl item count calcul visibl item count parent reset child indic child index fals mark child index dirti parent remov item child removeitem selectableitem getchildren selectableitemwidget getselectablepar childindex indexof childindex isremovingal removeelementat childindex isexpand visibleitemcount calculatevisibleitemcountpar removingitem removeelementat childindex isexpand visibleitemcount calculatevisibleitemcountpar resetchildindic childindex removeditem allow subclass reset cach data call children receiv void reset enumer children children element abstract tree item tree item children element true tree item abstract tree item children element tree item reset getchildren abstracttreeitem treeitem hasmoreel treeitem abstracttreeitem nextel treeitem mark child indic dirti start child start index index recalcul index param start index index list children which indic reset void reset child indic int start index boolean add item vector children children tree item child int increment add item 1 0 int start index children size child tree item children element child set index increment mark child index dirti startindex getindex startindex resetchildindic startindex additem getchildren treeitem additem startindex treeitem elementat setindex select receiv children return vector item select select vector select vector select item enumer children children element abstract tree item tree item select fals select item add element set select true select parent redraw select children element true tree item abstract tree item children element select item tree item select select item return select item selectal selecteditem getchildren abstracttreeitem treeitem isselect selecteditem addel setselect getselectablepar redrawselect hasmoreel treeitem abstracttreeitem nextel selecteditem treeitem selectal selecteditem selecteditem set arrai receiv child item children void set children vector children children children setchildren void set visibl item count int count visibl item count count setvisibleitemcount visibleitemcount parent parent add listen swt paint listen public void handl event event event paint event addlisten handleev tabl parent creat header widget child parent param parent parent instanc header tabl parent super parent swt redraw resiz swt focu parent parent add listen swt paint listen public void handl event event event paint event set header height no_redraw_resiz no_focu addlisten handleev setheaderheight answer size receiv need displai item public point comput size int hint int hint boolean chang check widget int width 0 int height 0 int 0 item count width bound width height 0 height bound height width 0 width default width height 0 height default height hint swt default width hint hint swt default height hint return point width height computes whint hhint checkwidget getitemcount getbound getbound default_width default_height whint whint hhint hhint draw bright shadow upper left side header item param gc gc draw param item index specifi item draw void draw highlight shadow gc gc int item index rectangl bound bound item index color foreground foreground gc set foreground displai system color swt color widget highlight shadow draw top horizont line gc draw line bound bound bound bound width 1 bound draw left vertic line gc draw line bound bound bound bound bound height 1 gc set foreground foreground itemindex drawhighlightshadow itemindex getbound itemindex oldforeground getforeground setforeground getsystemcolor color_widget_highlight_shadow drawlin drawlin setforeground oldforeground draw dark shadow lower side header item param gc gc draw param item index specifi item draw void draw lowlight shadow gc gc int item index rectangl bound bound item index point bottom shadow start point bound 1 bound height 2 point bottom shadow stop point bottom shadow start bound width 2 bottom shadow start point shadow start null point shadow stop null color foreground foreground light shadow gc set foreground displai system color swt color widget normal shadow gc draw line bottom shadow start bottom shadow start bottom shadow stop bottom shadow stop item index tabl column fill shadow start point bound bound width 2 bound 1 shadow stop point shadow start bound height 2 gc draw line shadow start shadow start shadow stop shadow stop dark outer shadow bottom shadow start bottom shadow start bottom shadow stop gc set foreground displai system color swt color widget dark shadow gc draw line bottom shadow start bottom shadow start bottom shadow stop bottom shadow stop item index tabl column fill shadow start shadow start shadow stop shadow stop gc draw line shadow start shadow start shadow stop shadow stop gc set foreground foreground itemindex drawlowlightshadow itemindex getbound itemindex bottomshadowstart bottomshadowstop bottomshadowstart bottomshadowstart rightshadowstart rightshadowstop oldforeground getforeground setforeground getsystemcolor color_widget_normal_shadow drawlin bottomshadowstart bottomshadowstart bottomshadowstop bottomshadowstop itemindex tablecolumn rightshadowstart rightshadowstop rightshadowstart drawlin rightshadowstart rightshadowstart rightshadowstop rightshadowstop bottomshadowstart bottomshadowstart bottomshadowstop setforeground getsystemcolor color_widget_dark_shadow drawlin bottomshadowstart bottomshadowstart bottomshadowstop bottomshadowstop itemindex tablecolumn rightshadowstart rightshadowstart rightshadowstop rightshadowstop drawlin rightshadowstart rightshadowstart rightshadowstop rightshadowstop setforeground oldforeground answer bound rectangl item identifi item index param item index specifi item bound rectangl return return boud rectangl item identifi item index rectangl bound int item index rectangl bound null int item count item count item index 0 item index item count bound parent intern column item index bound bound 0 bound height bound height item index tabl column fill item count 0 bound parent intern column item count 1 bound bound bound width bound rectangl 0 0 0 0 bound width math max 0 bound width bound bound 0 bound height bound height return bound itemindex itemindex itemindex getbound itemindex itemcount getitemcount itemindex itemindex itemcount internalgetcolumn itemindex getbound getbound itemindex tablecolumn itemcount internalgetcolumn itemcount getbound getbound getbound answer imag go drawn header item identifi item index param gc gc measur label width param item index specifi item label return imag imag int item index item index 0 item index item count return parent intern column item index imag return null itemindex itemindex getimag itemindex itemindex itemindex getitemcount internalgetcolumn itemindex getimag answer size item imag point imag extent imag imag null int label count item count int 0 label count imag null imag imag imag null return point imag bound width imag bound height return point 0 0 getimageext labelcount getitemcount labelcount getimag getbound getbound answer number item receiv int item count return parent intern column count getitemcount internalgetcolumncount answer width requir displai complet label header item posit index param index posit header item prefer width return int prefer width int index imag imag imag index string text text index int header width horizont margin imag null header width imag extent horizont margin text null header width text width text horizont margin return header width getpreferredwidth getimag gettext headerwidth horizont_margin headerwidth getimageext horizont_margin headerwidth gettextwidth horizont_margin headerwidth answer label item identifi item index string text int item index string item label null item index 0 item index item count item label parent intern column item index text return item label itemindex gettext itemindex itemlabel itemindex itemindex getitemcount itemlabel internalgetcolumn itemindex gettext itemlabel answer width text pixel answer 0 text null int text width string text int text width 0 text null gc gc gc parent gc set font parent font text width gc string extent text gc dispos return text width gettextwidth textwidth setfont getfont textwidth stringext textwidth draw header item identifi item index param gc gc draw param item index item drawn void paint gc gc int item index gc set font parent font rectangl bound bound item index draw header background gc fill rectangl bound bound 1 bound width bound height 3 item index tabl column fill int extent math min bound width 2 horizont margin prefer width item index int bound int align parent intern column item index align align swt center 0 bound width extent 2 align swt 0 bound width extent horizont margin horizont margin imag imag imag item index imag null rectangl imag bound imag bound point imag extent imag extent int bound bound height imag extent 2 gc draw imag imag 0 0 imag bound width imag bound height imag extent imag extent imag extent horizont margin string label text item index label null int max width bound bound width horizont margin string trim label parent trim item text label max width gc point text extent gc string extent trim label int bound bound height text extent 2 gc draw string trim label draw highlight shadow gc item index draw lowlight shadow gc item index itemindex itemindex itemindex setfont getfont getbound itemindex fillrectangl itemindex tablecolumn horizont_margin getpreferredwidth itemindex internalgetcolumn itemindex getalign horizont_margin horizont_margin getimag itemindex imagebound getbound imageext getimageext imageext drawimag imagebound imagebound imageext imageext imageext horizont_margin gettext itemindex maxwidth horizont_margin trimlabel trimitemtext maxwidth textext stringext trimlabel textext drawstr trimlabel drawhighlightshadow itemindex drawlowlightshadow itemindex draw header item param event paint event trigger draw oper void paint event event int label count item count int 0 label count paint event gc paint event gc tabl column fill paint empti fill item item labelcount getitemcount labelcount tablecolumn redraw item identifi item index param item index specifi header item redrawn void redraw int item index rectangl bound bound item index bound null redraw bound 0 bound width bound height fals itemindex itemindex itemindex getbound itemindex set font recalcul header height redraw header public void set font font font check widget font null font equal font true return super set font font set header height redraw setfont checkwidget getfont setfont setheaderheight calcul store height receiv void set header height int text height parent font height vertic margin int imag height imag extent vertic margin rectangl bound bound bound height math max text height imag height set bound bound setheaderheight textheight getfontheight vertic_margin imageheight getimageext vertic_margin getbound textheight imageheight setbound width header item posit item index chang adjust width header scroll redraw header item start item identifi item index param item index specifi item redraw begin param width diff width chang item 0 item width increas 0 item width decreas void width chang int item index int width diff rectangl bound bound item index rectangl header bound bound bound null item index tabl column fill ignor fill column header item redraw anywai scroll bound bound width width diff 0 destin bound bound width 0 sourc header bound width width diff header bound height fals redraw bound 0 bound width bound height fals header bound width width diff set bound header bound itemindex itemindex itemindex widthdiff widthchang itemindex widthdiff getbound itemindex headerbound getbound itemindex tablecolumn widthdiff headerbound widthdiff headerbound headerbound widthdiff setbound headerbound check creat grai check grai uncheck creat instanc receiv param parent widget receiv creat param style widget style widget class detail select item select item widget parent int style super parent style set parent parent selectableitem selectableitemwidget setpar void clear check grai fals ischeck isgrai public void dispos dispos return super dispos dispos isdispos dodispos dispos void dispos set parent null dodispos dodispos setpar draw check box receiv posit gc param gc gc draw param destin posit posit gc draw return answer posit draw stop point draw checkbox gc gc point posit select item widget parent select parent imag imag point imag extent rectangl imag bound int imag offset int inset int inset grai true imag parent grai uncheck imag imag parent uncheck imag imag null imag extent parent check box extent imag offset parent item height imag extent 2 gc draw imag imag posit posit imag offset check true imag parent check mark imag imag bound imag bound inset imag extent imag bound width 2 inset imag extent imag bound height 2 gc draw imag imag posit x inset posit imag offset inset posit imag extent posit checkbox pad leav extra space check box return posit destinationposit drawcheckbox selectableitemwidget getselectablepar imageext imagebound imageoffset xinset yinset getgrai getgrayuncheckedimag getuncheckedimag imageext getcheckboxext imageoffset getitemheight imageext drawimag imageoffset getcheck getcheckmarkimag imagebound getbound xinset imageext imagebound yinset imageext imagebound drawimag xinset imageoffset yinset imageext checkbox_pad void draw insert mark gc gc point posit select item widget parent select parent point select extent select extent final int marker width insert mark width int insert marki offset 0 select extent null return parent insert insert marki offset select extent marker width gc set background displai system color swt color black gc fill rectangl posit posit insert marki offset select extent marker width gc set background parent background drawinsertmark selectableitemwidget getselectablepar selectionext getselectionext markerwidth getinsertmarkwidth insertmarkyoffset selectionext isinsertaft insertmarkyoffset selectionext markerwidth setbackground getsystemcolor color_black fillrectangl insertmarkyoffset selectionext markerwidth setbackground getbackground answer bound rectangl item check box point rectangl hit check box rectangl checkbox bound select item widget parent select parent point check box extent int redraw posit rectangl checkbox bound rectangl 0 0 0 0 checkabl true checkbox bound checkboxx posit redraw posit parent redrawi redraw posit 1 checkbox bound redraw posit check box extent parent check box extent checkbox bound width check box extent checkbox bound height check box extent checkbox bound parent item height check box extent 2 return checkbox bound getcheckboxbound selectableitemwidget getselectablepar checkboxext redrawposit checkboxbound ischeck checkboxbound getcheckboxxposit redrawposit getredrawi redrawposit checkboxbound redrawposit checkboxext getcheckboxext checkboxbound checkboxext checkboxbound checkboxext checkboxbound getitemheight checkboxext checkboxbound return checkbox bound answer posit item check box abstract int checkboxx posit checkboxbound getcheckboxxposit abstract int checkboxx posit return receiv check return fals parent receiv check style public boolean check check widget boolean check fals checkabl true check check return check getcheckboxxposit getcheck checkwidget ischeck ischeck public font font return parent font getfont getfont grai return item grai except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public boolean grai check widget boolean grai fals checkabl true grai grai return grai swterror error_thread_invalid_access error_widget_dispos getgrai checkwidget ischeck isgrai return width pixel line drawn drop insert posit drag drop oper int insert mark width return 2 getinsertmarkwidth answer parent widget receiv select item widget select parent return parent selectableitemwidget getselectablepar answer background color draw select rectangl color select background color return displai system color swt color list select getselectionbackgroundcolor getsystemcolor color_list_select return size rectangl drawn select receiv abstract point select extent answer foreground color draw select rectangl color select foreground color return displai system color swt color list select text getselectionext getselectionforegroundcolor getsystemcolor color_list_select_text return displai system color swt color list select text return posit select rectangl abstract int selectionx getsystemcolor color_list_select_text getselectionx abstract int selectionx answer posiiton insid item check box return true item check box hit fals item check box hit boolean check hit point posit boolean check hit fals checkabl true check hit checkbox bound posit return check hit getselectionx ischeckhit ischeckhit ischeck ischeckhit getcheckboxbound ischeckhit return receiv check box check boolean checkabl return select parent style swt check 0 ischeck getselectablepar getstyl answer receiv select return true receiv select fals receiv select boolean select return select isselect isselect redraw insert mark param posit posit receiv client area item drawn void redraw insert mark int posit select item widget parent select parent point select extent select extent int redraw height insert mark width select extent null parent redraw selectionx posit select extent redraw height fals parent redraw selectionx posit select extent redraw height select extent redraw height fals yposit redrawinsertmark yposit selectableitemwidget getselectablepar selectionext getselectionext redrawheight getinsertmarkwidth selectionext getselectionx yposit selectionext redrawheight getselectionx yposit selectionext redrawheight selectionext redrawheight redraw select param posit posit receiv client area item drawn void redraw select int posit select item widget parent select parent point select extent select extent select extent null parent redraw selectionx posit select extent select extent fals yposit redrawselect yposit selectableitemwidget getselectablepar selectionext getselectionext selectionext getselectionx yposit selectionext selectionext set check check parent receiv check style public void set check boolean check check widget select item widget parent select parent rectangl redraw rectangl checkbox bound checkabl true check check check check parent redraw redraw rectangl redraw rectangl redraw rectangl width redraw rectangl height fals setcheck checkwidget selectableitemwidget getselectablepar redrawrectangl getcheckboxbound ischeck ischeck ischeck redrawrectangl redrawrectangl redrawrectangl redrawrectangl set grai param grai grai except swt error ul li error thread invalid access call wrong thread li li error widget dispos widget dispos li ul public void set grai boolean grai check widget select item widget parent select parent rectangl redraw rectangl checkbox bound checkabl true grai grai grai grai parent redraw redraw rectangl redraw rectangl redraw rectangl width redraw rectangl height fals swterror error_thread_invalid_access error_widget_dispos setgrai checkwidget selectableitemwidget getselectablepar redrawrectangl getcheckboxbound ischeck isgrai isgrai redrawrectangl redrawrectangl redrawrectangl redrawrectangl set receiv parent widget parent void set parent select item widget parent parent parent setpar selectableitemwidget set receiv select param select true receiv select fals receiv select void set select boolean select select select setselect isselect privat int draw count 0 reimplement set redraw boolean creat instanc scrollabl item widget param parent parent window instanc param style window style instanc select item widget composit parent int style super parent style swt scroll swt scroll swt redraw resiz initi drawcount setredraw scrollableitemwidget selectableitemwidget h_scroll v_scroll no_redraw_resiz select item item ad tree calcul vertic scroll bar updat screen displai item param item item ad receiv void ad item select item item int index calcul vertic scrollbar focu null item focu set focu item true set focu item selectableitem addeditem selectableitem calculateverticalscrollbar getlastfocu setlastfocu select item item ad tree param item item ad receiv void ad item select item item int index index 0 index bottom index scroll vertic ad item index selectableitem addingitem selectableitem getbottomindex scrollverticaladdingitem set scroll rang horizont scroll bar resiz scroll bar scroll rang maximum chang void calcul horizont scrollbar draw count 0 return int maximum content width scroll bar horizont bar horizont bar horizont bar maximum maximum call set maximum maximum 0 reli maximum subsequ return number item receiv visibl item count reli maximum return set accept set valid implement chang later caus 1frlosg horizont bar set maximum maximum vertic bar visibl fals remov line horizont bar set maximum maximum pr 1fig5cg fix resiz horizont scrollbar calculatehorizontalscrollbar drawcount newmaximum getcontentwidth scrollbar horizontalbar gethorizontalbar horizontalbar getmaximum newmaximum setmaximum newmaximum getmaximum getvisibleitemcount getmaximum horizontalbar setmaximum newmaximum getverticalbar getvis horizontalbar setmaximum newmaximum resizehorizontalscrollbar calcul height item receiv imag height calcul item height calcul item height imag height calcul void calcul item height select item item gc gc string item text int item height 1 item imag extent null text height 1 return item text item text item text null text height 1 gc gc gc set font item font item height gc string extent item text text height item height gc dispos item imag extent null item imag extent imag extent item item imag extent null item imag extent text height item height item imag extent item height text height item height item pad sure empti space imag text item height item height set item height higher set item height item height smaller item height includ icon calculateitemheight selectableitem itemtext itemheight itemimageext textheight itemtext gettext itemtext textheight setfont getfont itemheight stringext itemtext textheight itemheight itemimageext itemimageext getimageext itemimageext itemimageext textheight itemheight itemimageext itemheight textheight itemheight getitempad itemheight getitemheight setitemheight itemheight calcul rang item need select click item identifi hit item index param hit item index item click select rang base index rel top index int calcul shift select rang int hit item index int select rang int 1 1 select item closest item null select item select item enumer select item select vector element select item element true select item select item select item element closest item null closest item select item math ab hit item index visibl index select item math ab hit item index visibl index closest item closest item select item closest item null item select closest item select item select focu closest item null select rang 0 visibl index closest item select rang 1 hit item index return select rang hititemindex hititemindex calculateshiftselectionrang hititemindex selectionrang selectableitem closestitem selectableitem selecteditem selecteditem getselectionvector selecteditem hasmoreel selecteditem selectableitem selecteditem nextel closestitem closestitem selecteditem hititemindex getvisibleindex selecteditem hititemindex getvisibleindex closestitem closestitem selecteditem closestitem closestitem getlastselect closestitem selectionrang getvisibleindex closestitem selectionrang hititemindex selectionrang set scroll rang vertic scroll bar resiz scroll bar scroll rang maximum chang void calcul vertic scrollbar draw count 0 return int maximum visibl item count scroll bar vertic bar vertic bar call set maximum maximum 0 reli maximum subsequ return number item receiv visibl item count reli maximum return set accept set valid implement chang later caus 1frlosg vertic bar set maximum maximum horizont bar visibl fals remov line vertic bar set maximum maximum pr 1fig5cg fix resiz vertic scrollbar calculateverticalscrollbar drawcount newmaximum getvisibleitemcount scrollbar verticalbar getverticalbar setmaximum newmaximum getmaximum getvisibleitemcount getmaximum verticalbar setmaximum newmaximum gethorizontalbar getvis verticalbar setmaximum newmaximum resizeverticalscrollbar answer size receiv need displai item length longest item receiv width public point comput size int hint int hint boolean chang check widget int width content width int height item count item height int scroll bar width comput trim 0 0 0 0 width width 0 width default width height 0 height default height hint swt default width hint hint swt default height hint style swt scroll 0 width scroll bar width style swt scroll 0 height scroll bar width return point width height computes whint hhint checkwidget getcontentwidth getitemcount getitemheight scrollbarwidth computetrim default_width default_height whint whint hhint hhint getstyl v_scroll scrollbarwidth getstyl h_scroll scrollbarwidth ctrl shift select mean ctrl shift kei press mous click item occur select item click focu move item previou select ctrl ctrl shift select rang select item click item select regular shift select perform param hit item specifi click item param hit item index specifi index click item rel item void ctrl shift select select item hit item int hit item index int index 1 int index 1 int select index 1 int select rang select item select select select null select index visibl index select select vector hit item true click select item hit item index select index click select item set select hit item true set select set focu ctrl select true select ctrl ctrl shift select index select index select select index hit item index click exist select rang select rang calcul shift select rang hit item index index select rang 0 index select rang 1 index 1 index 1 select rang index index hititem hititemindex ctrlshiftselect selectableitem hititem hititemindex fromindex toindex lastselectionindex selectionrang selectableitem lastselect getlastselect lastselect lastselectionindex getvisibleindex lastselect getselectionvector hititem hititemindex lastselectionindex setlastselect hititem isctrlselect fromindex lastselectionindex toindex hititemindex selectionrang calculateshiftselectionrang hititemindex fromindex selectionrang toindex selectionrang fromindex toindex selectrang fromindex toindex deselect item param item item deselect void deselect select item item vector select item select vector item null item select true item set select fals redraw select item select item remov element item selectableitem selecteditem getselectionvector isselect setselect redrawselect selecteditem removeel deselect item select param select item remain select void deselect select item select vector select item select vector vector deselect item vector select item size enumer element select item element select item item deselect repaint previous select item element element true item select item element element item select true item select item set select fals redraw select item redrawn set select fix 1g0gq8w redraw select item deselect item add element item element deselect item element element element true item select item element element select item remov element item set select select fals keepselect keepselect deselectallexcept selectableitem keepselect selecteditem getselectionvector deselecteditem selecteditem selecteditem selectableitem hasmoreel selectableitem nextel isselect keepselect setselect setlastselect redrawselect deselecteditem addel deselecteditem hasmoreel selectableitem nextel selecteditem removeel setlastselect keepselect deselect item select param select item remain select void deselect vector select vector select item select vector vector deselect item vector select item size enumer element select item element select item item deselect repaint previous select item element element true item select item element element item select true select item fals item set select fals redraw select item redrawn set select fix 1g0gq8w redraw select item deselect item add element item element deselect item element element element true item select item element element select item remov element item select size 0 set select select item select element fals keepselect keepselect deselectallexcept keepselect selecteditem getselectionvector deselecteditem selecteditem selecteditem selectableitem hasmoreel selectableitem nextel isselect keepselect setselect setlastselect redrawselect deselecteditem addel deselecteditem hasmoreel selectableitem nextel selecteditem removeel keepselect setlastselect selectableitem keepselect firstel displai async exec runnabl public void run send select event item dispos fix 1ge6xqa item dispos fals event event event event item item notifi listen swt select event asyncexec isdispos notifylisten deselect item notifi listen param item item deselect void deselect notifi final select item item item select true deselect item set select item true updat look event notif take return displai async exec runnabl public void run send select event item dispos fix 1ge6xqa item dispos fals event event event event item item notifi listen swt select event deselectnotifi selectableitem isselect setlastselect asyncexec isdispos notifylisten deselect item start includ index stop includ index param index index rel item deselect start deselecion includ index param index index rel item deselect stop deselecion includ index void deselect rang int index int index index index int index index deselect visibl item index index int index index deselect visibl item set select visibl item index true fromindex toindex fromindex fromindex toindex toindex deselectrang fromindex toindex fromindex toindex toindex fromindex getvisibleitem fromindex toindex toindex fromindex getvisibleitem setlastselect getvisibleitem fromindex modifi kei action remov select move select item ctrl select move input focu item shift extend select item modifi kei receiv singl select style param kei mask modifi kei press void arrow int kei mask select item focu focu select item focu int focu item index visibl index focu focu item index visibl item count 1 1 indic 0 base focu item index focu visibl item focu item index kei mask swt mod1 multi select true set focu focu true kei mask swt mod2 multi select true shift select focu focu item index deselect focu select notifi focu keymask doarrowdown keymask selectableitem lastfocu getlastfocu selectableitem newfocu focusitemindex getvisibleindex lastfocu focusitemindex getvisibleitemcount focusitemindex newfocu getvisibleitem focusitemindex keymask ismultiselect setlastfocu newfocu keymask ismultiselect shiftselect newfocu focusitemindex deselectallexcept newfocu selectnotifi newfocu modifi kei action scroll receiv left ctrl shift param kei mask modifi kei press void arrow left int kei mask scroll bar horizont bar horizont bar int scroll select horizont bar select int scroll amount horizont bar visibl fals return scroll amount math min horizont scroll increment scroll select horizont bar set select scroll select scroll amount set horizont offset horizont bar select 1 keymask doarrowleft keymask scrollbar horizontalbar gethorizontalbar scrollselect horizontalbar getselect scrollamount horizontalbar getvis scrollamount horizont_scroll_increment scrollselect horizontalbar setselect scrollselect scrollamount sethorizontaloffset horizontalbar getselect modifi kei action scroll receiv ctrl shift param kei mask modifi kei press void arrow int kei mask scroll bar horizont bar horizont bar int scroll select horizont bar select int scroll amount horizont bar visibl fals return scroll amount math min scroll smaller horizont scroll increment scroll increment horizont bar maximum remain scroll rang horizont bar page increment scroll select horizont bar set select scroll select scroll amount set horizont offset horizont bar select 1 keymask doarrowright keymask scrollbar horizontalbar gethorizontalbar scrollselect horizontalbar getselect scrollamount horizontalbar getvis scrollamount horizont_scroll_increment horizontalbar getmaximum horizontalbar getpageincr scrollselect horizontalbar setselect scrollselect scrollamount sethorizontaloffset horizontalbar getselect modifi kei action remov select move select item ctrl select move input focu item shift extend select item modifi kei receiv singl select style param kei mask modifi kei press void arrow int kei mask select item focu focu select item focu int focu item index visibl index focu focu item index 0 focu item index focu visibl item focu item index kei mask swt mod1 multi select true set focu focu true kei mask swt mod2 multi select true shift select focu focu item index deselect focu select notifi focu keymask doarrowup keymask selectableitem lastfocu getlastfocu selectableitem newfocu focusitemindex getvisibleindex lastfocu focusitemindex focusitemindex newfocu getvisibleitem focusitemindex keymask ismultiselect setlastfocu newfocu keymask ismultiselect shiftselect newfocu focusitemindex deselectallexcept newfocu selectnotifi newfocu perform select oper item check box param item item click void check item select item item event event event item set check item check event item item event detail swt check notifi listen swt select event docheckitem selectableitem setcheck getcheck notifylisten free resourc void dispos set remov true select vector remov element focu item null select item null uncheck imag null uncheck imag dispos grai uncheck imag null grai uncheck imag dispos check mark imag null check mark imag dispos dodispos setremovingal getselectionvector removeallel lastfocusitem lastselecteditem uncheckedimag uncheckedimag grayuncheckedimag grayuncheckedimag checkmarkimag checkmarkimag modifi kei action remov select move select item ctrl select move input focu item shift extend select item modifi kei receiv singl select style param kei mask modifi kei press void end int kei mask select item focu focu select item focu int focu item index visibl index focu int item index visibl item count 1 1 indic 0 base focu item index item index focu visibl item item index kei mask swt mod1 multi select true set focu focu true kei mask swt mod2 multi select true shift select focu item index deselect focu select notifi focu keymask doend keymask selectableitem lastfocu getlastfocu selectableitem newfocu focusitemindex getvisibleindex lastfocu lastitemindex getvisibleitemcount focusitemindex lastitemindex newfocu getvisibleitem lastitemindex keymask ismultiselect setlastfocu newfocu keymask ismultiselect shiftselect newfocu lastitemindex deselectallexcept newfocu selectnotifi newfocu modifi kei action remov select move select item ctrl select move input focu item shift extend select item modifi kei receiv singl select style param kei mask modifi kei press void home int kei mask select item focu focu select item focu int item index 0 visibl index focu item index focu visibl item item index kei mask swt mod1 multi select true set focu focu true kei mask swt mod2 multi select true shift select focu item index deselect focu select notifi focu keymask dohom keymask selectableitem lastfocu getlastfocu selectableitem newfocu firstitemindex getvisibleindex lastfocu firstitemindex newfocu getvisibleitem firstitemindex keymask ismultiselect setlastfocu newfocu keymask ismultiselect shiftselect newfocu firstitemindex deselectallexcept newfocu selectnotifi newfocu perform mous select action accord kei mask event mask kei mask receiv singl select style param item item click param item index index click item rel item receiv param event mask kei mask mous event param button mous button press void mous select select item item int item index int event mask int button ignor doubl click item select item button 1 item select true item select chang select button 2 3 button invok drag drop open context menu current select return event mask swt mod1 0 event mask swt mod2 0 multi select true select vector size 0 select select notifi item standard ctrl select ctrl shift select item item index set ctrl select true event mask swt mod2 0 multi select true shift select item item index set ctrl select fals event mask swt mod1 0 multi select true toggl select notifi item set ctrl select true event mask swt mod3 swt mod4 0 macosx hold control kei press button 1 bring context menu chang select case deselect item select notifi item set ctrl select fals eventstatemask itemindex eventstatemask domouseselect selectableitem itemindex eventstatemask ignoredoubleclick lastselecteditem isselect eventstatemask eventstatemask ismultiselect getselectionvector selectnotifi ctrlshiftselect itemindex setctrlselect eventstatemask ismultiselect shiftselect itemindex setctrlselect eventstatemask ismultiselect toggleselectionnotifi setctrlselect eventstatemask deselectallexcept selectnotifi setctrlselect modifi kei action remov select move select page ctrl select move input focu page shift extend select page page number item displai receiv canva truncat item select set item full page item left modifi kei receiv singl select style param kei mask modifi kei press void page int kei mask select item focu int focu item index visibl index focu int item index visibl item count 1 1 indic 0 base int visibl item count focu item index item index visibl item count item count focu item index math min item index focu item index visibl item count 1 focu visibl item focu item index focu null return kei mask swt mod1 multi select true set focu focu true kei mask swt mod2 multi select true shift select focu focu item index deselect focu select notifi focu keymask dopagedown keymask selectableitem newfocu focusitemindex getvisibleindex getlastfocu lastitemindex getvisibleitemcount visibleitemcount focusitemindex lastitemindex visibleitemcount getitemcountwhol focusitemindex lastitemindex focusitemindex visibleitemcount newfocu getvisibleitem focusitemindex newfocu keymask ismultiselect setlastfocu newfocu keymask ismultiselect shiftselect newfocu focusitemindex deselectallexcept newfocu selectnotifi newfocu modifi kei action remov select move select page ctrl select move input focu page shift extend select page page number item displai receiv canva truncat item select set item full page item left modifi kei receiv singl select style param kei mask modifi kei press void page int kei mask select item focu int focu item index visibl index focu int visibl item count focu item index 0 visibl item count item count focu item index math max 0 focu item index visibl item count 1 focu visibl item focu item index kei mask swt mod1 multi select true set focu focu true kei mask swt mod2 multi select true shift select focu focu item index deselect focu select notifi focu keymask dopageup keymask selectableitem newfocu focusitemindex getvisibleindex getlastfocu visibleitemcount focusitemindex visibleitemcount getitemcountwhol focusitemindex focusitemindex visibleitemcount newfocu getvisibleitem focusitemindex keymask ismultiselect setlastfocu newfocu keymask ismultiselect shiftselect newfocu focusitemindex deselectallexcept newfocu selectnotifi newfocu modifi kei action ctrl select toggl select item input focu shift extend select item input focu ctrl shift set select item input focu receiv singl select style param kei mask modifi kei press void space int kei mask select item item focu item null return item checkabl true check item item int item index visibl index item kei mask swt null item select fals simpl space select singl multi mode deselect item select notifi item return multi select fals return kei mask swt mod1 toggl select notifi item kei mask swt mod1 0 kei mask swt mod2 0 deselect item select notifi item kei mask swt mod2 shift select item item index keymask dospac keymask selectableitem getlastfocu ischeck docheckitem itemindex getvisibleindex keymask isselect deselectallexcept selectnotifi ismultiselect keymask toggleselectionnotifi keymask keymask deselectallexcept selectnotifi keymask shiftselect itemindex sure free space bottom receiv occupi space item receiv height increas case receiv scroll occupi space top item item receiv void claim bottom free space int client area item count item count int top index top index int top index int item index visibl item count top index top index 0 item index 0 item index client area item count top index math max 0 top index client area item count item index set top index top index true claimbottomfreespac clientareaitemcount getitemcountwhol topindex gettopindex newtopindex lastitemindex getvisibleitemcount topindex topindex lastitemindex lastitemindex clientareaitemcount newtopindex topindex clientareaitemcount lastitemindex settopindex newtopindex sure free space side receiv occupi space side receiv receiv width increas case receiv scroll to occupi space void claim free space int client area width client area width int horizont offset client area width content width horizont offset horizont offset 0 item longer drawn past border client area horizont offset math min 0 horizont offset align end item border set horizont offset horizont offset client area window scroll claimrightfreespac clientareawidth getclientarea newhorizontaloffset clientareawidth getcontentwidth newhorizontaloffset gethorizontaloffset newhorizontaloffset newhorizontaloffset sethorizontaloffset newhorizontaloffset replac focu focu method displai focu window return focu window focu event 1fmiti focu move receiv redraw item select reflect focu chang param event focu chang event void focu chang event event enumer item select vector element select item focu item focu select item item item element true item select item item element redraw select item focu item null redraw select focu item focusin focusout getfocuswindow focusout focuschang getselectionvector selectableitem lastfocusitem getlastfocu selectableitem hasmoreel selectableitem nextel redrawselect lastfocusitem redrawselect lastfocusitem focu move receiv redraw item select reflect focu chang param event focu chang event void focu event event enumer item select vector element select item focu item focu select item item workaround 1fmiti focu true item element true item select item item element redraw select item focu item null redraw select focu item fix blank item slow machin ms fix 1g0ifmz updat focusin getselectionvector selectableitem lastfocusitem getlastfocu selectableitem hasfocu hasmoreel selectableitem nextel redrawselect lastfocusitem redrawselect lastfocusitem vm focu move receiv redraw item select reflect focu chang param event focu chang event void focu event event enumer item select vector element select item focu item focu select item item workaround 1fmiti focu fals item element true item select item item element redraw select item focu item null redraw select focu item fix blank item slow machin ms fix 1g0ifmz updat focusout getselectionvector selectableitem lastfocusitem getlastfocu selectableitem hasfocu hasmoreel selectableitem nextel redrawselect lastfocusitem redrawselect lastfocusitem vm answer index item posit receiv client area return 0 base index item posit tree client area int bottom index return top index item count truncat client area getbottomindex gettopindex getitemcounttrunc getclientarea answer size check box imag calcul cach assum imag check uncheck size point check box extent imag check imag rectangl imag bound check box extent null check imag uncheck imag check imag null imag bound check imag bound check box extent point imag bound width imag bound height check box extent point 0 0 return check box extent getcheckboxext checkedimag imagebound checkboxext checkedimag getuncheckedimag checkedimag imagebound checkedimag getbound checkboxext imagebound imagebound checkboxext checkboxext answer imag select check box answer null imag couldn load imag check mark imag check mark imag null check mark imag imag displai check mark imag data return check mark imag getcheckmarkimag checkmarkimag checkmarkimag checkmarkimagedata checkmarkimag answer width receiv content need set subclass int content width return content width getcontentwidth contentwidth answer horizont draw offset scroll 0 receiv scroll left 0 receiv scroll 0 receiv scroll int horizont offset return horizont offset gethorizontaloffset horizontaloffset answer doubl click boolean ignor doubl click return ignor doubl click getignoredoubleclick ignoredoubleclick answer size item imag calcul item height calcul point imag extent return item imag extent getimageext itemimageext answer imag extent item overridden subclass point imag extent select item item imag imag item imag rectangl imag bound point imag extent null imag null imag bound imag bound imag extent point imag bound width imag bound height return imag extent getimageext selectableitem getimag imagebound imageext imagebound getbound imageext imagebound imagebound imageext return imag extent answer index item receiv abstract int index select item item imageext getindex selectableitem abstract int index select item item answer index item displai area defin clip rectangl includ partial item return arrai element index item clip rectangl element index item clip rectangl int index rang rectangl clip rectangl int visibl rang int 0 0 visibl rang 0 clip rectangl item height visibl rang 1 visibl rang 0 item count truncat clip rectangl 1 1 item index 0 base return visibl rang getindex selectableitem cliprectangl cliprectangl cliprectangl getindexrang cliprectangl visiblerang visiblerang cliprectangl getitemheight visiblerang visiblerang getitemcounttrunc cliprectangl visiblerang return item draw marker indic insert locat drag drop oper select item insert item return insert item selectableitem getinsertitem insertitem return insert item answer number item receiv public abstract int item count insertitem getitemcount public abstract int item count answer number item displai rectangl result includ partial visibl item int item count truncat rectangl rectangl int item height item height int item count 0 int start index start index rectangl item height item count compat ceil rectangl rectangl height item height start index return item count getitemcount getitemcounttrunc itemheight getitemheight itemcount startindex startindex itemheight itemcount itemheight startindex itemcount answer number item displai client area receiv result includ item complet fit client area int item count return client area height item height getitemcountwhol getclientarea getitemheight answer height item receiv item height greater item icon height text height item text imag calcul default item height base font height item height calcul public int item height check widget gc gc item height 0 gc gc item height gc string extent string item pad initi item height font height item space real font height swt gc text extent gc dispos return item height getitemheight checkwidget itemheight itemheight stringext getitempad textext itemheight answer number pixel ad item height int item pad return 2 displai text highlight thick getitempad texthighlightthick answer item recent receiv input focu select item focu return focu item selectableitem getlastfocu lastfocusitem answer item select recent select item select return select item selectableitem getlastselect lastselecteditem answer event listen event event dispatch handler method handl event event scheme save lot class listen listen return listen handleev getlisten answer coordin item drawn param item select item paint posit return return coordin item drawn return 1 item item receiv int redrawi select item item int redraw index visibl index item int redrawi 1 redraw index 1 redrawi redraw index top index item height return redrawi selectableitem getredrawi selectableitem redrawindex getvisibleindex redrawindex redrawindex gettopindex getitemheight answer number select item receiv public int select count check widget return select vector size getselectioncount checkwidget getselectionvector answer select item receiv return select item receiv store vector return vector empti item select vector select vector return select item getselectionvector selecteditem answer index visibl item receiv client area return 0 base index visibl item receiv client area int top index return top index gettopindex topindex answer imag deselect check box imag uncheck imag uncheck imag null uncheck imag imag displai uncheck imag data return uncheck imag getuncheckedimag uncheckedimag uncheckedimag uncheckedimagedata uncheckedimag answer imag grai eck box imag grai uncheck imag grai uncheck imag null grai uncheck imag imag displai grai uncheck imag data return grai uncheck imag getgrayuncheckedimag grayuncheckedimag grayuncheckedimag grayuncheckedimagedata grayuncheckedimag answer index item receiv answer 1 item visibl return index refer visibl item note visibl context neccessarili mean item displai screen mean item displai locat insid receiv client area item receiv visibl abstract int visibl index select item item answer select item locat item index receiv param item index locat select item object return getvisibleindex selectableitem selectableitem itemindex itemindex selectableitem abstract select item visibl item int item index answer number visibl item receiv note visibl context neccessarili mean item displai screen mean item displai locat insid receiv client area item receiv visibl int visibl item count return item count selectableitem getvisibleitem itemindex getvisibleitemcount getitemcount answer coordin item drawn param item select item paint posit return return coordin item drawn return 1 item null client area selectableitem abstract int visibl redrawi select item item handl event receiv listen void handl event event event switch event type case swt dispos dispos break case swt kei kei event break case swt resiz resiz event break case swt select event widget vertic bar scroll vertic event event widget horizont bar scroll horizont event break case swt focu focu event break case swt focu focu event break case swt travers switch event detail case swt travers escap case swt travers return case swt travers tab case swt travers tab previou case swt travers page case swt travers page previou event doit true break break getvisibleredrawi selectableitem handleev dodispos keydown keydown getverticalbar scrollvert gethorizontalbar scrollhorizont focusout focusout focusin focusin travers_escap travers_return travers_tab_next travers_tab_previou travers_page_next travers_page_previou answer item input focu boolean focu select item item return focu control item focu hasfocu selectableitem isfocuscontrol getlastfocu listen need overridden instal listen listen listen public void handl event event event handl event event installlisten handleev handleev initi receiv add event listen set widget color void initi scroll bar horizont bar horizont bar scroll bar vertic bar vertic bar listen need overridden instal listen listen listen public void handl event event event handl event event set select vector vector instal listen calcul vertic scrollbar calcul horizont scrollbar horizont bar set minimum 0 vertic bar set minimum 0 horizont bar set increment horizont scroll increment set foreground displai system color swt color list foreground set background displai system color swt color list background scrollbar horizontalbar gethorizontalbar scrollbar verticalbar getverticalbar installlisten handleev handleev setselectionvector installlisten calculateverticalscrollbar calculatehorizontalscrollbar horizontalbar setminimum verticalbar setminimum horizontalbar setincr horizont_scroll_increment setforeground getsystemcolor color_list_foreground setbackground getsystemcolor color_list_background initi imag data check uncheck imag static void initi imag data palett data uncheck palett palett data rgb rgb 128 128 128 rgb 255 255 255 palett data grai uncheck palett palett data rgb rgb 128 128 128 rgb 192 192 192 palett data check mark palett palett data rgb rgb 0 0 0 rgb 252 3 251 byte checkbox byte 0 0 127 64 127 64 127 64 127 64 127 64 127 64 127 64 127 64 127 64 0 0 pixel repres bit byte data bit refer palett posit 0 1 pixel row imag pad byte argument width height depth palett scanlin pad data uncheck imag data imag data 11 11 1 uncheck palett 2 checkbox grai uncheck imag data imag data 11 11 1 grai uncheck palett 2 checkbox check mark imag data imag data 7 7 1 check mark palett 1 byte 4 8 112 34 6 114 34 check mark imag data transpar pixel 1 imagedata initializeimagedata palettedata uncheckedpalett palettedata palettedata grayuncheckedpalett palettedata palettedata checkmarkpalett palettedata uncheckedimagedata imagedata uncheckedpalett grayuncheckedimagedata imagedata grayuncheckedpalett checkmarkimagedata imagedata checkmarkpalett checkmarkimagedata transparentpixel add event listen tree widget scroll bar void instal listen listen listen listen add listen swt dispos listen add listen swt resiz listen add listen swt kei listen add listen swt focu listen add listen swt focu listen add listen swt travers listen vertic bar add listen swt select listen horizont bar add listen swt select listen installlisten getlisten addlisten addlisten addlisten keydown addlisten focusout addlisten focusin addlisten getverticalbar addlisten gethorizontalbar addlisten answer select item select ctrl kei boolean ctrl select return ctrl select isctrlselect isctrlselect answer true item widget dispos optim item dispos prevent unnecessari screen updat boolean remov return remov isremovingal isremovingal answer receiv input focu workaround 1fmiti public boolean focu control return focu isfocuscontrol hasfocu return drop insert posit item set motif setinsertmark return true insert posit insert item fals insert posit insert item boolean insert return insert motif_setinsertmark isinsertaft isinsertaft answer receiv multi select style set return true receiv multipl select mode fals receiv singl select mode boolean multi select return style swt multi 0 ismultiselect getstyl item identifi chang item chang calcul item height base item data imag imag receiv redraw window item height chang redraw chang item part depend repaint startx repaint width paramet param chang item item chang param repaint startx posit item redraw param repaint width width item redraw void item chang select item chang item int repaint startx int repaint width int posit int item height int item height item height point imag extent imag extent calcul item height chang item sure item height recalcul redraw redraw width 0 item visibl repaint width 0 posit visibl redrawi chang item 1 return chang item item imag item height item height item height item height redraw chang item item height imag extent imag extent imag size chang chang null safe test redraw client area redraw widget border motif adjust redraw width workaround 1g4tqrw repaint width math min repaint width client area width repaint startx repaint width 0 redraw repaint startx posit repaint width item height true redraw redraw item item height chang changeditem repaintstartx repaintwidth changeditem repaintstartx repaintwidth itemchang selectableitem changeditem repaintstartx repaintwidth yposit itemheight olditemheight getitemheight oldimageext getimageext calculateitemheight changeditem repaintwidth yposit getvisibleredrawi changeditem changeditem itemheight getitemheight olditemheight itemheight oldimageext getimageext repaintwidth repaintwidth getclientarea repaintstartx repaintwidth repaintstartx yposit repaintwidth itemheight kei press call handler method param event kei event void kei event event boolean ctrl select ctrl select event mask swt mod1 ctrl select fals switch event kei code case swt arrow arrow event mask break case swt arrow arrow event mask break case swt arrow left arrow left event mask break case swt arrow arrow event mask break case swt page page event mask break case swt page page event mask break case swt home home event mask break case swt end end event mask break default select occur previou ctrl select ctrl select select type inform event charact space event mask ctrl select event mask swt mod1 forward enter kei press default select listent event charact swt cr event forward event event forward event item focu notifi listen swt default select forward event set ctrl select ctrl select keydown isctrlselect isctrlselect statemask isctrlselect keycod arrow_up doarrowup statemask arrow_down doarrowdown statemask arrow_left doarrowleft statemask arrow_right doarrowright statemask page_up dopageup statemask page_down dopagedown statemask dohom statemask doend statemask isctrlselect isctrlselect dospac statemask isctrlselect statemask defaultselect forwardev forwardev getlastfocu notifylisten defaultselect forwardev setctrlselect isctrlselect set drop insert item drop insert item visual hint show drag item insert drop tree param item insert item param true place insert mark item fals place insert mark item void motif setinsertmark select item item boolean select item current item insert item int redrawi set insert item item set insert after current item null redrawi visibl redrawi current item redrawi 1 current item redraw insert mark redrawi item null redrawi visibl redrawi item redrawi 1 item redraw insert mark redrawi motif_setinsertmark selectableitem selectableitem currentitem getinsertitem setinsertitem setinsertaft currentitem getvisibleredrawi currentitem currentitem redrawinsertmark getvisibleredrawi redrawinsertmark overridden implement set redraw redraw set redraw set fals public void redraw check widget draw count 0 super redraw setredraw setredraw checkwidget drawcount overridden implement set redraw redraw set redraw set fals public void redraw int int int width int height boolean check widget draw count 0 super redraw width height setredraw setredraw checkwidget drawcount redraw select item param item select item select redrawn void redraw select select item item item dispos return int redraw posit visibl redrawi item redraw posit 1 item redraw select redraw posit selectableitem redrawselect selectableitem isdispos redrawposit getvisibleredrawi redrawposit redrawselect redrawposit item remov receiv updat displai scroll bar void remov item select item item claim bottom free space calcul vertic scrollbar item count 0 reset removeditem selectableitem claimbottomfreespac calculateverticalscrollbar getitemcount item remov tree move select input focu item select input focu param item item remov tree void remov item select item item select item focu item null int item index visibl index item int item count visibl item count deselect item remov select item select true select vector remov element item item focu item count 1 select previou item remov item bottom item select item fix 1ga6l85 item index item count 1 focu item visibl item item index 1 focu item visibl item item index 1 set focu focu item true ignor item widget client area item index 1 item index bottom index scroll vertic remov item item index removingitem selectableitem selectableitem nextfocusitem itemindex getvisibleindex itemcount getvisibleitemcount isselect getselectionvector removeel getlastfocu itemcount itemindex itemcount nextfocusitem getvisibleitem itemindex nextfocusitem getvisibleitem itemindex setlastfocu nextfocusitem itemindex itemindex getbottomindex scrollverticalremoveditem itemindex reset depend calcul the receiv void reset set select vector vector set top index scroll 0 true select item null focu item null reset item data setselectionvector settopindexnoscrol lastselecteditem lastfocusitem resetitemdata reset depend calcul item receiv void reset item data set horizont offset 0 set item height 0 item imag extent null text height 1 claim free space resetitemdata sethorizontaloffset setitemheight itemimageext textheight claimrightfreespac receiv resiz updat scroll bar sure space occupi item void resiz event event resiz void resiz int horizont page size horizont bar page increment resiz horizont scrollbar resiz vertic scrollbar client area width horizont page size window resiz wider check claim free space claim free space call claim bottom free space horizontalpages gethorizontalbar getpageincr resizehorizontalscrollbar resizeverticalscrollbar getclientarea horizontalpages claimrightfreespac claimrightfreespac claimbottomfreespac displai horizont scroll bar item drawn screen updat page size void resiz horizont scrollbar scroll bar horizont bar horizont bar int client area width client area width client area width content width horizont bar visibl fals horizont bar set visibl true horizont bar set select 0 horizont bar visibl true horizont bar set visibl fals horizont bar set thumb client area width horizont bar set page increment client area width resizehorizontalscrollbar scrollbar horizontalbar gethorizontalbar clientareawidth getclientarea clientareawidth getcontentwidth horizontalbar getvis horizontalbar setvis horizontalbar setselect horizontalbar getvis horizontalbar setvis horizontalbar setthumb clientareawidth horizontalbar setpageincr clientareawidth displai vertic scroll bar item drawn screen updat page size void resiz vertic scrollbar int client area item count item count scroll bar vertic bar vertic bar client area item count 0 return client area item count visibl item count vertic bar visibl fals vertic bar set visibl true set page size smaller scroll rang maximum scroll select reset vertic bar set page increment client area item count vertic bar set thumb client area item count vertic bar visibl true vertic bar set visibl fals resizeverticalscrollbar clientareaitemcount getitemcountwhol scrollbar verticalbar getverticalbar clientareaitemcount clientareaitemcount getvisibleitemcount verticalbar getvis verticalbar setvis verticalbar setpageincr clientareaitemcount verticalbar setthumb clientareaitemcount verticalbar getvis verticalbar setvis scroll rectangl width height destin posit redraw set fals set redraw param destx destin posit scroll rectangl param desti destin posit scroll rectangl param x locat upper left corner scroll rectangl param y locat upper left corner scroll rectangl param width width scroll rectangl param height height scroll rectangl param us true scroll children intersect scroll rectangl void scroll int destx int desti int int int width int height boolean draw count 0 updat gc gc gc gc copi area width height destx desti gc dispos setredraw drawcount copyarea scroll horizont num pixel pixel param num pixel number pixel scroll num pixel 0 scroll left num pixel 0 scroll numpixel numpixel numpixel numpixel abstract void scroll horizont int num pixel posit horizont scroll bar modifi user adjust horizont offset trigger horizont scroll param event scroll event void scroll horizont event event set horizont offset horizont bar select 1 scrollhorizont numpixel scrollhorizont sethorizontaloffset gethorizontalbar getselect void scroll show item int index int item index top index top index int client area item count item count int scroll amount 0 item index top client area item count show item visibl item scroll amount item index top client area item count 0 0 show item call receiv hasn displai scroll amount client area item count 1 item index top 0 show item visibl item scroll amount item index top set top index top index scroll amount true scrollshowitem itemindexfromtop gettopindex clientareawholeitemcount getitemcountwhol scrollamount itemindexfromtop clientareawholeitemcount scrollamount itemindexfromtop clientareawholeitemcount showitem scrollamount clientareawholeitemcount itemindexfromtop scrollamount itemindexfromtop settopindex gettopindex scrollamount scroll vertic scroll index count item param scroll index count number item scroll scroll index count 0 scroll scroll index count 0 scroll scrollindexcount scrollindexcount scrollindexcount scrollindexcount abstract void scroll vertic int scroll index count posit horizont scroll bar modifi user adjust index top item trigger vertic scroll param event scroll event void scroll vertic event event set top index vertic bar select fals scrollvert scrollindexcount scrollvert settopindex getverticalbar getselect scroll item space item ad receiv posit index param index posit space item index rel item receiv void scroll vertic ad item int index rectangl client area client area int item height item height int sourcei math max 0 index top index item height need scroll visibl area scroll 0 sourcei item height destin 0 sourcei sourc client area width client area height true scrollverticaladdingitem clientarea getclientarea itemheight getitemheight gettopindex itemheight itemheight clientarea clientarea scroll item item posit index cover remov item param index index remov item void scroll vertic remov item int index rectangl client area client area int item height item height int destinationi math max 0 index top index item height scroll 0 destinationi destin 0 destinationi item height sourc client area width client area height true scrollverticalremoveditem clientarea getclientarea itemheight getitemheight gettopindex itemheight itemheight clientarea clientarea select item select param item item select void select select item item vector select item select vector item null item select fals remov fals item set select true redraw select item select item add element item selectableitem selecteditem getselectionvector isselect isremovingal setselect redrawselect selecteditem addel select item select send select event select chang param item item select param async notifi true send select event asynchron fals send select event immedi void select notifi final select item item boolean async notifi remov fals item select fals select item set select item true updat look event notif take return event event event event item item async notifi post event swt select event send event swt select event asyncnotifi selectnotifi selectableitem asyncnotifi isremovingal isselect setlastselect asyncnotifi postev sendev select item select send select event select chang param item item select void select notifi select item item select notifi item true selectnotifi selectableitem selectnotifi select item receiv start index includ index void select rang int index int index index index int index index select visibl item int index index select visibl item select notifi visibl item index select item notifi listen fromindex toindex selectrang fromindex toindex fromindex toindex fromindex toindex getvisibleitem fromindex toindex getvisibleitem selectnotifi getvisibleitem toindex set width receiv content width content width calcul horizont scrollbar void set content width int width scroll bar horizont bar boolean scroll bar visibl content width width horizont bar horizont bar scroll bar visibl horizont bar visibl content width width calcul horizont scrollbar scroll bar visibl horizont bar visibl resiz vertic scrollbar vertic scroll bar need resiz horizont scroll bar hidden visibl recalcul newwidth setcontentwidth newwidth scrollbar horizontalbar scrollbarvis contentwidth newwidth horizontalbar gethorizontalbar scrollbarvis horizontalbar getvis contentwidth newwidth calculatehorizontalscrollbar scrollbarvis horizontalbar getvis resizeverticalscrollbar set select item select ctrl kei param ctrl select true select item select ctrl kei fals select item select ctrl kei void set ctrl select boolean ctrl select ctrl select ctrl select isctrlselect setctrlselect isctrlselect isctrlselect isctrlselect font chang reset text height forc recalcul item chang public void set font font font check widget super set font font text height 1 itemchang setfont checkwidget setfont textheight set horizont draw offset offset scroll receiv content accord offset chang param offset 0 widget content drawn left client area void set horizont offset int offset int offset chang offset horizont offset offset chang 0 scroll horizont offset chang horizont offset offset sethorizontaloffset offsetchang horizontaloffset offsetchang scrollhorizont offsetchang horizontaloffset set drop insert posit item set motif setinsertmark param true insert posit insert item fals insert posit insert item void set insert boolean insert after motif_setinsertmark setinsertaft isinsertaft set item draw marker indic insert locat drag drop oper param item item draw insert marker void set insert item select item item insert item item setinsertitem selectableitem insertitem set height receiv item height void set item height int height item height height setitemheight itemheight set item recent receiv input focu focu item redraw item lost focu receiv focu param focu item item recent receiv input focu param show item true focu item scroll view fals don scroll void set focu select item focu item boolean show item select item focu item focu item focu item focu item focu item focu item focu item null redraw select focu item focu item null focu control true redraw select focu item focu item null show item true show select item focu item focusitem focusitem showitem setlastfocu selectableitem focusitem showitem selectableitem oldfocusitem lastfocusitem focusitem lastfocusitem lastfocusitem focusitem oldfocusitem redrawselect oldfocusitem lastfocusitem isfocuscontrol redrawselect lastfocusitem focusitem showitem showselectableitem focusitem set item select recent select item set input focu item param select item item select recent param show item true focu item scroll view fals don scroll void set select select item select item boolean show item select item null store item select return set focu select item show item select item select item selecteditem selecteditem showitem setlastselect selectableitem selecteditem showitem selecteditem setlastfocu selecteditem showitem lastselecteditem selecteditem set redraw flag param redraw true redraw scroll oper perform fals redraw scroll oper public void set redraw boolean redraw check widget redraw draw count 0 calcul vertic scrollbar calcul horizont scrollbar resiz redraw draw count setredraw checkwidget drawcount calculateverticalscrollbar calculatehorizontalscrollbar drawcount set item widget dispos optim item dispos prevent unnecessari screen updat param remov true item remov fals normal item item remov void set remov boolean remov remov remov removingal setremovingal removingal isremovingal removingal select item store select item swt select event go param select item arrai item select void set select select select item select item select item item null int select count select item length vector select multi select fals select count 1 select count 1 select vector select item length int 0 select count select item null select item dispos error swt error invalid argument select add element select item deselect select select order select deslect method set select repeatedli select item repeat select item caus flash int select count 1 0 item select item item null select item item null set select item true selectionitem selectionitem setselectableselect selectableitem selectionitem selectableitem selectioncount selectionitem keepselect ismultiselect selectioncount selectioncount keepselect selectionitem selectioncount selectionitem selectionitem isdispos error_invalid_argument keepselect addel selectionitem deselectallexcept keepselect setlastselect lastselecteditem selectioncount selectionitem setlastselect set vector store select item receiv vector param vector vector store select item receiv void set select vector vector vector select item vector newvector newvector setselectionvector newvector selecteditem newvector scroll item index top param index 0 base index visibl item receiv client area param adjust scrollbar true set posit vertic scroll bar top index fals don adjust vertic scroll bar void set top index int index boolean adjust scrollbar int index diff index top index index diff 0 scroll vertic index diff set top index scroll index adjust scrollbar adjustscrollbar settopindex adjustscrollbar indexdiff topindex indexdiff scrollvert indexdiff settopindexnoscrol adjustscrollbar set index visibl item receiv client area index param index 0 base index visibl item receiv client area param adjust scrollbar true set posit vertic scroll bar top index fals don adjust vertic scroll bar void set top index scroll int index boolean adjust scrollbar top index index adjust scrollbar true vertic bar set select index adjustscrollbar settopindexnoscrol adjustscrollbar topindex adjustscrollbar getverticalbar setselect shift kei press mous click item occur shift select select item click select expand reduc item param hit item specifi click item param hit item index specifi index click item rel item void shift select select item hit item int hit item index int index 1 int index 1 int select index 1 int select rang select item select select select null select index visibl index select ctrl select true select ctrl select deselect select index select index select select index hit item index select vector hit item true click item select deselect rang hit item index select index reduc select click exist select rang select rang calcul shift select rang hit item index index select rang 0 index select rang 1 hit item index select index click select item return index 1 index 1 previous select item toggl select notifi hit item singl select select index index hit item index index select revers direct select index index hit item index index deselect select item null remov select select rang index index hititem hititemindex shiftselect selectableitem hititem hititemindex fromindex toindex lastselectionindex selectionrang selectableitem lastselect getlastselect lastselect lastselectionindex getvisibleindex lastselect isctrlselect deselectallexcept lastselect fromindex lastselectionindex toindex hititemindex getselectionvector hititem deselectrang hititemindex lastselectionindex selectionrang calculateshiftselectionrang hititemindex fromindex selectionrang toindex selectionrang hititemindex lastselectionindex fromindex toindex toggleselectionnotifi hititem lastselectionindex fromindex hititemindex fromindex lastselectionindex fromindex hititemindex fromindex deselectallexcept selectableitem selectrang fromindex toindex item visibl scroll receiv client area param item item visibl user void show select item select item item item select parent return int index index item show select item index showselectableitem selectableitem getselectablepar getindex showselectableitem index visibl scroll receiv client area param index item index visibl user void show select item int index scroll show item index scroll show item index call make sure item visibl scroll caus horizont scroll displai item hidden showselectableitem scrollshowitem scrollshowitem show select select select visibl method select visibl top index widget chang select visibl public void show select check widget vector select select vector select item select item select size 0 select item select item select element show select item select item showselect checkwidget getselectionvector selectableitem selectionitem selectionitem selectableitem firstel showselectableitem selectionitem sort rang arrai param arrai select item arrai sort param start start index sort param end 1 index sort void sort select item arrai int start int end int middl start end 2 start 1 middl sort arrai start middl middl 1 end sort arrai middl end start 1 end return case happen method call user visibl index arrai middl 1 visibl index arrai middl return start 2 end select item temp arrai start arrai start arrai middl arrai middl temp return int i1 start i2 middl i3 0 select item merg select item end start i1 middl i2 end merg i3 visibl index arrai i1 visibl index arrai i2 arrai i1 arrai i2 i1 middl system arraycopi arrai i1 merg i3 middl i1 system arraycopi merg 0 arrai start i2 start selectableitem selectableitem getvisibleindex getvisibleindex selectableitem selectableitem selectableitem getvisibleindex getvisibleindex toggl select item param item item select deselect void toggl select notifi select item item item select true deselect notifi item select notifi item toggleselectionnotifi selectableitem isselect deselectnotifi selectnotifi class tree root extend abstract tree item creat tree item hold root item param parent tree widget receiv belong tree root tree parent super parent 0 initi treeroot abstracttreeitem treeroot calcul number expand children recurs tree root item void calcul visibl item count vector children children tree item child int visibl item count children size int 0 children size child tree item children element visibl item count child visibl item count set visibl item count visibl item count calculatevisibleitemcount getchildren treeitem visibleitemcount treeitem elementat visibleitemcount getvisibleitemcount setvisibleitemcount visibleitemcount calcul number expand children parent item item public void dispos dispos return tree parent tree select parent tree item remov don need consum screen updat remov item parent set remov true super dispos parent set remov fals isdispos getselectablepar setremovingal setremovingal answer posit item check box int checkboxx posit return 0 getcheckboxxposit implement select item select extent call object type render point select extent return point 0 0 selectableitem getselectionext getselectionext implement select item selectionx call object type render int selectionx return 0 selectableitem getselectionx getselectionx answer 1 receiv visibl int visibl index return 1 getvisibleindex answer index child item identifi child index rel root item int visibl index int child index enumer children children element tree item child int global item index 0 children element true child tree item children element child index child index break global item index child visibl item count return global item index childindex getvisibleindex childindex getchildren treeitem globalitemindex hasmoreel treeitem nextel getindex childindex globalitemindex getvisibleitemcount globalitemindex answer item search index relativ receiv method call root item search index repres global index item tree search index 0 return receiv search index 1 return visibl child note search index 0 note visibl context neccessarili mean item displai screen visibl mean parent item expand item visibl screen widget client area tree item visibl item int search index tree item child tree item found item null enumer children children element search index skip fake root item search expand item count subitem process children element true found item null child tree item children element search index child intern expand true search index child visibl item count count children expand item search index 0 search item past child add children current item want search found item child visibl item search index child visibl item count return found item searchindex searchindex searchindex searchindex searchindex treeitem getvisibleitem searchindex treeitem treeitem founditem getchildren searchindex hasmoreel founditem treeitem nextel searchindex internalgetexpand searchindex getvisibleitemcount searchindex founditem getvisibleitem searchindex getvisibleitemcount founditem initi receiv void initi intern set expand true internalsetexpand select receiv children vector select vector select item enumer children children element abstract tree item tree item children element true tree item abstract tree item children element select item tree item select select item return select item selectal selecteditem getchildren abstracttreeitem treeitem hasmoreel treeitem abstracttreeitem nextel selecteditem treeitem selectal selecteditem selecteditem public static final int gnome vf mime applic argument type uri 0 public static final synchron nativ int gnomevfsmimeappl sizeof gnome_vf_mime_applic_argument_type_uri gnomevfsmimeappl_sizeof public static final synchron nativ int gnomevfsmimeappl sizeof public static final synchron nativ void free int mem gnomevfsmimeappl_sizeof g_free public static final synchron nativ int gnomevfsmimeappl sizeof public static final synchron nativ void free int mem public static final synchron nativ int list int list gnomevfsmimeappl_sizeof g_free g_list_next public static final synchron nativ void free int mem public static final synchron nativ int list int list public static final synchron nativ void object unref int object g_free g_list_next g_object_unref public static final synchron nativ int list int list public static final synchron nativ void object unref int object public static final synchron nativ int gnome icon lookup int icon theme int thumbnail factori byte file uri byte custom icon int file info byte mime type int flag int result g_list_next g_object_unref gnome_icon_lookup icon_theme thumbnail_factori file_uri custom_icon file_info mime_type public static final synchron nativ void object unref int object public static final synchron nativ int gnome icon lookup int icon theme int thumbnail factori byte file uri byte custom icon int file info byte mime type int flag int result public static final synchron nativ int gnome icon theme lookup icon int theme int icon int size int icon data int base size g_object_unref gnome_icon_lookup icon_theme thumbnail_factori file_uri custom_icon file_info mime_type gnome_icon_theme_lookup_icon icon_name icon_data base_size public static final synchron nativ int gnome icon lookup int icon theme int thumbnail factori byte file uri byte custom icon int file info byte mime type int flag int result public static final synchron nativ int gnome icon theme lookup icon int theme int icon int size int icon data int base size public static final synchron nativ int gnome icon theme gnome_icon_lookup icon_theme thumbnail_factori file_uri custom_icon file_info mime_type gnome_icon_theme_lookup_icon icon_name icon_data base_size gnome_icon_theme_new public static final synchron nativ int gnome icon theme lookup icon int theme int icon int size int icon data int base size public static final synchron nativ int gnome icon theme public static final synchron nativ int gnome vf regist mime type gnome_icon_theme_lookup_icon icon_name icon_data base_size gnome_icon_theme_new gnome_vf_get_regist_mime_type public static final synchron nativ int gnome icon theme public static final synchron nativ int gnome vf regist mime type public static final synchron nativ boolean gnome vf init gnome_icon_theme_new gnome_vf_get_regist_mime_type gnome_vf_init public static final synchron nativ int gnome vf regist mime type public static final synchron nativ boolean gnome vf init public static final synchron nativ void gnome vf mime applic free int applic gnome_vf_get_regist_mime_type gnome_vf_init gnome_vf_mime_applic_free public static final synchron nativ boolean gnome vf init public static final synchron nativ void gnome vf mime applic free int applic public static final synchron nativ void gnome vf mime extens list free int list gnome_vf_init gnome_vf_mime_applic_free gnome_vf_mime_extens_list_free public static final synchron nativ void gnome vf mime applic free int applic public static final synchron nativ void gnome vf mime extens list free int list public static final synchron nativ int gnome vf mime default applic byte mime type gnome_vf_mime_applic_free gnome_vf_mime_extens_list_free gnome_vf_mime_get_default_applic mimetyp public static final synchron nativ void gnome vf mime extens list free int list public static final synchron nativ int gnome vf mime default applic byte mime type public static final synchron nativ int gnome vf mime extens list int mime type gnome_vf_mime_extens_list_free gnome_vf_mime_get_default_applic mimetyp gnome_vf_mime_get_extens_list mime_type public static final synchron nativ int gnome vf mime default applic byte mime type public static final synchron nativ int gnome vf mime extens list int mime type public static final synchron nativ void gnome vf mime regist mime type list free int list gnome_vf_mime_get_default_applic mimetyp gnome_vf_mime_get_extens_list mime_type gnome_vf_mime_regist_mime_type_list_free public static final synchron nativ int gnome vf mime extens list int mime type public static final synchron nativ void gnome vf mime regist mime type list free int list public static final synchron nativ void memmov gnomevf mime applic dest int src int count gnome_vf_mime_get_extens_list mime_type gnome_vf_mime_regist_mime_type_list_free gnomevfsmimeappl privat access factori int widget type super default parent type 0 os access activ default parent type 0 return widget type atk type widget type int widget type length os strlen widget type 1 byte buffer byte widget type length os memmov buffer widget type widget type length byte factori byte factori typenam length widget type length system arraycopi factori typenam 0 factori 0 factori typenam length system arraycopi buffer 0 factori factori typenam length widget type length atk type factori 0 regist factori int registri atk atk default registri int previou factori atk atk registri factori registri widget type object parent type atk atk object factori access type previou factori object parent type 0 object parent type default parent type int factori parent type atk type factori parenttypenam gtypeinfo base init factori callback gtypeinfo base init factori 1 type info type info type info type info base init gtypeinfo base init factori address type info class size short atk atkobjectfactoryclass sizeof type info instanc size short atk atkobjectfactori sizeof handl os malloc type info sizeof atk memmov handl type info type info sizeof int swt factori atk type regist static factori parent type factori handl 0 atk atk registri set factori type registri widget type swt factori accessiblefactori widgettyp defaultparenttyp defaultparenttyp widgettypenam g_type_name widgettyp widgettypenamelength widgettypenam widgettypenamelength widgettypenam widgettypenamelength factorynam factori_typenam widgettypenamelength factori_typenam factorynam factori_typenam factorynam factori_typenam widgettypenamelength g_type_from_name factorynam atk_get_default_registri previousfactori atk_registri_get_factori widgettyp objectparenttyp atk_object_factori_get_access_type previousfactori objectparenttyp objectparenttyp defaultparenttyp factoryparenttyp g_type_from_name factori_parenttypenam gtypeinfo_base_init_factori gtypeinfo_base_init_factori gtypeinfo typeinfo gtypeinfo typeinfo base_init gtypeinfo_base_init_factori getaddress typeinfo class_size atkobjectfactoryclass_sizeof typeinfo instanc_size atkobjectfactori_sizeof g_malloc gtypeinfo typeinfo gtypeinfo swtfactori g_type_regist_static factoryparenttyp factorynam atk_registri_set_factori_type widgettyp swtfactori void add access access access int control handl access control handl access put control handl access addaccess controlhandl getcontrolhandl controlhandl int atkobjectfactori creat access int widget access access access access widget access null don care control creat parent type access callback pass int result atk object object parent type 0 atk atk object initi result widget return result int type length os strlen widget type byte buffer byte type length os memmov buffer widget type type length int type type buffer access object parent type acc childid access object object access object type widget access object parent type fals access access object object return object handl atkobjectfactori_creat_access g_object_new objectparenttyp atk_object_initi typenamelength widgettypenam typenamelength widgettypenam typenamelength gettyp objectparenttyp childid_self accessibleobject accessibleobject objectparenttyp accessibleobject static int child type access access int child index return type child typenam access default parent type child index getchildtyp childindex gettyp child_typenam defaultparenttyp childindex static int default parent type return default parent type getdefaultparenttyp defaultparenttyp static int type byte widget type access access int parent type int child id access control event event access control event access event childid child id access control listen listen access control listen int 0 listen length listen role event boolean action fals hypertext fals select fals text fals event detail 0 role int 0 action role length event detail action role action true break int 0 hypertext role length event detail hypertext role hypertext true break int 0 select role length event detail select role select true break int 0 text role length event detail text role text true break action hypertext select text true string swt type string swt type prefix swt type string widget type action swt type action hypertext swt type hypertext select swt type select text swt type text int type 0 type int type swt type type int null type type int defin type int queri ptr os malloc type queri sizeof atk type queri parent type queri ptr type queri queri type queri atk memmov queri queri ptr type queri sizeof os free queri ptr type info type info type info type info base init gtypeinfo base init type address type info class size short queri class size type info instanc size short queri instanc size object ifac definit os malloc type info sizeof atk memmov object ifac definit type info type info sizeof byte byte byte swt type length 1 system arraycopi swt type byte 0 byte 0 swt type length type atk type regist static parent type byte object ifac definit 0 atk type add interfac static type access object atk compon type compon ifac definit action atk type add interfac static type access object atk action type action ifac definit hypertext atk type add interfac static type access object atk hypertext type hypertext ifac definit select atk type add interfac static type access object atk select type select ifac definit text atk type add interfac static type access object atk text type text ifac definit type put swt type type return type gettyp widgettypenam parenttyp childid accessiblecontrolev accessiblecontrolev childid accessiblecontrollisten getcontrollisten getrol actionrol actionrol hypertextrol hypertextrol selectionrol selectionrol textrol textrol swttypenam swt_type_prefix swttypenam widgettypenam swttypenam swttypenam swttypenam swttypenam typeint swttypenam typeint typeint queryptr g_malloc gtypequeri g_type_queri parenttyp queryptr gtypequeri gtypequeri queryptr gtypequeri g_free queryptr gtypeinfo typeinfo gtypeinfo typeinfo base_init gtypeinfo_base_init_type getaddress typeinfo class_size class_size typeinfo instanc_size instanc_size objectifacedefinit g_malloc gtypeinfo objectifacedefinit typeinfo gtypeinfo namebyt swttypenam swttypenam getbyt namebyt swttypenam g_type_regist_static parenttyp namebyt objectifacedefinit g_type_add_interfac_static accessibleobject atk_compon_type componentifacedefinit g_type_add_interfac_static accessibleobject atk_action_type actionifacedefinit g_type_add_interfac_static accessibleobject atk_hypertext_type hypertextifacedefinit g_type_add_interfac_static accessibleobject atk_select_type selectionifacedefinit g_type_add_interfac_static accessibleobject atk_text_type textifacedefinit swttypenam int gtypeinfo base init factori int klass int atk object factori class atk atk object factori class klass atk object factori class object factori class struct atk object factori class atk memmov object factori class struct atk object factori class atkobjectfactorycb creat access callback atkobjectfactori creat access 1 object factori class struct creat access atkobjectfactorycb creat access address atk memmov atk object factori class object factori class struct return 0 gtypeinfo_base_init_factori atkobjectfactoryclass atk_object_factori_class atkobjectfactoryclass objectfactoryclassstruct atkobjectfactoryclass objectfactoryclassstruct atkobjectfactoryclass atkobjectfactorycb_creat_access atkobjectfactori_creat_access objectfactoryclassstruct creat_access atkobjectfactorycb_creat_access getaddress atkobjectfactoryclass objectfactoryclassstruct static int gtypeinfo base init type int klass atk object class object class atk object class atk memmov object class klass object class atkobjectcb address object class descript atkobjectcb descript address object class children atkobjectcb children address object class role atkobjectcb role address object class parent atkobjectcb parent address object class ref set atkobjectcb ref set address object class index parent atkobjectcb index parent address object class ref child atkobjectcb ref child address int object class atk object class klass object class object class struct object class atk memmov object class struct object class object class struct final gobjectclass final address atk memmov object class object class struct atk memmov klass object class return 0 gtypeinfo_base_init_type atkobjectclass objectclass atkobjectclass objectclass objectclass get_name atkobjectcb_get_name getaddress objectclass get_descript atkobjectcb_get_descript getaddress objectclass get_n_children atkobjectcb_get_n_children getaddress objectclass get_role atkobjectcb_get_role getaddress objectclass get_parent atkobjectcb_get_parent getaddress objectclass ref_state_set atkobjectcb_ref_state_set getaddress objectclass get_index_in_parent atkobjectcb_get_index_in_parent getaddress objectclass ref_child atkobjectcb_ref_child getaddress gobjectclass g_object_class gobjectclass objectclassstruct gobjectclass objectclassstruct gobjectclass objectclassstruct gobjectclass_final getaddress gobjectclass objectclassstruct objectclass static int init action ifacecb int ifac atk action ifac action ifac atk action ifac atk memmov action ifac ifac action ifac keybind atkactioncb keybind address action ifac atkactioncb address atk memmov ifac action ifac return 0 initactionifacecb atkactionifac actionifac atkactionifac actionifac actionifac get_keybind atkactioncb_get_keybind getaddress actionifac get_name atkactioncb_get_name getaddress actionifac static int init compon ifacecb int ifac atk compon ifac compon ifac atk compon ifac atk memmov compon ifac ifac compon ifac extent atkcomponentcb extent address compon ifac posit atkcomponentcb posit address compon ifac size atkcomponentcb size address compon ifac ref access point atkcomponentcb ref access point address atk memmov ifac compon ifac return 0 initcomponentifacecb atkcomponentifac componentifac atkcomponentifac componentifac componentifac get_extent atkcomponentcb_get_extent getaddress componentifac get_posit atkcomponentcb_get_posit getaddress componentifac get_size atkcomponentcb_get_size getaddress componentifac ref_access_at_point atkcomponentcb_ref_access_at_point getaddress componentifac static int init hypertext ifacecb int ifac atk hypertext ifac hypertext ifac atk hypertext ifac atk memmov hypertext ifac ifac hypertext ifac link atkhypertextcb link address hypertext ifac link index atkhypertextcb link index address hypertext ifac link atkhypertextcb link address atk memmov ifac hypertext ifac return 0 inithypertextifacecb atkhypertextifac hypertextifac atkhypertextifac hypertextifac hypertextifac get_link atkhypertextcb_get_link getaddress hypertextifac get_link_index atkhypertextcb_get_link_index getaddress hypertextifac get_n_link atkhypertextcb_get_n_link getaddress hypertextifac static int init select ifacecb int ifac atk select ifac select ifac atk select ifac atk memmov select ifac ifac select ifac child select atkselectioncb child select address select ifac ref select atkselectioncb ref select address atk memmov ifac select ifac return 0 initselectionifacecb atkselectionifac selectionifac atkselectionifac selectionifac selectionifac is_child_select atkselectioncb_is_child_select getaddress selectionifac ref_select atkselectioncb_ref_select getaddress selectionifac static int init text ifacecb int ifac atk text ifac text interfac atk text ifac atk memmov text interfac ifac text interfac caret offset atktextcb caret offset address text interfac charact offset atktextcb charact offset address text interfac charact count atktextcb charact count address text interfac select atktextcb select address text interfac select atktextcb select address text interfac text atktextcb text address text interfac text offset atktextcb text offset address text interfac text offset atktextcb text offset address text interfac text offset atktextcb text offset address atk memmov ifac text interfac return 0 inittextifacecb atktextifac textinterfac atktextifac textinterfac textinterfac get_caret_offset atktextcb_get_caret_offset getaddress textinterfac get_charact_at_offset atktextcb_get_charact_at_offset getaddress textinterfac get_charact_count atktextcb_get_charact_count getaddress textinterfac get_n_select atktextcb_get_n_select getaddress textinterfac get_select atktextcb_get_select getaddress textinterfac get_text atktextcb_get_text getaddress textinterfac get_text_after_offset atktextcb_get_text_after_offset getaddress textinterfac get_text_at_offset atktextcb_get_text_at_offset getaddress textinterfac get_text_befor_offset atktextcb_get_text_befor_offset getaddress textinterfac static void regist access access access int control handl access control handl int widget type atk type instanc control handl access factori factori access factori factori widget type factori null factori access factori widget type factori put widget type factori factori add access access registeraccess controlhandl getcontrolhandl widgettyp g_type_from_instanc controlhandl accessiblefactori accessiblefactori widgettyp accessiblefactori widgettyp widgettyp addaccess void remov access access access access remov access control handl removeaccess getcontrolhandl static void unregist access access access int control handl access control handl int widget type atk type instanc control handl access factori factori access factori factori widget type factori null factori remov access access unregisteraccess controlhandl getcontrolhandl widgettyp g_type_from_instanc controlhandl accessiblefactori accessiblefactori widgettyp removeaccess access object int type int widget access access int parent type boolean lightweight super handl atk object type 0 parent type parent type atk atk object initi handl widget access access lightweight lightweight access object put handl debug system println access object handl accessibleobject parenttyp islightweight g_object_new parenttyp parenttyp atk_object_initi islightweight islightweight accessibleobject accessibleobject void add child access object child children put child handl child child set parent addchild accessibleobject setpar static int atkact keybind int atk object int index debug system println atkact keybind access object object access object atk object object null return 0 int parent result 0 atk type object parent type atk action type int super type atk type interfac peek parent atk atk action ifac object handl atk action ifac action ifac atk action ifac atk memmov action ifac super type action ifac keybind 0 parent result atk call action ifac keybind object handl index access listen listen object access listen listen length 0 return parent result access event event access event object event childid object id parent result 0 int length os strlen parent result byte buffer byte length os memmov buffer parent result length event result string convert mbc wc null buffer int 0 listen length listen keyboard shortcut event event result null return parent result keybind ptr 1 os free keybind ptr byte convert wc mbc null event result true keybind ptr os malloc length os memmov keybind ptr name length return keybind ptr atkact_get_keybind atkobject atkact_get_keybind accessibleobject getaccessibleobject atkobject parentresult g_type_is_a parenttyp atk_action_type supertyp g_type_interfac_peek_parent atk_action_get_ifac atkactionifac actionifac atkactionifac actionifac supertyp actionifac get_keybind parentresult actionifac get_keybind accessiblelisten getaccessiblelisten parentresult accessibleev accessibleev parentresult parentresult parentresult mbcstowc getkeyboardshortcut parentresult keybindingptr g_free keybindingptr wcstombc keybindingptr g_malloc keybindingptr keybindingptr static int atkact int atk object int index debug system println atkact access object object access object atk object object null return 0 int parent result 0 atk type object parent type atk action type int super type atk type interfac peek parent atk atk action ifac object handl atk action ifac action ifac atk action ifac atk memmov action ifac super type action ifac 0 parent result atk call action ifac object handl index access control listen listen object control listen listen length 0 return parent result access control event event access control event object event childid object id parent result 0 int length os strlen parent result byte buffer byte length os memmov buffer parent result length event result string convert mbc wc null buffer int 0 listen length listen default action event event result null return parent result action ptr 1 os free action ptr byte convert wc mbc null event result true action ptr os malloc length os memmov action ptr name length return action ptr atkact_get_name atkobject atkact_get_name accessibleobject getaccessibleobject atkobject parentresult g_type_is_a parenttyp atk_action_type supertyp g_type_interfac_peek_parent atk_action_get_ifac atkactionifac actionifac atkactionifac actionifac supertyp actionifac get_name parentresult actionifac get_name accessiblecontrollisten getcontrollisten parentresult accessiblecontrolev accessiblecontrolev parentresult parentresult parentresult mbcstowc getdefaultact parentresult actionnameptr g_free actionnameptr wcstombc actionnameptr g_malloc actionnameptr actionnameptr static int atkcompon extent int atk object int int int width int height int coord type debug system println atkcompon extent access object object access object atk object object null return 0 os memmov int 0 4 os memmov int 0 4 os memmov width int 0 4 os memmov height int 0 4 atk type object parent type atk compon type int super type atk type interfac peek parent atk atk compon ifac object handl atk compon ifac compon ifac atk compon ifac atk memmov compon ifac super type compon ifac extent 0 atk call compon ifac extent object handl width height coord type access control listen listen object control listen listen length 0 return 0 int parentx int 1 parenti int 1 int parent width int 1 parent height int 1 os memmov parentx 4 os memmov parenti 4 os memmov parent width width 4 os memmov parent height height 4 access control event event access control event object event childid object id event parentx 0 event parenti 0 event width parent width 0 event height parent height 0 coord type atk atk xy window translat control displai fill event dispatch int gtk access handl atk gtk access object handl gtk access gtk access gtk access atk memmov gtk access gtk access handl int top level atk gtk widget toplevel gtk access widget int window os gtk widget window top level int top windowx int 1 top windowi int 1 os gdk window origin window top windowx top windowi event top windowx 0 event top windowi 0 int 0 listen length listen locat event coord type atk atk xy window translat displai control answer os int gtk access handl atk gtk access object handl gtk access gtk access gtk access atk memmov gtk access gtk access handl int top level atk gtk widget toplevel gtk access widget int window os gtk widget window top level int top windowx int 1 top windowi int 1 os gdk window origin window top windowx top windowi event top windowx 0 event top windowi 0 os memmov int event 4 os memmov int event 4 os memmov width int event width 4 os memmov height int event height 4 return 0 atkcompon_get_extent atkobject coord_type atkcompon_get_extent accessibleobject getaccessibleobject atkobject g_type_is_a parenttyp atk_compon_type supertyp g_type_interfac_peek_parent atk_compon_get_ifac atkcomponentifac componentifac atkcomponentifac componentifac supertyp componentifac get_extent componentifac get_extent coord_type accessiblecontrollisten getcontrollisten parentwidth parentheight parentwidth parentheight accessiblecontrolev accessiblecontrolev parentwidth parentheight coord_type atk_xy_window gtkaccessiblehandl gtk_access gtkaccess gtkaccess gtkaccess gtkaccess gtkaccessiblehandl toplevel gtk_widget_get_toplevel gtkaccess gtk_widget_window toplevel topwindowx topwindowi gdk_window_get_origin topwindowx topwindowi topwindowx topwindowi getloc coord_type atk_xy_window gtkaccessiblehandl gtk_access gtkaccess gtkaccess gtkaccess gtkaccess gtkaccessiblehandl toplevel gtk_widget_get_toplevel gtkaccess gtk_widget_window toplevel topwindowx topwindowi gdk_window_get_origin topwindowx topwindowi topwindowx topwindowi static int atkcompon posit int atk object int int int coord type debug system println atkcompon posit object atk object x y coord coord type access object object access object atk object object null return 0 os memmov int 0 4 os memmov int 0 4 atk type object parent type atk compon type int super type atk type interfac peek parent atk atk compon ifac object handl atk compon ifac compon ifac atk compon ifac atk memmov compon ifac super type compon ifac extent 0 atk call compon ifac posit object handl coord type access control listen listen object control listen listen length 0 return 0 int parentx int 1 parenti int 1 os memmov parentx 4 os memmov parenti 4 access control event event access control event object event childid object id event parentx 0 event parenti 0 coord type atk atk xy window translat control displai fill event dispatch int gtk access handl atk gtk access object handl gtk access gtk access gtk access atk memmov gtk access gtk access handl int top level atk gtk widget toplevel gtk access widget int window os gtk widget window top level int top windowx int 1 top windowi int 1 os gdk window origin window top windowx top windowi event top windowx 0 event top windowi 0 int 0 listen length listen locat event coord type atk atk xy window translat displai control answer os int gtk access handl atk gtk access object handl gtk access gtk access gtk access atk memmov gtk access gtk access handl int top level atk gtk widget toplevel gtk access widget int window os gtk widget window top level int top windowx int 1 top windowi int 1 os gdk window origin window top windowx top windowi event top windowx 0 event top windowi 0 os memmov int event 4 os memmov int event 4 return 0 atkcompon_get_posit atkobject coord_type atkcompon_get_posit atkobject coord_type accessibleobject getaccessibleobject atkobject g_type_is_a parenttyp atk_compon_type supertyp g_type_interfac_peek_parent atk_compon_get_ifac atkcomponentifac componentifac atkcomponentifac componentifac supertyp componentifac get_extent componentifac get_posit coord_type accessiblecontrollisten getcontrollisten accessiblecontrolev accessiblecontrolev coord_type atk_xy_window gtkaccessiblehandl gtk_access gtkaccess gtkaccess gtkaccess gtkaccess gtkaccessiblehandl toplevel gtk_widget_get_toplevel gtkaccess gtk_widget_window toplevel topwindowx topwindowi gdk_window_get_origin topwindowx topwindowi topwindowx topwindowi getloc coord_type atk_xy_window gtkaccessiblehandl gtk_access gtkaccess gtkaccess gtkaccess gtkaccess gtkaccessiblehandl toplevel gtk_widget_get_toplevel gtkaccess gtk_widget_window toplevel topwindowx topwindowi gdk_window_get_origin topwindowx topwindowi topwindowx topwindowi static int atkcompon size int atk object int width int height int coord type debug system println atkcompon size access object object access object atk object object null return 0 os memmov width int 0 4 os memmov height int 0 4 atk type object parent type atk compon type int super type atk type interfac peek parent atk atk compon ifac object handl atk compon ifac compon ifac atk compon ifac atk memmov compon ifac super type compon ifac extent 0 atk call compon ifac size object handl width height coord type access control listen listen object control listen listen length 0 return 0 int parent width int 1 parent height int 1 os memmov parent width width 4 os memmov parent height height 4 access control event event access control event object event childid object id event width parent width 0 event height parent height 0 int 0 listen length listen locat event os memmov width int event width 4 os memmov height int event height 4 return 0 atkcompon_get_size atkobject coord_type atkcompon_get_size accessibleobject getaccessibleobject atkobject g_type_is_a parenttyp atk_compon_type supertyp g_type_interfac_peek_parent atk_compon_get_ifac atkcomponentifac componentifac atkcomponentifac componentifac supertyp componentifac get_extent componentifac get_size coord_type accessiblecontrollisten getcontrollisten parentwidth parentheight parentwidth parentheight accessiblecontrolev accessiblecontrolev parentwidth parentheight getloc static int atkcompon ref access point int atk object int int int coord type debug system println atkcompon ref access point access object object access object atk object object null return 0 int parent result 0 atk type object parent type atk compon type int super type atk type interfac peek parent atk atk compon ifac object handl atk compon ifac compon ifac atk compon ifac atk memmov compon ifac super type compon ifac ref access point 0 parent result atk call compon ifac ref access point object handl coord type access control listen listen object control listen listen length 0 return parent result access control event event access control event object event childid object id event int 64 event int 64 coord type atk atk xy window translat control displai fill event dispatch int gtk access handl atk gtk access object handl gtk access gtk access gtk access atk memmov gtk access gtk access handl int top level atk gtk widget toplevel gtk access widget int window os gtk widget window top level int top windowx int 1 top windowi int 1 os gdk window origin window top windowx top windowi event top windowx 0 event top windowi 0 int 0 listen length listen child point event event childid object id event childid acc childid access object acc obj object child byid event childid acc obj null parent result 0 os object unref parent result os object ref acc obj handl return acc obj handl return parent result atkcompon_ref_access_at_point atkobject coord_type atkcompon_ref_access_at_point accessibleobject getaccessibleobject atkobject parentresult g_type_is_a parenttyp atk_compon_type supertyp g_type_interfac_peek_parent atk_compon_get_ifac atkcomponentifac componentifac atkcomponentifac componentifac supertyp componentifac ref_access_at_point parentresult componentifac ref_access_at_point coord_type accessiblecontrollisten getcontrollisten parentresult accessiblecontrolev accessiblecontrolev coord_type atk_xy_window gtkaccessiblehandl gtk_access gtkaccess gtkaccess gtkaccess gtkaccess gtkaccessiblehandl toplevel gtk_widget_get_toplevel gtkaccess gtk_widget_window toplevel topwindowx topwindowi gdk_window_get_origin topwindowx topwindowi topwindowx topwindowi getchildatpoint childid_self accessibleobject accobj getchildbyid accobj parentresult g_object_unref parentresult g_object_ref accobj accobj parentresult static int atkhypertext link int atk object int link index debug system println atkhypertext link return 0 atkhypertext_get_link atkobject link_index atkhypertext_get_link static int atkhypertext link int atk object debug system println atkhypertext link return 1 atkhypertext_get_n_link atkobject atkhypertext_get_n_link static int atkhypertext link index int atk object int char index debug system println atkhypertext link index return 0 atkhypertext_get_link_index atkobject char_index atkhypertext_get_link_index static int atkobject descript int atk object debug system println atkobject descript access object object access object atk object object null return 0 int parent result 0 int super type atk type class peek object parent type atk object class object class atk object class atk memmov object class super type object class descript 0 parent result atk call object class descript object handl access listen listen object access listen listen length 0 return parent result access event event access event object event childid object id parent result 0 int length os strlen parent result byte buffer byte length os memmov buffer parent result length event result string convert mbc wc null buffer int 0 listen length listen descript event event result null return parent result descript ptr 1 os free descript ptr byte convert wc mbc null event result true descript ptr os malloc length os memmov descript ptr name length return descript ptr atkobject_get_descript atkobject atkobject_get_descript accessibleobject getaccessibleobject atkobject parentresult supertyp g_type_class_peek parenttyp atkobjectclass objectclass atkobjectclass objectclass supertyp objectclass get_descript parentresult objectclass get_descript accessiblelisten getaccessiblelisten parentresult accessibleev accessibleev parentresult parentresult parentresult mbcstowc getdescript parentresult descriptionptr g_free descriptionptr wcstombc descriptionptr g_malloc descriptionptr descriptionptr static int atkobject int atk object debug system println atkobject atk object access object object access object atk object object null return 0 int parent result 0 int super type atk type class peek object parent type atk object class object class atk object class atk memmov object class super type object class 0 parent result atk call object class object handl access listen listen object access listen listen length 0 return parent result access event event access event object event childid object id parent result 0 int length os strlen parent result byte buffer byte length os memmov buffer parent result length event result string convert mbc wc null buffer int 0 listen length listen event event result null return parent result ptr 1 os free ptr byte convert wc mbc null event result true ptr os malloc length os memmov ptr name length return ptr atkobject_get_name atkobject atkobject_get_name atkobject accessibleobject getaccessibleobject atkobject parentresult supertyp g_type_class_peek parenttyp atkobjectclass objectclass atkobjectclass objectclass supertyp objectclass get_name parentresult objectclass get_name accessiblelisten getaccessiblelisten parentresult accessibleev accessibleev parentresult parentresult parentresult mbcstowc getnam parentresult nameptr g_free nameptr wcstombc nameptr g_malloc nameptr nameptr static int atkobject children int atk object debug system println atkobject children atk object access object object access object atk object object null return 0 int parent result 0 int super type atk type class peek object parent type atk object class object class atk object class atk memmov object class super type object class children 0 parent result atk call object class children object handl access control listen listen object control listen listen length 0 return parent result access control event event access control event object event childid object id event detail int 64 parent result int 0 listen length listen child count event return event detail atkobject_get_n_children atkobject atkobject_get_n_children atkobject accessibleobject getaccessibleobject atkobject parentresult supertyp g_type_class_peek parenttyp atkobjectclass objectclass atkobjectclass objectclass supertyp objectclass get_n_children parentresult objectclass get_n_children accessiblecontrollisten getcontrollisten parentresult accessiblecontrolev accessiblecontrolev parentresult getchildcount static int atkobject index parent int atk object debug system println atkobjectcb index parent access object object access object atk object object null return 0 object index 1 return object index int super type atk type class peek object parent type atk object class object class atk object class atk memmov object class super type object class index parent 0 return 0 return atk call object class index parent object handl atkobject_get_index_in_parent atkobject atkobjectcb_get_index_in_parent accessibleobject getaccessibleobject atkobject supertyp g_type_class_peek parenttyp atkobjectclass objectclass atkobjectclass objectclass supertyp objectclass get_index_in_parent objectclass get_index_in_parent static int atkobject parent int atk object debug system println atkobject parent atk object access object object access object atk object object null return 0 object parent null return object parent handl int super type atk type class peek object parent type atk object class object class atk object class atk memmov object class super type object class parent 0 return 0 return atk call object class parent object handl atkobject_get_parent atkobject atkobject_get_parent atkobject accessibleobject getaccessibleobject atkobject supertyp g_type_class_peek parenttyp atkobjectclass objectclass atkobjectclass objectclass supertyp objectclass get_parent objectclass get_parent static int atkobject role int atk object debug system println atkobject role atk object access object object access object atk object object null return 0 object access listen length 0 access control listen listen object control listen access control event event access control event object event childid object id event detail 1 int 0 listen length listen role event event detail 1 switch event detail convert win32 role valu atk role valu case acc role checkbutton return atk atk role check box case acc role client area return atk atk role draw area case acc role combobox return atk atk role combo box case acc role dialog return atk atk role dialog case acc role label return atk atk role label case acc role link return atk atk role text case acc role list return atk atk role list case acc role listitem return atk atk role list item case acc role menu return atk atk role menu case acc role menubar return atk atk role menu bar case acc role menuitem return atk atk role menu item case acc role progressbar return atk atk role progress bar case acc role pushbutton return atk atk role push button case acc role scrollbar return atk atk role scroll bar case acc role separ return atk atk role separ case acc role slider return atk atk role slider case acc role tabl return atk atk role tabl case acc role tablecel return atk atk role tabl cell case acc role tablecolumnhead return atk atk role tabl column header case acc role tablerowhead return atk atk role tabl row header case acc role tabfold return atk atk role page tab list case acc role tabitem return atk atk role page tab case acc role text return atk atk role text case acc role toolbar return atk atk role tool bar case acc role tooltip return atk atk role tool tip case acc role tree return atk atk role tree case acc role treeitem return atk atk role list item case acc role radiobutton return atk atk role radio button case acc role window return atk atk role window int super type atk type class peek object parent type atk object class object class atk object class atk memmov object class super type object class role 0 return 0 return atk call object class role object handl atkobject_get_role atkobject atkobject_get_role atkobject accessibleobject getaccessibleobject atkobject getaccessiblelisten accessiblecontrollisten getcontrollisten accessiblecontrolev accessiblecontrolev getrol role_checkbutton atk_role_check_box role_client_area atk_role_draw_area role_combobox atk_role_combo_box role_dialog atk_role_dialog role_label atk_role_label role_link atk_role_text role_list atk_role_list role_listitem atk_role_list_item role_menu atk_role_menu role_menubar atk_role_menu_bar role_menuitem atk_role_menu_item role_progressbar atk_role_progress_bar role_pushbutton atk_role_push_button role_scrollbar atk_role_scroll_bar role_separ atk_role_separ role_slider atk_role_slider role_tabl atk_role_tabl role_tablecel atk_role_tabl_cell role_tablecolumnhead atk_role_tabl_column_header role_tablerowhead atk_role_tabl_row_header role_tabfold atk_role_page_tab_list role_tabitem atk_role_page_tab role_text atk_role_text role_toolbar atk_role_tool_bar role_tooltip atk_role_tool_tip role_tree atk_role_tree role_treeitem atk_role_list_item role_radiobutton atk_role_radio_button role_window atk_role_window supertyp g_type_class_peek parenttyp atkobjectclass objectclass atkobjectclass objectclass supertyp objectclass get_role objectclass get_role static int atkobject ref child int atk object int index debug system println atkobject ref child index atk object access object object access object atk object object null return 0 object updat children access object acc object object child index int 64 index acc object null os object ref acc object handl return acc object handl int super type atk type class peek object parent type atk object class object class atk object class atk memmov object class super type object class ref child 0 return 0 return atk call object class ref child object handl index atkobject_ref_child atkobject atkobject_ref_child atkobject accessibleobject getaccessibleobject atkobject updatechildren accessibleobject accobject getchildbyindex accobject g_object_ref accobject accobject supertyp g_type_class_peek parenttyp atkobjectclass objectclass atkobjectclass objectclass supertyp objectclass ref_child objectclass ref_child static int atkobject ref set int atk object debug system println atkobject ref set access object object access object atk object object null return 0 int parent result 0 int super type atk type class peek object parent type atk object class object class atk object class atk memmov object class super type object class ref set 0 parent result atk call object class ref set object handl access control listen listen object control listen listen length 0 return parent result int set parent result access control event event access control event object event childid object id event detail 1 int 0 listen length listen event event detail 1 convert win32 valu atk valu int event detail acc busi 0 atk atk set add set atk atk busi acc check 0 atk atk set add set atk atk check acc expand 0 atk atk set add set atk atk expand acc focus 0 atk atk set add set atk atk focus acc focus 0 atk atk set add set atk atk focus acc hottrack 0 atk atk set add set atk atk arm acc invis 0 atk atk set add set atk atk visibl acc multiselect 0 atk atk set add set atk atk multiselect acc offscreen 0 atk atk set add set atk atk show acc press 0 atk atk set add set atk atk press acc readonli 0 atk atk set add set atk atk edit acc select 0 atk atk set add set atk atk select acc select 0 atk atk set add set atk atk select acc sizeabl 0 atk atk set add set atk atk resiz note collaps link normal atk equival return set atkobject_ref_state_set atkobject atkobject_ref_state_set accessibleobject getaccessibleobject atkobject parentresult supertyp g_type_class_peek parenttyp atkobjectclass objectclass atkobjectclass objectclass supertyp objectclass ref_state_set parentresult objectclass ref_state_set accessiblecontrollisten getcontrollisten parentresult parentresult accessiblecontrolev accessiblecontrolev getstat state_busi atk_state_set_add_state atk_state_busi state_check atk_state_set_add_state atk_state_check state_expand atk_state_set_add_state atk_state_expand state_focus atk_state_set_add_state atk_state_focus state_focus atk_state_set_add_state atk_state_focus state_hottrack atk_state_set_add_state atk_state_arm state_invis atk_state_set_add_state atk_state_visibl state_multiselect atk_state_set_add_state atk_state_multiselect state_offscreen atk_state_set_add_state atk_state_show state_press atk_state_set_add_state atk_state_press state_readonli atk_state_set_add_state atk_state_edit state_select atk_state_set_add_state atk_state_select state_select atk_state_set_add_state atk_state_select state_sizeabl atk_state_set_add_state atk_state_resiz state_collaps state_link state_normal static int atkselect child select int atk object int index debug system println atkselect child select access object object access object atk object object null return 0 int parent result 0 atk type object parent type atk select type int super type atk type interfac peek parent atk atk select ifac object handl atk select ifac select ifac atk select ifac atk memmov select ifac super type select ifac child select 0 parent result atk call select ifac child select object handl index access control listen listen object control listen listen length 0 return parent result access control event event access control event object event childid object id int 0 listen length listen select event access object access object object child byid event childid access object null return access object index index 1 0 return parent result atkselect_is_child_select atkobject atkselect_is_child_select accessibleobject getaccessibleobject atkobject parentresult g_type_is_a parenttyp atk_select_type supertyp g_type_interfac_peek_parent atk_select_get_ifac atkselectionifac selectionifac atkselectionifac selectionifac supertyp selectionifac is_child_select parentresult selectionifac is_child_select accessiblecontrollisten getcontrollisten parentresult accessiblecontrolev accessiblecontrolev getselect accessibleobject accessibleobject getchildbyid accessibleobject accessibleobject parentresult static int atkselect ref select int atk object int index debug system println atkselect ref select access object object access object atk object object null return 0 int parent result 0 atk type object parent type atk select type int super type atk type interfac peek parent atk atk select ifac object handl atk select ifac select ifac atk select ifac atk memmov select ifac super type select ifac ref select 0 parent result atk call select ifac ref select object handl index access control listen listen object control listen listen length 0 return parent result access control event event access control event object event childid object id int 0 listen length listen select event access object acc obj object child byid event childid acc obj null parent result 0 os object unref parent result os object ref acc obj handl return acc obj handl return parent result atkselect_ref_select atkobject atkselect_ref_select accessibleobject getaccessibleobject atkobject parentresult g_type_is_a parenttyp atk_select_type supertyp g_type_interfac_peek_parent atk_select_get_ifac atkselectionifac selectionifac atkselectionifac selectionifac supertyp selectionifac ref_select parentresult selectionifac ref_select accessiblecontrollisten getcontrollisten parentresult accessiblecontrolev accessiblecontrolev getselect accessibleobject accobj getchildbyid accobj parentresult g_object_unref parentresult g_object_ref accobj accobj parentresult static int atktext caret offset int atk object debug system println atktext caret offset access object object access object atk object object null return 0 int parent result 0 atk type object parent type atk text type int super type atk type interfac peek parent atk atk text ifac object handl atk text ifac text ifac atk text ifac atk memmov text ifac super type text ifac caret offset 0 parent result atk call text ifac caret offset object handl access text listen listen object text listen listen length 0 return parent result access text event event access text event object event childid object id event offset int 64 parent result int 0 listen length listen caret offset event return event offset atktext_get_caret_offset atkobject atktext_get_caret_offset accessibleobject getaccessibleobject atkobject parentresult g_type_is_a parenttyp atk_text_type supertyp g_type_interfac_peek_parent atk_text_get_ifac atktextifac textifac atktextifac textifac supertyp textifac get_caret_offset parentresult textifac get_caret_offset accessibletextlisten gettextlisten parentresult accessibletextev accessibletextev parentresult getcaretoffset static int atktext charact offset int atk object int offset debug system println atktext charact offset access object object access object atk object object null return 0 string text object text text null return int text char int 64 offset todo atk type object parent type atk text type int super type atk type class peek object parent type atk text ifac text ifac atk text ifac atk memmov text ifac super type text ifac charact offset 0 return atk call text ifac charact offset object handl offset return 0 atktext_get_charact_at_offset atkobject atktext_get_charact_at_offset accessibleobject getaccessibleobject atkobject gettext charat g_type_is_a parenttyp atk_text_type supertyp g_type_class_peek parenttyp atktextifac textifac atktextifac textifac supertyp textifac get_charact_at_offset textifac get_charact_at_offset static int atktext charact count int atk object debug system println atktext charact count access object object access object atk object object null return 0 string text object text text null return text length atk type object parent type atk text type int super type atk type class peek object parent type atk text ifac text ifac atk text ifac atk memmov text ifac super type text ifac charact count 0 return atk call text ifac charact count object handl return 0 atktext_get_charact_count atkobject atktext_get_charact_count accessibleobject getaccessibleobject atkobject gettext g_type_is_a parenttyp atk_text_type supertyp g_type_class_peek parenttyp atktextifac textifac atktextifac textifac supertyp textifac get_charact_count textifac get_charact_count static int atktext select int atk object debug system println atktext select access object object access object atk object object null return 0 int parent result 0 atk type object parent type atk text type int super type atk type interfac peek parent atk atk text ifac object handl atk text ifac text ifac atk text ifac atk memmov text ifac super type text ifac select 0 parent result atk call text ifac select object handl access text listen listen object text listen listen length 0 return parent result access text event event access text event object event childid object id int 0 listen length listen select rang event return event length 0 parent result 1 atktext_get_n_select atkobject atktext_get_n_select accessibleobject getaccessibleobject atkobject parentresult g_type_is_a parenttyp atk_text_type supertyp g_type_interfac_peek_parent atk_text_get_ifac atktextifac textifac atktextifac textifac supertyp textifac get_n_select parentresult textifac get_n_select accessibletextlisten gettextlisten parentresult accessibletextev accessibletextev getselectionrang parentresult static int atktext select int atk object int select num int start offset int end offset debug system println atktext select access object object access object atk object object null return 0 os memmov start offset int 0 4 os memmov end offset int 0 4 atk type object parent type atk text type int super type atk type interfac peek parent atk atk text ifac object handl atk text ifac text ifac atk text ifac atk memmov text ifac super type text ifac select 0 atk call text ifac select object handl select num start offset end offset access text listen listen object text listen listen length 0 return 0 access text event event access text event object event childid object id int parent start int 1 int parent end int 1 os memmov parent start start offset 4 os memmov parent end end offset 4 event offset parent start 0 event length parent end 0 parent start 0 int 0 listen length listen select rang event os memmov start offset int event offset 4 os memmov end offset int event offset event length 4 return 0 atktext_get_select atkobject select_num start_offset end_offset atktext_get_select accessibleobject getaccessibleobject atkobject start_offset end_offset g_type_is_a parenttyp atk_text_type supertyp g_type_interfac_peek_parent atk_text_get_ifac atktextifac textifac atktextifac textifac supertyp textifac get_select textifac get_select select_num start_offset end_offset accessibletextlisten gettextlisten accessibletextev accessibletextev parentstart parentend parentstart start_offset parentend end_offset parentstart parentend parentstart getselectionrang start_offset end_offset static int atktext text int atk object int start offset int end offset debug system println atktext text start offset end offset access object object access object atk object object null return 0 string text object text text length 0 end offset 1 end offset text length end offset math min end offset text length start offset math min start offset end offset text text substr int 64 start offset int 64 end offset byte byte convert wc mbc null text true int result os malloc byte length os memmov result byte byte length return result return 0 atktext_get_text atkobject start_offset end_offset atktext_get_text start_offset end_offset accessibleobject getaccessibleobject atkobject gettext end_offset end_offset end_offset end_offset start_offset start_offset end_offset start_offset end_offset wcstombc g_malloc static int atktext text offset int atk object int offset int boundari type int start offset int end offset debug system println atktext text offset access object object access object atk object object null return 0 int offset int 64 offset string text object text text length 0 int length text length offset math min offset length 1 int start bound offset int end bound offset switch int 64 boundari type case atk atk text boundari char length offset end bound break case atk atk text boundari word start int word start1 index char text offset 1 word start1 1 start bound end bound length break word start1 index char text word start1 word start1 length start bound end bound length break start bound word start1 int word start2 index char text word start1 word start2 1 end bound length break end bound index char text word start2 break case atk atk text boundari word end int previou word end previou index char text offset previou word end 1 previou word end offset 1 offset index char text offset offset 1 start bound end bound length break int word end1 index char text int 64 offset word end1 1 start bound end bound length break word end1 index char text word end1 word end1 length start bound end bound length break start bound word end1 int word end2 index char text word end1 word end2 length start bound end bound length break word end2 index char text word end2 word end2 1 end bound length break end bound index char text word end2 break case atk atk text boundari sentenc start int previou sentenc end previou index char text offset int previou text previou index char text offset int sentenc start1 0 previou sentenc end previou text sentenc start1 index char text offset sentenc start1 index char text offset sentenc start1 1 start bound end bound length break sentenc start1 index char text sentenc start1 sentenc start1 length start bound end bound length break start bound sentenc start1 int sentenc start2 index char text sentenc start1 sentenc start2 1 end bound length break end bound index char text sentenc start2 break case atk atk text boundari sentenc end int sentenc end1 index char text offset sentenc end1 1 start bound end bound length break sentenc end1 index char text sentenc end1 sentenc end1 length start bound end bound length break start bound sentenc end1 int sentenc end2 index char text sentenc end1 sentenc end2 length start bound end bound length break sentenc end2 index char text sentenc end2 sentenc end2 1 end bound length break end bound index char text sentenc end2 break case atk atk text boundari line start int line start1 text index offset 1 line start1 1 start bound end bound length break line start1 index char text line start1 line start1 length start bound end bound length break start bound line start1 int line start2 text index line start1 line start2 1 end bound length break line start2 index char text line start2 end bound line start2 break case atk atk text boundari line end int line end1 index char text offset line end1 1 start bound end bound length break start bound line end1 start bound length end bound length break int line end2 index char text line end1 1 line end2 1 end bound length break end bound line end2 break os memmov start offset int start bound 4 os memmov end offset int end bound 4 text text substr start bound end bound byte byte convert wc mbc null text true int result os malloc byte length os memmov result byte byte length return result return 0 atktext_get_text_after_offset atkobject offset_valu boundari_type start_offset end_offset atktext_get_text_after_offset accessibleobject getaccessibleobject atkobject offset_valu gettext startbound endbound boundari_type atk_text_boundari_char endbound atk_text_boundari_word_start wordstart1 nextindexofchar wordstart1 startbound endbound wordstart1 nextindexofnotchar wordstart1 wordstart1 startbound endbound startbound wordstart1 wordstart2 nextindexofchar wordstart1 wordstart2 endbound endbound nextindexofnotchar wordstart2 atk_text_boundari_word_end previouswordend previousindexofnotchar previouswordend previouswordend nextindexofnotchar startbound endbound wordend1 nextindexofchar wordend1 startbound endbound wordend1 nextindexofnotchar wordend1 wordend1 startbound endbound startbound wordend1 wordend2 nextindexofnotchar wordend1 wordend2 startbound endbound wordend2 nextindexofchar wordend2 wordend2 endbound endbound nextindexofnotchar wordend2 atk_text_boundari_sentenc_start previoussentenceend previousindexofchar previoustext previousindexofnotchar sentencestart1 previoussentenceend previoustext sentencestart1 nextindexofnotchar sentencestart1 nextindexofchar sentencestart1 startbound endbound sentencestart1 nextindexofnotchar sentencestart1 sentencestart1 startbound endbound startbound sentencestart1 sentencestart2 nextindexofchar sentencestart1 sentencestart2 endbound endbound nextindexofnotchar sentencestart2 atk_text_boundari_sentenc_end sentenceend1 nextindexofchar sentenceend1 startbound endbound sentenceend1 nextindexofnotchar sentenceend1 sentenceend1 startbound endbound startbound sentenceend1 sentenceend2 nextindexofnotchar sentenceend1 sentenceend2 startbound endbound sentenceend2 nextindexofchar sentenceend2 sentenceend2 endbound endbound nextindexofnotchar sentenceend2 atk_text_boundari_line_start linestart1 indexof linestart1 startbound endbound linestart1 nextindexofnotchar linestart1 linestart1 startbound endbound startbound linestart1 linestart2 indexof linestart1 linestart2 endbound linestart2 nextindexofnotchar linestart2 endbound linestart2 atk_text_boundari_line_end lineend1 nextindexofchar lineend1 startbound endbound startbound lineend1 startbound endbound lineend2 nextindexofchar lineend1 lineend2 endbound endbound lineend2 start_offset startbound end_offset endbound startbound endbound wcstombc g_malloc static int atktext text offset int atk object int offset int boundari type int start offset int end offset debug system println atktext text offset offset start start offset end end offset access object object access object atk object object null return 0 int offset int 64 offset string text object text text length 0 int length text length offset math min offset length 1 int start bound offset int end bound offset switch int 64 boundari type case atk atk text boundari char length offset end bound break case atk atk text boundari word start int word start1 previou index char text offset word start1 1 start bound end bound 0 break word start1 previou index char text word start1 1 word start1 1 start bound 0 break start bound word start1 int word start2 index char text word start1 end bound index char text word start2 break case atk atk text boundari word end int word end1 previou index char text offset 1 word end1 previou index char text word end1 word end1 previou index char text word end1 1 word end1 1 start bound end bound 0 break start bound word end1 1 int word end2 index char text start bound word end2 length end bound start bound break word end2 index char text word end2 word end2 1 end bound start bound break end bound index char text word end2 break case atk atk text boundari sentenc start int sentenc start1 previou index char text offset 1 sentenc start1 1 start bound end bound 0 break sentenc start1 previou index char text sentenc start1 1 start bound index char text sentenc start1 int sentenc start2 index char text start bound end bound index char text sentenc start2 break case atk atk text boundari sentenc end int sentenc end1 previou index char text offset 1 sentenc end1 previou index char text sentenc end1 sentenc end1 previou index char text sentenc end1 1 sentenc end1 1 start bound end bound 0 break start bound sentenc end1 1 int sentenc end2 index char text start bound sentenc end2 length end bound start bound break sentenc end2 index char text sentenc end2 sentenc end2 1 end bound start bound break end bound index char text sentenc end2 break case atk atk text boundari line start start bound previou index char text offset 1 int line end2 index char text start bound line end2 length line end2 end bound line end2 break case atk atk text boundari line end int line end1 previou index char text offset line end1 1 start bound end bound 0 break start bound line end1 end bound index char text line end1 1 os memmov start offset int start bound 4 os memmov end offset int end bound 4 text text substr start bound end bound byte byte convert wc mbc null text true int result os malloc byte length os memmov result byte byte length return result return 0 atktext_get_text_at_offset atkobject offset_valu boundari_type start_offset end_offset atktext_get_text_at_offset offset_valu start_offset end_offset accessibleobject getaccessibleobject atkobject offset_valu gettext startbound endbound boundari_type atk_text_boundari_char endbound atk_text_boundari_word_start wordstart1 previousindexofnotchar wordstart1 startbound endbound wordstart1 previousindexofchar wordstart1 wordstart1 startbound startbound wordstart1 wordstart2 nextindexofchar wordstart1 endbound nextindexofnotchar wordstart2 atk_text_boundari_word_end wordend1 previousindexofnotchar wordend1 previousindexofchar wordend1 wordend1 previousindexofnotchar wordend1 wordend1 startbound endbound startbound wordend1 wordend2 nextindexofnotchar startbound wordend2 endbound startbound wordend2 nextindexofchar wordend2 wordend2 endbound startbound endbound nextindexofnotchar wordend2 atk_text_boundari_sentenc_start sentencestart1 previousindexofnotchar sentencestart1 startbound endbound sentencestart1 previousindexofchar sentencestart1 startbound nextindexofnotchar sentencestart1 sentencestart2 nextindexofchar startbound endbound nextindexofnotchar sentencestart2 atk_text_boundari_sentenc_end sentenceend1 previousindexofnotchar sentenceend1 previousindexofchar sentenceend1 sentenceend1 previousindexofnotchar sentenceend1 sentenceend1 startbound endbound startbound sentenceend1 sentenceend2 nextindexofnotchar startbound sentenceend2 endbound startbound sentenceend2 nextindexofchar sentenceend2 sentenceend2 endbound startbound endbound nextindexofnotchar sentenceend2 atk_text_boundari_line_start startbound previousindexofchar lineend2 nextindexofchar startbound lineend2 lineend2 endbound lineend2 atk_text_boundari_line_end lineend1 previousindexofchar lineend1 startbound endbound startbound lineend1 endbound nextindexofchar lineend1 start_offset startbound end_offset endbound startbound endbound wcstombc g_malloc static int atktext text offset int atk object int offset int boundari type int start offset int end offset debug system println atktext text offset access object object access object atk object object null return 0 int offset int 64 offset string text object text text length 0 int length text length offset math min offset length 1 int start bound offset int end bound offset switch int 64 boundari type case atk atk text boundari char length offset offset 0 start bound break case atk atk text boundari word start int word start1 previou index char text offset 1 word start1 1 start bound end bound 0 break int word start2 previou index char text word start1 word start2 1 start bound end bound 0 break end bound word start1 1 start bound previou index char text word start2 1 break case atk atk text boundari word end int word end1 previou index char text offset word end1 1 start bound end bound 0 break word end1 previou index char text word end1 1 word end1 1 start bound end bound 0 break end bound word end1 1 int word end2 previou index char text end bound word end2 previou index char text word end2 word end2 1 start bound 0 break start bound previou index char text word end2 1 1 break case atk atk text boundari sentenc start int sentenc start1 previou index char text offset sentenc start1 1 start bound end bound 0 break int sentenc start2 previou index char text sentenc start1 sentenc start2 1 start bound end bound 0 break end bound sentenc start1 1 start bound previou index char text sentenc start2 1 break case atk atk text boundari sentenc end int sentenc end1 previou index char text offset sentenc end1 1 start bound end bound 0 break sentenc end1 previou index char text sentenc end1 1 sentenc end1 1 start bound end bound 0 break end bound sentenc end1 1 int sentenc end2 previou index char text end bound sentenc end2 previou index char text sentenc end2 sentenc end2 1 start bound 0 break start bound previou index char text sentenc end2 1 1 break case atk atk text boundari line start int line start1 previou index char text offset line start1 1 start bound end bound 0 break end bound line start1 1 start bound previou index char text line start1 1 break case atk atk text boundari line end int line end1 previou index char text offset line end1 1 start bound end bound 0 break end bound line end1 start bound previou index char text line end1 start bound 1 start bound 0 break os memmov start offset int start bound 4 os memmov end offset int end bound 4 text text substr start bound end bound byte byte convert wc mbc null text true int result os malloc byte length os memmov result byte byte length return result return 0 atktext_get_text_befor_offset atkobject offset_valu boundari_type start_offset end_offset atktext_get_text_befor_offset accessibleobject getaccessibleobject atkobject offset_valu gettext startbound endbound boundari_type atk_text_boundari_char startbound atk_text_boundari_word_start wordstart1 previousindexofchar wordstart1 startbound endbound wordstart2 previousindexofnotchar wordstart1 wordstart2 startbound endbound endbound wordstart1 startbound previousindexofchar wordstart2 atk_text_boundari_word_end wordend1 previousindexofchar wordend1 startbound endbound wordend1 previousindexofnotchar wordend1 wordend1 startbound endbound endbound wordend1 wordend2 previousindexofnotchar endbound wordend2 previousindexofchar wordend2 wordend2 startbound startbound previousindexofnotchar wordend2 atk_text_boundari_sentenc_start sentencestart1 previousindexofchar sentencestart1 startbound endbound sentencestart2 previousindexofnotchar sentencestart1 sentencestart2 startbound endbound endbound sentencestart1 startbound previousindexofchar sentencestart2 atk_text_boundari_sentenc_end sentenceend1 previousindexofchar sentenceend1 startbound endbound sentenceend1 previousindexofnotchar sentenceend1 sentenceend1 startbound endbound endbound sentenceend1 sentenceend2 previousindexofnotchar endbound sentenceend2 previousindexofchar sentenceend2 sentenceend2 startbound startbound previousindexofnotchar sentenceend2 atk_text_boundari_line_start linestart1 previousindexofchar linestart1 startbound endbound endbound linestart1 startbound previousindexofchar linestart1 atk_text_boundari_line_end lineend1 previousindexofchar lineend1 startbound endbound endbound lineend1 startbound previousindexofchar lineend1 startbound startbound start_offset startbound end_offset endbound startbound endbound wcstombc g_malloc access listen access listen access null return access listen 0 return access access listen accessiblelisten getaccessiblelisten accessiblelisten getaccessiblelisten static access object access object int atk object return access object access object atk object accessibleobject getaccessibleobject atkobject accessibleobject accessibleobject atkobject access object child handl int handl return access object children handl accessibleobject getchildbyhandl accessibleobject access object child byid int child id child id acc childid return enumer element children element element element access object object access object element element object id child id return object return null accessibleobject getchildbyid childid childid childid_self hasmoreel accessibleobject accessibleobject nextel childid access object child index int child index enumer element children element element element access object object access object element element object index child index return object return null accessibleobject getchildbyindex childindex hasmoreel accessibleobject accessibleobject nextel childindex access control listen control listen access null return access control listen 0 return access control listen accessiblecontrollisten getcontrollisten accessiblecontrollisten getcontrollisten string text int parent result 0 string parent text atk type parent type atk text type int super type atk type interfac peek parent atk atk text ifac handl atk text ifac text ifac atk text ifac atk memmov text ifac super type int charact count 0 text ifac charact count 0 charact count atk call text ifac charact count handl charact count 0 text ifac text 0 parent result atk call text ifac text handl 0 charact count parent result 0 int length os strlen parent result byte buffer byte length os memmov buffer parent result length parent text string convert mbc wc null buffer access control listen control listen control listen control listen length 0 return parent text access control event event access control event event childid id event result parent text int 0 control listen length control listen event return event result gettext parentresult parenttext g_type_is_a parenttyp atk_text_type supertyp g_type_interfac_peek_parent atk_text_get_ifac atktextifac textifac atktextifac textifac supertyp charactercount textifac get_charact_count charactercount textifac get_charact_count charactercount textifac get_text parentresult textifac get_text charactercount parentresult parentresult parentresult parenttext mbcstowc accessiblecontrollisten controllisten getcontrollisten controllisten parenttext accessiblecontrolev accessiblecontrolev parenttext controllisten controllisten getvalu access text listen text listen access null return access text listen 0 return access text listen accessibletextlisten gettextlisten accessibletextlisten gettextlisten static int gobjectclass final int atk object int super type atk type class peek parent atk object class atk object int object class atk object class super type object class object class struct object class atk memmov object class struct object class atk call object class struct final atk object access object object access object atk object object null access object remov atk object object releas return 0 gobjectclass_final atkobject supertyp g_type_class_peek_parent g_object_get_class atkobject gobjectclass g_object_class supertyp gobjectclass objectclassstruct gobjectclass objectclassstruct gobjectclass objectclassstruct atkobject accessibleobject getaccessibleobject atkobject accessibleobject atkobject static int index char string string string search char int start index int result string length int 0 search char length char current search char char int index string index current start index index 1 result math min result index return result nextindexofchar searchchar startindex searchchar searchchar charat indexof startindex static int index char string string string search char int start index int length string length int index start index index length char current string char index search char index current 1 break index return index nextindexofnotchar searchchar startindex startindex charat searchchar indexof static int previou index char string string string search char int start index int result 1 start index 0 return result string string substr 0 start index int 0 search char length char current search char char int index string index current index 1 result math max result index return result previousindexofchar searchchar startindex startindex startindex searchchar searchchar charat lastindexof static int previou index char string string string search char int start index start index 0 return 1 int index start index 1 index 0 char current string char index search char index current 1 break index return index previousindexofnotchar searchchar startindex startindex startindex charat searchchar indexof void releas debug system println access object releas handl access null enumer element children element element element access object child access object element element child lightweight os object unref child handl parent null parent remov child fals accessibleobject hasmoreel accessibleobject accessibleobject nextel islightweight g_object_unref removechild void remov child access object child boolean unref children remov child handl unref child lightweight os object unref child handl removechild accessibleobject islightweight g_object_unref void select chang os signal emit handl atk select chang selectionchang g_signal_emit_by_name select_chang void set focu int childid updat children access object acc object child byid childid acc object null atk atk focu tracker notifi acc object handl setfocu updatechildren accessibleobject accobject getchildbyid accobject atk_focu_tracker_notifi accobject void set parent access object parent parent parent setpar accessibleobject void text caret move int index os signal emit handl atk text caret move index textcaretmov g_signal_emit_by_name text_caret_move void text chang int type int start index int length type acc text delet os signal emit handl atk text chang delet start index length os signal emit handl atk text chang insert start index length textchang startindex text_delet g_signal_emit_by_name text_chang_delet startindex g_signal_emit_by_name text_chang_insert startindex void text select chang os signal emit handl atk text select chang textselectionchang g_signal_emit_by_name text_select_chang void updat children lightweight return access control listen listen control listen listen length 0 return access control event event access control event int 0 listen length listen children event event children null event children length 0 vector id vector children size event children 0 instanceof integ arrai child id integ answer int parent type access factori default parent type int 0 event children length access object object child index object null int child type access factori child type access object access object child type 0 access parent type true access object put object handl object add child object object index try object id integ event children int catch class cast except non id don set id id add element object handl arrai access children answer int child index 0 int 0 event children length access object object null try object access event children access object catch class cast except non access object null object index child index id add element object handl remov children provid children anymor enumer id children kei id element id id element id id access object object access object children id remov child object true updatechildren islightweight accessiblecontrollisten getcontrollisten accessiblecontrolev accessiblecontrolev getchildren idstokeep parenttyp accessiblefactori getdefaultparenttyp accessibleobject getchildbyindex childtyp accessiblefactori getchildtyp accessibleobject childtyp parenttyp accessibleobject addchild intvalu classcastexcept idstokeep addel childindex accessibleobject accessibleobject classcastexcept childindex idstokeep addel hasmoreel nextel idstokeep accessibleobject accessibleobject removechild displai add listen swt dispos listen public void handl event event event clipboard proxi clipbord proxi clipboard proxi displai data id clipbord proxi null return displai set data id null clipbord proxi dispos addlisten handleev clipboardproxi clipbordproxi clipboardproxi getdata clipbordproxi setdata clipbordproxi static clipboard proxi getinst final displai displai clipboard proxi proxi clipboard proxi displai data id proxi null return proxi proxi clipboard proxi displai displai set data id proxi displai add listen swt dispos listen public void handl event event event clipboard proxi clipbord proxi clipboard proxi displai data id clipbord proxi null return displai set data id null clipbord proxi dispos return proxi clipboardproxi _getinst clipboardproxi clipboardproxi getdata clipboardproxi setdata addlisten handleev clipboardproxi clipbordproxi clipboardproxi getdata clipbordproxi setdata clipbordproxi privat clipboard proxi displai displai displai displai func callback func 4 clear func callback clear func 2 clipboardproxi getfunc getfunc clearfunc clearfunc privat int clear func int clipboard int user data owner clipboard clipboard gtkclipboard clipboard fals clipboard clipboard gtkprimaryclipboard primari fals clipboard primari data null data type null return 1 clearfunc user_data_or_owner onclipboard onprimari onclipboard onprimari datatyp privat void dispos displai null return primari os gtk clipboard clear clipboard gtkprimaryclipboard primari fals clipboard os gtk clipboard clear clipboard gtkclipboard clipboard fals displai null func null func dispos func null clear func null clear func dispos clear func null data null data type null onprimari gtk_clipboard_clear onprimari onclipboard gtk_clipboard_clear onclipboard getfunc getfunc getfunc clearfunc clearfunc clearfunc datatyp function data clipboard request clipboard dispos data longer privat int func int clipboard int select data int info int user data owner select data 0 return 0 gtk select data select data gtk select data os memmov select data select data gtk select data sizeof transfer data tdata transfer data tdata type select data target int index 1 int 0 data type length data type support type tdata index break index 1 return 0 data type index java nativ data index tdata tdata format 8 tdata format 8 0 return 0 os gtk select data set select data tdata type tdata format tdata tdata length return 1 getfunc select_data user_data_or_owner select_data gtkselectiondata selectiondata gtkselectiondata selectiondata select_data gtkselectiondata transferdata transferdata selectiondata datatyp datatyp issupportedtyp datatyp javaton gtk_select_data_set select_data pvalu boolean set data object data transfer data type clipboard os gtk clipboard clear clipboard gtkclipboard primari os gtk clipboard clear clipboard gtkprimaryclipboard gtk target entri entri gtk target entri 0 int 0 data type length transfer transfer data type int type id transfer type id string type name transfer type name int 0 type id length gtk target entri entri gtk target entri entri info type id byte buffer convert wc mbc null type name true int os malloc buffer length os memmov buffer buffer length entri target gtk target entri tmp gtk target entri entri length 1 system arraycopi entri 0 tmp 0 entri length tmp entri length entri entri tmp int target list os malloc gtk target entri sizeof entri length int offset 0 int 0 entri length os memmov target list offset entri gtk target entri sizeof offset gtk target entri sizeof data data data type data type primari os gtk clipboard set data clipboard gtkprimaryclipboard target list entri length func address clear func address 0 clipboard os gtk clipboard set data clipboard gtkclipboard target list entri length func address clear func address 0 int 0 entri length gtk target entri entri entri entri target 0 os free entri target target list 0 os free target list return clipboard primari setdata datatyp onclipboard gtk_clipboard_clear onprimari gtk_clipboard_clear gtktargetentri gtktargetentri datatyp datatyp typeid gettypeid typenam gettypenam typeid gtktargetentri gtktargetentri typeid wcstombc typenam pname g_malloc pname pname gtktargetentri gtktargetentri ptargetslist g_malloc gtktargetentri ptargetslist gtktargetentri gtktargetentri datatyp datatyp onprimari gtk_clipboard_set_with_data ptargetslist getfunc getaddress clearfunc getaddress onclipboard gtk_clipboard_set_with_data ptargetslist getfunc getaddress clearfunc getaddress gtktargetentri g_free ptargetslist g_free ptargetslist onclipboard onprimari public static final byte text select chang os signal text select chang 64 bit public static final synchron nativ int atkobjectfactori sizeof text_select_chang text_select_chang atkobjectfactori_sizeof 64 bit public static final synchron nativ int atkobjectfactori sizeof public static final synchron nativ int atkobjectfactoryclass sizeof atkobjectfactori_sizeof atkobjectfactoryclass_sizeof public static final synchron nativ int atkobjectfactori sizeof public static final synchron nativ int atkobjectfactoryclass sizeof public static final synchron nativ int ginterfaceinfo sizeof atkobjectfactori_sizeof atkobjectfactoryclass_sizeof ginterfaceinfo_sizeof public static final synchron nativ int atkobjectfactoryclass sizeof public static final synchron nativ int ginterfaceinfo sizeof public static final synchron nativ int gtypeinfo sizeof atkobjectfactoryclass_sizeof ginterfaceinfo_sizeof gtypeinfo_sizeof public static final synchron nativ int ginterfaceinfo sizeof public static final synchron nativ int gtypeinfo sizeof public static final synchron nativ int gtypequeri sizeof ginterfaceinfo_sizeof gtypeinfo_sizeof gtypequeri_sizeof public static final synchron nativ int gtypequeri sizeof nativ method public static final synchron nativ int atk action ifac int obj gtypequeri_sizeof atk_action_get_ifac nativ method public static final synchron nativ int atk action ifac int obj public static final synchron nativ int atk compon ifac int atk handl atk_action_get_ifac atk_compon_get_ifac atkhandl public static final synchron nativ int atk action ifac int obj public static final synchron nativ int atk compon ifac int atk handl public static final synchron nativ int atk object factori class int klass atk_action_get_ifac atk_compon_get_ifac atkhandl atk_object_factori_class public static final synchron nativ int atk compon ifac int atk handl public static final synchron nativ int atk object factori class int klass public static final synchron nativ int atk select ifac int obj atk_compon_get_ifac atkhandl atk_object_factori_class atk_select_get_ifac public static final synchron nativ int atk object factori class int klass public static final synchron nativ int atk select ifac int obj public static final synchron nativ int atk text ifac int handl atk_object_factori_class atk_select_get_ifac atk_text_get_ifac public static final synchron nativ int atk select ifac int obj public static final synchron nativ int atk text ifac int handl public static final synchron nativ int object class int klass atk_select_get_ifac atk_text_get_ifac g_object_class public static final synchron nativ int atk text ifac int handl public static final synchron nativ int object class int klass public static final synchron nativ int object class int object atk_text_get_ifac g_object_class g_object_get_class public static final synchron nativ int object class int klass public static final synchron nativ int object class int object public static final synchron nativ int type instanc int instanc g_object_class g_object_get_class g_type_from_instanc public static final synchron nativ int object class int object public static final synchron nativ int type instanc int instanc public static final synchron nativ int gtk access int handl g_object_get_class g_type_from_instanc gtk_access public static final synchron nativ int type instanc int instanc public static final synchron nativ int gtk access int handl public static final synchron nativ void atk focu tracker notifi int object g_type_from_instanc gtk_access atk_focu_tracker_notifi public static final synchron nativ int gtk access int handl public static final synchron nativ void atk focu tracker notifi int object public static final synchron nativ int atk default registri gtk_access atk_focu_tracker_notifi atk_get_default_registri public static final synchron nativ void atk focu tracker notifi int object public static final synchron nativ int atk default registri public static final synchron nativ int atk object factori access type int factori atk_focu_tracker_notifi atk_get_default_registri atk_object_factori_get_access_type public static final synchron nativ int atk default registri public static final synchron nativ int atk object factori access type int factori public static final synchron nativ void atk object initi int access int data atk_get_default_registri atk_object_factori_get_access_type atk_object_initi public static final synchron nativ int atk object factori access type int factori public static final synchron nativ void atk object initi int access int data public static final synchron nativ int atk registri factori int registri int type atk_object_factori_get_access_type atk_object_initi atk_registri_get_factori public static final synchron nativ void atk object initi int access int data public static final synchron nativ int atk registri factori int registri int type public static final synchron nativ void atk registri set factori type int registri int type int factori type atk_object_initi atk_registri_get_factori atk_registri_set_factori_type factori_type public static final synchron nativ int atk registri factori int registri int type public static final synchron nativ void atk registri set factori type int registri int type int factori type public static final synchron nativ boolean atk set add int set int type atk_registri_get_factori atk_registri_set_factori_type factori_type atk_state_set_add_state public static final synchron nativ void atk registri set factori type int registri int type int factori type public static final synchron nativ boolean atk set add int set int type public static final synchron nativ int atk set atk_registri_set_factori_type factori_type atk_state_set_add_state atk_state_set_new public static final synchron nativ boolean atk set add int set int type public static final synchron nativ int atk set public static final synchron nativ int call int function int arg0 atk_state_set_add_state atk_state_set_new public static final synchron nativ int atk set public static final synchron nativ int call int function int arg0 public static final synchron nativ int call int function int arg0 int arg1 atk_state_set_new public static final synchron nativ int call int function int arg0 public static final synchron nativ int call int function int arg0 int arg1 public static final synchron nativ int call int function int arg0 int arg1 int arg2 public static final synchron nativ int call int function int arg0 int arg1 public static final synchron nativ int call int function int arg0 int arg1 int arg2 public static final synchron nativ int call int function int arg0 int arg1 int arg2 int arg3 public static final synchron nativ int call int function int arg0 int arg1 int arg2 public static final synchron nativ int call int function int arg0 int arg1 int arg2 int arg3 public static final synchron nativ int call int function int arg0 int arg1 int arg2 int arg3 int arg4 public static final synchron nativ int call int function int arg0 int arg1 int arg2 int arg3 public static final synchron nativ int call int function int arg0 int arg1 int arg2 int arg3 int arg4 public static final synchron nativ int call int function int arg0 int arg1 int arg2 int arg3 int arg4 int arg5 public static final synchron nativ int call int function int arg0 int arg1 int arg2 int arg3 int arg4 public static final synchron nativ int call int function int arg0 int arg1 int arg2 int arg3 int arg4 int arg5 public static final synchron nativ int object int type int properti g_object_new first_properti_name public static final synchron nativ int call int function int arg0 int arg1 int arg2 int arg3 int arg4 int arg5 public static final synchron nativ int object int type int properti public static final synchron nativ void type add interfac static int instanc type int interfac type int info g_object_new first_properti_name g_type_add_interfac_static instanc_type interfac_type public static final synchron nativ int object int type int properti public static final synchron nativ void type add interfac static int instanc type int interfac type int info public static final synchron nativ int type class peek int class g_object_new first_properti_name g_type_add_interfac_static instanc_type interfac_type g_type_class_peek g_class public static final synchron nativ void type add interfac static int instanc type int interfac type int info public static final synchron nativ int type class peek int class public static final synchron nativ int type class peek parent int class g_type_add_interfac_static instanc_type interfac_type g_type_class_peek g_class g_type_class_peek_parent g_class public static final synchron nativ int type class peek int class public static final synchron nativ int type class peek parent int class public static final synchron nativ int type byte g_type_class_peek g_class g_type_class_peek_parent g_class g_type_from_name public static final synchron nativ int type class peek parent int class public static final synchron nativ int type byte public static final synchron nativ int type interfac peek parent int ifac g_type_class_peek_parent g_class g_type_from_name g_type_interfac_peek_parent public static final synchron nativ int type byte public static final synchron nativ int type interfac peek parent int ifac public static final synchron nativ boolean type int type int type g_type_from_name g_type_interfac_peek_parent g_type_is_a is_a_type public static final synchron nativ int type interfac peek parent int ifac public static final synchron nativ boolean type int type int type public static final synchron nativ int type int handl g_type_interfac_peek_parent g_type_is_a is_a_type g_type_name public static final synchron nativ boolean type int type int type public static final synchron nativ int type int handl public static final synchron nativ int type parent int type g_type_is_a is_a_type g_type_name g_type_parent public static final synchron nativ int type int handl public static final synchron nativ int type parent int type public static final synchron nativ void type queri int type int queri g_type_name g_type_parent g_type_queri public static final synchron nativ int type parent int type public static final synchron nativ void type queri int type int queri public static final synchron nativ int type regist static int parent type byte type int info int flag g_type_parent g_type_queri g_type_regist_static parent_type type_name public static final synchron nativ void type queri int type int queri public static final synchron nativ int type regist static int parent type byte type int info int flag public static final synchron nativ int gtk widget toplevel int widget g_type_queri g_type_regist_static parent_type type_name gtk_widget_get_toplevel public static final synchron nativ int type regist static int parent type byte type int info int flag public static final synchron nativ int gtk widget toplevel int widget public static final synchron nativ void memmov atk action ifac dest int src g_type_regist_static parent_type type_name gtk_widget_get_toplevel atkactionifac public static final synchron nativ int gtk widget toplevel int widget public static final synchron nativ void memmov atk action ifac dest int src public static final synchron nativ void memmov atk compon ifac dest int src gtk_widget_get_toplevel atkactionifac atkcomponentifac public static final synchron nativ void memmov atk action ifac dest int src public static final synchron nativ void memmov atk compon ifac dest int src public static final synchron nativ void memmov atk hypertext ifac dest int src atkactionifac atkcomponentifac atkhypertextifac public static final synchron nativ void memmov atk compon ifac dest int src public static final synchron nativ void memmov atk hypertext ifac dest int src public static final synchron nativ void memmov atk object class dest int src atkcomponentifac atkhypertextifac atkobjectclass public static final synchron nativ void memmov atk hypertext ifac dest int src public static final synchron nativ void memmov atk object class dest int src public static final synchron nativ void memmov atk object factori class dest int src atkhypertextifac atkobjectclass atkobjectfactoryclass public static final synchron nativ void memmov atk object class dest int src public static final synchron nativ void memmov atk object factori class dest int src public static final synchron nativ void memmov atk select ifac dest int src atkobjectclass atkobjectfactoryclass atkselectionifac public static final synchron nativ void memmov atk object factori class dest int src public static final synchron nativ void memmov atk select ifac dest int src public static final synchron nativ void memmov atk text ifac dest int src atkobjectfactoryclass atkselectionifac atktextifac public static final synchron nativ void memmov atk select ifac dest int src public static final synchron nativ void memmov atk text ifac dest int src public static final synchron nativ void memmov gtk access dest int src atkselectionifac atktextifac gtkaccess public static final synchron nativ void memmov atk text ifac dest int src public static final synchron nativ void memmov gtk access dest int src public static final synchron nativ void memmov object class dest int src atktextifac gtkaccess gobjectclass public static final synchron nativ void memmov gtk access dest int src public static final synchron nativ void memmov object class dest int src public static final synchron nativ void memmov type queri dest int src int size gtkaccess gobjectclass gtypequeri public static final synchron nativ void memmov object class dest int src public static final synchron nativ void memmov type queri dest int src int size public static final synchron nativ void memmov int dest atk action ifac src gobjectclass gtypequeri atkactionifac public static final synchron nativ void memmov type queri dest int src int size public static final synchron nativ void memmov int dest atk action ifac src public static final synchron nativ void memmov int dest atk compon ifac src gtypequeri atkactionifac atkcomponentifac public static final synchron nativ void memmov int dest atk action ifac src public static final synchron nativ void memmov int dest atk compon ifac src public static final synchron nativ void memmov int dest atk hypertext ifac src atkactionifac atkcomponentifac atkhypertextifac public static final synchron nativ void memmov int dest atk compon ifac src public static final synchron nativ void memmov int dest atk hypertext ifac src public static final synchron nativ void memmov int dest atk object class src atkcomponentifac atkhypertextifac atkobjectclass public static final synchron nativ void memmov int dest atk hypertext ifac src public static final synchron nativ void memmov int dest atk object class src public static final synchron nativ void memmov int dest atk object factori class src atkhypertextifac atkobjectclass atkobjectfactoryclass public static final synchron nativ void memmov int dest atk object class src public static final synchron nativ void memmov int dest atk object factori class src public static final synchron nativ void memmov int dest atk select ifac src atkobjectclass atkobjectfactoryclass atkselectionifac public static final synchron nativ void memmov int dest atk object factori class src public static final synchron nativ void memmov int dest atk select ifac src public static final synchron nativ void memmov int dest atk text ifac src atkobjectfactoryclass atkselectionifac atktextifac public static final synchron nativ void memmov int dest atk select ifac src public static final synchron nativ void memmov int dest atk text ifac src public static final synchron nativ void memmov int dest interfac info src int size atkselectionifac atktextifac ginterfaceinfo public static final synchron nativ void memmov int dest atk text ifac src public static final synchron nativ void memmov int dest interfac info src int size public static final synchron nativ void memmov int dest object class src atktextifac ginterfaceinfo gobjectclass public static final synchron nativ void memmov int dest interfac info src int size public static final synchron nativ void memmov int dest object class src public static final synchron nativ void memmov int dest type info src int size ginterfaceinfo gobjectclass gtypeinfo public int public int valu public boolean equal object object object return true object instanceof return fals obj object return obj valu public int hash code return int 64 hashcod protect static byte signal string int length length char char char length char 0 length char 0 byte buffer byte length 1 int 0 length buffer byte char return buffer getchar 64 bit public static final int ptr sizeof ptr sizeof public static final synchron nativ int ptr sizeof ptr_sizeof ptr_sizeof ptr_sizeof public static final int ptr sizeof ptr sizeof public static final synchron nativ int ptr sizeof public static final synchron nativ int gdkcolor sizeof ptr_sizeof ptr_sizeof ptr_sizeof gdkcolor_sizeof public static final synchron nativ int ptr sizeof public static final synchron nativ int gdkcolor sizeof public static final synchron nativ int gdkdragcontext sizeof ptr_sizeof gdkcolor_sizeof gdkdragcontext_sizeof public static final synchron nativ int gdkcolor sizeof public static final synchron nativ int gdkdragcontext sizeof public static final synchron nativ int gdkevent sizeof gdkcolor_sizeof gdkdragcontext_sizeof gdkevent_sizeof public static final synchron nativ int gdkdragcontext sizeof public static final synchron nativ int gdkevent sizeof public static final synchron nativ int gdkeventbutton sizeof gdkdragcontext_sizeof gdkevent_sizeof gdkeventbutton_sizeof public static final synchron nativ int gdkevent sizeof public static final synchron nativ int gdkeventbutton sizeof public static final synchron nativ int gdkeventcross sizeof gdkevent_sizeof gdkeventbutton_sizeof gdkeventcross_sizeof public static final synchron nativ int gdkeventbutton sizeof public static final synchron nativ int gdkeventcross sizeof public static final synchron nativ int gdkeventexpos sizeof gdkeventbutton_sizeof gdkeventcross_sizeof gdkeventexpos_sizeof public static final synchron nativ int gdkeventcross sizeof public static final synchron nativ int gdkeventexpos sizeof public static final synchron nativ int gdkeventfocu sizeof gdkeventcross_sizeof gdkeventexpos_sizeof gdkeventfocu_sizeof public static final synchron nativ int gdkeventexpos sizeof public static final synchron nativ int gdkeventfocu sizeof public static final synchron nativ int gdkeventkei sizeof gdkeventexpos_sizeof gdkeventfocu_sizeof gdkeventkei_sizeof public static final synchron nativ int gdkeventfocu sizeof public static final synchron nativ int gdkeventkei sizeof public static final synchron nativ int gdkeventmot sizeof gdkeventfocu_sizeof gdkeventkei_sizeof gdkeventmot_sizeof public static final synchron nativ int gdkeventkei sizeof public static final synchron nativ int gdkeventmot sizeof public static final synchron nativ int gdkeventvis sizeof gdkeventkei_sizeof gdkeventmot_sizeof gdkeventvis_sizeof public static final synchron nativ int gdkeventmot sizeof public static final synchron nativ int gdkeventvis sizeof public static final synchron nativ int gdkeventwindowst sizeof gdkeventmot_sizeof gdkeventvis_sizeof gdkeventwindowst_sizeof public static final synchron nativ int gdkeventvis sizeof public static final synchron nativ int gdkeventwindowst sizeof public static final synchron nativ int gdkgcvalu sizeof gdkeventvis_sizeof gdkeventwindowst_sizeof gdkgcvalu_sizeof public static final synchron nativ int gdkeventwindowst sizeof public static final synchron nativ int gdkgcvalu sizeof public static final synchron nativ int gdkimag sizeof gdkeventwindowst_sizeof gdkgcvalu_sizeof gdkimag_sizeof public static final synchron nativ int gdkgcvalu sizeof public static final synchron nativ int gdkimag sizeof public static final synchron nativ int gdkrectangl sizeof gdkgcvalu_sizeof gdkimag_sizeof gdkrectangl_sizeof public static final synchron nativ int gdkimag sizeof public static final synchron nativ int gdkrectangl sizeof public static final synchron nativ int gdkvisual sizeof gdkimag_sizeof gdkrectangl_sizeof gdkvisual_sizeof public static final synchron nativ int gdkrectangl sizeof public static final synchron nativ int gdkvisual sizeof public static final synchron nativ int gdkwindowattr sizeof gdkrectangl_sizeof gdkvisual_sizeof gdkwindowattr_sizeof public static final synchron nativ int gdkvisual sizeof public static final synchron nativ int gdkwindowattr sizeof public static final synchron nativ int gtkadjust sizeof gdkvisual_sizeof gdkwindowattr_sizeof gtkadjust_sizeof public static final synchron nativ int gdkwindowattr sizeof public static final synchron nativ int gtkadjust sizeof public static final synchron nativ int gtkalloc sizeof gdkwindowattr_sizeof gtkadjust_sizeof gtkalloc_sizeof public static final synchron nativ int gtkadjust sizeof public static final synchron nativ int gtkalloc sizeof public static final synchron nativ int gtkcolorselectiondialog sizeof gtkadjust_sizeof gtkalloc_sizeof gtkcolorselectiondialog_sizeof public static final synchron nativ int gtkalloc sizeof public static final synchron nativ int gtkcolorselectiondialog sizeof public static final synchron nativ int gtkcombo sizeof gtkalloc_sizeof gtkcolorselectiondialog_sizeof gtkcombo_sizeof public static final synchron nativ int gtkcolorselectiondialog sizeof public static final synchron nativ int gtkcombo sizeof public static final synchron nativ int gtkfileselect sizeof gtkcolorselectiondialog_sizeof gtkcombo_sizeof gtkfileselect_sizeof public static final synchron nativ int gtkcombo sizeof public static final synchron nativ int gtkfileselect sizeof public static final synchron nativ int gtkfix sizeof gtkcombo_sizeof gtkfileselect_sizeof gtkfix_sizeof public static final synchron nativ int gtkfileselect sizeof public static final synchron nativ int gtkfix sizeof public static final synchron nativ int gtkrequisit sizeof gtkfileselect_sizeof gtkfix_sizeof gtkrequisit_sizeof public static final synchron nativ int gtkfix sizeof public static final synchron nativ int gtkrequisit sizeof public static final synchron nativ int gtkselectiondata sizeof gtkfix_sizeof gtkrequisit_sizeof gtkselectiondata_sizeof public static final synchron nativ int gtkrequisit sizeof public static final synchron nativ int gtkselectiondata sizeof public static final synchron nativ int gtktargetentri sizeof gtkrequisit_sizeof gtkselectiondata_sizeof gtktargetentri_sizeof public static final synchron nativ int gtkselectiondata sizeof public static final synchron nativ int gtktargetentri sizeof public static final synchron nativ int gtktargetpair sizeof gtkselectiondata_sizeof gtktargetentri_sizeof gtktargetpair_sizeof public static final synchron nativ int gtktargetentri sizeof public static final synchron nativ int gtktargetpair sizeof public static final synchron nativ int gtktextit sizeof gtktargetentri_sizeof gtktargetpair_sizeof gtktextit_sizeof public static final synchron nativ int gtktargetpair sizeof public static final synchron nativ int gtktextit sizeof public static final synchron nativ int gtktreeiter sizeof gtktargetpair_sizeof gtktextit_sizeof gtktreeiter_sizeof public static final synchron nativ int gtktextit sizeof public static final synchron nativ int gtktreeiter sizeof public static final synchron nativ int pangoattribut sizeof gtktextit_sizeof gtktreeiter_sizeof pangoattribut_sizeof public static final synchron nativ int gtktreeiter sizeof public static final synchron nativ int pangoattribut sizeof public static final synchron nativ int pangoitem sizeof gtktreeiter_sizeof pangoattribut_sizeof pangoitem_sizeof public static final synchron nativ int pangoattribut sizeof public static final synchron nativ int pangoitem sizeof public static final synchron nativ int pangolayoutlin sizeof pangoattribut_sizeof pangoitem_sizeof pangolayoutlin_sizeof public static final synchron nativ int pangoitem sizeof public static final synchron nativ int pangolayoutlin sizeof public static final synchron nativ int pangolayoutrun sizeof pangoitem_sizeof pangolayoutlin_sizeof pangolayoutrun_sizeof public static final synchron nativ int pangolayoutlin sizeof public static final synchron nativ int pangolayoutrun sizeof public static final synchron nativ int pangologattr sizeof pangolayoutlin_sizeof pangolayoutrun_sizeof pangologattr_sizeof public static final synchron nativ int pangolayoutrun sizeof public static final synchron nativ int pangologattr sizeof public static final synchron nativ int pangorectangl sizeof pangolayoutrun_sizeof pangologattr_sizeof pangorectangl_sizeof public static final synchron nativ int pangologattr sizeof public static final synchron nativ int pangorectangl sizeof public static final synchron nativ int xanyev sizeof pangologattr_sizeof pangorectangl_sizeof xanyev_sizeof public static final synchron nativ int pangorectangl sizeof public static final synchron nativ int xanyev sizeof public static final synchron nativ int xclientmessageev sizeof pangorectangl_sizeof xanyev_sizeof xclientmessageev_sizeof public static final synchron nativ int xanyev sizeof public static final synchron nativ int xclientmessageev sizeof public static final synchron nativ int xevent sizeof xanyev_sizeof xclientmessageev_sizeof xevent_sizeof public static final synchron nativ int xclientmessageev sizeof public static final synchron nativ int xevent sizeof public static final synchron nativ int xcrossingev sizeof xclientmessageev_sizeof xevent_sizeof xcrossingev_sizeof public static final synchron nativ int xevent sizeof public static final synchron nativ int xcrossingev sizeof public static final synchron nativ int xexposeev sizeof xevent_sizeof xcrossingev_sizeof xexposeev_sizeof public static final synchron nativ int xcrossingev sizeof public static final synchron nativ int xexposeev sizeof public static final synchron nativ int xfocuschangeev sizeof xcrossingev_sizeof xexposeev_sizeof xfocuschangeev_sizeof public static final synchron nativ int xexposeev sizeof public static final synchron nativ int xfocuschangeev sizeof public static final synchron nativ int xvisibilityev sizeof xexposeev_sizeof xfocuschangeev_sizeof xvisibilityev_sizeof public static final synchron nativ int xfocuschangeev sizeof public static final synchron nativ int xvisibilityev sizeof public static final synchron nativ int xwindowchang sizeof xfocuschangeev_sizeof xvisibilityev_sizeof xwindowchang_sizeof public static final synchron nativ int xvisibilityev sizeof public static final synchron nativ int xwindowchang sizeof public static final nativ int strlen int str xvisibilityev_sizeof xwindowchang_sizeof public static final nativ int strlen int str object privat field accessor public static final synchron nativ int gtk widget height int widget gtk_widget_height object privat field accessor public static final synchron nativ int gtk widget height int widget public static final synchron nativ int gtk widget width int widget gtk_widget_height gtk_widget_width public static final synchron nativ int gtk widget height int widget public static final synchron nativ int gtk widget width int widget public static final synchron nativ int gtk widget window int widget gtk_widget_height gtk_widget_width gtk_widget_window public static final synchron nativ int gtk widget width int widget public static final synchron nativ int gtk widget window int widget public static final synchron nativ int gtk widget int widget gtk_widget_width gtk_widget_window gtk_widget_x public static final synchron nativ int gtk widget window int widget public static final synchron nativ int gtk widget int widget public static final synchron nativ int gtk widget int widget gtk_widget_window gtk_widget_x gtk_widget_y public static final synchron nativ int gtk widget int widget public static final synchron nativ int gtk widget int widget public static final synchron nativ int gtk scroll window hscrollbar int widget gtk_widget_x gtk_widget_y gtk_scroll_window_hscrollbar public static final synchron nativ int gtk widget int widget public static final synchron nativ int gtk scroll window hscrollbar int widget public static final synchron nativ int gtk scroll window vscrollbar int widget gtk_widget_y gtk_scroll_window_hscrollbar gtk_scroll_window_vscrollbar public static final synchron nativ int gtk scroll window hscrollbar int widget public static final synchron nativ int gtk scroll window vscrollbar int widget public static final synchron nativ int gtk scroll window scrollbar space int widget gtk_scroll_window_hscrollbar gtk_scroll_window_vscrollbar gtk_scroll_window_scrollbar_space public static final synchron nativ int gtk scroll window vscrollbar int widget public static final synchron nativ int gtk scroll window scrollbar space int widget public static final synchron nativ void gtk accel label set accel string int acc label int string gtk_scroll_window_vscrollbar gtk_scroll_window_scrollbar_space gtk_accel_label_set_accel_string acc_label public static final synchron nativ int gtk scroll window scrollbar space int widget public static final synchron nativ void gtk accel label set accel string int acc label int string public static final synchron nativ int gtk accel label accel string int acc label gtk_scroll_window_scrollbar_space gtk_accel_label_set_accel_string acc_label gtk_accel_label_get_accel_string acc_label public static final synchron nativ void gtk accel label set accel string int acc label int string public static final synchron nativ int gtk accel label accel string int acc label public static final synchron nativ int gtk entri im context int widget gtk_accel_label_set_accel_string acc_label gtk_accel_label_get_accel_string acc_label gtk_entri_im_context public static final synchron nativ int gtk accel label accel string int acc label public static final synchron nativ int gtk entri im context int widget public static final synchron nativ int gtk textview im context int widget gtk_accel_label_get_accel_string acc_label gtk_entri_im_context gtk_textview_im_context public static final int visibl fulli obscur 2 public static final int visibl notifi 15 public static final nativ boolean gdk window x11 visibilityfullyobscur visibilitynotifi gdk_window_x11 public static final int revert parent 2 public static final int system trai request dock 0 public static final synchron nativ boolean check mask event int displai int event mask int event return reverttopar system_trai_request_dock xcheckmaskev event_mask event_return public static final int system trai request dock 0 public static final synchron nativ boolean check mask event int displai int event mask int event return public static final synchron nativ boolean check window event int displai int window int event mask int event return system_trai_request_dock xcheckmaskev event_mask event_return xcheckwindowev event_mask event_return public static final synchron nativ boolean check mask event int displai int event mask int event return public static final synchron nativ boolean check window event int displai int window int event mask int event return public static final synchron nativ boolean check event int displai int event return int predic int arg xcheckmaskev event_mask event_return xcheckwindowev event_mask event_return xcheckifev event_return public static final synchron nativ boolean check window event int displai int window int event mask int event return public static final synchron nativ boolean check event int displai int event return int predic int arg public static final synchron nativ int default screen int displai xcheckwindowev event_mask event_return xcheckifev event_return xdefaultscreen public static final synchron nativ boolean check event int displai int event return int predic int arg public static final synchron nativ int default screen int displai public static final synchron nativ int select owner int displai int select xcheckifev event_return xdefaultscreen xgetselectionown public static final synchron nativ int default screen int displai public static final synchron nativ int select owner int displai int select public static final synchron nativ int queri tree int displai int int root return int parent return int children return int nchildren return xdefaultscreen xgetselectionown xquerytre root_return parent_return children_return nchildren_return public static final synchron nativ int select owner int displai int select public static final synchron nativ int queri tree int displai int int root return int parent return int children return int nchildren return public static final synchron nativ int keysym keycod int displai int keysym xgetselectionown xquerytre root_return parent_return children_return nchildren_return xkeysymtokeycod public static final synchron nativ int queri tree int displai int int root return int parent return int children return int nchildren return public static final synchron nativ int keysym keycod int displai int keysym public static final synchron nativ int reconfigurewm window int displai int window int screen int mask window valu xquerytre root_return parent_return children_return nchildren_return xkeysymtokeycod xreconfigurewmwindow valuemask xwindowchang public static final synchron nativ int keysym keycod int displai int keysym public static final synchron nativ int reconfigurewm window int displai int window int screen int mask window valu public static final synchron nativ int send event int displai int boolean propog int event mask int event send xkeysymtokeycod xreconfigurewmwindow valuemask xwindowchang xsendev event_mask event_send public static final synchron nativ int reconfigurewm window int displai int window int screen int mask window valu public static final synchron nativ int send event int displai int boolean propog int event mask int event send public static final synchron nativ int set input focu int displai int window int revert int xreconfigurewmwindow valuemask xwindowchang xsendev event_mask event_send xsetinputfocu public static final synchron nativ int send event int displai int boolean propog int event mask int event send public static final synchron nativ int set input focu int displai int window int revert int public static final synchron nativ int synchron int displai boolean onoff xsendev event_mask event_send xsetinputfocu xsynchron public static final synchron nativ int set input focu int displai int window int revert int public static final synchron nativ int synchron int displai boolean onoff public static final synchron nativ void test fake button event int displai int button boolean press int delai xsetinputfocu xsynchron xtestfakebuttonev is_press public static final synchron nativ int synchron int displai boolean onoff public static final synchron nativ void test fake button event int displai int button boolean press int delai public static final synchron nativ void test fake kei event int displai int keycod boolean press int delai xsynchron xtestfakebuttonev is_press xtestfakekeyev is_press public static final synchron nativ void test fake button event int displai int button boolean press int delai public static final synchron nativ void test fake kei event int displai int keycod boolean press int delai public static final synchron nativ void test fake motion event int displai int screen number int int int delai xtestfakebuttonev is_press xtestfakekeyev is_press xtestfakemotionev screen_number public static final synchron nativ void test fake kei event int displai int keycod boolean press int delai public static final synchron nativ void test fake motion event int displai int screen number int int int delai public static final synchron nativ int gdk x11 atom xatom int atom xtestfakekeyev is_press xtestfakemotionev screen_number gdk_x11_atom_to_xatom public static final synchron nativ void test fake motion event int displai int screen number int int int delai public static final synchron nativ int gdk x11 atom xatom int atom public static final synchron nativ int gdk x11 drawabl xdisplai int drawabl xtestfakemotionev screen_number gdk_x11_atom_to_xatom gdk_x11_drawabl_get_xdisplai public static final synchron nativ int gdk x11 atom xatom int atom public static final synchron nativ int gdk x11 drawabl xdisplai int drawabl public static final synchron nativ int gdk x11 drawabl xid int drawabl gdk_x11_atom_to_xatom gdk_x11_drawabl_get_xdisplai gdk_x11_drawabl_get_xid public static final synchron nativ int gdk x11 drawabl xdisplai int drawabl public static final synchron nativ int gdk x11 drawabl xid int drawabl public static final synchron nativ int gdk window lookup int xid gdk_x11_drawabl_get_xdisplai gdk_x11_drawabl_get_xid gdk_window_lookup public static final synchron nativ int gdk x11 drawabl xid int drawabl public static final synchron nativ int gdk window lookup int xid public static final synchron nativ void gdk window add filter int window int function int data gdk_x11_drawabl_get_xid gdk_window_lookup gdk_window_add_filter public static final synchron nativ int gdk window lookup int xid public static final synchron nativ void gdk window add filter int window int function int data public static final nativ void memmov int dest client messag event src int size gdk_window_lookup gdk_window_add_filter xclientmessageev public static final synchron nativ void gdk window add filter int window int function int data public static final nativ void memmov int dest client messag event src int size public static final nativ void memmov int dest cross event src int size gdk_window_add_filter xclientmessageev xcrossingev public static final nativ void memmov int dest client messag event src int size public static final nativ void memmov int dest cross event src int size public static final nativ void memmov int dest expos event src int size xclientmessageev xcrossingev xexposeev public static final nativ void memmov int dest cross event src int size public static final nativ void memmov int dest expos event src int size public static final nativ void memmov int dest focu chang event src int size xcrossingev xexposeev xfocuschangeev public static final nativ void memmov int dest expos event src int size public static final nativ void memmov int dest focu chang event src int size public static final nativ void memmov cross event dest int src int size xexposeev xfocuschangeev xcrossingev public static final nativ void memmov int dest focu chang event src int size public static final nativ void memmov cross event dest int src int size public static final nativ void memmov expos event dest int src int size xfocuschangeev xcrossingev xexposeev public static final nativ void memmov cross event dest int src int size public static final nativ void memmov expos event dest int src int size public static final nativ void memmov focu chang event dest int src int size xcrossingev xexposeev xfocuschangeev public static final nativ void memmov expos event dest int src int size public static final nativ void memmov focu chang event dest int src int size public static final nativ void memmov visibl event dest int src int size xexposeev xfocuschangeev xvisibilityev public static final nativ void memmov visibl event dest int src int size nativ method public static final synchron nativ int gdk displai xvisibilityev gdk_displai nativ method public static final synchron nativ int gdk displai public static final synchron nativ int gdk root parent gdk_displai gdk_root_parent public static final synchron nativ int gdk displai public static final synchron nativ int gdk root parent public static final synchron nativ int gdk type color gdk_displai gdk_root_parent gdk_type_color public static final synchron nativ int gdk root parent public static final synchron nativ int gdk type color public static final synchron nativ int gdk type pixbuf gdk_root_parent gdk_type_color gdk_type_pixbuf public static final synchron nativ int gdk type color public static final synchron nativ int gdk type pixbuf public static final synchron nativ boolean gtk button int obj gdk_type_color gdk_type_pixbuf gtk_is_button public static final synchron nativ int gdk type pixbuf public static final synchron nativ boolean gtk button int obj public static final synchron nativ boolean gtk cell render pixbuf int obj gdk_type_pixbuf gtk_is_button gtk_is_cell_render_pixbuf public static final synchron nativ boolean gtk button int obj public static final synchron nativ boolean gtk cell render pixbuf int obj public static final synchron nativ boolean gtk imag menu item int obj gtk_is_button gtk_is_cell_render_pixbuf gtk_is_imag_menu_item public static final synchron nativ boolean gtk cell render pixbuf int obj public static final synchron nativ boolean gtk imag menu item int obj public static final synchron nativ int gtk widget flag int wid gtk_is_cell_render_pixbuf gtk_is_imag_menu_item gtk_widget_flag public static final synchron nativ boolean gtk imag menu item int obj public static final synchron nativ int gtk widget flag int wid public static final synchron nativ boolean gtk widget default int wid gtk_is_imag_menu_item gtk_widget_flag gtk_widget_ha_default public static final synchron nativ int gtk widget flag int wid public static final synchron nativ boolean gtk widget default int wid public static final synchron nativ boolean gtk widget focu int wid gtk_widget_flag gtk_widget_ha_default gtk_widget_ha_focu public static final synchron nativ boolean gtk widget default int wid public static final synchron nativ boolean gtk widget focu int wid public static final synchron nativ boolean gtk widget sensit int wid gtk_widget_ha_default gtk_widget_ha_focu gtk_widget_is_sensit public static final synchron nativ boolean gtk widget focu int wid public static final synchron nativ boolean gtk widget sensit int wid public static final synchron nativ boolean gtk widget map int wid gtk_widget_ha_focu gtk_widget_is_sensit gtk_widget_map public static final synchron nativ boolean gtk widget sensit int wid public static final synchron nativ boolean gtk widget map int wid public static final synchron nativ boolean gtk widget sensit int wid gtk_widget_is_sensit gtk_widget_map gtk_widget_sensit public static final synchron nativ boolean gtk widget map int wid public static final synchron nativ boolean gtk widget sensit int wid public static final synchron nativ void gtk widget set flag int wid int flag gtk_widget_map gtk_widget_sensit gtk_widget_set_flag public static final synchron nativ boolean gtk widget sensit int wid public static final synchron nativ void gtk widget set flag int wid int flag public static final synchron nativ void gtk widget unset flag int wid int flag gtk_widget_sensit gtk_widget_set_flag gtk_widget_unset_flag public static final synchron nativ void gtk widget set flag int wid int flag public static final synchron nativ void gtk widget unset flag int wid int flag public static final synchron nativ boolean gtk widget visibl int wid gtk_widget_set_flag gtk_widget_unset_flag gtk_widget_visibl public static final synchron nativ void gtk widget unset flag int wid int flag public static final synchron nativ boolean gtk widget visibl int wid public static final synchron nativ int type boolean gtk_widget_unset_flag gtk_widget_visibl g_type_boolean public static final synchron nativ boolean gtk widget visibl int wid public static final synchron nativ int type boolean public static final synchron nativ int type int gtk_widget_visibl g_type_boolean g_type_int public static final synchron nativ int type boolean public static final synchron nativ int type int public static final synchron nativ int type string g_type_boolean g_type_int g_type_string public static final synchron nativ int type int public static final synchron nativ int type string public static final synchron nativ int pango pixel int dimens g_type_int g_type_string pango_pixel public static final synchron nativ int type string public static final synchron nativ int pango pixel int dimens public static final synchron nativ int pango type font descript g_type_string pango_pixel pango_type_font_descript public static final synchron nativ int pango pixel int dimens public static final synchron nativ int pango type font descript public static final synchron nativ int filenam utf8 int opsysstr int len int byte read int byte written int error pango_pixel pango_type_font_descript g_filenam_to_utf8 byte_read byte_written public static final synchron nativ int pango type font descript public static final synchron nativ int filenam utf8 int opsysstr int len int byte read int byte written int error public static final synchron nativ int filenam uri int filenam int hostnam int error pango_type_font_descript g_filenam_to_utf8 byte_read byte_written g_filenam_to_uri public static final synchron nativ int filenam utf8 int opsysstr int len int byte read int byte written int error public static final synchron nativ int filenam uri int filenam int hostnam int error public static final synchron nativ int filenam utf8 int opsysstr int len int byte read int byte written int error g_filenam_to_utf8 byte_read byte_written g_filenam_to_uri g_filenam_from_utf8 byte_read byte_written public static final synchron nativ int filenam uri int filenam int hostnam int error public static final synchron nativ int filenam utf8 int opsysstr int len int byte read int byte written int error public static final synchron nativ int filenam uri int uri int hostnam int error g_filenam_to_uri g_filenam_from_utf8 byte_read byte_written g_filenam_from_uri public static final synchron nativ int filenam utf8 int opsysstr int len int byte read int byte written int error public static final synchron nativ int filenam uri int uri int hostnam int error public static final synchron nativ void free int mem g_filenam_from_utf8 byte_read byte_written g_filenam_from_uri g_free public static final synchron nativ int filenam uri int uri int hostnam int error public static final synchron nativ void free int mem public static final synchron nativ int list append int list int data g_filenam_from_uri g_free g_list_append public static final synchron nativ void free int mem public static final synchron nativ int list append int list int data public static final synchron nativ int list data int list g_free g_list_append g_list_data public static final synchron nativ int list append int list int data public static final synchron nativ int list data int list public static final synchron nativ void list free int list g_list_append g_list_data g_list_free public static final synchron nativ int list data int list public static final synchron nativ void list free int list public static final synchron nativ void list free 1 int list g_list_data g_list_free g_list_free_1 public static final synchron nativ void list free int list public static final synchron nativ void list free 1 int list public static final synchron nativ int list length int list g_list_free g_list_free_1 g_list_length public static final synchron nativ void list free 1 int list public static final synchron nativ int list length int list public static final synchron nativ void list set int list int llist g_list_free_1 g_list_length g_list_set_next public static final synchron nativ int list length int list public static final synchron nativ void list set int list int llist public static final synchron nativ int list int list g_list_length g_list_set_next g_list_next public static final synchron nativ void list set int list int llist public static final synchron nativ int list int list public static final synchron nativ int list nth int list int g_list_set_next g_list_next g_list_nth public static final synchron nativ int list int list public static final synchron nativ int list nth int list int public static final synchron nativ int list nth data int list int g_list_next g_list_nth g_list_nth_data public static final synchron nativ int list nth int list int public static final synchron nativ int list nth data int list int public static final synchron nativ int list prepend int list int data g_list_nth g_list_nth_data g_list_prepend public static final synchron nativ int list nth data int list int public static final synchron nativ int list prepend int list int data public static final synchron nativ void list set previou int list int llist g_list_nth_data g_list_prepend g_list_set_previou public static final synchron nativ int list prepend int list int data public static final synchron nativ void list set previou int list int llist public static final synchron nativ int list previou int list g_list_prepend g_list_set_previou g_list_previou public static final synchron nativ void list set previou int list int llist public static final synchron nativ int list previou int list public static final synchron nativ int list remov link int list int link g_list_set_previou g_list_previou g_list_remov_link public static final synchron nativ int list previou int list public static final synchron nativ int list remov link int list int link public static final synchron nativ int list revers int list g_list_previou g_list_remov_link g_list_revers public static final synchron nativ int list remov link int list int link public static final synchron nativ int list revers int list public static final synchron nativ int local utf8 int utf8string int len int byte read int byte written int error g_list_remov_link g_list_revers g_local_from_utf8 byte_read byte_written public static final synchron nativ int list revers int list public static final synchron nativ int local utf8 int utf8string int len int byte read int byte written int error public static final synchron nativ int local utf8 int opsysstr int len int byte read int byte written int error g_list_revers g_local_from_utf8 byte_read byte_written g_local_to_utf8 byte_read byte_written public static final synchron nativ int local utf8 int utf8string int len int byte read int byte written int error public static final synchron nativ int local utf8 int opsysstr int len int byte read int byte written int error public static final synchron nativ void log default handler int log domain int log level int messag int unus data g_local_from_utf8 byte_read byte_written g_local_to_utf8 byte_read byte_written g_log_default_handler log_domain log_level unus_data public static final synchron nativ int local utf8 int opsysstr int len int byte read int byte written int error public static final synchron nativ void log default handler int log domain int log level int messag int unus data public static final synchron nativ void log remov handler byte log domain int handler id g_local_to_utf8 byte_read byte_written g_log_default_handler log_domain log_level unus_data g_log_remov_handler log_domain handler_id public static final synchron nativ void log default handler int log domain int log level int messag int unus data public static final synchron nativ void log remov handler byte log domain int handler id public static final synchron nativ int log set handler byte log domain int log level int log func int user data g_log_default_handler log_domain log_level unus_data g_log_remov_handler log_domain handler_id g_log_set_handler log_domain log_level log_func user_data public static final synchron nativ void log remov handler byte log domain int handler id public static final synchron nativ int log set handler byte log domain int log level int log func int user data public static final synchron nativ int malloc int size g_log_remov_handler log_domain handler_id g_log_set_handler log_domain log_level log_func user_data g_malloc public static final synchron nativ int log set handler byte log domain int log level int log func int user data public static final synchron nativ int malloc int size public static final synchron nativ int object qdata int object int quark g_log_set_handler log_domain log_level log_func user_data g_malloc g_object_get_qdata public static final synchron nativ int malloc int size public static final synchron nativ int object qdata int object int quark public static final synchron nativ int object ref int object g_malloc g_object_get_qdata g_object_ref public static final synchron nativ int object qdata int object int quark public static final synchron nativ int object ref int object public static final synchron nativ void object set int object byte properti boolean data int termin g_object_get_qdata g_object_ref g_object_set first_properti_name public static final synchron nativ int object ref int object public static final synchron nativ void object set int object byte properti boolean data int termin public static final synchron nativ void object set int object byte properti int data int termin g_object_ref g_object_set first_properti_name g_object_set first_properti_name public static final synchron nativ void object set int object byte properti boolean data int termin public static final synchron nativ void object set int object byte properti int data int termin public static final synchron nativ void object set int object byte properti float data int termin g_object_set first_properti_name g_object_set first_properti_name g_object_set first_properti_name public static final synchron nativ void object set int object byte properti int data int termin public static final synchron nativ void object set int object byte properti float data int termin public static final synchron nativ void object set qdata int object int quark int data g_object_set first_properti_name g_object_set first_properti_name g_object_set_qdata public static final synchron nativ void object set int object byte properti float data int termin public static final synchron nativ void object set qdata int object int quark int data public static final synchron nativ void object unref int object g_object_set first_properti_name g_object_set_qdata g_object_unref public static final synchron nativ void object set qdata int object int quark int data public static final synchron nativ void object unref int object public static final synchron nativ int quark string byte string g_object_set_qdata g_object_unref g_quark_from_string public static final synchron nativ void object unref int object public static final synchron nativ int quark string byte string public static final synchron nativ int signal connect int instanc byte detail signal int proc int data g_object_unref g_quark_from_string g_signal_connect detail_signal public static final synchron nativ int quark string byte string public static final synchron nativ int signal connect int instanc byte detail signal int proc int data public static final synchron nativ int signal connect int instanc byte detail signal int proc int data g_quark_from_string g_signal_connect detail_signal g_signal_connect_after detail_signal public static final synchron nativ int signal connect int instanc byte detail signal int proc int data public static final synchron nativ int signal connect int instanc byte detail signal int proc int data public static final synchron nativ void signal emit int instanc byte detail signal g_signal_connect detail_signal g_signal_connect_after detail_signal g_signal_emit_by_name detail_signal public static final synchron nativ int signal connect int instanc byte detail signal int proc int data public static final synchron nativ void signal emit int instanc byte detail signal public static final synchron nativ void signal emit int instanc byte detail signal int data g_signal_connect_after detail_signal g_signal_emit_by_name detail_signal g_signal_emit_by_name detail_signal public static final synchron nativ void signal emit int instanc byte detail signal public static final synchron nativ void signal emit int instanc byte detail signal int data public static final synchron nativ void signal emit int instanc byte detail signal int data1 int data2 g_signal_emit_by_name detail_signal g_signal_emit_by_name detail_signal g_signal_emit_by_name detail_signal public static final synchron nativ void signal emit int instanc byte detail signal int data public static final synchron nativ void signal emit int instanc byte detail signal int data1 int data2 public static final synchron nativ void signal emit int instanc byte detail signal byte data g_signal_emit_by_name detail_signal g_signal_emit_by_name detail_signal g_signal_emit_by_name detail_signal public static final synchron nativ void signal emit int instanc byte detail signal int data1 int data2 public static final synchron nativ void signal emit int instanc byte detail signal byte data public static final synchron nativ void signal handler disconnect int instanc int handler id g_signal_emit_by_name detail_signal g_signal_emit_by_name detail_signal g_signal_handler_disconnect handler_id public static final synchron nativ void signal emit int instanc byte detail signal byte data public static final synchron nativ void signal handler disconnect int instanc int handler id public static final synchron nativ int signal handler block match int instanc int mask int signal id int detail int closur int func int data g_signal_emit_by_name detail_signal g_signal_handler_disconnect handler_id g_signal_handler_block_match signal_id public static final synchron nativ void signal handler disconnect int instanc int handler id public static final synchron nativ int signal handler block match int instanc int mask int signal id int detail int closur int func int data public static final synchron nativ int signal handler disconnect match int instanc int mask int signal id int detail int closur int func int data g_signal_handler_disconnect handler_id g_signal_handler_block_match signal_id g_signal_handler_disconnect_match signal_id public static final synchron nativ int signal handler block match int instanc int mask int signal id int detail int closur int func int data public static final synchron nativ int signal handler disconnect match int instanc int mask int signal id int detail int closur int func int data public static final synchron nativ int signal handler unblock match int instanc int mask int signal id int detail int closur int func int data g_signal_handler_block_match signal_id g_signal_handler_disconnect_match signal_id g_signal_handler_unblock_match signal_id public static final synchron nativ int signal handler disconnect match int instanc int mask int signal id int detail int closur int func int data public static final synchron nativ int signal handler unblock match int instanc int mask int signal id int detail int closur int func int data public static final synchron nativ int signal lookup byte int ityp g_signal_handler_disconnect_match signal_id g_signal_handler_unblock_match signal_id g_signal_lookup public static final synchron nativ int signal handler unblock match int instanc int mask int signal id int detail int closur int func int data public static final synchron nativ int signal lookup byte int ityp public static final synchron nativ void signal stop emiss int instanc byte detail signal g_signal_handler_unblock_match signal_id g_signal_lookup g_signal_stop_emiss_by_name detail_signal public static final synchron nativ int signal lookup byte int ityp public static final synchron nativ void signal stop emiss int instanc byte detail signal public static final synchron nativ int slist int list g_signal_lookup g_signal_stop_emiss_by_name detail_signal g_slist_next public static final synchron nativ void signal stop emiss int instanc byte detail signal public static final synchron nativ int slist int list public static final synchron nativ int slist data int list g_signal_stop_emiss_by_name detail_signal g_slist_next g_slist_data public static final synchron nativ int slist int list public static final synchron nativ int slist data int list public static final synchron nativ void strfreev int string arrai g_slist_next g_slist_data g_strfreev string_arrai public static final synchron nativ int slist data int list public static final synchron nativ void strfreev int string arrai public static final synchron nativ void thread init int vtabl g_slist_data g_strfreev string_arrai g_thread_init public static final synchron nativ void strfreev int string arrai public static final synchron nativ void thread init int vtabl public static final synchron nativ boolean thread support g_strfreev string_arrai g_thread_init g_thread_support public static final synchron nativ void thread init int vtabl public static final synchron nativ boolean thread support public static final synchron nativ int utf16 utf8 char str int len int item read int item written int error g_thread_init g_thread_support g_utf16_to_utf8 item_read item_written public static final synchron nativ boolean thread support public static final synchron nativ int utf16 utf8 char str int len int item read int item written int error public static final synchron nativ int utf8 offset pointer int str int offset g_thread_support g_utf16_to_utf8 item_read item_written g_utf8_offset_to_pointer public static final synchron nativ int utf16 utf8 char str int len int item read int item written int error public static final synchron nativ int utf8 offset pointer int str int offset public static final synchron nativ int utf8 pointer offset int str int po g_utf16_to_utf8 item_read item_written g_utf8_offset_to_pointer g_utf8_pointer_to_offset public static final synchron nativ int utf8 offset pointer int str int offset public static final synchron nativ int utf8 pointer offset int str int po public static final synchron nativ int utf8 strlen int str int max g_utf8_offset_to_pointer g_utf8_pointer_to_offset g_utf8_strlen public static final synchron nativ int utf8 pointer offset int str int po public static final synchron nativ int utf8 strlen int str int max public static final synchron nativ int utf8 utf16 byte str int len int item read int item written int error g_utf8_pointer_to_offset g_utf8_strlen g_utf8_to_utf16 item_read item_written public static final synchron nativ int utf8 strlen int str int max public static final synchron nativ int utf8 utf16 byte str int len int item read int item written int error public static final synchron nativ int utf8 utf16 int str int len int item read int item written int error g_utf8_strlen g_utf8_to_utf16 item_read item_written g_utf8_to_utf16 item_read item_written public static final synchron nativ int utf8 utf16 byte str int len int item read int item written int error public static final synchron nativ int utf8 utf16 int str int len int item read int item written int error public static final synchron nativ int gdk atom intern byte atom boolean exist g_utf8_to_utf16 item_read item_written g_utf8_to_utf16 item_read item_written gdk_atom_intern atom_name onli_if_exist public static final synchron nativ int utf8 utf16 int str int len int item read int item written int error public static final synchron nativ int gdk atom intern byte atom boolean exist public static final synchron nativ int gdk atom int atom g_utf8_to_utf16 item_read item_written gdk_atom_intern atom_name onli_if_exist gdk_atom_name public static final synchron nativ int gdk atom intern byte atom boolean exist public static final synchron nativ int gdk atom int atom public static final synchron nativ void gdk beep gdk_atom_intern atom_name onli_if_exist gdk_atom_name gdk_beep public static final synchron nativ int gdk atom int atom public static final synchron nativ void gdk beep public static final synchron nativ int gdk bitmap creat data int window byte data int width int height gdk_atom_name gdk_beep gdk_bitmap_creat_from_data public static final synchron nativ void gdk beep public static final synchron nativ int gdk bitmap creat data int window byte data int width int height public static final synchron nativ boolean gdk color white int colormap gdk color color gdk_beep gdk_bitmap_creat_from_data gdk_color_white gdkcolor public static final synchron nativ int gdk bitmap creat data int window byte data int width int height public static final synchron nativ boolean gdk color white int colormap gdk color color public static final synchron nativ boolean gdk colormap alloc color int colormap gdk color color boolean writeabl boolean match gdk_bitmap_creat_from_data gdk_color_white gdkcolor gdk_colormap_alloc_color gdkcolor best_match public static final synchron nativ boolean gdk color white int colormap gdk color color public static final synchron nativ boolean gdk colormap alloc color int colormap gdk color color boolean writeabl boolean match public static final synchron nativ void gdk colormap free color int colormap gdk color color int ncolor gdk_color_white gdkcolor gdk_colormap_alloc_color gdkcolor best_match gdk_colormap_free_color gdkcolor public static final synchron nativ boolean gdk colormap alloc color int colormap gdk color color boolean writeabl boolean match public static final synchron nativ void gdk colormap free color int colormap gdk color color int ncolor public static final synchron nativ int gdk colormap system gdk_colormap_alloc_color gdkcolor best_match gdk_colormap_free_color gdkcolor gdk_colormap_get_system public static final synchron nativ void gdk colormap free color int colormap gdk color color int ncolor public static final synchron nativ int gdk colormap system public static final synchron nativ void gdk colormap queri color int colormap int pixel gdk color result gdk_colormap_free_color gdkcolor gdk_colormap_get_system gdk_colormap_queri_color gdkcolor public static final synchron nativ int gdk colormap system public static final synchron nativ void gdk colormap queri color int colormap int pixel gdk color result public static final synchron nativ void gdk cursor destroi int cursor gdk_colormap_get_system gdk_colormap_queri_color gdkcolor gdk_cursor_destroi public static final synchron nativ void gdk colormap queri color int colormap int pixel gdk color result public static final synchron nativ void gdk cursor destroi int cursor public static final synchron nativ int gdk cursor int cursor type gdk_colormap_queri_color gdkcolor gdk_cursor_destroi gdk_cursor_new cursor_type public static final synchron nativ void gdk cursor destroi int cursor public static final synchron nativ int gdk cursor int cursor type public static final synchron nativ int gdk cursor pixmap int sourc int mask gdk color fg gdk color bg int int gdk_cursor_destroi gdk_cursor_new cursor_type gdk_cursor_new_from_pixmap gdkcolor gdkcolor public static final synchron nativ int gdk cursor int cursor type public static final synchron nativ int gdk cursor pixmap int sourc int mask gdk color fg gdk color bg int int public static final synchron nativ void gdk drag statu int context int action int gdk_cursor_new cursor_type gdk_cursor_new_from_pixmap gdkcolor gdkcolor gdk_drag_statu public static final synchron nativ int gdk cursor pixmap int sourc int mask gdk color fg gdk color bg int int public static final synchron nativ void gdk drag statu int context int action int public static final synchron nativ void gdk draw arc int drawabl int gc int fill int int int width int height int angl1 int angl2 gdk_cursor_new_from_pixmap gdkcolor gdkcolor gdk_drag_statu gdk_draw_arc public static final synchron nativ void gdk drag statu int context int action int public static final synchron nativ void gdk draw arc int drawabl int gc int fill int int int width int height int angl1 int angl2 public static final synchron nativ void gdk draw drawabl int drawabl int gc int src int xsrc int ysrc int xdest int ydest int width int height gdk_drag_statu gdk_draw_arc gdk_draw_drawabl public static final synchron nativ void gdk draw arc int drawabl int gc int fill int int int width int height int angl1 int angl2 public static final synchron nativ void gdk draw drawabl int drawabl int gc int src int xsrc int ysrc int xdest int ydest int width int height public static final synchron nativ void gdk draw layout int drawabl int gc int int int layout gdk_draw_arc gdk_draw_drawabl gdk_draw_layout public static final synchron nativ void gdk draw drawabl int drawabl int gc int src int xsrc int ysrc int xdest int ydest int width int height public static final synchron nativ void gdk draw layout int drawabl int gc int int int layout public static final synchron nativ void gdk draw layout color int drawabl int gc int int int layout gdk color foreground gdk color background gdk_draw_drawabl gdk_draw_layout gdk_draw_layout_with_color gdkcolor gdkcolor public static final synchron nativ void gdk draw layout int drawabl int gc int int int layout public static final synchron nativ void gdk draw layout color int drawabl int gc int int int layout gdk color foreground gdk color background public static final synchron nativ void gdk draw line int drawabl int gc int x1 int y1 int x2 int y2 gdk_draw_layout gdk_draw_layout_with_color gdkcolor gdkcolor gdk_draw_line public static final synchron nativ void gdk draw layout color int drawabl int gc int int int layout gdk color foreground gdk color background public static final synchron nativ void gdk draw line int drawabl int gc int x1 int y1 int x2 int y2 public static final synchron nativ void gdk draw line int drawabl int gc int point int npoint gdk_draw_layout_with_color gdkcolor gdkcolor gdk_draw_line gdk_draw_line public static final synchron nativ void gdk draw line int drawabl int gc int x1 int y1 int x2 int y2 public static final synchron nativ void gdk draw line int drawabl int gc int point int npoint public static final synchron nativ void gdk draw point int drawabl int gc int int gdk_draw_line gdk_draw_line gdk_draw_point public static final synchron nativ void gdk draw line int drawabl int gc int point int npoint public static final synchron nativ void gdk draw point int drawabl int gc int int public static final synchron nativ void gdk draw polygon int drawabl int gc int fill int point int npoint gdk_draw_line gdk_draw_point gdk_draw_polygon public static final synchron nativ void gdk draw point int drawabl int gc int int public static final synchron nativ void gdk draw polygon int drawabl int gc int fill int point int npoint public static final synchron nativ void gdk draw rectangl int drawabl int gc int fill int int int width int height gdk_draw_point gdk_draw_polygon gdk_draw_rectangl public static final synchron nativ void gdk draw polygon int drawabl int gc int fill int point int npoint public static final synchron nativ void gdk draw rectangl int drawabl int gc int fill int int int width int height public static final synchron nativ int gdk drawabl imag int drawabl int int int width int height gdk_draw_polygon gdk_draw_rectangl gdk_drawabl_get_imag public static final synchron nativ void gdk draw rectangl int drawabl int gc int fill int int int width int height public static final synchron nativ int gdk drawabl imag int drawabl int int int width int height public static final synchron nativ void gdk drawabl size int drawabl int width int height gdk_draw_rectangl gdk_drawabl_get_imag gdk_drawabl_get_size public static final synchron nativ int gdk drawabl imag int drawabl int int int width int height public static final synchron nativ void gdk drawabl size int drawabl int width int height public static final synchron nativ int gdk drawabl visibl region int drawabl gdk_drawabl_get_imag gdk_drawabl_get_size gdk_drawabl_get_visibl_region public static final synchron nativ void gdk drawabl size int drawabl int width int height public static final synchron nativ int gdk drawabl visibl region int drawabl public static final synchron nativ int gdk event copi int event gdk_drawabl_get_size gdk_drawabl_get_visibl_region gdk_event_copi public static final synchron nativ int gdk drawabl visibl region int drawabl public static final synchron nativ int gdk event copi int event public static final synchron nativ void gdk event free int event gdk_drawabl_get_visibl_region gdk_event_copi gdk_event_free public static final synchron nativ int gdk event copi int event public static final synchron nativ void gdk event free int event public static final synchron nativ int gdk event gdk_event_copi gdk_event_free gdk_event_get public static final synchron nativ void gdk event free int event public static final synchron nativ int gdk event public static final synchron nativ boolean gdk event root coord int event doubl px doubl py gdk_event_free gdk_event_get gdk_event_get_root_coord public static final synchron nativ int gdk event public static final synchron nativ boolean gdk event root coord int event doubl px doubl py public static final synchron nativ boolean gdk event coord int event doubl px doubl py gdk_event_get gdk_event_get_root_coord gdk_event_get_coord public static final synchron nativ boolean gdk event root coord int event doubl px doubl py public static final synchron nativ boolean gdk event coord int event doubl px doubl py public static final synchron nativ int gdk event graphic expos int window gdk_event_get_root_coord gdk_event_get_coord gdk_event_get_graphic_expos public static final synchron nativ boolean gdk event coord int event doubl px doubl py public static final synchron nativ int gdk event graphic expos int window public static final synchron nativ boolean gdk event int event int pmod gdk_event_get_coord gdk_event_get_graphic_expos gdk_event_get_state public static final synchron nativ int gdk event graphic expos int window public static final synchron nativ boolean gdk event int event int pmod public static final synchron nativ int gdk event int event gdk_event_get_graphic_expos gdk_event_get_state gdk_event_get_time public static final synchron nativ boolean gdk event int event int pmod public static final synchron nativ int gdk event int event public static final synchron nativ void gdk event handler set int func int data int notifi gdk_event_get_state gdk_event_get_time gdk_event_handler_set public static final synchron nativ int gdk event int event public static final synchron nativ void gdk event handler set int func int data int notifi public static final synchron nativ void gdk event put int event gdk_event_get_time gdk_event_handler_set gdk_event_put public static final synchron nativ void gdk event handler set int func int data int notifi public static final synchron nativ void gdk event put int event public static final synchron nativ void gdk error trap push gdk_event_handler_set gdk_event_put gdk_error_trap_push public static final synchron nativ void gdk event put int event public static final synchron nativ void gdk error trap push public static final synchron nativ int gdk error trap pop gdk_event_put gdk_error_trap_push gdk_error_trap_pop public static final synchron nativ void gdk error trap push public static final synchron nativ int gdk error trap pop public static final synchron nativ void gdk flush gdk_error_trap_push gdk_error_trap_pop gdk_flush public static final synchron nativ int gdk error trap pop public static final synchron nativ void gdk flush public static final synchron nativ void gdk free text list int list gdk_error_trap_pop gdk_flush gdk_free_text_list public static final synchron nativ void gdk flush public static final synchron nativ void gdk free text list int list public static final synchron nativ void gdk gc valu int gc gdkgc valu valu gdk_flush gdk_free_text_list gdk_gc_get_valu gdkgcvalu public static final synchron nativ void gdk free text list int list public static final synchron nativ void gdk gc valu int gc gdkgc valu valu public static final synchron nativ int gdk gc int window gdk_free_text_list gdk_gc_get_valu gdkgcvalu gdk_gc_new public static final synchron nativ void gdk gc valu int gc gdkgc valu valu public static final synchron nativ int gdk gc int window public static final synchron nativ void gdk gc set background int gc gdk color color gdk_gc_get_valu gdkgcvalu gdk_gc_new gdk_gc_set_background gdkcolor public static final synchron nativ int gdk gc int window public static final synchron nativ void gdk gc set background int gc gdk color color public static final synchron nativ void gdk gc set clip mask int gc int mask gdk_gc_new gdk_gc_set_background gdkcolor gdk_gc_set_clip_mask public static final synchron nativ void gdk gc set background int gc gdk color color public static final synchron nativ void gdk gc set clip mask int gc int mask public static final synchron nativ void gdk gc set clip origin int gc int int gdk_gc_set_background gdkcolor gdk_gc_set_clip_mask gdk_gc_set_clip_origin public static final synchron nativ void gdk gc set clip mask int gc int mask public static final synchron nativ void gdk gc set clip origin int gc int int public static final synchron nativ void gdk gc set clip rectangl int gc gdk rectangl rectangl gdk_gc_set_clip_mask gdk_gc_set_clip_origin gdk_gc_set_clip_rectangl gdkrectangl public static final synchron nativ void gdk gc set clip origin int gc int int public static final synchron nativ void gdk gc set clip rectangl int gc gdk rectangl rectangl public static final synchron nativ void gdk gc set clip region int gc int region gdk_gc_set_clip_origin gdk_gc_set_clip_rectangl gdkrectangl gdk_gc_set_clip_region public static final synchron nativ void gdk gc set clip rectangl int gc gdk rectangl rectangl public static final synchron nativ void gdk gc set clip region int gc int region public static final synchron nativ void gdk gc set dash int gc int dash offset byte dash list int gdk_gc_set_clip_rectangl gdkrectangl gdk_gc_set_clip_region gdk_gc_set_dash dash_offset dash_list public static final synchron nativ void gdk gc set clip region int gc int region public static final synchron nativ void gdk gc set dash int gc int dash offset byte dash list int public static final synchron nativ void gdk gc set exposur int gc boolean exposur gdk_gc_set_clip_region gdk_gc_set_dash dash_offset dash_list gdk_gc_set_exposur public static final synchron nativ void gdk gc set dash int gc int dash offset byte dash list int public static final synchron nativ void gdk gc set exposur int gc boolean exposur public static final synchron nativ void gdk gc set fill int gc int fill gdk_gc_set_dash dash_offset dash_list gdk_gc_set_exposur gdk_gc_set_fill public static final synchron nativ void gdk gc set exposur int gc boolean exposur public static final synchron nativ void gdk gc set fill int gc int fill public static final synchron nativ void gdk gc set foreground int gc gdk color color gdk_gc_set_exposur gdk_gc_set_fill gdk_gc_set_foreground gdkcolor public static final synchron nativ void gdk gc set fill int gc int fill public static final synchron nativ void gdk gc set foreground int gc gdk color color public static final synchron nativ void gdk gc set function int gc int function gdk_gc_set_fill gdk_gc_set_foreground gdkcolor gdk_gc_set_function public static final synchron nativ void gdk gc set foreground int gc gdk color color public static final synchron nativ void gdk gc set function int gc int function public static final synchron nativ void gdk gc set line attribut int gc int line width int line style int cap style int join style gdk_gc_set_foreground gdkcolor gdk_gc_set_function gdk_gc_set_line_attribut line_width line_style cap_style join_style public static final synchron nativ void gdk gc set function int gc int function public static final synchron nativ void gdk gc set line attribut int gc int line width int line style int cap style int join style public static final synchron nativ void gdk gc set stippl int gc int stippl gdk_gc_set_function gdk_gc_set_line_attribut line_width line_style cap_style join_style gdk_gc_set_stippl public static final synchron nativ void gdk gc set line attribut int gc int line width int line style int cap style int join style public static final synchron nativ void gdk gc set stippl int gc int stippl public static final synchron nativ void gdk gc set subwindow int gc int mode gdk_gc_set_line_attribut line_width line_style cap_style join_style gdk_gc_set_stippl gdk_gc_set_subwindow public static final synchron nativ void gdk gc set stippl int gc int stippl public static final synchron nativ void gdk gc set subwindow int gc int mode public static final synchron nativ void gdk gc set valu int gc gdkgc valu valu int valu mask gdk_gc_set_stippl gdk_gc_set_subwindow gdk_gc_set_valu gdkgcvalu valu_mask public static final synchron nativ void gdk gc set subwindow int gc int mode public static final synchron nativ void gdk gc set valu int gc gdkgc valu valu int valu mask public static final synchron nativ int gdk imag int window int int int width int height gdk_gc_set_subwindow gdk_gc_set_valu gdkgcvalu valu_mask gdk_imag_get public static final synchron nativ void gdk gc set valu int gc gdkgc valu valu int valu mask public static final synchron nativ int gdk imag int window int int int width int height public static final synchron nativ int gdk imag pixel int imag int int gdk_gc_set_valu gdkgcvalu valu_mask gdk_imag_get gdk_imag_get_pixel public static final synchron nativ int gdk imag int window int int int width int height public static final synchron nativ int gdk imag pixel int imag int int public static final synchron nativ void gdk keyboard ungrab int gdk_imag_get gdk_imag_get_pixel gdk_keyboard_ungrab public static final synchron nativ int gdk imag pixel int imag int int public static final synchron nativ void gdk keyboard ungrab int public static final synchron nativ int gdk keymap default gdk_imag_get_pixel gdk_keyboard_ungrab gdk_keymap_get_default public static final synchron nativ void gdk keyboard ungrab int public static final synchron nativ int gdk keymap default public static final synchron nativ boolean gdk keymap translat keyboard int keymap int hardwar keycod int int group int keyval int effect group int level int consum modifi gdk_keyboard_ungrab gdk_keymap_get_default gdk_keymap_translat_keyboard_state hardwar_keycod effect_group consum_modifi public static final synchron nativ int gdk keymap default public static final synchron nativ boolean gdk keymap translat keyboard int keymap int hardwar keycod int int group int keyval int effect group int level int consum modifi public static final synchron nativ int gdk keyval lower int keyval gdk_keymap_get_default gdk_keymap_translat_keyboard_state hardwar_keycod effect_group consum_modifi gdk_keyval_to_lower public static final synchron nativ boolean gdk keymap translat keyboard int keymap int hardwar keycod int int group int keyval int effect group int level int consum modifi public static final synchron nativ int gdk keyval lower int keyval public static final synchron nativ int gdk keyval unicod int keyval gdk_keymap_translat_keyboard_state hardwar_keycod effect_group consum_modifi gdk_keyval_to_lower gdk_keyval_to_unicod public static final synchron nativ int gdk keyval lower int keyval public static final synchron nativ int gdk keyval unicod int keyval public static final synchron nativ int gdk pango context gdk_keyval_to_lower gdk_keyval_to_unicod gdk_pango_context_get public static final synchron nativ int gdk keyval unicod int keyval public static final synchron nativ int gdk pango context public static final synchron nativ void gdk pango context set colormap int context int colormap gdk_keyval_to_unicod gdk_pango_context_get gdk_pango_context_set_colormap public static final synchron nativ int gdk pango context public static final synchron nativ void gdk pango context set colormap int context int colormap public static final synchron nativ int gdk pango layout clip region int layout int origin int origin int index rang int rang gdk_pango_context_get gdk_pango_context_set_colormap gdk_pango_layout_get_clip_region x_origin y_origin index_rang n_rang public static final synchron nativ void gdk pango context set colormap int context int colormap public static final synchron nativ int gdk pango layout clip region int layout int origin int origin int index rang int rang public static final synchron nativ int gdk pixbuf drawabl int dest int src int cmap int src int src int dest int dest int width int height gdk_pango_context_set_colormap gdk_pango_layout_get_clip_region x_origin y_origin index_rang n_rang gdk_pixbuf_get_from_drawabl src_x src_y dest_x dest_y public static final synchron nativ int gdk pango layout clip region int layout int origin int origin int index rang int rang public static final synchron nativ int gdk pixbuf drawabl int dest int src int cmap int src int src int dest int dest int width int height public static final synchron nativ int gdk pixbuf pixel int pixbuf gdk_pango_layout_get_clip_region x_origin y_origin index_rang n_rang gdk_pixbuf_get_from_drawabl src_x src_y dest_x dest_y gdk_pixbuf_get_pixel public static final synchron nativ int gdk pixbuf drawabl int dest int src int cmap int src int src int dest int dest int width int height public static final synchron nativ int gdk pixbuf pixel int pixbuf public static final synchron nativ int gdk pixbuf rowstrid int pixbuf gdk_pixbuf_get_from_drawabl src_x src_y dest_x dest_y gdk_pixbuf_get_pixel gdk_pixbuf_get_rowstrid public static final synchron nativ int gdk pixbuf pixel int pixbuf public static final synchron nativ int gdk pixbuf rowstrid int pixbuf public static final synchron nativ int gdk pixbuf int colorspac boolean alpha int bit sampl int width int height gdk_pixbuf_get_pixel gdk_pixbuf_get_rowstrid gdk_pixbuf_new ha_alpha bit_per_sampl public static final synchron nativ int gdk pixbuf rowstrid int pixbuf public static final synchron nativ int gdk pixbuf int colorspac boolean alpha int bit sampl int width int height public static final synchron nativ void gdk pixbuf render drawabl int pixbuf int drawabl int gc int src int src int dest int dest int width int height int dither int dither int dither gdk_pixbuf_get_rowstrid gdk_pixbuf_new ha_alpha bit_per_sampl gdk_pixbuf_render_to_drawabl src_x src_y dest_x dest_y x_dither y_dither public static final synchron nativ int gdk pixbuf int colorspac boolean alpha int bit sampl int width int height public static final synchron nativ void gdk pixbuf render drawabl int pixbuf int drawabl int gc int src int src int dest int dest int width int height int dither int dither int dither public static final synchron nativ void gdk pixbuf render drawabl alpha int pixbuf int drawabl int src int src int dest int dest int width int height int alpha mode int alpha threshold int dither int dither int dither gdk_pixbuf_new ha_alpha bit_per_sampl gdk_pixbuf_render_to_drawabl src_x src_y dest_x dest_y x_dither y_dither gdk_pixbuf_render_to_drawabl_alpha src_x src_y dest_x dest_y alpha_mode alpha_threshold x_dither y_dither public static final synchron nativ void gdk pixbuf render drawabl int pixbuf int drawabl int gc int src int src int dest int dest int width int height int dither int dither int dither public static final synchron nativ void gdk pixbuf render drawabl alpha int pixbuf int drawabl int src int src int dest int dest int width int height int alpha mode int alpha threshold int dither int dither int dither public static final synchron nativ void gdk pixbuf render pixmap mask int pixbuf int pixmap return int mask return int alpha threshold gdk_pixbuf_render_to_drawabl src_x src_y dest_x dest_y x_dither y_dither gdk_pixbuf_render_to_drawabl_alpha src_x src_y dest_x dest_y alpha_mode alpha_threshold x_dither y_dither gdk_pixbuf_render_pixmap_and_mask pixmap_return mask_return alpha_threshold public static final synchron nativ void gdk pixbuf render drawabl alpha int pixbuf int drawabl int src int src int dest int dest int width int height int alpha mode int alpha threshold int dither int dither int dither public static final synchron nativ void gdk pixbuf render pixmap mask int pixbuf int pixmap return int mask return int alpha threshold public static final synchron nativ void gdk pixbuf scale int src int dest int dest int dest int dest width int dest height doubl offset doubl offset doubl scale doubl scale int interp type gdk_pixbuf_render_to_drawabl_alpha src_x src_y dest_x dest_y alpha_mode alpha_threshold x_dither y_dither gdk_pixbuf_render_pixmap_and_mask pixmap_return mask_return alpha_threshold gdk_pixbuf_scale dest_x dest_y dest_width dest_height offset_x offset_y scale_x scale_y interp_type public static final synchron nativ void gdk pixbuf render pixmap mask int pixbuf int pixmap return int mask return int alpha threshold public static final synchron nativ void gdk pixbuf scale int src int dest int dest int dest int dest width int dest height doubl offset doubl offset doubl scale doubl scale int interp type public static final synchron nativ int gdk pixbuf scale simpl int src int dest width int dest height int interp type gdk_pixbuf_render_pixmap_and_mask pixmap_return mask_return alpha_threshold gdk_pixbuf_scale dest_x dest_y dest_width dest_height offset_x offset_y scale_x scale_y interp_type gdk_pixbuf_scale_simpl dest_width dest_height interp_type public static final synchron nativ void gdk pixbuf scale int src int dest int dest int dest int dest width int dest height doubl offset doubl offset doubl scale doubl scale int interp type public static final synchron nativ int gdk pixbuf scale simpl int src int dest width int dest height int interp type public static final synchron nativ int gdk pixmap int window int width int height int depth gdk_pixbuf_scale dest_x dest_y dest_width dest_height offset_x offset_y scale_x scale_y interp_type gdk_pixbuf_scale_simpl dest_width dest_height interp_type gdk_pixmap_new public static final synchron nativ int gdk pixbuf scale simpl int src int dest width int dest height int interp type public static final synchron nativ int gdk pixmap int window int width int height int depth public static final synchron nativ int gdk pointer grab int window boolean owner event int event mask int confin int cursor int gdk_pixbuf_scale_simpl dest_width dest_height interp_type gdk_pixmap_new gdk_pointer_grab owner_event event_mask confin_to public static final synchron nativ int gdk pixmap int window int width int height int depth public static final synchron nativ int gdk pointer grab int window boolean owner event int event mask int confin int cursor int public static final synchron nativ boolean gdk pointer grab gdk_pixmap_new gdk_pointer_grab owner_event event_mask confin_to gdk_pointer_is_grab public static final synchron nativ int gdk pointer grab int window boolean owner event int event mask int confin int cursor int public static final synchron nativ boolean gdk pointer grab public static final synchron nativ void gdk pointer ungrab int gdk_pointer_grab owner_event event_mask confin_to gdk_pointer_is_grab gdk_pointer_ungrab public static final synchron nativ boolean gdk pointer grab public static final synchron nativ void gdk pointer ungrab int public static final synchron nativ boolean gdk properti int window int properti int type int offset int length int pdelet int actual properti type int actual format int actual length int data gdk_pointer_is_grab gdk_pointer_ungrab gdk_properti_get actual_properti_type actual_format actual_length public static final synchron nativ void gdk pointer ungrab int public static final synchron nativ boolean gdk properti int window int properti int type int offset int length int pdelet int actual properti type int actual format int actual length int data public static final synchron nativ void gdk region destroi int region gdk_pointer_ungrab gdk_properti_get actual_properti_type actual_format actual_length gdk_region_destroi public static final synchron nativ boolean gdk properti int window int properti int type int offset int length int pdelet int actual properti type int actual format int actual length int data public static final synchron nativ void gdk region destroi int region public static final synchron nativ boolean gdk region empti int region gdk_properti_get actual_properti_type actual_format actual_length gdk_region_destroi gdk_region_empti public static final synchron nativ void gdk region destroi int region public static final synchron nativ boolean gdk region empti int region public static final synchron nativ void gdk region clipbox int region gdk rectangl rectangl gdk_region_destroi gdk_region_empti gdk_region_get_clipbox gdkrectangl public static final synchron nativ boolean gdk region empti int region public static final synchron nativ void gdk region clipbox int region gdk rectangl rectangl public static final synchron nativ void gdk region rectangl int region int rectangl int rectangl gdk_region_empti gdk_region_get_clipbox gdkrectangl gdk_region_get_rectangl n_rectangl public static final synchron nativ void gdk region clipbox int region gdk rectangl rectangl public static final synchron nativ void gdk region rectangl int region int rectangl int rectangl public static final synchron nativ void gdk region intersect int sourc1 int sourc2 gdk_region_get_clipbox gdkrectangl gdk_region_get_rectangl n_rectangl gdk_region_intersect public static final synchron nativ void gdk region rectangl int region int rectangl int rectangl public static final synchron nativ void gdk region intersect int sourc1 int sourc2 public static final synchron nativ int gdk region gdk_region_get_rectangl n_rectangl gdk_region_intersect gdk_region_new public static final synchron nativ void gdk region intersect int sourc1 int sourc2 public static final synchron nativ int gdk region public static final synchron nativ void gdk region offset int region int dx int dy gdk_region_intersect gdk_region_new gdk_region_offset public static final synchron nativ int gdk region public static final synchron nativ void gdk region offset int region int dx int dy public static final synchron nativ boolean gdk region point int region int int gdk_region_new gdk_region_offset gdk_region_point_in public static final synchron nativ void gdk region offset int region int dx int dy public static final synchron nativ boolean gdk region point int region int int public static final synchron nativ int gdk region polygon int point int npoint int fill rule gdk_region_offset gdk_region_point_in gdk_region_polygon fill_rule public static final synchron nativ boolean gdk region point int region int int public static final synchron nativ int gdk region polygon int point int npoint int fill rule public static final synchron nativ int gdk region rectangl gdk rectangl rectangl gdk_region_point_in gdk_region_polygon fill_rule gdk_region_rectangl gdkrectangl public static final synchron nativ int gdk region polygon int point int npoint int fill rule public static final synchron nativ int gdk region rectangl gdk rectangl rectangl public static final synchron nativ int gdk region rect int region gdk rectangl rect gdk_region_polygon fill_rule gdk_region_rectangl gdkrectangl gdk_region_rect_in gdkrectangl public static final synchron nativ int gdk region rectangl gdk rectangl rectangl public static final synchron nativ int gdk region rect int region gdk rectangl rect public static final synchron nativ void gdk region subtract int sourc1 int sourc2 gdk_region_rectangl gdkrectangl gdk_region_rect_in gdkrectangl gdk_region_subtract public static final synchron nativ int gdk region rect int region gdk rectangl rect public static final synchron nativ void gdk region subtract int sourc1 int sourc2 public static final synchron nativ void gdk region union int sourc1 int sourc2 gdk_region_rect_in gdkrectangl gdk_region_subtract gdk_region_union public static final synchron nativ void gdk region subtract int sourc1 int sourc2 public static final synchron nativ void gdk region union int sourc1 int sourc2 public static final synchron nativ void gdk region union rect int region gdk rectangl rect gdk_region_subtract gdk_region_union gdk_region_union_with_rect gdkrectangl public static final synchron nativ void gdk region union int sourc1 int sourc2 public static final synchron nativ void gdk region union rect int region gdk rectangl rect public static final synchron nativ void gdk rgb init gdk_region_union gdk_region_union_with_rect gdkrectangl gdk_rgb_init public static final synchron nativ void gdk region union rect int region gdk rectangl rect public static final synchron nativ void gdk rgb init public static final synchron nativ int gdk screen default gdk_region_union_with_rect gdkrectangl gdk_rgb_init gdk_screen_get_default public static final synchron nativ void gdk rgb init public static final synchron nativ int gdk screen default public static final synchron nativ int gdk screen monitor window int screen int window gdk_rgb_init gdk_screen_get_default gdk_screen_get_monitor_at_window public static final synchron nativ int gdk screen default public static final synchron nativ int gdk screen monitor window int screen int window public static final synchron nativ void gdk screen monitor geometri int screen int monitor num gdk rectangl dest gdk_screen_get_default gdk_screen_get_monitor_at_window gdk_screen_get_monitor_geometri monitor_num gdkrectangl public static final synchron nativ int gdk screen monitor window int screen int window public static final synchron nativ void gdk screen monitor geometri int screen int monitor num gdk rectangl dest public static final synchron nativ int gdk screen monitor int screen gdk_screen_get_monitor_at_window gdk_screen_get_monitor_geometri monitor_num gdkrectangl gdk_screen_get_n_monitor public static final synchron nativ void gdk screen monitor geometri int screen int monitor num gdk rectangl dest public static final synchron nativ int gdk screen monitor int screen public static final synchron nativ int gdk screen number int screen gdk_screen_get_monitor_geometri monitor_num gdkrectangl gdk_screen_get_n_monitor gdk_screen_get_number public static final synchron nativ int gdk screen monitor int screen public static final synchron nativ int gdk screen number int screen public static final synchron nativ int gdk screen height gdk_screen_get_n_monitor gdk_screen_get_number gdk_screen_height public static final synchron nativ int gdk screen number int screen public static final synchron nativ int gdk screen height public static final synchron nativ int gdk screen width gdk_screen_get_number gdk_screen_height gdk_screen_width public static final synchron nativ int gdk screen height public static final synchron nativ int gdk screen width public static final synchron nativ int gdk screen width mm gdk_screen_height gdk_screen_width gdk_screen_width_mm public static final synchron nativ int gdk screen width public static final synchron nativ int gdk screen width mm public static final synchron nativ void gdk set program class byte program class gdk_screen_width gdk_screen_width_mm gdk_set_program_class program_class public static final synchron nativ int gdk screen width mm public static final synchron nativ void gdk set program class byte program class public static final synchron nativ boolean gdk utf8 compound text byte str int encod int format int ctext int length gdk_screen_width_mm gdk_set_program_class program_class gdk_utf8_to_compound_text public static final synchron nativ void gdk set program class byte program class public static final synchron nativ boolean gdk utf8 compound text byte str int encod int format int ctext int length public static final synchron nativ int gdk text properti utf8 list int encod int format int text int length int list gdk_set_program_class program_class gdk_utf8_to_compound_text gdk_text_properti_to_utf8_list public static final synchron nativ boolean gdk utf8 compound text byte str int encod int format int ctext int length public static final synchron nativ int gdk text properti utf8 list int encod int format int text int length int list public static final synchron nativ void gdk thread enter gdk_utf8_to_compound_text gdk_text_properti_to_utf8_list gdk_thread_enter public static final synchron nativ int gdk text properti utf8 list int encod int format int text int length int list public static final synchron nativ void gdk thread enter public static final synchron nativ void gdk thread init gdk_text_properti_to_utf8_list gdk_thread_enter gdk_thread_init public static final synchron nativ void gdk thread enter public static final synchron nativ void gdk thread init public static final synchron nativ void gdk thread leav gdk_thread_enter gdk_thread_init gdk_thread_leav public static final synchron nativ void gdk thread init public static final synchron nativ void gdk thread leav public static final synchron nativ int gdk unicod keyval int wc gdk_thread_init gdk_thread_leav gdk_unicod_to_keyval public static final synchron nativ void gdk thread leav public static final synchron nativ int gdk unicod keyval int wc public static final synchron nativ int gdk visual system gdk_thread_leav gdk_unicod_to_keyval gdk_visual_get_system public static final synchron nativ int gdk unicod keyval int wc public static final synchron nativ int gdk visual system public static final synchron nativ int gdk window pointer int win int win gdk_unicod_to_keyval gdk_visual_get_system gdk_window_at_pointer win_x win_y public static final synchron nativ int gdk visual system public static final synchron nativ int gdk window pointer int win int win public static final synchron nativ void gdk window begin paint rect int window gdk rectangl rectangl gdk_visual_get_system gdk_window_at_pointer win_x win_y gdk_window_begin_paint_rect gdkrectangl public static final synchron nativ int gdk window pointer int win int win public static final synchron nativ void gdk window begin paint rect int window gdk rectangl rectangl public static final synchron nativ void gdk window destroi int window gdk_window_at_pointer win_x win_y gdk_window_begin_paint_rect gdkrectangl gdk_window_destroi public static final synchron nativ void gdk window begin paint rect int window gdk rectangl rectangl public static final synchron nativ void gdk window destroi int window public static final synchron nativ void gdk window end paint int window gdk_window_begin_paint_rect gdkrectangl gdk_window_destroi gdk_window_end_paint public static final synchron nativ void gdk window destroi int window public static final synchron nativ void gdk window end paint int window public static final synchron nativ int gdk window children int window gdk_window_destroi gdk_window_end_paint gdk_window_get_children public static final synchron nativ void gdk window end paint int window public static final synchron nativ int gdk window children int window public static final synchron nativ int gdk window event int window gdk_window_end_paint gdk_window_get_children gdk_window_get_event public static final synchron nativ int gdk window children int window public static final synchron nativ int gdk window event int window public static final synchron nativ void gdk window focu int window int timestamp gdk_window_get_children gdk_window_get_event gdk_window_focu public static final synchron nativ int gdk window event int window public static final synchron nativ void gdk window focu int window int timestamp public static final synchron nativ void gdk window freez updat int window gdk_window_get_event gdk_window_focu gdk_window_freez_updat public static final synchron nativ void gdk window focu int window int timestamp public static final synchron nativ void gdk window freez updat int window public static final synchron nativ void gdk window frame extent int window gdk rectangl rect gdk_window_focu gdk_window_freez_updat gdk_window_get_frame_extent gdkrectangl public static final synchron nativ void gdk window freez updat int window public static final synchron nativ void gdk window frame extent int window gdk rectangl rect public static final synchron nativ int gdk window origin int window int int gdk_window_freez_updat gdk_window_get_frame_extent gdkrectangl gdk_window_get_origin public static final synchron nativ void gdk window frame extent int window gdk rectangl rect public static final synchron nativ int gdk window origin int window int int public static final synchron nativ int gdk window parent int window gdk_window_get_frame_extent gdkrectangl gdk_window_get_origin gdk_window_get_parent public static final synchron nativ int gdk window origin int window int int public static final synchron nativ int gdk window parent int window public static final synchron nativ int gdk window pointer int window int int int mask gdk_window_get_origin gdk_window_get_parent gdk_window_get_pointer public static final synchron nativ int gdk window parent int window public static final synchron nativ int gdk window pointer int window int int int mask public static final synchron nativ void gdk window user data int window int data gdk_window_get_parent gdk_window_get_pointer gdk_window_get_user_data public static final synchron nativ int gdk window pointer int window int int int mask public static final synchron nativ void gdk window user data int window int data public static final synchron nativ void gdk window hide int window gdk_window_get_pointer gdk_window_get_user_data gdk_window_hide public static final synchron nativ void gdk window user data int window int data public static final synchron nativ void gdk window hide int window public static final synchron nativ void gdk window invalid rect int window gdk rectangl rectangl boolean invalid children gdk_window_get_user_data gdk_window_hide gdk_window_invalid_rect gdkrectangl invalid_children public static final synchron nativ void gdk window hide int window public static final synchron nativ void gdk window invalid rect int window gdk rectangl rectangl boolean invalid children public static final synchron nativ void gdk window invalid region int window int region boolean invalid children gdk_window_hide gdk_window_invalid_rect gdkrectangl invalid_children gdk_window_invalid_region invalid_children public static final synchron nativ void gdk window invalid rect int window gdk rectangl rectangl boolean invalid children public static final synchron nativ void gdk window invalid region int window int region boolean invalid children public static final synchron nativ void gdk window move int window int int gdk_window_invalid_rect gdkrectangl invalid_children gdk_window_invalid_region invalid_children gdk_window_move public static final synchron nativ void gdk window invalid region int window int region boolean invalid children public static final synchron nativ void gdk window move int window int int public static final synchron nativ int gdk window int parent gdk window attr attribut int attribut mask gdk_window_invalid_region invalid_children gdk_window_move gdk_window_new gdkwindowattr attribut_mask public static final synchron nativ void gdk window move int window int int public static final synchron nativ int gdk window int parent gdk window attr attribut int attribut mask public static final synchron nativ void gdk window lower int window gdk_window_move gdk_window_new gdkwindowattr attribut_mask gdk_window_lower public static final synchron nativ int gdk window int parent gdk window attr attribut int attribut mask public static final synchron nativ void gdk window lower int window public static final synchron nativ void gdk window process updat gdk_window_new gdkwindowattr attribut_mask gdk_window_lower gdk_window_process_all_updat public static final synchron nativ void gdk window lower int window public static final synchron nativ void gdk window process updat public static final synchron nativ void gdk window process updat int window boolean updat children gdk_window_lower gdk_window_process_all_updat gdk_window_process_updat updat_children public static final synchron nativ void gdk window process updat public static final synchron nativ void gdk window process updat int window boolean updat children public static final synchron nativ void gdk window rais int window gdk_window_process_all_updat gdk_window_process_updat updat_children gdk_window_rais public static final synchron nativ void gdk window process updat int window boolean updat children public static final synchron nativ void gdk window rais int window public static final synchron nativ void gdk window resiz int window int width int height gdk_window_process_updat updat_children gdk_window_rais gdk_window_resiz public static final synchron nativ void gdk window rais int window public static final synchron nativ void gdk window resiz int window int width int height public static final synchron nativ void gdk window scroll int window int dx int dy gdk_window_rais gdk_window_resiz gdk_window_scroll public static final synchron nativ void gdk window resiz int window int width int height public static final synchron nativ void gdk window scroll int window int dx int dy public static final synchron nativ void gdk window set accept focu int window boolean accept focu gdk_window_resiz gdk_window_scroll gdk_window_set_accept_focu accept_focu public static final synchron nativ void gdk window scroll int window int dx int dy public static final synchron nativ void gdk window set accept focu int window boolean accept focu public static final synchron nativ void gdk window set pixmap int window int pixmap boolean parent rel gdk_window_scroll gdk_window_set_accept_focu accept_focu gdk_window_set_back_pixmap parent_rel public static final synchron nativ void gdk window set accept focu int window boolean accept focu public static final synchron nativ void gdk window set pixmap int window int pixmap boolean parent rel public static final synchron nativ void gdk window set cursor int window int cursor gdk_window_set_accept_focu accept_focu gdk_window_set_back_pixmap parent_rel gdk_window_set_cursor public static final synchron nativ void gdk window set pixmap int window int pixmap boolean parent rel public static final synchron nativ void gdk window set cursor int window int cursor public static final synchron nativ void gdk window set decor int window int decor gdk_window_set_back_pixmap parent_rel gdk_window_set_cursor gdk_window_set_decor public static final synchron nativ void gdk window set cursor int window int cursor public static final synchron nativ void gdk window set decor int window int decor public static final synchron nativ void gdk window set event int window int event mask gdk_window_set_cursor gdk_window_set_decor gdk_window_set_event event_mask public static final synchron nativ void gdk window set decor int window int decor public static final synchron nativ void gdk window set event int window int event mask public static final synchron nativ void gdk window set icon int window int icon window int pixmap int mask gdk_window_set_decor gdk_window_set_event event_mask gdk_window_set_icon icon_window public static final synchron nativ void gdk window set event int window int event mask public static final synchron nativ void gdk window set icon int window int icon window int pixmap int mask public static final synchron nativ void gdk window set icon list int window int pixbuf gdk_window_set_event event_mask gdk_window_set_icon icon_window gdk_window_set_icon_list public static final synchron nativ void gdk window set icon int window int icon window int pixmap int mask public static final synchron nativ void gdk window set icon list int window int pixbuf public static final synchron nativ void gdk window set int window boolean set gdk_window_set_icon icon_window gdk_window_set_icon_list gdk_window_set_keep_abov public static final synchron nativ void gdk window set icon list int window int pixbuf public static final synchron nativ void gdk window set int window boolean set public static final synchron nativ void gdk window set overrid redirect int window boolean overrid redirect gdk_window_set_icon_list gdk_window_set_keep_abov gdk_window_set_overrid_redirect overrid_redirect public static final synchron nativ void gdk window set int window boolean set public static final synchron nativ void gdk window set overrid redirect int window boolean overrid redirect public static final synchron nativ void gdk window set user data int window int user data gdk_window_set_keep_abov gdk_window_set_overrid_redirect overrid_redirect gdk_window_set_user_data user_data public static final synchron nativ void gdk window set overrid redirect int window boolean overrid redirect public static final synchron nativ void gdk window set user data int window int user data public static final synchron nativ void gdk window shape combin region int window int shape region int offset int offset gdk_window_set_overrid_redirect overrid_redirect gdk_window_set_user_data user_data gdk_window_shape_combin_region shape_region offset_x offset_y public static final synchron nativ void gdk window set user data int window int user data public static final synchron nativ void gdk window shape combin region int window int shape region int offset int offset public static final synchron nativ void gdk window show int window gdk_window_set_user_data user_data gdk_window_shape_combin_region shape_region offset_x offset_y gdk_window_show public static final synchron nativ void gdk window shape combin region int window int shape region int offset int offset public static final synchron nativ void gdk window show int window public static final synchron nativ void gdk window thaw updat int window gdk_window_shape_combin_region shape_region offset_x offset_y gdk_window_show gdk_window_thaw_updat public static final synchron nativ void gdk window show int window public static final synchron nativ void gdk window thaw updat int window public static final synchron nativ int gtk accel group gdk_window_show gdk_window_thaw_updat gtk_accel_group_new public static final synchron nativ void gdk window thaw updat int window public static final synchron nativ int gtk accel group public static final synchron nativ boolean gtk accel group activ int accel group int accel kei int accel mod gdk_window_thaw_updat gtk_accel_group_new gtk_accel_group_activ accelgroup accelkei accelmod public static final synchron nativ int gtk accel group public static final synchron nativ boolean gtk accel group activ int accel group int accel kei int accel mod public static final synchron nativ void gtk accel label set accel widget int accel label int accel widget gtk_accel_group_new gtk_accel_group_activ accelgroup accelkei accelmod gtk_accel_label_set_accel_widget accel_label accel_widget public static final synchron nativ boolean gtk accel group activ int accel group int accel kei int accel mod public static final synchron nativ void gtk accel label set accel widget int accel label int accel widget public static final synchron nativ void gtk adjust chang int adjust gtk_accel_group_activ accelgroup accelkei accelmod gtk_accel_label_set_accel_widget accel_label accel_widget gtk_adjust_chang public static final synchron nativ void gtk accel label set accel widget int accel label int accel widget public static final synchron nativ void gtk adjust chang int adjust public static final synchron nativ int gtk adjust doubl doubl lower doubl upper doubl step increment doubl page increment doubl page size gtk_accel_label_set_accel_widget accel_label accel_widget gtk_adjust_chang gtk_adjust_new step_increment page_increment page_size public static final synchron nativ void gtk adjust chang int adjust public static final synchron nativ int gtk adjust doubl doubl lower doubl upper doubl step increment doubl page increment doubl page size public static final synchron nativ void gtk adjust set int adjust doubl gtk_adjust_chang gtk_adjust_new step_increment page_increment page_size gtk_adjust_set_valu public static final synchron nativ int gtk adjust doubl doubl lower doubl upper doubl step increment doubl page increment doubl page size public static final synchron nativ void gtk adjust set int adjust doubl public static final synchron nativ void gtk adjust chang int adjust gtk_adjust_new step_increment page_increment page_size gtk_adjust_set_valu gtk_adjust_valu_chang public static final synchron nativ void gtk adjust set int adjust doubl public static final synchron nativ void gtk adjust chang int adjust public static final synchron nativ int gtk arrow int arrow type int shadow type gtk_adjust_set_valu gtk_adjust_valu_chang gtk_arrow_new arrow_type shadow_type public static final synchron nativ void gtk adjust chang int adjust public static final synchron nativ int gtk arrow int arrow type int shadow type public static final synchron nativ void gtk arrow set int arrow int arrow type int shadow type gtk_adjust_valu_chang gtk_arrow_new arrow_type shadow_type gtk_arrow_set arrow_type shadow_type public static final synchron nativ int gtk arrow int arrow type int shadow type public static final synchron nativ void gtk arrow set int arrow int arrow type int shadow type public static final synchron nativ int gtk bin child int bin gtk_arrow_new arrow_type shadow_type gtk_arrow_set arrow_type shadow_type gtk_bin_get_child public static final synchron nativ void gtk arrow set int arrow int arrow type int shadow type public static final synchron nativ int gtk bin child int bin public static final synchron nativ int gtk button gtk_arrow_set arrow_type shadow_type gtk_bin_get_child gtk_button_new public static final synchron nativ int gtk bin child int bin public static final synchron nativ int gtk button public static final synchron nativ void gtk button set relief int button int newstyl gtk_bin_get_child gtk_button_new gtk_button_set_relief public static final synchron nativ int gtk button public static final synchron nativ void gtk button set relief int button int newstyl public static final synchron nativ void gtk cell render size int cell int widget gdk rectangl area int offset int offset int width int height gtk_button_new gtk_button_set_relief gtk_cell_render_get_size gdkrectangl x_offset y_offset public static final synchron nativ void gtk button set relief int button int newstyl public static final synchron nativ void gtk cell render size int cell int widget gdk rectangl area int offset int offset int width int height public static final synchron nativ int gtk cell render pixbuf gtk_button_set_relief gtk_cell_render_get_size gdkrectangl x_offset y_offset gtk_cell_render_pixbuf_new public static final synchron nativ void gtk cell render size int cell int widget gdk rectangl area int offset int offset int width int height public static final synchron nativ int gtk cell render pixbuf public static final synchron nativ int gtk cell render text gtk_cell_render_get_size gdkrectangl x_offset y_offset gtk_cell_render_pixbuf_new gtk_cell_render_text_new public static final synchron nativ int gtk cell render pixbuf public static final synchron nativ int gtk cell render text public static final synchron nativ int gtk cell render toggl gtk_cell_render_pixbuf_new gtk_cell_render_text_new gtk_cell_render_toggl_new public static final synchron nativ int gtk cell render text public static final synchron nativ int gtk cell render toggl public static final synchron nativ int gtk check button gtk_cell_render_text_new gtk_cell_render_toggl_new gtk_check_button_new public static final synchron nativ int gtk cell render toggl public static final synchron nativ int gtk check button public static final synchron nativ boolean gtk check menu item activ int wid gtk_cell_render_toggl_new gtk_check_button_new gtk_check_menu_item_get_activ public static final synchron nativ int gtk check button public static final synchron nativ boolean gtk check menu item activ int wid public static final synchron nativ int gtk check menu item label byte label gtk_check_button_new gtk_check_menu_item_get_activ gtk_check_menu_item_new_with_label public static final synchron nativ boolean gtk check menu item activ int wid public static final synchron nativ int gtk check menu item label byte label public static final synchron nativ void gtk check menu item set activ int wid boolean activ gtk_check_menu_item_get_activ gtk_check_menu_item_new_with_label gtk_check_menu_item_set_activ public static final synchron nativ int gtk check menu item label byte label public static final synchron nativ void gtk check menu item set activ int wid boolean activ public static final synchron nativ int gtk check version int requir major int requir minor int requir micro gtk_check_menu_item_new_with_label gtk_check_menu_item_set_activ gtk_check_version requir_major requir_minor requir_micro public static final synchron nativ void gtk check menu item set activ int wid boolean activ public static final synchron nativ int gtk check version int requir major int requir minor int requir micro public static final synchron nativ void gtk clipboard clear int clipboard gtk_check_menu_item_set_activ gtk_check_version requir_major requir_minor requir_micro gtk_clipboard_clear public static final synchron nativ int gtk check version int requir major int requir minor int requir micro public static final synchron nativ void gtk clipboard clear int clipboard public static final synchron nativ int gtk clipboard int select gtk_check_version requir_major requir_minor requir_micro gtk_clipboard_clear gtk_clipboard_get public static final synchron nativ void gtk clipboard clear int clipboard public static final synchron nativ int gtk clipboard int select public static final synchron nativ boolean gtk clipboard set data int clipboard int target int target int func int clear func int user data gtk_clipboard_clear gtk_clipboard_get gtk_clipboard_set_with_data n_target get_func clear_func user_data public static final synchron nativ int gtk clipboard int select public static final synchron nativ boolean gtk clipboard set data int clipboard int target int target int func int clear func int user data public static final synchron nativ int gtk clipboard wait content int clipboard int target gtk_clipboard_get gtk_clipboard_set_with_data n_target get_func clear_func user_data gtk_clipboard_wait_for_content public static final synchron nativ boolean gtk clipboard set data int clipboard int target int target int func int clear func int user data public static final synchron nativ int gtk clipboard wait content int clipboard int target public static final synchron nativ int gtk color select dialog byte titl gtk_clipboard_set_with_data n_target get_func clear_func user_data gtk_clipboard_wait_for_content gtk_color_select_dialog_new public static final synchron nativ int gtk clipboard wait content int clipboard int target public static final synchron nativ int gtk color select dialog byte titl public static final synchron nativ void gtk color select current color int colorsel gdk color color gtk_clipboard_wait_for_content gtk_color_select_dialog_new gtk_color_select_get_current_color gdkcolor public static final synchron nativ int gtk color select dialog byte titl public static final synchron nativ void gtk color select current color int colorsel gdk color color public static final synchron nativ void gtk color select set current color int colorsel gdk color color gtk_color_select_dialog_new gtk_color_select_get_current_color gdkcolor gtk_color_select_set_current_color gdkcolor public static final synchron nativ void gtk color select current color int colorsel gdk color color public static final synchron nativ void gtk color select set current color int colorsel gdk color color public static final synchron nativ void gtk combo disabl activ int combo gtk_color_select_get_current_color gdkcolor gtk_color_select_set_current_color gdkcolor gtk_combo_disabl_activ public static final synchron nativ void gtk color select set current color int colorsel gdk color color public static final synchron nativ void gtk combo disabl activ int combo public static final synchron nativ int gtk combo gtk_color_select_set_current_color gdkcolor gtk_combo_disabl_activ gtk_combo_new public static final synchron nativ void gtk combo disabl activ int combo public static final synchron nativ int gtk combo public static final synchron nativ void gtk combo set case sensit int combo boolean val gtk_combo_disabl_activ gtk_combo_new gtk_combo_set_case_sensit public static final synchron nativ int gtk combo public static final synchron nativ void gtk combo set case sensit int combo boolean val public static final synchron nativ void gtk combo set popdown string int combo int string gtk_combo_new gtk_combo_set_case_sensit gtk_combo_set_popdown_string public static final synchron nativ void gtk combo set case sensit int combo boolean val public static final synchron nativ void gtk combo set popdown string int combo int string public static final synchron nativ void gtk contain add int contain int widget gtk_combo_set_case_sensit gtk_combo_set_popdown_string gtk_contain_add public static final synchron nativ void gtk combo set popdown string int combo int string public static final synchron nativ void gtk contain add int contain int widget public static final synchron nativ int gtk contain border width int contain gtk_combo_set_popdown_string gtk_contain_add gtk_contain_get_border_width public static final synchron nativ void gtk contain add int contain int widget public static final synchron nativ int gtk contain border width int contain public static final synchron nativ int gtk contain children int contain gtk_contain_add gtk_contain_get_border_width gtk_contain_get_children public static final synchron nativ int gtk contain border width int contain public static final synchron nativ int gtk contain children int contain public static final synchron nativ void gtk contain remov int contain int widget gtk_contain_get_border_width gtk_contain_get_children gtk_contain_remov public static final synchron nativ int gtk contain children int contain public static final synchron nativ void gtk contain remov int contain int widget public static final synchron nativ void gtk contain resiz children int contain gtk_contain_get_children gtk_contain_remov gtk_contain_resiz_children public static final synchron nativ void gtk contain remov int contain int widget public static final synchron nativ void gtk contain resiz children int contain public static final synchron nativ void gtk contain set border width int contain int border width gtk_contain_remov gtk_contain_resiz_children gtk_contain_set_border_width border_width public static final synchron nativ void gtk contain resiz children int contain public static final synchron nativ void gtk contain set border width int contain int border width public static final synchron nativ int gtk dialog add button int dialog string button text int respons id gtk_contain_resiz_children gtk_contain_set_border_width border_width gtk_dialog_add_button button_text respons_id public static final synchron nativ void gtk contain set border width int contain int border width public static final synchron nativ int gtk dialog add button int dialog string button text int respons id public static final synchron nativ int gtk dialog run int dialog gtk_contain_set_border_width border_width gtk_dialog_add_button button_text respons_id gtk_dialog_run public static final synchron nativ int gtk dialog add button int dialog string button text int respons id public static final synchron nativ int gtk dialog run int dialog public static final synchron nativ int gtk drag begin int widget int target int action int button int event gtk_dialog_add_button button_text respons_id gtk_dialog_run gtk_drag_begin public static final synchron nativ int gtk dialog run int dialog public static final synchron nativ int gtk drag begin int widget int target int action int button int event public static final synchron nativ boolean gtk drag check threshold int widget int start int start int current int current gtk_dialog_run gtk_drag_begin gtk_drag_check_threshold start_x start_y current_x current_y public static final synchron nativ int gtk drag begin int widget int target int action int button int event public static final synchron nativ boolean gtk drag check threshold int widget int start int start int current int current public static final synchron nativ int gtk drag dest find target int widget int context int target list gtk_drag_begin gtk_drag_check_threshold start_x start_y current_x current_y gtk_drag_dest_find_target target_list public static final synchron nativ boolean gtk drag check threshold int widget int start int start int current int current public static final synchron nativ int gtk drag dest find target int widget int context int target list public static final synchron nativ void gtk drag dest set int widget int flag int target int target int action gtk_drag_check_threshold start_x start_y current_x current_y gtk_drag_dest_find_target target_list gtk_drag_dest_set n_target public static final synchron nativ int gtk drag dest find target int widget int context int target list public static final synchron nativ void gtk drag dest set int widget int flag int target int target int action public static final synchron nativ void gtk drag dest unset int widget gtk_drag_dest_find_target target_list gtk_drag_dest_set n_target gtk_drag_dest_unset public static final synchron nativ void gtk drag dest set int widget int flag int target int target int action public static final synchron nativ void gtk drag dest unset int widget public static final synchron nativ void gtk drag finish int context boolean success boolean delet int gtk_drag_dest_set n_target gtk_drag_dest_unset gtk_drag_finish public static final synchron nativ void gtk drag dest unset int widget public static final synchron nativ void gtk drag finish int context boolean success boolean delet int public static final synchron nativ void gtk drag data int widget int context int target int gtk_drag_dest_unset gtk_drag_finish gtk_drag_get_data public static final synchron nativ void gtk drag finish int context boolean success boolean delet int public static final synchron nativ void gtk drag data int widget int context int target int public static final synchron nativ int gtk draw area gtk_drag_finish gtk_drag_get_data gtk_draw_area_new public static final synchron nativ void gtk drag data int widget int context int target int public static final synchron nativ int gtk draw area public static final synchron nativ void gtk edit copi clipboard int edit gtk_drag_get_data gtk_draw_area_new gtk_edit_copi_clipboard public static final synchron nativ int gtk draw area public static final synchron nativ void gtk edit copi clipboard int edit public static final synchron nativ void gtk edit cut clipboard int edit gtk_draw_area_new gtk_edit_copi_clipboard gtk_edit_cut_clipboard public static final synchron nativ void gtk edit copi clipboard int edit public static final synchron nativ void gtk edit cut clipboard int edit public static final synchron nativ void gtk edit delet select int edit gtk_edit_copi_clipboard gtk_edit_cut_clipboard gtk_edit_delet_select public static final synchron nativ void gtk edit cut clipboard int edit public static final synchron nativ void gtk edit delet select int edit public static final synchron nativ void gtk edit delet text int edit int start po int end po gtk_edit_cut_clipboard gtk_edit_delet_select gtk_edit_delet_text start_po end_po public static final synchron nativ void gtk edit delet select int edit public static final synchron nativ void gtk edit delet text int edit int start po int end po public static final synchron nativ int gtk edit char int edit int start po int end po gtk_edit_delet_select gtk_edit_delet_text start_po end_po gtk_edit_get_char start_po end_po public static final synchron nativ void gtk edit delet text int edit int start po int end po public static final synchron nativ int gtk edit char int edit int start po int end po public static final synchron nativ boolean gtk edit edit int edit gtk_edit_delet_text start_po end_po gtk_edit_get_char start_po end_po gtk_edit_get_edit public static final synchron nativ int gtk edit char int edit int start po int end po public static final synchron nativ boolean gtk edit edit int edit public static final synchron nativ int gtk edit posit int edit gtk_edit_get_char start_po end_po gtk_edit_get_edit gtk_edit_get_posit public static final synchron nativ boolean gtk edit edit int edit public static final synchron nativ int gtk edit posit int edit public static final synchron nativ boolean gtk edit select bound int edit int start int end gtk_edit_get_edit gtk_edit_get_posit gtk_edit_get_select_bound public static final synchron nativ int gtk edit posit int edit public static final synchron nativ boolean gtk edit select bound int edit int start int end public static final synchron nativ void gtk edit insert text int edit byte text int text length int posit gtk_edit_get_posit gtk_edit_get_select_bound gtk_edit_insert_text new_text new_text_length public static final synchron nativ boolean gtk edit select bound int edit int start int end public static final synchron nativ void gtk edit insert text int edit byte text int text length int posit public static final synchron nativ void gtk edit past clipboard int edit gtk_edit_get_select_bound gtk_edit_insert_text new_text new_text_length gtk_edit_past_clipboard public static final synchron nativ void gtk edit insert text int edit byte text int text length int posit public static final synchron nativ void gtk edit past clipboard int edit public static final synchron nativ void gtk edit select region int edit int start int end gtk_edit_insert_text new_text new_text_length gtk_edit_past_clipboard gtk_edit_select_region public static final synchron nativ void gtk edit past clipboard int edit public static final synchron nativ void gtk edit select region int edit int start int end public static final synchron nativ void gtk edit set edit int entri boolean edit gtk_edit_past_clipboard gtk_edit_select_region gtk_edit_set_edit public static final synchron nativ void gtk edit select region int edit int start int end public static final synchron nativ void gtk edit set edit int entri boolean edit public static final synchron nativ void gtk edit set posit int edit int posit gtk_edit_select_region gtk_edit_set_edit gtk_edit_set_posit public static final synchron nativ void gtk edit set edit int entri boolean edit public static final synchron nativ void gtk edit set posit int edit int posit public static final synchron nativ char gtk entri invis char int entri gtk_edit_set_edit gtk_edit_set_posit gtk_entri_get_invis_char public static final synchron nativ void gtk edit set posit int edit int posit public static final synchron nativ char gtk entri invis char int entri public static final synchron nativ int gtk entri layout int entri gtk_edit_set_posit gtk_entri_get_invis_char gtk_entri_get_layout public static final synchron nativ char gtk entri invis char int entri public static final synchron nativ int gtk entri layout int entri public static final synchron nativ int gtk entri max length int entri gtk_entri_get_invis_char gtk_entri_get_layout gtk_entri_get_max_length public static final synchron nativ int gtk entri layout int entri public static final synchron nativ int gtk entri max length int entri public static final synchron nativ int gtk entri text int entri gtk_entri_get_layout gtk_entri_get_max_length gtk_entri_get_text public static final synchron nativ int gtk entri max length int entri public static final synchron nativ int gtk entri text int entri public static final synchron nativ boolean gtk entri visibl int entri gtk_entri_get_max_length gtk_entri_get_text gtk_entri_get_visibl public static final synchron nativ int gtk entri text int entri public static final synchron nativ boolean gtk entri visibl int entri public static final synchron nativ int gtk entri gtk_entri_get_text gtk_entri_get_visibl gtk_entri_new public static final synchron nativ boolean gtk entri visibl int entri public static final synchron nativ int gtk entri public static final synchron nativ void gtk entri set activ default int entri boolean set gtk_entri_get_visibl gtk_entri_new gtk_entri_set_activ_default public static final synchron nativ int gtk entri public static final synchron nativ void gtk entri set activ default int entri boolean set public static final synchron nativ void gtk entri set align int entri float xalign gtk_entri_new gtk_entri_set_activ_default gtk_entri_set_align public static final synchron nativ void gtk entri set activ default int entri boolean set public static final synchron nativ void gtk entri set align int entri float xalign public static final synchron nativ void gtk entri set frame int entri boolean set gtk_entri_set_activ_default gtk_entri_set_align gtk_entri_set_ha_frame public static final synchron nativ void gtk entri set align int entri float xalign public static final synchron nativ void gtk entri set frame int entri boolean set public static final synchron nativ void gtk entri set invis char int entri char ch gtk_entri_set_align gtk_entri_set_ha_frame gtk_entri_set_invis_char public static final synchron nativ void gtk entri set frame int entri boolean set public static final synchron nativ void gtk entri set invis char int entri char ch public static final synchron nativ void gtk entri set max length int entri int max gtk_entri_set_ha_frame gtk_entri_set_invis_char gtk_entri_set_max_length public static final synchron nativ void gtk entri set invis char int entri char ch public static final synchron nativ void gtk entri set max length int entri int max public static final synchron nativ void gtk entri set text int entri byte text gtk_entri_set_invis_char gtk_entri_set_max_length gtk_entri_set_text public static final synchron nativ void gtk entri set max length int entri int max public static final synchron nativ void gtk entri set text int entri byte text public static final synchron nativ void gtk entri set visibl int entri boolean visibl gtk_entri_set_max_length gtk_entri_set_text gtk_entri_set_visibl public static final synchron nativ void gtk entri set text int entri byte text public static final synchron nativ void gtk entri set visibl int entri boolean visibl public static final synchron nativ int gtk event pend gtk_entri_set_text gtk_entri_set_visibl gtk_event_pend public static final synchron nativ void gtk entri set visibl int entri boolean visibl public static final synchron nativ int gtk event pend public static final synchron nativ void gtk file select complet int filesel byte pattern gtk_entri_set_visibl gtk_event_pend gtk_file_select_complet public static final synchron nativ int gtk event pend public static final synchron nativ void gtk file select complet int filesel byte pattern public static final synchron nativ int gtk file select filenam int filesel gtk_event_pend gtk_file_select_complet gtk_file_select_get_filenam public static final synchron nativ void gtk file select complet int filesel byte pattern public static final synchron nativ int gtk file select filenam int filesel public static final synchron nativ int gtk file select select int filesel gtk_file_select_complet gtk_file_select_get_filenam gtk_file_select_get_select public static final synchron nativ int gtk file select filenam int filesel public static final synchron nativ int gtk file select select int filesel public static final synchron nativ void gtk file select hide fileop button int filesel gtk_file_select_get_filenam gtk_file_select_get_select gtk_file_select_hide_fileop_button public static final synchron nativ int gtk file select select int filesel public static final synchron nativ void gtk file select hide fileop button int filesel public static final synchron nativ int gtk file select byte titl gtk_file_select_get_select gtk_file_select_hide_fileop_button gtk_file_select_new public static final synchron nativ void gtk file select hide fileop button int filesel public static final synchron nativ int gtk file select byte titl public static final synchron nativ void gtk file select set filenam int filesel int filenam gtk_file_select_hide_fileop_button gtk_file_select_new gtk_file_select_set_filenam public static final synchron nativ int gtk file select byte titl public static final synchron nativ void gtk file select set filenam int filesel int filenam public static final synchron nativ void gtk file select set select multipl int filesel boolean select multipl gtk_file_select_new gtk_file_select_set_filenam gtk_file_select_set_select_multipl select_multipl public static final synchron nativ void gtk file select set filenam int filesel int filenam public static final synchron nativ void gtk file select set select multipl int filesel boolean select multipl public static final synchron nativ void gtk fix move int fix int widget int int gtk_file_select_set_filenam gtk_file_select_set_select_multipl select_multipl gtk_fix_move public static final synchron nativ void gtk file select set select multipl int filesel boolean select multipl public static final synchron nativ void gtk fix move int fix int widget int int public static final synchron nativ int gtk fix gtk_file_select_set_select_multipl select_multipl gtk_fix_move gtk_fix_new public static final synchron nativ void gtk fix move int fix int widget int int public static final synchron nativ int gtk fix public static final synchron nativ void gtk fix set window int fix boolean window gtk_fix_move gtk_fix_new gtk_fix_set_ha_window ha_window public static final synchron nativ int gtk fix public static final synchron nativ void gtk fix set window int fix boolean window public static final synchron nativ int gtk font select dialog font int fsd gtk_fix_new gtk_fix_set_ha_window ha_window gtk_font_select_dialog_get_font_name public static final synchron nativ void gtk fix set window int fix boolean window public static final synchron nativ int gtk font select dialog font int fsd public static final synchron nativ int gtk font select dialog byte titl gtk_fix_set_ha_window ha_window gtk_font_select_dialog_get_font_name gtk_font_select_dialog_new public static final synchron nativ int gtk font select dialog font int fsd public static final synchron nativ int gtk font select dialog byte titl public static final synchron nativ boolean gtk font select dialog set font int fsd byte fontnam gtk_font_select_dialog_get_font_name gtk_font_select_dialog_new gtk_font_select_dialog_set_font_name public static final synchron nativ int gtk font select dialog byte titl public static final synchron nativ boolean gtk font select dialog set font int fsd byte fontnam public static final synchron nativ int gtk frame byte label gtk_font_select_dialog_new gtk_font_select_dialog_set_font_name gtk_frame_new public static final synchron nativ boolean gtk font select dialog set font int fsd byte fontnam public static final synchron nativ int gtk frame byte label public static final synchron nativ int gtk frame label widget int frame gtk_font_select_dialog_set_font_name gtk_frame_new gtk_frame_get_label_widget public static final synchron nativ int gtk frame byte label public static final synchron nativ int gtk frame label widget int frame public static final synchron nativ void gtk frame set label int frame byte label gtk_frame_new gtk_frame_get_label_widget gtk_frame_set_label public static final synchron nativ int gtk frame label widget int frame public static final synchron nativ void gtk frame set label int frame byte label public static final synchron nativ void gtk frame set label widget int frame int label widget gtk_frame_get_label_widget gtk_frame_set_label gtk_frame_set_label_widget label_widget public static final synchron nativ void gtk frame set label int frame byte label public static final synchron nativ void gtk frame set label widget int frame int label widget public static final synchron nativ void gtk frame set shadow type int frame int type gtk_frame_set_label gtk_frame_set_label_widget label_widget gtk_frame_set_shadow_type public static final synchron nativ void gtk frame set label widget int frame int label widget public static final synchron nativ void gtk frame set shadow type int frame int type public static final synchron nativ int gtk current event gtk_frame_set_label_widget label_widget gtk_frame_set_shadow_type gtk_get_current_event public static final synchron nativ void gtk frame set shadow type int frame int type public static final synchron nativ int gtk current event public static final synchron nativ boolean gtk current event int gtk_frame_set_shadow_type gtk_get_current_event gtk_get_current_event_state public static final synchron nativ int gtk current event public static final synchron nativ boolean gtk current event int public static final synchron nativ int gtk current event gtk_get_current_event gtk_get_current_event_state gtk_get_current_event_time public static final synchron nativ boolean gtk current event int public static final synchron nativ int gtk current event public static final synchron nativ int gtk default languag gtk_get_current_event_state gtk_get_current_event_time gtk_get_default_languag public static final synchron nativ int gtk current event public static final synchron nativ int gtk default languag public static final synchron nativ int gtk event widget int event gtk_get_current_event_time gtk_get_default_languag gtk_get_event_widget public static final synchron nativ int gtk default languag public static final synchron nativ int gtk event widget int event public static final synchron nativ void gtk grab add int widget gtk_get_default_languag gtk_get_event_widget gtk_grab_add public static final synchron nativ int gtk event widget int event public static final synchron nativ void gtk grab add int widget public static final synchron nativ int gtk grab current gtk_get_event_widget gtk_grab_add gtk_grab_get_current public static final synchron nativ void gtk grab add int widget public static final synchron nativ int gtk grab current public static final synchron nativ void gtk grab remov int widget gtk_grab_add gtk_grab_get_current gtk_grab_remov public static final synchron nativ int gtk grab current public static final synchron nativ void gtk grab remov int widget public static final synchron nativ int gtk hbox boolean homogen int space gtk_grab_get_current gtk_grab_remov gtk_hbox_new public static final synchron nativ void gtk grab remov int widget public static final synchron nativ int gtk hbox boolean homogen int space public static final synchron nativ int gtk hscale int adjust gtk_grab_remov gtk_hbox_new gtk_hscale_new public static final synchron nativ int gtk hbox boolean homogen int space public static final synchron nativ int gtk hscale int adjust public static final synchron nativ int gtk hscrollbar int adjust gtk_hbox_new gtk_hscale_new gtk_hscrollbar_new public static final synchron nativ int gtk hscale int adjust public static final synchron nativ int gtk hscrollbar int adjust public static final synchron nativ int gtk hsepar gtk_hscale_new gtk_hscrollbar_new gtk_hsepar_new public static final synchron nativ int gtk hscrollbar int adjust public static final synchron nativ int gtk hsepar public static final synchron nativ int gtk icon factori lookup default byte stock id gtk_hscrollbar_new gtk_hsepar_new gtk_icon_factori_lookup_default stock_id public static final synchron nativ int gtk hsepar public static final synchron nativ int gtk icon factori lookup default byte stock id public static final synchron nativ int gtk icon set render icon int icon set int style int direct int int size int widget int detail gtk_hsepar_new gtk_icon_factori_lookup_default stock_id gtk_icon_set_render_icon icon_set public static final synchron nativ int gtk icon factori lookup default byte stock id public static final synchron nativ int gtk icon set render icon int icon set int style int direct int int size int widget int detail public static final synchron nativ boolean gtk im context filter keypress int context int event gtk_icon_factori_lookup_default stock_id gtk_icon_set_render_icon icon_set gtk_im_context_filter_keypress public static final synchron nativ int gtk icon set render icon int icon set int style int direct int int size int widget int detail public static final synchron nativ boolean gtk im context filter keypress int context int event public static final synchron nativ void gtk im context focu int context gtk_icon_set_render_icon icon_set gtk_im_context_filter_keypress gtk_im_context_focu_in public static final synchron nativ boolean gtk im context filter keypress int context int event public static final synchron nativ void gtk im context focu int context public static final synchron nativ void gtk im context focu int context gtk_im_context_filter_keypress gtk_im_context_focu_in gtk_im_context_focu_out public static final synchron nativ void gtk im context focu int context public static final synchron nativ void gtk im context focu int context public static final synchron nativ void gtk im context preedit string int context int str int attr int cursor po gtk_im_context_focu_in gtk_im_context_focu_out gtk_im_context_get_preedit_string cursor_po public static final synchron nativ void gtk im context focu int context public static final synchron nativ void gtk im context preedit string int context int str int attr int cursor po public static final synchron nativ int gtk im context type gtk_im_context_focu_out gtk_im_context_get_preedit_string cursor_po gtk_im_context_get_type public static final synchron nativ void gtk im context preedit string int context int str int attr int cursor po public static final synchron nativ int gtk im context type public static final synchron nativ void gtk im context reset int context gtk_im_context_get_preedit_string cursor_po gtk_im_context_get_type gtk_im_context_reset public static final synchron nativ int gtk im context type public static final synchron nativ void gtk im context reset int context public static final synchron nativ void gtk im context set client window int context int window gtk_im_context_get_type gtk_im_context_reset gtk_im_context_set_client_window public static final synchron nativ void gtk im context reset int context public static final synchron nativ void gtk im context set client window int context int window public static final synchron nativ void gtk im context set cursor locat int context gdk rectangl area gtk_im_context_reset gtk_im_context_set_client_window gtk_im_context_set_cursor_locat gdkrectangl public static final synchron nativ void gtk im context set client window int context int window public static final synchron nativ void gtk im context set cursor locat int context gdk rectangl area public static final synchron nativ void gtk im multicontext append menuitem int context int menushel gtk_im_context_set_client_window gtk_im_context_set_cursor_locat gdkrectangl gtk_im_multicontext_append_menuitem public static final synchron nativ void gtk im context set cursor locat int context gdk rectangl area public static final synchron nativ void gtk im multicontext append menuitem int context int menushel public static final synchron nativ int gtk im multicontext gtk_im_context_set_cursor_locat gdkrectangl gtk_im_multicontext_append_menuitem gtk_im_multicontext_new public static final synchron nativ void gtk im multicontext append menuitem int context int menushel public static final synchron nativ int gtk im multicontext public static final synchron nativ int gtk imag menu item label byte label gtk_im_multicontext_append_menuitem gtk_im_multicontext_new gtk_imag_menu_item_new_with_label public static final synchron nativ int gtk im multicontext public static final synchron nativ int gtk imag menu item label byte label public static final synchron nativ void gtk imag menu item set imag int menu item int imag gtk_im_multicontext_new gtk_imag_menu_item_new_with_label gtk_imag_menu_item_set_imag menu_item public static final synchron nativ int gtk imag menu item label byte label public static final synchron nativ void gtk imag menu item set imag int menu item int imag public static final synchron nativ int gtk imag gtk_imag_menu_item_new_with_label gtk_imag_menu_item_set_imag menu_item gtk_imag_new public static final synchron nativ void gtk imag menu item set imag int menu item int imag public static final synchron nativ int gtk imag public static final synchron nativ int gtk imag pixmap int pixmap int mask gtk_imag_menu_item_set_imag menu_item gtk_imag_new gtk_imag_new_from_pixmap public static final synchron nativ int gtk imag public static final synchron nativ int gtk imag pixmap int pixmap int mask public static final synchron nativ void gtk imag set pixmap int imag int pixmap int mask gtk_imag_new gtk_imag_new_from_pixmap gtk_imag_set_from_pixmap public static final synchron nativ int gtk imag pixmap int pixmap int mask public static final synchron nativ void gtk imag set pixmap int imag int pixmap int mask public static final synchron nativ boolean gtk init check int argc int argv gtk_imag_new_from_pixmap gtk_imag_set_from_pixmap gtk_init_check public static final synchron nativ void gtk imag set pixmap int imag int pixmap int mask public static final synchron nativ boolean gtk init check int argc int argv public static final synchron nativ int gtk label mnemon keyval int label gtk_imag_set_from_pixmap gtk_init_check gtk_label_get_mnemon_keyval public static final synchron nativ boolean gtk init check int argc int argv public static final synchron nativ int gtk label mnemon keyval int label public static final synchron nativ int gtk label byte label gtk_init_check gtk_label_get_mnemon_keyval gtk_label_new public static final synchron nativ int gtk label mnemon keyval int label public static final synchron nativ int gtk label byte label public static final synchron nativ int gtk label mnemon byte str gtk_label_get_mnemon_keyval gtk_label_new gtk_label_new_with_mnemon public static final synchron nativ int gtk label byte label public static final synchron nativ int gtk label mnemon byte str public static final synchron nativ void gtk label set attribut int label int attr gtk_label_new gtk_label_new_with_mnemon gtk_label_set_attribut public static final synchron nativ int gtk label mnemon byte str public static final synchron nativ void gtk label set attribut int label int attr public static final synchron nativ void gtk label set justifi int label int jtype gtk_label_new_with_mnemon gtk_label_set_attribut gtk_label_set_justifi public static final synchron nativ void gtk label set attribut int label int attr public static final synchron nativ void gtk label set justifi int label int jtype public static final synchron nativ void gtk label set line wrap int label boolean wrap gtk_label_set_attribut gtk_label_set_justifi gtk_label_set_line_wrap public static final synchron nativ void gtk label set justifi int label int jtype public static final synchron nativ void gtk label set line wrap int label boolean wrap public static final synchron nativ void gtk label set text int label int str gtk_label_set_justifi gtk_label_set_line_wrap gtk_label_set_text public static final synchron nativ void gtk label set line wrap int label boolean wrap public static final synchron nativ void gtk label set text int label int str public static final synchron nativ void gtk label set text mnemon int label byte str gtk_label_set_line_wrap gtk_label_set_text gtk_label_set_text_with_mnemon public static final synchron nativ void gtk label set text int label int str public static final synchron nativ void gtk label set text mnemon int label byte str public static final synchron nativ void gtk list store append int list store int iter gtk_label_set_text gtk_label_set_text_with_mnemon gtk_list_store_append list_store public static final synchron nativ void gtk label set text mnemon int label byte str public static final synchron nativ void gtk list store append int list store int iter public static final synchron nativ void gtk list store clear int store gtk_label_set_text_with_mnemon gtk_list_store_append list_store gtk_list_store_clear public static final synchron nativ void gtk list store append int list store int iter public static final synchron nativ void gtk list store clear int store public static final synchron nativ void gtk list store insert int list store int iter int posit gtk_list_store_append list_store gtk_list_store_clear gtk_list_store_insert list_store public static final synchron nativ void gtk list store clear int store public static final synchron nativ void gtk list store insert int list store int iter int posit public static final synchron nativ int gtk list store newv int num column int type gtk_list_store_clear gtk_list_store_insert list_store gtk_list_store_newv numcolumn public static final synchron nativ void gtk list store insert int list store int iter int posit public static final synchron nativ int gtk list store newv int num column int type public static final synchron nativ void gtk list store remov int list store int iter gtk_list_store_insert list_store gtk_list_store_newv numcolumn gtk_list_store_remov list_store public static final synchron nativ int gtk list store newv int num column int type public static final synchron nativ void gtk list store remov int list store int iter public static final synchron nativ void gtk list store set int store int iter int column byte int termin gtk_list_store_newv numcolumn gtk_list_store_remov list_store gtk_list_store_set public static final synchron nativ void gtk list store remov int list store int iter public static final synchron nativ void gtk list store set int store int iter int column byte int termin public static final synchron nativ void gtk list store set int store int iter int column int int termin gtk_list_store_remov list_store gtk_list_store_set gtk_list_store_set public static final synchron nativ void gtk list store set int store int iter int column byte int termin public static final synchron nativ void gtk list store set int store int iter int column int int termin public static final synchron nativ void gtk list store set int store int iter int column int termin gtk_list_store_set gtk_list_store_set gtk_list_store_set public static final synchron nativ void gtk list store set int store int iter int column int int termin public static final synchron nativ void gtk list store set int store int iter int column int termin public static final synchron nativ void gtk list store set int store int iter int column gdk color int termin gtk_list_store_set gtk_list_store_set gtk_list_store_set gdkcolor public static final synchron nativ void gtk list store set int store int iter int column int termin public static final synchron nativ void gtk list store set int store int iter int column gdk color int termin public static final synchron nativ void gtk list store set int store int iter int column boolean int termin gtk_list_store_set gtk_list_store_set gdkcolor gtk_list_store_set public static final synchron nativ void gtk list store set int store int iter int column gdk color int termin public static final synchron nativ void gtk list store set int store int iter int column boolean int termin public static final synchron nativ int gtk major version gtk_list_store_set gdkcolor gtk_list_store_set gtk_major_version public static final synchron nativ void gtk list store set int store int iter int column boolean int termin public static final synchron nativ int gtk major version public static final synchron nativ int gtk minor version gtk_list_store_set gtk_major_version gtk_minor_version public static final synchron nativ int gtk major version public static final synchron nativ int gtk minor version public static final synchron nativ int gtk micro version gtk_major_version gtk_minor_version gtk_micro_version public static final synchron nativ int gtk minor version public static final synchron nativ int gtk micro version public static final synchron nativ void gtk main gtk_minor_version gtk_micro_version gtk_main public static final synchron nativ int gtk micro version public static final synchron nativ void gtk main public static final synchron nativ int gtk main iter gtk_micro_version gtk_main gtk_main_iter public static final synchron nativ void gtk main public static final synchron nativ int gtk main iter public static final synchron nativ void gtk main event int event gtk_main gtk_main_iter gtk_main_do_event public static final synchron nativ int gtk main iter public static final synchron nativ void gtk main event int event public static final synchron nativ int gtk menu bar gtk_main_iter gtk_main_do_event gtk_menu_bar_new public static final synchron nativ void gtk main event int event public static final synchron nativ int gtk menu bar public static final synchron nativ void gtk menu item remov submenu int menu item gtk_main_do_event gtk_menu_bar_new gtk_menu_item_remov_submenu menu_item public static final synchron nativ int gtk menu bar public static final synchron nativ void gtk menu item remov submenu int menu item public static final synchron nativ void gtk menu item set submenu int menu item int submenu gtk_menu_bar_new gtk_menu_item_remov_submenu menu_item gtk_menu_item_set_submenu menu_item public static final synchron nativ void gtk menu item remov submenu int menu item public static final synchron nativ void gtk menu item set submenu int menu item int submenu public static final synchron nativ int gtk menu gtk_menu_item_remov_submenu menu_item gtk_menu_item_set_submenu menu_item gtk_menu_new public static final synchron nativ void gtk menu item set submenu int menu item int submenu public static final synchron nativ int gtk menu public static final synchron nativ void gtk menu popdown int menu gtk_menu_item_set_submenu menu_item gtk_menu_new gtk_menu_popdown public static final synchron nativ int gtk menu public static final synchron nativ void gtk menu popdown int menu public static final synchron nativ void gtk menu popup int menu int parent menu shell int parent menu item int func int data int button int activ gtk_menu_new gtk_menu_popdown gtk_menu_popup parent_menu_shell parent_menu_item activ_time public static final synchron nativ void gtk menu popdown int menu public static final synchron nativ void gtk menu popup int menu int parent menu shell int parent menu item int func int data int button int activ public static final synchron nativ void gtk menu shell deactiv int menu shell gtk_menu_popdown gtk_menu_popup parent_menu_shell parent_menu_item activ_time gtk_menu_shell_deactiv menu_shell public static final synchron nativ void gtk menu popup int menu int parent menu shell int parent menu item int func int data int button int activ public static final synchron nativ void gtk menu shell deactiv int menu shell public static final synchron nativ void gtk menu shell insert int menu shell int child int posit gtk_menu_popup parent_menu_shell parent_menu_item activ_time gtk_menu_shell_deactiv menu_shell gtk_menu_shell_insert menu_shell public static final synchron nativ void gtk menu shell deactiv int menu shell public static final synchron nativ void gtk menu shell insert int menu shell int child int posit public static final synchron nativ void gtk menu shell select item int menu shell int menu item gtk_menu_shell_deactiv menu_shell gtk_menu_shell_insert menu_shell gtk_menu_shell_select_item menu_shell menu_item public static final synchron nativ void gtk menu shell insert int menu shell int child int posit public static final synchron nativ void gtk menu shell select item int menu shell int menu item public static final synchron nativ int gtk messag dialog int parent int flag int type int button string messag format gtk_menu_shell_insert menu_shell gtk_menu_shell_select_item menu_shell menu_item gtk_messag_dialog_new messag_format public static final synchron nativ void gtk menu shell select item int menu shell int menu item public static final synchron nativ int gtk messag dialog int parent int flag int type int button string messag format public static final synchron nativ void gtk misc set align int misc float xalign float yalign gtk_menu_shell_select_item menu_shell menu_item gtk_messag_dialog_new messag_format gtk_misc_set_align public static final synchron nativ int gtk messag dialog int parent int flag int type int button string messag format public static final synchron nativ void gtk misc set align int misc float xalign float yalign public static final synchron nativ int gtk notebook current page int notebook gtk_messag_dialog_new messag_format gtk_misc_set_align gtk_notebook_get_current_page public static final synchron nativ void gtk misc set align int misc float xalign float yalign public static final synchron nativ int gtk notebook current page int notebook public static final synchron nativ boolean gtk notebook scrollabl int notebook gtk_misc_set_align gtk_notebook_get_current_page gtk_notebook_get_scrollabl public static final synchron nativ int gtk notebook current page int notebook public static final synchron nativ boolean gtk notebook scrollabl int notebook public static final synchron nativ void gtk notebook insert page int notebook int child int tab label int posit gtk_notebook_get_current_page gtk_notebook_get_scrollabl gtk_notebook_insert_page tab_label public static final synchron nativ boolean gtk notebook scrollabl int notebook public static final synchron nativ void gtk notebook insert page int notebook int child int tab label int posit public static final synchron nativ int gtk notebook gtk_notebook_get_scrollabl gtk_notebook_insert_page tab_label gtk_notebook_new public static final synchron nativ void gtk notebook insert page int notebook int child int tab label int posit public static final synchron nativ int gtk notebook public static final synchron nativ void gtk notebook remov page int notebook int page num gtk_notebook_insert_page tab_label gtk_notebook_new gtk_notebook_remov_page page_num public static final synchron nativ int gtk notebook public static final synchron nativ void gtk notebook remov page int notebook int page num public static final synchron nativ void gtk notebook set current page int notebook int page num gtk_notebook_new gtk_notebook_remov_page page_num gtk_notebook_set_current_page page_num public static final synchron nativ void gtk notebook remov page int notebook int page num public static final synchron nativ void gtk notebook set current page int notebook int page num public static final synchron nativ void gtk notebook set scrollabl int notebook boolean scrollabl gtk_notebook_remov_page page_num gtk_notebook_set_current_page page_num gtk_notebook_set_scrollabl public static final synchron nativ void gtk notebook set current page int notebook int page num public static final synchron nativ void gtk notebook set scrollabl int notebook boolean scrollabl public static final synchron nativ void gtk notebook set show tab int notebook boolean show tab gtk_notebook_set_current_page page_num gtk_notebook_set_scrollabl gtk_notebook_set_show_tab show_tab public static final synchron nativ void gtk notebook set scrollabl int notebook boolean scrollabl public static final synchron nativ void gtk notebook set show tab int notebook boolean show tab public static final synchron nativ void gtk notebook set tab po int notebook int po gtk_notebook_set_scrollabl gtk_notebook_set_show_tab show_tab gtk_notebook_set_tab_po public static final synchron nativ void gtk notebook set show tab int notebook boolean show tab public static final synchron nativ void gtk notebook set tab po int notebook int po public static final synchron nativ void gtk object sink int object gtk_notebook_set_show_tab show_tab gtk_notebook_set_tab_po gtk_object_sink public static final synchron nativ void gtk notebook set tab po int notebook int po public static final synchron nativ void gtk object sink int object public static final synchron nativ void gtk paint handl int style int window int type int shadow type gdk rectangl area int widget byte detail int int int width int height int orient gtk_notebook_set_tab_po gtk_object_sink gtk_paint_handl state_type shadow_type gdkrectangl public static final synchron nativ void gtk object sink int object public static final synchron nativ void gtk paint handl int style int window int type int shadow type gdk rectangl area int widget byte detail int int int width int height int orient public static final synchron nativ int gtk plug id int plug gtk_object_sink gtk_paint_handl state_type shadow_type gdkrectangl gtk_plug_get_id public static final synchron nativ void gtk paint handl int style int window int type int shadow type gdk rectangl area int widget byte detail int int int width int height int orient public static final synchron nativ int gtk plug id int plug public static final synchron nativ int gtk plug int socket id gtk_paint_handl state_type shadow_type gdkrectangl gtk_plug_get_id gtk_plug_new socket_id public static final synchron nativ int gtk plug id int plug public static final synchron nativ int gtk plug int socket id public static final synchron nativ int gtk progress bar gtk_plug_get_id gtk_plug_new socket_id gtk_progress_bar_new public static final synchron nativ int gtk plug int socket id public static final synchron nativ int gtk progress bar public static final synchron nativ void gtk progress bar puls int pbar gtk_plug_new socket_id gtk_progress_bar_new gtk_progress_bar_puls public static final synchron nativ int gtk progress bar public static final synchron nativ void gtk progress bar puls int pbar public static final synchron nativ void gtk progress bar set fraction int pbar doubl fraction gtk_progress_bar_new gtk_progress_bar_puls gtk_progress_bar_set_fraction public static final synchron nativ void gtk progress bar puls int pbar public static final synchron nativ void gtk progress bar set fraction int pbar doubl fraction public static final synchron nativ void gtk progress bar set orient int pbar int orient gtk_progress_bar_puls gtk_progress_bar_set_fraction gtk_progress_bar_set_orient public static final synchron nativ void gtk progress bar set fraction int pbar doubl fraction public static final synchron nativ void gtk progress bar set orient int pbar int orient public static final synchron nativ int gtk radio button group int radio button gtk_progress_bar_set_fraction gtk_progress_bar_set_orient gtk_radio_button_get_group radio_button public static final synchron nativ void gtk progress bar set orient int pbar int orient public static final synchron nativ int gtk radio button group int radio button public static final synchron nativ int gtk radio button int group gtk_progress_bar_set_orient gtk_radio_button_get_group radio_button gtk_radio_button_new public static final synchron nativ int gtk radio button group int radio button public static final synchron nativ int gtk radio button int group public static final synchron nativ int gtk radio menu item label int group byte label gtk_radio_button_get_group radio_button gtk_radio_button_new gtk_radio_menu_item_new_with_label public static final synchron nativ int gtk radio button int group public static final synchron nativ int gtk radio menu item label int group byte label public static final synchron nativ int gtk rang adjust int rang gtk_radio_button_new gtk_radio_menu_item_new_with_label gtk_rang_get_adjust public static final synchron nativ int gtk radio menu item label int group byte label public static final synchron nativ int gtk rang adjust int rang public static final synchron nativ void gtk rang set increment int rang doubl step doubl page gtk_radio_menu_item_new_with_label gtk_rang_get_adjust gtk_rang_set_increment public static final synchron nativ int gtk rang adjust int rang public static final synchron nativ void gtk rang set increment int rang doubl step doubl page public static final synchron nativ void gtk rang set rang int rang doubl min doubl max gtk_rang_get_adjust gtk_rang_set_increment gtk_rang_set_rang public static final synchron nativ void gtk rang set increment int rang doubl step doubl page public static final synchron nativ void gtk rang set rang int rang doubl min doubl max public static final synchron nativ void gtk rang set int rang doubl gtk_rang_set_increment gtk_rang_set_rang gtk_rang_set_valu public static final synchron nativ void gtk rang set rang int rang doubl min doubl max public static final synchron nativ void gtk rang set int rang doubl public static final synchron nativ void gtk rc pars string byte rc string gtk_rang_set_rang gtk_rang_set_valu gtk_rc_pars_string rc_string public static final synchron nativ void gtk rang set int rang doubl public static final synchron nativ void gtk rc pars string byte rc string public static final synchron nativ int gtk rc style bg pixmap int style int index gtk_rang_set_valu gtk_rc_pars_string rc_string gtk_rc_style_get_bg_pixmap_name public static final synchron nativ void gtk rc pars string byte rc string public static final synchron nativ int gtk rc style bg pixmap int style int index public static final synchron nativ int gtk rc style color flag int style int index gtk_rc_pars_string rc_string gtk_rc_style_get_bg_pixmap_name gtk_rc_style_get_color_flag public static final synchron nativ int gtk rc style bg pixmap int style int index public static final synchron nativ int gtk rc style color flag int style int index public static final synchron nativ void gtk rc style set bg int style int index gdk color color gtk_rc_style_get_bg_pixmap_name gtk_rc_style_get_color_flag gtk_rc_style_set_bg gdkcolor public static final synchron nativ int gtk rc style color flag int style int index public static final synchron nativ void gtk rc style set bg int style int index gdk color color public static final synchron nativ void gtk rc style set bg pixmap int style int index int gtk_rc_style_get_color_flag gtk_rc_style_set_bg gdkcolor gtk_rc_style_set_bg_pixmap_name public static final synchron nativ void gtk rc style set bg int style int index gdk color color public static final synchron nativ void gtk rc style set bg pixmap int style int index int public static final synchron nativ void gtk rc style set color flag int style int index int flag gtk_rc_style_set_bg gdkcolor gtk_rc_style_set_bg_pixmap_name gtk_rc_style_set_color_flag public static final synchron nativ void gtk rc style set bg pixmap int style int index int public static final synchron nativ void gtk rc style set color flag int style int index int flag public static final synchron nativ void gtk scale set digit int scale int digit gtk_rc_style_set_bg_pixmap_name gtk_rc_style_set_color_flag gtk_scale_set_digit public static final synchron nativ void gtk rc style set color flag int style int index int flag public static final synchron nativ void gtk scale set digit int scale int digit public static final synchron nativ void gtk scale set draw int scale boolean draw gtk_rc_style_set_color_flag gtk_scale_set_digit gtk_scale_set_draw_valu draw_valu public static final synchron nativ void gtk scale set digit int scale int digit public static final synchron nativ void gtk scale set draw int scale boolean draw public static final synchron nativ int gtk scroll window hadjust int scroll window gtk_scale_set_digit gtk_scale_set_draw_valu draw_valu gtk_scroll_window_get_hadjust scroll_window public static final synchron nativ void gtk scale set draw int scale boolean draw public static final synchron nativ int gtk scroll window hadjust int scroll window public static final synchron nativ void gtk scroll window polici int scroll window int hscrollbar polici int vscrollbar polici gtk_scale_set_draw_valu draw_valu gtk_scroll_window_get_hadjust scroll_window gtk_scroll_window_get_polici scroll_window hscrollbar_polici vscrollbar_polici public static final synchron nativ int gtk scroll window hadjust int scroll window public static final synchron nativ void gtk scroll window polici int scroll window int hscrollbar polici int vscrollbar polici public static final synchron nativ int gtk scroll window shadow type int scroll window gtk_scroll_window_get_hadjust scroll_window gtk_scroll_window_get_polici scroll_window hscrollbar_polici vscrollbar_polici gtk_scroll_window_get_shadow_type scroll_window public static final synchron nativ void gtk scroll window polici int scroll window int hscrollbar polici int vscrollbar polici public static final synchron nativ int gtk scroll window shadow type int scroll window public static final synchron nativ int gtk scroll window vadjust int scroll window gtk_scroll_window_get_polici scroll_window hscrollbar_polici vscrollbar_polici gtk_scroll_window_get_shadow_type scroll_window gtk_scroll_window_get_vadjust scroll_window public static final synchron nativ int gtk scroll window shadow type int scroll window public static final synchron nativ int gtk scroll window vadjust int scroll window public static final synchron nativ int gtk scroll window int hadjust int vadjust gtk_scroll_window_get_shadow_type scroll_window gtk_scroll_window_get_vadjust scroll_window gtk_scroll_window_new public static final synchron nativ int gtk scroll window vadjust int scroll window public static final synchron nativ int gtk scroll window int hadjust int vadjust public static final synchron nativ void gtk scroll window set placement int scroll window int placement gtk_scroll_window_get_vadjust scroll_window gtk_scroll_window_new gtk_scroll_window_set_placement scroll_window public static final synchron nativ int gtk scroll window int hadjust int vadjust public static final synchron nativ void gtk scroll window set placement int scroll window int placement public static final synchron nativ void gtk scroll window set polici int scroll window int hscrollbar polici int vscrollbar polici gtk_scroll_window_new gtk_scroll_window_set_placement scroll_window gtk_scroll_window_set_polici scroll_window hscrollbar_polici vscrollbar_polici public static final synchron nativ void gtk scroll window set placement int scroll window int placement public static final synchron nativ void gtk scroll window set polici int scroll window int hscrollbar polici int vscrollbar polici public static final synchron nativ void gtk scroll window set shadow type int scroll window int type gtk_scroll_window_set_placement scroll_window gtk_scroll_window_set_polici scroll_window hscrollbar_polici vscrollbar_polici gtk_scroll_window_set_shadow_type scroll_window public static final synchron nativ void gtk scroll window set polici int scroll window int hscrollbar polici int vscrollbar polici public static final synchron nativ void gtk scroll window set shadow type int scroll window int type public static final synchron nativ void gtk select data free int select data gtk_scroll_window_set_polici scroll_window hscrollbar_polici vscrollbar_polici gtk_scroll_window_set_shadow_type scroll_window gtk_select_data_free select_data public static final synchron nativ void gtk scroll window set shadow type int scroll window int type public static final synchron nativ void gtk select data free int select data public static final synchron nativ void gtk select data set int select data int type int format int data int length gtk_scroll_window_set_shadow_type scroll_window gtk_select_data_free select_data gtk_select_data_set select_data public static final synchron nativ void gtk select data free int select data public static final synchron nativ void gtk select data set int select data int type int format int data int length public static final synchron nativ int gtk separ menu item gtk_select_data_free select_data gtk_select_data_set select_data gtk_separ_menu_item_new public static final synchron nativ void gtk select data set int select data int type int format int data int length public static final synchron nativ int gtk separ menu item public static final synchron nativ int gtk set local gtk_select_data_set select_data gtk_separ_menu_item_new gtk_set_local public static final synchron nativ int gtk separ menu item public static final synchron nativ int gtk set local public static final synchron nativ int gtk socket id int socket gtk_separ_menu_item_new gtk_set_local gtk_socket_get_id public static final synchron nativ int gtk set local public static final synchron nativ int gtk socket id int socket public static final synchron nativ int gtk socket gtk_set_local gtk_socket_get_id gtk_socket_new public static final synchron nativ int gtk socket id int socket public static final synchron nativ int gtk socket public static final synchron nativ void gtk style base int style int index gdk color color gtk_socket_get_id gtk_socket_new gtk_style_get_base gdkcolor public static final synchron nativ int gtk socket public static final synchron nativ void gtk style base int style int index gdk color color public static final synchron nativ void gtk style black int style gdk color color gtk_socket_new gtk_style_get_base gdkcolor gtk_style_get_black gdkcolor public static final synchron nativ void gtk style base int style int index gdk color color public static final synchron nativ void gtk style black int style gdk color color public static final synchron nativ void gtk style bg int style int index gdk color color gtk_style_get_base gdkcolor gtk_style_get_black gdkcolor gtk_style_get_bg gdkcolor public static final synchron nativ void gtk style black int style gdk color color public static final synchron nativ void gtk style bg int style int index gdk color color public static final synchron nativ void gtk style dark int style int index gdk color color gtk_style_get_black gdkcolor gtk_style_get_bg gdkcolor gtk_style_get_dark gdkcolor public static final synchron nativ void gtk style bg int style int index gdk color color public static final synchron nativ void gtk style dark int style int index gdk color color public static final synchron nativ void gtk style fg int style int index gdk color color gtk_style_get_bg gdkcolor gtk_style_get_dark gdkcolor gtk_style_get_fg gdkcolor public static final synchron nativ void gtk style dark int style int index gdk color color public static final synchron nativ void gtk style fg int style int index gdk color color public static final synchron nativ int gtk style font desc int style gtk_style_get_dark gdkcolor gtk_style_get_fg gdkcolor gtk_style_get_font_desc public static final synchron nativ void gtk style fg int style int index gdk color color public static final synchron nativ int gtk style font desc int style public static final synchron nativ void gtk style light int style int index gdk color color gtk_style_get_fg gdkcolor gtk_style_get_font_desc gtk_style_get_light gdkcolor public static final synchron nativ int gtk style font desc int style public static final synchron nativ void gtk style light int style int index gdk color color public static final synchron nativ void gtk style text int style int index gdk color color gtk_style_get_font_desc gtk_style_get_light gdkcolor gtk_style_get_text gdkcolor public static final synchron nativ void gtk style light int style int index gdk color color public static final synchron nativ void gtk style text int style int index gdk color color public static final synchron nativ int gtk style xthick int style gtk_style_get_light gdkcolor gtk_style_get_text gdkcolor gtk_style_get_xthick public static final synchron nativ void gtk style text int style int index gdk color color public static final synchron nativ int gtk style xthick int style public static final synchron nativ int gtk style ythick int style gtk_style_get_text gdkcolor gtk_style_get_xthick gtk_style_get_ythick public static final synchron nativ int gtk style xthick int style public static final synchron nativ int gtk style ythick int style public static final synchron nativ int gtk target list int target int ntarget gtk_style_get_xthick gtk_style_get_ythick gtk_target_list_new public static final synchron nativ int gtk style ythick int style public static final synchron nativ int gtk target list int target int ntarget public static final synchron nativ void gtk target list unref int list gtk_style_get_ythick gtk_target_list_new gtk_target_list_unref public static final synchron nativ int gtk target list int target int ntarget public static final synchron nativ void gtk target list unref int list public static final synchron nativ void gtk text buffer copi clipboard int buffer int clipboard gtk_target_list_new gtk_target_list_unref gtk_text_buffer_copi_clipboard public static final synchron nativ void gtk target list unref int list public static final synchron nativ void gtk text buffer copi clipboard int buffer int clipboard public static final synchron nativ void gtk text buffer cut clipboard int buffer int clipboard boolean default edit gtk_target_list_unref gtk_text_buffer_copi_clipboard gtk_text_buffer_cut_clipboard default_edit public static final synchron nativ void gtk text buffer copi clipboard int buffer int clipboard public static final synchron nativ void gtk text buffer cut clipboard int buffer int clipboard boolean default edit public static final synchron nativ void gtk text buffer delet int buffer byte start byte end gtk_text_buffer_copi_clipboard gtk_text_buffer_cut_clipboard default_edit gtk_text_buffer_delet public static final synchron nativ void gtk text buffer cut clipboard int buffer int clipboard boolean default edit public static final synchron nativ void gtk text buffer delet int buffer byte start byte end public static final synchron nativ void gtk text buffer bound int buffer byte start byte end gtk_text_buffer_cut_clipboard default_edit gtk_text_buffer_delet gtk_text_buffer_get_bound public static final synchron nativ void gtk text buffer delet int buffer byte start byte end public static final synchron nativ void gtk text buffer bound int buffer byte start byte end public static final synchron nativ int gtk text buffer char count int buffer gtk_text_buffer_delet gtk_text_buffer_get_bound gtk_text_buffer_get_char_count public static final synchron nativ void gtk text buffer bound int buffer byte start byte end public static final synchron nativ int gtk text buffer char count int buffer public static final synchron nativ void gtk text buffer end iter int buffer byte iter gtk_text_buffer_get_bound gtk_text_buffer_get_char_count gtk_text_buffer_get_end_iter public static final synchron nativ int gtk text buffer char count int buffer public static final synchron nativ void gtk text buffer end iter int buffer byte iter public static final synchron nativ int gtk text buffer insert int buffer gtk_text_buffer_get_char_count gtk_text_buffer_get_end_iter gtk_text_buffer_get_insert public static final synchron nativ void gtk text buffer end iter int buffer byte iter public static final synchron nativ int gtk text buffer insert int buffer public static final synchron nativ void gtk text buffer iter line int buffer byte iter int line number gtk_text_buffer_get_end_iter gtk_text_buffer_get_insert gtk_text_buffer_get_iter_at_line line_number public static final synchron nativ int gtk text buffer insert int buffer public static final synchron nativ void gtk text buffer iter line int buffer byte iter int line number public static final synchron nativ void gtk text buffer iter mark int buffer byte iter int mark gtk_text_buffer_get_insert gtk_text_buffer_get_iter_at_line line_number gtk_text_buffer_get_iter_at_mark public static final synchron nativ void gtk text buffer iter line int buffer byte iter int line number public static final synchron nativ void gtk text buffer iter mark int buffer byte iter int mark public static final synchron nativ void gtk text buffer iter offset int buffer byte iter int char offset gtk_text_buffer_get_iter_at_line line_number gtk_text_buffer_get_iter_at_mark gtk_text_buffer_get_iter_at_offset char_offset public static final synchron nativ void gtk text buffer iter mark int buffer byte iter int mark public static final synchron nativ void gtk text buffer iter offset int buffer byte iter int char offset public static final synchron nativ int gtk text buffer line count int buffer gtk_text_buffer_get_iter_at_mark gtk_text_buffer_get_iter_at_offset char_offset gtk_text_buffer_get_line_count public static final synchron nativ void gtk text buffer iter offset int buffer byte iter int char offset public static final synchron nativ int gtk text buffer line count int buffer public static final synchron nativ int gtk text buffer select bound int buffer gtk_text_buffer_get_iter_at_offset char_offset gtk_text_buffer_get_line_count gtk_text_buffer_get_select_bound public static final synchron nativ int gtk text buffer line count int buffer public static final synchron nativ int gtk text buffer select bound int buffer public static final synchron nativ boolean gtk text buffer select bound int buffer byte start byte end gtk_text_buffer_get_line_count gtk_text_buffer_get_select_bound gtk_text_buffer_get_select_bound public static final synchron nativ int gtk text buffer select bound int buffer public static final synchron nativ boolean gtk text buffer select bound int buffer byte start byte end public static final synchron nativ int gtk text buffer text int buffer byte start byte end boolean includ hidden char gtk_text_buffer_get_select_bound gtk_text_buffer_get_select_bound gtk_text_buffer_get_text includ_hidden_char public static final synchron nativ boolean gtk text buffer select bound int buffer byte start byte end public static final synchron nativ int gtk text buffer text int buffer byte start byte end boolean includ hidden char public static final synchron nativ void gtk text buffer insert int buffer byte iter byte text int len gtk_text_buffer_get_select_bound gtk_text_buffer_get_text includ_hidden_char gtk_text_buffer_insert public static final synchron nativ int gtk text buffer text int buffer byte start byte end boolean includ hidden char public static final synchron nativ void gtk text buffer insert int buffer byte iter byte text int len public static final synchron nativ void gtk text buffer insert int buffer int iter byte text int len gtk_text_buffer_get_text includ_hidden_char gtk_text_buffer_insert gtk_text_buffer_insert public static final synchron nativ void gtk text buffer insert int buffer byte iter byte text int len public static final synchron nativ void gtk text buffer insert int buffer int iter byte text int len public static final synchron nativ void gtk text buffer move mark int buffer int mark byte gtk_text_buffer_insert gtk_text_buffer_insert gtk_text_buffer_move_mark public static final synchron nativ void gtk text buffer insert int buffer int iter byte text int len public static final synchron nativ void gtk text buffer move mark int buffer int mark byte public static final synchron nativ void gtk text buffer past clipboard int buffer int clipboard byte overrid locat boolean default edit gtk_text_buffer_insert gtk_text_buffer_move_mark gtk_text_buffer_past_clipboard overrid_locat default_edit public static final synchron nativ void gtk text buffer move mark int buffer int mark byte public static final synchron nativ void gtk text buffer past clipboard int buffer int clipboard byte overrid locat boolean default edit public static final synchron nativ void gtk text buffer place cursor int buffer byte gtk_text_buffer_move_mark gtk_text_buffer_past_clipboard overrid_locat default_edit gtk_text_buffer_place_cursor public static final synchron nativ void gtk text buffer past clipboard int buffer int clipboard byte overrid locat boolean default edit public static final synchron nativ void gtk text buffer place cursor int buffer byte public static final synchron nativ void gtk text buffer set text int buffer byte text int len gtk_text_buffer_past_clipboard overrid_locat default_edit gtk_text_buffer_place_cursor gtk_text_buffer_set_text public static final synchron nativ void gtk text buffer place cursor int buffer byte public static final synchron nativ void gtk text buffer set text int buffer byte text int len public static final synchron nativ int gtk text iter line byte iter gtk_text_buffer_place_cursor gtk_text_buffer_set_text gtk_text_iter_get_line public static final synchron nativ void gtk text buffer set text int buffer byte text int len public static final synchron nativ int gtk text iter line byte iter public static final synchron nativ int gtk text iter offset byte iter gtk_text_buffer_set_text gtk_text_iter_get_line gtk_text_iter_get_offset public static final synchron nativ int gtk text iter line byte iter public static final synchron nativ int gtk text iter offset byte iter public static final synchron nativ void gtk text view buffer window coord int text view int win int buffer int buffer int window int window gtk_text_iter_get_line gtk_text_iter_get_offset gtk_text_view_buffer_to_window_coord text_view buffer_x buffer_y window_x window_y public static final synchron nativ int gtk text iter offset byte iter public static final synchron nativ void gtk text view buffer window coord int text view int win int buffer int buffer int window int window public static final synchron nativ int gtk text view buffer int text view gtk_text_iter_get_offset gtk_text_view_buffer_to_window_coord text_view buffer_x buffer_y window_x window_y gtk_text_view_get_buffer text_view public static final synchron nativ void gtk text view buffer window coord int text view int win int buffer int buffer int window int window public static final synchron nativ int gtk text view buffer int text view public static final synchron nativ boolean gtk text view edit int text view gtk_text_view_buffer_to_window_coord text_view buffer_x buffer_y window_x window_y gtk_text_view_get_buffer text_view gtk_text_view_get_edit text_view public static final synchron nativ int gtk text view buffer int text view public static final synchron nativ boolean gtk text view edit int text view public static final synchron nativ void gtk text view iter locat int text view byte iter gdk rectangl locat gtk_text_view_get_buffer text_view gtk_text_view_get_edit text_view gtk_text_view_get_iter_locat text_view gdkrectangl public static final synchron nativ boolean gtk text view edit int text view public static final synchron nativ void gtk text view iter locat int text view byte iter gdk rectangl locat public static final synchron nativ void gtk text view line int text view byte target iter int int line top gtk_text_view_get_edit text_view gtk_text_view_get_iter_locat text_view gdkrectangl gtk_text_view_get_line_at_y text_view target_iter line_top public static final synchron nativ void gtk text view iter locat int text view byte iter gdk rectangl locat public static final synchron nativ void gtk text view line int text view byte target iter int int line top public static final synchron nativ void gtk text view visibl rect int text view gdk rectangl visibl rect gtk_text_view_get_iter_locat text_view gdkrectangl gtk_text_view_get_line_at_y text_view target_iter line_top gtk_text_view_get_visibl_rect text_view gdkrectangl visibl_rect public static final synchron nativ void gtk text view line int text view byte target iter int int line top public static final synchron nativ void gtk text view visibl rect int text view gdk rectangl visibl rect public static final synchron nativ int gtk text view window int text view int win gtk_text_view_get_line_at_y text_view target_iter line_top gtk_text_view_get_visibl_rect text_view gdkrectangl visibl_rect gtk_text_view_get_window text_view public static final synchron nativ void gtk text view visibl rect int text view gdk rectangl visibl rect public static final synchron nativ int gtk text view window int text view int win public static final synchron nativ int gtk text view gtk_text_view_get_visibl_rect text_view gdkrectangl visibl_rect gtk_text_view_get_window text_view gtk_text_view_new public static final synchron nativ int gtk text view window int text view int win public static final synchron nativ int gtk text view public static final synchron nativ void gtk text view scroll mark onscreen int text view int mark gtk_text_view_get_window text_view gtk_text_view_new gtk_text_view_scroll_mark_onscreen text_view public static final synchron nativ int gtk text view public static final synchron nativ void gtk text view scroll mark onscreen int text view int mark public static final synchron nativ boolean gtk text view scroll iter int text view byte iter doubl margin boolean align doubl xalign doubl yalign gtk_text_view_new gtk_text_view_scroll_mark_onscreen text_view gtk_text_view_scroll_to_iter text_view within_margin us_align public static final synchron nativ void gtk text view scroll mark onscreen int text view int mark public static final synchron nativ boolean gtk text view scroll iter int text view byte iter doubl margin boolean align doubl xalign doubl yalign public static final synchron nativ void gtk text view set edit int text view boolean set gtk_text_view_scroll_mark_onscreen text_view gtk_text_view_scroll_to_iter text_view within_margin us_align gtk_text_view_set_edit text_view public static final synchron nativ boolean gtk text view scroll iter int text view byte iter doubl margin boolean align doubl xalign doubl yalign public static final synchron nativ void gtk text view set edit int text view boolean set public static final synchron nativ void gtk text view set justif int text view int justif gtk_text_view_scroll_to_iter text_view within_margin us_align gtk_text_view_set_edit text_view gtk_text_view_set_justif text_view public static final synchron nativ void gtk text view set edit int text view boolean set public static final synchron nativ void gtk text view set justif int text view int justif public static final synchron nativ void gtk text view set tab int text view int tab gtk_text_view_set_edit text_view gtk_text_view_set_justif text_view gtk_text_view_set_tab text_view public static final synchron nativ void gtk text view set justif int text view int justif public static final synchron nativ void gtk text view set tab int text view int tab public static final synchron nativ void gtk text view set wrap mode int text view int wrap mode gtk_text_view_set_justif text_view gtk_text_view_set_tab text_view gtk_text_view_set_wrap_mode text_view wrap_mode public static final synchron nativ void gtk text view set tab int text view int tab public static final synchron nativ void gtk text view set wrap mode int text view int wrap mode public static final synchron nativ int gtk timeout add int interv int function int data gtk_text_view_set_tab text_view gtk_text_view_set_wrap_mode text_view wrap_mode gtk_timeout_add public static final synchron nativ void gtk text view set wrap mode int text view int wrap mode public static final synchron nativ int gtk timeout add int interv int function int data public static final synchron nativ void gtk timeout remov int timeout handler id gtk_text_view_set_wrap_mode text_view wrap_mode gtk_timeout_add gtk_timeout_remov timeout_handler_id public static final synchron nativ int gtk timeout add int interv int function int data public static final synchron nativ void gtk timeout remov int timeout handler id public static final synchron nativ boolean gtk toggl button activ int toggl button gtk_timeout_add gtk_timeout_remov timeout_handler_id gtk_toggl_button_get_activ toggl_button public static final synchron nativ void gtk timeout remov int timeout handler id public static final synchron nativ boolean gtk toggl button activ int toggl button public static final synchron nativ int gtk toggl button gtk_timeout_remov timeout_handler_id gtk_toggl_button_get_activ toggl_button gtk_toggl_button_new public static final synchron nativ boolean gtk toggl button activ int toggl button public static final synchron nativ int gtk toggl button public static final synchron nativ void gtk toggl button set activ int toggl button boolean activ gtk_toggl_button_get_activ toggl_button gtk_toggl_button_new gtk_toggl_button_set_activ toggl_button is_activ public static final synchron nativ int gtk toggl button public static final synchron nativ void gtk toggl button set activ int toggl button boolean activ public static final synchron nativ void gtk toggl button set mode int toggl button boolean draw indic gtk_toggl_button_new gtk_toggl_button_set_activ toggl_button is_activ gtk_toggl_button_set_mode toggl_button draw_indic public static final synchron nativ void gtk toggl button set activ int toggl button boolean activ public static final synchron nativ void gtk toggl button set mode int toggl button boolean draw indic public static final synchron nativ void gtk toolbar insert widget int toolbar int widget byte tooltip text byte tooltip privat text int posit gtk_toggl_button_set_activ toggl_button is_activ gtk_toggl_button_set_mode toggl_button draw_indic gtk_toolbar_insert_widget tooltip_text tooltip_privat_text public static final synchron nativ void gtk toggl button set mode int toggl button boolean draw indic public static final synchron nativ void gtk toolbar insert widget int toolbar int widget byte tooltip text byte tooltip privat text int posit public static final synchron nativ int gtk toolbar gtk_toggl_button_set_mode toggl_button draw_indic gtk_toolbar_insert_widget tooltip_text tooltip_privat_text gtk_toolbar_new public static final synchron nativ void gtk toolbar insert widget int toolbar int widget byte tooltip text byte tooltip privat text int posit public static final synchron nativ int gtk toolbar public static final synchron nativ void gtk toolbar set orient int toolbar int orient gtk_toolbar_insert_widget tooltip_text tooltip_privat_text gtk_toolbar_new gtk_toolbar_set_orient public static final synchron nativ int gtk toolbar public static final synchron nativ void gtk toolbar set orient int toolbar int orient public static final synchron nativ void gtk tooltip disabl int tooltip gtk_toolbar_new gtk_toolbar_set_orient gtk_tooltip_disabl public static final synchron nativ void gtk toolbar set orient int toolbar int orient public static final synchron nativ void gtk tooltip disabl int tooltip public static final synchron nativ void gtk tooltip enabl int tooltip gtk_toolbar_set_orient gtk_tooltip_disabl gtk_tooltip_enabl public static final synchron nativ void gtk tooltip disabl int tooltip public static final synchron nativ void gtk tooltip enabl int tooltip public static final synchron nativ int gtk tooltip gtk_tooltip_disabl gtk_tooltip_enabl gtk_tooltip_new public static final synchron nativ void gtk tooltip enabl int tooltip public static final synchron nativ int gtk tooltip public static final synchron nativ void gtk tooltip set tip int tooltip int widget byte tip text byte tip privat gtk_tooltip_enabl gtk_tooltip_new gtk_tooltip_set_tip tip_text tip_privat public static final synchron nativ int gtk tooltip public static final synchron nativ void gtk tooltip set tip int tooltip int widget byte tip text byte tip privat public static final synchron nativ void gtk tree model int tree model int iter int column int int termin gtk_tooltip_new gtk_tooltip_set_tip tip_text tip_privat gtk_tree_model_get tree_model public static final synchron nativ void gtk tooltip set tip int tooltip int widget byte tip text byte tip privat public static final synchron nativ void gtk tree model int tree model int iter int column int int termin public static final synchron nativ void gtk tree model int tree model int iter int column int termin gtk_tooltip_set_tip tip_text tip_privat gtk_tree_model_get tree_model gtk_tree_model_get tree_model public static final synchron nativ void gtk tree model int tree model int iter int column int int termin public static final synchron nativ void gtk tree model int tree model int iter int column int termin public static final synchron nativ boolean gtk tree model iter int tree model int iter int path gtk_tree_model_get tree_model gtk_tree_model_get tree_model gtk_tree_model_get_iter tree_model public static final synchron nativ void gtk tree model int tree model int iter int column int termin public static final synchron nativ boolean gtk tree model iter int tree model int iter int path public static final synchron nativ boolean gtk tree model iter int tree model int iter gtk_tree_model_get tree_model gtk_tree_model_get_iter tree_model gtk_tree_model_get_iter_first tree_model public static final synchron nativ boolean gtk tree model iter int tree model int iter int path public static final synchron nativ boolean gtk tree model iter int tree model int iter public static final synchron nativ int gtk tree model column int tree model gtk_tree_model_get_iter tree_model gtk_tree_model_get_iter_first tree_model gtk_tree_model_get_n_column tree_model public static final synchron nativ boolean gtk tree model iter int tree model int iter public static final synchron nativ int gtk tree model column int tree model public static final synchron nativ int gtk tree model path int tree model int iter gtk_tree_model_get_iter_first tree_model gtk_tree_model_get_n_column tree_model gtk_tree_model_get_path tree_model public static final synchron nativ int gtk tree model column int tree model public static final synchron nativ int gtk tree model path int tree model int iter public static final synchron nativ int gtk tree model type gtk_tree_model_get_n_column tree_model gtk_tree_model_get_path tree_model gtk_tree_model_get_type public static final synchron nativ int gtk tree model path int tree model int iter public static final synchron nativ int gtk tree model type public static final synchron nativ boolean gtk tree model iter children int model int iter int parent gtk_tree_model_get_path tree_model gtk_tree_model_get_type gtk_tree_model_iter_children public static final synchron nativ int gtk tree model type public static final synchron nativ boolean gtk tree model iter children int model int iter int parent public static final synchron nativ int gtk tree model iter children int model int iter gtk_tree_model_get_type gtk_tree_model_iter_children gtk_tree_model_iter_n_children public static final synchron nativ boolean gtk tree model iter children int model int iter int parent public static final synchron nativ int gtk tree model iter children int model int iter public static final synchron nativ boolean gtk tree model iter int model int iter gtk_tree_model_iter_children gtk_tree_model_iter_n_children gtk_tree_model_iter_next public static final synchron nativ int gtk tree model iter children int model int iter public static final synchron nativ boolean gtk tree model iter int model int iter public static final synchron nativ boolean gtk tree model iter nth child int tree model int iter int parent int gtk_tree_model_iter_n_children gtk_tree_model_iter_next gtk_tree_model_iter_nth_child tree_model public static final synchron nativ boolean gtk tree model iter int model int iter public static final synchron nativ boolean gtk tree model iter nth child int tree model int iter int parent int public static final synchron nativ void gtk tree path append index int path int index gtk_tree_model_iter_next gtk_tree_model_iter_nth_child tree_model gtk_tree_path_append_index public static final synchron nativ boolean gtk tree model iter nth child int tree model int iter int parent int public static final synchron nativ void gtk tree path append index int path int index public static final synchron nativ void gtk tree path free int path gtk_tree_model_iter_nth_child tree_model gtk_tree_path_append_index gtk_tree_path_free public static final synchron nativ void gtk tree path append index int path int index public static final synchron nativ void gtk tree path free int path public static final synchron nativ int gtk tree path depth int path gtk_tree_path_append_index gtk_tree_path_free gtk_tree_path_get_depth public static final synchron nativ void gtk tree path free int path public static final synchron nativ int gtk tree path depth int path public static final synchron nativ int gtk tree path indic int path gtk_tree_path_free gtk_tree_path_get_depth gtk_tree_path_get_indic public static final synchron nativ int gtk tree path depth int path public static final synchron nativ int gtk tree path indic int path public static final synchron nativ int gtk tree path gtk_tree_path_get_depth gtk_tree_path_get_indic gtk_tree_path_new public static final synchron nativ int gtk tree path indic int path public static final synchron nativ int gtk tree path public static final synchron nativ int gtk tree path gtk_tree_path_get_indic gtk_tree_path_new gtk_tree_path_new_first public static final synchron nativ int gtk tree path public static final synchron nativ int gtk tree path public static final synchron nativ int gtk tree path string byte path gtk_tree_path_new gtk_tree_path_new_first gtk_tree_path_new_from_string public static final synchron nativ int gtk tree path public static final synchron nativ int gtk tree path string byte path public static final synchron nativ int gtk tree path string int path gtk_tree_path_new_first gtk_tree_path_new_from_string gtk_tree_path_new_from_string public static final synchron nativ int gtk tree path string byte path public static final synchron nativ int gtk tree path string int path public static final synchron nativ boolean gtk tree path int path gtk_tree_path_new_from_string gtk_tree_path_new_from_string gtk_tree_path_up public static final synchron nativ int gtk tree path string int path public static final synchron nativ boolean gtk tree path int path public static final synchron nativ boolean gtk tree select select int select int model int iter gtk_tree_path_new_from_string gtk_tree_path_up gtk_tree_select_get_select public static final synchron nativ boolean gtk tree path int path public static final synchron nativ boolean gtk tree select select int select int model int iter public static final synchron nativ int gtk tree select select row int select int model gtk_tree_path_up gtk_tree_select_get_select gtk_tree_select_get_select_row public static final synchron nativ boolean gtk tree select select int select int model int iter public static final synchron nativ int gtk tree select select row int select int model public static final synchron nativ boolean gtk tree select path select int select int path gtk_tree_select_get_select gtk_tree_select_get_select_row gtk_tree_select_path_is_select public static final synchron nativ int gtk tree select select row int select int model public static final synchron nativ boolean gtk tree select path select int select int path public static final synchron nativ void gtk tree select select int select gtk_tree_select_get_select_row gtk_tree_select_path_is_select gtk_tree_select_select_all public static final synchron nativ boolean gtk tree select path select int select int path public static final synchron nativ void gtk tree select select int select public static final synchron nativ void gtk tree select select iter int select int iter gtk_tree_select_path_is_select gtk_tree_select_select_all gtk_tree_select_select_iter public static final synchron nativ void gtk tree select select int select public static final synchron nativ void gtk tree select select iter int select int iter public static final synchron nativ void gtk tree select select foreach int select int func int data gtk_tree_select_select_all gtk_tree_select_select_iter gtk_tree_select_select_foreach public static final synchron nativ void gtk tree select select iter int select int iter public static final synchron nativ void gtk tree select select foreach int select int func int data public static final synchron nativ void gtk tree select set mode int select int mode gtk_tree_select_select_iter gtk_tree_select_select_foreach gtk_tree_select_set_mode public static final synchron nativ void gtk tree select select foreach int select int func int data public static final synchron nativ void gtk tree select set mode int select int mode public static final synchron nativ void gtk tree select unselect int select gtk_tree_select_select_foreach gtk_tree_select_set_mode gtk_tree_select_unselect_all public static final synchron nativ void gtk tree select set mode int select int mode public static final synchron nativ void gtk tree select unselect int select public static final synchron nativ void gtk tree select unselect iter int select int iter gtk_tree_select_set_mode gtk_tree_select_unselect_all gtk_tree_select_unselect_iter public static final synchron nativ void gtk tree select unselect int select public static final synchron nativ void gtk tree select unselect iter int select int iter public static final synchron nativ void gtk tree store append int store int iter int parent gtk_tree_select_unselect_all gtk_tree_select_unselect_iter gtk_tree_store_append public static final synchron nativ void gtk tree select unselect iter int select int iter public static final synchron nativ void gtk tree store append int store int iter int parent public static final synchron nativ void gtk tree store clear int store gtk_tree_select_unselect_iter gtk_tree_store_append gtk_tree_store_clear public static final synchron nativ void gtk tree store append int store int iter int parent public static final synchron nativ void gtk tree store clear int store public static final synchron nativ void gtk tree store insert int store int iter int parent int posit gtk_tree_store_append gtk_tree_store_clear gtk_tree_store_insert public static final synchron nativ void gtk tree store clear int store public static final synchron nativ void gtk tree store insert int store int iter int parent int posit public static final synchron nativ int gtk tree store newv int num column int type gtk_tree_store_clear gtk_tree_store_insert gtk_tree_store_newv numcolumn public static final synchron nativ void gtk tree store insert int store int iter int parent int posit public static final synchron nativ int gtk tree store newv int num column int type public static final synchron nativ void gtk tree store remov int store int iter gtk_tree_store_insert gtk_tree_store_newv numcolumn gtk_tree_store_remov public static final synchron nativ int gtk tree store newv int num column int type public static final synchron nativ void gtk tree store remov int store int iter public static final synchron nativ void gtk tree store set int store int iter int column byte int termin gtk_tree_store_newv numcolumn gtk_tree_store_remov gtk_tree_store_set public static final synchron nativ void gtk tree store remov int store int iter public static final synchron nativ void gtk tree store set int store int iter int column byte int termin public static final synchron nativ void gtk tree store set int store int iter int column int int termin gtk_tree_store_remov gtk_tree_store_set gtk_tree_store_set public static final synchron nativ void gtk tree store set int store int iter int column byte int termin public static final synchron nativ void gtk tree store set int store int iter int column int int termin public static final synchron nativ void gtk tree store set int store int iter int column int termin gtk_tree_store_set gtk_tree_store_set gtk_tree_store_set public static final synchron nativ void gtk tree store set int store int iter int column int int termin public static final synchron nativ void gtk tree store set int store int iter int column int termin public static final synchron nativ void gtk tree store set int store int iter int column gdk color int termin gtk_tree_store_set gtk_tree_store_set gtk_tree_store_set gdkcolor public static final synchron nativ void gtk tree store set int store int iter int column int termin public static final synchron nativ void gtk tree store set int store int iter int column gdk color int termin public static final synchron nativ void gtk tree store set int store int iter int column boolean int termin gtk_tree_store_set gtk_tree_store_set gdkcolor gtk_tree_store_set public static final synchron nativ void gtk tree store set int store int iter int column gdk color int termin public static final synchron nativ void gtk tree store set int store int iter int column boolean int termin public static final synchron nativ boolean gtk tree view collaps row int view int path gtk_tree_store_set gdkcolor gtk_tree_store_set gtk_tree_view_collaps_row public static final synchron nativ void gtk tree store set int store int iter int column boolean int termin public static final synchron nativ boolean gtk tree view collaps row int view int path public static final synchron nativ void gtk tree view column add attribut int tree column int cell render string attribut int column gtk_tree_store_set gtk_tree_view_collaps_row gtk_tree_view_column_add_attribut treecolumn cellrender public static final synchron nativ boolean gtk tree view collaps row int view int path public static final synchron nativ void gtk tree view column add attribut int tree column int cell render string attribut int column public static final synchron nativ boolean gtk tree view column cell posit int tree column int cell render int start po int width gtk_tree_view_collaps_row gtk_tree_view_column_add_attribut treecolumn cellrender gtk_tree_view_column_cell_get_posit tree_column cell_render start_po public static final synchron nativ void gtk tree view column add attribut int tree column int cell render string attribut int column public static final synchron nativ boolean gtk tree view column cell posit int tree column int cell render int start po int width public static final synchron nativ void gtk tree view column cell size int tree column gdk rectangl cell area int offset int offset int width int height gtk_tree_view_column_add_attribut treecolumn cellrender gtk_tree_view_column_cell_get_posit tree_column cell_render start_po gtk_tree_view_column_cell_get_size tree_column gdkrectangl cell_area x_offset y_offset public static final synchron nativ boolean gtk tree view column cell posit int tree column int cell render int start po int width public static final synchron nativ void gtk tree view column cell size int tree column gdk rectangl cell area int offset int offset int width int height public static final synchron nativ void gtk tree view column cell set cell data int tree column int tree model int iter boolean expand boolean expand gtk_tree_view_column_cell_get_posit tree_column cell_render start_po gtk_tree_view_column_cell_get_size tree_column gdkrectangl cell_area x_offset y_offset gtk_tree_view_column_cell_set_cell_data tree_column tree_model is_expand is_expand public static final synchron nativ void gtk tree view column cell size int tree column gdk rectangl cell area int offset int offset int width int height public static final synchron nativ void gtk tree view column cell set cell data int tree column int tree model int iter boolean expand boolean expand public static final synchron nativ void gtk tree view column clear int tree column gtk_tree_view_column_cell_get_size tree_column gdkrectangl cell_area x_offset y_offset gtk_tree_view_column_cell_set_cell_data tree_column tree_model is_expand is_expand gtk_tree_view_column_clear tree_column public static final synchron nativ void gtk tree view column cell set cell data int tree column int tree model int iter boolean expand boolean expand public static final synchron nativ void gtk tree view column clear int tree column public static final synchron nativ int gtk tree view column cell render int tree column gtk_tree_view_column_cell_set_cell_data tree_column tree_model is_expand is_expand gtk_tree_view_column_clear tree_column gtk_tree_view_column_get_cell_render tree_column public static final synchron nativ void gtk tree view column clear int tree column public static final synchron nativ int gtk tree view column cell render int tree column public static final synchron nativ boolean gtk tree view column resiz int column gtk_tree_view_column_clear tree_column gtk_tree_view_column_get_cell_render tree_column gtk_tree_view_column_get_resiz public static final synchron nativ int gtk tree view column cell render int tree column public static final synchron nativ boolean gtk tree view column resiz int column public static final synchron nativ int gtk tree view column space int tree column gtk_tree_view_column_get_cell_render tree_column gtk_tree_view_column_get_resiz gtk_tree_view_column_get_space tree_column public static final synchron nativ boolean gtk tree view column resiz int column public static final synchron nativ int gtk tree view column space int tree column public static final synchron nativ boolean gtk tree view column visibl int column gtk_tree_view_column_get_resiz gtk_tree_view_column_get_space tree_column gtk_tree_view_column_get_visibl public static final synchron nativ int gtk tree view column space int tree column public static final synchron nativ boolean gtk tree view column visibl int column public static final synchron nativ int gtk tree view column width int column gtk_tree_view_column_get_space tree_column gtk_tree_view_column_get_visibl gtk_tree_view_column_get_width public static final synchron nativ boolean gtk tree view column visibl int column public static final synchron nativ int gtk tree view column width int column public static final synchron nativ int gtk tree view column gtk_tree_view_column_get_visibl gtk_tree_view_column_get_width gtk_tree_view_column_new public static final synchron nativ int gtk tree view column width int column public static final synchron nativ int gtk tree view column public static final synchron nativ void gtk tree view column pack start int tree column int cell render boolean expand gtk_tree_view_column_get_width gtk_tree_view_column_new gtk_tree_view_column_pack_start tree_column cell_render public static final synchron nativ int gtk tree view column public static final synchron nativ void gtk tree view column pack start int tree column int cell render boolean expand public static final synchron nativ void gtk tree view column pack end int tree column int cell render boolean expand gtk_tree_view_column_new gtk_tree_view_column_pack_start tree_column cell_render gtk_tree_view_column_pack_end tree_column cell_render public static final synchron nativ void gtk tree view column pack start int tree column int cell render boolean expand public static final synchron nativ void gtk tree view column pack end int tree column int cell render boolean expand public static final synchron nativ void gtk tree view column set align int tree column float xalign gtk_tree_view_column_pack_start tree_column cell_render gtk_tree_view_column_pack_end tree_column cell_render gtk_tree_view_column_set_align tree_column public static final synchron nativ void gtk tree view column pack end int tree column int cell render boolean expand public static final synchron nativ void gtk tree view column set align int tree column float xalign public static final synchron nativ void gtk tree view column set cell data func int tree column int cell render int func int func data int destroi gtk_tree_view_column_pack_end tree_column cell_render gtk_tree_view_column_set_align tree_column gtk_tree_view_column_set_cell_data_func tree_column cell_render func_data public static final synchron nativ void gtk tree view column set align int tree column float xalign public static final synchron nativ void gtk tree view column set cell data func int tree column int cell render int func int func data int destroi public static final synchron nativ void gtk tree view column set clickabl int column boolean clickabl gtk_tree_view_column_set_align tree_column gtk_tree_view_column_set_cell_data_func tree_column cell_render func_data gtk_tree_view_column_set_clickabl public static final synchron nativ void gtk tree view column set cell data func int tree column int cell render int func int func data int destroi public static final synchron nativ void gtk tree view column set clickabl int column boolean clickabl public static final synchron nativ void gtk tree view column set fix width int column int fix width gtk_tree_view_column_set_cell_data_func tree_column cell_render func_data gtk_tree_view_column_set_clickabl gtk_tree_view_column_set_fix_width fix_width public static final synchron nativ void gtk tree view column set clickabl int column boolean clickabl public static final synchron nativ void gtk tree view column set fix width int column int fix width public static final synchron nativ void gtk tree view column set resiz int column boolean resiz gtk_tree_view_column_set_clickabl gtk_tree_view_column_set_fix_width fix_width gtk_tree_view_column_set_resiz public static final synchron nativ void gtk tree view column set fix width int column int fix width public static final synchron nativ void gtk tree view column set resiz int column boolean resiz public static final synchron nativ void gtk tree view column set size int column int type gtk_tree_view_column_set_fix_width fix_width gtk_tree_view_column_set_resiz gtk_tree_view_column_set_size public static final synchron nativ void gtk tree view column set resiz int column boolean resiz public static final synchron nativ void gtk tree view column set size int column int type public static final synchron nativ void gtk tree view column set titl int tree column byte titl gtk_tree_view_column_set_resiz gtk_tree_view_column_set_size gtk_tree_view_column_set_titl tree_column public static final synchron nativ void gtk tree view column set size int column int type public static final synchron nativ void gtk tree view column set titl int tree column byte titl public static final synchron nativ void gtk tree view column set visibl int tree column boolean visibl gtk_tree_view_column_set_size gtk_tree_view_column_set_titl tree_column gtk_tree_view_column_set_visibl tree_column public static final synchron nativ void gtk tree view column set titl int tree column byte titl public static final synchron nativ void gtk tree view column set visibl int tree column boolean visibl public static final synchron nativ void gtk tree view column set widget int tree column int widget gtk_tree_view_column_set_titl tree_column gtk_tree_view_column_set_visibl tree_column gtk_tree_view_column_set_widget tree_column public static final synchron nativ void gtk tree view column set visibl int tree column boolean visibl public static final synchron nativ void gtk tree view column set widget int tree column int widget public static final synchron nativ void gtk tree view set drag dest row int view int path int po gtk_tree_view_column_set_visibl tree_column gtk_tree_view_column_set_widget tree_column gtk_tree_view_set_drag_dest_row public static final synchron nativ void gtk tree view column set widget int tree column int widget public static final synchron nativ void gtk tree view set drag dest row int view int path int po public static final synchron nativ boolean gtk tree view expand row int view int path boolean open gtk_tree_view_column_set_widget tree_column gtk_tree_view_set_drag_dest_row gtk_tree_view_expand_row open_all public static final synchron nativ void gtk tree view set drag dest row int view int path int po public static final synchron nativ boolean gtk tree view expand row int view int path boolean open public static final synchron nativ int gtk tree view bin window int tree view gtk_tree_view_set_drag_dest_row gtk_tree_view_expand_row open_all gtk_tree_view_get_bin_window tree_view public static final synchron nativ boolean gtk tree view expand row int view int path boolean open public static final synchron nativ int gtk tree view bin window int tree view public static final synchron nativ void gtk tree view cell area int tree view int path int column gdk rectangl rect gtk_tree_view_expand_row open_all gtk_tree_view_get_bin_window tree_view gtk_tree_view_get_cell_area tree_view gdkrectangl public static final synchron nativ int gtk tree view bin window int tree view public static final synchron nativ void gtk tree view cell area int tree view int path int column gdk rectangl rect public static final synchron nativ int gtk tree view expand column int tree view gtk_tree_view_get_bin_window tree_view gtk_tree_view_get_cell_area tree_view gdkrectangl gtk_tree_view_get_expand_column tree_view public static final synchron nativ void gtk tree view cell area int tree view int path int column gdk rectangl rect public static final synchron nativ int gtk tree view expand column int tree view public static final synchron nativ int gtk tree view column int tree view int gtk_tree_view_get_cell_area tree_view gdkrectangl gtk_tree_view_get_expand_column tree_view gtk_tree_view_get_column tree_view public static final synchron nativ int gtk tree view expand column int tree view public static final synchron nativ int gtk tree view column int tree view int public static final synchron nativ void gtk tree view cursor int tree view int path int focu column gtk_tree_view_get_expand_column tree_view gtk_tree_view_get_column tree_view gtk_tree_view_get_cursor tree_view focu_column public static final synchron nativ int gtk tree view column int tree view int public static final synchron nativ void gtk tree view cursor int tree view int path int focu column public static final synchron nativ boolean gtk tree view header visibl int tree view gtk_tree_view_get_column tree_view gtk_tree_view_get_cursor tree_view focu_column gtk_tree_view_get_header_visibl tree_view public static final synchron nativ void gtk tree view cursor int tree view int path int focu column public static final synchron nativ boolean gtk tree view header visibl int tree view public static final synchron nativ boolean gtk tree view path po int tree view int int int path int column int cell int cell gtk_tree_view_get_cursor tree_view focu_column gtk_tree_view_get_header_visibl tree_view gtk_tree_view_get_path_at_po tree_view cell_x cell_y public static final synchron nativ boolean gtk tree view header visibl int tree view public static final synchron nativ boolean gtk tree view path po int tree view int int int path int column int cell int cell public static final synchron nativ boolean gtk tree view rule hint int tree view gtk_tree_view_get_header_visibl tree_view gtk_tree_view_get_path_at_po tree_view cell_x cell_y gtk_tree_view_get_rule_hint tree_view public static final synchron nativ boolean gtk tree view path po int tree view int int int path int column int cell int cell public static final synchron nativ boolean gtk tree view rule hint int tree view public static final synchron nativ int gtk tree view select int tree view gtk_tree_view_get_path_at_po tree_view cell_x cell_y gtk_tree_view_get_rule_hint tree_view gtk_tree_view_get_select tree_view public static final synchron nativ boolean gtk tree view rule hint int tree view public static final synchron nativ int gtk tree view select int tree view public static final synchron nativ void gtk tree view visibl rect int tree view gdk rectangl visibl rect gtk_tree_view_get_rule_hint tree_view gtk_tree_view_get_select tree_view gtk_tree_view_get_visibl_rect tree_view gdkrectangl visibl_rect public static final synchron nativ int gtk tree view select int tree view public static final synchron nativ void gtk tree view visibl rect int tree view gdk rectangl visibl rect public static final synchron nativ int gtk tree view insert column int tree view int column int posit gtk_tree_view_get_select tree_view gtk_tree_view_get_visibl_rect tree_view gdkrectangl visibl_rect gtk_tree_view_insert_column tree_view public static final synchron nativ void gtk tree view visibl rect int tree view gdk rectangl visibl rect public static final synchron nativ int gtk tree view insert column int tree view int column int posit public static final synchron nativ int gtk tree view model int model gtk_tree_view_get_visibl_rect tree_view gdkrectangl visibl_rect gtk_tree_view_insert_column tree_view gtk_tree_view_new_with_model public static final synchron nativ int gtk tree view insert column int tree view int column int posit public static final synchron nativ int gtk tree view model int model public static final synchron nativ void gtk tree view remov column int tree view int column gtk_tree_view_insert_column tree_view gtk_tree_view_new_with_model gtk_tree_view_remov_column tree_view public static final synchron nativ int gtk tree view model int model public static final synchron nativ void gtk tree view remov column int tree view int column public static final synchron nativ boolean gtk tree view row expand int view int path gtk_tree_view_new_with_model gtk_tree_view_remov_column tree_view gtk_tree_view_row_expand public static final synchron nativ void gtk tree view remov column int tree view int column public static final synchron nativ boolean gtk tree view row expand int view int path public static final synchron nativ void gtk tree view scroll cell int tree view int path int column boolean align float row aligh float column align gtk_tree_view_remov_column tree_view gtk_tree_view_row_expand gtk_tree_view_scroll_to_cell tree_view us_align row_aligh column_align public static final synchron nativ boolean gtk tree view row expand int view int path public static final synchron nativ void gtk tree view scroll cell int tree view int path int column boolean align float row aligh float column align public static final synchron nativ void gtk tree view scroll point int tree view int tree int tree gtk_tree_view_row_expand gtk_tree_view_scroll_to_cell tree_view us_align row_aligh column_align gtk_tree_view_scroll_to_point tree_view tree_x tree_y public static final synchron nativ void gtk tree view scroll cell int tree view int path int column boolean align float row aligh float column align public static final synchron nativ void gtk tree view scroll point int tree view int tree int tree public static final synchron nativ void gtk tree view set cursor int tree view int path int focu column boolean start edit gtk_tree_view_scroll_to_cell tree_view us_align row_aligh column_align gtk_tree_view_scroll_to_point tree_view tree_x tree_y gtk_tree_view_set_cursor tree_view focu_column start_edit public static final synchron nativ void gtk tree view scroll point int tree view int tree int tree public static final synchron nativ void gtk tree view set cursor int tree view int path int focu column boolean start edit public static final synchron nativ void gtk tree view set header visibl int tree view boolean visibl gtk_tree_view_scroll_to_point tree_view tree_x tree_y gtk_tree_view_set_cursor tree_view focu_column start_edit gtk_tree_view_set_header_visibl tree_view public static final synchron nativ void gtk tree view set cursor int tree view int path int focu column boolean start edit public static final synchron nativ void gtk tree view set header visibl int tree view boolean visibl public static final synchron nativ void gtk tree view set model int tree view int model gtk_tree_view_set_cursor tree_view focu_column start_edit gtk_tree_view_set_header_visibl tree_view gtk_tree_view_set_model tree_view public static final synchron nativ void gtk tree view set header visibl int tree view boolean visibl public static final synchron nativ void gtk tree view set model int tree view int model public static final synchron nativ void gtk tree view set rule hint int tree view boolean set gtk_tree_view_set_header_visibl tree_view gtk_tree_view_set_model tree_view gtk_tree_view_set_rule_hint tree_view public static final synchron nativ void gtk tree view set model int tree view int model public static final synchron nativ void gtk tree view set rule hint int tree view boolean set public static final synchron nativ void gtk tree view tree widget coord int tree view int tx int ty int wx int wy gtk_tree_view_set_model tree_view gtk_tree_view_set_rule_hint tree_view gtk_tree_view_tree_to_widget_coord tree_view public static final synchron nativ void gtk tree view set rule hint int tree view boolean set public static final synchron nativ void gtk tree view tree widget coord int tree view int tx int ty int wx int wy public static final synchron nativ void gtk tree view unset row drag dest int tree view gtk_tree_view_set_rule_hint tree_view gtk_tree_view_tree_to_widget_coord tree_view gtk_tree_view_unset_row_drag_dest tree_view public static final synchron nativ void gtk tree view tree widget coord int tree view int tx int ty int wx int wy public static final synchron nativ void gtk tree view unset row drag dest int tree view public static final synchron nativ void gtk tree view widget tree coord int tree view int wx int wy int tx int ty gtk_tree_view_tree_to_widget_coord tree_view gtk_tree_view_unset_row_drag_dest tree_view gtk_tree_view_widget_to_tree_coord tree_view public static final synchron nativ void gtk tree view unset row drag dest int tree view public static final synchron nativ void gtk tree view widget tree coord int tree view int wx int wy int tx int ty public static final synchron nativ int gtk vbox boolean homogen int space gtk_tree_view_unset_row_drag_dest tree_view gtk_tree_view_widget_to_tree_coord tree_view gtk_vbox_new public static final synchron nativ void gtk tree view widget tree coord int tree view int wx int wy int tx int ty public static final synchron nativ int gtk vbox boolean homogen int space public static final synchron nativ int gtk vscale int adjust gtk_tree_view_widget_to_tree_coord tree_view gtk_vbox_new gtk_vscale_new public static final synchron nativ int gtk vbox boolean homogen int space public static final synchron nativ int gtk vscale int adjust public static final synchron nativ int gtk vscrollbar int adjust gtk_vbox_new gtk_vscale_new gtk_vscrollbar_new public static final synchron nativ int gtk vscale int adjust public static final synchron nativ int gtk vscrollbar int adjust public static final synchron nativ int gtk vsepar gtk_vscale_new gtk_vscrollbar_new gtk_vsepar_new public static final synchron nativ int gtk vscrollbar int adjust public static final synchron nativ int gtk vsepar public static final synchron nativ void gtk widget add acceler int widget byte accel signal int accel group int accel kei int accel mod int accel flag gtk_vscrollbar_new gtk_vsepar_new gtk_widget_add_acceler accel_signal accel_group accel_kei accel_mod accel_flag public static final synchron nativ int gtk vsepar public static final synchron nativ void gtk widget add acceler int widget byte accel signal int accel group int accel kei int accel mod int accel flag public static final synchron nativ void gtk widget add event int widget int event gtk_vsepar_new gtk_widget_add_acceler accel_signal accel_group accel_kei accel_mod accel_flag gtk_widget_add_event public static final synchron nativ void gtk widget add acceler int widget byte accel signal int accel group int accel kei int accel mod int accel flag public static final synchron nativ void gtk widget add event int widget int event public static final synchron nativ boolean gtk widget child focu int widget int direct gtk_widget_add_acceler accel_signal accel_group accel_kei accel_mod accel_flag gtk_widget_add_event gtk_widget_child_focu public static final synchron nativ void gtk widget add event int widget int event public static final synchron nativ boolean gtk widget child focu int widget int direct public static final synchron nativ int gtk widget creat pango layout int widget byte text gtk_widget_add_event gtk_widget_child_focu gtk_widget_creat_pango_layout public static final synchron nativ boolean gtk widget child focu int widget int direct public static final synchron nativ int gtk widget creat pango layout int widget byte text public static final synchron nativ int gtk widget creat pango layout int widget int text gtk_widget_child_focu gtk_widget_creat_pango_layout gtk_widget_creat_pango_layout public static final synchron nativ int gtk widget creat pango layout int widget byte text public static final synchron nativ int gtk widget creat pango layout int widget int text public static final synchron nativ void gtk widget destroi int widget gtk_widget_creat_pango_layout gtk_widget_creat_pango_layout gtk_widget_destroi public static final synchron nativ int gtk widget creat pango layout int widget int text public static final synchron nativ void gtk widget destroi int widget public static final synchron nativ boolean gtk widget event int widget int event gtk_widget_creat_pango_layout gtk_widget_destroi gtk_widget_event public static final synchron nativ void gtk widget destroi int widget public static final synchron nativ boolean gtk widget event int widget int event public static final synchron nativ int gtk widget default direct gtk_widget_destroi gtk_widget_event gtk_widget_get_default_direct public static final synchron nativ boolean gtk widget event int widget int event public static final synchron nativ int gtk widget default direct public static final synchron nativ int gtk widget default style gtk_widget_event gtk_widget_get_default_direct gtk_widget_get_default_style public static final synchron nativ int gtk widget default direct public static final synchron nativ int gtk widget default style public static final synchron nativ int gtk widget direct int widget gtk_widget_get_default_direct gtk_widget_get_default_style gtk_widget_get_direct public static final synchron nativ int gtk widget default style public static final synchron nativ int gtk widget direct int widget public static final synchron nativ int gtk widget event int widget gtk_widget_get_default_style gtk_widget_get_direct gtk_widget_get_event public static final synchron nativ int gtk widget direct int widget public static final synchron nativ int gtk widget event int widget public static final synchron nativ int gtk widget modifi style int widget gtk_widget_get_direct gtk_widget_get_event gtk_widget_get_modifi_style public static final synchron nativ int gtk widget event int widget public static final synchron nativ int gtk widget modifi style int widget public static final synchron nativ int gtk widget pango context int widget gtk_widget_get_event gtk_widget_get_modifi_style gtk_widget_get_pango_context public static final synchron nativ int gtk widget modifi style int widget public static final synchron nativ int gtk widget pango context int widget public static final synchron nativ int gtk widget parent int widget gtk_widget_get_modifi_style gtk_widget_get_pango_context gtk_widget_get_parent public static final synchron nativ int gtk widget pango context int widget public static final synchron nativ int gtk widget parent int widget public static final synchron nativ int gtk widget style int widget gtk_widget_get_pango_context gtk_widget_get_parent gtk_widget_get_style public static final synchron nativ int gtk widget parent int widget public static final synchron nativ int gtk widget style int widget public static final synchron nativ void gtk widget grab focu int widget gtk_widget_get_parent gtk_widget_get_style gtk_widget_grab_focu public static final synchron nativ int gtk widget style int widget public static final synchron nativ void gtk widget grab focu int widget public static final synchron nativ void gtk widget hide int widget gtk_widget_get_style gtk_widget_grab_focu gtk_widget_hide public static final synchron nativ void gtk widget grab focu int widget public static final synchron nativ void gtk widget hide int widget public static final synchron nativ boolean gtk widget focu int widget gtk_widget_grab_focu gtk_widget_hide gtk_widget_is_focu public static final synchron nativ void gtk widget hide int widget public static final synchron nativ boolean gtk widget focu int widget public static final synchron nativ boolean gtk widget mnemon activ int widget boolean group cycl gtk_widget_hide gtk_widget_is_focu gtk_widget_mnemon_activ group_cycl public static final synchron nativ boolean gtk widget focu int widget public static final synchron nativ boolean gtk widget mnemon activ int widget boolean group cycl public static final synchron nativ void gtk widget modifi base int widget int gdk color color gtk_widget_is_focu gtk_widget_mnemon_activ group_cycl gtk_widget_modifi_base gdkcolor public static final synchron nativ boolean gtk widget mnemon activ int widget boolean group cycl public static final synchron nativ void gtk widget modifi base int widget int gdk color color public static final synchron nativ void gtk widget modifi bg int widget int gdk color color gtk_widget_mnemon_activ group_cycl gtk_widget_modifi_base gdkcolor gtk_widget_modifi_bg gdkcolor public static final synchron nativ void gtk widget modifi base int widget int gdk color color public static final synchron nativ void gtk widget modifi bg int widget int gdk color color public static final synchron nativ void gtk widget modifi fg int widget int gdk color color gtk_widget_modifi_base gdkcolor gtk_widget_modifi_bg gdkcolor gtk_widget_modifi_fg gdkcolor public static final synchron nativ void gtk widget modifi bg int widget int gdk color color public static final synchron nativ void gtk widget modifi fg int widget int gdk color color public static final synchron nativ void gtk widget modifi font int widget int pango font descr gtk_widget_modifi_bg gdkcolor gtk_widget_modifi_fg gdkcolor gtk_widget_modifi_font pango_font_descr public static final synchron nativ void gtk widget modifi fg int widget int gdk color color public static final synchron nativ void gtk widget modifi font int widget int pango font descr public static final synchron nativ void gtk widget modifi style int widget int style gtk_widget_modifi_fg gdkcolor gtk_widget_modifi_font pango_font_descr gtk_widget_modifi_style public static final synchron nativ void gtk widget modifi font int widget int pango font descr public static final synchron nativ void gtk widget modifi style int widget int style public static final synchron nativ void gtk widget modifi text int widget int gdk color color gtk_widget_modifi_font pango_font_descr gtk_widget_modifi_style gtk_widget_modifi_text gdkcolor public static final synchron nativ void gtk widget modifi style int widget int style public static final synchron nativ void gtk widget modifi text int widget int gdk color color public static final synchron nativ void gtk widget realiz int widget gtk_widget_modifi_style gtk_widget_modifi_text gdkcolor gtk_widget_realiz public static final synchron nativ void gtk widget modifi text int widget int gdk color color public static final synchron nativ void gtk widget realiz int widget public static final synchron nativ void gtk widget remov acceler int widget int accel group int accel kei int accel mod gtk_widget_modifi_text gdkcolor gtk_widget_realiz gtk_widget_remov_acceler accel_group accel_kei accel_mod public static final synchron nativ void gtk widget realiz int widget public static final synchron nativ void gtk widget remov acceler int widget int accel group int accel kei int accel mod public static final synchron nativ void gtk widget repar int widget int parent gtk_widget_realiz gtk_widget_remov_acceler accel_group accel_kei accel_mod gtk_widget_repar new_parent public static final synchron nativ void gtk widget remov acceler int widget int accel group int accel kei int accel mod public static final synchron nativ void gtk widget repar int widget int parent public static final synchron nativ void gtk widget set default direct int dir gtk_widget_remov_acceler accel_group accel_kei accel_mod gtk_widget_repar new_parent gtk_widget_set_default_direct public static final synchron nativ void gtk widget repar int widget int parent public static final synchron nativ void gtk widget set default direct int dir public static final synchron nativ void gtk widget set direct int widget int dir gtk_widget_repar new_parent gtk_widget_set_default_direct gtk_widget_set_direct public static final synchron nativ void gtk widget set default direct int dir public static final synchron nativ void gtk widget set direct int widget int dir public static final synchron nativ void gtk widget set doubl buffer int widget boolean doubl buffer gtk_widget_set_default_direct gtk_widget_set_direct gtk_widget_set_doubl_buffer doubl_buffer public static final synchron nativ void gtk widget set direct int widget int dir public static final synchron nativ void gtk widget set doubl buffer int widget boolean doubl buffer public static final synchron nativ void gtk widget set int widget byte gtk_widget_set_direct gtk_widget_set_doubl_buffer doubl_buffer gtk_widget_set_name public static final synchron nativ void gtk widget set doubl buffer int widget boolean doubl buffer public static final synchron nativ void gtk widget set int widget byte public static final synchron nativ void gtk widget set redraw alloc int widget boolean redraw gtk_widget_set_doubl_buffer doubl_buffer gtk_widget_set_name gtk_widget_set_redraw_on_alloc public static final synchron nativ void gtk widget set int widget byte public static final synchron nativ void gtk widget set redraw alloc int widget boolean redraw public static final synchron nativ void gtk widget set sensit int widget boolean sensit gtk_widget_set_name gtk_widget_set_redraw_on_alloc gtk_widget_set_sensit public static final synchron nativ void gtk widget set redraw alloc int widget boolean redraw public static final synchron nativ void gtk widget set sensit int widget boolean sensit public static final synchron nativ void gtk widget set size request int widget int width int height gtk_widget_set_redraw_on_alloc gtk_widget_set_sensit gtk_widget_set_size_request public static final synchron nativ void gtk widget set sensit int widget boolean sensit public static final synchron nativ void gtk widget set size request int widget int width int height public static final synchron nativ void gtk widget set int widget int gtk_widget_set_sensit gtk_widget_set_size_request gtk_widget_set_state public static final synchron nativ void gtk widget set size request int widget int width int height public static final synchron nativ void gtk widget set int widget int public static final synchron nativ void gtk widget shape combin mask int widget int shape mask int offset int offset gtk_widget_set_size_request gtk_widget_set_state gtk_widget_shape_combin_mask shape_mask offset_x offset_y public static final synchron nativ void gtk widget set int widget int public static final synchron nativ void gtk widget shape combin mask int widget int shape mask int offset int offset public static final synchron nativ void gtk widget show int widget gtk_widget_set_state gtk_widget_shape_combin_mask shape_mask offset_x offset_y gtk_widget_show public static final synchron nativ void gtk widget shape combin mask int widget int shape mask int offset int offset public static final synchron nativ void gtk widget show int widget public static final synchron nativ void gtk widget show int widget gtk_widget_shape_combin_mask shape_mask offset_x offset_y gtk_widget_show gtk_widget_show_now public static final synchron nativ void gtk widget show int widget public static final synchron nativ void gtk widget show int widget public static final synchron nativ void gtk widget size alloc int widget gtk alloc alloc gtk_widget_show gtk_widget_show_now gtk_widget_size_alloc gtkalloc public static final synchron nativ void gtk widget show int widget public static final synchron nativ void gtk widget size alloc int widget gtk alloc alloc public static final synchron nativ void gtk widget size request int widget gtk requisit requisit gtk_widget_show_now gtk_widget_size_alloc gtkalloc gtk_widget_size_request gtkrequisit public static final synchron nativ void gtk widget size alloc int widget gtk alloc alloc public static final synchron nativ void gtk widget size request int widget gtk requisit requisit public static final synchron nativ void gtk widget style int widget byte properti int int null termin gtk_widget_size_alloc gtkalloc gtk_widget_size_request gtkrequisit gtk_widget_style_get properti_name null_termin public static final synchron nativ void gtk widget size request int widget gtk requisit requisit public static final synchron nativ void gtk widget style int widget byte properti int int null termin public static final synchron nativ void gtk widget unreal int widget gtk_widget_size_request gtkrequisit gtk_widget_style_get properti_name null_termin gtk_widget_unreal public static final synchron nativ void gtk widget style int widget byte properti int int null termin public static final synchron nativ void gtk widget unreal int widget public static final synchron nativ boolean gtk window activ default int window gtk_widget_style_get properti_name null_termin gtk_widget_unreal gtk_window_activ_default public static final synchron nativ void gtk widget unreal int widget public static final synchron nativ boolean gtk window activ default int window public static final synchron nativ void gtk window add accel group int window int accel group gtk_widget_unreal gtk_window_activ_default gtk_window_add_accel_group accel_group public static final synchron nativ boolean gtk window activ default int window public static final synchron nativ void gtk window add accel group int window int accel group public static final synchron nativ void gtk window deiconifi int handl gtk_window_activ_default gtk_window_add_accel_group accel_group gtk_window_deiconifi public static final synchron nativ void gtk window add accel group int window int accel group public static final synchron nativ void gtk window deiconifi int handl public static final synchron nativ int gtk window focu int window gtk_window_add_accel_group accel_group gtk_window_deiconifi gtk_window_get_focu public static final synchron nativ void gtk window deiconifi int handl public static final synchron nativ int gtk window focu int window public static final synchron nativ int gtk window mnemon modifi int window gtk_window_deiconifi gtk_window_get_focu gtk_window_get_mnemon_modifi public static final synchron nativ int gtk window focu int window public static final synchron nativ int gtk window mnemon modifi int window public static final synchron nativ void gtk window posit int handl int int gtk_window_get_focu gtk_window_get_mnemon_modifi gtk_window_get_posit public static final synchron nativ int gtk window mnemon modifi int window public static final synchron nativ void gtk window posit int handl int int public static final synchron nativ void gtk window size int handl int int gtk_window_get_mnemon_modifi gtk_window_get_posit gtk_window_get_size public static final synchron nativ void gtk window posit int handl int int public static final synchron nativ void gtk window size int handl int int public static final synchron nativ void gtk window iconifi int handl gtk_window_get_posit gtk_window_get_size gtk_window_iconifi public static final synchron nativ void gtk window size int handl int int public static final synchron nativ void gtk window iconifi int handl public static final synchron nativ void gtk window maxim int handl gtk_window_get_size gtk_window_iconifi gtk_window_maxim public static final synchron nativ void gtk window iconifi int handl public static final synchron nativ void gtk window maxim int handl public static final synchron nativ void gtk window move int handl int int gtk_window_iconifi gtk_window_maxim gtk_window_move public static final synchron nativ void gtk window maxim int handl public static final synchron nativ void gtk window move int handl int int public static final synchron nativ int gtk window int type gtk_window_maxim gtk_window_move gtk_window_new public static final synchron nativ void gtk window move int handl int int public static final synchron nativ int gtk window int type public static final synchron nativ void gtk window present int window gtk_window_move gtk_window_new gtk_window_present public static final synchron nativ int gtk window int type public static final synchron nativ void gtk window present int window public static final synchron nativ void gtk window remov accel group int window int accel group gtk_window_new gtk_window_present gtk_window_remov_accel_group accel_group public static final synchron nativ void gtk window present int window public static final synchron nativ void gtk window remov accel group int window int accel group public static final synchron nativ void gtk window resiz int handl int int gtk_window_present gtk_window_remov_accel_group accel_group gtk_window_resiz public static final synchron nativ void gtk window remov accel group int window int accel group public static final synchron nativ void gtk window resiz int handl int int public static final synchron nativ void gtk window set default int window int widget gtk_window_remov_accel_group accel_group gtk_window_resiz gtk_window_set_default public static final synchron nativ void gtk window resiz int handl int int public static final synchron nativ void gtk window set default int window int widget public static final synchron nativ void gtk window set destroi parent int window boolean set gtk_window_resiz gtk_window_set_default gtk_window_set_destroi_with_parent public static final synchron nativ void gtk window set default int window int widget public static final synchron nativ void gtk window set destroi parent int window boolean set public static final synchron nativ void gtk window set modal int window boolean modal gtk_window_set_default gtk_window_set_destroi_with_parent gtk_window_set_modal public static final synchron nativ void gtk window set destroi parent int window boolean set public static final synchron nativ void gtk window set modal int window boolean modal public static final synchron nativ void gtk window set resiz int window boolean resiz gtk_window_set_destroi_with_parent gtk_window_set_modal gtk_window_set_resiz public static final synchron nativ void gtk window set modal int window boolean modal public static final synchron nativ void gtk window set resiz int window boolean resiz public static final synchron nativ void gtk window set titl int window byte titl gtk_window_set_modal gtk_window_set_resiz gtk_window_set_titl public static final synchron nativ void gtk window set resiz int window boolean resiz public static final synchron nativ void gtk window set titl int window byte titl public static final synchron nativ void gtk window set type hint int window int hint gtk_window_set_resiz gtk_window_set_titl gtk_window_set_type_hint public static final synchron nativ void gtk window set titl int window byte titl public static final synchron nativ void gtk window set type hint int window int hint public static final synchron nativ void gtk window set transient int window int parent gtk_window_set_titl gtk_window_set_type_hint gtk_window_set_transient_for public static final synchron nativ void gtk window set type hint int window int hint public static final synchron nativ void gtk window set transient int window int parent public static final synchron nativ void gtk window unmaxim int handl gtk_window_set_type_hint gtk_window_set_transient_for gtk_window_unmaxim public static final synchron nativ void gtk window set transient int window int parent public static final synchron nativ void gtk window unmaxim int handl public static final nativ void memmov int dest gtk target entri src int size gtk_window_set_transient_for gtk_window_unmaxim gtktargetentri public static final synchron nativ void gtk window unmaxim int handl public static final nativ void memmov int dest gtk target entri src int size public static final nativ void memmov int dest gtk adjust src gtk_window_unmaxim gtktargetentri gtkadjust public static final nativ void memmov int dest gtk target entri src int size public static final nativ void memmov int dest gtk adjust src public static final nativ void memmov int dest gdk event button src int size gtktargetentri gtkadjust gdkeventbutton public static final nativ void memmov int dest gtk adjust src public static final nativ void memmov int dest gdk event button src int size public static final nativ void memmov int dest pango attribut src int size gtkadjust gdkeventbutton pangoattribut public static final nativ void memmov int dest gdk event button src int size public static final nativ void memmov int dest pango attribut src int size public static final nativ void memmov gtk color select dialog dest int src gdkeventbutton pangoattribut gtkcolorselectiondialog public static final nativ void memmov int dest pango attribut src int size public static final nativ void memmov gtk color select dialog dest int src public static final nativ void memmov gtk file select dest int src pangoattribut gtkcolorselectiondialog gtkfileselect public static final nativ void memmov gtk color select dialog dest int src public static final nativ void memmov gtk file select dest int src public static final nativ void memmov gdk drag context dest int src int size gtkcolorselectiondialog gtkfileselect gdkdragcontext public static final nativ void memmov gtk file select dest int src public static final nativ void memmov gdk drag context dest int src int size public static final nativ void memmov gtk select data dest int src int size gtkfileselect gdkdragcontext gtkselectiondata public static final nativ void memmov gdk drag context dest int src int size public static final nativ void memmov gtk select data dest int src int size public static final nativ void memmov gtk target pair dest int src int size gdkdragcontext gtkselectiondata gtktargetpair public static final nativ void memmov gtk select data dest int src int size public static final nativ void memmov gtk target pair dest int src int size public static final nativ void memmov gtk combo dest int src gtkselectiondata gtktargetpair gtkcombo public static final nativ void memmov gtk target pair dest int src int size public static final nativ void memmov gtk combo dest int src public static final nativ void memmov gtk adjust dest int src gtktargetpair gtkcombo gtkadjust public static final nativ void memmov gtk combo dest int src public static final nativ void memmov gtk adjust dest int src public static final nativ void memmov gdk color dest int src int size gtkcombo gtkadjust gdkcolor public static final nativ void memmov gtk adjust dest int src public static final nativ void memmov gdk color dest int src int size public static final nativ void memmov gdk event dest int src int size gtkadjust gdkcolor gdkevent public static final nativ void memmov gdk color dest int src int size public static final nativ void memmov gdk event dest int src int size public static final nativ void memmov gdk event button dest int src int size gdkcolor gdkevent gdkeventbutton public static final nativ void memmov gdk event dest int src int size public static final nativ void memmov gdk event button dest int src int size public static final nativ void memmov gdk event cross dest int src int size gdkevent gdkeventbutton gdkeventcross public static final nativ void memmov gdk event button dest int src int size public static final nativ void memmov gdk event cross dest int src int size public static final nativ void memmov gdk event expos dest int src int size gdkeventbutton gdkeventcross gdkeventexpos public static final nativ void memmov gdk event cross dest int src int size public static final nativ void memmov gdk event expos dest int src int size public static final nativ void memmov gdk event focu dest int src int size gdkeventcross gdkeventexpos gdkeventfocu public static final nativ void memmov gdk event expos dest int src int size public static final nativ void memmov gdk event focu dest int src int size public static final nativ void memmov gdk event kei dest int src int size gdkeventexpos gdkeventfocu gdkeventkei public static final nativ void memmov gdk event focu dest int src int size public static final nativ void memmov gdk event kei dest int src int size public static final nativ void memmov gdk event motion dest int src int size gdkeventfocu gdkeventkei gdkeventmot public static final nativ void memmov gdk event kei dest int src int size public static final nativ void memmov gdk event motion dest int src int size public static final nativ void memmov gdk event visibl dest int src int size gdkeventkei gdkeventmot gdkeventvis public static final nativ void memmov gdk event motion dest int src int size public static final nativ void memmov gdk event visibl dest int src int size public static final nativ void memmov gdk event window dest int src int size gdkeventmot gdkeventvis gdkeventwindowst public static final nativ void memmov gdk event visibl dest int src int size public static final nativ void memmov gdk event window dest int src int size public static final nativ void memmov gtk fix dest int src gdkeventvis gdkeventwindowst gtkfix public static final nativ void memmov gdk event window dest int src int size public static final nativ void memmov gtk fix dest int src public static final nativ void memmov int dest gtk fix src gdkeventwindowst gtkfix gtkfix public static final nativ void memmov gtk fix dest int src public static final nativ void memmov int dest gtk fix src public static final nativ void memmov gdk visual dest int src gtkfix gtkfix gdkvisual public static final nativ void memmov int dest gtk fix src public static final nativ void memmov gdk visual dest int src public static final nativ void memmov gdk imag dest int src gtkfix gdkvisual gdkimag public static final nativ void memmov gdk visual dest int src public static final nativ void memmov gdk imag dest int src public static final nativ void memmov gdk rectangl dest int src int size gdkvisual gdkimag gdkrectangl public static final nativ void memmov gdk imag dest int src public static final nativ void memmov gdk rectangl dest int src int size public static final nativ void memmov pango attribut dest int src int size gdkimag gdkrectangl pangoattribut public static final nativ void memmov gdk rectangl dest int src int size public static final nativ void memmov pango attribut dest int src int size public static final nativ void memmov pango item dest int src int size gdkrectangl pangoattribut pangoitem public static final nativ void memmov pango attribut dest int src int size public static final nativ void memmov pango item dest int src int size public static final nativ void memmov pango layout line dest int src int size pangoattribut pangoitem pangolayoutlin public static final nativ void memmov pango item dest int src int size public static final nativ void memmov pango layout line dest int src int size public static final nativ void memmov pango layout run dest int src int size pangoitem pangolayoutlin pangolayoutrun public static final nativ void memmov pango layout line dest int src int size public static final nativ void memmov pango layout run dest int src int size public static final nativ void memmov pango log attr dest int src int size pangolayoutlin pangolayoutrun pangologattr public static final nativ void memmov pango layout run dest int src int size public static final nativ void memmov pango log attr dest int src int size public static final nativ void memmov int dest int src int size pangolayoutrun pangologattr public static final nativ void memmov pango log attr dest int src int size public static final nativ void memmov int dest int src int size public static final nativ void memmov int dest byte src int size pangologattr public static final nativ void memmov int dest int src int size public static final nativ void memmov int dest byte src int size public static final nativ void memmov int dest byte src int size public static final nativ void memmov int dest byte src int size public static final nativ void memmov int dest byte src int size public static final nativ void memmov byte dest int src int size public static final nativ void memmov int dest byte src int size public static final nativ void memmov byte dest int src int size public static final nativ void memmov char dest int src int size public static final nativ void memmov byte dest int src int size public static final nativ void memmov char dest int src int size public static final nativ void memmov int dest int src int size public static final nativ void memmov char dest int src int size public static final nativ void memmov int dest int src int size public static final nativ void memmov dest int src int size public static final nativ void memmov int dest int src int size public static final nativ void memmov dest int src int size public static final nativ void memset int buffer char int num public static final nativ void memmov dest int src int size public static final nativ void memset int buffer char int num public static final synchron nativ int pango attr background short red short green short blue pango_attr_background_new public static final nativ void memset int buffer char int num public static final synchron nativ int pango attr background short red short green short blue public static final synchron nativ int pango attr font desc int desc pango_attr_background_new pango_attr_font_desc_new public static final synchron nativ int pango attr background short red short green short blue public static final synchron nativ int pango attr font desc int desc public static final synchron nativ int pango attr foreground short red short green short blue pango_attr_background_new pango_attr_font_desc_new pango_attr_foreground_new public static final synchron nativ int pango attr font desc int desc public static final synchron nativ int pango attr foreground short red short green short blue public static final synchron nativ int pango attr shape pango rectangl ink rect pango rectangl logic rect pango_attr_font_desc_new pango_attr_foreground_new pango_attr_shape_new pangorectangl ink_rect pangorectangl logic_rect public static final synchron nativ int pango attr foreground short red short green short blue public static final synchron nativ int pango attr shape pango rectangl ink rect pango rectangl logic rect public static final synchron nativ void pango attr list insert int list int attr pango_attr_foreground_new pango_attr_shape_new pangorectangl ink_rect pangorectangl logic_rect pango_attr_list_insert public static final synchron nativ int pango attr shape pango rectangl ink rect pango rectangl logic rect public static final synchron nativ void pango attr list insert int list int attr public static final synchron nativ void pango attr list chang int list int attr pango_attr_shape_new pangorectangl ink_rect pangorectangl logic_rect pango_attr_list_insert pango_attr_list_chang public static final synchron nativ void pango attr list insert int list int attr public static final synchron nativ void pango attr list chang int list int attr public static final synchron nativ int pango attr list pango_attr_list_insert pango_attr_list_chang pango_attr_list_new public static final synchron nativ void pango attr list chang int list int attr public static final synchron nativ int pango attr list public static final synchron nativ void pango attr list unref int list pango_attr_list_chang pango_attr_list_new pango_attr_list_unref public static final synchron nativ int pango attr list public static final synchron nativ void pango attr list unref int list public static final synchron nativ int pango attr strikethrough boolean strikethrough pango_attr_list_new pango_attr_list_unref pango_attr_strikethrough_new public static final synchron nativ void pango attr list unref int list public static final synchron nativ int pango attr strikethrough boolean strikethrough public static final synchron nativ int pango attr underlin int underlin pango_attr_list_unref pango_attr_strikethrough_new pango_attr_underlin_new public static final synchron nativ int pango attr strikethrough boolean strikethrough public static final synchron nativ int pango attr underlin int underlin public static final synchron nativ int pango attr weight int weight pango_attr_strikethrough_new pango_attr_underlin_new pango_attr_weight_new public static final synchron nativ int pango attr underlin int underlin public static final synchron nativ int pango attr weight int weight public static final synchron nativ int pango context base dir int context pango_attr_underlin_new pango_attr_weight_new pango_context_get_base_dir public static final synchron nativ int pango attr weight int weight public static final synchron nativ int pango context base dir int context public static final synchron nativ int pango context languag int context pango_attr_weight_new pango_context_get_base_dir pango_context_get_languag public static final synchron nativ int pango context base dir int context public static final synchron nativ int pango context languag int context public static final synchron nativ int pango context metric int context int desc int languag pango_context_get_base_dir pango_context_get_languag pango_context_get_metric public static final synchron nativ int pango context languag int context public static final synchron nativ int pango context metric int context int desc int languag public static final synchron nativ void pango context list famili int context int famili int famili pango_context_get_languag pango_context_get_metric pango_context_list_famili n_famili public static final synchron nativ int pango context metric int context int desc int languag public static final synchron nativ void pango context list famili int context int famili int famili public static final synchron nativ void pango context set base dir int context int direct pango_context_get_metric pango_context_list_famili n_famili pango_context_set_base_dir public static final synchron nativ void pango context list famili int context int famili int famili public static final synchron nativ void pango context set base dir int context int direct public static final synchron nativ void pango context set languag int context int languag pango_context_list_famili n_famili pango_context_set_base_dir pango_context_set_languag public static final synchron nativ void pango context set base dir int context int direct public static final synchron nativ void pango context set languag int context int languag public static final synchron nativ int pango font descript copi int desc pango_context_set_base_dir pango_context_set_languag pango_font_descript_copi public static final synchron nativ void pango context set languag int context int languag public static final synchron nativ int pango font descript copi int desc public static final synchron nativ void pango font descript free int desc pango_context_set_languag pango_font_descript_copi pango_font_descript_free public static final synchron nativ int pango font descript copi int desc public static final synchron nativ void pango font descript free int desc public static final synchron nativ int pango font descript string byte str pango_font_descript_copi pango_font_descript_free pango_font_descript_from_string public static final synchron nativ void pango font descript free int desc public static final synchron nativ int pango font descript string byte str public static final synchron nativ int pango font descript famili int desc pango_font_descript_free pango_font_descript_from_string pango_font_descript_get_famili public static final synchron nativ int pango font descript string byte str public static final synchron nativ int pango font descript famili int desc public static final synchron nativ int pango font descript size int desc pango_font_descript_from_string pango_font_descript_get_famili pango_font_descript_get_size public static final synchron nativ int pango font descript famili int desc public static final synchron nativ int pango font descript size int desc public static final synchron nativ int pango font descript style int desc pango_font_descript_get_famili pango_font_descript_get_size pango_font_descript_get_style public static final synchron nativ int pango font descript size int desc public static final synchron nativ int pango font descript style int desc public static final synchron nativ int pango font descript weight int desc pango_font_descript_get_size pango_font_descript_get_style pango_font_descript_get_weight public static final synchron nativ int pango font descript style int desc public static final synchron nativ int pango font descript weight int desc public static final synchron nativ int pango font descript pango_font_descript_get_style pango_font_descript_get_weight pango_font_descript_new public static final synchron nativ int pango font descript weight int desc public static final synchron nativ int pango font descript public static final synchron nativ void pango font descript set famili int desc byte famili pango_font_descript_get_weight pango_font_descript_new pango_font_descript_set_famili public static final synchron nativ int pango font descript public static final synchron nativ void pango font descript set famili int desc byte famili public static final synchron nativ void pango font descript set size int desc int size pango_font_descript_new pango_font_descript_set_famili pango_font_descript_set_size public static final synchron nativ void pango font descript set famili int desc byte famili public static final synchron nativ void pango font descript set size int desc int size public static final synchron nativ void pango font descript set stretch int desc int stretch pango_font_descript_set_famili pango_font_descript_set_size pango_font_descript_set_stretch public static final synchron nativ void pango font descript set size int desc int size public static final synchron nativ void pango font descript set stretch int desc int stretch public static final synchron nativ void pango font descript set style int desc int weight pango_font_descript_set_size pango_font_descript_set_stretch pango_font_descript_set_style public static final synchron nativ void pango font descript set stretch int desc int stretch public static final synchron nativ void pango font descript set style int desc int weight public static final synchron nativ void pango font descript set weight int desc int weight pango_font_descript_set_stretch pango_font_descript_set_style pango_font_descript_set_weight public static final synchron nativ void pango font descript set style int desc int weight public static final synchron nativ void pango font descript set weight int desc int weight public static final synchron nativ int pango font descript string int desc pango_font_descript_set_style pango_font_descript_set_weight pango_font_descript_to_string public static final synchron nativ void pango font descript set weight int desc int weight public static final synchron nativ int pango font descript string int desc public static final synchron nativ int pango font face describ int face pango_font_descript_set_weight pango_font_descript_to_string pango_font_face_describ public static final synchron nativ int pango font descript string int desc public static final synchron nativ int pango font face describ int face public static final synchron nativ void pango font famili list face int famili int face int face pango_font_descript_to_string pango_font_face_describ pango_font_famili_list_face n_face public static final synchron nativ int pango font face describ int face public static final synchron nativ void pango font famili list face int famili int face int face public static final synchron nativ int pango font metric int font int languag pango_font_face_describ pango_font_famili_list_face n_face pango_font_get_metric public static final synchron nativ void pango font famili list face int famili int face int face public static final synchron nativ int pango font metric int font int languag public static final synchron nativ int pango font metric approxim char width int metric pango_font_famili_list_face n_face pango_font_get_metric pango_font_metric_get_approxim_char_width public static final synchron nativ int pango font metric int font int languag public static final synchron nativ int pango font metric approxim char width int metric public static final synchron nativ int pango font metric ascent int metric pango_font_get_metric pango_font_metric_get_approxim_char_width pango_font_metric_get_ascent public static final synchron nativ int pango font metric approxim char width int metric public static final synchron nativ int pango font metric ascent int metric public static final synchron nativ int pango font metric descent int metric pango_font_metric_get_approxim_char_width pango_font_metric_get_ascent pango_font_metric_get_descent public static final synchron nativ int pango font metric ascent int metric public static final synchron nativ int pango font metric descent int metric public static final synchron nativ void pango font metric unref int metric pango_font_metric_get_ascent pango_font_metric_get_descent pango_font_metric_unref public static final synchron nativ int pango font metric descent int metric public static final synchron nativ void pango font metric unref int metric public static final synchron nativ int pango languag string byte languag pango_font_metric_get_descent pango_font_metric_unref pango_languag_from_string public static final synchron nativ void pango font metric unref int metric public static final synchron nativ int pango languag string byte languag public static final synchron nativ void pango layout context chang int layout pango_font_metric_unref pango_languag_from_string pango_layout_context_chang public static final synchron nativ int pango languag string byte languag public static final synchron nativ void pango layout context chang int layout public static final synchron nativ int pango layout align int layout pango_languag_from_string pango_layout_context_chang pango_layout_get_align public static final synchron nativ void pango layout context chang int layout public static final synchron nativ int pango layout align int layout public static final synchron nativ int pango layout attribut int layout pango_layout_context_chang pango_layout_get_align pango_layout_get_attribut public static final synchron nativ int pango layout align int layout public static final synchron nativ int pango layout attribut int layout public static final synchron nativ int pango layout iter int layout pango_layout_get_align pango_layout_get_attribut pango_layout_get_iter public static final synchron nativ int pango layout attribut int layout public static final synchron nativ int pango layout iter int layout public static final synchron nativ int pango layout line int layout int line pango_layout_get_attribut pango_layout_get_iter pango_layout_get_line public static final synchron nativ int pango layout iter int layout public static final synchron nativ int pango layout line int layout int line public static final synchron nativ int pango layout line count int layout pango_layout_get_iter pango_layout_get_line pango_layout_get_line_count public static final synchron nativ int pango layout line int layout int line public static final synchron nativ int pango layout line count int layout public static final synchron nativ void pango layout log attr int layout int attr int attr pango_layout_get_line pango_layout_get_line_count pango_layout_get_log_attr n_attr public static final synchron nativ int pango layout line count int layout public static final synchron nativ void pango layout log attr int layout int attr int attr public static final synchron nativ void pango layout size int layout int width int height pango_layout_get_line_count pango_layout_get_log_attr n_attr pango_layout_get_size public static final synchron nativ void pango layout log attr int layout int attr int attr public static final synchron nativ void pango layout size int layout int width int height public static final synchron nativ int pango layout space int layout pango_layout_get_log_attr n_attr pango_layout_get_size pango_layout_get_space public static final synchron nativ void pango layout size int layout int width int height public static final synchron nativ int pango layout space int layout public static final synchron nativ int pango layout tab int layout pango_layout_get_size pango_layout_get_space pango_layout_get_tab public static final synchron nativ int pango layout space int layout public static final synchron nativ int pango layout tab int layout public static final synchron nativ int pango layout text int layout pango_layout_get_space pango_layout_get_tab pango_layout_get_text public static final synchron nativ int pango layout tab int layout public static final synchron nativ int pango layout text int layout public static final synchron nativ int pango layout width int layout pango_layout_get_tab pango_layout_get_text pango_layout_get_width public static final synchron nativ int pango layout text int layout public static final synchron nativ int pango layout width int layout public static final synchron nativ void pango layout index po int layout int index pango rectangl po pango_layout_get_text pango_layout_get_width pango_layout_index_to_po pangorectangl public static final synchron nativ int pango layout width int layout public static final synchron nativ void pango layout index po int layout int index pango rectangl po public static final synchron nativ void pango layout iter free int iter pango_layout_get_width pango_layout_index_to_po pangorectangl pango_layout_iter_free public static final synchron nativ void pango layout index po int layout int index pango rectangl po public static final synchron nativ void pango layout iter free int iter public static final synchron nativ void pango layout iter line extent int iter pango rectangl ink rect pango rectangl logic rect pango_layout_index_to_po pangorectangl pango_layout_iter_free pango_layout_iter_get_line_extent pangorectangl ink_rect pangorectangl logic_rect public static final synchron nativ void pango layout iter free int iter public static final synchron nativ void pango layout iter line extent int iter pango rectangl ink rect pango rectangl logic rect public static final synchron nativ int pango layout iter index int iter pango_layout_iter_free pango_layout_iter_get_line_extent pangorectangl ink_rect pangorectangl logic_rect pango_layout_iter_get_index public static final synchron nativ void pango layout iter line extent int iter pango rectangl ink rect pango rectangl logic rect public static final synchron nativ int pango layout iter index int iter public static final synchron nativ int pango layout iter run int iter pango_layout_iter_get_line_extent pangorectangl ink_rect pangorectangl logic_rect pango_layout_iter_get_index pango_layout_iter_get_run public static final synchron nativ int pango layout iter index int iter public static final synchron nativ int pango layout iter run int iter public static final synchron nativ boolean pango layout iter line int iter pango_layout_iter_get_index pango_layout_iter_get_run pango_layout_iter_next_line public static final synchron nativ int pango layout iter run int iter public static final synchron nativ boolean pango layout iter line int iter public static final synchron nativ boolean pango layout iter run int iter pango_layout_iter_get_run pango_layout_iter_next_line pango_layout_iter_next_run public static final synchron nativ boolean pango layout iter line int iter public static final synchron nativ boolean pango layout iter run int iter public static final synchron nativ void pango layout line extent int line pango rectangl ink rect pango rectangl logic rect pango_layout_iter_next_line pango_layout_iter_next_run pango_layout_line_get_extent pangorectangl ink_rect pangorectangl logic_rect public static final synchron nativ boolean pango layout iter run int iter public static final synchron nativ void pango layout line extent int line pango rectangl ink rect pango rectangl logic rect public static final synchron nativ boolean pango layout line index int line int po int index int trail pango_layout_iter_next_run pango_layout_line_get_extent pangorectangl ink_rect pangorectangl logic_rect pango_layout_line_x_to_index x_po index_ public static final synchron nativ void pango layout line extent int line pango rectangl ink rect pango rectangl logic rect public static final synchron nativ boolean pango layout line index int line int po int index int trail public static final synchron nativ int pango layout int context pango_layout_line_get_extent pangorectangl ink_rect pangorectangl logic_rect pango_layout_line_x_to_index x_po index_ pango_layout_new public static final synchron nativ boolean pango layout line index int line int po int index int trail public static final synchron nativ int pango layout int context public static final synchron nativ void pango layout set align int layout int align pango_layout_line_x_to_index x_po index_ pango_layout_new pango_layout_set_align public static final synchron nativ int pango layout int context public static final synchron nativ void pango layout set align int layout int align public static final synchron nativ void pango layout set attribut int layout int attr pango_layout_new pango_layout_set_align pango_layout_set_attribut public static final synchron nativ void pango layout set align int layout int align public static final synchron nativ void pango layout set attribut int layout int attr public static final synchron nativ void pango layout set font descript int context int descr pango_layout_set_align pango_layout_set_attribut pango_layout_set_font_descript public static final synchron nativ void pango layout set attribut int layout int attr public static final synchron nativ void pango layout set font descript int context int descr public static final synchron nativ void pango layout set singl paragraph mode int context boolean set pango_layout_set_attribut pango_layout_set_font_descript pango_layout_set_singl_paragraph_mode public static final synchron nativ void pango layout set font descript int context int descr public static final synchron nativ void pango layout set singl paragraph mode int context boolean set public static final synchron nativ void pango layout set space int layout int space pango_layout_set_font_descript pango_layout_set_singl_paragraph_mode pango_layout_set_space public static final synchron nativ void pango layout set singl paragraph mode int context boolean set public static final synchron nativ void pango layout set space int layout int space public static final synchron nativ void pango layout set tab int layout int tab pango_layout_set_singl_paragraph_mode pango_layout_set_space pango_layout_set_tab public static final synchron nativ void pango layout set space int layout int space public static final synchron nativ void pango layout set tab int layout int tab public static final synchron nativ void pango layout set text int layout byte text int length pango_layout_set_space pango_layout_set_tab pango_layout_set_text public static final synchron nativ void pango layout set tab int layout int tab public static final synchron nativ void pango layout set text int layout byte text int length public static final synchron nativ void pango layout set width int layout int width pango_layout_set_tab pango_layout_set_text pango_layout_set_width public static final synchron nativ void pango layout set text int layout byte text int length public static final synchron nativ void pango layout set width int layout int width public static final synchron nativ void pango layout set wrap int layout int wrap pango_layout_set_text pango_layout_set_width pango_layout_set_wrap public static final synchron nativ void pango layout set width int layout int width public static final synchron nativ void pango layout set wrap int layout int wrap public static final synchron nativ boolean pango layout xy index int layout int int int index int trail pango_layout_set_width pango_layout_set_wrap pango_layout_xy_to_index public static final synchron nativ void pango layout set wrap int layout int wrap public static final synchron nativ boolean pango layout xy index int layout int int int index int trail public static final synchron nativ int pango tab arrai size int tab arrai pango_layout_set_wrap pango_layout_xy_to_index pango_tab_arrai_get_size tab_arrai public static final synchron nativ boolean pango layout xy index int layout int int int index int trail public static final synchron nativ int pango tab arrai size int tab arrai public static final synchron nativ void pango tab arrai tab int tab arrai int align int locat pango_layout_xy_to_index pango_tab_arrai_get_size tab_arrai pango_tab_arrai_get_tab tab_arrai public static final synchron nativ int pango tab arrai size int tab arrai public static final synchron nativ void pango tab arrai tab int tab arrai int align int locat public static final synchron nativ void pango tab arrai free int tab arrai pango_tab_arrai_get_size tab_arrai pango_tab_arrai_get_tab tab_arrai pango_tab_arrai_free tab_arrai public static final synchron nativ void pango tab arrai tab int tab arrai int align int locat public static final synchron nativ void pango tab arrai free int tab arrai public static final synchron nativ int pango tab arrai int initi size boolean posit pixel pango_tab_arrai_get_tab tab_arrai pango_tab_arrai_free tab_arrai pango_tab_arrai_new initi_size posit_in_pixel public static final synchron nativ void pango tab arrai free int tab arrai public static final synchron nativ int pango tab arrai int initi size boolean posit pixel public static final synchron nativ void pango tab arrai set tab int tab arrai int tab index int align int locat pango_tab_arrai_free tab_arrai pango_tab_arrai_new initi_size posit_in_pixel pango_tab_arrai_set_tab tab_arrai tab_index imag imag public imag list imag imag 4 pixbuf int 4 imagelist public int add imag imag int index 0 index imag length imag index null imag index dispos os object unref pixbuf index imag index null pixbuf index 0 imag index null break index int int 1 int 1 os gdk drawabl size imag pixmap boolean mask imag mask 0 int pixbuf os gdk pixbuf os gdk colorspac rgb mask 8 0 0 pixbuf 0 swt error swt error handl int colormap os gdk colormap system os gdk pixbuf drawabl pixbuf imag pixmap colormap 0 0 0 0 0 0 mask int gdk mask imag ptr os gdk drawabl imag imag mask 0 0 0 0 gdk mask imag ptr 0 swt error swt error handl int stride os gdk pixbuf rowstrid pixbuf int pixel os gdk pixbuf pixel pixbuf byte line byte stride int 0 0 int offset pixel stride os memmov line offset stride int 0 0 os gdk imag pixel gdk mask imag ptr 0 line 4 3 0 os memmov offset line stride os object unref gdk mask imag ptr width 1 height 1 width 0 height 0 0 width 0 height int scale pixbuf os gdk pixbuf scale simpl pixbuf width height os gdk interp bilinear os object unref pixbuf pixbuf scale pixbuf index imag length imag imag imag imag length 4 system arraycopi imag 0 imag 0 imag length imag imag int pixbuf int pixbuf length 4 system arraycopi pixbuf 0 pixbuf 0 pixbuf length pixbuf pixbuf pixbuf index pixbuf imag index imag return index isdispos g_object_unref gdk_drawabl_get_size hasmask gdk_pixbuf_new gdk_colorspac_rgb hasmask error_no_handl gdk_colormap_get_system gdk_pixbuf_get_from_drawabl hasmask gdkmaskimageptr gdk_drawabl_get_imag gdkmaskimageptr error_no_handl gdk_pixbuf_get_rowstrid gdk_pixbuf_get_pixel gdk_imag_get_pixel gdkmaskimageptr g_object_unref gdkmaskimageptr scaledpixbuf gdk_pixbuf_scale_simpl gdk_interp_bilinear g_object_unref scaledpixbuf newimag newimag newimag newpixbuf newpixbuf newpixbuf public void dispos pixbuf null return int index 0 index pixbuf length index pixbuf index 0 os object unref pixbuf index imag null pixbuf null g_object_unref public imag int index return imag index int pixbuf int index return pixbuf index getpixbuf public int index imag imag imag null return 1 int index 0 index imag length index imag imag index return index return 1 indexof int index int pixbuf pixbuf 0 return 1 int index 0 index imag length index pixbuf pixbuf index return index return 1 indexof public boolean dispos return imag null isdispos public void remov imag imag imag null return int index 0 index imag length index imag imag index os object unref pixbuf index imag index null pixbuf index 0 g_object_unref public int size int result 0 int index 0 index imag length index imag index null imag index dispos os object unref pixbuf index imag index null pixbuf index 0 imag index null result return result isdispos g_object_unref public class gtk public static final synchron nativ int gtk widget height int widget gtk_widget_height public static final synchron nativ int gtk widget height int widget public static final synchron nativ int gtk widget width int widget gtk_widget_height gtk_widget_width public static final synchron nativ int gtk widget height int widget public static final synchron nativ int gtk widget width int widget public static final synchron nativ int signal connect int instanc byte detail signal int proc int data gtk_widget_height gtk_widget_width g_signal_connect detail_signal public static final synchron nativ int gtk widget width int widget public static final synchron nativ int signal connect int instanc byte detail signal int proc int data public static final synchron nativ int gtk event pend gtk_widget_width g_signal_connect detail_signal gtk_event_pend public static final synchron nativ int signal connect int instanc byte detail signal int proc int data public static final synchron nativ int gtk event pend public static final synchron nativ boolean gtk init check int argc int argv g_signal_connect detail_signal gtk_event_pend gtk_init_check public static final synchron nativ int gtk event pend public static final synchron nativ boolean gtk init check int argc int argv public static final synchron nativ void gtk main gtk_event_pend gtk_init_check gtk_main public static final synchron nativ boolean gtk init check int argc int argv public static final synchron nativ void gtk main public static final synchron nativ int gtk main iter gtk_init_check gtk_main gtk_main_iter public static final synchron nativ void gtk main public static final synchron nativ int gtk main iter public static final synchron nativ int gtk plug int socket id gtk_main gtk_main_iter gtk_plug_new socket_id public static final synchron nativ int gtk main iter public static final synchron nativ int gtk plug int socket id public static final synchron nativ void gtk widget destroi int widget gtk_main_iter gtk_plug_new socket_id gtk_widget_destroi public static final synchron nativ int gtk plug int socket id public static final synchron nativ void gtk widget destroi int widget public static final synchron nativ void gtk widget show int widget gtk_plug_new socket_id gtk_widget_destroi gtk_widget_show public static final synchron nativ void gtk widget destroi int widget public static final synchron nativ void gtk widget show int widget public static final synchron nativ void gtk widget show int widget gtk_widget_destroi gtk_widget_show gtk_widget_show_now public static final synchron nativ void gtk widget show int widget public static final synchron nativ void gtk widget show int widget public static final synchron nativ int gtk window int type gtk_widget_show gtk_widget_show_now gtk_window_new public app file loc provid mozilla path gre mozilla path gre path gre gre path mozilla path null browser error xpcom ns error failur createcom interfac appfilelocprovid mozillapath mozillapath grepath grepath mozillapath ns_error_failur createcominterfac int add ref ref count return ref count addref refcount refcount creat interfac object implement support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 xpcomobject queryinterfac support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref xpcomobject queryinterfac addref public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas queryinterfac addref directori servic provid xpcom object int 2 0 0 3 public int method0 int arg return queri interfac arg 0 arg 1 directoryserviceprovid xpcomobject queryinterfac directori servic provid xpcom object int 2 0 0 3 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref directoryserviceprovid xpcomobject queryinterfac addref public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas queryinterfac addref public int method1 int arg return add ref public int method2 int arg return releas public int method3 int arg return file arg 0 arg 1 arg 2 addref getfil directori servic provid2 xpcom object int 2 0 0 3 2 public int method0 int arg return queri interfac arg 0 arg 1 directoryserviceprovid2 xpcomobject queryinterfac directori servic provid2 xpcom object int 2 0 0 3 2 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref directoryserviceprovid2 xpcomobject queryinterfac addref public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas queryinterfac addref public int method1 int arg return add ref public int method2 int arg return releas public int method3 int arg return file arg 0 arg 1 arg 2 addref getfil public int method2 int arg return releas public int method3 int arg return file arg 0 arg 1 arg 2 public int method4 int arg return file arg 0 arg 1 getfil getfil void createcom interfac creat interfac object implement support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas directori servic provid xpcom object int 2 0 0 3 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas public int method3 int arg return file arg 0 arg 1 arg 2 directori servic provid2 xpcom object int 2 0 0 3 2 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas public int method3 int arg return file arg 0 arg 1 arg 2 public int method4 int arg return file arg 0 arg 1 createcominterfac xpcomobject queryinterfac addref directoryserviceprovid xpcomobject queryinterfac addref getfil directoryserviceprovid2 xpcomobject queryinterfac addref getfil getfil void disposecom interfac support null support dispos support null directori servic provid null directori servic provid dispos directori servic provid null directori servic provid2 null directori servic provid2 dispos directori servic provid2 null disposecominterfac directoryserviceprovid directoryserviceprovid directoryserviceprovid directoryserviceprovid2 directoryserviceprovid2 directoryserviceprovid2 int address return directori servic provid address getaddress directoryserviceprovid getaddress int queri interfac int riid int ppv object riid 0 ppv object 0 return xpcom ns error interfac nsid guid nsid xpcom memmov guid riid nsid sizeof guid equal nsi support ns isupport iid xpcom memmov ppv object int support address 4 add ref return xpcom ns ok guid equal nsi directori servic provid ns idirectoryserviceprovid iid xpcom memmov ppv object int directori servic provid address 4 add ref return xpcom ns ok guid equal nsi directori servic provid2 ns idirectoryserviceprovid2 iid xpcom memmov ppv object int directori servic provid2 address 4 add ref return xpcom ns ok xpcom memmov ppv object int 0 4 return xpcom ns error interfac queryinterfac ppvobject ppvobject ns_error_no_interfac nsisupport ns_isupport_iid ppvobject getaddress addref ns_ok nsidirectoryserviceprovid ns_idirectoryserviceprovid_iid ppvobject directoryserviceprovid getaddress addref ns_ok nsidirectoryserviceprovid2 ns_idirectoryserviceprovid2_iid ppvobject directoryserviceprovid2 getaddress addref ns_ok ppvobject ns_error_no_interfac int releas ref count ref count 0 disposecom interfac return ref count refcount refcount disposecominterfac refcount int file int str int nsi simpl enumer int rc xpcom ns error failur int length xpcom strlen str byte dest byte length xpcom memmov dest str length string prop string dest xpcom memmov nsi simpl enumer int 0 4 nsi local file local file null xpcom ns app plugin dir list equal prop mozilla path null return xpcom ns error failur mozilla path length 0 return xpcom ns error failur int result int 1 ns string path ns string mozilla path rc xpcom ns newlocalfil path address true result path dispos rc xpcom ns ok result 0 0 rc xpcom ns error null pointer rc xpcom ns ok local file nsi local file result 0 ns string node ns string xpcom plugin dir rc local file append node address node dispos rc xpcom ns ok int ret val int 1 rc xpcom ns newsingletonenumer local file address ret val rc xpcom ns ok ret val 0 0 rc xpcom ns error null pointer rc xpcom ns ok xpcom memmov nsi simpl enumer ret val 4 local file null local file releas return rc getfil nsisimpleenumer ns_error_failur nsisimpleenumer nsilocalfil localfil ns_app_plugin_dir_list mozillapath ns_error_failur mozillapath ns_error_failur nsstring nsstring mozillapath ns_newlocalfil getaddress ns_ok ns_error_null_pointer ns_ok localfil nsilocalfil nsstring nsstring plugin_dir_name localfil getaddress ns_ok retval ns_newsingletonenumer localfil getaddress retval ns_ok retval ns_error_null_pointer ns_ok nsisimpleenumer retval localfil localfil int file int str int persist int ns file int rc xpcom ns error failur int length xpcom strlen str byte dest byte length xpcom memmov dest str length string prop string dest xpcom memmov persist int 1 4 xpcom memmov ns file int 0 4 nsi local file local file null xpcom ns gre dir equal prop xpcom ns gre compon dir equal prop gre path null gre path length 0 return xpcom ns error failur int result int 1 ns string path ns string gre path rc xpcom ns newlocalfil path address true result path dispos rc xpcom ns ok result 0 0 rc xpcom ns error null pointer rc xpcom ns ok local file nsi local file result 0 xpcom ns gre compon dir equal prop ns string node ns string xpcom compon dir rc local file append node address node dispos xpcom ns xpcom init current process dir equal prop xpcom ns os current process dir equal prop xpcom ns xpcom compon dir equal prop xpcom ns app user profil 50 dir equal prop mozilla path null mozilla path length 0 return xpcom ns error failur int result int 1 ns string path ns string mozilla path rc xpcom ns newlocalfil path address true result path dispos rc xpcom ns ok result 0 0 rc xpcom ns error null pointer rc xpcom ns ok local file nsi local file result 0 xpcom ns xpcom compon dir equal prop ns string node ns string xpcom compon dir rc local file append node address node dispos local file null xpcom ns ok rc int result int 1 int rc1 local file queri interfac nsi file ns ifil iid result rc1 xpcom ns ok result 0 0 rc1 xpcom ns nointerfac xpcom memmov ns file result 4 local file null local file releas return rc getfil nsfile ns_error_failur nsfile nsilocalfil localfil ns_gre_dir ns_gre_compon_dir grepath grepath ns_error_failur nsstring nsstring grepath ns_newlocalfil getaddress ns_ok ns_error_null_pointer ns_ok localfil nsilocalfil ns_gre_compon_dir nsstring nsstring compon_dir_name localfil getaddress ns_xpcom_init_current_process_dir ns_os_current_process_dir ns_xpcom_compon_dir ns_app_user_profil_50_dir mozillapath mozillapath ns_error_failur nsstring nsstring mozillapath ns_newlocalfil getaddress ns_ok ns_error_null_pointer ns_ok localfil nsilocalfil ns_xpcom_compon_dir nsstring nsstring compon_dir_name localfil getaddress localfil ns_ok localfil queryinterfac nsifil ns_ifil_iid ns_ok ns_nointerfac nsfile localfil localfil import org eclips swt intern mozilla class input stream xpcom object support inputstream xpcomobject int ref count 0 refcount eclips sourc build src includ 3 0 plugin org eclips swt eclips swt browser motif org eclips swt browser input stream java sourcebuild srcinclud inputstream byte buffer int index 0 eclips sourc build src includ 3 0 plugin org eclips swt eclips swt browser motif org eclips swt browser input stream java sourcebuild srcinclud inputstream public input stream byte buffer inputstream public input stream byte buffer inputstream public input stream byte buffer buffer buffer inputstream buffer buffer buffer buffer index 0 index 0 xpcom object input stream int ref count 0 byte buffer int index 0 public input stream byte buffer buffer buffer index 0 createcom interfac xpcomobject inputstream refcount inputstream createcominterfac int add ref ref count return ref count addref refcount refcount void createcom interfac createcominterfac creat interfac object implement support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas input stream xpcom object int 2 0 0 0 1 3 4 1 public int method0 int arg return queri interfac arg 0 arg 1 xpcomobject queryinterfac addref inputstream xpcomobject queryinterfac public int method1 int arg return add ref public int method2 int arg return releas public int method3 int arg return close addref public int method5 int arg return read arg 0 arg 1 arg 2 public int method6 int arg return read segment arg 0 arg 1 arg 2 arg 3 public int method7 int arg return non block arg 0 readseg isnonblock void disposecom interfac disposecominterfac support dispos support null input stream null input stream dispos inputstream inputstream int address return input stream address int queri interfac int riid int ppv object riid 0 ppv object 0 return xpcom ns error interfac nsid guid nsid getaddress inputstream getaddress queryinterfac ppvobject ppvobject ns_error_no_interfac xpcom memmov guid riid nsid sizeof guid equal nsi support ns isupport iid nsisupport ns_isupport_iid class prompt dialog extend dialog public prompt dialog shell parent int style super parent style promptdialog promptdialog public prompt dialog shell parent parent 0 promptdialog public void confirm string titl string text string check string button1 string button2 string button3 final int check final int result shell parent parent final shell shell shell parent swt dialog trim swt applic modal shell set text titl grid layout grid layout grid layout shell set layout grid layout label label label shell swt wrap label set text text grid data data grid data data horizont align grid data fill data grab excess horizont space true label set layout data data final button button button 4 listen listen listen public void handl event event event button 0 null check 0 button 0 select 1 0 widget widget event widget int 1 button length widget button result 0 1 break shell close check null button 0 button shell swt check button 0 set text check button 0 set select check 0 0 data grid data data horizont align grid data end button 0 set layout data data composit composit composit shell swt data grid data data horizont align grid data end composit set layout data data composit set layout row layout button1 null button 1 button composit swt push button 1 set text button1 button 1 add listen swt select listen button2 null button 2 button composit swt push button 2 set text button2 button 2 add listen swt select listen button3 null button 3 button composit swt push button 3 set text button3 button 3 add listen swt select listen shell pack shell open displai displai parent displai shell dispos displai read dispatch displai sleep confirmex checkvalu getpar dialog_trim applic_modal settext gridlayout gridlayout gridlayout setlayout gridlayout settext griddata griddata horizontalalign griddata grabexcesshorizontalspac setlayoutdata handleev checkvalu getselect settext setselect checkvalu griddata horizontalalign griddata setlayoutdata griddata horizontalalign griddata setlayoutdata setlayout rowlayout settext addlisten settext addlisten settext addlisten getdisplai isdispos readanddispatch public void prompt usernam password string titl string text string check final string user final string pass final int check final int result shell parent parent final shell shell shell parent swt dialog trim swt applic modal shell set text titl grid layout grid layout grid layout shell set layout grid layout label label label shell swt wrap label set text text grid data data grid data data horizont align grid data fill data grab excess horizont space true label set layout data data label user label label shell swt user label set text swt messag swt usernam non nl 1 final text user text text shell swt border user 0 null user text set text user 0 data grid data data horizont align grid data fill data grab excess horizont space true user text set layout data data label password label label shell swt password label set text swt messag swt password non nl 1 final text password text text shell swt password swt border pass 0 null password text set text pass 0 data grid data data horizont align grid data fill data grab excess horizont space true password text set layout data data final button button button 3 listen listen listen public void handl event event event button 0 null check 0 button 0 select 1 0 user 0 user text text pass 0 password text text result 0 event widget button 1 1 0 shell close check null button 0 button shell swt check button 0 set text check button 0 set select check 0 0 data grid data data horizont align grid data end button 0 set layout data data composit composit composit shell swt data grid data data horizont align grid data end composit set layout data data composit set layout row layout button 1 button composit swt push button 1 set text swt messag swt ok non nl 1 button 1 add listen swt select listen button 2 button composit swt push button 2 set text swt messag swt cancel non nl 1 button 2 add listen swt select listen shell pack shell open displai displai parent displai shell dispos displai read dispatch displai sleep promptusernameandpassword checkvalu getpar dialog_trim applic_modal settext gridlayout gridlayout gridlayout setlayout gridlayout settext griddata griddata horizontalalign griddata grabexcesshorizontalspac setlayoutdata userlabel userlabel settext getmessag swt_usernam usertext usertext settext griddata horizontalalign griddata grabexcesshorizontalspac usertext setlayoutdata passwordlabel passwordlabel settext getmessag swt_password passwordtext passwordtext settext griddata horizontalalign griddata grabexcesshorizontalspac passwordtext setlayoutdata handleev checkvalu getselect usertext gettext passwordtext gettext settext setselect checkvalu griddata horizontalalign griddata setlayoutdata griddata horizontalalign griddata setlayoutdata setlayout rowlayout settext getmessag swt_ok addlisten settext getmessag swt_cancel addlisten getdisplai isdispos readanddispatch int ref count 0 public prompt servic createcom interfac refcount promptservic createcominterfac int add ref ref count return ref count addref refcount refcount creat interfac object implement support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 xpcomobject queryinterfac support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref xpcomobject queryinterfac addref public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas queryinterfac addref prompt servic xpcom object int 2 0 0 3 5 4 6 10 7 8 7 7 public int method0 int arg return queri interfac arg 0 arg 1 promptservic xpcomobject queryinterfac prompt servic xpcom object int 2 0 0 3 5 4 6 10 7 8 7 7 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref promptservic xpcomobject queryinterfac addref public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas queryinterfac addref public int method1 int arg return add ref public int method2 int arg return releas public int method3 int arg return alert arg 0 arg 1 arg 2 addref public int method2 int arg return releas public int method3 int arg return alert arg 0 arg 1 arg 2 public int method4 int arg return alert check arg 0 arg 1 arg 2 arg 3 arg 4 alertcheck public int method3 int arg return alert arg 0 arg 1 arg 2 public int method4 int arg return alert check arg 0 arg 1 arg 2 arg 3 arg 4 public int method5 int arg return confirm arg 0 arg 1 arg 2 arg 3 alertcheck public int method4 int arg return alert check arg 0 arg 1 arg 2 arg 3 arg 4 public int method5 int arg return confirm arg 0 arg 1 arg 2 arg 3 public int method6 int arg return confirm check arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 alertcheck confirmcheck public int method5 int arg return confirm arg 0 arg 1 arg 2 arg 3 public int method6 int arg return confirm check arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 public int method7 int arg return confirm arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 arg 7 arg 8 arg 9 confirmcheck confirmex public int method6 int arg return confirm check arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 public int method7 int arg return confirm arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 arg 7 arg 8 arg 9 public int method8 int arg return prompt arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 confirmcheck confirmex public int method7 int arg return confirm arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 arg 7 arg 8 arg 9 public int method8 int arg return prompt arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 public int method9 int arg return prompt usernam password arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 arg 7 confirmex promptusernameandpassword public int method8 int arg return prompt arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 public int method9 int arg return prompt usernam password arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 arg 7 public int method10 int arg return prompt password arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 promptusernameandpassword promptpassword public int method9 int arg return prompt usernam password arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 arg 7 public int method10 int arg return prompt password arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 public int method11 int arg return select arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 promptusernameandpassword promptpassword void createcom interfac creat interfac object implement support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas prompt servic xpcom object int 2 0 0 3 5 4 6 10 7 8 7 7 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas public int method3 int arg return alert arg 0 arg 1 arg 2 public int method4 int arg return alert check arg 0 arg 1 arg 2 arg 3 arg 4 public int method5 int arg return confirm arg 0 arg 1 arg 2 arg 3 public int method6 int arg return confirm check arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 public int method7 int arg return confirm arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 arg 7 arg 8 arg 9 public int method8 int arg return prompt arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 public int method9 int arg return prompt usernam password arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 arg 7 public int method10 int arg return prompt password arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 public int method11 int arg return select arg 0 arg 1 arg 2 arg 3 arg 4 arg 5 arg 6 createcominterfac xpcomobject queryinterfac addref promptservic xpcomobject queryinterfac addref alertcheck confirmcheck confirmex promptusernameandpassword promptpassword void disposecom interfac support null support dispos support null prompt servic null prompt servic dispos prompt servic null disposecominterfac promptservic promptservic promptservic int address return prompt servic address getaddress promptservic getaddress int queri interfac int riid int ppv object riid 0 ppv object 0 return xpcom ns error interfac nsid guid nsid xpcom memmov guid riid nsid sizeof guid equal nsi support ns isupport iid xpcom memmov ppv object int support address 4 add ref return xpcom ns ok guid equal nsi prompt servic ns ipromptservic iid xpcom memmov ppv object int prompt servic address 4 add ref return xpcom ns ok xpcom memmov ppv object int 0 4 return xpcom ns error interfac queryinterfac ppvobject ppvobject ns_error_no_interfac nsisupport ns_isupport_iid ppvobject getaddress addref ns_ok nsipromptservic ns_ipromptservic_iid ppvobject promptservic getaddress addref ns_ok ppvobject ns_error_no_interfac int releas ref count ref count 0 disposecom interfac return ref count refcount refcount disposecominterfac refcount browser browser int adom window int result int 1 int rc xpcom ns getservicemanag result rc xpcom ns ok browser error rc result 0 0 browser error xpcom ns nointerfac nsi servic manag servic manag nsi servic manag result 0 result 0 0 byte buffer xpcom ns windowwatch contractid byte byte contractid byte buffer length 1 system arraycopi buffer 0 contractid 0 buffer length rc servic manag servic contractid contractid nsi window watcher ns iwindowwatch iid result rc xpcom ns ok browser error rc result 0 0 browser error xpcom ns nointerfac servic manag releas nsi window watcher window watcher nsi window watcher result 0 result 0 0 rc window watcher chrome window adom window result rc xpcom ns ok browser error rc result 0 0 browser error xpcom ns nointerfac window watcher releas nsi web browser chrome web browser chrome nsi web browser chrome result 0 result 0 0 rc web browser chrome queri interfac nsi embed site window ns iembeddingsitewindow iid result rc xpcom ns ok browser error rc result 0 0 browser error xpcom ns nointerfac web browser chrome releas nsi embed site window embed site window nsi embed site window result 0 result 0 0 rc embed site window site window result rc xpcom ns ok browser error rc result 0 0 browser error xpcom ns nointerfac embed site window releas displai displai displai current shell shell displai shell browser browser null int 0 shell length browser browser find browser shell result 0 browser null break return browser getbrows adomwindow ns_getservicemanag ns_ok ns_nointerfac nsiservicemanag servicemanag nsiservicemanag ns_windowwatch_contractid getbyt acontractid acontractid servicemanag getservicebycontractid acontractid nsiwindowwatch ns_iwindowwatch_iid ns_ok ns_nointerfac servicemanag nsiwindowwatch windowwatch nsiwindowwatch windowwatch getchromeforwindow adomwindow ns_ok ns_nointerfac windowwatch nsiwebbrowserchrom webbrowserchrom nsiwebbrowserchrom webbrowserchrom queryinterfac nsiembeddingsitewindow ns_iembeddingsitewindow_iid ns_ok ns_nointerfac webbrowserchrom nsiembeddingsitewindow embeddingsitewindow nsiembeddingsitewindow embeddingsitewindow getsitewindow ns_ok ns_nointerfac embeddingsitewindow getcurr getshel findbrows string label int button flag int index int button titl string label null int flag button flag 0xff index index switch flag case nsi prompt servic button titl cancel label swt messag swt cancel break non nl 1 case nsi prompt servic button titl label swt messag swt break non nl 1 case nsi prompt servic button titl ok label swt messag swt ok break non nl 1 case nsi prompt servic button titl save label swt messag swt save break non nl 1 case nsi prompt servic button titl ye label swt messag swt ye break non nl 1 case nsi prompt servic button titl string int length xpcom nscrt strlen prunichar button titl char dest char length xpcom memmov dest button titl length 2 label string dest return label getlabel buttonflag buttontitl buttonflag nsipromptservic button_titl_cancel getmessag swt_cancel nsipromptservic button_titl_no getmessag swt_no nsipromptservic button_titl_ok getmessag swt_ok nsipromptservic button_titl_save getmessag swt_save nsipromptservic button_titl_ye getmessag swt_ye nsipromptservic button_titl_is_string nscrt_strlen_prunichar buttontitl buttontitl public int alert int parent int dialog titl int text browser browser browser parent int length xpcom nscrt strlen prunichar dialog titl char dest char length xpcom memmov dest dialog titl length 2 string titl label string dest length xpcom nscrt strlen prunichar text dest char length xpcom memmov dest text length 2 string text label string dest messag box messag box messag box browser shell swt ok messag box set text titl label messag box set messag text label messag box open return xpcom ns ok dialogtitl getbrows nscrt_strlen_prunichar dialogtitl dialogtitl titlelabel nscrt_strlen_prunichar textlabel messagebox messagebox messagebox getshel messagebox settext titlelabel messagebox setmessag textlabel messagebox ns_ok public int alert check int parent int dialog titl int text int check msg int check return xpcom ns error implement alertcheck dialogtitl checkmsg checkvalu ns_error_not_implement public int confirm int parent int dialog titl int text int retval return xpcom ns error implement dialogtitl _retval ns_error_not_implement public int confirm check int parent int dialog titl int text int check msg int check int retval return xpcom ns error implement confirmcheck dialogtitl checkmsg checkvalu _retval ns_error_not_implement public int confirm int parent int dialog titl int text int button flag int button0 titl int button1 titl int button2 titl int check msg int check int retval browser browser browser parent int length xpcom nscrt strlen prunichar dialog titl char dest char length xpcom memmov dest dialog titl length 2 string titl label string dest length xpcom nscrt strlen prunichar text dest char length xpcom memmov dest text length 2 string text label string dest string check label null check msg 0 length xpcom nscrt strlen prunichar check msg dest char length xpcom memmov dest check msg length 2 check label string dest string button1 label label button flag nsi prompt servic button po 0 button0 titl string button2 label label button flag nsi prompt servic button po 1 button0 titl string button3 label label button flag nsi prompt servic button po 2 button0 titl prompt dialog dialog prompt dialog browser shell int check int 1 result int 1 check 0 xpcom memmov check check 4 dialog confirm titl label text label check label button1 label button2 label button3 label check result check 0 xpcom memmov check check 4 xpcom memmov retval result 4 return xpcom ns ok confirmex dialogtitl buttonflag button0titl button1titl button2titl checkmsg checkvalu _retval getbrows nscrt_strlen_prunichar dialogtitl dialogtitl titlelabel nscrt_strlen_prunichar textlabel checklabel checkmsg nscrt_strlen_prunichar checkmsg checkmsg checklabel button1label getlabel buttonflag nsipromptservic button_po_0 button0titl button2label getlabel buttonflag nsipromptservic button_po_1 button0titl button3label getlabel buttonflag nsipromptservic button_po_2 button0titl promptdialog promptdialog getshel checkvalu checkvalu confirmex titlelabel textlabel checklabel button1label button2label button3label checkvalu checkvalu _retval ns_ok public int prompt int parent int dialog titl int text int int check msg int check int retval return xpcom ns error implement dialogtitl checkmsg checkvalu _retval ns_error_not_implement public int prompt usernam password int parent int dialog titl int text int usernam int password int check msg int check int retval browser browser browser parent string titl label null text label check label null string user label string 1 pass label string 1 char dest int length dialog titl 0 length xpcom nscrt strlen prunichar dialog titl dest char length xpcom memmov dest dialog titl length 2 titl label string dest titl label swt messag swt prompt non nl 1 length xpcom nscrt strlen prunichar text dest char length xpcom memmov dest text length 2 text label string dest int user addr int 1 xpcom memmov user addr usernam 4 user addr 0 0 length xpcom nscrt strlen prunichar user addr 0 dest char length xpcom memmov dest user addr 0 length 2 user label 0 string dest int pass addr int 1 xpcom memmov pass addr password 4 pass addr 0 0 length xpcom nscrt strlen prunichar pass addr 0 dest char length xpcom memmov dest pass addr 0 length 2 pass label 0 string dest check msg 0 length xpcom nscrt strlen prunichar check msg dest char length xpcom memmov dest check msg length 2 check label string dest prompt dialog dialog prompt dialog browser shell int check int 1 result int 1 check 0 xpcom memmov check check 4 dialog prompt usernam password titl label text label check label user label pass label check result xpcom memmov retval result 4 result 0 1 user select ok user password return pr unichar valu default overrid freed nsi memori servic int cnt size ptr char buffer user label 0 null cnt user label 0 length buffer char cnt 1 user label 0 char 0 cnt buffer 0 size buffer length 2 ptr xpcom pr malloc size xpcom memmov ptr buffer size xpcom memmov usernam int ptr 4 user addr 0 0 result 0 0 int rc xpcom ns getservicemanag result rc xpcom ns ok swt error rc result 0 0 swt error xpcom ns nointerfac nsi servic manag servic manag nsi servic manag result 0 result 0 0 byte tmp xpcom ns memori contractid byte byte contractid byte tmp length 1 system arraycopi tmp 0 contractid 0 tmp length rc servic manag servic contractid contractid nsi memori ns imemori iid result rc xpcom ns ok swt error rc result 0 0 swt error xpcom ns nointerfac servic manag releas nsi memori memori nsi memori result 0 result 0 0 memori free user addr 0 memori releas pass label 0 null cnt pass label 0 length buffer char cnt 1 pass label 0 char 0 cnt buffer 0 size buffer length 2 ptr xpcom pr malloc size xpcom memmov ptr buffer size xpcom memmov password int ptr 4 pass addr 0 0 result 0 0 int rc xpcom ns getservicemanag result rc xpcom ns ok swt error rc result 0 0 swt error xpcom ns nointerfac nsi servic manag servic manag nsi servic manag result 0 result 0 0 byte tmp xpcom ns memori contractid byte byte contractid byte tmp length 1 system arraycopi tmp 0 contractid 0 tmp length rc servic manag servic contractid contractid nsi memori ns imemori iid result rc xpcom ns ok swt error rc result 0 0 swt error xpcom ns nointerfac servic manag releas nsi memori memori nsi memori result 0 result 0 0 memori free pass addr 0 memori releas check 0 xpcom memmov check check 4 return xpcom ns ok promptusernameandpassword dialogtitl checkmsg checkvalu _retval getbrows titlelabel textlabel checklabel userlabel passlabel dialogtitl nscrt_strlen_prunichar dialogtitl dialogtitl titlelabel titlelabel getmessag swt_prompt nscrt_strlen_prunichar textlabel useraddr useraddr useraddr nscrt_strlen_prunichar useraddr useraddr userlabel passaddr passaddr passaddr nscrt_strlen_prunichar passaddr passaddr passlabel checkmsg nscrt_strlen_prunichar checkmsg checkmsg checklabel promptdialog promptdialog getshel checkvalu checkvalu promptusernameandpassword titlelabel textlabel checklabel userlabel passlabel _retval prunichar nsimemori userlabel userlabel userlabel getchar pr_malloc useraddr ns_getservicemanag ns_ok ns_nointerfac nsiservicemanag servicemanag nsiservicemanag ns_memori_contractid getbyt acontractid acontractid servicemanag getservicebycontractid acontractid nsimemori ns_imemori_iid ns_ok ns_nointerfac servicemanag nsimemori nsimemori useraddr passlabel passlabel passlabel getchar pr_malloc passaddr ns_getservicemanag ns_ok ns_nointerfac nsiservicemanag servicemanag nsiservicemanag ns_memori_contractid getbyt acontractid acontractid servicemanag getservicebycontractid acontractid nsimemori ns_imemori_iid ns_ok ns_nointerfac servicemanag nsimemori nsimemori passaddr checkvalu checkvalu ns_ok public int prompt password int parent int dialog titl int text int password int check msg int check int retval return xpcom ns error implement promptpassword dialogtitl checkmsg checkvalu _retval ns_error_not_implement public int select int parent int dialog titl int text int count int select list int select int retval return xpcom ns error implement dialogtitl selectlist outselect _retval ns_error_not_implement int ref count 0 public prompt servic factori createcom interfac refcount promptservicefactori createcominterfac int add ref ref count return ref count addref refcount refcount creat interfac object implement support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 xpcomobject queryinterfac support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref xpcomobject queryinterfac addref public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas queryinterfac addref factori xpcom object int 2 0 0 3 1 public int method0 int arg return queri interfac arg 0 arg 1 xpcomobject queryinterfac factori xpcom object int 2 0 0 3 1 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref xpcomobject queryinterfac addref public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas queryinterfac addref public int method1 int arg return add ref public int method2 int arg return releas public int method3 int arg return creat instanc arg 0 arg 1 arg 2 addref createinst public int method2 int arg return releas public int method3 int arg return creat instanc arg 0 arg 1 arg 2 public int method4 int arg return lock factori arg 0 createinst lockfactori void createcom interfac creat interfac object implement support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas factori xpcom object int 2 0 0 3 1 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas public int method3 int arg return creat instanc arg 0 arg 1 arg 2 public int method4 int arg return lock factori arg 0 createcominterfac xpcomobject queryinterfac addref xpcomobject queryinterfac addref createinst lockfactori void disposecom interfac support null support dispos support null factori null factori dispos factori null disposecominterfac int address return factori address getaddress getaddress int queri interfac int riid int ppv object riid 0 ppv object 0 return xpcom ns error interfac nsid guid nsid xpcom memmov guid riid nsid sizeof guid equal nsi support ns isupport iid xpcom memmov ppv object int support address 4 add ref return xpcom ns ok guid equal nsi factori ns ifactori iid xpcom memmov ppv object int factori address 4 add ref return xpcom ns ok xpcom memmov ppv object int 0 4 return xpcom ns error interfac queryinterfac ppvobject ppvobject ns_error_no_interfac nsisupport ns_isupport_iid ppvobject getaddress addref ns_ok nsifactori ns_ifactori_iid ppvobject getaddress addref ns_ok ppvobject ns_error_no_interfac int releas ref count ref count 0 disposecom interfac return ref count refcount refcount disposecominterfac refcount public int creat instanc int outer int iid int result prompt servic prompt servic prompt servic prompt servic add ref xpcom memmov result int prompt servic address 4 return xpcom ns ok createinst aouter promptservic promptservic promptservic promptservic addref promptservic getaddress ns_ok public int lock factori int lock return xpcom ns ok lockfactori ns_ok int ref count 0 public window creator createcom interfac refcount windowcr createcominterfac int add ref ref count return ref count addref refcount refcount creat interfac object implement support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 xpcomobject queryinterfac support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref xpcomobject queryinterfac addref public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas queryinterfac addref window creator xpcom object int 2 0 0 3 public int method0 int arg return queri interfac arg 0 arg 1 windowcr xpcomobject queryinterfac window creator xpcom object int 2 0 0 3 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref windowcr xpcomobject queryinterfac addref public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas queryinterfac addref public int method1 int arg return add ref public int method2 int arg return releas public int method3 int arg return creat chrome window arg 0 arg 1 arg 2 addref createchromewindow void createcom interfac creat interfac object implement support xpcom object int 2 0 0 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas window creator xpcom object int 2 0 0 3 public int method0 int arg return queri interfac arg 0 arg 1 public int method1 int arg return add ref public int method2 int arg return releas public int method3 int arg return creat chrome window arg 0 arg 1 arg 2 createcominterfac xpcomobject queryinterfac addref windowcr xpcomobject queryinterfac addref createchromewindow void disposecom interfac support null support dispos support null window creator null window creator dispos window creator null disposecominterfac windowcr windowcr windowcr int address return window creator address getaddress windowcr getaddress int queri interfac int riid int ppv object riid 0 ppv object 0 return xpcom ns error interfac nsid guid nsid xpcom memmov guid riid nsid sizeof guid equal nsi support ns isupport iid xpcom memmov ppv object int support address 4 add ref return xpcom ns ok guid equal nsi window creator ns iwindowcr iid xpcom memmov ppv object int window creator address 4 add ref return xpcom ns ok xpcom memmov ppv object int 0 4 return xpcom ns error interfac queryinterfac ppvobject ppvobject ns_error_no_interfac nsisupport ns_isupport_iid ppvobject getaddress addref ns_ok nsiwindowcr ns_iwindowcr_iid ppvobject windowcr getaddress addref ns_ok ppvobject ns_error_no_interfac int releas ref count ref count 0 disposecom interfac return ref count refcount refcount disposecominterfac refcount browser browser shell swt browser add visibl window listen visibl window listen public void hide window event event addvisibilitywindowlisten visibilitywindowlisten windowev public void show window event event event locat null shell set locat event locat event size null point size event size shell set size shell comput size size size shell open windowev setloc setsiz computes browser add close window listen close window listen public void close window event event shell close addclosewindowlisten closewindowlisten windowev int creat chrome window int parent int chrome flag int retval parent 0 return xpcom ns error implement nsi web browser chrome browser chrome parent nsi web browser chrome parent int web browser int 1 int rc browser chrome parent web browser web browser rc xpcom ns ok browser error rc web browser 0 0 browser error xpcom ns error interfac nsi web browser web browser nsi web browser web browser 0 int result int 1 rc web browser queri interfac nsi base window ns ibasewindow iid result rc xpcom ns ok browser error rc result 0 0 browser error xpcom ns error interfac web browser releas nsi base window base window nsi base window result 0 result 0 0 int parent nativ window int 1 rc base window parent nativ window parent nativ window rc xpcom ns ok browser error rc parent nativ window 0 0 browser error xpcom ns error interfac base window releas displai displai displai current shell shell displai shell browser src null int 0 shell length src browser find browser shell parent nativ window 0 src null break final browser browser boolean doit fals chrome flag nsi web browser chrome chrome modal 0 featur mozilla platform lack nativ dialog mozilla send request browser instanc modal window window mozilla bring automat nativ print dialog respons javascript command window print linux mozilla request modal window browser displai emul html base print dialog reason modal request handl expos user final shell shell shell src shell swt dialog trim swt applic modal shell set layout fill layout browser browser shell swt browser add visibl window listen visibl window listen public void hide window event event public void show window event event event locat null shell set locat event locat event size null point size event size shell set size shell comput size size size shell open browser add close window listen close window listen public void close window event event shell close doit true window event event window event src event displai displai event widget src int 0 src open window listen length src open window listen open event browser event browser doit browser null browser dispos doit int address browser web browser chrome address nsi web browser chrome web browser chrome nsi web browser chrome address web browser chrome add ref xpcom memmov retval int address 4 return doit xpcom ns ok xpcom ns error implement createchromewindow chromeflag _retval ns_error_not_implement nsiwebbrowserchrom browserchromepar nsiwebbrowserchrom awebbrows browserchromepar getwebbrows awebbrows ns_ok awebbrows ns_error_no_interfac nsiwebbrows webbrows nsiwebbrows awebbrows webbrows queryinterfac nsibasewindow ns_ibasewindow_iid ns_ok ns_error_no_interfac webbrows nsibasewindow basewindow nsibasewindow aparentnativewindow basewindow getparentnativewindow aparentnativewindow ns_ok aparentnativewindow ns_error_no_interfac basewindow getcurr getshel findbrows aparentnativewindow chromeflag nsiwebbrowserchrom chrome_modal getshel dialog_trim applic_modal setlayout filllayout addvisibilitywindowlisten visibilitywindowlisten windowev windowev setloc setsiz computes addclosewindowlisten closewindowlisten windowev windowev windowev openwindowlisten openwindowlisten isdispos webbrowserchrom getaddress nsiwebbrowserchrom webbrowserchrom nsiwebbrowserchrom webbrowserchrom addref _retval ns_ok ns_error_not_implement public static final nativ boolean dt app initi int app context int displai int top wiget byte app dtappiniti appcontext topwiget appnam byte app byte app class public static final nativ void dt db load appnam appclass dtdbload byte app class public static final nativ void dt db load public static final nativ int dt dt data type name appclass dtdbload dtdtsdatatypenam public static final nativ void dt db load public static final nativ int dt dt data type name public static final nativ int dt dt file data type byte file dtdbload dtdtsdatatypenam dtdtsfiletodatatyp filenam public static final nativ int dt dt data type name public static final nativ int dt dt file data type byte file public static final nativ boolean dt dt data type action byte data type dtdtsdatatypenam dtdtsfiletodatatyp filenam dtdtsdatatypeisact datatyp public static final nativ int dt dt file data type byte file public static final nativ boolean dt dt data type action byte data type public static final nativ int dt dt data type attribut byte data type byte attr byte opt dtdtsfiletodatatyp filenam dtdtsdatatypeisact datatyp dtdtsdatatypetoattributevalu datatyp attrnam optnam byte attr byte opt public static final nativ void dt dt free data type int data type attrnam optnam dtdtsfreedatatyp datatyp byte opt public static final nativ void dt dt free data type int data type public static final nativ void dt dt free data type name int data type list optnam dtdtsfreedatatyp datatyp dtdtsfreedatatypenam datatypelist public static final nativ void dt dt free data type int data type public static final nativ void dt dt free data type name int data type list public static final nativ void dt dt free attribut int attr dtdtsfreedatatyp datatyp dtdtsfreedatatypenam datatypelist dtdtsfreeattributevalu attrvalu public static final nativ void dt dt free attribut int attr public static final nativ int dt action invok int top widget byte action byte file tbd argument dt action arg arg int arg count byte term opt byte exec host byte context dir int indic int callback dtdtsfreeattributevalu attrvalu dtactioninvok topwidget filenam dtactionarg argcount termopt exechost contextdir useind util method process cde relat structur public static final nativ int list element int list int index listelementat namelist public static final int kicon small 0 public static final nativ int kapplic int qc string kicon_small kapplic_new qcstring public static final nativ int kapplic int qc string public static final nativ int kglobal iconload kapplic_new qcstring kglobal_iconload public static final nativ int kglobal iconload public static final nativ int kiconload iconpath int loader int iconq string int icon type int return null kglobal_iconload kiconload_iconpath iconqstr icontyp canreturnnul public static final nativ int kiconload iconpath int loader int iconq string int icon type int return null public static final nativ int kmimetyp mimetyp int mime type kiconload_iconpath iconqstr icontyp canreturnnul kmimetyp_mimetyp mimetypenam public static final nativ int kmimetyp mimetyp int mime type public static final nativ int kmimetyp icon int mime type int unus1 int unus2 kmimetyp_mimetyp mimetypenam kmimetyp_icon mimetyp public static final nativ int kmimetyp mimetyp int mime type public static final nativ int kmimetyp icon int mime type int unus1 int unus2 public static final nativ int kmimetyp int mime type kmimetyp_mimetyp mimetypenam kmimetyp_icon mimetyp kmimetyp_name mimetyp public static final nativ int kmimetyp icon int mime type int unus1 int unus2 public static final nativ int kmimetyp int mime type public static final nativ int kmimetyp pattern int mime type kmimetyp_icon mimetyp kmimetyp_name mimetyp kmimetyp_pattern mimetyp public static final nativ int kmimetyp int mime type public static final nativ int kmimetyp pattern int mime type public static final nativ int kmimetyp offer int mime type kmimetyp_name mimetyp kmimetyp_pattern mimetyp kmimetyp_offer mimetypenam public static final nativ int kmimetyp pattern int mime type public static final nativ int kmimetyp offer int mime type public static final nativ int kmimetyp allmimetyp kmimetyp_pattern mimetyp kmimetyp_offer mimetypenam kmimetyp_allmimetyp public static final nativ int kmimetyp allmimetyp public static final nativ int kmimetypelist begin int mime type list kmimetyp_allmimetyp kmimetypelist_begin mimetypelist public static final nativ int kmimetypelist begin int mime type list public static final nativ int kmimetypelist delet int mime type list kmimetypelist_begin mimetypelist kmimetypelist_delet mimetypelist public static final nativ int kmimetypelist begin int mime type list public static final nativ int kmimetypelist delet int mime type list public static final nativ int kmimetypelist end int mime type list kmimetypelist_begin mimetypelist kmimetypelist_delet mimetypelist kmimetypelist_end mimetypelist public static final nativ int kmimetypelist end int mime type list public static final nativ int kmimetypelistiter delet int iter kmimetypelist_end mimetypelist kmimetypelistiter_delet public static final nativ int kmimetypelistiter delet int iter public static final nativ int kmimetypelistiter derefer int iter kmimetypelistiter_delet kmimetypelistiter_derefer public static final nativ int kmimetypelistiter delet int iter public static final nativ int kmimetypelistiter derefer int iter public static final nativ int kmimetypelistiter equal int iter int iter2 kmimetypelistiter_delet kmimetypelistiter_derefer kmimetypelistiter_equal public static final nativ int kmimetypelistiter derefer int iter public static final nativ int kmimetypelistiter equal int iter int iter2 public static final nativ void kmimetypelistiter increment int iter kmimetypelistiter_derefer kmimetypelistiter_equal kmimetypelistiter_increment public static final nativ void kmimetypelistiter increment int iter public static final nativ int qstringlist begin int qstring list kmimetypelistiter_increment qstringlist_begin qstringlist public static final nativ int qstringlist begin int qstring list public static final nativ int qstringlist delet int qstring list qstringlist_begin qstringlist qstringlist_delet qstringlist public static final nativ int qstringlist begin int qstring list public static final nativ int qstringlist delet int qstring list public static final nativ int qstringlist end int qstring list qstringlist_begin qstringlist qstringlist_delet qstringlist qstringlist_end qstringlist public static final nativ int qstringlist end int qstring list public static final nativ int qstringlistiter delet int iter qstringlist_end qstringlist qstringlistiter_delet public static final nativ int qstringlistiter delet int iter public static final nativ int qstringlistiter derefer int iter qstringlistiter_delet qstringlistiter_derefer public static final nativ int qstringlistiter delet int iter public static final nativ int qstringlistiter derefer int iter public static final nativ int qstringlistiter equal int iter int iter2 qstringlistiter_delet qstringlistiter_derefer qstringlistiter_equal public static final nativ int qstringlistiter derefer int iter public static final nativ int qstringlistiter equal int iter int iter2 public static final nativ void qstringlistiter increment int iter qstringlistiter_derefer qstringlistiter_equal qstringlistiter_increment public static final nativ void qstringlistiter increment int iter public static final nativ int kurl int qurl string qstringlistiter_increment kurl_new qurlstr public static final nativ int kurl int qurl string public static final nativ void kurl delet int url kurl_new qurlstr kurl_delet public static final nativ int kurl int qurl string public static final nativ void kurl delet int url public static final nativ int krun runurl int url int mime type kurl_new qurlstr kurl_delet krun_runurl mimetypenam public static final nativ int krun runurl int url int mime type public static final nativ int kservicelist delet int servic list krun_runurl mimetypenam kservicelist_delet servicelist public static final nativ int kservicelist delet int servic list public static final nativ int qcstring data int qc string kservicelist_delet servicelist qcstring_data qcstring public static final nativ int qcstring data int qc string public static final nativ int qcstring delet int qc string qcstring_data qcstring qcstring_delet qcstring public static final nativ int qcstring data int qc string public static final nativ int qcstring delet int qc string public static final nativ int qcstring byte string qcstring_data qcstring qcstring_delet qcstring qcstring_new public static final nativ int qcstring byte string public static final nativ int qstring delet int string qcstring_new qstring_delet qstring public static final nativ int qstring delet int string public static final nativ int qstring equal int string int string2 qstring_delet qstring qstring_equal qstring qstring2 public static final nativ int qstring delet int string public static final nativ int qstring equal int string int string2 public static final nativ int qstring byte string qstring_delet qstring qstring_equal qstring qstring2 qstring_new public static final nativ int qstring equal int string int string2 public static final nativ int qstring byte string public static final nativ int qstring utf8 int string qstring_equal qstring qstring2 qstring_new qstring_utf8 qstring static int malloc string int length int str len length resourc start str len 2 resourc start resourc length system println warn swt resourc overrun increas os resourc length system println warn exit system exit 0 char unicod char str len char 0 str len unicod 0 byte buffer byte str len 2 buffer 0 byte length int 0 str len buffer 1 byte unicod os memmov resourc start buffer str len 2 int result resourc start 1 resourc start str len 2 return result strlen nextresourcestart strlen resourc_start resourc_length resourc_length strlen getchar strlen strlen strlen nextresourcestart strlen nextresourcestart nextresourcestart strlen return result static final nativ int set resourc mem int start int end setresourcemem static final nativ int set resourc mem int start int end nativ public static final synchron nativ int call int proc int arg1 int arg2 setresourcemem nativ public static final synchron nativ int call int proc int arg1 int arg2 public static final synchron nativ int connect number int displai connectionnumb public static final synchron nativ int call int proc int arg1 int arg2 public static final synchron nativ int connect number int displai public static final nativ int codeset connectionnumb public static final synchron nativ int connect number int displai public static final nativ int codeset public static final nativ boolean fd isset int fd byte fd set connectionnumb fd_isset fd_set public static final nativ int codeset public static final nativ boolean fd isset int fd byte fd set public static final nativ void fd set int fd byte fd set fd_isset fd_set fd_set fd_set public static final nativ boolean fd isset int fd byte fd set public static final nativ void fd set int fd byte fd set public static final nativ void fd byte fd set fd_isset fd_set fd_set fd_set fd_zero fd_set public static final nativ void fd set int fd byte fd set public static final nativ void fd byte fd set public static final nativ int lc ctype fd_set fd_set fd_zero fd_set lc_ctype public static final nativ void fd byte fd set public static final nativ int lc ctype public static final nativ int mb cur max fd_zero fd_set lc_ctype mb_cur_max public static final nativ int lc ctype public static final nativ int mb cur max public static final synchron nativ int overrid shell widget class lc_ctype mb_cur_max overrideshellwidgetclass public static final nativ int mb cur max public static final synchron nativ int overrid shell widget class public static final synchron nativ int shell widget class mb_cur_max overrideshellwidgetclass shellwidgetclass public static final synchron nativ int overrid shell widget class public static final synchron nativ int shell widget class public static final synchron nativ int top level shell widget class overrideshellwidgetclass shellwidgetclass toplevelshellwidgetclass public static final synchron nativ int shell widget class public static final synchron nativ int top level shell widget class public static final synchron nativ int transient shell widget class shellwidgetclass toplevelshellwidgetclass transientshellwidgetclass public static final synchron nativ int top level shell widget class public static final synchron nativ int transient shell widget class public static final synchron nativ int xm menu shell widget class toplevelshellwidgetclass transientshellwidgetclass xmmenushellwidgetclass public static final synchron nativ int transient shell widget class public static final synchron nativ int xm menu shell widget class public static final synchron nativ int alloc color int displai int colormap color color transientshellwidgetclass xmmenushellwidgetclass xalloccolor xcolor public static final synchron nativ int xm menu shell widget class public static final synchron nativ int alloc color int displai int colormap color color public static final synchron nativ void bell int displai int ms xmmenushellwidgetclass xalloccolor xcolor xbell public static final synchron nativ int alloc color int displai int colormap color color public static final synchron nativ void bell int displai int ms public static final synchron nativ int black pixel int displai int screen num xalloccolor xcolor xbell xblackpixel screennum public static final synchron nativ void bell int displai int ms public static final synchron nativ int black pixel int displai int screen num public static final synchron nativ int chang activ pointer grab int displai int event mask int cursor int xbell xblackpixel screennum xchangeactivepointergrab eventmask public static final synchron nativ int black pixel int displai int screen num public static final synchron nativ int chang activ pointer grab int displai int event mask int cursor int public static final synchron nativ void chang properti int displai int int properti int type int format int mode int data int nelement xblackpixel screennum xchangeactivepointergrab eventmask xchangeproperti public static final synchron nativ int chang activ pointer grab int displai int event mask int cursor int public static final synchron nativ void chang properti int displai int int properti int type int format int mode int data int nelement public static final synchron nativ void chang window attribut int displai int window int mask set window attribut attribut xchangeactivepointergrab eventmask xchangeproperti xchangewindowattribut xsetwindowattribut public static final synchron nativ void chang properti int displai int int properti int type int format int mode int data int nelement public static final synchron nativ void chang window attribut int displai int window int mask set window attribut attribut public static final synchron nativ int check event int displai int event return int predic int arg xchangeproperti xchangewindowattribut xsetwindowattribut xcheckifev event_return public static final synchron nativ void chang window attribut int displai int window int mask set window attribut attribut public static final synchron nativ int check event int displai int event return int predic int arg public static final synchron nativ boolean check mask event int displai int mask int event xchangewindowattribut xsetwindowattribut xcheckifev event_return xcheckmaskev public static final synchron nativ int check event int displai int event return int predic int arg public static final synchron nativ boolean check mask event int displai int mask int event public static final synchron nativ boolean check window event int displai int window int mask int event xcheckifev event_return xcheckmaskev xcheckwindowev public static final synchron nativ boolean check mask event int displai int mask int event public static final synchron nativ boolean check window event int displai int window int mask int event public static final synchron nativ void clear area int displai int window int int int width int height boolean exposur xcheckmaskev xcheckwindowev xcleararea public static final synchron nativ boolean check window event int displai int window int mask int event public static final synchron nativ void clear area int displai int window int int int width int height boolean exposur public static final synchron nativ void clip box int region rectangl rectangl xcheckwindowev xcleararea xclipbox xrectangl public static final synchron nativ void clear area int displai int window int int int width int height boolean exposur public static final synchron nativ void clip box int region rectangl rectangl public static final synchron nativ void close displai int displai xcleararea xclipbox xrectangl xclosedisplai public static final synchron nativ void clip box int region rectangl rectangl public static final synchron nativ void close displai int displai public static final synchron nativ void copi area int displai int src int dest int gc int src int src int width int height int dest int dest xclipbox xrectangl xclosedisplai xcopyarea src_x src_y dest_x dest_y public static final synchron nativ void close displai int displai public static final synchron nativ void copi area int displai int src int dest int gc int src int src int width int height int dest int dest public static final synchron nativ void copi plane int displai int src int dest int gc int src int src int width int height int dest int dest int plane xclosedisplai xcopyarea src_x src_y dest_x dest_y xcopyplan src_x src_y dest_x dest_y public static final synchron nativ void copi area int displai int src int dest int gc int src int src int width int height int dest int dest public static final synchron nativ void copi plane int displai int src int dest int gc int src int src int width int height int dest int dest int plane public static final synchron nativ int creat bitmap data int displai int drawabl byte data int width int height xcopyarea src_x src_y dest_x dest_y xcopyplan src_x src_y dest_x dest_y xcreatebitmapfromdata public static final synchron nativ void copi plane int displai int src int dest int gc int src int src int width int height int dest int dest int plane public static final synchron nativ int creat bitmap data int displai int drawabl byte data int width int height public static final synchron nativ int creat font cursor int displai int shape xcopyplan src_x src_y dest_x dest_y xcreatebitmapfromdata xcreatefontcursor public static final synchron nativ int creat bitmap data int displai int drawabl byte data int width int height public static final synchron nativ int creat font cursor int displai int shape public static final synchron nativ int creategc int displai int window int mask xgc valu valu xcreatebitmapfromdata xcreatefontcursor xcreategc xgcvalu public static final synchron nativ int creat font cursor int displai int shape public static final synchron nativ int creategc int displai int window int mask xgc valu valu public static final synchron nativ int creat imag int displai int visual int depth int format int offset int data int width int height int bitmap pad int byte line xcreatefontcursor xcreategc xgcvalu xcreateimag bitmap_pad byte_per_line public static final synchron nativ int creategc int displai int window int mask xgc valu valu public static final synchron nativ int creat imag int displai int visual int depth int format int offset int data int width int height int bitmap pad int byte line public static final synchron nativ int creat pixmap int displai int drawabl int width int height int depth xcreategc xgcvalu xcreateimag bitmap_pad byte_per_line xcreatepixmap public static final synchron nativ int creat imag int displai int visual int depth int format int offset int data int width int height int bitmap pad int byte line public static final synchron nativ int creat pixmap int displai int drawabl int width int height int depth public static final synchron nativ int creat pixmap cursor int displai int sourc int mask color foreground color color background color int int xcreateimag bitmap_pad byte_per_line xcreatepixmap xcreatepixmapcursor xcolor foreground_color xcolor background_color public static final synchron nativ int creat pixmap int displai int drawabl int width int height int depth public static final synchron nativ int creat pixmap cursor int displai int sourc int mask color foreground color color background color int int public static final synchron nativ int creat region xcreatepixmap xcreatepixmapcursor xcolor foreground_color xcolor background_color xcreateregion public static final synchron nativ int creat pixmap cursor int displai int sourc int mask color foreground color color background color int int public static final synchron nativ int creat region public static final synchron nativ int creat window int displai int parent int int int width int height int border width int depth int clazz int visual mask set window attribut attribut xcreatepixmapcursor xcolor foreground_color xcolor background_color xcreateregion xcreatewindow border_width valu_mask xsetwindowattribut public static final synchron nativ int creat region public static final synchron nativ int creat window int displai int parent int int int width int height int border width int depth int clazz int visual mask set window attribut attribut public static final synchron nativ int default colormap int displai int screen number xcreateregion xcreatewindow border_width valu_mask xsetwindowattribut xdefaultcolormap screen_number public static final synchron nativ int creat window int displai int parent int int int width int height int border width int depth int clazz int visual mask set window attribut attribut public static final synchron nativ int default colormap int displai int screen number public static final synchron nativ int default colormap screen int screen xcreatewindow border_width valu_mask xsetwindowattribut xdefaultcolormap screen_number xdefaultcolormapofscreen public static final synchron nativ int default colormap int displai int screen number public static final synchron nativ int default colormap screen int screen public static final synchron nativ int default depth screen int screen xdefaultcolormap screen_number xdefaultcolormapofscreen xdefaultdepthofscreen public static final synchron nativ int default colormap screen int screen public static final synchron nativ int default depth screen int screen public static final synchron nativ int defaultgc screen int screen xdefaultcolormapofscreen xdefaultdepthofscreen xdefaultgcofscreen public static final synchron nativ int default depth screen int screen public static final synchron nativ int defaultgc screen int screen public static final synchron nativ int default root window int displai xdefaultdepthofscreen xdefaultgcofscreen xdefaultrootwindow public static final synchron nativ int defaultgc screen int screen public static final synchron nativ int default root window int displai public static final synchron nativ int default screen int displai xdefaultgcofscreen xdefaultrootwindow xdefaultscreen public static final synchron nativ int default root window int displai public static final synchron nativ int default screen int displai public static final synchron nativ int default screen displai int displai xdefaultrootwindow xdefaultscreen xdefaultscreenofdisplai public static final synchron nativ int default screen int displai public static final synchron nativ int default screen displai int displai public static final synchron nativ int default visual int displai int screen number xdefaultscreen xdefaultscreenofdisplai xdefaultvisu screen_number public static final synchron nativ int default screen displai int displai public static final synchron nativ int default visual int displai int screen number public static final synchron nativ void defin cursor int displai int window int cursor xdefaultscreenofdisplai xdefaultvisu screen_number xdefinecursor public static final synchron nativ int default visual int displai int screen number public static final synchron nativ void defin cursor int displai int window int cursor public static final synchron nativ int destroi imag int ximag xdefaultvisu screen_number xdefinecursor xdestroyimag public static final synchron nativ void defin cursor int displai int window int cursor public static final synchron nativ int destroi imag int ximag public static final synchron nativ void destroi region int region xdefinecursor xdestroyimag xdestroyregion public static final synchron nativ int destroi imag int ximag public static final synchron nativ void destroi region int region public static final synchron nativ void destroi window int displai int xdestroyimag xdestroyregion xdestroywindow public static final synchron nativ void destroi region int region public static final synchron nativ void destroi window int displai int public static final synchron nativ int displai height int displai int screen xdestroyregion xdestroywindow xdisplayheight public static final synchron nativ void destroi window int displai int public static final synchron nativ int displai height int displai int screen public static final synchron nativ int displai heightmm int displai int screen xdestroywindow xdisplayheight xdisplayheightmm public static final synchron nativ int displai height int displai int screen public static final synchron nativ int displai heightmm int displai int screen public static final synchron nativ int displai width int displai int screen xdisplayheight xdisplayheightmm xdisplaywidth public static final synchron nativ int displai heightmm int displai int screen public static final synchron nativ int displai width int displai int screen public static final synchron nativ int displai widthmm int displai int screen xdisplayheightmm xdisplaywidth xdisplaywidthmm public static final synchron nativ int displai width int displai int screen public static final synchron nativ int displai widthmm int displai int screen public static final synchron nativ void draw arc int displai int drawabl int gc int x1 int y1 int x2 int y2 int a1 int a2 xdisplaywidth xdisplaywidthmm xdrawarc public static final synchron nativ int displai widthmm int displai int screen public static final synchron nativ void draw arc int displai int drawabl int gc int x1 int y1 int x2 int y2 int a1 int a2 public static final synchron nativ void draw line int displai int drawabl int gc int x1 int y1 int x2 int y2 xdisplaywidthmm xdrawarc xdrawlin public static final synchron nativ void draw arc int displai int drawabl int gc int x1 int y1 int x2 int y2 int a1 int a2 public static final synchron nativ void draw line int displai int drawabl int gc int x1 int y1 int x2 int y2 public static final synchron nativ void draw line int displai int drawabl int gc short point int point int mode xdrawarc xdrawlin xdrawlin xpoint npoint public static final synchron nativ void draw line int displai int drawabl int gc int x1 int y1 int x2 int y2 public static final synchron nativ void draw line int displai int drawabl int gc short point int point int mode public static final synchron nativ void draw rectangl int displai int drawabl int gc int int int width int height xdrawlin xdrawlin xpoint npoint xdrawrectangl public static final synchron nativ void draw line int displai int drawabl int gc short point int point int mode public static final synchron nativ void draw rectangl int displai int drawabl int gc int int int width int height public static final synchron nativ void draw point int displai int drawabl int gc int int xdrawlin xpoint npoint xdrawrectangl xdrawpoint public static final synchron nativ void draw rectangl int displai int drawabl int gc int int int width int height public static final synchron nativ void draw point int displai int drawabl int gc int int public static final synchron nativ boolean empti region int region xdrawrectangl xdrawpoint xemptyregion public static final synchron nativ void draw point int displai int drawabl int gc int int public static final synchron nativ boolean empti region int region public static final synchron nativ int event queu int displai int mode xdrawpoint xemptyregion xeventsqueu public static final synchron nativ boolean empti region int region public static final synchron nativ int event queu int displai int mode public static final synchron nativ void fill arc int displai int drawabl int gc int x1 int y1 int x2 int y2 int a1 int a2 xemptyregion xeventsqueu xfillarc public static final synchron nativ int event queu int displai int mode public static final synchron nativ void fill arc int displai int drawabl int gc int x1 int y1 int x2 int y2 int a1 int a2 public static final synchron nativ int fill polygon int displai int drawabl int gc short point int point int mode int style xeventsqueu xfillarc xfillpolygon xpoint npoint public static final synchron nativ void fill arc int displai int drawabl int gc int x1 int y1 int x2 int y2 int a1 int a2 public static final synchron nativ int fill polygon int displai int drawabl int gc short point int point int mode int style public static final synchron nativ void fill rectangl int displai int drawabl int gc int int int width int height xfillarc xfillpolygon xpoint npoint xfillrectangl public static final synchron nativ int fill polygon int displai int drawabl int gc short point int point int mode int style public static final synchron nativ void fill rectangl int displai int drawabl int gc int int int width int height public static final synchron nativ boolean filter event int event int window xfillpolygon xpoint npoint xfillrectangl xfilterev public static final synchron nativ void fill rectangl int displai int drawabl int gc int int int width int height public static final synchron nativ boolean filter event int event int window public static final synchron nativ void flush int displai xfillrectangl xfilterev xflush public static final synchron nativ boolean filter event int event int window public static final synchron nativ void flush int displai public static final synchron nativ int font font set int font set int font struct int font name xfilterev xflush xfontsoffontset fontset fontstruct fontnam public static final synchron nativ void flush int displai public static final synchron nativ int font font set int font set int font struct int font name public static final synchron nativ int free int address xflush xfontsoffontset fontset fontstruct fontnam xfree public static final synchron nativ int font font set int font set int font struct int font name public static final synchron nativ int free int address public static final synchron nativ int free color int displai int colormap int pixel int npixel int plane xfontsoffontset fontset fontstruct fontnam xfree xfreecolor public static final synchron nativ int free int address public static final synchron nativ int free color int displai int colormap int pixel int npixel int plane public static final synchron nativ void free cursor int displai int pixmap xfree xfreecolor xfreecursor public static final synchron nativ int free color int displai int colormap int pixel int npixel int plane public static final synchron nativ void free cursor int displai int pixmap public static final synchron nativ void free font int displai int font struct xfreecolor xfreecursor xfreefont font_struct public static final synchron nativ void free cursor int displai int pixmap public static final synchron nativ void free font int displai int font struct public static final synchron nativ void free font name int list xfreecursor xfreefont font_struct xfreefontnam public static final synchron nativ void free font int displai int font struct public static final synchron nativ void free font name int list public static final synchron nativ void freegc int displai int gc xfreefont font_struct xfreefontnam xfreegc public static final synchron nativ void free font name int list public static final synchron nativ void freegc int displai int gc public static final synchron nativ void free pixmap int displai int pixmap xfreefontnam xfreegc xfreepixmap public static final synchron nativ void freegc int displai int gc public static final synchron nativ void free pixmap int displai int pixmap public static final synchron nativ void free string list int list xfreegc xfreepixmap xfreestringlist public static final synchron nativ void free pixmap int displai int pixmap public static final synchron nativ void free string list int list public static final synchron nativ int getgc valu int displai int gc int valuemask xgc valu valu xfreepixmap xfreestringlist xgetgcvalu xgcvalu public static final synchron nativ void free string list int list public static final synchron nativ int getgc valu int displai int gc int valuemask xgc valu valu public static final synchron nativ int geometri int displai int drawabl int root return int return int return int width return int height return int border width return int depth return xfreestringlist xgetgcvalu xgcvalu xgetgeometri root_return x_return y_return width_return height_return border_width_return depth_return public static final synchron nativ int getgc valu int displai int gc int valuemask xgc valu valu public static final synchron nativ int geometri int displai int drawabl int root return int return int return int width return int height return int border width return int depth return public static final synchron nativ int imag int displai int drawabl int int int width int height int plane mask int format xgetgcvalu xgcvalu xgetgeometri root_return x_return y_return width_return height_return border_width_return depth_return xgetimag plane_mask public static final synchron nativ int geometri int displai int drawabl int root return int return int return int width return int height return int border width return int depth return public static final synchron nativ int imag int displai int drawabl int int int width int height int plane mask int format public static final synchron nativ int input focu int displai int window int revert xgetgeometri root_return x_return y_return width_return height_return border_width_return depth_return xgetimag plane_mask xgetinputfocu public static final synchron nativ int imag int displai int drawabl int int int width int height int plane mask int format public static final synchron nativ int input focu int displai int window int revert public static final synchron nativ boolean window attribut int displai int window window attribut attribut xgetimag plane_mask xgetinputfocu xgetwindowattribut xwindowattribut public static final synchron nativ int input focu int displai int window int revert public static final synchron nativ boolean window attribut int displai int window window attribut attribut public static final synchron nativ int window properti int displai int window int properti int offset int length boolean delet int req type int actual type return int actual format return int nitem return int byte return int prop return xgetinputfocu xgetwindowattribut xwindowattribut xgetwindowproperti req_type actual_type_return actual_format_return nitem_return byte_after_return prop_return public static final synchron nativ boolean window attribut int displai int window window attribut attribut public static final synchron nativ int window properti int displai int window int properti int offset int length boolean delet int req type int actual type return int actual format return int nitem return int byte return int prop return public static final synchron nativ int grab keyboard int displai int grab window int owner event int pointer mode int keyboard mode int xgetwindowattribut xwindowattribut xgetwindowproperti req_type actual_type_return actual_format_return nitem_return byte_after_return prop_return xgrabkeyboard grabwindow ownerev pointermod keyboardmod public static final synchron nativ int window properti int displai int window int properti int offset int length boolean delet int req type int actual type return int actual format return int nitem return int byte return int prop return public static final synchron nativ int grab keyboard int displai int grab window int owner event int pointer mode int keyboard mode int public static final synchron nativ int grab pointer int displai int grab window int owner event int event mask int pointer mode int keyboard mode int confin window int cursor int xgetwindowproperti req_type actual_type_return actual_format_return nitem_return byte_after_return prop_return xgrabkeyboard grabwindow ownerev pointermod keyboardmod xgrabpoint grabwindow ownerev eventmask pointermod keyboardmod confinetowindow public static final synchron nativ int grab keyboard int displai int grab window int owner event int pointer mode int keyboard mode int public static final synchron nativ int grab pointer int displai int grab window int owner event int event mask int pointer mode int keyboard mode int confin window int cursor int public static final synchron nativ int init thread xgrabkeyboard grabwindow ownerev pointermod keyboardmod xgrabpoint grabwindow ownerev eventmask pointermod keyboardmod confinetowindow xinitthread public static final synchron nativ int grab pointer int displai int grab window int owner event int event mask int pointer mode int keyboard mode int confin window int cursor int public static final synchron nativ int init thread public static final synchron nativ int intern atom int displai byte boolean exist xgrabpoint grabwindow ownerev eventmask pointermod keyboardmod confinetowindow xinitthread xinternatom ifexist public static final synchron nativ int init thread public static final synchron nativ int intern atom int displai byte boolean exist public static final synchron nativ void intersect region int sra int srb int dr return xinitthread xinternatom ifexist xintersectregion dr_return public static final synchron nativ int intern atom int displai byte boolean exist public static final synchron nativ void intersect region int sra int srb int dr return public static final synchron nativ int keysym keycod int displai int keysym xinternatom ifexist xintersectregion dr_return xkeysymtokeycod public static final synchron nativ void intersect region int sra int srb int dr return public static final synchron nativ int keysym keycod int displai int keysym public static final synchron nativ int keysym string int keysym xintersectregion dr_return xkeysymtokeycod xkeysymtostr public static final synchron nativ int keysym keycod int displai int keysym public static final synchron nativ int keysym string int keysym public static final synchron nativ int list font int displai byte pattern int maxnam int actual count return xkeysymtokeycod xkeysymtostr xlistfont actual_count_return public static final synchron nativ int keysym string int keysym public static final synchron nativ int list font int displai byte pattern int maxnam int actual count return public static final synchron nativ int list properti int displai int window int num prop return xkeysymtostr xlistfont actual_count_return xlistproperti num_prop_return public static final synchron nativ int list font int displai byte pattern int maxnam int actual count return public static final synchron nativ int list properti int displai int window int num prop return public static final synchron nativ int local font set int font set xlistfont actual_count_return xlistproperti num_prop_return xlocaleoffontset fontset public static final synchron nativ int list properti int displai int window int num prop return public static final synchron nativ int local font set int font set public static final synchron nativ int lookup string kei event event byte string int size int keysym int statu xlistproperti num_prop_return xlocaleoffontset fontset xlookupstr xkeyev public static final synchron nativ int local font set int font set public static final synchron nativ int lookup string kei event event byte string int size int keysym int statu public static final synchron nativ int lower window int displai int window xlocaleoffontset fontset xlookupstr xkeyev xlowerwindow public static final synchron nativ int lookup string kei event event byte string int size int keysym int statu public static final synchron nativ int lower window int displai int window public static final synchron nativ void map window int displai int xlookupstr xkeyev xlowerwindow xmapwindow public static final synchron nativ int lower window int displai int window public static final synchron nativ void map window int displai int public static final synchron nativ int modifi map int displai xlowerwindow xmapwindow xgetmodifiermap public static final synchron nativ void map window int displai int public static final synchron nativ int modifi map int displai public static final synchron nativ int icon size int displai int int size list return int count return xmapwindow xgetmodifiermap xgeticons size_list_return count_return public static final synchron nativ int modifi map int displai public static final synchron nativ int icon size int displai int int size list return int count return public static final synchron nativ void move resiz window int displai int int int int width int height xgetmodifiermap xgeticons size_list_return count_return xmoveresizewindow public static final synchron nativ int icon size int displai int int size list return int count return public static final synchron nativ void move resiz window int displai int int int int width int height public static final synchron nativ int open displai byte displai xgeticons size_list_return count_return xmoveresizewindow xopendisplai displai_name public static final synchron nativ void move resiz window int displai int int int int width int height public static final synchron nativ int open displai byte displai public static final synchron nativ boolean point region int region int int xmoveresizewindow xopendisplai displai_name xpointinregion public static final synchron nativ int open displai byte displai public static final synchron nativ boolean point region int region int int public static final synchron nativ int polygon region short point int int fill rule xopendisplai displai_name xpointinregion xpolygonregion fill_rule public static final synchron nativ boolean point region int region int int public static final synchron nativ int polygon region short point int int fill rule public static final synchron nativ int put imag int displai int drawabl int gc int imag int srcx int srcy int destx int desti int width int height xpointinregion xpolygonregion fill_rule xputimag public static final synchron nativ int polygon region short point int int fill rule public static final synchron nativ int put imag int displai int drawabl int gc int imag int srcx int srcy int destx int desti int width int height public static final synchron nativ int queri color int displai int colormap color color xpolygonregion fill_rule xputimag xquerycolor xcolor public static final synchron nativ int put imag int displai int drawabl int gc int imag int srcx int srcy int destx int desti int width int height public static final synchron nativ int queri color int displai int colormap color color public static final synchron nativ int queri cursor int displai int int width int height int width return int height return xputimag xquerycolor xcolor xquerybestcursor width_return height_return public static final synchron nativ int queri color int displai int colormap color color public static final synchron nativ int queri cursor int displai int int width int height int width return int height return public static final synchron nativ int queri pointer int displai int window int root int child int rootx int rooti int windowx int windowi int mask xquerycolor xcolor xquerybestcursor width_return height_return xquerypoint public static final synchron nativ int queri cursor int displai int int width int height int width return int height return public static final synchron nativ int queri pointer int displai int window int root int child int rootx int rooti int windowx int windowi int mask public static final synchron nativ int queri tree int displai int window int root return int parent return int children return int nchildren return xquerybestcursor width_return height_return xquerypoint xquerytre root_return parent_return children_return nchildren_return public static final synchron nativ int queri pointer int displai int window int root int child int rootx int rooti int windowx int windowi int mask public static final synchron nativ int queri tree int displai int window int root return int parent return int children return int nchildren return public static final synchron nativ int rais window int displai int window xquerypoint xquerytre root_return parent_return children_return nchildren_return xraisewindow public static final synchron nativ int queri tree int displai int window int root return int parent return int children return int nchildren return public static final synchron nativ int rais window int displai int window public static final synchron nativ int reconfigurewm window int displai int window int screen int mask window valu xquerytre root_return parent_return children_return nchildren_return xraisewindow xreconfigurewmwindow valuemask xwindowchang public static final synchron nativ int rais window int displai int window public static final synchron nativ int reconfigurewm window int displai int window int screen int mask window valu public static final synchron nativ int rect region int region int int int width int height xraisewindow xreconfigurewmwindow valuemask xwindowchang xrectinregion public static final synchron nativ int reconfigurewm window int displai int window int screen int mask window valu public static final synchron nativ int rect region int region int int int width int height public static final synchron nativ int repar window int displai int win int parent int int xreconfigurewmwindow valuemask xwindowchang xrectinregion xreparentwindow public static final synchron nativ int rect region int region int int int width int height public static final synchron nativ int repar window int displai int win int parent int int public static final synchron nativ void resiz window int displai int int width int height xrectinregion xreparentwindow xresizewindow public static final synchron nativ int repar window int displai int win int parent int int public static final synchron nativ void resiz window int displai int int width int height public static final synchron nativ int root window screen int screen xreparentwindow xresizewindow xrootwindowofscreen public static final synchron nativ void resiz window int displai int int width int height public static final synchron nativ int root window screen int screen public static final synchron nativ void select input int displai int window int mask xresizewindow xrootwindowofscreen xselectinput public static final synchron nativ int root window screen int screen public static final synchron nativ void select input int displai int window int mask public static final synchron nativ int send event int displai int window boolean propag int event mask int event xrootwindowofscreen xselectinput xsendev event_mask public static final synchron nativ void select input int displai int window int mask public static final synchron nativ int send event int displai int window boolean propag int event mask int event public static final synchron nativ void set background int displai int gc int background xselectinput xsendev event_mask xsetbackground public static final synchron nativ int send event int displai int window boolean propag int event mask int event public static final synchron nativ void set background int displai int gc int background public static final synchron nativ void set clip mask int displai int gc int pixmap xsendev event_mask xsetbackground xsetclipmask public static final synchron nativ void set background int displai int gc int background public static final synchron nativ void set clip mask int displai int gc int pixmap public static final synchron nativ void set clip rectangl int displai int gc int clip origin int clip origin rectangl rectangl int int order xsetbackground xsetclipmask xsetcliprectangl clip_x_origin clip_y_origin xrectangl public static final synchron nativ void set clip mask int displai int gc int pixmap public static final synchron nativ void set clip rectangl int displai int gc int clip origin int clip origin rectangl rectangl int int order public static final synchron nativ int set dash int displai int gc int dash offset byte dash list int xsetclipmask xsetcliprectangl clip_x_origin clip_y_origin xrectangl xsetdash dash_offset dash_list public static final synchron nativ void set clip rectangl int displai int gc int clip origin int clip origin rectangl rectangl int int order public static final synchron nativ int set dash int displai int gc int dash offset byte dash list int public static final synchron nativ int set error handler int handler xsetcliprectangl clip_x_origin clip_y_origin xrectangl xsetdash dash_offset dash_list xseterrorhandl public static final synchron nativ int set dash int displai int gc int dash offset byte dash list int public static final synchron nativ int set error handler int handler public static final synchron nativ void set fill style int displai int gc int fill style xsetdash dash_offset dash_list xseterrorhandl xsetfillstyl fill_style public static final synchron nativ int set error handler int handler public static final synchron nativ void set fill style int displai int gc int fill style public static final synchron nativ void set foreground int displai int gc int foreground xseterrorhandl xsetfillstyl fill_style xsetforeground public static final synchron nativ void set fill style int displai int gc int fill style public static final synchron nativ void set foreground int displai int gc int foreground public static final synchron nativ void set function int displai int gc int function xsetfillstyl fill_style xsetforeground xsetfunct public static final synchron nativ void set foreground int displai int gc int foreground public static final synchron nativ void set function int displai int gc int function public static final synchron nativ void set graphic exposur int displai int gc boolean graphic exposur xsetforeground xsetfunct xsetgraphicsexposur graphic_exposur public static final synchron nativ void set function int displai int gc int function public static final synchron nativ void set graphic exposur int displai int gc boolean graphic exposur public static final synchron nativ int setio error handler int handler xsetfunct xsetgraphicsexposur graphic_exposur xsetioerrorhandl public static final synchron nativ void set graphic exposur int displai int gc boolean graphic exposur public static final synchron nativ int setio error handler int handler public static final synchron nativ int set input focu int displai int window int revert int xsetgraphicsexposur graphic_exposur xsetioerrorhandl xsetinputfocu public static final synchron nativ int setio error handler int handler public static final synchron nativ int set input focu int displai int window int revert int public static final synchron nativ int set line attribut int displai int gc int line width int line style int cap style int join style xsetioerrorhandl xsetinputfocu xsetlineattribut linewidth linestyl capstyl joinstyl public static final synchron nativ int set input focu int displai int window int revert int public static final synchron nativ int set line attribut int displai int gc int line width int line style int cap style int join style public static final synchron nativ void set region int displai int gc int region xsetinputfocu xsetlineattribut linewidth linestyl capstyl joinstyl xsetregion public static final synchron nativ int set line attribut int displai int gc int line width int line style int cap style int join style public static final synchron nativ void set region int displai int gc int region public static final synchron nativ void set stippl int displai int gc int pixmap xsetlineattribut linewidth linestyl capstyl joinstyl xsetregion xsetstippl public static final synchron nativ void set region int displai int gc int region public static final synchron nativ void set stippl int displai int gc int pixmap public static final synchron nativ void set subwindow mode int displai int gc int subwindow mode xsetregion xsetstippl xsetsubwindowmod subwindow_mode public static final synchron nativ void set stippl int displai int gc int pixmap public static final synchron nativ void set subwindow mode int displai int gc int subwindow mode public static final synchron nativ void setwm normal hint int displai int size hint hint xsetstippl xsetsubwindowmod subwindow_mode xsetwmnormalhint xsizehint public static final synchron nativ void set subwindow mode int displai int gc int subwindow mode public static final synchron nativ void setwm normal hint int displai int size hint hint public static final synchron nativ void shape combin mask int displai int dest int dest kind int int int src int op xsetsubwindowmod subwindow_mode xsetwmnormalhint xsizehint xshapecombinemask dest_kind x_off y_off public static final synchron nativ void setwm normal hint int displai int size hint hint public static final synchron nativ void shape combin mask int displai int dest int dest kind int int int src int op public static final synchron nativ void shape combin region int displai int dest int dest kind int int int region int op xsetwmnormalhint xsizehint xshapecombinemask dest_kind x_off y_off xshapecombineregion dest_kind x_off y_off public static final synchron nativ void shape combin mask int displai int dest int dest kind int int int src int op public static final synchron nativ void shape combin region int displai int dest int dest kind int int int region int op public static final synchron nativ void subtract region int sra int srb int dr return xshapecombinemask dest_kind x_off y_off xshapecombineregion dest_kind x_off y_off xsubtractregion dr_return public static final synchron nativ void shape combin region int displai int dest int dest kind int int int region int op public static final synchron nativ void subtract region int sra int srb int dr return public static final synchron nativ void sync int displai boolean discard xshapecombineregion dest_kind x_off y_off xsubtractregion dr_return xsync public static final synchron nativ void subtract region int sra int srb int dr return public static final synchron nativ void sync int displai boolean discard public static final synchron nativ int synchron int displai boolean onoff xsubtractregion dr_return xsync xsynchron public static final synchron nativ void sync int displai boolean discard public static final synchron nativ int synchron int displai boolean onoff public static final synchron nativ void test fake button event int displai int button boolean press int delai xsync xsynchron xtestfakebuttonev is_press public static final synchron nativ int synchron int displai boolean onoff public static final synchron nativ void test fake button event int displai int button boolean press int delai public static final synchron nativ void test fake kei event int displai int keycod boolean press int delai xsynchron xtestfakebuttonev is_press xtestfakekeyev is_press public static final synchron nativ void test fake button event int displai int button boolean press int delai public static final synchron nativ void test fake kei event int displai int keycod boolean press int delai public static final synchron nativ void test fake motion event int displai int screen number int int int delai xtestfakebuttonev is_press xtestfakekeyev is_press xtestfakemotionev screen_number public static final synchron nativ void test fake kei event int displai int keycod boolean press int delai public static final synchron nativ void test fake motion event int displai int screen number int int int delai public static final synchron nativ void undefin cursor int displai int window xtestfakekeyev is_press xtestfakemotionev screen_number xundefinecursor public static final synchron nativ void test fake motion event int displai int screen number int int int delai public static final synchron nativ void undefin cursor int displai int window public static final synchron nativ int ungrab keyboard int displai int xtestfakemotionev screen_number xundefinecursor xungrabkeyboard public static final synchron nativ void undefin cursor int displai int window public static final synchron nativ int ungrab keyboard int displai int public static final synchron nativ int ungrab pointer int displai int xundefinecursor xungrabkeyboard xungrabpoint public static final synchron nativ int ungrab keyboard int displai int public static final synchron nativ int ungrab pointer int displai int public static final synchron nativ void union rect region rectangl rectangl int src region int dest region return xungrabkeyboard xungrabpoint xunionrectwithregion xrectangl src_region dest_region_return public static final synchron nativ int ungrab pointer int displai int public static final synchron nativ void union rect region rectangl rectangl int src region int dest region return public static final synchron nativ void union region int sra int srb int dr return xungrabpoint xunionrectwithregion xrectangl src_region dest_region_return xunionregion dr_return public static final synchron nativ void union rect region rectangl rectangl int src region int dest region return public static final synchron nativ void union region int sra int srb int dr return public static final synchron nativ void unmap window int displai int window xunionrectwithregion xrectangl src_region dest_region_return xunionregion dr_return xunmapwindow public static final synchron nativ void union region int sra int srb int dr return public static final synchron nativ void unmap window int displai int window public static final synchron nativ int warp pointer int displai int sourc window int dest window int sourcex int sourcei int sourc width int sourc height int destx int desti xunionregion dr_return xunmapwindow xwarppoint sourcewindow destwindow sourcewidth sourceheight public static final synchron nativ void unmap window int displai int window public static final synchron nativ int warp pointer int displai int sourc window int dest window int sourcex int sourcei int sourc width int sourc height int destx int desti public static final synchron nativ int white pixel int displai int screen num xunmapwindow xwarppoint sourcewindow destwindow sourcewidth sourceheight xwhitepixel screennum public static final synchron nativ int warp pointer int displai int sourc window int dest window int sourcex int sourcei int sourc width int sourc height int destx int desti public static final synchron nativ int white pixel int displai int screen num public static final synchron nativ void withdraw window int displai int window int screen xwarppoint sourcewindow destwindow sourcewidth sourceheight xwhitepixel screennum xwithdrawwindow public static final synchron nativ int white pixel int displai int screen num public static final synchron nativ void withdraw window int displai int window int screen public static final synchron nativ boolean xinerama activ int dpy xwhitepixel screennum xwithdrawwindow xineramaisact public static final synchron nativ void withdraw window int displai int window int screen public static final synchron nativ boolean xinerama activ int dpy public static final synchron nativ int xinerama queri screen int dpy int number xwithdrawwindow xineramaisact xineramaqueryscreen public static final synchron nativ boolean xinerama activ int dpy public static final synchron nativ int xinerama queri screen int dpy int number public static final synchron nativ void xm addwm protocol callback int shell int protocol int callback int closur xineramaisact xineramaqueryscreen xmaddwmprotocolcallback public static final synchron nativ int xinerama queri screen int dpy int number public static final synchron nativ void xm addwm protocol callback int shell int protocol int callback int closur public static final synchron nativ void xm chang color int widget int pixel xineramaqueryscreen xmaddwmprotocolcallback xmchangecolor public static final synchron nativ void xm addwm protocol callback int shell int protocol int callback int closur public static final synchron nativ void xm chang color int widget int pixel public static final synchron nativ int xm clipboard copi int displai int window int item id byte format byte buffer int length int privat id int data id xmaddwmprotocolcallback xmchangecolor xmclipboardcopi item_id format_name privat_id data_id public static final synchron nativ void xm chang color int widget int pixel public static final synchron nativ int xm clipboard copi int displai int window int item id byte format byte buffer int length int privat id int data id public static final synchron nativ int xm clipboard end copi int displai int window int item id xmchangecolor xmclipboardcopi item_id format_name privat_id data_id xmclipboardendcopi item_id public static final synchron nativ int xm clipboard copi int displai int window int item id byte format byte buffer int length int privat id int data id public static final synchron nativ int xm clipboard end copi int displai int window int item id public static final synchron nativ int xm clipboard end retriev int displai int window xmclipboardcopi item_id format_name privat_id data_id xmclipboardendcopi item_id xmclipboardendretriev public static final synchron nativ int xm clipboard end copi int displai int window int item id public static final synchron nativ int xm clipboard end retriev int displai int window public static final synchron nativ int xm clipboard inquir count int displai int window int count int max format length xmclipboardendcopi item_id xmclipboardendretriev xmclipboardinquirecount max_format_name_length public static final synchron nativ int xm clipboard end retriev int displai int window public static final synchron nativ int xm clipboard inquir count int displai int window int count int max format length public static final synchron nativ int xm clipboard inquir format int displai int window int index byte format buf int buffer len int copi len xmclipboardendretriev xmclipboardinquirecount max_format_name_length xmclipboardinquireformat format_name_buf buffer_len copi_len public static final synchron nativ int xm clipboard inquir count int displai int window int count int max format length public static final synchron nativ int xm clipboard inquir format int displai int window int index byte format buf int buffer len int copi len public static final synchron nativ int xm clipboard inquir length int displai int widget byte format int length xmclipboardinquirecount max_format_name_length xmclipboardinquireformat format_name_buf buffer_len copi_len xmclipboardinquirelength format_name public static final synchron nativ int xm clipboard inquir format int displai int window int index byte format buf int buffer len int copi len public static final synchron nativ int xm clipboard inquir length int displai int widget byte format int length public static final synchron nativ int xm clipboard retriev int displai int window byte format byte buffer int length int num byte int privat id xmclipboardinquireformat format_name_buf buffer_len copi_len xmclipboardinquirelength format_name xmclipboardretriev format_name num_byte privat_id public static final synchron nativ int xm clipboard inquir length int displai int widget byte format int length public static final synchron nativ int xm clipboard retriev int displai int window byte format byte buffer int length int num byte int privat id public static final synchron nativ int xm clipboard start copi int displai int window int clip label int timestamp int widget int callback int item id xmclipboardinquirelength format_name xmclipboardretriev format_name num_byte privat_id xmclipboardstartcopi clip_label item_id public static final synchron nativ int xm clipboard retriev int displai int window byte format byte buffer int length int num byte int privat id public static final synchron nativ int xm clipboard start copi int displai int window int clip label int timestamp int widget int callback int item id public static final synchron nativ int xm clipboard start retriev int displai int window int timestamp xmclipboardretriev format_name num_byte privat_id xmclipboardstartcopi clip_label item_id xmclipboardstartretriev public static final synchron nativ int xm clipboard start copi int displai int window int clip label int timestamp int widget int callback int item id public static final synchron nativ int xm clipboard start retriev int displai int window int timestamp public static final synchron nativ void xm combo box add item int widget int xm string int posit boolean uniqu xmclipboardstartcopi clip_label item_id xmclipboardstartretriev xmcomboboxadditem xmstring public static final synchron nativ int xm clipboard start retriev int displai int window int timestamp public static final synchron nativ void xm combo box add item int widget int xm string int posit boolean uniqu public static final synchron nativ void xm combo box delet po int widget int posit xmclipboardstartretriev xmcomboboxadditem xmstring xmcomboboxdeletepo public static final synchron nativ void xm combo box add item int widget int xm string int posit boolean uniqu public static final synchron nativ void xm combo box delet po int widget int posit public static final synchron nativ void xm combo box select item int widget int xm string xmcomboboxadditem xmstring xmcomboboxdeletepo xmcomboboxselectitem xmstring public static final synchron nativ void xm combo box delet po int widget int posit public static final synchron nativ void xm combo box select item int widget int xm string public static final synchron nativ int xm creat arrow button int parent byte int arglist int argcount xmcomboboxdeletepo xmcomboboxselectitem xmstring xmcreatearrowbutton public static final synchron nativ void xm combo box select item int widget int xm string public static final synchron nativ int xm creat arrow button int parent byte int arglist int argcount public static final synchron nativ int xm creat cascad button gadget int parent byte int arglist int argcount xmcomboboxselectitem xmstring xmcreatearrowbutton xmcreatecascadebuttongadget public static final synchron nativ int xm creat arrow button int parent byte int arglist int argcount public static final synchron nativ int xm creat cascad button gadget int parent byte int arglist int argcount public static final synchron nativ int xm creat combo box int parent byte int arglist int argcount xmcreatearrowbutton xmcreatecascadebuttongadget xmcreatecombobox public static final synchron nativ int xm creat cascad button gadget int parent byte int arglist int argcount public static final synchron nativ int xm creat combo box int parent byte int arglist int argcount public static final synchron nativ int xm creat dialog shell int parent byte int arglist int argcount xmcreatecascadebuttongadget xmcreatecombobox xmcreatedialogshel public static final synchron nativ int xm creat combo box int parent byte int arglist int argcount public static final synchron nativ int xm creat dialog shell int parent byte int arglist int argcount public static final synchron nativ int xm creat draw area int parent byte int arglist int argcount xmcreatecombobox xmcreatedialogshel xmcreatedrawingarea public static final synchron nativ int xm creat dialog shell int parent byte int arglist int argcount public static final synchron nativ int xm creat draw area int parent byte int arglist int argcount public static final synchron nativ int xm creat drawn button int parent byte int arglist int argcount xmcreatedialogshel xmcreatedrawingarea xmcreatedrawnbutton public static final synchron nativ int xm creat draw area int parent byte int arglist int argcount public static final synchron nativ int xm creat drawn button int parent byte int arglist int argcount public static final synchron nativ int xm creat error dialog int parent byte int arglist int argcount xmcreatedrawingarea xmcreatedrawnbutton xmcreateerrordialog public static final synchron nativ int xm creat drawn button int parent byte int arglist int argcount public static final synchron nativ int xm creat error dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat file select dialog int parent byte int arglist int argcount xmcreatedrawnbutton xmcreateerrordialog xmcreatefileselectiondialog public static final synchron nativ int xm creat error dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat file select dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat form int parent byte int arglist int argcount xmcreateerrordialog xmcreatefileselectiondialog xmcreateform public static final synchron nativ int xm creat file select dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat form int parent byte int arglist int argcount public static final synchron nativ int xm creat frame int parent byte int arglist int argcount xmcreatefileselectiondialog xmcreateform xmcreatefram public static final synchron nativ int xm creat form int parent byte int arglist int argcount public static final synchron nativ int xm creat frame int parent byte int arglist int argcount public static final synchron nativ int xm creat inform dialog int parent byte int arglist int argcount xmcreateform xmcreatefram xmcreateinformationdialog public static final synchron nativ int xm creat frame int parent byte int arglist int argcount public static final synchron nativ int xm creat inform dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat label int parent byte int arglist int argcount xmcreatefram xmcreateinformationdialog xmcreatelabel public static final synchron nativ int xm creat inform dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat label int parent byte int arglist int argcount public static final synchron nativ int xm creat list int parent byte int arglist int argcount xmcreateinformationdialog xmcreatelabel xmcreatelist public static final synchron nativ int xm creat label int parent byte int arglist int argcount public static final synchron nativ int xm creat list int parent byte int arglist int argcount public static final synchron nativ int xm creat main window int parent byte int arglist int argcount xmcreatelabel xmcreatelist xmcreatemainwindow public static final synchron nativ int xm creat list int parent byte int arglist int argcount public static final synchron nativ int xm creat main window int parent byte int arglist int argcount public static final synchron nativ int xm creat menu bar int parent byte int arglist int argcount xmcreatelist xmcreatemainwindow xmcreatemenubar public static final synchron nativ int xm creat main window int parent byte int arglist int argcount public static final synchron nativ int xm creat menu bar int parent byte int arglist int argcount public static final synchron nativ int xm creat messag dialog int parent byte int arglist int argcount xmcreatemainwindow xmcreatemenubar xmcreatemessagedialog public static final synchron nativ int xm creat menu bar int parent byte int arglist int argcount public static final synchron nativ int xm creat messag dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat popup menu int parent byte int arglist int argcount xmcreatemenubar xmcreatemessagedialog xmcreatepopupmenu public static final synchron nativ int xm creat messag dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat popup menu int parent byte int arglist int argcount public static final synchron nativ int xm creat pulldown menu int parent byte int arglist int argcount xmcreatemessagedialog xmcreatepopupmenu xmcreatepulldownmenu public static final synchron nativ int xm creat popup menu int parent byte int arglist int argcount public static final synchron nativ int xm creat pulldown menu int parent byte int arglist int argcount public static final synchron nativ int xm creat push button int parent byte int arglist int argcount xmcreatepopupmenu xmcreatepulldownmenu xmcreatepushbutton public static final synchron nativ int xm creat pulldown menu int parent byte int arglist int argcount public static final synchron nativ int xm creat push button int parent byte int arglist int argcount public static final synchron nativ int xm creat push button gadget int parent byte int arglist int argcount xmcreatepulldownmenu xmcreatepushbutton xmcreatepushbuttongadget public static final synchron nativ int xm creat push button int parent byte int arglist int argcount public static final synchron nativ int xm creat push button gadget int parent byte int arglist int argcount public static final synchron nativ int xm creat question dialog int parent byte int arglist int argcount xmcreatepushbutton xmcreatepushbuttongadget xmcreatequestiondialog public static final synchron nativ int xm creat push button gadget int parent byte int arglist int argcount public static final synchron nativ int xm creat question dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat scale int parent byte int arglist int argcount xmcreatepushbuttongadget xmcreatequestiondialog xmcreatescal public static final synchron nativ int xm creat question dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat scale int parent byte int arglist int argcount public static final synchron nativ int xm creat scroll bar int parent byte int arglist int argcount xmcreatequestiondialog xmcreatescal xmcreatescrollbar public static final synchron nativ int xm creat scale int parent byte int arglist int argcount public static final synchron nativ int xm creat scroll bar int parent byte int arglist int argcount public static final synchron nativ int xm creat scroll list int parent byte int arglist int argcount xmcreatescal xmcreatescrollbar xmcreatescrolledlist public static final synchron nativ int xm creat scroll bar int parent byte int arglist int argcount public static final synchron nativ int xm creat scroll list int parent byte int arglist int argcount public static final synchron nativ int xm creat scroll text int parent byte int arglist int argcount xmcreatescrollbar xmcreatescrolledlist xmcreatescrolledtext public static final synchron nativ int xm creat scroll list int parent byte int arglist int argcount public static final synchron nativ int xm creat scroll text int parent byte int arglist int argcount public static final synchron nativ int xm creat separ int parent byte int arglist int argcount xmcreatescrolledlist xmcreatescrolledtext xmcreatesepar public static final synchron nativ int xm creat scroll text int parent byte int arglist int argcount public static final synchron nativ int xm creat separ int parent byte int arglist int argcount public static final synchron nativ int xm creat separ gadget int parent byte int arglist int argcount xmcreatescrolledtext xmcreatesepar xmcreateseparatorgadget public static final synchron nativ int xm creat separ int parent byte int arglist int argcount public static final synchron nativ int xm creat separ gadget int parent byte int arglist int argcount public static final synchron nativ int xm creat text field int parent byte int arglist int argcount xmcreatesepar xmcreateseparatorgadget xmcreatetextfield public static final synchron nativ int xm creat separ gadget int parent byte int arglist int argcount public static final synchron nativ int xm creat text field int parent byte int arglist int argcount public static final synchron nativ int xm creat toggl button int parent byte int arglist int argcount xmcreateseparatorgadget xmcreatetextfield xmcreatetogglebutton public static final synchron nativ int xm creat text field int parent byte int arglist int argcount public static final synchron nativ int xm creat toggl button int parent byte int arglist int argcount public static final synchron nativ int xm creat toggl button gadget int parent byte int arglist int argcount xmcreatetextfield xmcreatetogglebutton xmcreatetogglebuttongadget public static final synchron nativ int xm creat toggl button int parent byte int arglist int argcount public static final synchron nativ int xm creat toggl button gadget int parent byte int arglist int argcount public static final synchron nativ int xm creat warn dialog int parent byte int arglist int argcount xmcreatetogglebutton xmcreatetogglebuttongadget xmcreatewarningdialog public static final synchron nativ int xm creat toggl button gadget int parent byte int arglist int argcount public static final synchron nativ int xm creat warn dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat work dialog int parent byte int arglist int argcount xmcreatetogglebuttongadget xmcreatewarningdialog xmcreateworkingdialog public static final synchron nativ int xm creat warn dialog int parent byte int arglist int argcount public static final synchron nativ int xm creat work dialog int parent byte int arglist int argcount public static final synchron nativ boolean xm destroi pixmap int screen int pixmap xmcreatewarningdialog xmcreateworkingdialog xmdestroypixmap public static final synchron nativ int xm creat work dialog int parent byte int arglist int argcount public static final synchron nativ boolean xm destroi pixmap int screen int pixmap public static final synchron nativ void xm drag cancel int dragcontext xmcreateworkingdialog xmdestroypixmap xmdragcancel public static final synchron nativ boolean xm destroi pixmap int screen int pixmap public static final synchron nativ void xm drag cancel int dragcontext public static final synchron nativ int xm drag start int widget int event int arglist int argcount xmdestroypixmap xmdragcancel xmdragstart public static final synchron nativ void xm drag cancel int dragcontext public static final synchron nativ int xm drag start int widget int event int arglist int argcount public static final synchron nativ void xm drop site regist int widget int arglist int argcount xmdragcancel xmdragstart xmdropsiteregist public static final synchron nativ int xm drag start int widget int event int arglist int argcount public static final synchron nativ void xm drop site regist int widget int arglist int argcount public static final synchron nativ void xm drop site unregist int widget xmdragstart xmdropsiteregist xmdropsiteunregist public static final synchron nativ void xm drop site regist int widget int arglist int argcount public static final synchron nativ void xm drop site unregist int widget public static final synchron nativ void xm drop site updat int widget int arglist int argcount xmdropsiteregist xmdropsiteunregist xmdropsiteupd public static final synchron nativ void xm drop site unregist int widget public static final synchron nativ void xm drop site updat int widget int arglist int argcount public static final synchron nativ void xm drop transfer add int drop transfer int transfer int num transfer xmdropsiteunregist xmdropsiteupd xmdroptransferadd drop_transfer num_transfer public static final synchron nativ void xm drop site updat int widget int arglist int argcount public static final synchron nativ void xm drop transfer add int drop transfer int transfer int num transfer public static final synchron nativ int xm drop transfer start int widget int arglist int argcount xmdropsiteupd xmdroptransferadd drop_transfer num_transfer xmdroptransferstart public static final synchron nativ void xm drop transfer add int drop transfer int transfer int num transfer public static final synchron nativ int xm drop transfer start int widget int arglist int argcount public static final synchron nativ int xm file select box child int widget int child xmdroptransferadd drop_transfer num_transfer xmdroptransferstart xmfileselectionboxgetchild public static final synchron nativ int xm drop transfer start int widget int arglist int argcount public static final synchron nativ int xm file select box child int widget int child public static final synchron nativ int xm font list append entri int list int entri xmdroptransferstart xmfileselectionboxgetchild xmfontlistappendentri oldlist public static final synchron nativ int xm file select box child int widget int child public static final synchron nativ int xm font list append entri int list int entri public static final synchron nativ int xm font list copi int fontlist xmfileselectionboxgetchild xmfontlistappendentri oldlist xmfontlistcopi public static final synchron nativ int xm font list append entri int list int entri public static final synchron nativ int xm font list copi int fontlist public static final synchron nativ void xm font list entri free int entri xmfontlistappendentri oldlist xmfontlistcopi xmfontlistentryfre public static final synchron nativ int xm font list copi int fontlist public static final synchron nativ void xm font list entri free int entri public static final synchron nativ int xm font list entri font int entri int type return xmfontlistcopi xmfontlistentryfre xmfontlistentrygetfont type_return public static final synchron nativ void xm font list entri free int entri public static final synchron nativ int xm font list entri font int entri int type return public static final synchron nativ int xm font list entri load int displai byte font int type byte tag xmfontlistentryfre xmfontlistentrygetfont type_return xmfontlistentryload fontnam public static final synchron nativ int xm font list entri font int entri int type return public static final synchron nativ int xm font list entri load int displai byte font int type byte tag public static final synchron nativ void xm font list free int list xmfontlistentrygetfont type_return xmfontlistentryload fontnam xmfontlistfre public static final synchron nativ int xm font list entri load int displai byte font int type byte tag public static final synchron nativ void xm font list free int list public static final synchron nativ void xm font list free font context int context xmfontlistentryload fontnam xmfontlistfre xmfontlistfreefontcontext public static final synchron nativ void xm font list free int list public static final synchron nativ void xm font list free font context int context public static final synchron nativ boolean xm font list init font context int context int font list xmfontlistfre xmfontlistfreefontcontext xmfontlistinitfontcontext fontlist public static final synchron nativ void xm font list free font context int context public static final synchron nativ boolean xm font list init font context int context int font list public static final synchron nativ int xm font list entri int context xmfontlistfreefontcontext xmfontlistinitfontcontext fontlist xmfontlistnextentri public static final synchron nativ boolean xm font list init font context int context int font list public static final synchron nativ int xm font list entri int context public static final synchron nativ int xm atom int displai int atom xmfontlistinitfontcontext fontlist xmfontlistnextentri xmgetatomnam public static final synchron nativ int xm font list entri int context public static final synchron nativ int xm atom int displai int atom public static final synchron nativ int xm drag context int widget int timestamp xmfontlistnextentri xmgetatomnam xmgetdragcontext public static final synchron nativ int xm atom int displai int atom public static final synchron nativ int xm drag context int widget int timestamp public static final synchron nativ int xm focu widget int widget xmgetatomnam xmgetdragcontext xmgetfocuswidget public static final synchron nativ int xm drag context int widget int timestamp public static final synchron nativ int xm focu widget int widget public static final synchron nativ int xm pixmap int screen byte int fg pixel int bg pixel xmgetdragcontext xmgetfocuswidget xmgetpixmap fgpixel bgpixel public static final synchron nativ int xm focu widget int widget public static final synchron nativ int xm pixmap int screen byte int fg pixel int bg pixel public static final synchron nativ int xm pixmap depth int screen byte imag int foreground int background int depth xmgetfocuswidget xmgetpixmap fgpixel bgpixel xmgetpixmapbydepth imag_name public static final synchron nativ int xm pixmap int screen byte int fg pixel int bg pixel public static final synchron nativ int xm pixmap depth int screen byte imag int foreground int background int depth public static final synchron nativ int xm xm displai int displai xmgetpixmap fgpixel bgpixel xmgetpixmapbydepth imag_name xmgetxmdisplai public static final synchron nativ int xm pixmap depth int screen byte imag int foreground int background int depth public static final synchron nativ int xm xm displai int displai public static final synchron nativ int xm im mb lookup string int widget kei event event byte string int size int keysym int statu xmgetpixmapbydepth imag_name xmgetxmdisplai xmimmblookupstr xkeyev public static final synchron nativ int xm xm displai int displai public static final synchron nativ int xm im mb lookup string int widget kei event event byte string int size int keysym int statu public static final synchron nativ void xm im regist int widget int reserv xmgetxmdisplai xmimmblookupstr xkeyev xmimregist public static final synchron nativ int xm im mb lookup string int widget kei event event byte string int size int keysym int statu public static final synchron nativ void xm im regist int widget int reserv public static final synchron nativ void xm im set focu valu int widget int arg int num arg xmimmblookupstr xkeyev xmimregist xmimsetfocusvalu num_arg public static final synchron nativ void xm im regist int widget int reserv public static final synchron nativ void xm im set focu valu int widget int arg int num arg public static final synchron nativ void xm im set valu int widget int arg int num arg xmimregist xmimsetfocusvalu num_arg xmimsetvalu num_arg public static final synchron nativ void xm im set focu valu int widget int arg int num arg public static final synchron nativ void xm im set valu int widget int arg int num arg public static final synchron nativ void xm im unregist int widget xmimsetfocusvalu num_arg xmimsetvalu num_arg xmimunregist public static final synchron nativ void xm im set valu int widget int arg int num arg public static final synchron nativ void xm im unregist int widget public static final synchron nativ void xm im unset focu int widget xmimsetvalu num_arg xmimunregist xmimunsetfocu public static final synchron nativ void xm im unregist int widget public static final synchron nativ void xm im unset focu int widget public static final synchron nativ int xm intern atom int displai byte boolean exist xmimunregist xmimunsetfocu xminternatom onli_if_exist public static final synchron nativ void xm im unset focu int widget public static final synchron nativ int xm intern atom int displai byte boolean exist public static final synchron nativ void xm list add item unselect int list int xm string int posit xmimunsetfocu xminternatom onli_if_exist xmlistadditemunselect xmstring public static final synchron nativ int xm intern atom int displai byte boolean exist public static final synchron nativ void xm list add item unselect int list int xm string int posit public static final synchron nativ void xm list delet item int list xminternatom onli_if_exist xmlistadditemunselect xmstring xmlistdeleteallitem public static final synchron nativ void xm list add item unselect int list int xm string int posit public static final synchron nativ void xm list delet item int list public static final synchron nativ void xm list delet item po int list int item count int posit xmlistadditemunselect xmstring xmlistdeleteallitem xmlistdeleteitemspo item_count public static final synchron nativ void xm list delet item int list public static final synchron nativ void xm list delet item po int list int item count int posit public static final synchron nativ void xm list delet po int list int posit xmlistdeleteallitem xmlistdeleteitemspo item_count xmlistdeletepo public static final synchron nativ void xm list delet item po int list int item count int posit public static final synchron nativ void xm list delet po int list int posit public static final synchron nativ void xm list delet posit int list int posit list int posit count xmlistdeleteitemspo item_count xmlistdeletepo xmlistdeleteposit posit_list posit_count public static final synchron nativ void xm list delet po int list int posit public static final synchron nativ void xm list delet posit int list int posit list int posit count public static final synchron nativ void xm list deselect item int list xmlistdeletepo xmlistdeleteposit posit_list posit_count xmlistdeselectallitem public static final synchron nativ void xm list delet posit int list int posit list int posit count public static final synchron nativ void xm list deselect item int list public static final synchron nativ void xm list deselect po int list int posit xmlistdeleteposit posit_list posit_count xmlistdeselectallitem xmlistdeselectpo public static final synchron nativ void xm list deselect item int list public static final synchron nativ void xm list deselect po int list int posit public static final synchron nativ int xm list kbd item po int list xmlistdeselectallitem xmlistdeselectpo xmlistgetkbditempo public static final synchron nativ void xm list deselect po int list int posit public static final synchron nativ int xm list kbd item po int list public static final synchron nativ boolean xm list select po int list int posit int count xmlistdeselectpo xmlistgetkbditempo xmlistgetselectedpo public static final synchron nativ int xm list kbd item po int list public static final synchron nativ boolean xm list select po int list int posit int count public static final synchron nativ int xm list item po int list int xm string xmlistgetkbditempo xmlistgetselectedpo xmlistitempo xmstring public static final synchron nativ boolean xm list select po int list int posit int count public static final synchron nativ int xm list item po int list int xm string public static final synchron nativ boolean xm list po select int list int posit xmlistgetselectedpo xmlistitempo xmstring xmlistposselect public static final synchron nativ int xm list item po int list int xm string public static final synchron nativ boolean xm list po select int list int posit public static final synchron nativ void xm list replac item po unselect int list int item int item count int posit xmlistitempo xmstring xmlistposselect xmlistreplaceitemsposunselect new_item item_count public static final synchron nativ boolean xm list po select int list int posit public static final synchron nativ void xm list replac item po unselect int list int item int item count int posit public static final synchron nativ void xm list select po int list int posit boolean notifi xmlistposselect xmlistreplaceitemsposunselect new_item item_count xmlistselectpo public static final synchron nativ void xm list replac item po unselect int list int item int item count int posit public static final synchron nativ void xm list select po int list int posit boolean notifi public static final synchron nativ boolean xm list set kbd item po int list int posit xmlistreplaceitemsposunselect new_item item_count xmlistselectpo xmlistsetkbditempo public static final synchron nativ void xm list select po int list int posit boolean notifi public static final synchron nativ boolean xm list set kbd item po int list int posit public static final synchron nativ void xm list set po int list int posit xmlistselectpo xmlistsetkbditempo xmlistsetpo public static final synchron nativ boolean xm list set kbd item po int list int posit public static final synchron nativ void xm list set po int list int posit public static final synchron nativ void xm list updat select list int list xmlistsetkbditempo xmlistsetpo xmlistupdateselectedlist public static final synchron nativ void xm list set po int list int posit public static final synchron nativ void xm list updat select list int list public static final synchron nativ void xm main window set area int widget int menu int command int hscroll int vscroll int wregion xmlistsetpo xmlistupdateselectedlist xmmainwindowsetarea public static final synchron nativ void xm list updat select list int list public static final synchron nativ void xm main window set area int widget int menu int command int hscroll int vscroll int wregion public static final synchron nativ int xm messag box child int widget int child xmlistupdateselectedlist xmmainwindowsetarea xmmessageboxgetchild public static final synchron nativ void xm main window set area int widget int menu int command int hscroll int vscroll int wregion public static final synchron nativ int xm messag box child int widget int child public static final synchron nativ int xm pars map creat int arg list int arg count xmmainwindowsetarea xmmessageboxgetchild xmparsemappingcr arglist argcount public static final synchron nativ int xm messag box child int widget int child public static final synchron nativ int xm pars map creat int arg list int arg count public static final synchron nativ void xm pars map free int pars map xmmessageboxgetchild xmparsemappingcr arglist argcount xmparsemappingfre parsemap public static final synchron nativ int xm pars map creat int arg list int arg count public static final synchron nativ void xm pars map free int pars map public static final synchron nativ boolean xm process travers int widget int dir xmparsemappingcr arglist argcount xmparsemappingfre parsemap xmprocesstravers public static final synchron nativ void xm pars map free int pars map public static final synchron nativ boolean xm process travers int widget int dir public static final synchron nativ int xm render tabl add rendit int tabl int rendit int rendit count int merg mode xmparsemappingfre parsemap xmprocesstravers xmrendertableaddrendit oldtabl renditioncount mergemod public static final synchron nativ boolean xm process travers int widget int dir public static final synchron nativ int xm render tabl add rendit int tabl int rendit int rendit count int merg mode public static final synchron nativ void xm render tabl free int render tabl xmprocesstravers xmrendertableaddrendit oldtabl renditioncount mergemod xmrendertablefre rendert public static final synchron nativ int xm render tabl add rendit int tabl int rendit int rendit count int merg mode public static final synchron nativ void xm render tabl free int render tabl public static final synchron nativ int xm rendit creat int widget byte tag int arg list int arg count xmrendertableaddrendit oldtabl renditioncount mergemod xmrendertablefre rendert xmrenditioncr arglist argcount public static final synchron nativ void xm render tabl free int render tabl public static final synchron nativ int xm rendit creat int widget byte tag int arg list int arg count public static final synchron nativ void xm rendit free int rendit xmrendertablefre rendert xmrenditioncr arglist argcount xmrenditionfre public static final synchron nativ int xm rendit creat int widget byte tag int arg list int arg count public static final synchron nativ void xm rendit free int rendit public static final synchron nativ int xm string baselin int font list int xm string xmrenditioncr arglist argcount xmrenditionfre xmstringbaselin fontlist xmstring public static final synchron nativ void xm rendit free int rendit public static final synchron nativ int xm string baselin int font list int xm string public static final synchron nativ boolean xm string compar int xm string1 int xm string2 xmrenditionfre xmstringbaselin fontlist xmstring xmstringcompar xmstring1 xmstring2 public static final synchron nativ int xm string baselin int font list int xm string public static final synchron nativ boolean xm string compar int xm string1 int xm string2 public static final synchron nativ int xm string compon creat int type int length byte xmstringbaselin fontlist xmstring xmstringcompar xmstring1 xmstring2 xmstringcomponentcr public static final synchron nativ boolean xm string compar int xm string1 int xm string2 public static final synchron nativ int xm string compon creat int type int length byte public static final synchron nativ int xm string concat int xm string1 int xm string2 xmstringcompar xmstring1 xmstring2 xmstringcomponentcr xmstringconcat xmstring1 xmstring2 public static final synchron nativ int xm string compon creat int type int length byte public static final synchron nativ int xm string concat int xm string1 int xm string2 public static final synchron nativ int xm string creat byte string byte charset xmstringcomponentcr xmstringconcat xmstring1 xmstring2 xmstringcreat public static final synchron nativ int xm string concat int xm string1 int xm string2 public static final synchron nativ int xm string creat byte string byte charset public static final synchron nativ int xm string creat local byte string xmstringconcat xmstring1 xmstring2 xmstringcreat xmstringcreateloc public static final synchron nativ int xm string creat byte string byte charset public static final synchron nativ int xm string creat local byte string public static final synchron nativ void xm string draw int displai int window int render tabl int xm string int gc int int int width int align int lai dir rectangl clip xmstringcreat xmstringcreateloc xmstringdraw rendert xmstring lai_dir xrectangl public static final synchron nativ int xm string creat local byte string public static final synchron nativ void xm string draw int displai int window int render tabl int xm string int gc int int int width int align int lai dir rectangl clip public static final synchron nativ void xm string draw imag int displai int window int render tabl int xm string int gc int int int width int align int lai dir rectangl clip xmstringcreateloc xmstringdraw rendert xmstring lai_dir xrectangl xmstringdrawimag rendert xmstring lai_dir xrectangl public static final synchron nativ void xm string draw int displai int window int render tabl int xm string int gc int int int width int align int lai dir rectangl clip public static final synchron nativ void xm string draw imag int displai int window int render tabl int xm string int gc int int int width int align int lai dir rectangl clip public static final synchron nativ void xm string draw underlin int displai int window int fontlist int xm string int gc int int int width int align int lai dir rectangl clip int xm string underlin xmstringdraw rendert xmstring lai_dir xrectangl xmstringdrawimag rendert xmstring lai_dir xrectangl xmstringdrawunderlin xmstring lai_dir xrectangl xmstringunderlin public static final synchron nativ void xm string draw imag int displai int window int render tabl int xm string int gc int int int width int align int lai dir rectangl clip public static final synchron nativ void xm string draw underlin int displai int window int fontlist int xm string int gc int int int width int align int lai dir rectangl clip int xm string underlin public static final synchron nativ boolean xm string empti int s1 xmstringdrawimag rendert xmstring lai_dir xrectangl xmstringdrawunderlin xmstring lai_dir xrectangl xmstringunderlin xmstringempti public static final synchron nativ void xm string draw underlin int displai int window int fontlist int xm string int gc int int int width int align int lai dir rectangl clip int xm string underlin public static final synchron nativ boolean xm string empti int s1 public static final synchron nativ void xm string extent int font list int xm string short width short height xmstringdrawunderlin xmstring lai_dir xrectangl xmstringunderlin xmstringempti xmstringext fontlist xmstring public static final synchron nativ boolean xm string empti int s1 public static final synchron nativ void xm string extent int font list int xm string short width short height public static final synchron nativ void xm string free int xm string xmstringempti xmstringext fontlist xmstring xmstringfre xmstring public static final synchron nativ void xm string extent int font list int xm string short width short height public static final synchron nativ void xm string free int xm string public static final synchron nativ int xm string gener byte text byte tag int type byte rendit xmstringext fontlist xmstring xmstringfre xmstring xmstringgener public static final synchron nativ void xm string free int xm string public static final synchron nativ int xm string gener byte text byte tag int type byte rendit public static final synchron nativ int xm string height int font list int xm string xmstringfre xmstring xmstringgener xmstringheight fontlist xmstring public static final synchron nativ int xm string gener byte text byte tag int type byte rendit public static final synchron nativ int xm string height int font list int xm string public static final synchron nativ int xm string pars text byte text int text end byte tag int tag type int pars tabl int pars count int call data xmstringgener xmstringheight fontlist xmstring xmstringparsetext textend tagtyp parset parsecount calldata public static final synchron nativ int xm string height int font list int xm string public static final synchron nativ int xm string pars text byte text int text end byte tag int tag type int pars tabl int pars count int call data public static final synchron nativ int xm string unpars int xm string byte tag int tag type int output type int pars tabl int pars count int pars model xmstringheight fontlist xmstring xmstringparsetext textend tagtyp parset parsecount calldata xmstringunpars xmstring tagtyp outputtyp parset parsecount parsemodel public static final synchron nativ int xm string pars text byte text int text end byte tag int tag type int pars tabl int pars count int call data public static final synchron nativ int xm string unpars int xm string byte tag int tag type int output type int pars tabl int pars count int pars model public static final synchron nativ int xm string width int font list int xm string xmstringparsetext textend tagtyp parset parsecount calldata xmstringunpars xmstring tagtyp outputtyp parset parsecount parsemodel xmstringwidth fontlist xmstring public static final synchron nativ int xm string unpars int xm string byte tag int tag type int output type int pars tabl int pars count int pars model public static final synchron nativ int xm string width int font list int xm string public static final synchron nativ int xm tab creat int byte unit byte offset model byte align byte decim xmstringunpars xmstring tagtyp outputtyp parset parsecount parsemodel xmstringwidth fontlist xmstring xmtabcreat offsetmodel public static final synchron nativ int xm string width int font list int xm string public static final synchron nativ int xm tab creat int byte unit byte offset model byte align byte decim public static final synchron nativ void xm tab free int tab xmstringwidth fontlist xmstring xmtabcreat offsetmodel xmtabfre public static final synchron nativ int xm tab creat int byte unit byte offset model byte align byte decim public static final synchron nativ void xm tab free int tab public static final synchron nativ void xm tab list free int tab list xmtabcreat offsetmodel xmtabfre xmtablistfre tablist public static final synchron nativ void xm tab free int tab public static final synchron nativ void xm tab list free int tab list public static final synchron nativ int xm tab list insert tab int list int tab int tab count int posit xmtabfre xmtablistfre tablist xmtablistinserttab oldlist tab_count public static final synchron nativ void xm tab list free int tab list public static final synchron nativ int xm tab list insert tab int list int tab int tab count int posit public static final synchron nativ void xm text clear select int widget int xmtablistfre tablist xmtablistinserttab oldlist tab_count xmtextclearselect public static final synchron nativ int xm tab list insert tab int list int tab int tab count int posit public static final synchron nativ void xm text clear select int widget int public static final synchron nativ boolean xm text copi int widget int xmtablistinserttab oldlist tab_count xmtextclearselect xmtextcopi public static final synchron nativ void xm text clear select int widget int public static final synchron nativ boolean xm text copi int widget int public static final synchron nativ boolean xm text cut int widget int xmtextclearselect xmtextcopi xmtextcut public static final synchron nativ boolean xm text copi int widget int public static final synchron nativ boolean xm text cut int widget int public static final synchron nativ void xm text disabl redisplai int widget xmtextcopi xmtextcut xmtextdisableredisplai public static final synchron nativ boolean xm text cut int widget int public static final synchron nativ void xm text disabl redisplai int widget public static final synchron nativ void xm text enabl redisplai int widget xmtextcut xmtextdisableredisplai xmtextenableredisplai public static final synchron nativ void xm text disabl redisplai int widget public static final synchron nativ void xm text enabl redisplai int widget public static final synchron nativ boolean xm text field past int widget xmtextdisableredisplai xmtextenableredisplai xmtextfieldpast public static final synchron nativ void xm text enabl redisplai int widget public static final synchron nativ boolean xm text field past int widget public static final synchron nativ int xm text insert posit int widget xmtextenableredisplai xmtextfieldpast xmtextgetinsertionposit public static final synchron nativ boolean xm text field past int widget public static final synchron nativ int xm text insert posit int widget public static final synchron nativ int xm text posit int widget xmtextfieldpast xmtextgetinsertionposit xmtextgetlastposit public static final synchron nativ int xm text insert posit int widget public static final synchron nativ int xm text posit int widget public static final synchron nativ int xm text max length int widget xmtextgetinsertionposit xmtextgetlastposit xmtextgetmaxlength public static final synchron nativ int xm text posit int widget public static final synchron nativ int xm text max length int widget public static final synchron nativ int xm text select int widget xmtextgetlastposit xmtextgetmaxlength xmtextgetselect public static final synchron nativ int xm text max length int widget public static final synchron nativ int xm text select int widget public static final synchron nativ boolean xm text select posit int widget int left int xmtextgetmaxlength xmtextgetselect xmtextgetselectionposit public static final synchron nativ int xm text select int widget public static final synchron nativ boolean xm text select posit int widget int left int public static final synchron nativ int xm text string int widget xmtextgetselect xmtextgetselectionposit xmtextgetstr public static final synchron nativ boolean xm text select posit int widget int left int public static final synchron nativ int xm text string int widget public static final synchron nativ int xm text substr int widget int start int num char int buffer size byte buffer xmtextgetselectionposit xmtextgetstr xmtextgetsubstr num_char buffer_size public static final synchron nativ int xm text string int widget public static final synchron nativ int xm text substr int widget int start int num char int buffer size byte buffer public static final synchron nativ int xm text substr wc int widget int start int num char int buffer size char buffer xmtextgetstr xmtextgetsubstr num_char buffer_size xmtextgetsubstringwc num_char buffer_size public static final synchron nativ int xm text substr int widget int start int num char int buffer size byte buffer public static final synchron nativ int xm text substr wc int widget int start int num char int buffer size char buffer public static final synchron nativ void xm text insert int widget int posit byte xmtextgetsubstr num_char buffer_size xmtextgetsubstringwc num_char buffer_size xmtextinsert public static final synchron nativ int xm text substr wc int widget int start int num char int buffer size char buffer public static final synchron nativ void xm text insert int widget int posit byte public static final synchron nativ boolean xm text past int widget xmtextgetsubstringwc num_char buffer_size xmtextinsert xmtextpast public static final synchron nativ void xm text insert int widget int posit byte public static final synchron nativ boolean xm text past int widget public static final synchron nativ boolean xm text po toxi int widget int posit short short xmtextinsert xmtextpast xmtextpostoxi public static final synchron nativ boolean xm text past int widget public static final synchron nativ boolean xm text po toxi int widget int posit short short public static final synchron nativ void xm text replac int widget int po int po byte xmtextpast xmtextpostoxi xmtextreplac from_po to_po public static final synchron nativ boolean xm text po toxi int widget int posit short short public static final synchron nativ void xm text replac int widget int po int po byte public static final synchron nativ void xm text scroll int widget int line xmtextpostoxi xmtextreplac from_po to_po xmtextscrol public static final synchron nativ void xm text replac int widget int po int po byte public static final synchron nativ void xm text scroll int widget int line public static final synchron nativ void xm text set edit int widget boolean edit xmtextreplac from_po to_po xmtextscrol xmtextsetedit public static final synchron nativ void xm text scroll int widget int line public static final synchron nativ void xm text set edit int widget boolean edit public static final synchron nativ void xm text set highlight int widget int left int int mode xmtextscrol xmtextsetedit xmtextsethighlight public static final synchron nativ void xm text set edit int widget boolean edit public static final synchron nativ void xm text set highlight int widget int left int int mode public static final synchron nativ void xm text set insert posit int widget int posit xmtextsetedit xmtextsethighlight xmtextsetinsertionposit public static final synchron nativ void xm text set highlight int widget int left int int mode public static final synchron nativ void xm text set insert posit int widget int posit public static final synchron nativ void xm text set max length int widget int max length xmtextsethighlight xmtextsetinsertionposit xmtextsetmaxlength max_length public static final synchron nativ void xm text set insert posit int widget int posit public static final synchron nativ void xm text set max length int widget int max length public static final synchron nativ void xm text set select int widget int int int xmtextsetinsertionposit xmtextsetmaxlength max_length xmtextsetselect public static final synchron nativ void xm text set max length int widget int max length public static final synchron nativ void xm text set select int widget int int int public static final synchron nativ void xm text set string int widget byte xmtextsetmaxlength max_length xmtextsetselect xmtextsetstr public static final synchron nativ void xm text set select int widget int int int public static final synchron nativ void xm text set string int widget byte public static final synchron nativ void xm text show posit int widget int posit xmtextsetselect xmtextsetstr xmtextshowposit public static final synchron nativ void xm text set string int widget byte public static final synchron nativ void xm text show posit int widget int posit public static final synchron nativ void xm updat displai int widget xmtextsetstr xmtextshowposit xmupdatedisplai public static final synchron nativ void xm text show posit int widget int posit public static final synchron nativ void xm updat displai int widget public static final synchron nativ boolean xm widget displai rect int region rectangl rectangl xmtextshowposit xmupdatedisplai xmwidgetgetdisplayrect xrectangl public static final synchron nativ void xm updat displai int widget public static final synchron nativ boolean xm widget displai rect int region rectangl rectangl public static final synchron nativ int xmb text list text properti int displai int list int count int style text properti text prop return xmupdatedisplai xmwidgetgetdisplayrect xrectangl xmbtextlisttotextproperti xtextproperti text_prop_return public static final synchron nativ boolean xm widget displai rect int region rectangl rectangl public static final synchron nativ int xmb text list text properti int displai int list int count int style text properti text prop return public static final synchron nativ int xmb text properti text list int displai text properti text prop int list return int count return xmwidgetgetdisplayrect xrectangl xmbtextlisttotextproperti xtextproperti text_prop_return xmbtextpropertytotextlist xtextproperti text_prop list_return count_return public static final synchron nativ int xmb text list text properti int displai int list int count int style text properti text prop return public static final synchron nativ int xmb text properti text list int displai text properti text prop int list return int count return public static final synchron nativ void xp cancel job int displai boolean discard xmbtextlisttotextproperti xtextproperti text_prop_return xmbtextpropertytotextlist xtextproperti text_prop list_return count_return xpcanceljob public static final synchron nativ int xmb text properti text list int displai text properti text prop int list return int count return public static final synchron nativ void xp cancel job int displai boolean discard public static final synchron nativ int xp creat context int displai byte printer xmbtextpropertytotextlist xtextproperti text_prop list_return count_return xpcanceljob xpcreatecontext printer_name public static final synchron nativ void xp cancel job int displai boolean discard public static final synchron nativ int xp creat context int displai byte printer public static final synchron nativ void xp destroi context int displai int print context xpcanceljob xpcreatecontext printer_name xpdestroycontext print_context public static final synchron nativ int xp creat context int displai byte printer public static final synchron nativ void xp destroi context int displai int print context public static final synchron nativ void xp end job int displai xpcreatecontext printer_name xpdestroycontext print_context xpendjob public static final synchron nativ void xp destroi context int displai int print context public static final synchron nativ void xp end job int displai public static final synchron nativ void xp end page int displai xpdestroycontext print_context xpendjob xpendpag public static final synchron nativ void xp end job int displai public static final synchron nativ void xp end page int displai public static final synchron nativ void xp free printer list int printer list xpendjob xpendpag xpfreeprinterlist printer_list public static final synchron nativ void xp end page int displai public static final synchron nativ void xp free printer list int printer list public static final synchron nativ int xp attribut int displai int print context byte type byte attribut xpendpag xpfreeprinterlist printer_list xpgetoneattribut print_context attribut_name public static final synchron nativ void xp free printer list int printer list public static final synchron nativ int xp attribut int displai int print context byte type byte attribut public static final synchron nativ int xp page dimens int displai int print context short width short height rectangl reproduc area xpfreeprinterlist printer_list xpgetoneattribut print_context attribut_name xpgetpagedimens print_context xrectangl reproduc_area public static final synchron nativ int xp attribut int displai int print context byte type byte attribut public static final synchron nativ int xp page dimens int displai int print context short width short height rectangl reproduc area public static final synchron nativ int xp printer list int displai byte printer int list count xpgetoneattribut print_context attribut_name xpgetpagedimens print_context xrectangl reproduc_area xpgetprinterlist printer_name list_count public static final synchron nativ int xp page dimens int displai int print context short width short height rectangl reproduc area public static final synchron nativ int xp printer list int displai byte printer int list count public static final synchron nativ int xp screen context int displai int print context xpgetpagedimens print_context xrectangl reproduc_area xpgetprinterlist printer_name list_count xpgetscreenofcontext print_context public static final synchron nativ int xp printer list int displai byte printer int list count public static final synchron nativ int xp screen context int displai int print context public static final synchron nativ void xp set attribut int displai int print context byte type byte pool byte replac rule xpgetprinterlist printer_name list_count xpgetscreenofcontext print_context xpsetattribut print_context replac_rule public static final synchron nativ int xp screen context int displai int print context public static final synchron nativ void xp set attribut int displai int print context byte type byte pool byte replac rule public static final synchron nativ void xp set context int displai int print context xpgetscreenofcontext print_context xpsetattribut print_context replac_rule xpsetcontext print_context public static final synchron nativ void xp set attribut int displai int print context byte type byte pool byte replac rule public static final synchron nativ void xp set context int displai int print context public static final synchron nativ void xp start job int displai byte save data xpsetattribut print_context replac_rule xpsetcontext print_context xpstartjob save_data public static final synchron nativ void xp set context int displai int print context public static final synchron nativ void xp start job int displai byte save data public static final synchron nativ void xp start page int displai int window xpsetcontext print_context xpstartjob save_data xpstartpag public static final synchron nativ void xp start job int displai byte save data public static final synchron nativ void xp start page int displai int window public static final synchron nativ void xt add callback int widget int callback int callback int client data xpstartjob save_data xpstartpag xtaddcallback callback_name client_data public static final synchron nativ void xp start page int displai int window public static final synchron nativ void xt add callback int widget int callback int callback int client data public static final synchron nativ void xt add event handler int widget int event mask boolean nonmask int proc int client data xpstartpag xtaddcallback callback_name client_data xtaddeventhandl event_mask client_data public static final synchron nativ void xt add callback int widget int callback int callback int client data public static final synchron nativ void xt add event handler int widget int event mask boolean nonmask int proc int client data public static final synchron nativ void xt add exposur region int event int region xtaddcallback callback_name client_data xtaddeventhandl event_mask client_data xtaddexposuretoregion public static final synchron nativ void xt add event handler int widget int event mask boolean nonmask int proc int client data public static final synchron nativ void xt add exposur region int event int region public static final synchron nativ int xt app add input int app context int sourc int condit int proc int client data xtaddeventhandl event_mask client_data xtaddexposuretoregion xtappaddinput app_context client_data public static final synchron nativ void xt add exposur region int event int region public static final synchron nativ int xt app add input int app context int sourc int condit int proc int client data public static final synchron nativ int xt app add int app context int interv int proc int client data xtaddexposuretoregion xtappaddinput app_context client_data xtappaddtimeout app_context client_data public static final synchron nativ int xt app add input int app context int sourc int condit int proc int client data public static final synchron nativ int xt app add int app context int interv int proc int client data public static final synchron nativ int xt app creat shell byte app byte app class int widget class int displai int arg list int arg count xtappaddinput app_context client_data xtappaddtimeout app_context client_data xtappcreateshel appnam appclass widgetclass arglist argcount public static final synchron nativ int xt app add int app context int interv int proc int client data public static final synchron nativ int xt app creat shell byte app byte app class int widget class int displai int arg list int arg count public static final synchron nativ int xt app select timeout int app context xtappaddtimeout app_context client_data xtappcreateshel appnam appclass widgetclass arglist argcount xtappgetselectiontimeout appcontext public static final synchron nativ int xt app creat shell byte app byte app class int widget class int displai int arg list int arg count public static final synchron nativ int xt app select timeout int app context public static final synchron nativ void xt app event int app context int event xtappcreateshel appnam appclass widgetclass arglist argcount xtappgetselectiontimeout appcontext xtappnextev appcontext public static final synchron nativ int xt app select timeout int app context public static final synchron nativ void xt app event int app context int event public static final synchron nativ boolean xt app peek event int app context int event xtappgetselectiontimeout appcontext xtappnextev appcontext xtapppeekev appcontext public static final synchron nativ void xt app event int app context int event public static final synchron nativ boolean xt app peek event int app context int event public static final synchron nativ int xt app pend int app context xtappnextev appcontext xtapppeekev appcontext xtapppend appcontext public static final synchron nativ boolean xt app peek event int app context int event public static final synchron nativ int xt app pend int app context public static final synchron nativ void xt app process event int app context int input mask xtapppeekev appcontext xtapppend appcontext xtappprocessev appcontext inputmask public static final synchron nativ int xt app pend int app context public static final synchron nativ void xt app process event int app context int input mask public static final synchron nativ int xt app set error handler int app context int handler xtapppend appcontext xtappprocessev appcontext inputmask xtappseterrorhandl app_context public static final synchron nativ void xt app process event int app context int input mask public static final synchron nativ int xt app set error handler int app context int handler public static final synchron nativ void xt app set fallback resourc int app context int specif list xtappprocessev appcontext inputmask xtappseterrorhandl app_context xtappsetfallbackresourc app_context specif_list public static final synchron nativ int xt app set error handler int app context int handler public static final synchron nativ void xt app set fallback resourc int app context int specif list public static final synchron nativ void xt app set select timeout int app context int timeout xtappseterrorhandl app_context xtappsetfallbackresourc app_context specif_list xtappsetselectiontimeout appcontext public static final synchron nativ void xt app set fallback resourc int app context int specif list public static final synchron nativ void xt app set select timeout int app context int timeout public static final synchron nativ int xt app set warn handler int app context int handler xtappsetfallbackresourc app_context specif_list xtappsetselectiontimeout appcontext xtappsetwarninghandl app_context public static final synchron nativ void xt app set select timeout int app context int timeout public static final synchron nativ int xt app set warn handler int app context int handler public static final synchron nativ int xt build event mask int widget xtappsetselectiontimeout appcontext xtappsetwarninghandl app_context xtbuildeventmask public static final synchron nativ int xt app set warn handler int app context int handler public static final synchron nativ int xt build event mask int widget public static final synchron nativ void xt call action proc int widget byte action int event int param int num param xtappsetwarninghandl app_context xtbuildeventmask xtcallactionproc num_param public static final synchron nativ int xt build event mask int widget public static final synchron nativ void xt call action proc int widget byte action int event int param int num param public static final synchron nativ int xt class int widget xtbuildeventmask xtcallactionproc num_param xtclass public static final synchron nativ void xt call action proc int widget byte action int event int param int num param public static final synchron nativ int xt class int widget public static final synchron nativ void xt configur widget int widget int int int width int height int border width xtcallactionproc num_param xtclass xtconfigurewidget borderwidth public static final synchron nativ int xt class int widget public static final synchron nativ void xt configur widget int widget int int int width int height int border width public static final synchron nativ int xt creat applic context xtclass xtconfigurewidget borderwidth xtcreateapplicationcontext public static final synchron nativ void xt configur widget int widget int int int width int height int border width public static final synchron nativ int xt creat applic context public static final synchron nativ int xt creat popup shell byte int widget class int parent int arg list int arg count xtconfigurewidget borderwidth xtcreateapplicationcontext xtcreatepopupshel widgetclass arglist argcount public static final synchron nativ int xt creat applic context public static final synchron nativ int xt creat popup shell byte int widget class int parent int arg list int arg count public static final synchron nativ void xt destroi applic context int app context xtcreateapplicationcontext xtcreatepopupshel widgetclass arglist argcount xtdestroyapplicationcontext appcontext public static final synchron nativ int xt creat popup shell byte int widget class int parent int arg list int arg count public static final synchron nativ void xt destroi applic context int app context public static final synchron nativ void xt destroi widget int widget xtcreatepopupshel widgetclass arglist argcount xtdestroyapplicationcontext appcontext xtdestroywidget public static final synchron nativ void xt destroi applic context int app context public static final synchron nativ void xt destroi widget int widget public static final synchron nativ boolean xt dispatch event int event xtdestroyapplicationcontext appcontext xtdestroywidget xtdispatchev public static final synchron nativ void xt destroi widget int widget public static final synchron nativ boolean xt dispatch event int event public static final synchron nativ int xt displai int widget xtdestroywidget xtdispatchev xtdisplai public static final synchron nativ boolean xt dispatch event int event public static final synchron nativ int xt displai int widget public static final synchron nativ int xt displai applic context int displai xtdispatchev xtdisplai xtdisplaytoapplicationcontext public static final synchron nativ int xt displai int widget public static final synchron nativ int xt displai applic context int displai public static final synchron nativ void xt free int ptr xtdisplai xtdisplaytoapplicationcontext xtfree public static final synchron nativ int xt displai applic context int displai public static final synchron nativ void xt free int ptr public static final synchron nativ int xt multi click int displai xtdisplaytoapplicationcontext xtfree xtgetmulticlicktim public static final synchron nativ void xt free int ptr public static final synchron nativ int xt multi click int displai public static final synchron nativ void xt valu int widget int arg list int num arg xtfree xtgetmulticlicktim xtgetvalu arglist numarg public static final synchron nativ int xt multi click int displai public static final synchron nativ void xt valu int widget int arg list int num arg public static final synchron nativ void xt insert event handler int int event mask boolean nonmask int proc int client data int posit xtgetmulticlicktim xtgetvalu arglist numarg xtinserteventhandl event_mask client_data public static final synchron nativ void xt valu int widget int arg list int num arg public static final synchron nativ void xt insert event handler int int event mask boolean nonmask int proc int client data int posit public static final synchron nativ boolean xt manag int widget xtgetvalu arglist numarg xtinserteventhandl event_mask client_data xtismanag public static final synchron nativ void xt insert event handler int int event mask boolean nonmask int proc int client data int posit public static final synchron nativ boolean xt manag int widget public static final synchron nativ boolean xt realiz int widget xtinserteventhandl event_mask client_data xtismanag xtisreal public static final synchron nativ boolean xt manag int widget public static final synchron nativ boolean xt realiz int widget public static final synchron nativ boolean xt subclass int widget int widget class xtismanag xtisreal xtissubclass widgetclass public static final synchron nativ boolean xt realiz int widget public static final synchron nativ boolean xt subclass int widget int widget class public static final synchron nativ boolean xt top level shell int widget xtisreal xtissubclass widgetclass xtistoplevelshel public static final synchron nativ boolean xt subclass int widget int widget class public static final synchron nativ boolean xt top level shell int widget public static final synchron nativ int xt timestamp process int displai xtissubclass widgetclass xtistoplevelshel xtlasttimestampprocess public static final synchron nativ boolean xt top level shell int widget public static final synchron nativ int xt timestamp process int displai public static final synchron nativ int xt malloc int size xtistoplevelshel xtlasttimestampprocess xtmalloc public static final synchron nativ int xt timestamp process int displai public static final synchron nativ int xt malloc int size public static final synchron nativ void xt manag child int widget xtlasttimestampprocess xtmalloc xtmanagechild public static final synchron nativ int xt malloc int size public static final synchron nativ void xt manag child int widget public static final synchron nativ void xt map widget int widget xtmalloc xtmanagechild xtmapwidget public static final synchron nativ void xt manag child int widget public static final synchron nativ void xt map widget int widget public static final synchron nativ void xt move widget int widget int int xtmanagechild xtmapwidget xtmovewidget public static final synchron nativ void xt map widget int widget public static final synchron nativ void xt move widget int widget int int public static final synchron nativ int xt widget int refer byte name xtmapwidget xtmovewidget xtnametowidget public static final synchron nativ void xt move widget int widget int int public static final synchron nativ int xt widget int refer byte name public static final synchron nativ int xt open displai int xt app context byte displai byte applic byte applic class int option int num option int argc int argv xtmovewidget xtnametowidget xtopendisplai xtappcontext displaynam applicationnam applicationclass numopt public static final synchron nativ int xt widget int refer byte name public static final synchron nativ int xt open displai int xt app context byte displai byte applic byte applic class int option int num option int argc int argv public static final synchron nativ void xt overrid translat int int translat xtnametowidget xtopendisplai xtappcontext displaynam applicationnam applicationclass numopt xtoverridetransl public static final synchron nativ int xt open displai int xt app context byte displai byte applic byte applic class int option int num option int argc int argv public static final synchron nativ void xt overrid translat int int translat public static final synchron nativ int xt parent int widget xtopendisplai xtappcontext displaynam applicationnam applicationclass numopt xtoverridetransl xtparent public static final synchron nativ void xt overrid translat int int translat public static final synchron nativ int xt parent int widget public static final synchron nativ int xt pars translat tabl byte string xtoverridetransl xtparent xtparsetranslationt public static final synchron nativ int xt parent int widget public static final synchron nativ int xt pars translat tabl byte string public static final synchron nativ void xt popdown int widget xtparent xtparsetranslationt xtpopdown public static final synchron nativ int xt pars translat tabl byte string public static final synchron nativ void xt popdown int widget public static final synchron nativ void xt popup int widget int flag xtparsetranslationt xtpopdown xtpopup public static final synchron nativ void xt popdown int widget public static final synchron nativ void xt popup int widget int flag public static final synchron nativ int xt queri geometri int widget xt widget geometri intend xt widget geometri prefer return xtpopdown xtpopup xtquerygeometri xtwidgetgeometri xtwidgetgeometri prefer_return public static final synchron nativ void xt popup int widget int flag public static final synchron nativ int xt queri geometri int widget xt widget geometri intend xt widget geometri prefer return public static final synchron nativ void xt realiz widget int widget xtpopup xtquerygeometri xtwidgetgeometri xtwidgetgeometri prefer_return xtrealizewidget public static final synchron nativ int xt queri geometri int widget xt widget geometri intend xt widget geometri prefer return public static final synchron nativ void xt realiz widget int widget public static final synchron nativ void xt regist drawabl int displai int drawabl int widget xtquerygeometri xtwidgetgeometri xtwidgetgeometri prefer_return xtrealizewidget xtregisterdraw public static final synchron nativ void xt realiz widget int widget public static final synchron nativ void xt regist drawabl int displai int drawabl int widget public static final synchron nativ void xt remov event handler int widget int event mask boolean nonmask int proc int client data xtrealizewidget xtregisterdraw xtremoveeventhandl event_mask client_data public static final synchron nativ void xt regist drawabl int displai int drawabl int widget public static final synchron nativ void xt remov event handler int widget int event mask boolean nonmask int proc int client data public static final synchron nativ void xt remov input int id xtregisterdraw xtremoveeventhandl event_mask client_data xtremoveinput public static final synchron nativ void xt remov event handler int widget int event mask boolean nonmask int proc int client data public static final synchron nativ void xt remov input int id public static final synchron nativ void xt remov int id xtremoveeventhandl event_mask client_data xtremoveinput xtremovetimeout public static final synchron nativ void xt remov input int id public static final synchron nativ void xt remov int id public static final synchron nativ void xt resiz widget int widget int width int height int border width xtremoveinput xtremovetimeout xtresizewidget borderwidth public static final synchron nativ void xt remov int id public static final synchron nativ void xt resiz widget int widget int width int height int border width public static final synchron nativ void xt resiz window int widget xtremovetimeout xtresizewidget borderwidth xtresizewindow public static final synchron nativ void xt resiz widget int widget int width int height int border width public static final synchron nativ void xt resiz window int widget public static final synchron nativ int xt set languag proc int app context int languag proc int pointer xtresizewidget borderwidth xtresizewindow xtsetlanguageproc appcontext languageproc public static final synchron nativ void xt resiz window int widget public static final synchron nativ int xt set languag proc int app context int languag proc int pointer public static final synchron nativ void xt set map manag int widget boolean flag xtresizewindow xtsetlanguageproc appcontext languageproc xtsetmappedwhenmanag public static final synchron nativ int xt set languag proc int app context int languag proc int pointer public static final synchron nativ void xt set map manag int widget boolean flag public static final synchron nativ void xt set valu int widget int arg list int num arg xtsetlanguageproc appcontext languageproc xtsetmappedwhenmanag xtsetvalu arglist numarg public static final synchron nativ void xt set map manag int widget boolean flag public static final synchron nativ void xt set valu int widget int arg list int num arg public static final synchron nativ void xt toolkit initi xtsetmappedwhenmanag xtsetvalu arglist numarg xttoolkitiniti public static final synchron nativ void xt set valu int widget int arg list int num arg public static final synchron nativ void xt toolkit initi public static final synchron nativ boolean xt toolkit thread initi xtsetvalu arglist numarg xttoolkitiniti xttoolkitthreadiniti public static final synchron nativ void xt toolkit initi public static final synchron nativ boolean xt toolkit thread initi public static final synchron nativ void xt translat coord int widget short short short root short root xttoolkitiniti xttoolkitthreadiniti xttranslatecoord root_x root_y public static final synchron nativ boolean xt toolkit thread initi public static final synchron nativ void xt translat coord int widget short short short root short root public static final synchron nativ void xt unmanag child int widget xttoolkitthreadiniti xttranslatecoord root_x root_y xtunmanagechild public static final synchron nativ void xt translat coord int widget short short short root short root public static final synchron nativ void xt unmanag child int widget public static final synchron nativ void xt unmap widget int widget xttranslatecoord root_x root_y xtunmanagechild xtunmapwidget public static final synchron nativ void xt unmanag child int widget public static final synchron nativ void xt unmap widget int widget public static final synchron nativ void xt unregist drawabl int displai int drawabl xtunmanagechild xtunmapwidget xtunregisterdraw public static final synchron nativ void xt unmap widget int widget public static final synchron nativ void xt unregist drawabl int displai int drawabl public static final synchron nativ int xt window int widget xtunmapwidget xtunregisterdraw xtwindow public static final synchron nativ void xt unregist drawabl int displai int drawabl public static final synchron nativ int xt window int widget public static final synchron nativ int xt window widget int displai int widget xtunregisterdraw xtwindow xtwindowtowidget public static final synchron nativ int xt window int widget public static final synchron nativ int xt window widget int displai int widget public static final synchron nativ void xmsetmenutravers int menu boolean travers xtwindow xtwindowtowidget _xmsetmenutravers public static final synchron nativ int xt window widget int displai int widget public static final synchron nativ void xmsetmenutravers int menu boolean travers public static final nativ int close int filed xtwindowtowidget _xmsetmenutravers public static final synchron nativ void xmsetmenutravers int menu boolean travers public static final nativ int close int filed public static final nativ int fd set sizeof _xmsetmenutravers fd_set_sizeof public static final nativ int close int filed public static final nativ int fd set sizeof public static final nativ int getenv byte fd_set_sizeof public static final nativ int fd set sizeof public static final nativ int getenv byte public static final nativ int iconv int cd int buf int byte left int buf int byte left fd_set_sizeof inbuf inbytesleft outbuf outbytesleft public static final nativ int getenv byte public static final nativ int iconv int cd int buf int byte left int buf int byte left public static final nativ int iconv close int cd inbuf inbytesleft outbuf outbytesleft iconv_close public static final nativ int iconv int cd int buf int byte left int buf int byte left public static final nativ int iconv close int cd public static final nativ int iconv open byte tocod byte fromcod inbuf inbytesleft outbuf outbytesleft iconv_close iconv_open public static final nativ int iconv close int cd public static final nativ int iconv open byte tocod byte fromcod public static final nativ void memmov int dest imag src int count iconv_close iconv_open ximag public static final nativ int iconv open byte tocod byte fromcod public static final nativ void memmov int dest imag src int count public static final nativ void memmov int dest xm drag proc callback struct src int count iconv_open ximag xmdragproccallbackstruct public static final nativ void memmov int dest imag src int count public static final nativ void memmov int dest xm drag proc callback struct src int count public static final nativ void memmov int dest xm text block rec src int count ximag xmdragproccallbackstruct xmtextblockrec public static final nativ void memmov int dest xm drag proc callback struct src int count public static final nativ void memmov int dest xm text block rec src int count public static final nativ void memmov int dest xm text verifi callback struct src int count xmdragproccallbackstruct xmtextblockrec xmtextverifycallbackstruct public static final nativ void memmov int dest xm text block rec src int count public static final nativ void memmov int dest xm text verifi callback struct src int count public static final nativ void memmov int dest byte src int count xmtextblockrec xmtextverifycallbackstruct public static final nativ void memmov int dest xm text verifi callback struct src int count public static final nativ void memmov int dest byte src int count public static final nativ void memmov int dest char src int count xmtextverifycallbackstruct public static final nativ void memmov int dest byte src int count public static final nativ void memmov int dest char src int count public static final nativ void memmov int dest int src int count public static final nativ void memmov int dest char src int count public static final nativ void memmov int dest int src int count public static final nativ void memmov visual dest int src int count public static final nativ void memmov int dest int src int count public static final nativ void memmov visual dest int src int count public static final nativ void memmov button event dest int src int count xbuttonev public static final nativ void memmov visual dest int src int count public static final nativ void memmov button event dest int src int count public static final nativ void memmov int dest button event src int count xbuttonev xbuttonev public static final nativ void memmov button event dest int src int count public static final nativ void memmov int dest button event src int count public static final nativ void memmov char struct dest int src int count xbuttonev xbuttonev xcharstruct public static final nativ void memmov int dest button event src int count public static final nativ void memmov char struct dest int src int count public static final nativ void memmov client messag event dest int src int count xbuttonev xcharstruct xclientmessageev public static final nativ void memmov char struct dest int src int count public static final nativ void memmov client messag event dest int src int count public static final nativ void memmov configur event dest int src int count xcharstruct xclientmessageev xconfigureev public static final nativ void memmov client messag event dest int src int count public static final nativ void memmov configur event dest int src int count public static final nativ void memmov creat window event dest int src int count xclientmessageev xconfigureev xcreatewindowev public static final nativ void memmov configur event dest int src int count public static final nativ void memmov creat window event dest int src int count public static final nativ void memmov cross event dest int src int count xconfigureev xcreatewindowev xcrossingev public static final nativ void memmov creat window event dest int src int count public static final nativ void memmov cross event dest int src int count public static final nativ void memmov destroi window event dest int src int count xcreatewindowev xcrossingev xdestroywindowev public static final nativ void memmov cross event dest int src int count public static final nativ void memmov destroi window event dest int src int count public static final nativ void memmov expos event dest int src int count xcrossingev xdestroywindowev xexposeev public static final nativ void memmov destroi window event dest int src int count public static final nativ void memmov expos event dest int src int count public static final nativ void memmov focu chang event dest int src int count xdestroywindowev xexposeev xfocuschangeev public static final nativ void memmov expos event dest int src int count public static final nativ void memmov focu chang event dest int src int count public static final nativ void memmov font struct dest int src int count xexposeev xfocuschangeev xfontstruct public static final nativ void memmov focu chang event dest int src int count public static final nativ void memmov font struct dest int src int count public static final nativ void memmov imag dest int src int count xfocuschangeev xfontstruct ximag public static final nativ void memmov font struct dest int src int count public static final nativ void memmov imag dest int src int count public static final nativ void memmov xinerama screen info dest int src int count xfontstruct ximag xineramascreeninfo public static final nativ void memmov imag dest int src int count public static final nativ void memmov xinerama screen info dest int src int count public static final nativ void memmov kei event dest int src int count ximag xineramascreeninfo xkeyev public static final nativ void memmov xinerama screen info dest int src int count public static final nativ void memmov kei event dest int src int count public static final nativ void memmov event dest int src int count xineramascreeninfo xkeyev xevent public static final nativ void memmov kei event dest int src int count public static final nativ void memmov event dest int src int count public static final nativ void memmov modifi keymap dest int src int count xkeyev xevent xmodifierkeymap public static final nativ void memmov event dest int src int count public static final nativ void memmov modifi keymap dest int src int count public static final nativ void memmov motion event dest int src int count xevent xmodifierkeymap xmotionev public static final nativ void memmov modifi keymap dest int src int count public static final nativ void memmov motion event dest int src int count public static final nativ void memmov properti event dest int src int count xmodifierkeymap xmotionev xpropertyev public static final nativ void memmov motion event dest int src int count public static final nativ void memmov properti event dest int src int count public static final nativ void memmov repar event dest int src int count xmotionev xpropertyev xreparentev public static final nativ void memmov properti event dest int src int count public static final nativ void memmov repar event dest int src int count public static final nativ void memmov xm callback struct dest int src int count xpropertyev xreparentev xmanycallbackstruct public static final nativ void memmov repar event dest int src int count public static final nativ void memmov xm callback struct dest int src int count public static final nativ void memmov xm drag proc callback struct dest int src int count xreparentev xmanycallbackstruct xmdragproccallbackstruct public static final nativ void memmov xm callback struct dest int src int count public static final nativ void memmov xm drag proc callback struct dest int src int count public static final nativ void memmov xm drop finish callback struct dest int src int count xmanycallbackstruct xmdragproccallbackstruct xmdropfinishcallbackstruct public static final nativ void memmov xm drag proc callback struct dest int src int count public static final nativ void memmov xm drop finish callback struct dest int src int count public static final nativ void memmov xm drop proc callback struct dest int src int count xmdragproccallbackstruct xmdropfinishcallbackstruct xmdropproccallbackstruct public static final nativ void memmov xm drop finish callback struct dest int src int count public static final nativ void memmov xm drop proc callback struct dest int src int count public static final nativ void memmov xm text block rec dest int src int count xmdropfinishcallbackstruct xmdropproccallbackstruct xmtextblockrec public static final nativ void memmov xm drop proc callback struct dest int src int count public static final nativ void memmov xm text block rec dest int src int count public static final nativ void memmov xm text verifi callback struct dest int src int count xmdropproccallbackstruct xmtextblockrec xmtextverifycallbackstruct public static final nativ void memmov xm text block rec dest int src int count public static final nativ void memmov xm text verifi callback struct dest int src int count public static final nativ void memmov byte dest int src int count xmtextblockrec xmtextverifycallbackstruct public static final nativ void memmov xm text verifi callback struct dest int src int count public static final nativ void memmov byte dest int src int count public static final nativ void memmov char dest int src int count xmtextverifycallbackstruct public static final nativ void memmov byte dest int src int count public static final nativ void memmov char dest int src int count public static final nativ void memmov int dest int src int count public static final nativ void memmov char dest int src int count public static final nativ void memmov int dest int src int count public static final nativ void memmov int dest short src int count public static final nativ void memmov int dest int src int count public static final nativ void memmov int dest short src int count public static final nativ void memmov int dest expos event src int count xexposeev public static final nativ void memmov int dest short src int count public static final nativ void memmov int dest expos event src int count public static final nativ void memmov int dest client messag event src int count xexposeev xclientmessageev public static final nativ void memmov int dest expos event src int count public static final nativ void memmov int dest client messag event src int count public static final nativ void memmov int dest configur event src int count xexposeev xclientmessageev xconfigureev public static final nativ void memmov int dest client messag event src int count public static final nativ void memmov int dest configur event src int count public static final nativ void memmov int dest kei event src int count xclientmessageev xconfigureev xkeyev public static final nativ void memmov int dest configur event src int count public static final nativ void memmov int dest kei event src int count public static final nativ void memmov icon size dest int src int count xconfigureev xkeyev xicons public static final nativ void memmov int dest kei event src int count public static final nativ void memmov icon size dest int src int count public static final nativ int nl langinfo int item xkeyev xicons nl_langinfo public static final nativ void memmov icon size dest int src int count public static final nativ int nl langinfo int item public static final nativ int pipe int filed xicons nl_langinfo public static final nativ int nl langinfo int item public static final nativ int pipe int filed public static final nativ int read int filed byte buf int nbyte nl_langinfo public static final nativ int pipe int filed public static final nativ int read int filed byte buf int nbyte public static final nativ int select int byte readfd byte writefd byte exceptfd int timeout public static final nativ int read int filed byte buf int nbyte public static final nativ int select int byte readfd byte writefd byte exceptfd int timeout public static final nativ int setlocal int categori byte local public static final nativ int select int byte readfd byte writefd byte exceptfd int timeout public static final nativ int setlocal int categori byte local public static final nativ int strlen int string public static final nativ int setlocal int categori byte local public static final nativ int strlen int string public static final nativ int write int filed byte buf int nbyte public xpcom object int arg count int callback address int arg count length int 0 length arg count length length callback arg count null callback arg count callback class callback arg count 1 true non nl 1 callback address callback arg count address int vtabl xpcom pr malloc 4 arg count length xpcom memmov vtabl callback address 4 arg count length pp vtabl xpcom pr malloc 4 xpcom memmov pp vtabl int vtabl 4 object map put integ pp vtabl xpcomobject argcount callbackaddress argcount argcount argcount argcount getclass argcount callbackaddress argcount getaddress pvtabl pr_malloc argcount pvtabl callbackaddress argcount ppvtabl pr_malloc ppvtabl pvtabl objectmap ppvtabl static int callback0 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method0 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback1 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method1 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback10 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method10 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback11 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method11 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback12 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method12 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback13 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method13 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback14 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method14 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback15 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method15 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback16 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method16 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback17 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method17 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback18 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method18 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback19 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method19 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback2 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method2 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback20 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method20 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback21 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method21 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback22 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method22 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback23 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method23 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback24 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method24 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback25 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method25 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback26 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method26 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback27 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method27 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback28 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method28 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback29 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method29 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback3 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method3 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback30 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method30 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback31 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method31 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback32 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method32 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback33 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method33 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback34 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method34 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback35 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method35 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback36 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method36 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback37 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method37 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback38 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method38 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback39 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method39 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback4 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method4 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback40 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method40 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback41 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method41 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback42 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method42 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback43 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method43 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback44 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method44 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback45 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method45 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback46 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method46 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback47 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method47 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback48 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method48 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback49 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method49 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback5 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method5 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback50 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method50 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback51 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method51 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback52 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method52 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback53 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method53 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback54 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method54 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback55 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method55 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback56 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method56 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback57 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method57 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback58 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method58 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback59 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method59 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback6 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method6 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback60 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method60 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback61 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method61 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback62 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method62 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback63 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method63 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback64 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method64 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback65 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method65 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback66 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method66 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback67 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method67 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback68 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method68 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback69 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method69 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback7 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method7 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback70 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method70 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback71 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method71 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback72 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method72 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback73 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method73 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback74 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method74 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback75 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method75 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback76 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method76 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback77 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method77 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback78 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method78 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback79 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method79 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback8 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method8 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject static int callback9 int callback arg find object call invok int address callback arg 0 object object object map integ address object null return xpcom ns error failur int arg int callback arg length 1 system arraycopi callback arg 1 arg 0 arg length return xpcom object object method9 arg callbackarg callbackarg objectmap ns_error_failur callbackarg callbackarg xpcomobject public void dispos free memori refer int vtabl int 1 xpcom memmov vtabl pp vtabl 4 xpcom pr free vtabl 0 xpcom pr free pp vtabl remov pp vtabl list object map remov integ pp vtabl pp vtabl 0 pvtabl pvtabl ppvtabl pr_free pvtabl pr_free ppvtabl ppvtabl objectmap ppvtabl ppvtabl public int address return pp vtabl getaddress ppvtabl public int method0 int arg return xpcom ns error implement ns_error_not_implement return xpcom ns error implement public int method1 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method10 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method11 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method12 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method13 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method14 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method15 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method16 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method17 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method18 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method19 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method2 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method20 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method21 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method22 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method23 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method24 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method25 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method26 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method27 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method28 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method29 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method3 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method30 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method31 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method32 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method33 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method34 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method35 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method36 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method37 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method38 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method39 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method4 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method40 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method41 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method42 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method43 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method44 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method45 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method46 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method47 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method48 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method49 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method5 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method50 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method51 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method52 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method53 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method54 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method55 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method56 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method57 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method58 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method59 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method6 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method60 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method61 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method62 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method63 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method64 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method65 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method66 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method67 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method68 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method69 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method7 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method70 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method71 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method72 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method73 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method74 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method75 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method76 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method77 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method78 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method79 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method8 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement return xpcom ns error implement public int method9 int arg return xpcom ns error implement ns_error_not_implement ns_error_not_implement construct instanc plug runtim class instanc plug runtim class automat creat facil provid ant core plug requir client explicitli instanti plug runtim class param descriptor plug descriptor ant core plug public ant core plugin plugin descriptor descriptor super descriptor plugin antcoreplugin iplugindescriptor public void shutdown prefer null return save plugin prefer savepluginprefer extens point extract extens return list param point the extens point return list extens privat list extract extens string point extens point extens point descriptor extens point point extens point null return null configur element extens extens point configur element return arrai list extens pointnam extractextens pointnam iextensionpoint extensionpoint getdescriptor getextensionpoint pointnam extensionpoint iconfigurationel extensionpoint getconfigurationel aslist return object repres plug prefer return ant core object repres prefer plug public ant core prefer prefer prefer null prefer ant core prefer extract extens pt task extract extens pt extra classpath extract extens pt type extract extens pt properti fals return prefer antcoreprefer getprefer antcoreprefer extractextens pt_task extractextens pt_extra_classpath extractextens pt_type extractextens pt_properti set plug prefer run headless base headless paramet method public test purpos call ant integr framework param headless mark plug run headless public void set run headless boolean headless prefer ant core prefer extract extens pt task extract extens pt extra classpath extract extens pt type extract extens pt properti headless setrunningheadless antcoreprefer extractextens pt_task extractextens pt_extra_classpath extractextens pt_type extractextens pt_properti return plug instanc return singl instanc plug runtim class public static ant core plugin plugin return plugin antcoreplugin getplugin return class loader execut ant build return class loader public class loader class loader return class loader fals classload getnewclassload getnewclassload return class loader execut ant build applic pars code propos determin param allow load allow plugin classload classload load apach ant class return class loader public class loader class loader boolean allow load ant core prefer core prefer prefer url url core prefer getur ls class loader plugin loader core prefer plugin class loader ant class loader loader ant class loader url plugin loader loader allow plugin class loader load ant class allow load return loader allowload classload getnewclassload allowload antcoreprefer coreprefer getprefer coreprefer geturl classload pluginload coreprefer getpluginclassload antclassload antclassload pluginload allowpluginclassloaderstoloadantclass allowload log throwabl plug log param throwabl log 2 1 public static void log throwabl statu statu statu statu error pi antcor intern error error log ant core non nl 1 plugin log log statu istatu istatu pi_antcor intern_error getplugin getlog privat boolean run headless fals protect ant core prefer list default task list default extra classpath list default type boolean headless default task default extra classpath default type collect empti list headless runningheadless antcoreprefer defaulttask defaultextraclasspath defaulttyp defaulttask defaultextraclasspath defaulttyp empti_list protect ant core prefer list default task list default extra classpath list default type list default properti boolean headless run headless headless initi plugin class loader extra classpathur ls arrai list 20 default task comput default task default task default type comput default type default type comput default extra classpath entri default extra classpath comput default properti default properti restor custom object antcoreprefer defaulttask defaultextraclasspath defaulttyp defaultproperti runningheadless initializepluginclassload extraclasspathurl arraylist defaulttask computedefaulttask defaulttask defaulttyp computedefaulttyp defaulttyp computedefaultextraclasspathentri defaultextraclasspath computedefaultproperti defaultproperti restorecustomobject prefer updat memori cach prefer param event properti chang event occur org eclips core runtim prefer properti chang listen properti chang org eclips core runtim prefer properti chang event public void properti chang prefer properti chang event event prefer pref ant core plugin plugin plugin prefer string properti event properti properti equal ant core constant prefer task properti start ant core constant prefix task restor task pref properti equal ant core constant prefer type properti start ant core constant prefix type restor type pref properti equal ant core constant prefer ant home entri restor ant home entri pref properti equal ant core constant prefer addit entri restor addit entri pref properti equal ant core constant prefer ant home restor ant home pref properti equal ant core constant prefer properti properti start ant core constant prefix properti restor custom properti pref properti equal ant core constant prefer properti file restor custom properti file pref ipropertychangelisten propertychang propertychangeev propertychang propertychangeev antcoreplugin getplugin getpluginprefer getproperti iantcoreconst prefer_task startswith iantcoreconst prefix_task restoretask iantcoreconst prefer_type startswith iantcoreconst prefix_type restoretyp iantcoreconst prefer_ant_home_entri restoreanthomeentri iantcoreconst prefer_addit_entri restoreadditionalentri iantcoreconst prefer_ant_home restoreanthom iantcoreconst prefer_properti startswith iantcoreconst prefix_properti restorecustomproperti iantcoreconst prefer_properti_file restorecustompropertyfil restor memori model prefer prefer store privat void restor custom object prefer pref ant core plugin plugin plugin prefer restor ant home pref restor task pref restor type pref restor ant home entri pref restor addit entri pref restor custom properti pref restor custom properti file pref pref add properti chang listen restorecustomobject antcoreplugin getplugin getpluginprefer restoreanthom restoretask restoretyp restoreanthomeentri restoreadditionalentri restorecustomproperti restorecustompropertyfil addpropertychangelisten privat void restor task prefer pref string task pref string ant core constant prefer task task equal non nl 1 custom task task 0 custom task extract task pref arrai string task restoretask getstr iantcoreconst prefer_task customtask customtask extracttask getarrayfromstr privat void restor type prefer pref string type pref string ant core constant prefer type type equal non nl 1 custom type type 0 custom type extract type pref arrai string type restoretyp getstr iantcoreconst prefer_type customtyp customtyp extracttyp getarrayfromstr privat void restor ant home entri prefer pref string entri pref string ant url constant non nl 1 entri equal non nl 1 entri pref string ant core constant prefer ant home entri pref set default ant url non nl 1 ant home entri migrateurl entri arrai string entri return entri equal non nl 1 ant home entri default ant home entri ant home entri extract entri arrai string entri restoreanthomeentri getstr ant_url getstr iantcoreconst prefer_ant_home_entri settodefault ant_url anthomeentri migrateurlentri getarrayfromstr anthomeentri getdefaultanthomeentri anthomeentri extractentri getarrayfromstr privat void restor addit entri prefer pref string entri pref string url constant non nl 1 entri equal non nl 1 entri pref string ant core constant prefer addit entri pref set default url non nl 1 addit entri migrateurl entri arrai string entri return entri equal non nl 1 ant classpath entri tool jar entri tool jar entri tool jar entri null addit entri ant classpath entri 0 addit entri ant classpath entri tool jar entri addit entri extract entri arrai string entri restoreadditionalentri getstr getstr iantcoreconst prefer_addit_entri settodefault additionalentri migrateurlentri getarrayfromstr iantclasspathentri toolsjarentri gettoolsjarentri toolsjarentri additionalentri iantclasspathentri additionalentri iantclasspathentri toolsjarentri additionalentri extractentri getarrayfromstr privat ant classpath entri migrateurl entri string url entri list result arrai list url entri length int 0 url entri length url url try url url url entri catch malformedurl except continu result add ant classpath entri url return ant classpath entri result arrai ant classpath entri result size iantclasspathentri migrateurlentri urlentri arraylist urlentri urlentri urlentri malformedurlexcept antclasspathentri iantclasspathentri toarrai iantclasspathentri privat void restor ant home prefer pref ant home pref string ant core constant prefer ant home ant home null ant home length 0 ant home default ant home restoreanthom anthom getstr iantcoreconst prefer_ant_home anthom anthom anthom getdefaultanthom return absolut path default ant home build default org apach ant plugin folder provid eclips return string absolut path default ant home 3 0 public string default ant home ant classpath entri entri default ant home entri entri length 0 url antjar entri 0 entryurl path ant home path path antjar file parent directori lib directori ant home path ant home path remov segment 2 return ant home path file absolut path return null getdefaultanthom iantclasspathentri getdefaultanthomeentri getentryurl ipath anthomepath getfil anthomepath anthomepath removelastseg anthomepath tofil getabsolutepath privat void restor custom properti prefer pref string properti pref string ant core constant prefer properti properti equal non nl 1 custom properti properti 0 custom properti extract properti pref arrai string properti restorecustomproperti getstr iantcoreconst prefer_properti customproperti customproperti extractproperti getarrayfromstr privat void restor custom properti file prefer pref string properti file pref string ant core constant prefer properti file properti file equal non nl 1 custom properti file string 0 custom properti file arrai string properti file restorecustompropertyfil propertyfil getstr iantcoreconst prefer_properti_file propertyfil custompropertyfil custompropertyfil getarrayfromstr propertyfil protect task extract task prefer pref string task list result arrai list task length int 0 task length string task task string valu arrai string pref string ant core constant prefix task task valu length 2 continu task task task task set task task task set class valu 0 string librari valu 1 librari start file non nl 1 format ur ls persist librari librari substr 5 task set librari entri ant classpath entri librari result add task return task result arrai task result size extracttask arraylist tasknam getarrayfromstr getstr iantcoreconst prefix_task tasknam settasknam tasknam setclassnam startswith url setlibraryentri antclasspathentri toarrai protect type extract type prefer pref string type list result arrai list type length int 0 type length string type type string valu arrai string pref string ant core constant prefix type type valu length 2 continu type type type type set type type type set class valu 0 string librari valu 1 librari start file non nl 1 format ur ls persist librari librari substr 5 type set librari entri ant classpath entri librari result add type return type result arrai type result size extracttyp arraylist typenam getarrayfromstr getstr iantcoreconst prefix_type typenam settypenam typenam setclassnam startswith url setlibraryentri antclasspathentri toarrai protect properti extract properti prefer pref string properti properti result properti properti length int 0 properti length string properti properti string valu arrai string pref string ant core constant prefix properti properti valu length 1 continu properti properti properti properti set properti properti set valu 0 result properti return result extractproperti propertynam getarrayfromstr getstr iantcoreconst prefix_properti propertynam setnam propertynam setvalu privat ant classpath entri extract entri string entri ant classpath entri result ant classpath entri entri length int 0 entri length result ant classpath entri entri return result iantclasspathentri extractentri iantclasspathentri iantclasspathentri antclasspathentri return arrai ur ls default set ur ls defin ant classpath ant run command line tri find tool jar help user try emul behaviour return default set ur ls defin ant classpath deprec public url default antur ls ant classpath entri entri default ant home entri list result arrai list 3 int 0 entri length i ant classpath entri entri entri result add entri entryurl url toolsurl tool jarurl toolsurl null result add toolsurl return url result arrai url result size url url url getdefaultanturl iantclasspathentri getdefaultanthomeentri arraylist iantclasspathentri getentryurl gettoolsjarurl toarrai return arrai classpath entri default set entri defin ant classpath return default set classpath entri defin ant classpath public ant classpath entri default ant home entri default ant home entri null list result arrai list 29 plugin ant plugin platform plugin org apach ant non nl 1 ant plugin null plugin descriptor descriptor ant plugin descriptor add librari descriptor result default ant home entri ant classpath entri result arrai ant classpath entri result size return default ant home entri iantclasspathentri getdefaultanthomeentri defaultanthomeentri arraylist antplugin getplugin antplugin iplugindescriptor antplugin getdescriptor addlibrari defaultanthomeentri iantclasspathentri toarrai iantclasspathentri defaultanthomeentri return arrai ur ls set ur ls defin ant classpath return set ur ls defin ant classpath deprec ant home classpath entri tool jar entri public url antur ls int extra 0 ant classpath entri entri tool jar entri entri null extra url url url ant home entri length extra int i 0 ant home entri length url url ant home entri entryurl url null url url extra 0 url entri entryurl return url url url url getanthomeclasspathentri gettoolsjarentri getanturl iantclasspathentri gettoolsjarentri anthomeentri anthomeentri anthomeentri getentryurl getentryurl protect list comput default task list task list result arrai list task size iter iter task iter iter configur element element configur element iter relev run headless element continu task task task task set task element attribut ant core plugin task set class element attribut ant core plugin class configur ant object result element task task task intern core ant messag string ant core prefer librari task non nl 1 return result computedefaulttask arraylist hasnext iconfigurationel iconfigurationel relevantrunningheadless settasknam getattribut antcoreplugin setclassnam getattribut antcoreplugin configureantobject gettasknam internalcoreantmessag getstr antcoreprefer no_librari_for_task privat void addurl extra classpath entri url url configur element element string eclips runtim element attribut ant core plugin eclips runtim boolean eclips runtim requir true eclips runtim null eclips runtim requir boolean boolean eclips runtim iter itr extra classpathur ls iter itr ant classpath entri entri ant classpath entri itr entri entryurl equal url return ant classpath entri entri ant classpath entri url entri set eclips runtim requir eclips runtim requir extra classpathur ls add entri addurltoextraclasspathentri iconfigurationel eclipseruntim getattribut antcoreplugin eclips_runtim eclipseruntimerequir eclipseruntim eclipseruntimerequir getboolean eclipseruntim extraclasspathurl hasnext iantclasspathentri iantclasspathentri getentryurl antclasspathentri antclasspathentri seteclipseruntimerequir eclipseruntimerequir extraclasspathurl protect list comput default type list type list result arrai list type size iter iter type iter iter configur element element configur element iter relev run headless element continu type type type type set type element attribut ant core plugin type set class element attribut ant core plugin class configur ant object result element type type type intern core ant messag string ant core prefer librari type non nl 1 return result computedefaulttyp arraylist hasnext iconfigurationel iconfigurationel relevantrunningheadless settypenam getattribut antcoreplugin setclassnam getattribut antcoreplugin configureantobject gettypenam internalcoreantmessag getstr antcoreprefer no_librari_for_type privat void configur ant object list result configur element element ant object ant object string object string error messag string runtim element attribut ant core plugin eclips runtim runtim null ant object set eclips runtim requir boolean runtim boolean string librari element attribut ant core plugin librari librari null statu statu statu statu error ant core plugin pi antcor ant core plugin error librari messag format format intern core ant messag string ant core prefer librari 0 4 string object null non nl 1 ant core plugin plugin log log statu return plugin descriptor descriptor element declar extens declar plugin descriptor try ant object set plugin label descriptor label url url platform localurl url descriptor installurl librari file url path exist addurl extra classpath entri url element result add ant object add plugin class loader descriptor plugin class loader ant object set librari entri ant classpath entri url return type specifi librari exist statu statu statu statu error ant core plugin pi antcor ant core plugin error librari messag format format error messag string url extern form descriptor label null non nl 1 ant core plugin plugin log log statu return catch malformedurl except url valid format log ignor except statu statu statu statu error ant core plugin pi antcor ant core plugin error malform url intern core ant messag string ant core prefer malform url 1 non nl 1 ant core plugin plugin log log statu return catch except like extra classpath entri librari exist statu statu statu statu error ant core plugin pi antcor ant core plugin error librari messag format format intern core ant messag string ant core prefer 8 string descriptor label null non nl 1 ant core plugin plugin log log statu return configureantobject iconfigurationel antobject antobject objectnam errormessag getattribut antcoreplugin eclips_runtim antobject seteclipseruntimerequir valueof booleanvalu getattribut antcoreplugin istatu istatu antcoreplugin pi_antcor antcoreplugin error_librari_not_specifi messageformat internalcoreantmessag getstr antcoreprefer librari_not_specifi_for__ _4 objectnam antcoreplugin getplugin getlog iplugindescriptor getdeclaringextens getdeclaringplugindescriptor antobject setpluginlabel getlabel aslocalurl getinstallurl getpath addurltoextraclasspathentri antobject addpluginclassload getpluginclassload antobject setlibraryentri antclasspathentri istatu istatu antcoreplugin pi_antcor antcoreplugin error_librari_not_specifi messageformat errormessag toexternalform getlabel antcoreplugin getplugin getlog malformedurlexcept istatu istatu antcoreplugin pi_antcor antcoreplugin error_malform_url internalcoreantmessag getstr antcoreprefer malform_url _1 antcoreplugin getplugin getlog istatu istatu antcoreplugin pi_antcor antcoreplugin error_librari_not_specifi messageformat internalcoreantmessag getstr antcoreprefer getlabel antcoreplugin getplugin getlog protect void comput default extra classpath entri list entri iter iter entri iter iter configur element element configur element iter relev run headless element continu string librari element attribut ant core plugin librari plugin descriptor descriptor element declar extens declar plugin descriptor try url url platform localurl url descriptor installurl librari file url path exist addurl extra classpath entri url element add plugin class loader descriptor plugin class loader extra classpath entri exist statu statu statu statu error ant core plugin pi antcor ant core plugin error librari messag format format intern core ant messag string ant core prefer librari extraclasspathentri string url extern form descriptor label null non nl 1 ant core plugin plugin log log statu continu catch malformedurl except url valid format log ignor except statu statu statu statu error ant core plugin pi antcor ant core plugin error malform url intern core ant messag string ant core prefer malform url 1 non nl 1 ant core plugin plugin log log statu continu catch except like extra classpath entri exist statu statu statu statu error ant core plugin pi antcor ant core plugin error librari messag format format intern core ant messag string ant core prefer 6 string descriptor label null non nl 1 ant core plugin plugin log log statu continu computedefaultextraclasspathentri hasnext iconfigurationel iconfigurationel relevantrunningheadless getattribut antcoreplugin iplugindescriptor getdeclaringextens getdeclaringplugindescriptor aslocalurl getinstallurl getpath addurltoextraclasspathentri addpluginclassload getpluginclassload istatu istatu antcoreplugin pi_antcor antcoreplugin error_librari_not_specifi messageformat internalcoreantmessag getstr antcoreprefer no_librari_for_extraclasspathentri toexternalform getlabel antcoreplugin getplugin getlog malformedurlexcept istatu istatu antcoreplugin pi_antcor antcoreplugin error_malform_url internalcoreantmessag getstr antcoreprefer malform_url _1 antcoreplugin getplugin getlog istatu istatu antcoreplugin pi_antcor antcoreplugin error_librari_not_specifi messageformat internalcoreantmessag getstr antcoreprefer getlabel antcoreplugin getplugin getlog privat boolean relev run headless configur element element run headless string headless element attribut ant core plugin headless headless null boolean headless properti boolean headless boolean headless properti return fals return true relevantrunningheadless iconfigurationel runningheadless getattribut antcoreplugin headlessproperti valueof booleanvalu headlessproperti privat void comput default properti list properti default properti arrai list properti size iter iter properti iter iter configur element element configur element iter relev run headless element continu string element attribut ant core plugin name null continu string element attribut ant core plugin properti properti null properti properti plugin descriptor descriptor element declar extens declar plugin descriptor properti set plugin label descriptor label properti properti properti set name plugin descriptor descriptor element declar extens declar plugin descriptor properti set plugin label descriptor label string class element attribut ant core plugin class properti set provid class descriptor plugin class loader default properti add properti string runtim element attribut ant core plugin eclips runtim runtim null properti set eclips runtim requir boolean runtim boolean computedefaultproperti defaultproperti arraylist hasnext iconfigurationel iconfigurationel relevantrunningheadless getattribut antcoreplugin getattribut antcoreplugin iplugindescriptor getdeclaringextens getdeclaringplugindescriptor setpluginlabel getlabel setnam iplugindescriptor getdeclaringextens getdeclaringplugindescriptor setpluginlabel getlabel classnam getattribut antcoreplugin setvalueprovid classnam getpluginclassload defaultproperti getattribut antcoreplugin eclips_runtim seteclipseruntimerequir valueof booleanvalu return ant classpath entri tool jar path suppli return code null code tool jar found path point jre instal param java home path path java home return ant classpath entri tool jar ant classpath entri code null code 3 0 public ant classpath entri tool jar entri path java home path jre equal ignor case java home path segment non nl 1 java home path java home path remov segment 1 java home path java home path append lib append tool jar non nl 1 non nl 2 file tool java home path file tool exist attempt find older 1 1 java home path java home path remov segment 1 java home path java home path append class zip non nl 1 tool java home path file tool exist return null return ant classpath entri tool absolut path iantclasspathentri javahomepath iantclasspathentri iantclasspathentri iantclasspathentri gettoolsjarentri ipath javahomepath equalsignorecas javahomepath lastseg javahomepath javahomepath removelastseg javahomepath javahomepath javahomepath tofil javahomepath javahomepath removelastseg javahomepath javahomepath javahomepath tofil antclasspathentri getabsolutepath return url tool jar system properti java home locat java home tool jar jre instal environ variabl java home resolv check tool jar return code null code tool jar found return url tool jar url code null code deprec tool jar entri public url tool jarurl path path path system properti java home non nl 1 ant classpath entri entri tool jar entri path entri null dynam variabl variabl variabl plugin default string variabl manag dynam variabl env var non nl 1 string java home null try variabl null java home variabl java home non nl 1 java home null path path java home entri tool jar entri path catch core except entri null return entri entryurl return null java_home gettoolsjarentri gettoolsjarurl ipath getproperti iantclasspathentri gettoolsjarentri idynamicvari variablesplugin getdefault getstringvariablemanag getdynamicvari env_var javahom javahom getvalu java_home javahom javahom gettoolsjarentri coreexcept getentryurl return code ant classpath entri code tool jar system properti java home locat java home tool jar jre instal environ variabl java home resolv check tool jar return code null code tool jar found return ant classpath entri tool jar ant classpath entri code null code public ant classpath entri tool jar entri path path path system properti java home non nl 1 ant classpath entri entri tool jar entri path entri null dynam variabl variabl variabl plugin default string variabl manag dynam variabl env var non nl 1 string java home null try variabl null java home variabl java home non nl 1 java home null path path java home entri tool jar entri path catch core except return entri iantclasspathentri java_home iantclasspathentri iantclasspathentri iantclasspathentri gettoolsjarentri ipath getproperti iantclasspathentri gettoolsjarentri idynamicvari variablesplugin getdefault getstringvariablemanag getdynamicvari env_var javahom javahom getvalu java_home javahom javahom gettoolsjarentri coreexcept privat void add librari plugin descriptor sourc list destin url root sourc installurl librari librari sourc runtim librari int 0 librari length try url url url root librari path string destin add ant classpath entri platform localurl url catch except url valid format log ignor except statu statu statu statu error ant core plugin pi antcor ant core plugin error malform url intern core ant messag string ant core prefer malform url 1 non nl 1 ant core plugin plugin log log statu addlibrari iplugindescriptor getinstallurl ilibrari getruntimelibrari getpath tostr antclasspathentri aslocalurl istatu istatu antcoreplugin pi_antcor antcoreplugin error_malform_url internalcoreantmessag getstr antcoreprefer malform_url _1 antcoreplugin getplugin getlog protect void add plugin class loader class loader loader plugin class loader loader plugin class loader add loader addpluginclassload classload pluginclassload pluginclassload return list url ad classpath extra classpath entri extens point return list extra classpath ur ls public url extra classpathur ls url url url extra classpathur ls size int 0 extra classpathur ls size i ant classpath entri entri ant classpath entri extra classpathur ls url entri entryurl return url url getextraclasspathurl extraclasspathurl extraclasspathurl iantclasspathentri iantclasspathentri extraclasspathurl getentryurl return list url ad classpath extra classpath entri extens point ant build occur eclips runtim return list extra classpath ur ls 3 0 public url remot extra classpathur ls list url arrai list extra classpathur ls size int 0 extra classpathur ls size i ant classpath entri entri ant classpath entri extra classpathur ls entri eclips runtim requir url add entri entryurl return url url arrai url url size url getremoteextraclasspathurl arraylist extraclasspathurl extraclasspathurl iantclasspathentri iantclasspathentri extraclasspathurl iseclipseruntimerequir getentryurl toarrai return entir set ur ls defin ant runtim classpath includ ant ur ls addit ur ls extra classpath ur ls return entir runtim classpath ur ls public url getur ls list result arrai list 60 ant home entri null add entryur ls result ant home entri addit entri null addit entri length 0 add entryur ls result addit entri int 0 extra classpathur ls size i ant classpath entri entri ant classpath entri extra classpathur ls url url entri entryurl url null result add url return url result arrai url result size url url url url url geturl arraylist anthomeentri addentryurl anthomeentri additionalentri additionalentri addentryurl additionalentri extraclasspathurl iantclasspathentri iantclasspathentri extraclasspathurl getentryurl toarrai privat void add entryur ls list result ant classpath entri entri int 0 entri length i ant classpath entri entri entri url url entri entryurl url null result add url addentryurl iantclasspathentri iantclasspathentri getentryurl protect class loader plugin class loader order plugin class loader null iter class loader plugin class loader iter map id loader hash map plugin class loader size plugin descriptor descriptor plugin descriptor plugin class loader size int 0 class loader plugin class loader loader plugin class loader class loader plugin descriptor descriptor loader plugin descriptor id loader put descriptor uniqu identifi loader descriptor descriptor string id comput prerequisit order plugin descriptor order plugin class loader class loader plugin class loader size int 0 id length string id id order plugin class loader class loader id loader id return order plugin class loader classload getpluginclassload orderedpluginclassload classload pluginclassload idtoload hashmap pluginclassload iplugindescriptor iplugindescriptor pluginclassload classload hasnext pluginclassload pluginclassload classload iplugindescriptor getplugindescriptor idtoload getuniqueidentifi computeprerequisiteorderplugin orderedpluginclassload classload pluginclassload orderedpluginclassload classload idtoload orderedpluginclassload privat string comput prerequisit order plugin plugin descriptor plugin list prereq arrai list 9 set plugin list hash set plugin length int 0 plugin length plugin list add plugin uniqu identifi creat collect direct edg plugin prereq int 0 plugin length boolean boot fals boolean runtim fals boolean found fals plugin prerequisit prereq list plugin plugin prerequisit prereq list null int 0 prereq list length ensur includ valu origin set string prereq prereq list uniqu identifi boot boot prereq equal boot loader pi boot runtim runtim prereq equal platform pi runtim plugin list prereq found true prereq add string plugin uniqu identifi prereq didn find prereq plugin add null prereq ensur output found prereq add string plugin uniqu identifi null didn find boot runtim plugin prereq list plugin build add prereq relat requir boot runtim implicitli ad plugin requir list platform runtim note skip xerc plugin circular plugin uniqu identifi equal org apach xerc non nl 1 continu boot plugin list boot loader pi boot plugin uniqu identifi equal boot loader pi boot prereq add string plugin uniqu identifi boot loader pi boot runtim plugin list platform pi runtim plugin uniqu identifi equal platform pi runtim plugin uniqu identifi equal boot loader pi boot prereq add string plugin uniqu identifi platform pi runtim topolog sort insert fragment sort element string prereq arrai string prereq arrai string prereq size return comput node order prereq arrai computeprerequisiteorderplugin iplugindescriptor arraylist pluginlist hashset pluginlist getuniqueidentifi ipluginprerequisit prereqlist getpluginprerequisit prereqlist prereqlist prereqlist getuniqueidentifi bootload pi_boot pi_runtim pluginlist getuniqueidentifi getuniqueidentifi getuniqueidentifi pluginlist bootload pi_boot getuniqueidentifi bootload pi_boot getuniqueidentifi bootload pi_boot pluginlist pi_runtim getuniqueidentifi pi_runtim getuniqueidentifi bootload pi_boot getuniqueidentifi pi_runtim prereqarrai toarrai computenodeord prereqarrai privat string comput node order string spec map count comput count spec list node arrai list count size count empti list root find root node count root empti break iter root iter count remov node add root remov arc spec root count string result string node size node arrai result return result computenodeord computecount arraylist isempti findrootnod isempti hasnext addal removearc toarrai privat void remov arc string map list root map count iter root iter string root string int 0 map length root equal map 1 string input map 0 integ count integ count input count null count put input integ count int 1 removearc hasnext intvalu privat list find root node map count list result arrai list 5 iter count kei set iter string node string int count integ count node int count 0 result add node return result findrootnod arraylist keyset hasnext intvalu privat map comput count string map map count hash map 5 int 0 map length string map 0 integ count integ count string map 1 null count put integ 0 integ count null count put integ 0 count count null integ 1 integ count int 1 count put from count return count computecount hashmap fromcount fromcount fromcount fromcount intvalu fromcount privat void initi plugin class loader plugin class loader arrai list 10 ant core present plugin class loader add platform plugin ant core plugin pi antcor descriptor plugin class loader initializepluginclassload pluginclassload arraylist pluginclassload getplugin antcoreplugin pi_antcor getdescriptor getpluginclassload return default custom task return list default custom task public list task list result arrai list 10 default task null default task empti result add default task custom task null custom task length 0 result add arrai list custom task return result gettask arraylist defaulttask defaulttask isempti addal defaulttask customtask customtask addal aslist customtask return default custom task relav eclips runtim context ant build separ vm return list default custom task public list remot task list result arrai list 10 default task null default task empti iter iter default task iter iter task task task iter task eclips runtim requir result add task custom task null custom task length 0 result add arrai list custom task return result getremotetask arraylist defaulttask defaulttask isempti defaulttask hasnext iseclipseruntimerequir customtask customtask addal aslist customtask return user defin custom task return user defin task public task custom task return custom task getcustomtask customtask return user defin custom type return user defin type public type custom type return custom type getcustomtyp customtyp return custom user properti ant build return properti defin ant build public properti custom properti return custom properti getcustomproperti customproperti return default custom properti return list default custom properti 3 0 public list properti list result arrai list 10 default properti null default properti empti result add default properti custom properti null custom properti length 0 result add arrai list custom properti return result getproperti arraylist defaultproperti defaultproperti isempti addal defaultproperti customproperti customproperti addal aslist customproperti return default custom properti relav eclips runtim context ant build separ vm return list default custom properti 3 0 public list remot ant properti list result arrai list 10 default properti null default properti empti iter iter default properti iter iter properti properti properti iter properti eclips runtim requir result add properti custom properti null custom properti length 0 result add arrai list custom properti return result getremoteantproperti arraylist defaultproperti defaultproperti isempti defaultproperti hasnext iseclipseruntimerequir customproperti customproperti addal aslist customproperti return custom properti file ant build perform requir string substit param perform string substit perform string subsitut properti file string return properti file defin ant build 3 0 public string custom properti file boolean perform string substit perform string substit custom properti file null custom properti file length 0 return custom properti file list file arrai list custom properti file length int 0 custom properti file length string filenam custom properti file try filenam variabl plugin default string variabl manag perform string substitut filenam file add filenam catch core except notifi user ant consol miss file file add filenam return string file arrai string file size performstringsubstit getcustompropertyfil performstringsubstit performstringsubstit custompropertyfil custompropertyfil custompropertyfil arraylist custompropertyfil custompropertyfil custompropertyfil variablesplugin getdefault getstringvariablemanag performstringsubstitut coreexcept toarrai return custom properti file ant build return properti file defin ant build public string custom properti file return custom properti file true getcustompropertyfil getcustompropertyfil return custom ur ls ant classpath return url defin ant classpath deprec public url customur ls url url url addit entri length int i 0 addit entri length url url addit entri entryurl url null url url return url url getcustomurl additionalentri additionalentri additionalentri getentryurl set user defin custom task commit updat plugin prefer call param task public void set custom task task task custom task custom task custom task task updatepluginprefer setcustomtask oldcustomtask customtask customtask set user defin custom type commit updat plugin prefer call param type custom type public void set custom type type type custom type custom type custom type type updatepluginprefer setcustomtyp oldcustomtyp customtyp customtyp set custom ur ls ant classpath commit updat plugin prefer call param url url defin ant classpath deprec set addit entri ant classpath entri public void set customur ls url url addit entri ant classpath entri url length int 0 url length url url url i ant classpath entri entri ant classpath entri url addit entri entri url updatepluginprefer setadditionalentri iantclasspathentri setcustomurl additionalentri iantclasspathentri iantclasspathentri antclasspathentri additionalentri set ant ur ls ant classpath commit updat plugin prefer call param url url defin ant classpath deprec set ant home entir ant classpath entri public void set antur ls url url ant home entri ant classpath entri url length int 0 url length url url url i ant classpath entri entri ant classpath entri url ant home entri entri url updatepluginprefer setanthomeentir iantclasspathentri setanturl anthomeentri iantclasspathentri iantclasspathentri antclasspathentri anthomeentri set custom properti file ant build commit updat plugin prefer call param path absolut path defin properti file public void set custom properti file string path custom properti file path updatepluginprefer setcustompropertyfil custompropertyfil set custom user properti ant build commit updat plugin prefer call param properti properti defin ant properti public void set custom properti properti properti custom properti custom properti custom properti properti updatepluginprefer setcustomproperti oldcustomproperti customproperti customproperti return default custom type return defin type public list type list result arrai list 10 default type null default type empti result add default type custom type null custom type length 0 result add arrai list custom type return result gettyp arraylist defaulttyp defaulttyp isempti addal defaulttyp customtyp customtyp addal aslist customtyp return default custom type relav eclips runtim context ant build separ vm return list default custom type public list remot type list result arrai list 10 default type null default type empti iter iter default type iter iter type type type iter type eclips runtim requir result add type custom type null custom type length 0 result add arrai list custom type return result getremotetyp arraylist defaulttyp defaulttyp isempti defaulttyp hasnext iseclipseruntimerequir customtyp customtyp addal aslist customtyp return default type defin type extens point return default type public list default type list result arrai list 10 default type null default type empti result add default type return result getdefaulttyp arraylist defaulttyp defaulttyp isempti addal defaulttyp return default task defin task extens point return default task public list default task list result arrai list 10 default task null default task empti result add default task return result getdefaulttask arraylist defaulttask defaulttask isempti addal defaulttask return default properti defin properti extens point return default properti 3 0 public list default properti list result arrai list 10 default properti null default properti empti result add default properti return result getdefaultproperti arraylist defaultproperti defaultproperti isempti addal defaultproperti protect string arrai string string list string separ non nl 1 list null list trim equal non nl 1 return string 0 arrai list result arrai list string token token string token list separ token token string token token token trim token equal non nl 1 result add token return string result arrai string result size getarrayfromstr arraylist arraylist stringtoken stringtoken hasmoretoken nexttoken toarrai updat underli plugin prefer current public void updat plugin prefer prefer pref ant core plugin plugin plugin prefer pref remov properti chang listen updat task pref updat type pref updat ant home entri pref updat addit entri pref updat properti pref updat properti file pref boolean classpath chang ant core plugin plugin plugin prefer need save ant core plugin plugin save plugin prefer classpath chang pref set ant core constant prefer classpath chang true pref set ant core constant prefer classpath chang fals pref add properti chang listen updatepluginprefer antcoreplugin getplugin getpluginprefer removepropertychangelisten updatetask updatetyp updateanthomeentri updateadditionalentri updateproperti updatepropertyfil classpathchang antcoreplugin getplugin getpluginprefer needssav antcoreplugin getplugin savepluginprefer classpathchang setvalu iantcoreconst prefer_classpath_chang setvalu iantcoreconst prefer_classpath_chang addpropertychangelisten protect void updat task prefer pref custom task null int 0 custom task length task task custom task pref set default ant core constant prefix task task task custom task null custom task length 0 pref set ant core constant prefer task non nl 1 return string buffer task string buffer int 0 custom task length task append custom task task task append pref set ant core constant prefix task custom task task custom task class custom task librari entri label non nl 1 pref set ant core constant prefer task task string updatetask oldcustomtask oldcustomtask oldtask oldcustomtask settodefault iantcoreconst prefix_task oldtask gettasknam oldcustomtask customtask setvalu iantcoreconst prefer_task stringbuff stringbuff customtask customtask gettasknam setvalu iantcoreconst prefix_task customtask gettasknam customtask getclassnam customtask getlibraryentri getlabel setvalu iantcoreconst prefer_task tostr protect void updat type prefer pref custom type null int 0 custom type length type type custom type pref set default ant core constant prefix type type type custom type null custom type length 0 pref set ant core constant prefer type non nl 1 return string buffer type string buffer int 0 custom type length type append custom type type type append pref set ant core constant prefix type custom type type custom type class custom type librari entri label non nl 1 pref set ant core constant prefer type type string updatetyp oldcustomtyp oldcustomtyp oldtyp oldcustomtyp settodefault iantcoreconst prefix_type oldtyp gettypenam oldcustomtyp customtyp setvalu iantcoreconst prefer_type stringbuff stringbuff customtyp customtyp gettypenam setvalu iantcoreconst prefix_type customtyp gettypenam customtyp getclassnam customtyp getlibraryentri getlabel setvalu iantcoreconst prefer_type tostr protect void updat properti prefer pref custom properti null int 0 custom properti length properti properti custom properti pref set default ant core constant prefix properti properti custom properti null custom properti length 0 pref set ant core constant prefer properti non nl 1 return string buffer properti string buffer int 0 custom properti length properti append custom properti properti append pref set ant core constant prefix properti custom properti custom properti fals non nl 1 pref set ant core constant prefer properti properti string updateproperti oldcustomproperti oldcustomproperti oldproperti oldcustomproperti settodefault iantcoreconst prefix_properti oldproperti getnam oldcustomproperti customproperti setvalu iantcoreconst prefer_properti stringbuff stringbuff customproperti customproperti getnam setvalu iantcoreconst prefix_properti customproperti getnam customproperti getvalu setvalu iantcoreconst prefer_properti tostr protect void updat addit entri prefer pref pref set url constant remov non nl 1 non nl 2 string serial null ant classpath entri tool jar entri tool jar entri addit entri length 1 tool jar entri null addit entri 0 label equal tool jar entri label serial non nl 1 string buffer entri string buffer int 0 addit entri length entri append addit entri label entri append serial entri string pref set ant core constant prefer addit entri serial string pref ant home non nl 1 ant home null ant home equal default ant home pref ant home ant home pref set ant core constant prefer ant home pref ant home updateadditionalentri setvalu iantclasspathentri toolsjarentri gettoolsjarentri additionalentri toolsjarentri additionalentri getlabel toolsjarentri getlabel stringbuff stringbuff additionalentri additionalentri getlabel tostr setvalu iantcoreconst prefer_addit_entri prefanthom anthom anthom getdefaultanthom prefanthom anthom setvalu iantcoreconst prefer_ant_home prefanthom protect void updat ant home entri prefer pref pref set ant url constant remov non nl 1 non nl 2 custom entri default entri ant classpath entri default entri default ant home entri boolean dflt fals default entri length ant home entri length dflt true int 0 ant home entri length ant home entri equal default entri dflt fals break dflt want recalcul default ant url pick default ant classpath pref set ant core constant prefer ant home entri non nl 1 return string buffer entri string buffer int 0 ant home entri length entri append ant home entri label entri append pref set ant core constant prefer ant home entri entri string updateanthomeentri setvalu ant_url iantclasspathentri defaultentri getdefaultanthomeentri defaultentri anthomeentri anthomeentri anthomeentri defaultentri setvalu iantcoreconst prefer_ant_home_entri stringbuff stringbuff anthomeentri anthomeentri getlabel setvalu iantcoreconst prefer_ant_home_entri tostr protect void updat properti file prefer pref string buffer file string buffer int 0 custom properti file length file append custom properti file file append pref set ant core constant prefer properti file file string updatepropertyfil stringbuff stringbuff custompropertyfil custompropertyfil setvalu iantcoreconst prefer_properti_file tostr set string defin ant home set user set code null code param ant home fulli qualifi path ant home public void set ant home string ant home ant home ant home anthom setanthom anthom anthom anthom return string defin ant home set user locat eclips ant plugin ant home specif set user return code null code return fulli qualifi path ant home public string ant home return ant home getanthom anthom return set classpath entri compos librari ad ant runtim classpath ant home locat return set ant home classpath entri 3 0 public ant classpath entri ant home classpath entri return ant home entri iantclasspathentri getanthomeclasspathentri anthomeentri return set classpath entri user ad ant runtim classpath return set user classpath entri 3 0 public ant classpath entri addit classpath entri return addit entri iantclasspathentri getadditionalclasspathentri additionalentri set set classpath entri compos librari ad ant runtim classpath ant home locat param entri set ant home classpath entri 3 0 public void set ant home classpath entri ant classpath entri entri ant home entri entri setanthomeclasspathentri iantclasspathentri anthomeentri set set classpath entri user ad ant runtim classpath param entri set user classpath entri 3 0 public void set addit classpath entri ant classpath entri entri addit entri entri setadditionalclasspathentri iantclasspathentri additionalentri return list ur ls ad classpath ant build occur eclips runtim return list classpath entri 3 0 public url remot antur ls list result arrai list 40 ant home entri null int 0 ant home entri length i ant classpath entri entri ant home entri result add entri entryurl addit entri null addit entri length 0 int 0 addit entri length i ant classpath entri entri addit entri result add entri entryurl extra classpathur ls null int 0 extra classpathur ls size i ant classpath entri entri ant classpath entri extra classpathur ls entri eclips runtim requir result add entri entryurl return url result arrai url result size url getremoteanturl arraylist anthomeentri anthomeentri iantclasspathentri anthomeentri getentryurl additionalentri additionalentri additionalentri iantclasspathentri additionalentri getentryurl extraclasspathurl extraclasspathurl iantclasspathentri iantclasspathentri extraclasspathurl iseclipseruntimerequir getentryurl toarrai return contribut classpath entri code extra classpath entri code extens point return contribut classpath entri code extra classpath entri code extens point 3 0 public ant classpath entri contribut classpath entri return ant classpath entri extra classpathur ls arrai ant classpath entri extra classpathur ls size extraclasspathentri extraclasspathentri iantclasspathentri getcontributedclasspathentri iantclasspathentri extraclasspathurl toarrai iantclasspathentri extraclasspathurl set build file locat file system param build file locat file system locat build file public void set build file locat string build file locat build file locat null build file locat ant core constant default build filenam build file locat build file locat buildfileloc setbuildfileloc buildfileloc buildfileloc buildfileloc iantcoreconst default_build_filenam buildfileloc buildfileloc set messag output level valid valu ul li code org apach tool ant project err code li code org apach tool ant project warn code li code org apach tool ant project info code li code org apach tool ant project verbos code li code org apach tool ant project debug code ul param level messag output level public void set messag output level int level messag output level level setmessageoutputlevel messageoutputlevel set argument pass build do win32 dw win32 verbos param argument argument pass build public void set argument string argument argument arrai argument setargu getarrai privat string arrai string arg string buffer sb string buffer boolean wait quot fals arrai list result arrai list string token token string token arg true token token non nl 1 string token token token wait quot token equal non nl 1 result add sb string sb set length 0 wait quot fals sb append token token equal non nl 1 test dproperti result size 0 int index result size 1 string string result index char length 1 result remov index sb append wait quot true token equal token equal non nl 1 non nl 2 result add token return string result arrai string result size getarrai stringbuff stringbuff waitingforquot arraylist arraylist stringtoken stringtoken hasmoretoken nexttoken waitingforquot tostr setlength waitingforquot charat waitingforquot toarrai set argument pass build do win32 dw win32 verbos param argument argument pass build 2 1 public void set argument string argument argument argument setargu set target execut order param execut target target run order public void set execut target string execut target target execut target executiontarget setexecutiontarget executiontarget executiontarget add build listen paramet code class code class code org apach tool ant build listen code implement class instanti runtim listen call build event code org apach tool ant build event code param class build listen class public void add build listen string class class null return build listen null build listen arrai list 5 build listen add class classnam buildlisten buildev classnam addbuildlisten classnam classnam buildlisten buildlisten arraylist buildlisten classnam set build logger paramet code class code class code org apach tool ant build logger code implement class instanti runtim logger call build event code org apach tool ant build event code build logger permit build param class build logger class public void add build logger string class build logger class class classnam buildlogg buildev classnam addbuildlogg classnam buildloggerclassnam classnam add user defin properti kei valu string object param properti map user defin properti public void add user properti map properti user properti properti adduserproperti userproperti return buildfil target inform return arrai target inform target info 2 1 throw core except thrown problem encount determin target public synchron target info target throw core except class class intern ant runner null object runner null class loader origin class loader thread current thread context class loader try class intern ant runner intern ant runner runner class intern ant runner instanc basic configur class intern ant runner runner info target method target class intern ant runner method target null non nl 1 object result target invok runner null default target method default class intern ant runner method default target null non nl 1 string default string default invok runner null collect info target object list info list result project info project project info string info remov 0 string info remov 0 int 0 iter iter info iter target info target info target info info size list info iter info list iter target info target info project string info 0 string info 1 string info 2 info 0 equal default return target info catch class def found error problem load class reach line return target info 0 catch class found except problem load class reach line return target info 0 catch invoc target except handl invoc target except runner class intern ant runner reach line return target info 0 catch except string messag messag null intern core ant messag string ant runner build fail 3 messag non nl 1 throw core except statu statu error ant core plugin pi antcor ant core plugin error run build messag final thread current thread set context class loader origin class loader targetinfo coreexcept targetinfo getavailabletarget coreexcept classinternalantrunn classload originalclassload currentthread getcontextclassload classinternalantrunn getinternalantrunn classinternalantrunn newinst basicconfigur classinternalantrunn gettarget classinternalantrunn getmethod gettarget gettarget getdefault classinternalantrunn getmethod getdefaulttarget defaultnam getdefault projectinfo projectinfo targetinfo targetinfo targetinfo hasnext targetinfo targetinfo defaultnam targetinfo noclassdeffounderror problemloadingclass targetinfo classnotfoundexcept problemloadingclass targetinfo invocationtargetexcept handleinvocationtargetexcept classinternalantrunn targetinfo getmessag internalcoreantmessag getstr antrunn build_fail _3 getmessag coreexcept istatu antcoreplugin pi_antcor antcoreplugin error_run_build currentthread setcontextclassload originalclassload privat void basic configur class class intern ant runner object runner throw method except illeg access except invoc target except method set build file locat class intern ant runner method set build file locat class string class non nl 1 set build file locat invok runner object build file locat ant home null method set ant home class intern ant runner method set ant home class string class non nl 1 set ant home invok runner object ant home set properti runner class intern ant runner argument null argument length 0 method set argument class intern ant runner method set argument class string class non nl 1 set argument invok runner object argument basicconfigur classinternalantrunn nosuchmethodexcept illegalaccessexcept invocationtargetexcept setbuildfileloc classinternalantrunn getmethod setbuildfileloc setbuildfileloc buildfileloc anthom setanthom classinternalantrunn getmethod setanthom setanthom anthom setproperti classinternalantrunn setargu classinternalantrunn getmethod setargu setargu run build file progress monitor script execut refer ant project code org apach tool ant project refer code run task monitor execut check cancel kei retriev progress monitor instanc code ant core plugin eclips progress monitor code build occur set current thread context class loader ant class loader durat build param monitor progress monitor code null code progress report cancel desir throw core except thrown build occur except occur build public void run progress monitor monitor throw core except build run statu statu statu statu error ant core plugin pi antcor ant core plugin error run build messag format format intern core ant messag string ant runner progess string build file locat null non nl 1 throw core except statu build run true object runner null class class intern ant runner null class loader origin class loader thread current thread context class loader try class intern ant runner intern ant runner runner class intern ant runner instanc set build file method set build file locat class intern ant runner method set build file locat class string class non nl 1 set build file locat invok runner object build file locat set custom classpath custom classpath null method set custom classpath class intern ant runner method set custom classpath class url class non nl 1 set custom classpath invok runner object custom classpath add listen build listen null method add build listen class intern ant runner method add build listen class list class non nl 1 add build listen invok runner object build listen build logger class null default logger build logger class non nl 1 add build logger method add build logger class intern ant runner method add build logger class string class non nl 1 add build logger invok runner object build logger class input handler class null add input handler method set input handler class intern ant runner method set input handler class string class non nl 1 set input handler invok runner object input handler class basic configur class intern ant runner runner add progress monitor monitor null method set progress monitor class intern ant runner method set progress monitor class progress monitor class non nl 1 set progress monitor invok runner object monitor set messag output level messag output level 2 chang default project msg info method set messag output level class intern ant runner method set messag output level class int class non nl 1 set messag output level invok runner object integ messag output level set execut target target null method set execut target class intern ant runner method set execut target class string class non nl 1 set execut target invok runner object target run method run class intern ant runner method run null non nl 1 run invok runner null catch class def found error problem load class catch class found except problem load class catch invoc target except handl invoc target except runner class intern ant runner catch except string messag messag null intern core ant messag string ant runner build fail 3 messag non nl 1 statu statu statu statu error ant core plugin pi antcor ant core plugin error run build messag throw core except statu final build run fals thread current thread set context class loader origin class loader getrefer antcoreplugin eclips_progress_monitor antclassload coreexcept iprogressmonitor coreexcept buildrun istatu istatu antcoreplugin pi_antcor antcoreplugin error_run_build messageformat internalcoreantmessag getstr antrunn alreadi_in_progess buildfileloc coreexcept buildrun classinternalantrunn classload originalclassload currentthread getcontextclassload classinternalantrunn getinternalantrunn classinternalantrunn newinst setbuildfileloc classinternalantrunn getmethod setbuildfileloc setbuildfileloc buildfileloc customclasspath setcustomclasspath classinternalantrunn getmethod setcustomclasspath setcustomclasspath customclasspath buildlisten addbuildlisten classinternalantrunn getmethod addbuildlisten addbuildlisten buildlisten buildloggerclassnam buildloggerclassnam addbuildlogg classinternalantrunn getmethod addbuildlogg addbuildlogg buildloggerclassnam inputhandlerclassnam setinputhandl classinternalantrunn getmethod setinputhandl setinputhandl inputhandlerclassnam basicconfigur classinternalantrunn setprogressmonitor classinternalantrunn getmethod setprogressmonitor iprogressmonitor setprogressmonitor messageoutputlevel msg_info setmessageoutputlevel classinternalantrunn getmethod setmessageoutputlevel setmessageoutputlevel messageoutputlevel setexecutiontarget classinternalantrunn getmethod setexecutiontarget setexecutiontarget classinternalantrunn getmethod noclassdeffounderror problemloadingclass classnotfoundexcept problemloadingclass invocationtargetexcept handleinvocationtargetexcept classinternalantrunn getmessag internalcoreantmessag getstr antrunn build_fail _3 getmessag istatu istatu antcoreplugin pi_antcor antcoreplugin error_run_build coreexcept buildrun currentthread setcontextclassload originalclassload privat class intern ant runner throw class found except class loader loader class loader thread current thread set context class loader loader return loader load class org eclips ant intern core ant intern ant runner non nl 1 getinternalantrunn classnotfoundexcept classload getclassload currentthread setcontextclassload loadclass internalantrunn privat void set properti object runner class class intern ant runner throw method except illeg access except invoc target except add properti user properti null method add user properti class intern ant runner method add user properti class map class non nl 1 add user properti invok runner object user properti add properti file properti file null method add properti file class intern ant runner method add properti file class string class non nl 1 add properti file invok runner object properti file setproperti classinternalantrunn nosuchmethodexcept illegalaccessexcept invocationtargetexcept userproperti adduserproperti classinternalantrunn getmethod adduserproperti adduserproperti userproperti propertyfil addpropertyfil classinternalantrunn getmethod addpropertyfil addpropertyfil propertyfil protect void handl invoc target except object runner class class intern ant runner invoc target except throw core except throwabl real except target except real except instanceof oper cancel except return string messag null runner null try method build error messag class intern ant runner method build except error messag class throwabl class non nl 1 messag string build error messag invok runner object real except catch except error j9 throw class def found error nest invoc target except messag null real except instanceof class def found error real except instanceof class found except problem load class real except return boolean intern error fals messag null error result build except intern error true messag real except messag null intern core ant messag string ant runner build fail 3 real except messag non nl 1 statu statu statu statu error ant core plugin pi antcor ant core plugin error run build messag real except intern error ant core plugin plugin log log statu throw core except statu handleinvocationtargetexcept classinternalantrunn invocationtargetexcept coreexcept realexcept gettargetexcept realexcept operationcanceledexcept getbuilderrormessag classinternalantrunn getmethod getbuildexceptionerrormessag getbuilderrormessag realexcept noclassdeffounderror invocationtargetexcept realexcept noclassdeffounderror realexcept classnotfoundexcept problemloadingclass realexcept internalerror buildexcept internalerror realexcept getmessag internalcoreantmessag getstr antrunn build_fail _3 realexcept getmessag istatu istatu antcoreplugin pi_antcor antcoreplugin error_run_build realexcept internalerror antcoreplugin getplugin getlog coreexcept protect void problem load class throwabl throw core except string miss class messag string messag miss class null miss class miss class replac messag intern core ant messag string ant runner find class check ant classpath 2 non nl 1 messag messag format format messag string miss class messag intern core ant messag string ant runner find class check ant classpath 1 non nl 1 statu statu statu statu error ant core plugin pi antcor ant core plugin error run build messag ant core plugin plugin log log statu throw core except statu problemloadingclass coreexcept missingclassnam getmessag missingclassnam missingclassnam missingclassnam internalcoreantmessag getstr antrunn could_not_find_on_or_more_class _pleas_check_the_ant_classpath _2 messageformat missingclassnam internalcoreantmessag getstr antrunn could_not_find_on_or_more_class _pleas_check_the_ant_classpath _1 istatu istatu antcoreplugin pi_antcor antcoreplugin error_run_build antcoreplugin getplugin getlog coreexcept run build file throw core except thrown build occur except occur build public void run throw core except run progress monitor null coreexcept coreexcept iprogressmonitor invok build project object execut build target default target method call run eclips headless code org eclips ant core ant runner code applic set current thread context class loader ant class loader durat build param arg arrai command line argument except except problem occur buildfil execut return exit object code exit ok code indic normal termin except occur org eclips core boot platform runnabl run java lang object public object run object arg arrai throw except class loader origin class loader thread current thread context class loader try set prefer headless mode ant core plugin plugin set run headless true add debug inform fix bug 5672 platform pars debug command line arg remov arg pass applic check eclips debug mode order forward debug argument ant boot loader debug mode string arg string arg arrai string arg string arg length 1 int 0 arg length arg arg arg arg length debug non nl 1 arg arrai arg class loader loader class loader thread current thread set context class loader loader class class intern ant runner loader load class org eclips ant intern core ant intern ant runner non nl 1 object runner class intern ant runner instanc method run class intern ant runner method run class object class non nl 1 run invok runner object arg arrai final thread current thread set context class loader origin class loader return exit ok antrunn antclassload argarrai exit_ok iplatformrunn argarrai classload originalclassload currentthread getcontextclassload antcoreplugin getplugin setrunningheadless bootload indebugmod argarrai newarg newarg newarg argarrai newarg classload getclassload currentthread setcontextclassload classinternalantrunn loadclass internalantrunn classinternalantrunn newinst classinternalantrunn getmethod argarrai currentthread setcontextclassload originalclassload exit_ok privat class loader class loader custom classpath null return ant core plugin plugin class loader ant core prefer prefer ant core plugin plugin prefer list full classpath arrai list full classpath add arrai list custom classpath full classpath add arrai list prefer extra classpathur ls return ant class loader url full classpath arrai url full classpath size prefer plugin class loader classload getclassload customclasspath antcoreplugin getplugin getnewclassload antcoreprefer antcoreplugin getplugin getprefer fullclasspath arraylist fullclasspath addal aslist customclasspath fullclasspath addal aslist getextraclasspathurl antclassload fullclasspath toarrai fullclasspath getpluginclassload set input handler paramet code class code class code org apach tool ant input input handler code implement class instanti runtim input handler respond lt input gt request input handler permit build param class input handler class 2 1 public void set input handler string class input handler class class classnam inputhandl classnam setinputhandl classnam inputhandlerclassnam classnam set user properti file param properti file arrai properti file path 2 1 public void set properti file string properti file properti file properti file propertyfil setpropertyfil propertyfil propertyfil propertyfil set custom classpath build param custom classpath arrai ur ls defin custom classpath public void set custom classpath url custom classpath custom classpath custom classpath customclasspath url setcustomclasspath customclasspath customclasspath customclasspath set ant home build param ant home string ant home 2 1 public void set ant home string ant home ant home ant home anthom setanthom anthom anthom anthom return ant build progress ant build occur 2 1 return boolean public static boolean build run return build run isbuildrun buildrun return label classpath entri return label entri return url classpath entri code null code resolv return url classpath entri return classpath entri requir eclips runtim relev default code true code return classpath entri requir eclips runtim return ant entri point set ant properti param ant properti ant properti set return properti code null code properti set antpropertynam creat project inform param project param descript explan project purpos code null code packag project info string string descript name null non nl 1 descript descript projectinfo return project return project public string return getnam return project descript code null code descript provid return project descript code null code public string descript return descript getdescript privat boolean eclips runtim true public properti string string name valu eclipseruntim public properti return return string public string return getnam set param set public void set string name setnam public boolean equal object other class equal class properti elem properti return equal elem return fals getclass getclass getnam object hash code public int hash code return hash code hashcod hashcod hashcod return equival call true return string public string return true getvalu getvalu getvalu return param substitut variabl variabl resolv return string 3 0 public string boolean substitut variabl class null class cl null try cl loader load class class catch class found except ant core plugin log return null try provid ant properti provid cl instanc catch instanti except ant core plugin log return null catch illeg access except ant core plugin log return null loader null class null provid null return provid ant properti substitut variabl try string expand variabl plugin default string variabl manag perform string substitut return expand catch core except ant core plugin log return return null substitutevari getvalu substitutevari classnam loadclass classnam classnotfoundexcept antcoreplugin valueprovid iantpropertyvalueprovid newinst instantiationexcept antcoreplugin illegalaccessexcept antcoreplugin classnam valueprovid valueprovid getantpropertyvalu substitutevari variablesplugin getdefault getstringvariablemanag performstringsubstitut coreexcept antcoreplugin set param valu set public void set string valu setvalu return ant properti creat extens point definit return boolean 3 0 public boolean default return plugin label null isdefault pluginlabel set label plugin contribut ant properti extens point param plugin label label plugin 3 0 public void set plugin label string plugin label plugin label plugin label pluginlabel setpluginlabel pluginlabel pluginlabel pluginlabel return label plugin contribut ant properti extens point return plugin label label plugin 3 0 public string plugin label return plugin label pluginlabel getpluginlabel pluginlabel set the class code ant properti provid code dynam provid properti set class loader load code ant properti provid code dynam provid properti param class the provid class resolv properti param loader class loader load provid class resolv properti 3 0 public void set provid string class class loader loader class class loader loader iantpropertyvalueprovid iantpropertyvalueprovid classnam setvalueprovid classnam classload classnam classnam public string string string buffer buff string buffer non nl 1 buff append buff append non nl 1 buff append fals buff append non nl 1 return buff string tostr stringbuff stringbuff getnam getvalu tostr return properti requir eclips runtim relev default code true code return properti requir eclips runtim 3 0 public boolean eclips runtim requir return eclips runtim iseclipseruntimerequir eclipseruntim public void set eclips runtim requir boolean eclips runtim eclips runtim eclips runtim seteclipseruntimerequir eclipseruntim eclipseruntim eclipseruntim creat target inform param target param descript explan target purpos code null code param project enclos project param depend name prerequisit project param default build file default target packag target info project info project string string descript string depend boolean default name null non nl 1 descript descript project project depend depend default default isdefault targetinfo projectinfo isdefault isdefault isdefault return target return target public string return getnam return target descript code null code descript provid return target descript code null code public string descript return descript getdescript return project info enclos project return project info enclos project public project info project return project projectinfo projectinfo getproject return name target target depend return depend name public string depend return depend getdepend return build file default target return build file default target public boolean default return default isdefault isdefault public boolean equal object obj obj instanceof target info return fals target info target info obj return equal targetinfo targetinfo targetinfo getnam getnam java lang object hash code public int hash code return hash code hashcod hashcod getnam hashcod java lang object string public string string return tostr tostr getnam return the task return the task public string task return gettasknam fname set the task param task task set public void set task string task name task tasknam tasknam settasknam tasknam fname tasknam return type return return string public string type return gettypenam fname set task param task task set public void set type string task name task tasknam tasknam tasknam settypenam tasknam fname tasknam protect secur manag secur manag null protect ant secur manag secur manag secur manag secur manag secur manag securitymanag securitymanag antsecuritymanag securitymanag securitymanag securitymanag securitymanag public void check exit int statu exit allow system exit call ant task want eclips exit vm messag logger determin except case throw ant secur except checkexit antsecurityexcept public void check accept string host int port secur manag null secur manag check accept host port checkaccept securitymanag securitymanag checkaccept public void check access thread secur manag null secur manag check access checkaccess securitymanag securitymanag checkaccess public void check access thread group secur manag null secur manag check access checkaccess threadgroup securitymanag securitymanag checkaccess public void check awt event queue access secur manag null secur manag check awt event queue access checkawteventqueueaccess securitymanag securitymanag checkawteventqueueaccess public void check connect string host int port object context secur manag null secur manag check connect host port context checkconnect securitymanag securitymanag checkconnect public void check connect string host int port secur manag null secur manag check connect host port checkconnect securitymanag securitymanag checkconnect public void check creat class loader secur manag null secur manag check creat class loader checkcreateclassload securitymanag securitymanag checkcreateclassload public void check delet string file secur manag null secur manag check delet file checkdelet securitymanag securitymanag checkdelet public void check exec string cmd secur manag null secur manag check exec cmd checkexec securitymanag securitymanag checkexec public void check link string lib secur manag null secur manag check link lib checklink securitymanag securitymanag checklink public void check listen int port secur manag null secur manag check listen port checklisten securitymanag securitymanag checklisten public void check member access class clazz int secur manag null secur manag check member access clazz checkmemberaccess securitymanag securitymanag checkmemberaccess java lang secur manag check multicast java net inet address byte deprec public void check multicast inet address maddr byte ttl secur manag null string host maddr host address host start host index 1 non nl 1 host host non nl 1 non nl 2 check permiss socket permiss host accept connect non nl 1 securitymanag checkmulticast inetaddress checkmulticast inetaddress securitymanag gethostaddress startswith indexof checkpermiss socketpermiss public void check multicast inet address maddr secur manag null secur manag check multicast maddr checkmulticast inetaddress securitymanag securitymanag checkmulticast public void check packag access string pkg secur manag null secur manag check packag access pkg checkpackageaccess securitymanag securitymanag checkpackageaccess public void check packag definit string pkg secur manag null secur manag check packag definit pkg checkpackagedefinit securitymanag securitymanag checkpackagedefinit public void check permiss permiss perm object context secur manag null secur manag check permiss perm context checkpermiss securitymanag securitymanag checkpermiss public void check permiss permiss perm secur manag null secur manag check permiss perm checkpermiss securitymanag securitymanag checkpermiss public void check print job access secur manag null secur manag check print job access checkprintjobaccess securitymanag securitymanag checkprintjobaccess public void check properti access secur manag null secur manag check properti access checkpropertiesaccess securitymanag securitymanag checkpropertiesaccess public void check properti access string kei secur manag null secur manag check properti access kei checkpropertyaccess securitymanag securitymanag checkpropertyaccess public void check read file descriptor fd secur manag null secur manag check read fd checkread filedescriptor securitymanag securitymanag checkread public void check read string file object context secur manag null secur manag check read file context checkread securitymanag securitymanag checkread public void check read string file secur manag null secur manag check read file checkread securitymanag securitymanag checkread public void check secur access string target secur manag null secur manag check secur access target checksecurityaccess securitymanag securitymanag checksecurityaccess public void check set factori secur manag null secur manag check set factori checksetfactori securitymanag securitymanag checksetfactori public void check system clipboard access secur manag null secur manag check system clipboard access checksystemclipboardaccess securitymanag securitymanag checksystemclipboardaccess public boolean check top level window object window secur manag null return secur manag check top level window window return super check top level window window checktoplevelwindow securitymanag securitymanag checktoplevelwindow checktoplevelwindow public void check write file descriptor fd secur manag null secur manag check write fd checkwrit filedescriptor securitymanag securitymanag checkwrit public void check write string file secur manag null secur manag check write file checkwrit securitymanag securitymanag checkwrit java lang secur manag check deprec public boolean check secur manag null return secur manag check return super check securitymanag getincheck getincheck securitymanag securitymanag getincheck getincheck public object secur context secur manag null return secur manag secur context return super secur context getsecuritycontext securitymanag securitymanag getsecuritycontext getsecuritycontext public thread group thread group secur manag null secur manag thread group return super thread group threadgroup getthreadgroup securitymanag securitymanag getthreadgroup getthreadgroup privat static final string ant packag prefix org apach tool non nl 1 public ant class loader url url class loader plugin loader super url class loader system class loader plugin loader plugin loader ant_packag_prefix antclassload classload pluginload classload getsystemclassload pluginload pluginload protect class find class string throw class found except class result null check load apach ant class plugin class loader load ur ls ant runtim classpath prefer set allow plugin load start ant packag prefix result load class plugin result null result load classur ls result null throw class found except return result findclass classnotfoundexcept url allowpluginload startswith ant_packag_prefix loadclassplugin loadclassurl classnotfoundexcept protect class load classur ls string try return super find class catch class found except ignor except ll throw class found except find class string return null loadclassurl findclass classnotfoundexcept classnotfoundexcept findclass protect class load class plugin string class result null plugin loader null int 0 plugin loader length result null try result plugin loader load class catch class found except ignor except ll throw class found except load class string return result loadclassplugin pluginload pluginload pluginload loadclass classnotfoundexcept classnotfoundexcept loadclass set classload allow apach ant class found load set plugin classload param allow load allow plugin classload load apach ant class public void allow plugin class loader load ant class boolean allow load allow plugin load allow load allowload allowpluginclassloaderstoloadantclass allowload allowpluginload allowload org eclips ant core ant classpath entri label public string label return entri string iantclasspathentri getlabel getlabel entrystr public url entryurl url null return url try string expand variabl plugin default string variabl manag perform string substitut entri string return url file expand non nl 1 catch core except try return url file entri string non nl 1 catch malformedurl except e1 return null catch malformedurl except ant core plugin log return null getentryurl variablesplugin getdefault getstringvariablemanag performstringsubstitut entrystr coreexcept entrystr malformedurlexcept malformedurlexcept antcoreplugin public ant classpath entri string entri string entri string entri string antclasspathentri entrystr entrystr entrystr public ant classpath entri url url url url entri string file url path absolut path antclasspathentri entrystr getpath getabsolutepath public boolean equal object obj obj instanceof ant classpath entri ant classpath entri ant classpath entri obj return entri string equal label return fals iantclasspathentri iantclasspathentri iantclasspathentri entrystr getlabel java lang object hash code public int hash code return entri string hash code hashcod hashcod entrystr hashcod java lang object string public string string return label tostr tostr getlabel org eclips ant core ant classpath entri eclips runtim requir public boolean eclips runtim requir return eclips requir iantclasspathentri iseclipseruntimerequir iseclipseruntimerequir eclipserequir public void set eclips runtim requir boolean eclips requir eclips requir eclips requir seteclipseruntimerequir eclipserequir eclipserequir eclipserequir class demux input stream setter protect void remap system project project system set demux input stream project demuxinputstreamsett remapsystemin setin demuxinputstream protect void set input handler project project string input handler classnam input handler handler null input handler classnam null handler default input handler try handler input handler class input handler classnam instanc catch class cast except string msg messag format format intern ant messag string intern ant runner input handler class 0 implement org apach tool ant input inputhandl interfac 5 string input handler classnam non nl 1 throw build except msg catch except string msg messag format format intern ant messag string intern ant runner unabl instanti input handler class 0 1 6 string input handler classnam class non nl 1 throw build except msg project set input handler handler setinputhandl inputhandlerclassnam inputhandl inputhandlerclassnam defaultinputhandl inputhandl fornam inputhandlerclassnam newinst classcastexcept messageformat internalantmessag getstr internalantrunn the_specifi_input_handler_class_ _doe_not_implement_the_org inputhandl_interfac_5 inputhandlerclassnam buildexcept messageformat internalantmessag getstr internalantrunn unabl_to_instanti_specifi_input_handler_class_ ___ _6 inputhandlerclassnam getclass getnam buildexcept setinputhandl privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat intern ant messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name internalantmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept add build listen param class name fulli qualifi name build listen ad public void add build listen list class name build listen null build listen arrai list class name size build listen add class name classnam addbuildlisten classnam buildlisten buildlisten arraylist classnam buildlisten addal classnam add build logger param class fulli qualifi build logger add public void add build logger string class logger classnam class classnam addbuildlogg classnam loggerclassnam classnam add user properti current collect user properti param properti user properti ad public void add user properti map properti user properti null user properti hash map properti size user properti put properti explicit user properti fals adduserproperti userproperti userproperti hashmap userproperti putal noexplicituserproperti add user properti file param addit properti file properti file add 2 1 public void add properti file string addit properti file properti file add arrai list addit properti file additionalpropertyfil addpropertyfil additionalpropertyfil propertyfil addal aslist additionalpropertyfil privat void add build listen project project string class null try build logger logger creat logger logger null project add build listen logger build listen null iter iter build listen iter iter class string iter class listen class class project add build listen build listen listen instanc catch class cast except string messag messag format format intern ant messag string intern ant runner 0 build listen instanc org apach tool ant build listen 1 string class non nl 1 log messag null messag project msg err throw build except messag catch build except throw catch except throw build except addbuildlisten classnam buildlogg createlogg addbuildlisten buildlisten buildlisten hasnext classnam fornam classnam addbuildlisten buildlisten newinst classcastexcept messageformat internalantmessag getstr internalantrunn _which_wa_specifi_to_be_a_build_listen_is_not_an_instanc_of_org buildlisten _1 classnam logmessag msg_err buildexcept buildexcept buildexcept privat void set properti project project set built properti project user properti null iter iter user properti entri set iter iter map entri entri map entri iter project set user properti string entri kei string entri properti set ant process id argument properti page set argument includ global properti explicit user properti set global properti project set global properti project setproperti setbuiltinproperti userproperti userproperti entryset hasnext setuserproperti getkei getvalu noexplicituserproperti setglobalproperti setglobalproperti privat void set built properti project project note process ant home system properti set project set user properti ant file build file locat non nl 1 project set user properti ant version main ant version non nl 1 setbuiltinproperti processanthom setuserproperti getbuildfileloc setuserproperti getantvers privat void set global properti project project ant core prefer pref ant core plugin plugin prefer list properti pref properti properti null iter iter properti iter iter properti properti properti iter string properti valu null project set user properti properti setglobalproperti antcoreprefer antcoreplugin getplugin getprefer getproperti hasnext getvalu setuserproperti getnam privat void set task project project list task ant core plugin plugin prefer task iter iter task iter iter org eclips ant core task task org eclips ant core task iter version compat 1 6 non nl 1 ant type definit def ant type definit def set task task def set class task class def set class loader class class loader def set adapt class task class def set adapt class task adapt class compon helper compon helper project add data type definit def try class task class class task class version compat 1 5 non nl 1 try project check task class task class catch build except statu statu statu statu error ant core plugin pi antcor ant core plugin error run build messag format format intern ant messag string intern ant runner error set ant task string task task non nl 1 ant core plugin plugin log log statu continu project add task definit task task task class catch class found except statu statu statu statu error ant core plugin pi antcor ant core plugin error run build messag format format intern ant messag string intern ant runner class 0 found task 1 1 string task class task task non nl 1 ant core plugin plugin log log statu settask antcoreplugin getplugin getprefer gettask hasnext isversioncompat anttypedefinit anttypedefinit setnam gettasknam setclassnam getclassnam setclassload getclass getclassload setadapttoclass setadapterclass taskadapt componenthelp getcomponenthelp adddatatypedefinit taskclass fornam getclassnam isversioncompat checktaskclass taskclass buildexcept istatu istatu antcoreplugin pi_antcor antcoreplugin error_run_build messageformat internalantmessag getstr internalantrunn error_set_ant_task gettasknam antcoreplugin getplugin getlog addtaskdefinit gettasknam taskclass classnotfoundexcept istatu istatu antcoreplugin pi_antcor antcoreplugin error_run_build messageformat internalantmessag getstr internalantrunn class_ _not_found_for_task_ _1 getclassnam gettasknam antcoreplugin getplugin getlog privat void set type project project list type ant core plugin plugin prefer type iter iter type iter iter type type type iter version compat 1 6 non nl 1 ant type definit def ant type definit def set type type def set class type class def set class loader class class loader compon helper compon helper project add data type definit def try class type class class type class project add data type definit type type type class catch class found except statu statu statu statu error ant core plugin pi antcor ant core plugin error run build messag format format intern ant messag string intern ant runner class 0 found type 1 2 string type class type type non nl 1 ant core plugin plugin log log statu settyp antcoreplugin getplugin getprefer gettyp hasnext isversioncompat anttypedefinit anttypedefinit setnam gettypenam setclassnam getclassnam setclassload getclass getclassload componenthelp getcomponenthelp adddatatypedefinit typeclass fornam getclassnam adddatatypedefinit gettypenam typeclass classnotfoundexcept istatu istatu antcoreplugin pi_antcor antcoreplugin error_run_build messageformat internalantmessag getstr internalantrunn class_ _not_found_for_type_ _2 getclassnam gettypenam antcoreplugin getplugin getlog pars build file add inform project param project project configur privat void pars build file project project file build file file build file locat build file exist throw build except messag format format intern ant messag string intern ant runner buildfil 0 exist 1 non nl 1 string build file absolut path build file file throw build except messag format format intern ant messag string intern ant runner buildfil 0 file 1 non nl 1 string build file absolut path project helper helper project helper project helper project add refer ant project helper helper non nl 1 helper pars project build file parsebuildfil buildfil getbuildfileloc buildfil buildexcept messageformat internalantmessag getstr internalantrunn buildfil__ _doe_not_exist_ _1 buildfil getabsolutepath buildfil isfil buildexcept messageformat internalantmessag getstr internalantrunn buildfil__ _is_not_a_file_1 buildfil getabsolutepath projecthelp projecthelp getprojecthelp addrefer projecthelp buildfil target inform build script return list list item enclos list repres target element the element descript element project element arrai depend return list list repres target public list target try project ant project version compat 1 6 non nl 1 ant version 1 6 greater task exist scope target ant project project ant project intern project process ant home fals ant project init set type ant project process properti arrai list extra argument set properti ant project version compat 1 6 non nl 1 input handler setter set input handler ant project org eclips ant intern core ant null input handler non nl 1 pars build file ant project default target ant project default target enumer project target ant project target element list info arrai list info add ant project info add ant project descript list info target target boolean default found fals project target element target target project target element string target name length 0 implicit target ant 1 6 continu info arrai list 4 info add target equal default target default found true info add target descript list depend arrai list enumer enumer target depend enumer element depend add enumer element string depend arrai string depend size depend arrai depend arrai info add depend arrai info add info default found default target exist throw build except messag format format intern ant messag string intern ant runner default target 0 1 2 exist project 1 string default target non nl 1 non nl 2 non nl 3 return info final process ant home true gettarget antproject isversioncompat antproject antproject internalproject processanthom antproject settyp antproject processproperti getarraylist extraargu setproperti antproject isversioncompat inputhandlersett setinputhandl antproject nullinputhandl parsebuildfil antproject defaulttarget antproject getdefaulttarget projecttarget antproject gettarget arraylist antproject getnam antproject getdescript defaultfound projecttarget hasmoreel projecttarget nextel getnam arraylist getnam defaulttarget defaultfound getdescript arraylist getdepend hasmoreel nextel dependencyarrai toarrai dependencyarrai dependencyarrai defaultfound buildexcept messageformat internalantmessag getstr internalantrunn default_target_ _doe_not_exist_in_thi_project_1 defaulttarget processanthom return default target comput code null code default target comput return default target public string default target return default target getdefaulttarget defaulttarget run build script public void run run arrai list extra argument getarraylist extraargu privat void print argument project project messag output level project msg debug messag output level project msg verbos return string buffer sb string buffer int 0 extra argument length sb append extra argument sb append project log messag format format intern ant messag string intern ant runner argument 0 2 string sb string trim non nl 1 printargu messageoutputlevel msg_debug messageoutputlevel msg_verbos stringbuff stringbuff extraargu extraargu messageformat internalantmessag getstr internalantrunn argument__ _2 tostr privat void creat monitor build listen project project monitor null return list chosen target target chosen target null chosen target empti chosen target arrai list 1 string deflt target project default target deflt target null chosen target add deflt target project add build listen progress build listen project chosen target monitor createmonitorbuildlisten chosentarget chosentarget chosentarget isempti chosentarget arraylist deflttarget getdefaulttarget deflttarget chosentarget deflttarget addbuildlisten progressbuildlisten chosentarget log messag client list target project param project project list target privat void print target project project find target longest int max length 0 enumer ptarget project target element string target string target descript target current target split target top level target depend presenc descript list top name arrai list list top descript arrai list list name arrai list ptarget element current target target ptarget element target current target target descript current target descript target descript null name add target top name add target top descript add target descript target length max length max length target length collect sort name collect sort top name collect sort top descript string default target project default target default target null equal default target shouldn need check non nl 1 list default arrai list 1 list default desc null default add default target int index def desc top name index default target index def desc 0 default desc arrai list 1 default desc add top descript index def desc print target project default default desc intern ant messag string intern ant runner default target 3 max length non nl 1 print target project top name top descript intern ant messag string intern ant runner main target 4 max length non nl 1 print target project name null intern ant messag string intern ant runner subtarget 5 0 non nl 1 printtarget maxlength gettarget targetnam targetdescript currenttarget topnam arraylist topdescript arraylist subnam arraylist hasmoreel currenttarget nextel targetnam currenttarget getnam targetdescript currenttarget getdescript targetdescript subnam targetnam topnam targetnam topdescript targetdescript targetnam maxlength maxlength targetnam subnam topnam topdescript defaulttargetnam getdefaulttarget defaulttargetnam defaulttargetnam defaultnam arraylist defaultdesc defaultnam defaulttargetnam indexofdefdesc topnam indexof defaulttargetnam indexofdefdesc defaultdesc arraylist defaultdesc topdescript indexofdefdesc printtarget defaultnam defaultdesc internalantmessag getstr internalantrunn default_target__3 maxlength printtarget topnam topdescript internalantmessag getstr internalantrunn main_target__4 maxlength printtarget subnam internalantmessag getstr internalantrunn subtarget__5 log messag client list target name option descript param project enclos target param name target name param descript descript param head messag head param maxlen maximum length alloc privat void print target project project list name list descript string head int maxlen start print target descript string sep system properti line separ non nl 1 string space non nl 1 space length maxlen space space string buffer msg string buffer msg append head sep sep int 0 name size msg append msg append name descript null msg append space substr 0 maxlen string name length 2 msg append descript msg append sep log messag project msg string project msg info printtarget lsep getproperti stringbuff stringbuff lsep lsep lsep logmessag tostr msg_info invok build project object execut build target default target method call run headless mode org eclips ant core ant runner run object param arg arrai command line argument except except execut except public void run object arg arrai throw except run arrai list string arg arrai antrunn argarrai argarrai getarraylist argarrai privat void run list arg list set current project project throwabl error null print stream origin err system err print stream origin system input stream origin system secur manag originalsm system secur manag set java class path script execut true process ant home fals try arg list null arg list remov projecthelp arg list remov non nl 1 non nl 2 project help true current project init arg list null script execut preprocess command line arg list script execut return add build listen current project process properti arg list set properti current project add input handler current project remap system system set print stream demux output stream current project fals system set err print stream demux output stream current project true project help fire build start current project arg list null arg list empti try script execut process command line arg list catch build except script execut fals throw script execut return allow input set system properti input handler check handl input allow system set properti eclips ant input true non nl 1 non nl 2 version compat 1 6 non nl 1 current project set default input stream origin current project log messag format format intern ant messag string intern ant runner build file 0 1 string build file locat non nl 1 set task current project set type current project version compat 1 6 non nl 1 current project set go mode go pars build file current project valid default target creat monitor build listen current project project help print help current project script execut fals return extra argument null print argument current project system set secur manag ant secur manag originalsm target null target empti current project execut target target current project execut target current project default target catch oper cancel except script execut fals log messag current project messag project msg info throw catch ant secur except expect catch runtim except error throw catch error error throw final system set err origin err system set origin system set origin system secur manag instanceof ant secur manag system set secur manag originalsm project help fire build finish current project error close user build log err origin err err close origin out close process ant home true allow input system properti remov eclips ant input non nl 1 arglist setcurrentproject printstream originalerr printstream originalout inputstream originalin securitymanag getsecuritymanag setjavaclasspath scriptexecut processanthom arglist arglist arglist projecthelp getcurrentproject arglist scriptexecut preprocesscommandlin arglist scriptexecut addbuildlisten getcurrentproject processproperti arglist setproperti getcurrentproject addinputhandl getcurrentproject remapsystemin setout printstream demuxoutputstream getcurrentproject seterr printstream demuxoutputstream getcurrentproject projecthelp firebuildstart getcurrentproject arglist arglist isempti scriptexecut processcommandlin arglist buildexcept scriptexecut scriptexecut allowinput setproperti noinput isversioncompat getcurrentproject setdefaultinputstream originalin getcurrentproject messageformat internalantmessag getstr internalantrunn build_file__ _1 getbuildfileloc settask getcurrentproject settyp getcurrentproject isversioncompat getcurrentproject setkeepgoingmod keepgo parsebuildfil getcurrentproject validatedefaulttarget createmonitorbuildlisten getcurrentproject projecthelp printhelp getcurrentproject scriptexecut extraargu printargu getcurrentproject setsecuritymanag antsecuritymanag isempti getcurrentproject executetarget getcurrentproject executetarget getcurrentproject getdefaulttarget operationcanceledexcept scriptexecut logmessag getcurrentproject getmessag msg_info antsecurityexcept runtimeexcept seterr originalerr setout originalout setin originalin getsecuritymanag antsecuritymanag setsecuritymanag projecthelp firebuildfinish getcurrentproject originalerr originalout processanthom allowinput getproperti noinput privat void remap system version compat 1 6 non nl 1 return demux input stream setter setter demux input stream setter setter remap system current project remapsystemin isversioncompat demuxinputstreamsett demuxinputstreamsett remapsystemin getcurrentproject privat void process ant home boolean finish ant core prefer pref ant core plugin plugin prefer string ant home pref ant home build ant home null finish ant home build ant home ant home null ant home length 0 system properti remov ant home non nl 1 system properti remov ant librari dir non nl 1 system set properti ant home ant home non nl 1 file ant lib dir file ant home lib non nl 1 system set properti ant librari dir ant lib dir absolut path non nl 1 processanthom antcoreprefer antcoreplugin getplugin getprefer anthom getanthom buildanthom anthom buildanthom anthom anthom getproperti getproperti setproperti anthom antlibdir anthom setproperti antlibdir getabsolutepath public void set ant home string ant home build ant home ant home setanthom anthom buildanthom anthom privat void valid default target default target current project default target enumer current target current project target element boolean default found fals current target element target target target current target element target equal default target default found true break default found default target exist throw build except messag format format intern ant messag string intern ant runner default target 0 1 2 exist project 1 string default target non nl 1 non nl 2 non nl 3 validatedefaulttarget defaulttarget getcurrentproject getdefaulttarget currenttarget getcurrentproject gettarget defaultfound currenttarget hasmoreel currenttarget nextel getnam defaulttarget defaultfound defaultfound buildexcept messageformat internalantmessag getstr internalantrunn default_target_ _doe_not_exist_in_thi_project_1 defaulttarget creat return default build logger log build event ant log return default build logger log build event ant log return code null code log occur privat build logger creat logger logger classnam null build logger default logger equal logger classnam non nl 1 try build logger build logger class logger classnam instanc catch class cast except string messag messag format format intern ant messag string intern ant runner 0 perform log instanc org apach tool ant build logger 2 string logger classnam non nl 1 log messag null messag project msg err throw build except messag catch except string messag messag format format intern ant messag string intern ant runner unabl instanti logger 0 6 string logger classnam non nl 1 log messag null messag project msg err throw build except messag build logger null build logger set messag output level messag output level build logger set output print stream build logger set error print stream err build logger set emac mode emac mode return build logger buildlogg createlogg loggerclassnam buildlogg defaultlogg loggerclassnam buildlogg buildlogg fornam loggerclassnam newinst classcastexcept messageformat internalantmessag getstr internalantrunn _which_wa_specifi_to_perform_log_is_not_an_instanc_of_org buildlogg _2 loggerclassnam logmessag msg_err buildexcept messageformat internalantmessag getstr internalantrunn unabl_to_instanti_logger__ _6 loggerclassnam logmessag msg_err buildexcept buildlogg buildlogg setmessageoutputlevel messageoutputlevel buildlogg setoutputprintstream buildlogg seterrorprintstream buildlogg setemacsmod emacsmod buildlogg privat void fire build start project project build event event build event project iter iter project build listen iter iter build listen listen build listen iter listen build start event firebuildstart buildev buildev getbuildlisten hasnext buildlisten buildlisten buildstart privat void fire build finish project project throwabl error xml logger gener log file correct locat string file project properti xml logger file non nl 1 file null file log xml non nl 1 string real path path build file locat file absolut path path path path real path path path remov segment 1 path path add trail separ path path append file project set properti xml logger file path too string non nl 1 error null script execut log messag project intern ant messag string intern ant runner build success 1 messag output level non nl 1 project fire build finish error firebuildfinish usingxmllogg filenam getproperti xmllogger filenam filenam realpath getbuildfileloc tofil getabsolutepath ipath realpath removelastseg addtrailingsepar filenam setproperti xmllogger toosstr scriptexecut logmessag internalantmessag getstr internalantrunn build_success_1 messageoutputlevel firebuildfinish privat boolean xml logger build logger instanceof xml logger return true build listen null enumer current project build listen element element build listen element build listen element element instanceof xml logger return true return fals usingxmllogg buildlogg xmllogger buildlisten getcurrentproject getbuildlisten hasmoreel buildlisten buildlisten nextel xmllogger privat void log messag project project string messag int prioriti project null project log messag prioriti build listen null project project build event event build event project event set messag messag prioriti notifi build listen regist project exist iter iter build listen iter iter try build listen listen build listen iter listen messag log event catch class cast except ignor try log build listen wrong type class statu statu statu error ant core plugin pi antcor ant core plugin intern error messag null ant core plugin plugin log log logmessag buildlisten buildev buildev setmessag buildlisten hasnext buildlisten buildlisten messagelog classcastexcept istatu istatu antcoreplugin pi_antcor antcoreplugin intern_error antcoreplugin getplugin getlog set build file locat param build file locat file system locat build file public void set build file locat string build file locat build file locat build file locat current project null current project set user properti ant file build file locat non nl 1 buildfileloc buildfileloc setbuildfileloc buildfileloc buildfileloc buildfileloc getcurrentproject getcurrentproject setuserproperti buildfileloc set input handler class param input handler classnam the class input handler public void set input handler string input handler classnam input handler classnam input handler classnam inputhandlerclassnam setinputhandl inputhandlerclassnam inputhandlerclassnam inputhandlerclassnam privat string build file locat build file locat null build file locat file build xml absolut path non nl 1 return build file locat getbuildfileloc buildfileloc buildfileloc getabsolutepath buildfileloc set messag output level 1 param level messag output level public void set messag output level int level messag output level level build logger null build logger set messag output level level setmessageoutputlevel messageoutputlevel buildlogg buildlogg setmessageoutputlevel set extra user argument param arg extra user argument public void set argument string arg extra argument arg setargu extraargu set execut target param execut target target execut build public void set execut target string execut target target vector execut target length int 0 execut target length target add execut target executiontarget setexecutiontarget executiontarget executiontarget executiontarget executiontarget privat string ant version number throw build except ant version number null try properti prop properti input stream main class resourc stream org apach tool ant version txt non nl 1 prop load in close string version number prop properti version non nl 1 ant version number version number catch io except ioe throw build except messag format format intern ant messag string intern ant runner load version inform 0 9 string ioe messag non nl 1 catch null pointer except npe throw build except intern ant messag string intern ant runner load version inform 10 non nl 1 return ant version number getantversionnumb buildexcept antversionnumb inputstream getresourceasstream versionnumb getproperti antversionnumb versionnumb ioexcept buildexcept messageformat internalantmessag getstr internalantrunn could_not_load_the_version_inform _ _9 getmessag nullpointerexcept buildexcept internalantmessag getstr internalantrunn could_not_load_the_version_inform _10 antversionnumb equal current version privat boolean version compat string comparison string version ant version number return version compar comparison 0 isversioncompat getantversionnumb compareto privat boolean preprocess command line list command string arg argument command listen non nl 1 arg null arg length 0 throw build except intern ant messag string intern ant runner classnam listen argument 1 non nl 1 build listen null build listen arrai list 1 build listen add arg arg argument command listen non nl 1 arg argument command logger non nl 1 arg null arg length 0 throw build except intern ant messag string intern ant runner classnam logger argument 2 non nl 1 logger classnam arg arg argument command logger non nl 1 arg null throw build except intern ant messag string intern ant runner logger class 1 non nl 1 arg argument command inputhandl non nl 1 arg null version compat 1 5 non nl 1 throw build except intern ant messag string intern ant runner inputhandl ant 1 5 featur updat ant classpath includ ant version greater 2 non nl 1 arg length 0 throw build except intern ant messag string intern ant runner classnam inputhandl argument 1 non nl 1 input handler classnam arg arg argument command inputhandl non nl 1 arg null throw build except intern ant messag string intern ant runner input handler class 2 non nl 1 return true preprocesscommandlin getargu buildexcept internalantmessag getstr internalantrunn you_must_specifi_a_classnam_when_us_the_ listen_argument_1 buildlisten buildlisten arraylist buildlisten getargu getargu buildexcept internalantmessag getstr internalantrunn you_must_specifi_a_classnam_when_us_the_ logger_argument_2 loggerclassnam getargu buildexcept internalantmessag getstr internalantrunn onli_on_logger_class_mai_be_specifi_1 getargu isversioncompat buildexcept internalantmessag getstr internalantrunn specifi_an_inputhandl_is_an_ant_1 _featur _pleas_updat_your_ant_classpath_to_includ_an_ant_version_greater_than_thi _2 buildexcept internalantmessag getstr internalantrunn you_must_specifi_a_classnam_when_us_the_ inputhandl_argument_1 inputhandlerclassnam getargu buildexcept internalantmessag getstr internalantrunn onli_on_input_handler_class_mai_be_specifi _2 privat boolean process command line list command command remov help command remov non nl 1 non nl 2 print usag return fals command remov version non nl 1 print version return fals command remov verbos command remov non nl 1 non nl 2 print version set messag output level project msg verbos command remov debug command remov non nl 1 non nl 2 print version set messag output level project msg debug command remov quiet command remov non nl 1 non nl 2 set messag output level project msg warn command remov emac command remov non nl 1 non nl 2 emac mode true build logger null build logger set emac mode true command remov diagnost non nl 1 version compat 1 5 non nl 1 throw build except intern ant messag string intern ant runner diagnosit option ant 1 5 featur updat ant classpath includ ant version greater 4 non nl 1 try diagnost report system catch null pointer except log messag current project intern ant messag string intern ant runner ant home set ant diagnost 2 project msg err non nl 1 return fals string arg argument command logfil non nl 1 arg null arg argument command non nl 1 arg null arg length 0 string messag intern ant messag string intern ant runner log file log argument 3 non nl 1 log messag current project messag project msg err throw build except messag try creat log file arg catch io except log messag ignor except log messag current project messag format format intern ant messag string intern ant runner write log file 0 sure path exist write permiss 2 string arg project msg err non nl 1 return fals arg argument command buildfil non nl 1 arg null arg argument command file non nl 1 arg null arg argument command non nl 1 arg null arg length 0 string messag intern ant messag string intern ant runner buildfil buildfil argument 4 non nl 1 log messag current project messag project msg err throw build except messag set build file locat arg version compat 1 6 non nl 1 command remov command remov go non nl 1 non nl 2 go true command remov noinput non nl 1 allow input fals arg argument command lib non nl 1 arg null log messag current project intern ant messag string intern ant runner 157 project msg err non nl 1 return fals arg argument command find non nl 1 arg null arg argument command non nl 1 arg null log messag current project intern ant messag string intern ant runner find support project msg err non nl 1 return fals command null command empti process unrecogn command command command null command empti process target command return true processcommandlin printusag printvers printvers setmessageoutputlevel msg_verbos printvers setmessageoutputlevel msg_debug setmessageoutputlevel msg_warn emacsmod buildlogg buildlogg setemacsmod isversioncompat buildexcept internalantmessag getstr internalantrunn the_diagnosit_option_is_an_ant_1 _featur _pleas_updat_your_ant_classpath_to_includ_an_ant_version_greater_than_thi _4 doreport nullpointerexcept logmessag getcurrentproject internalantmessag getstr internalantrunn ant_home_must_be_set_to_us_ant_diagnost_2 msg_err getargu getargu internalantmessag getstr internalantrunn you_must_specifi_a_log_file_when_us_the_ log_argument_3 logmessag currentproject msg_err buildexcept createlogfil ioexcept logmessag getcurrentproject messageformat internalantmessag getstr internalantrunn could_not_write_to_the_specifi_log_file__ _make_sure_the_path_exist_and_you_have_write_permiss _2 msg_err getargu getargu getargu internalantmessag getstr internalantrunn you_must_specifi_a_buildfil_when_us_the_ buildfil_argument_4 logmessag currentproject msg_err buildexcept setbuildfileloc isversioncompat keepgo allowinput getargu logmessag currentproject internalantmessag getstr internalantrunn msg_err getargu getargu logmessag currentproject internalantmessag getstr internalantrunn find_not_support msg_err isempti processunrecognizedcommand isempti processtarget privat void process unrecogn command list command int 1 find arg begin int command size 1 0 string command 0 start non nl 1 break 0 return remov preced arg string non nl 1 int 0 string command 0 non nl 1 command remov 0 warn command string messag messag format format intern ant messag string intern ant runner unknown argument 0 2 object substr 1 non nl 1 log messag current project messag project msg warn processunrecognizedcommand startswith messageformat internalantmessag getstr internalantrunn unknown_argument__ _2 logmessag currentproject msg_warn privat void process target list command target null target vector command size iter iter command iter iter target add iter processtarget hasnext privat void creat log file string file throw file found except io except file log file file rel base dir file stream close final block run list print stream file output stream log file err log messag current project messag format format intern ant messag string intern ant runner 0 file build log 1 string log file canon path project msg info non nl 1 build logger null build logger set error print stream err build logger set output print stream createlogfil filenam filenotfoundexcept ioexcept logfil getfilerelativetobasedir filenam printstream fileoutputstream logfil logmessag getcurrentproject messageformat internalantmessag getstr internalantrunn us_ _file_as_build_log _1 logfil getcanonicalpath msg_info buildlogg buildlogg seterrorprintstream buildlogg setoutputprintstream privat file file rel base dir string file path path path file path absolut string base current project user properti basedir non nl 1 base null file base dir file base base dir null rel base dir path path base dir absolut path rel build file locat path path build file locat path path remov segment 1 path path add trail separ path path append file return path file getfilerelativetobasedir filenam ipath filenam isabsolut getcurrentproject getuserproperti basedir basedir basedir getabsolutepath getbuildfileloc removelastseg addtrailingsepar filenam tofil privat void process properti list command multipl properti file allow string arg argument command propertyfil non nl 1 arg null version compat 1 5 non nl 1 log messag current project intern ant messag string intern ant runner properti file ant 1 5 featur updat ant classpath 6 project msg err non nl 1 break arg length 0 string messag intern ant messag string intern ant runner properti filenam propertyfil argument 3 non nl 1 log messag current project messag project msg err throw build except messag properti file add arg arg argument command propertyfil non nl 1 string global properti file ant core plugin plugin prefer custom properti file global properti file length 0 properti file null properti file arrai list global properti file length properti file add arrai list global properti file properti file null properti file empti load properti file command null return process minusd properti command processproperti getargu isversioncompat logmessag currentproject internalantmessag getstr internalantrunn specifi_properti_file_is_a_ant_1 _featur _pleas_updat_your_ant_classpath _6 msg_err internalantmessag getstr internalantrunn you_must_specifi_a_properti_filenam_when_us_the_ propertyfil_argument_3 logmessag currentproject msg_err buildexcept propertyfil getargu globalpropertyfil antcoreplugin getplugin getprefer getcustompropertyfil globalpropertyfil propertyfil propertyfil arraylist globalpropertyfil propertyfil addal aslist globalpropertyfil propertyfil propertyfil isempti loadpropertyfil processminusdproperti privat void process minusd properti list command string arg string command arrai string command size int 0 arg length string arg arg arg start non nl 1 string arg substr 2 arg length string null int po eq index non nl 1 po eq 0 substr 1 non nl 1 po eq 0 po eq length 1 substr po eq 1 trim name substr 0 po eq null user debug continu user properti null user properti hash map user properti put command remov arg processminusdproperti toarrai startswith poseq indexof poseq poseq poseq poseq poseq userproperti userproperti hashmap userproperti privat void print help project project project descript null log messag project project descript project msg info print target project printhelp getdescript logmessag getdescript msg_info printtarget front privat void print version log messag current project main ant version project msg info printvers logmessag getcurrentproject getantvers msg_info privat void print usag string sep system properti line separ non nl 1 string buffer msg string buffer msg append ant non nl 1 msg append intern ant messag string intern ant runner option 13 non nl 1 msg append non nl 1 msg append intern ant messag string intern ant runner target 15 non nl 1 msg append non nl 1 msg append intern ant messag string intern ant runner target 15 non nl 1 msg append 2 non nl 1 msg append intern ant messag string intern ant runner target 15 non nl 1 msg append 3 non nl 1 msg append sep msg append intern ant messag string intern ant runner option 21 non nl 1 msg append sep msg append help t t non nl 1 msg append intern ant messag string intern ant runner print messag 23 non nl 1 msg append sep msg append projecthelp t non nl 1 msg append intern ant messag string intern ant runner print project help inform 25 non nl 1 msg append sep msg append version t t non nl 1 msg append intern ant messag string intern ant runner print version inform exit 27 non nl 1 msg append sep msg append diagnost t non nl 1 msg append intern ant messag string intern ant runner 12 non nl 1 msg append sep msg append intern ant messag string intern ant runner 13 non nl 1 msg append sep msg append quiet t non nl 1 msg append intern ant messag string intern ant runner extra quiet 29 non nl 1 msg append sep msg append verbos t non nl 1 msg append intern ant messag string intern ant runner extra verbos 31 non nl 1 msg append sep msg append debug t non nl 1 msg append intern ant messag string intern ant runner print debug inform 33 non nl 1 msg append sep msg append emac t non nl 1 msg append intern ant messag string intern ant runner produc log inform adorn 35 non nl 1 msg append sep msg append logfil file t non nl 1 msg append intern ant messag string intern ant runner file log 37 non nl 1 msg append sep msg append t file non nl 1 msg append intern ant messag string intern ant runner 1 non nl 1 non nl 2 msg append sep msg append logger classnam t non nl 1 msg append intern ant messag string intern ant runner class perform log 39 non nl 1 msg append sep msg append listen classnam non nl 1 msg append intern ant messag string intern ant runner add instanc class project listen 41 non nl 1 msg append sep msg append noinput non nl 1 msg append intern ant messag string intern ant runner 158 non nl 1 msg append sep msg append buildfil file non nl 1 msg append intern ant messag string intern ant runner buildfil 43 non nl 1 msg append sep msg append t file file non nl 1 msg append intern ant messag string intern ant runner 1 non nl 1 msg append sep msg append t t file non nl 1 msg append intern ant messag string intern ant runner 1 non nl 1 msg append sep msg append properti non nl 1 msg append intern ant messag string intern ant runner properti 45 non nl 1 msg append sep msg append go non nl 1 msg append intern ant messag string intern ant runner 159 non nl 1 msg append sep msg append intern ant messag string intern ant runner 160 non nl 1 msg append sep msg append propertyfil non nl 1 msg append intern ant messag string intern ant runner 19 non nl 1 msg append sep msg append intern ant messag string intern ant runner 20 non nl 1 msg append sep msg append inputhandl class non nl 1 msg append intern ant messag string intern ant runner 22 non nl 1 msg append sep log messag current project msg string project msg info printusag lsep getproperti stringbuff stringbuff internalantmessag getstr internalantrunn option_13 internalantmessag getstr internalantrunn target_15 internalantmessag getstr internalantrunn target_15 internalantmessag getstr internalantrunn target_15 lsep internalantmessag getstr internalantrunn option___21 lsep internalantmessag getstr internalantrunn print_thi_messag_23 lsep internalantmessag getstr internalantrunn print_project_help_inform_25 lsep internalantmessag getstr internalantrunn print_the_version_inform_and_exit_27 lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn be_extra_quiet_29 lsep internalantmessag getstr internalantrunn be_extra_verbos_31 lsep internalantmessag getstr internalantrunn print_debug_inform_33 lsep internalantmessag getstr internalantrunn produc_log_inform_without_adorn_35 lsep internalantmessag getstr internalantrunn us_given_file_for_log_37 lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn the_class_which_is_to_perform_log_39 lsep internalantmessag getstr internalantrunn add_an_instanc_of_class_as_a_project_listen_41 lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn us_given_buildfil_43 lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn us_valu_for_given_properti_45 lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep logmessag getcurrentproject tostr msg_info privat string argument list command string param command null return null int index command index param index 1 return null command remov index index command size command return non nl 1 string command string command index command start paramet non nl 1 return non nl 1 command remov index return command getargu indexof startswith privat arrai list arrai list string arg arg null return null arrai list kind list return need list implement method list remov object arrai list arrai list result arrai list arg length int 0 arg length result add arg return result arraylist getarraylist aslist arraylist arraylist arraylist set build progress monitor param monitor progress monitor public void set progress monitor progress monitor monitor monitor monitor setprogressmonitor iprogressmonitor privat project current project return current project getcurrentproject currentproject privat void set current project project current project current project current project setcurrentproject currentproject currentproject currentproject public string build except error messag throwabl t instanceof build except return string return null getbuildexceptionerrormessag buildexcept tostr load properti file propertyfil privat void load properti file iter itr properti file iter itr string filenam string itr file file file rel base dir filenam properti prop properti file input stream fi null try fi file input stream file prop load fi catch io except string msg messag format format intern ant messag string intern ant runner load properti file 0 1 4 string filenam messag non nl 1 log messag current project msg project msg err final fi null try fi close catch io except user properti null user properti hash map enumer properti name prop properti name properti name element string string properti name element specif global overwrit specif global properti user properti null user properti put prop properti loadpropertyfil propertyfil hasnext getfilerelativetobasedir fileinputstream fileinputstream ioexcept messageformat internalantmessag getstr internalantrunn could_not_load_properti_file_ __ _4 getmessag logmessag getcurrentproject msg_err ioexcept userproperti userproperti hashmap propertynam propertynam propertynam hasmoreel propertynam nextel userproperti userproperti getproperti privat void add input handler project project version compat 1 5 non nl 1 return input handler setter setter input handler setter setter set input handler project input handler classnam addinputhandl isversioncompat inputhandlersett inputhandlersett setinputhandl inputhandlerclassnam privat void set java class path url ant classpath null ant core prefer pref ant core plugin plugin prefer custom classpath null ant classpath pref getur ls url extra classpath pref extra classpathur ls ant classpath url custom classpath length extra classpath length system arraycopi custom classpath 0 ant classpath 0 custom classpath length system arraycopi extra classpath 0 ant classpath custom classpath length extra classpath length string buffer buff string buffer file file null int 0 ant classpath length try file file platform localurl ant classpath path catch io except continu buff append file absolut path buff append non nl 1 org apach tool ant type path system classpath org apach tool ant type path null buff substr 0 buff length 2 org apach tool ant type path system classpath system classpath setjavaclasspath antclasspath antcoreprefer antcoreplugin getplugin getprefer customclasspath antclasspath geturl extraclasspath getextraclasspathurl antclasspath customclasspath extraclasspath customclasspath antclasspath customclasspath extraclasspath antclasspath customclasspath extraclasspath stringbuff stringbuff antclasspath aslocalurl antclasspath getpath ioexcept getabsolutepath systemclasspath systemclasspath systemclasspath set custom classpath includ set java classpath build param classpath custom classpath build public void set custom classpath url classpath custom classpath classpath setcustomclasspath customclasspath privat hashtabl type class null public intern project super typenametoclass internalproject public void init throw build except set java version properti try class task class class org apach tool ant taskdef properti non nl 1 add task definit properti task class non nl 1 task class class org apach tool ant taskdef typedef non nl 1 add task definit typedef task class non nl 1 task class class org apach tool ant taskdef taskdef non nl 1 add task definit taskdef task class non nl 1 catch class def found error throw build except intern ant messag string intern ant runner miss class non nl 1 catch class found except throw build except intern ant messag string intern ant runner miss class non nl 1 set system properti buildexcept setjavaversionproperti taskclass fornam addtaskdefinit taskclass taskclass fornam addtaskdefinit taskclass taskclass fornam addtaskdefinit taskclass noclassdeffounderror buildexcept internalantmessag getstr internalantrunn miss_class classnotfoundexcept buildexcept internalantmessag getstr internalantrunn miss_class setsystemproperti public object creat data type string type throw build except type class null initi type class type class class type class type type class null return null throwabl thrown null try constructor ctor null boolean arg fals data type arg constructor singl project argument try ctor type class constructor class 0 arg true catch method except nse ctor type class constructor class project class arg fals object null arg ctor instanc object 0 ctor instanc object instanceof project compon project compon set project return catch invoc target except it thrown it target except catch illeg argument except thrown catch instanti except thrown catch illeg access except thrown catch method except nse thrown nse catch class def found error ncdfe thrown ncdfe thrown null string messag messag format format intern ant messag string intern project 0 string type thrown string non nl 1 throw build except messag thrown line actual unreach return null createdatatyp typenam buildexcept typenametoclass initializetyp typeclass typenametoclass typenam typeclass noarg datatyp typeclass getconstructor noarg nosuchmethodexcept typeclass getconstructor noarg noarg newinst newinst projectcompon projectcompon setproject invocationtargetexcept gettargetexcept illegalargumentexcept instantiationexcept illegalaccessexcept nosuchmethodexcept noclassdeffounderror messageformat internalantmessag getstr internalproject typenam tostr buildexcept initi map data type data type classnam privat void initi type type class hashtabl 18 string data def org apach tool ant type default properti non nl 1 try properti prop properti input stream project class resourc stream data def null return prop load in close enumer enumer prop properti name enumer element string type string enumer element string class prop properti type try class type class class class type class put type type class catch class def found error ignor catch class found except ignor catch io except ioe return initializetyp typenametoclass datadef inputstream getresourceasstream datadef propertynam hasmoreel typenam nextel classnam getproperti typenam typeclass fornam classnam typenametoclass typenam typeclass noclassdeffounderror classnotfoundexcept ioexcept public hashtabl data type definit type class null initi type return type class getdatatypedefinit typenametoclass initializetyp typenametoclass org apach tool ant project add data type definit java lang string java lang class public void add data type definit string type class type class data type definit type class put type type class adddatatypedefinit adddatatypedefinit typenam typeclass getdatatypedefinit typenametoclass typenam typeclass public class null input handler implement input handler public null input handler nullinputhandl inputhandl nullinputhandl org apach tool ant input input handler handl input org apach tool ant input input request public void handl input input request request throw build except inputhandl handleinput inputrequest handleinput inputrequest buildexcept class return return string public string class return class classnam getclassnam fclassnam set class param class class set public void set class string class class class classnam classnam classnam setclassnam classnam fclassnam classnam librari return return url deprec librari entri public url librari librari null return librari return librari entri entryurl getlibraryentri getlibrari flibrari flibrari flibraryentri getentryurl set librari param librari librari set deprec set librari entri ant classpath entri public void set librari url librari librari librari setlibraryentri iantclasspathentri setlibrari flibrari librari classpath entri return return classpath entri librari ant object public ant classpath entri librari entri librari entri null return librari entri librari entri ant classpath entri librari return librari entri iantclasspathentri getlibraryentri flibraryentri flibraryentri flibraryentri antclasspathentri flibrari flibraryentri set librari classpath entri param librari entri librari entri set public void set librari entri ant classpath entri librari entri librari entri librari entri libraryentri setlibraryentri iantclasspathentri libraryentri flibraryentri libraryentri java lang object string public string string return tostr tostr fname return ant object creat extens point definit return boolean public boolean default return plugin label null isdefault fpluginlabel set ant object creat extens point param default ant object creat extens point defint deprec 3 0 set plugin label default object public void set default boolean default default plugin label null isdefault setisdefault isdefault isdefault fpluginlabel set label plugin contribut ant object extens point param plugin label label plugin 3 0 public void set plugin label string plugin label plugin label plugin label pluginlabel setpluginlabel pluginlabel fpluginlabel pluginlabel return label plugin contribut ant object extens point return plugin label label plugin 3 0 public string plugin label return plugin label pluginlabel getpluginlabel fpluginlabel return ant object requir eclips runtim relev default code true code return ant obhject requir eclips runtim 3 0 public boolean eclips runtim requir return eclips runtim iseclipseruntimerequir eclipseruntim public void set eclips runtim requir boolean eclips runtim eclips runtim eclips runtim seteclipseruntimerequir eclipseruntim eclipseruntim eclipseruntim privat progress monitor task monitor protect progress monitor main monitor return main monitor iprogressmonitor taskmonitor iprogressmonitor getmainmonitor mainmonitor protect target main target return main target getmaintarget maintarget protect progress monitor target monitor return target monitor iprogressmonitor gettargetmonitor targetmonitor protect progress monitor task monitor return task monitor iprogressmonitor gettaskmonitor taskmonitor protect void set main monitor progress monitor main monitor main monitor main monitor setmainmonitor iprogressmonitor mainmonitor mainmonitor mainmonitor protect void set main target target main target main target main target setmaintarget maintarget maintarget maintarget protect void set target monitor progress monitor target monitor target monitor target monitor settargetmonitor iprogressmonitor targetmonitor targetmonitor targetmonitor protect void set task monitor progress monitor task monitor task monitor task monitor settaskmonitor iprogressmonitor taskmonitor taskmonitor taskmonitor public progress build listen project project list target name progress monitor monitor project hash map main project project project monitor monitor project monitor monitor null monitor null progress monitor monitor set main monitor monitor project put main project monitor list target arrai list target name size int 0 target name size string target string target name target target target main project target target target null target add target int comput target monitor main monitor begin task non nl 1 progressbuildlisten targetnam iprogressmonitor hashmap mainproject projectmonitor projectmonitor nullprogressmonitor setmainmonitor mainproject arraylist targetnam targetnam targetnam targetnam mainproject gettarget targetnam computework getmainmonitor begintask org apach tool ant build listen build start org apach tool ant build event public void build start build event event check cancel buildlisten buildstart buildev buildstart buildev checkcancel protect int comput list target int result 0 int 0 target size result result count target target target return result computework counttarget protect int count target target target int result 1 project project target project hashtabl target project target enumer depend target depend depend element string target string depend element target depend target target target depend null result result count target depend handl antcal task task task target task int 0 task length task instanceof call target access inform ant 1 4 1 describ target execut antcal task assum scenario depend target project result result target size 1 return result counttarget getproject gettarget getdepend hasmoreel targetnam nextel targetnam counttarget gettask calltarget public void build finish build event event project monitor monitor project monitor project main project monitor main monitor set kei project kei set iter itr kei iter itr project project project itr project remov build listen project refer remov ant core plugin eclips progress monitor buildfinish buildev projectmonitor projectmonitor mainproject getmainmonitor keyset hasnext removebuildlisten getrefer antcoreplugin eclips_progress_monitor public void target start build event event check cancel project current project event project current project null return target target event target project monitor monitor project monitor project current project monitor null script monitor null monitor creat monitor current project target monitor set target monitor monitor monitor main monitor 1 int target null target task length 100 monitor target monitor begin task non nl 1 targetstart buildev checkcancel currentproject getproject currentproject gettarget projectmonitor projectmonitor currentproject createmonitor currentproject settargetmonitor submonitorfor getmainmonitor gettask gettargetmonitor begintask protect project monitor creat monitor project current project target target project monitor monitor project monitor rememb target remov monitor object later monitor set main target target list target arrai list 1 target add target int comput target project monitor parent monitor null parent project null parent monitor project monitor project main project monitor set main monitor monitor parent monitor main monitor 1 parent monitor project monitor project parent project parent project null monitor set main monitor monitor parent monitor task monitor 1 monitor main monitor begin task non nl 1 project put current project monitor return monitor projectmonitor createmonitor currentproject projectmonitor projectmonitor setmaintarget arraylist computework projectmonitor parentmonitor parentproject parentmonitor projectmonitor mainproject setmainmonitor submonitorfor parentmonitor getmainmonitor parentmonitor projectmonitor parentproject parentproject setmainmonitor submonitorfor parentmonitor gettaskmonitor getmainmonitor begintask currentproject public void target finish build event event check cancel project current project event project current project null return project monitor monitor project monitor project current project monitor null return monitor target monitor main project test project current project main project monitor main target event target monitor main monitor project remov current project targetfinish buildev checkcancel currentproject getproject currentproject projectmonitor projectmonitor currentproject gettargetmonitor currentproject mainproject getmaintarget gettarget getmainmonitor currentproject public void task start build event event check cancel project current project event project current project null return current project refer remov ant core plugin eclips progress monitor project monitor monitor project monitor project current project monitor null return task task event task task null return current task thread thread current thread monitor set task monitor monitor monitor target monitor 1 monitor task monitor begin task 1 non nl 1 script call track project chain task instanceof ant parent project current project current project add refer ant core plugin eclips progress monitor monitor task monitor taskstart buildev checkcancel currentproject getproject currentproject currentproject getrefer antcoreplugin eclips_progress_monitor projectmonitor projectmonitor currentproject gettask currenttaskthread currentthread settaskmonitor submonitorfor gettargetmonitor gettaskmonitor begintask parentproject currentproject currentproject addrefer antcoreplugin eclips_progress_monitor gettaskmonitor public void task finish build event event check cancel project project event project project null return project refer remov ant core plugin eclips progress monitor project monitor monitor project monitor project project monitor null return monitor task monitor current task thread null taskfinish buildev checkcancel getproject getrefer antcoreplugin eclips_progress_monitor projectmonitor projectmonitor gettaskmonitor currenttaskthread org apach tool ant build listen messag log org apach tool ant build event public void messag log build event event check cancel buildlisten messagelog buildev messagelog buildev checkcancel protect void check cancel cancel current task thread match current thread want throw except separ thread process bug 32657 current task thread null current task thread thread current thread return project monitor monitor project monitor project main project monitor main monitor cancel current task thread null throw oper cancel except intern ant messag string progress build listen build cancel 5 non nl 1 checkcancel currenttaskthread currenttaskthread currentthread projectmonitor projectmonitor mainproject getmainmonitor iscancel currenttaskthread operationcanceledexcept internalantmessag getstr progressbuildlisten build_cancel _5 protect progress monitor monitor progress monitor monitor int tick monitor null return null progress monitor monitor instanceof null progress monitor return monitor return progress monitor monitor tick iprogressmonitor submonitorfor iprogressmonitor nullprogressmonitor nullprogressmonitor subprogressmonitor public class ant properti provid implement ant properti provid return dynam properti valu ant properti param properti the properti resovl return resolv properti org eclips ant core ant properti provid ant properti string public string ant properti string properti string null eclips run equal properti non nl 1 return true non nl 1 eclips home equal properti non nl 1 try file platform resolv url platform base path absolut path non nl 1 end non nl 1 valu substr 0 length 1 catch except ant core plugin log return antpropertyvalueprovid iantpropertyvalueprovid propertynam iantpropertyvalueprovid getantpropertyvalu getantpropertyvalu propertynam propertynam propertynam getpath getabsolutepath endswith antcoreplugin privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat intern core ant messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name internalcoreantmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept protect secur manag secur manag null protect ant secur manag secur manag secur manag secur manag secur manag securitymanag securitymanag antsecuritymanag securitymanag securitymanag securitymanag securitymanag java lang secur manag check exit int public void check exit int statu exit allow system exit call ant task want eclips exit vm messag logger determin except case throw ant secur except securitymanag checkexit checkexit antsecurityexcept java lang secur manag check accept java lang string int public void check accept string host int port secur manag null secur manag check accept host port securitymanag checkaccept checkaccept securitymanag securitymanag checkaccept java lang secur manag check access java lang thread public void check access thread secur manag null secur manag check access securitymanag checkaccess checkaccess securitymanag securitymanag checkaccess java lang secur manag check access java lang thread group public void check access thread group secur manag null secur manag check access securitymanag checkaccess threadgroup checkaccess threadgroup securitymanag securitymanag checkaccess java lang secur manag check awt event queue access public void check awt event queue access secur manag null secur manag check awt event queue access securitymanag checkawteventqueueaccess checkawteventqueueaccess securitymanag securitymanag checkawteventqueueaccess java lang secur manag check connect java lang string int java lang object public void check connect string host int port object context secur manag null secur manag check connect host port context securitymanag checkconnect checkconnect securitymanag securitymanag checkconnect java lang secur manag check connect java lang string int public void check connect string host int port secur manag null secur manag check connect host port securitymanag checkconnect checkconnect securitymanag securitymanag checkconnect java lang secur manag check creat class loader public void check creat class loader secur manag null secur manag check creat class loader securitymanag checkcreateclassload checkcreateclassload securitymanag securitymanag checkcreateclassload java lang secur manag check delet java lang string public void check delet string file secur manag null secur manag check delet file securitymanag checkdelet checkdelet securitymanag securitymanag checkdelet java lang secur manag check exec java lang string public void check exec string cmd secur manag null secur manag check exec cmd securitymanag checkexec checkexec securitymanag securitymanag checkexec java lang secur manag check link java lang string public void check link string lib secur manag null secur manag check link lib securitymanag checklink checklink securitymanag securitymanag checklink java lang secur manag check listen int public void check listen int port secur manag null secur manag check listen port securitymanag checklisten checklisten securitymanag securitymanag checklisten java lang secur manag check member access java lang class int public void check member access class clazz int secur manag null secur manag check member access clazz securitymanag checkmemberaccess checkmemberaccess securitymanag securitymanag checkmemberaccess java lang secur manag check multicast java net inet address byte deprec public void check multicast inet address maddr byte ttl secur manag null string host maddr host address host start host index 1 non nl 1 host host non nl 1 non nl 2 check permiss socket permiss host accept connect non nl 1 securitymanag checkmulticast inetaddress checkmulticast inetaddress securitymanag gethostaddress startswith indexof checkpermiss socketpermiss java lang secur manag check multicast java net inet address public void check multicast inet address maddr secur manag null secur manag check multicast maddr securitymanag checkmulticast inetaddress checkmulticast inetaddress securitymanag securitymanag checkmulticast java lang secur manag check packag access java lang string public void check packag access string pkg secur manag null secur manag check packag access pkg securitymanag checkpackageaccess checkpackageaccess securitymanag securitymanag checkpackageaccess java lang secur manag check packag definit java lang string public void check packag definit string pkg secur manag null secur manag check packag definit pkg securitymanag checkpackagedefinit checkpackagedefinit securitymanag securitymanag checkpackagedefinit java lang secur manag check permiss java secur permiss java lang object public void check permiss permiss perm object context secur manag null secur manag check permiss perm context securitymanag checkpermiss checkpermiss securitymanag securitymanag checkpermiss java lang secur manag check permiss java secur permiss public void check permiss permiss perm secur manag null secur manag check permiss perm securitymanag checkpermiss checkpermiss securitymanag securitymanag checkpermiss java lang secur manag check print job access public void check print job access secur manag null secur manag check print job access securitymanag checkprintjobaccess checkprintjobaccess securitymanag securitymanag checkprintjobaccess java lang secur manag check properti access public void check properti access secur manag null secur manag check properti access securitymanag checkpropertiesaccess checkpropertiesaccess securitymanag securitymanag checkpropertiesaccess java lang secur manag check properti access java lang string public void check properti access string kei secur manag null secur manag check properti access kei securitymanag checkpropertyaccess checkpropertyaccess securitymanag securitymanag checkpropertyaccess java lang secur manag check read java io file descriptor public void check read file descriptor fd secur manag null secur manag check read fd securitymanag checkread filedescriptor checkread filedescriptor securitymanag securitymanag checkread java lang secur manag check read java lang string java lang object public void check read string file object context secur manag null secur manag check read file context securitymanag checkread checkread securitymanag securitymanag checkread java lang secur manag check read java lang string public void check read string file secur manag null secur manag check read file securitymanag checkread checkread securitymanag securitymanag checkread java lang secur manag check secur access java lang string public void check secur access string target secur manag null secur manag check secur access target securitymanag checksecurityaccess checksecurityaccess securitymanag securitymanag checksecurityaccess java lang secur manag check set factori public void check set factori secur manag null secur manag check set factori securitymanag checksetfactori checksetfactori securitymanag securitymanag checksetfactori java lang secur manag check system clipboard access public void check system clipboard access secur manag null secur manag check system clipboard access securitymanag checksystemclipboardaccess checksystemclipboardaccess securitymanag securitymanag checksystemclipboardaccess java lang secur manag check top level window java lang object public boolean check top level window object window secur manag null return secur manag check top level window window return super check top level window window securitymanag checktoplevelwindow checktoplevelwindow securitymanag securitymanag checktoplevelwindow checktoplevelwindow java lang secur manag check write java io file descriptor public void check write file descriptor fd secur manag null secur manag check write fd securitymanag checkwrit filedescriptor checkwrit filedescriptor securitymanag securitymanag checkwrit java lang secur manag check write java lang string public void check write string file secur manag null secur manag check write file securitymanag checkwrit checkwrit securitymanag securitymanag checkwrit java lang secur manag check deprec public boolean check secur manag null return secur manag check return super check securitymanag getincheck getincheck securitymanag securitymanag getincheck getincheck java lang secur manag secur context public object secur context secur manag null return secur manag secur context return super secur context securitymanag getsecuritycontext getsecuritycontext securitymanag securitymanag getsecuritycontext getsecuritycontext java lang secur manag thread group public thread group thread group secur manag null secur manag thread group return super thread group securitymanag getthreadgroup threadgroup getthreadgroup securitymanag securitymanag getthreadgroup getthreadgroup privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat ant support messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name antsupportmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept class demux input stream setter protect void remap system project project system set demux input stream project demuxinputstreamsett remapsystemin setin demuxinputstream public void handl input input request request throw build except system properti eclips ant input null non nl 1 throw build except ant support messag string ant input handler 5 non nl 1 build except problem build except 1 runnabl runnabl handl input runnabl request problem displai default sync exec runnabl problem 0 null throw problem 0 handleinput inputrequest buildexcept getproperti noinput buildexcept antsupportmessag getstr antinputhandl buildexcept buildexcept gethandleinputrunn getdefault syncexec input valid valid input valid public string valid string request set input request input valid return null return ant support messag string ant input handler invalid input 2 non nl 1 iinputvalid iinputvalid isvalid setinput isinputvalid antsupportmessag getstr antinputhandl invalid_input_2 return runnabl public void run string prompt prompt request string titl ant support messag string ant input handler ant input request 1 non nl 1 input valid valid input valid public string valid string request set input request input valid return null return ant support messag string ant input handler invalid input 2 non nl 1 input dialog dialog input dialog null titl prompt valid non nl 1 dialog open window ok problem 0 build except ant support messag string ant input handler unabl respond input request 4 non nl 1 getprompt antsupportmessag getstr antinputhandl ant_input_request_1 iinputvalid iinputvalid isvalid setinput isinputvalid antsupportmessag getstr antinputhandl invalid_input_2 inputdialog inputdialog buildexcept antsupportmessag getstr antinputhandl unabl_to_respond_to_ _request_4 protect runnabl handl input runnabl final input request request final build except problem return runnabl public void run string prompt prompt request string titl ant support messag string ant input handler ant input request 1 non nl 1 input valid valid input valid public string valid string request set input request input valid return null return ant support messag string ant input handler invalid input 2 non nl 1 input dialog dialog input dialog null titl prompt valid non nl 1 dialog open window ok problem 0 build except ant support messag string ant input handler unabl respond input request 4 non nl 1 gethandleinputrunn inputrequest buildexcept getprompt antsupportmessag getstr antinputhandl ant_input_request_1 iinputvalid iinputvalid isvalid setinput isinputvalid antsupportmessag getstr antinputhandl invalid_input_2 inputdialog inputdialog buildexcept antsupportmessag getstr antinputhandl unabl_to_respond_to_ _request_4 protect void set input handler project project string input handler classnam input handler handler null input handler classnam null handler default input handler try handler input handler class input handler classnam instanc catch class cast except string msg messag format format intern ant messag string intern ant runner input handler class 0 implement org apach tool ant input inputhandl interfac 5 string input handler classnam non nl 1 throw build except msg catch except string msg messag format format intern ant messag string intern ant runner unabl instanti input handler class 0 1 6 string input handler classnam class non nl 1 throw build except msg project set input handler handler setinputhandl inputhandlerclassnam inputhandl inputhandlerclassnam defaultinputhandl inputhandl fornam inputhandlerclassnam newinst classcastexcept messageformat internalantmessag getstr internalantrunn the_specifi_input_handler_class_ _doe_not_implement_the_org inputhandl_interfac_5 inputhandlerclassnam buildexcept messageformat internalantmessag getstr internalantrunn unabl_to_instanti_specifi_input_handler_class_ ___ _6 inputhandlerclassnam getclass getnam buildexcept setinputhandl privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat intern ant messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name internalantmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept privat boolean allow input true public static void main string arg intern ant runner run arrai list arg allowinput internalantrunn getarraylist privat void add build listen project project string class null try build logger logger creat logger logger null project add build listen logger build listen null iter iter build listen iter iter class string iter class listen class class project add build listen build listen listen instanc catch class cast except string messag messag format format intern ant messag string intern ant runner 0 build listen instanc org apach tool ant build listen 1 string class non nl 1 log messag null messag project msg err throw build except messag catch build except throw catch except throw build except addbuildlisten classnam buildlogg createlogg addbuildlisten buildlisten buildlisten hasnext classnam fornam classnam addbuildlisten buildlisten newinst classcastexcept messageformat internalantmessag getstr internalantrunn _which_wa_specifi_to_be_a_build_listen_is_not_an_instanc_of_org buildlisten _1 classnam logmessag msg_err buildexcept buildexcept buildexcept pars build file add inform project param project project configur privat void pars build file project project file build file file build file locat build file exist throw build except messag format format intern ant messag string intern ant runner buildfil 0 exist 1 non nl 1 string build file absolut path build file file throw build except messag format format intern ant messag string intern ant runner buildfil 0 file 1 non nl 1 string build file absolut path project helper helper project helper project helper project add refer ant project helper helper non nl 1 helper pars project build file parsebuildfil buildfil getbuildfileloc buildfil buildexcept messageformat internalantmessag getstr internalantrunn buildfil__ _doe_not_exist_ _1 buildfil getabsolutepath buildfil isfil buildexcept messageformat internalantmessag getstr internalantrunn buildfil__ _is_not_a_file_1 buildfil getabsolutepath projecthelp projecthelp getprojecthelp addrefer projecthelp buildfil privat void print argument project project messag output level project msg debug messag output level project msg verbos return string buffer sb string buffer int 0 extra argument length sb append extra argument sb append project log messag format format intern ant messag string intern ant runner argument 0 2 string sb string trim non nl 1 printargu messageoutputlevel msg_debug messageoutputlevel msg_verbos stringbuff stringbuff extraargu extraargu messageformat internalantmessag getstr internalantrunn argument__ _2 tostr log messag client list target project param project project list target privat void print target project project notifi logger project help messag come buildstart targetstart to establish connect log messag project msg project help non nl 1 find target longest int max length 0 enumer ptarget project target element string target string target descript target current target split target top level target depend presenc descript list top name arrai list list top descript arrai list list name arrai list ptarget element current target target ptarget element target current target target descript current target descript target descript null name add target top name add target top descript add target descript target length max length max length target length collect sort name collect sort top name collect sort top descript string default target project default target default target null equal default target shouldn need check non nl 1 list default arrai list 1 list default desc null default add default target int index def desc top name index default target index def desc 0 default desc arrai list 1 default desc add top descript index def desc print target project default default desc intern ant messag string intern ant runner default target 3 max length non nl 1 print target project top name top descript intern ant messag string intern ant runner main target 4 max length non nl 1 print target project name null intern ant messag string intern ant runner subtarget 5 0 non nl 1 printtarget logmessag msg_project_help maxlength gettarget targetnam targetdescript currenttarget topnam arraylist topdescript arraylist subnam arraylist hasmoreel currenttarget nextel targetnam currenttarget getnam targetdescript currenttarget getdescript targetdescript subnam targetnam topnam targetnam topdescript targetdescript targetnam maxlength maxlength targetnam subnam topnam topdescript defaulttargetnam getdefaulttarget defaulttargetnam defaulttargetnam defaultnam arraylist defaultdesc defaultnam defaulttargetnam indexofdefdesc topnam indexof defaulttargetnam indexofdefdesc defaultdesc arraylist defaultdesc topdescript indexofdefdesc printtarget defaultnam defaultdesc internalantmessag getstr internalantrunn default_target__3 maxlength printtarget topnam topdescript internalantmessag getstr internalantrunn main_target__4 maxlength printtarget subnam internalantmessag getstr internalantrunn subtarget__5 log messag client list target name option descript param project enclos target param name target name param descript descript param head messag head param maxlen maximum length alloc privat void print target project project list name list descript string head int maxlen start print target descript string sep system properti line separ non nl 1 string space non nl 1 space length maxlen space space string buffer msg string buffer msg append head sep sep int 0 name size msg append msg append name descript null msg append space substr 0 maxlen string name length 2 msg append descript msg append sep log messag project msg string project msg info printtarget lsep getproperti stringbuff stringbuff lsep lsep lsep logmessag tostr msg_info privat void run list arg list set current project project throwabl error null print stream origin err system err print stream origin system input stream origin system secur manag originalsm system secur manag script execut true try arg list null arg list remov projecthelp arg list remov non nl 1 non nl 2 project help true current project init arg list null script execut preprocess command line arg list script execut return add build listen current project process properti arg list set properti current project add input handler current project remap system system set print stream demux output stream current project fals system set err print stream demux output stream current project true project help fire build start current project arg list null arg list empti try script execut process command line arg list catch build except script execut fals throw script execut return want set default input stream default input handler mean queri system input bug 45484 allow input input handler classnam null version compat 1 6 non nl 1 current project set default input stream origin current project log messag format format intern ant messag string intern ant runner build file 0 1 string build file locat non nl 1 set task set type version compat 1 6 non nl 1 current project set go mode go pars build file current project valid default target project help print help current project script execut fals return extra argument null print argument current project system set secur manag ant secur manag originalsm target null target empti current project execut target target current project execut target current project default target catch ant secur except expect catch throwabl error final system set err origin err system set origin system set origin system secur manag instanceof ant secur manag system set secur manag originalsm project help fire build finish current project error close user build log err origin err err close origin out close arglist setcurrentproject printstream originalerr printstream originalout inputstream originalin securitymanag getsecuritymanag scriptexecut arglist arglist arglist projecthelp getcurrentproject arglist scriptexecut preprocesscommandlin arglist scriptexecut addbuildlisten getcurrentproject processproperti arglist setproperti getcurrentproject addinputhandl getcurrentproject remapsystemin setout printstream demuxoutputstream getcurrentproject seterr printstream demuxoutputstream getcurrentproject projecthelp firebuildstart getcurrentproject arglist arglist isempti scriptexecut processcommandlin arglist buildexcept scriptexecut scriptexecut allowinput inputhandlerclassnam isversioncompat getcurrentproject setdefaultinputstream originalin getcurrentproject messageformat internalantmessag getstr internalantrunn build_file__ _1 getbuildfileloc settask settyp isversioncompat getcurrentproject setkeepgoingmod keepgo parsebuildfil getcurrentproject validatedefaulttarget projecthelp printhelp getcurrentproject scriptexecut extraargu printargu getcurrentproject setsecuritymanag antsecuritymanag isempti getcurrentproject executetarget getcurrentproject executetarget getcurrentproject getdefaulttarget antsecurityexcept seterr originalerr setout originalout setin originalin getsecuritymanag antsecuritymanag setsecuritymanag projecthelp firebuildfinish getcurrentproject originalerr originalout privat void set task eclips task null iter itr eclips task kei set iter string task string task class itr task string itr task class string eclips task task version compat 1 6 non nl 1 ant type definit def ant type definit def set task def set class task class def set class loader class class loader def set adapt class task class def set adapt class task adapt class compon helper compon helper current project add data type definit def try class task class class task class current project add task definit task task class catch class found except string messag messag format format intern ant messag string intern ant runner 161 string task class task non nl 1 current project log messag project msg warn settask eclipsespecifiedtask eclipsespecifiedtask keyset tasknam taskclassnam hasnext tasknam taskclassnam eclipsespecifiedtask tasknam isversioncompat anttypedefinit anttypedefinit setnam tasknam setclassnam taskclassnam setclassload getclass getclassload setadapttoclass setadapterclass taskadapt componenthelp getcomponenthelp getcurrentproject adddatatypedefinit taskclass fornam taskclassnam getcurrentproject addtaskdefinit tasknam taskclass classnotfoundexcept messageformat internalantmessag getstr internalantrunn taskclassnam tasknam getcurrentproject msg_warn privat void set type eclips type null iter itr eclips type kei set iter string type string type class itr type string itr type class string eclips type type version compat 1 6 non nl 1 ant type definit def ant type definit def set type def set class type class def set class loader class class loader compon helper compon helper current project add data type definit def try class type class class type class current project add data type definit type type class catch class found except string messag messag format format intern ant messag string intern ant runner 162 string type class type non nl 1 current project log messag project msg warn settyp eclipsespecifiedtyp eclipsespecifiedtyp keyset typenam typeclassnam hasnext typenam typeclassnam eclipsespecifiedtyp typenam isversioncompat anttypedefinit anttypedefinit setnam typenam setclassnam typeclassnam setclassload getclass getclassload componenthelp getcomponenthelp getcurrentproject adddatatypedefinit typeclass fornam typeclassnam getcurrentproject adddatatypedefinit typenam typeclass classnotfoundexcept messageformat internalantmessag getstr internalantrunn typeclassnam typenam getcurrentproject msg_warn privat void remap system version compat 1 6 non nl 1 return demux input stream setter setter demux input stream setter setter remap system current project remapsystemin isversioncompat demuxinputstreamsett demuxinputstreamsett remapsystemin getcurrentproject privat void valid default target default target current project default target enumer current target current project target element boolean default found fals current target element target target target current target element target equal default target default found true break default found default target exist throw build except messag format format intern ant messag string intern ant runner default target 0 1 2 exist project 1 string default target non nl 1 non nl 2 non nl 3 validatedefaulttarget defaulttarget getcurrentproject getdefaulttarget currenttarget getcurrentproject gettarget defaultfound currenttarget hasmoreel currenttarget nextel getnam defaulttarget defaultfound defaultfound buildexcept messageformat internalantmessag getstr internalantrunn default_target_ _doe_not_exist_in_thi_project_1 defaulttarget creat return default build logger log build event ant log return default build logger log build event ant log return code null code log occur privat build logger creat logger logger classnam null build logger default logger equal logger classnam non nl 1 try build logger build logger class logger classnam instanc catch class cast except string messag messag format format intern ant messag string intern ant runner 0 perform log instanc org apach tool ant build logger 2 string logger classnam non nl 1 log messag null messag project msg err throw build except messag catch except string messag messag format format intern ant messag string intern ant runner unabl instanti logger 0 6 string logger classnam non nl 1 log messag null messag project msg err throw build except messag build logger null build logger set messag output level messag output level build logger set output print stream build logger set error print stream err build logger set emac mode emac mode return build logger buildlogg createlogg loggerclassnam buildlogg defaultlogg loggerclassnam buildlogg buildlogg fornam loggerclassnam newinst classcastexcept messageformat internalantmessag getstr internalantrunn _which_wa_specifi_to_perform_log_is_not_an_instanc_of_org buildlogg _2 loggerclassnam logmessag msg_err buildexcept messageformat internalantmessag getstr internalantrunn unabl_to_instanti_logger__ _6 loggerclassnam logmessag msg_err buildexcept buildlogg buildlogg setmessageoutputlevel messageoutputlevel buildlogg setoutputprintstream buildlogg seterrorprintstream buildlogg setemacsmod emacsmod buildlogg privat void fire build start project project build event event build event project iter iter project build listen iter iter build listen listen build listen iter listen build start event firebuildstart buildev buildev getbuildlisten hasnext buildlisten buildlisten buildstart privat void fire build finish project project throwabl error error null script execut log messag project intern ant messag string intern ant runner build success 1 messag output level non nl 1 project fire build finish error firebuildfinish scriptexecut logmessag internalantmessag getstr internalantrunn build_success_1 messageoutputlevel firebuildfinish privat void log messag project project string messag int prioriti project null project log messag prioriti build listen null project project build event event build event project event set messag messag prioriti notifi build listen regist project exist iter iter build listen iter iter try build listen listen build listen iter listen messag log event catch class cast except ignor try log build listen wrong type class logmessag buildlisten buildev buildev setmessag buildlisten hasnext buildlisten buildlisten messagelog classcastexcept set build file locat param build file locat file system locat build file privat void set build file locat string build file locat build file locat build file locat current project null current project set user properti ant file build file locat non nl 1 buildfileloc buildfileloc setbuildfileloc buildfileloc buildfileloc buildfileloc getcurrentproject getcurrentproject setuserproperti buildfileloc privat string build file locat build file locat null build file locat file build xml absolut path non nl 1 return build file locat getbuildfileloc buildfileloc buildfileloc getabsolutepath buildfileloc set messag output level 1 param level messag output level privat void set messag output level int level messag output level level build logger null build logger set messag output level level setmessageoutputlevel messageoutputlevel buildlogg buildlogg setmessageoutputlevel privat string ant version number throw build except ant version number null try properti prop properti input stream main class resourc stream org apach tool ant version txt non nl 1 prop load in close string version number prop properti version non nl 1 ant version number version number catch io except ioe throw build except messag format format intern ant messag string intern ant runner load version inform 0 9 string ioe messag non nl 1 catch null pointer except npe throw build except intern ant messag string intern ant runner load version inform 10 non nl 1 return ant version number getantversionnumb buildexcept antversionnumb inputstream getresourceasstream versionnumb getproperti antversionnumb versionnumb ioexcept buildexcept messageformat internalantmessag getstr internalantrunn could_not_load_the_version_inform _ _9 getmessag nullpointerexcept buildexcept internalantmessag getstr internalantrunn could_not_load_the_version_inform _10 antversionnumb equal current version privat boolean version compat string comparison string version ant version number return version compar comparison 0 isversioncompat getantversionnumb compareto privat boolean preprocess command line list command string arg argument command listen non nl 1 arg null arg length 0 throw build except intern ant messag string intern ant runner classnam listen argument 1 non nl 1 build listen null build listen arrai list 1 build listen add arg arg argument command listen non nl 1 arg argument command logger non nl 1 arg null arg length 0 throw build except intern ant messag string intern ant runner classnam logger argument 2 non nl 1 logger classnam arg arg argument command logger non nl 1 arg null throw build except intern ant messag string intern ant runner logger class 1 non nl 1 arg argument command inputhandl non nl 1 arg null version compat 1 5 non nl 1 throw build except intern ant messag string intern ant runner inputhandl ant 1 5 featur updat ant classpath includ ant version greater 2 non nl 1 arg length 0 throw build except intern ant messag string intern ant runner classnam inputhandl argument 1 non nl 1 input handler classnam arg arg argument command inputhandl non nl 1 arg null throw build except intern ant messag string intern ant runner input handler class 2 non nl 1 return true preprocesscommandlin getargu buildexcept internalantmessag getstr internalantrunn you_must_specifi_a_classnam_when_us_the_ listen_argument_1 buildlisten buildlisten arraylist buildlisten getargu getargu buildexcept internalantmessag getstr internalantrunn you_must_specifi_a_classnam_when_us_the_ logger_argument_2 loggerclassnam getargu buildexcept internalantmessag getstr internalantrunn onli_on_logger_class_mai_be_specifi_1 getargu isversioncompat buildexcept internalantmessag getstr internalantrunn specifi_an_inputhandl_is_an_ant_1 _featur _pleas_updat_your_ant_classpath_to_includ_an_ant_version_greater_than_thi _2 buildexcept internalantmessag getstr internalantrunn you_must_specifi_a_classnam_when_us_the_ inputhandl_argument_1 inputhandlerclassnam getargu buildexcept internalantmessag getstr internalantrunn onli_on_input_handler_class_mai_be_specifi _2 privat boolean process command line list command command remov help command remov non nl 1 non nl 2 print usag return fals command remov version non nl 1 print version return fals command remov verbos command remov non nl 1 non nl 2 print version set messag output level project msg verbos command remov debug command remov non nl 1 non nl 2 print version set messag output level project msg debug command remov quiet command remov non nl 1 non nl 2 set messag output level project msg warn command remov emac command remov non nl 1 non nl 2 emac mode true build logger null build logger set emac mode true command remov diagnost non nl 1 version compat 1 5 non nl 1 throw build except intern ant messag string intern ant runner diagnosit option ant 1 5 featur updat ant classpath includ ant version greater 4 non nl 1 try diagnost report system catch null pointer except log messag current project intern ant messag string intern ant runner ant home set ant diagnost 2 project msg err non nl 1 return fals string arg argument command logfil non nl 1 arg null arg argument command non nl 1 arg null arg length 0 string messag intern ant messag string intern ant runner log file log argument 3 non nl 1 log messag current project messag project msg err throw build except messag try creat log file arg catch io except log messag ignor except log messag current project messag format format intern ant messag string intern ant runner write log file 0 sure path exist write permiss 2 string arg project msg err non nl 1 return fals arg argument command buildfil non nl 1 arg null arg argument command file non nl 1 arg null arg argument command non nl 1 arg null arg length 0 string messag intern ant messag string intern ant runner buildfil buildfil argument 4 non nl 1 log messag current project messag project msg err throw build except messag set build file locat arg version compat 1 6 non nl 1 command remov command remov go non nl 1 non nl 2 go true command remov noinput non nl 1 allow input fals arg argument command lib non nl 1 arg null log messag current project intern ant messag string intern ant runner 157 project msg err non nl 1 return fals arg argument command find non nl 1 arg null arg argument command non nl 1 arg null log messag current project intern ant messag string intern ant runner find support project msg err non nl 1 return fals process task type command command null command empti process unrecogn command command command null command empti process target command return true processcommandlin printusag printvers printvers setmessageoutputlevel msg_verbos printvers setmessageoutputlevel msg_debug setmessageoutputlevel msg_warn emacsmod buildlogg buildlogg setemacsmod isversioncompat buildexcept internalantmessag getstr internalantrunn the_diagnosit_option_is_an_ant_1 _featur _pleas_updat_your_ant_classpath_to_includ_an_ant_version_greater_than_thi _4 doreport nullpointerexcept logmessag getcurrentproject internalantmessag getstr internalantrunn ant_home_must_be_set_to_us_ant_diagnost_2 msg_err getargu getargu internalantmessag getstr internalantrunn you_must_specifi_a_log_file_when_us_the_ log_argument_3 logmessag currentproject msg_err buildexcept createlogfil ioexcept logmessag getcurrentproject messageformat internalantmessag getstr internalantrunn could_not_write_to_the_specifi_log_file__ _make_sure_the_path_exist_and_you_have_write_permiss _2 msg_err getargu getargu getargu internalantmessag getstr internalantrunn you_must_specifi_a_buildfil_when_us_the_ buildfil_argument_4 logmessag currentproject msg_err buildexcept setbuildfileloc isversioncompat keepgo allowinput getargu logmessag currentproject internalantmessag getstr internalantrunn msg_err getargu getargu logmessag currentproject internalantmessag getstr internalantrunn find_not_support msg_err processtasksandtyp isempti processunrecognizedcommand isempti processtarget privat void process task type list command string arg argument command eclips task non nl 1 arg null eclips task null eclips task hash map int index arg index string arg substr 0 index string class arg substr index 1 eclips task put class arg argument command eclips task non nl 1 arg argument command eclips type non nl 1 arg null eclips type null eclips type hash map int index arg index string arg substr 0 index string class arg substr index 1 eclips type put class arg argument command eclips type non nl 1 processtasksandtyp getargu eclipsetask eclipsespecifiedtask eclipsespecifiedtask hashmap indexof classnam eclipsespecifiedtask classnam getargu eclipsetask getargu eclipsetyp eclipsespecifiedtyp eclipsespecifiedtyp hashmap indexof classnam eclipsespecifiedtyp classnam getargu eclipsetyp privat void process unrecogn command list command int 1 find arg begin int command size 1 0 string command 0 start non nl 1 break 0 return remov preced arg string non nl 1 int 0 string command 0 non nl 1 command remov 0 warn command string messag messag format format intern ant messag string intern ant runner unknown argument 0 2 object substr 1 non nl 1 log messag current project messag project msg warn processunrecognizedcommand startswith messageformat internalantmessag getstr internalantrunn unknown_argument__ _2 logmessag currentproject msg_warn privat void process target list command target null target vector command size iter iter command iter iter target add iter processtarget hasnext privat void creat log file string file throw file found except io except file log file file rel base dir file stream close final block run list print stream file output stream log file err log messag current project messag format format intern ant messag string intern ant runner 0 file build log 1 string log file canon path project msg info non nl 1 build logger null build logger set error print stream err build logger set output print stream createlogfil filenam filenotfoundexcept ioexcept logfil getfilerelativetobasedir filenam printstream fileoutputstream logfil logmessag getcurrentproject messageformat internalantmessag getstr internalantrunn us_ _file_as_build_log _1 logfil getcanonicalpath msg_info buildlogg buildlogg seterrorprintstream buildlogg setoutputprintstream privat file file rel base dir string file file parent file null string base current project user properti basedir non nl 1 base null parent file file base rel build file locat parent file file build file locat parent file return file util file util resolv file parent file file getfilerelativetobasedir filenam parentfil getcurrentproject getuserproperti parentfil parentfil getbuildfileloc getparentfil fileutil newfileutil resolvefil parentfil filenam privat void process properti list command multipl properti file allow string arg argument command propertyfil non nl 1 arg null version compat 1 5 non nl 1 log messag current project intern ant messag string intern ant runner properti file ant 1 5 featur updat ant classpath 6 project msg err non nl 1 break arg length 0 string messag intern ant messag string intern ant runner properti filenam propertyfil argument 3 non nl 1 log messag current project messag project msg err throw build except messag properti file add arg arg argument command propertyfil non nl 1 properti file null properti file empti load properti file command null return process minusd properti command processproperti getargu isversioncompat logmessag currentproject internalantmessag getstr internalantrunn specifi_properti_file_is_a_ant_1 _featur _pleas_updat_your_ant_classpath _6 msg_err internalantmessag getstr internalantrunn you_must_specifi_a_properti_filenam_when_us_the_ propertyfil_argument_3 logmessag currentproject msg_err buildexcept propertyfil getargu propertyfil propertyfil isempti loadpropertyfil processminusdproperti privat void process minusd properti list command string arg string command arrai string command size int 0 arg length string arg arg arg start non nl 1 string arg substr 2 arg length string null int po eq index non nl 1 po eq 0 substr 1 non nl 1 po eq 0 po eq length 1 substr po eq 1 trim name substr 0 po eq null user debug continu user properti null user properti hash map user properti put command remov arg processminusdproperti toarrai startswith poseq indexof poseq poseq poseq poseq poseq userproperti userproperti hashmap userproperti privat void set properti project project set built properti project user properti null iter iter user properti entri set iter iter map entri entri map entri iter project set user properti string entri kei string entri setproperti setbuiltinproperti userproperti userproperti entryset hasnext setuserproperti getkei getvalu privat void set built properti project project project set user properti ant file build file locat non nl 1 project set user properti ant version main ant version non nl 1 setbuiltinproperti setuserproperti getbuildfileloc setuserproperti getantvers privat void print help project project project descript null log messag project project descript project msg info print target project printhelp getdescript logmessag getdescript msg_info printtarget front privat void print version log messag current project main ant version project msg info printvers logmessag getcurrentproject getantvers msg_info privat void print usag string sep system properti line separ non nl 1 string buffer msg string buffer msg append ant non nl 1 msg append intern ant messag string intern ant runner option 13 non nl 1 msg append non nl 1 msg append intern ant messag string intern ant runner target 15 non nl 1 msg append non nl 1 msg append intern ant messag string intern ant runner target 15 non nl 1 msg append 2 non nl 1 msg append intern ant messag string intern ant runner target 15 non nl 1 msg append 3 non nl 1 msg append sep msg append intern ant messag string intern ant runner option 21 non nl 1 msg append sep msg append help t t non nl 1 msg append intern ant messag string intern ant runner print messag 23 non nl 1 msg append sep msg append projecthelp t non nl 1 msg append intern ant messag string intern ant runner print project help inform 25 non nl 1 msg append sep msg append version t t non nl 1 msg append intern ant messag string intern ant runner print version inform exit 27 non nl 1 msg append sep msg append diagnost t non nl 1 msg append intern ant messag string intern ant runner 12 non nl 1 msg append sep msg append intern ant messag string intern ant runner 13 non nl 1 msg append sep msg append quiet t non nl 1 msg append intern ant messag string intern ant runner extra quiet 29 non nl 1 msg append sep msg append verbos t non nl 1 msg append intern ant messag string intern ant runner extra verbos 31 non nl 1 msg append sep msg append debug t non nl 1 msg append intern ant messag string intern ant runner print debug inform 33 non nl 1 msg append sep msg append emac t non nl 1 msg append intern ant messag string intern ant runner produc log inform adorn 35 non nl 1 msg append sep msg append logfil file t non nl 1 msg append intern ant messag string intern ant runner file log 37 non nl 1 msg append sep msg append t file non nl 1 msg append intern ant messag string intern ant runner 1 non nl 1 non nl 2 msg append sep msg append logger classnam t non nl 1 msg append intern ant messag string intern ant runner class perform log 39 non nl 1 msg append sep msg append listen classnam non nl 1 msg append intern ant messag string intern ant runner add instanc class project listen 41 non nl 1 msg append sep msg append noinput non nl 1 msg append intern ant messag string intern ant runner 158 non nl 1 msg append sep msg append buildfil file non nl 1 msg append intern ant messag string intern ant runner buildfil 43 non nl 1 msg append sep msg append t file file non nl 1 msg append intern ant messag string intern ant runner 1 non nl 1 msg append sep msg append t t file non nl 1 msg append intern ant messag string intern ant runner 1 non nl 1 msg append sep msg append properti non nl 1 msg append intern ant messag string intern ant runner properti 45 non nl 1 msg append sep msg append go non nl 1 msg append intern ant messag string intern ant runner 159 non nl 1 msg append sep msg append intern ant messag string intern ant runner 160 non nl 1 msg append sep msg append propertyfil non nl 1 msg append intern ant messag string intern ant runner 19 non nl 1 msg append sep msg append intern ant messag string intern ant runner 20 non nl 1 msg append sep msg append inputhandl class non nl 1 msg append intern ant messag string intern ant runner 22 non nl 1 msg append sep log messag current project msg string project msg info printusag lsep getproperti stringbuff stringbuff internalantmessag getstr internalantrunn option_13 internalantmessag getstr internalantrunn target_15 internalantmessag getstr internalantrunn target_15 internalantmessag getstr internalantrunn target_15 lsep internalantmessag getstr internalantrunn option___21 lsep internalantmessag getstr internalantrunn print_thi_messag_23 lsep internalantmessag getstr internalantrunn print_project_help_inform_25 lsep internalantmessag getstr internalantrunn print_the_version_inform_and_exit_27 lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn be_extra_quiet_29 lsep internalantmessag getstr internalantrunn be_extra_verbos_31 lsep internalantmessag getstr internalantrunn print_debug_inform_33 lsep internalantmessag getstr internalantrunn produc_log_inform_without_adorn_35 lsep internalantmessag getstr internalantrunn us_given_file_for_log_37 lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn the_class_which_is_to_perform_log_39 lsep internalantmessag getstr internalantrunn add_an_instanc_of_class_as_a_project_listen_41 lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn us_given_buildfil_43 lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn us_valu_for_given_properti_45 lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep internalantmessag getstr internalantrunn lsep logmessag getcurrentproject tostr msg_info privat string argument list command string param command null return null int index command index param index 1 return null command remov index index command size command return non nl 1 string command string command index command start paramet non nl 1 return non nl 1 command remov index return command getargu indexof startswith privat static arrai list arrai list string arg arg null return null arrai list kind list return need list implement method list remov object arrai list arrai list result arrai list arg length int 0 arg length result add arg return result arraylist getarraylist aslist arraylist arraylist arraylist privat project current project return current project getcurrentproject currentproject privat void set current project project current project current project current project setcurrentproject currentproject currentproject currentproject load properti file propertyfil privat void load properti file iter itr properti file iter itr string filenam string itr file file file rel base dir filenam properti prop properti file input stream fi null try fi file input stream file prop load fi catch io except string msg messag format format intern ant messag string intern ant runner load properti file 0 1 4 string filenam messag non nl 1 log messag current project msg project msg err final fi null try fi close catch io except user properti null user properti hash map enumer properti name prop properti name properti name element string string properti name element specif global overwrit specif global properti user properti null user properti put prop properti loadpropertyfil propertyfil hasnext getfilerelativetobasedir fileinputstream fileinputstream ioexcept messageformat internalantmessag getstr internalantrunn could_not_load_properti_file_ __ _4 getmessag logmessag getcurrentproject msg_err ioexcept userproperti userproperti hashmap propertynam propertynam propertynam hasmoreel propertynam nextel userproperti userproperti getproperti privat void add input handler project project version compat 1 5 non nl 1 return input handler setter setter input handler setter setter set input handler project input handler classnam addinputhandl isversioncompat inputhandlersett inputhandlersett setinputhandl inputhandlerclassnam protect void log messag string messag build event event int overrid prioriti int prioriti overrid prioriti prioriti 1 prioriti event prioriti prioriti messag output level return ant process ant process ant process event project user properti ant process attr ant process id ant process null return string buffer full messag string buffer system properti line separ non nl 1 event except null event task null emac mode adorn messag event full messag full messag append messag messag full messag string ant stream monitor monitor monitor prioriti monitor append messag log messag log file messag prioriti logmessag buildev overrideprior overrideprior getprior getmessageoutputlevel antprocess antprocess getantprocess getproject getuserproperti antprocess attr_ant_process_id antprocess stringbuff fullmessag stringbuff getproperti getexcept gettask femacsmod adornmessag fullmessag fullmessag fullmessag tostr antstreammonitor getmonitor logmessagetologfil build justifi task prefix build event place string buffer creat hyperlink task prefix param event build event param full messag buffer place task prefix privat void adorn messag build event event string buffer full messag string event task task name null null non nl 1 locat locat event task locat string buffer column string buffer int size antui constant left column size length 3 int 0 size column append string buffer label buff string buffer label buff append label buff append label buff append non nl 1 int offset math max size 0 1 string label label buff string event messag null return try buffer reader buffer reader string reader event messag string line read line full messag append column append link full messag locat label offset line line read line line null full messag append system properti line separ non nl 1 full messag append column append link full messag locat label offset line line read line catch io except event messag null full messag append label append event messag fullmessag adornmessag buildev stringbuff fullmessag gettask gettasknam gettask getloc stringbuff stringbuff iantuiconst left_column_size stringbuff labelbuff stringbuff labelbuff labelbuff labelbuff labelbuff tostr getmessag bufferedread bufferedread stringread getmessag readlin fullmessag appendandlink fullmessag readlin fullmessag getproperti fullmessag appendandlink fullmessag readlin ioexcept getmessag fullmessag getmessag privat void append link string buffer full messag locat locat string label int offset string line full messag append label full messag append line locat null string line label line trim region region region offset label length 3 want length consol hyperlink link task link locat link null task link manag add task hyperlink ant process null link region line appendandlink stringbuff fullmessag fullmessag fullmessag newlin iregion iconsolehyperlink gettasklink tasklinkmanag addtaskhyperlink getantprocess newlin privat ant stream monitor monitor int prioriti ant stream proxi proxi ant stream proxi process stream proxi ant stream monitor monitor null switch prioriti case project msg info monitor ant stream monitor proxi output stream monitor break case project msg err monitor ant stream monitor proxi error stream monitor break case project msg debug monitor ant stream monitor proxi debug stream monitor break case project msg warn monitor ant stream monitor proxi warn stream monitor break case project msg verbos monitor ant stream monitor proxi verbos stream monitor break return monitor antstreammonitor getmonitor antstreamsproxi antstreamsproxi fprocess getstreamsproxi antstreammonitor msg_info antstreammonitor getoutputstreammonitor msg_err antstreammonitor geterrorstreammonitor msg_debug antstreammonitor getdebugstreammonitor msg_warn antstreammonitor getwarningstreammonitor msg_verbos antstreammonitor getverbosestreammonitor privat void log messag log file string messag int prioriti prioriti project msg err error print stream null error print stream system err user design log logfil error print stream println messag output print stream null output print stream system user design log logfil output print stream println messag logmessagetologfil msg_err geterrorprintstream geterrorprintstream geterrorprintstream getoutputprintstream getoutputprintstream getoutputprintstream return hyperlink task code null code unabl pars valid locat task link set exist offset length return hyper link code null code privat consol hyperlink task link locat locat locat null return ant util task link locat string build file parent return null iconsolehyperlink gettasklink antutil gettasklink tostr fbuildfilepar return ant process find found privat ant process ant process string process id process null process id null process debug plugin default launch manag process int 0 length i process process process instanceof ant process process id equal process attribut ant process attr ant process id process ant process process break return process antprocess getantprocess processid fprocess processid iprocess debugplugin getdefault getlaunchmanag getprocess iprocess antprocess processid getattribut antprocess attr_ant_process_id fprocess antprocess fprocess org apach tool ant build listen build start org apach tool ant build event public void build start build event event start system current milli buildlisten buildstart buildev buildstart buildev fstarttim currenttimemilli public void build finish build event event handl except event handl except null build file parent null log messag string system current milli start event messag output level process null event project remov build listen buildfinish buildev handleexcept fhandledexcept fbuildfilepar logmessag gettimestr currenttimemilli fstarttim fmessageoutputlevel fprocess getproject removebuildlisten privat string string millisecond second millisecond 1000 minut second 60 second second 60 string buffer result string buffer ant support messag string ant process build logger total non nl 1 minut 0 result append minut minut 1 result append ant support messag string ant process build logger minut 2 non nl 1 result append ant support messag string ant process build logger minut 3 non nl 1 second 0 minut 0 result append result append second second 1 result append ant support messag string ant process build logger second 4 non nl 1 result append ant support messag string ant process build logger 5 non nl 1 second 0 minut 0 result append millisecond result append ant support messag string ant process build logger millisecond 6 non nl 1 result append system properti line separ non nl 1 return result string gettimestr stringbuff stringbuff antsupportmessag getstr antprocessbuildlogg total_time antsupportmessag getstr antprocessbuildlogg _minut_2 antsupportmessag getstr antprocessbuildlogg _minut_3 antsupportmessag getstr antprocessbuildlogg _second_4 antsupportmessag getstr antprocessbuildlogg _second_5 antsupportmessag getstr antprocessbuildlogg _millisecond_6 getproperti tostr public void messag log build event event event prioriti messag output level return event messag null event messag length 0 log messag event messag event 1 messagelog buildev getprior getmessageoutputlevel getmessag getmessag logmessag getmessag protect void handl except build event event throwabl except event except except null except handl except except instanceof oper cancel except except instanceof ant secur except return handl except except log messag messag format format ant support messag string ant process build logger build fail 0 1 string except string non nl 1 event project msg err handleexcept buildev getexcept fhandledexcept operationcanceledexcept antsecurityexcept fhandledexcept logmessag messageformat antsupportmessag getstr antprocessbuildlogg build_fail__ _1 tostr msg_err public void target start build event event project msg info messag output level return string buffer msg string buffer system properti line separ non nl 1 msg append event target msg append log messag msg string event project msg info targetstart buildev msg_info getmessageoutputlevel stringbuff stringbuff getproperti gettarget getnam logmessag tostr msg_info org apach tool ant build logger set messag output level int public void set messag output level int level messag output level level buildlogg setmessageoutputlevel setmessageoutputlevel fmessageoutputlevel protect int messag output level return messag output level getmessageoutputlevel fmessageoutputlevel org apach tool ant build logger set emac mode boolean public void set emac mode boolean emac mode emac mode emac mode buildlogg setemacsmod setemacsmod emacsmod femacsmod emacsmod org apach tool ant build listen build start org apach tool ant build event public void build start build event event buildlisten buildstart buildev buildstart buildev org apach tool ant build listen build finish org apach tool ant build event public void build finish build event event handl except event handl except null buildlisten buildfinish buildev buildfinish buildev handleexcept fhandledexcept org apach tool ant build listen target start org apach tool ant build event public void target start build event event buildlisten targetstart buildev targetstart buildev org apach tool ant build listen target finish org apach tool ant build event public void target finish build event event handl except event buildlisten targetfinish buildev targetfinish buildev handleexcept org apach tool ant build listen task start org apach tool ant build event public void task start build event event buildlisten taskstart buildev taskstart buildev org apach tool ant build listen task finish org apach tool ant build event public void task finish build event event handl except event buildlisten taskfinish buildev taskfinish buildev handleexcept org apach tool ant build listen messag log org apach tool ant build event public void messag log build event event log messag event messag event prioriti buildlisten messagelog buildev messagelog buildev logmessag getmessag getprior protect print stream error print stream return err printstream geterrorprintstream ferr protect print stream output print stream return printstream getoutputprintstream fout org apach tool ant build logger set error print stream java io print stream public void set error print stream print stream err build logger log null user explicitli set logfil err system err err null err err buildlogg seterrorprintstream printstream seterrorprintstream printstream ferr ferr org apach tool ant build logger set output print stream java io print stream public void set output print stream print stream output build logger log null user explicitli set logfil output system out null output buildlogg setoutputprintstream printstream setoutputprintstream printstream fout fout protect void log messag string messag int prioriti prioriti messag output level return prioriti project msg err error print stream null error print stream system err user design log logfil error print stream println messag output print stream null output print stream system user design log logfil output print stream println messag logmessag getmessageoutputlevel msg_err geterrorprintstream geterrorprintstream geterrorprintstream getoutputprintstream getoutputprintstream getoutputprintstream protect void handl except build event event throwabl except event except except null except handl except except instanceof oper cancel except except instanceof ant secur except return handl except except log messag messag format format ant support messag string ant process build logger build fail 0 1 non nl 1 string except string project msg err handleexcept buildev getexcept fhandledexcept operationcanceledexcept antsecurityexcept fhandledexcept logmessag messageformat antsupportmessag getstr antprocessbuildlogg build_fail__ _1 tostr msg_err org apach tool ant default logger print messag java lang string java io print stream int protect void print messag string messag print stream stream int prioriti marshal messag prioriti messag defaultlogg printmessag printstream printmessag printstream marshalmessag connect remot ant build listen privat void connect debug mode system println remot ant build logger try connect host port non nl 1 non nl 2 int 1 5 try client socket socket host port writer print writer client socket output stream true return catch io except try thread sleep 500 catch interrupt except shut fdebugmod remoteantbuildlogg fhost fport fclientsocket fhost fport fwriter printwrit fclientsocket getoutputstream ioexcept interruptedexcept shutdown shutdown connect remot build listen privat void shut event queue null event queue clear writer null writer close writer null try client socket null client socket close client socket null catch io except shutdown feventqueu feventqueu fwriter fwriter fwriter fclientsocket fclientsocket fclientsocket ioexcept privat void send messag string msg writer null return writer println msg sendmessag fwriter fwriter public void build finish build event event handl except event print messag string system current milli start project msg info shut buildfinish buildev handleexcept printmessag gettimestr currenttimemilli starttim msg_info shutdown protect void handl except build event event throwabl except event except except null except instanceof ant secur except return print messag messag format format intern ant messag string remot ant build logger build fail 0 1 string except string non nl 1 project msg err handleexcept buildev getexcept antsecurityexcept printmessag messageformat internalantmessag getstr remoteantbuildlogg build_fail__ _1 tostr msg_err privat string string millisecond second millisecond 1000 minut second 60 second second 60 string buffer result string buffer intern ant messag string remot ant build logger total non nl 1 minut 0 result append minut minut 1 result append intern ant messag string remot ant build logger minut 2 non nl 1 result append intern ant messag string remot ant build logger minut 3 non nl 1 second 0 minut 0 result append result append second second 1 result append intern ant messag string remot ant build logger second 4 non nl 1 result append intern ant messag string remot ant build logger 5 non nl 1 second 0 minut 0 result append millisecond result append intern ant messag string remot ant build logger millisecond 6 non nl 1 return result string gettimestr stringbuff stringbuff internalantmessag getstr remoteantbuildlogg total_time internalantmessag getstr remoteantbuildlogg _minut_2 internalantmessag getstr remoteantbuildlogg _minut_3 internalantmessag getstr remoteantbuildlogg _second_4 internalantmessag getstr remoteantbuildlogg _second_5 internalantmessag getstr remoteantbuildlogg _millisecond_6 tostr public void target start build event event process id establish connect event project msg info msg output level string msg event target non nl 1 print messag msg project msg info targetstart buildev fsentprocessid establishconnect msg_info msgoutputlevel gettarget getnam printmessag msg_info privat void establish connect build event event string port properti event project properti eclips connect port non nl 1 port properti null port integ pars int port properti connect process id true string buffer messag string buffer messag id process id messag append event project properti org eclips ant ui attr ant process id non nl 1 send messag messag string event queue null iter iter event queue iter iter process event build event iter event queue null establishconnect buildev portproperti getproject getproperti portproperti fport parseint portproperti fsentprocessid stringbuff stringbuff messageid process_id getproject getproperti attr_ant_process_id sendmessag tostr feventqueu feventqueu hasnext processev buildev feventqueu public void messag log build event event event prioriti msg output level event prioriti intern ant runner msg project help return process id event prioriti intern ant runner msg project help project msg info msg output level return buildstart project start project help option establish connect event return event queue null event queue arrai list 10 event queue add event return process event event messagelog buildev getprior msgoutputlevel getprior internalantrunn msg_project_help fsentprocessid getprior internalantrunn msg_project_help msg_info msgoutputlevel establishconnect feventqueu feventqueu arraylist feventqueu processev privat void process event build event event event task null emac mode try marshal task messag event catch io except marshal messag event processev buildev gettask emacsmod marshaltaskmessag ioexcept marshalmessag privat void marshal messag build event event string event messag event messag trim event messag length 0 return marshal messag event prioriti event messag marshalmessag buildev eventmessag getmessag eventmessag marshalmessag getprior eventmessag privat void marshal messag int prioriti string messag try buffer reader buffer reader string reader messag string line read line string buffer messag line line null messag line string buffer messag line append prioriti messag line append messag line append line send messag messag line string line read line catch io except marshalmessag bufferedread bufferedread stringread readlin stringbuff messagelin messagelin stringbuff messagelin messagelin messagelin sendmessag messagelin tostr readlin ioexcept privat void marshal task messag build event event throw io except string event messag event messag trim event messag length 0 return buffer reader buffer reader string reader event messag string line read line string buffer messag string task event task task string buffer label buff string buffer label buff append label buff append task label buff append non nl 1 string label label buff string locat locat event task locat int prioriti event prioriti line null messag string buffer messag id task messag append prioriti messag append messag append task messag append line label line trim messag append line length messag append messag append line messag append messag append locat send messag messag string line read line marshaltaskmessag buildev ioexcept eventmessag getmessag eventmessag bufferedread bufferedread stringread eventmessag readlin stringbuff tasknam gettask gettasknam stringbuff labelbuff stringbuff labelbuff labelbuff tasknam labelbuff labelbuff tostr gettask getloc getprior stringbuff messageid tasknam sendmessag tostr readlin org apach tool ant build listen build start org apach tool ant build event public void build start build event event establish connect event super build start event buildlisten buildstart buildev buildstart buildev establishconnect buildstart public color color string stream identif stream identif equal debugui constant id standard output stream return antui plugin prefer color antui prefer constant consol info color stream identif equal debugui constant id standard error stream return antui plugin prefer color antui prefer constant consol error color stream identif equal ant stream proxi ant debug stream return antui plugin prefer color antui prefer constant consol debug color stream identif equal ant stream proxi ant verbos stream return antui plugin prefer color antui prefer constant consol verbos color stream identif equal ant stream proxi ant warn stream return antui plugin prefer color antui prefer constant consol warn color return super color stream identif getcolor streamidentif streamidentif idebuguiconst id_standard_output_stream antuiplugin getpreferencecolor iantuipreferenceconst consol_info_color streamidentif idebuguiconst id_standard_error_stream antuiplugin getpreferencecolor iantuipreferenceconst consol_error_color streamidentif antstreamsproxi ant_debug_stream antuiplugin getpreferencecolor iantuipreferenceconst consol_debug_color streamidentif antstreamsproxi ant_verbos_stream antuiplugin getpreferencecolor iantuipreferenceconst consol_verbos_color streamidentif antstreamsproxi ant_warn_stream antuiplugin getpreferencecolor iantuipreferenceconst consol_warn_color getcolor streamidentif public void connect process process consol consol remot local ant build guarante ant stream proxi remot ant build org eclips debug core process factori extens point ant stream proxi proxi ant stream proxi process stream proxi process instanceof ant process ant process process set consol consol proxi null consol connect proxi debug stream monitor ant stream proxi ant debug stream consol connect proxi warn stream monitor ant stream proxi ant warn stream consol connect proxi verbos stream monitor ant stream proxi ant verbos stream antui plugin default prefer store add properti chang listen super connect process consol iprocess iconsol antstreamsproxi processfactori antstreamsproxi antstreamsproxi getstreamsproxi antprocess antprocess setconsol getdebugstreammonitor antstreamsproxi ant_debug_stream getwarningstreammonitor antstreamsproxi ant_warn_stream getverbosestreammonitor antstreamsproxi ant_verbos_stream antuiplugin getdefault getpreferencestor addpropertychangelisten org eclips debug ui consol consol color provid read public boolean read return true iconsolecolorprovid isreadonli isreadonli antui plugin standard displai async exec runnabl public void run workbench window window platformui workbench activ workbench window window null workbench page page window activ page page null workbench part part page find view consol constant id consol view part null widget text widget widget part adapt widget class text widget instanceof style text style text text widget redraw antuiplugin getstandarddisplai asyncexec iworkbenchwindow getworkbench getactiveworkbenchwindow iworkbenchpag getactivepag iworkbenchpart findview iconsoleconst id_consol_view textwidget getadapt textwidget styledtext styledtext textwidget public void properti chang properti chang event event affect ant consol event properti antui plugin standard displai async exec runnabl public void run workbench window window platformui workbench activ workbench window window null workbench page page window activ page page null workbench part part page find view consol constant id consol view part null widget text widget widget part adapt widget class text widget instanceof style text style text text widget redraw propertychang propertychangeev affectsantconsol getproperti antuiplugin getstandarddisplai asyncexec iworkbenchwindow getworkbench getactiveworkbenchwindow iworkbenchpag getactivepag iworkbenchpart findview iconsoleconst id_consol_view textwidget getadapt textwidget styledtext styledtext textwidget privat boolean affect ant consol string properti antui prefer constant consol debug color equal properti return true antui prefer constant consol error color equal properti return true antui prefer constant consol info color equal properti return true antui prefer constant consol verbos color equal properti return true antui prefer constant consol warn color equal properti return true return fals affectsantconsol iantuipreferenceconst consol_debug_color iantuipreferenceconst consol_error_color iantuipreferenceconst consol_info_color iantuipreferenceconst consol_verbos_color iantuipreferenceconst consol_warn_color org eclips debug ui consol consol color provid disconnect public void disconnect antui plugin default prefer store remov properti chang listen super disconnect iconsolecolorprovid antuiplugin getdefault getpreferencestor removepropertychangelisten public void init consol consol consol consol build fail file 1115 test build file 23638 xml 12 error matcher string matcher build fail xml fals fals non nl 1 error matcher2 string matcher xml fals fals non nl 1 iconsol fconsol buildfil ferrormatch stringmatch ferrormatch2 stringmatch public void line append region line try int line offset line offset int line length line length string text consol document line offset line length string file null string line number non nl 1 int file start 1 int index 1 error matcher match text build fail true index text index file non nl 1 index 0 file start index 5 file start text index build fail 14 non nl 1 index file start build fail error matcher2 match text output result failur occur nest build ant task build fail darin debugg 20021213 eclips runtim workspac mine build xml 4 error occur execut line darin debugg 20021213 eclips runtim workspac mine subbuild xml 4 srcdir attribut set index 0 file start 0 index 1 index text index xml index non nl 1 index 0 int number start index 4 int number end text index number start int file end index 3 number start 0 file end 0 file text substr file start file end trim number end 0 line number text substr number start number end trim file null int num 1 try num integ pars int line number catch number format except file file resourc plugin workspac root find file locat path file file file null file length 0 file file 0 file null file exist file link link file link file null 1 1 num consol add link link line offset file start line length file start catch bad locat except lineappend iregion lineoffset getoffset linelength getlength fconsol getdocu lineoffset linelength filenam linenumb filestart ferrormatch fbuildfail indexof filestart filestart indexof filestart fbuildfail ferrormatch2 filestart indexof numberstart numberend indexof numberstart fileend numberstart fileend filenam filestart fileend numberend linenumb numberstart numberend filenam parseint linenumb numberformatexcept ifil resourcesplugin getworkspac getroot findfilesforloc filenam ifil filelink filelink fconsol addlink lineoffset filestart linelength filestart badlocationexcept org eclips debug ui consol consol line tracker dispos public void dispos consol null iconsolelinetrack fconsol constructor javac line tracker public javac line tracker super javaclinetrack javaclinetrack org eclips debug ui consol consol line tracker init org eclips debug ui consol consol public void init consol consol consol consol eclips compil matcher string matcher javac error java line fals fals non nl 1 javac matcher string matcher javac java fals fals non nl 1 jike matcher string matcher javac java fals fals non nl 1 iconsolelinetrack iconsol iconsol fconsol feclipsecompilermatch stringmatch fjavacmatch stringmatch fjikesmatch stringmatch org eclips debug ui consol consol line tracker line append org eclips jface text region public void line append region line try int line offset line offset int line length line length string text consol document line offset line length string file null string line number non nl 1 int file start 1 eclips compil matcher match text troll fals int index text index error non nl 1 index 0 file start index 9 index text index line non nl 1 index 0 int file end index 1 int number start index 9 index text index index 0 int number end index file text substr file start file end trim line number text substr number start number end trim javac matcher match text troll fals file start text index javac non nl 1 file start 8 int index text index java file start non nl 1 index 0 int number start index 6 file text substr file start number start 1 trim index text index number start non nl 1 index number start line number text substr number start index jike matcher match text file start text index file start int index text index java file start non nl 1 index 0 index 5 file text substr file start index trim troll true troll int index text index javac non nl 1 index 0 look line number index 7 int num end text index index non nl 1 num end 0 string number text substr index num end trim try int num integ pars int number int num start text index number index file null file exist file link link file link file null 1 1 num consol add link link line offset num start line length num start catch number format except line number troll fals file null int num 1 try num integ pars int line number catch number format except file file null path file path path file check file faster file null file locat equal file path file file file file resourc plugin workspac root find file locat file path file length 0 file file 0 file file file null file exist file link link file link file null 1 1 num consol add link link line offset file start line length file start catch bad locat except iconsolelinetrack lineappend iregion lineappend iregion lineoffset getoffset linelength getlength fconsol getdocu lineoffset linelength filenam linenumb filestart feclipsecompilermatch ftroll indexof filestart lastindexof fileend numberstart lastindexof numberend filenam filestart fileend linenumb numberstart numberend fjavacmatch ftroll filestart indexof filestart indexof filestart numberstart filenam filestart numberstart indexof numberstart numberstart linenumb numberstart fjikesmatch filestart indexof filestart indexof filestart filenam filestart ftroll ftroll indexof numend indexof numend numend parseint numstart indexof flastfil flastfil filelink filelink flastfil fconsol addlink lineoffset numstart linelength numstart numberformatexcept ftroll filenam parseint linenumb numberformatexcept ifil ipath filepath filenam flastfil flastfil getloc filepath flastfil ifil resourcesplugin getworkspac getroot findfilesforloc filepath flastfil filelink filelink fconsol addlink lineoffset filestart linelength filestart badlocationexcept org eclips debug ui consol consol line tracker dispos public void dispos consol null iconsolelinetrack fconsol constructor task line tracker public task line tracker super tasklinetrack tasklinetrack org eclips debug ui consol consol line tracker init org eclips debug ui consol consol public void init consol consol consol consol iconsolelinetrack iconsol iconsol fconsol org eclips debug ui consol consol line tracker line append org eclips jface text region public void line append region line task link manag process line consol line iconsolelinetrack lineappend iregion lineappend iregion tasklinkmanag processnewlin fconsol org eclips debug ui consol consol line tracker dispos public void dispos consol null iconsolelinetrack fconsol org eclips debug ui consol consol line tracker extens consol close public void consol close task link manag dispos consol process iconsolelinetrackerextens consoleclos consoleclos tasklinkmanag fconsol getprocess privat extern ant buildfil import page main page public ant buildfil import wizard super externalantbuildfileimportpag mainpag antbuildfileimportwizard public void add page super add page main page extern ant buildfil import page add page main page addpag addpag mainpag externalantbuildfileimportpag addpag mainpag public void init workbench workbench structur select current select set window titl data transfer messag string ant buildfil import wizard 0 non nl 1 set default page imag descriptor antui imag imag descriptor antui constant img import wizard banner iworkbench istructuredselect currentselect setwindowtitl datatransfermessag getstr antbuildfileimportwizard setdefaultpageimagedescriptor antuiimag getimagedescriptor iantuiconst img_import_wizard_banner org eclips jface wizard wizard perform cancel public boolean perform cancel return true iwizard performcancel performcancel org eclips jface wizard wizard perform finish public boolean perform finish return main page creat project null iwizard performfinish performfinish mainpag createproject privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat data transfer messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name datatransfermessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept privat static class import overwrit queri implement overwrit queri public string queri overwrit string file return importoverwritequeri ioverwritequeri queryoverwrit privat listen locat modifi listen listen public void handl event event ant model ant model build file project locat field set project set page complet valid page locationmodifylisten handleev fantmodel getantmodel getbuildfil getprojectlocationfieldvalu setprojectnam setpagecomplet validatepag privat listen modifi listen listen public void handl event event set page complet valid page namemodifylisten handleev setpagecomplet validatepag public extern ant buildfil import page super extern ant buildfil page non nl 1 set page complet fals set titl data transfer messag string extern ant buildfil import page 9 non nl 1 set descript data transfer messag string extern ant buildfil import page 10 non nl 1 externalantbuildfileimportpag externalantbuildfilepag setpagecomplet settitl datatransfermessag getstr externalantbuildfileimportpag setdescript datatransfermessag getstr externalantbuildfileimportpag public void creat control composit parent initi dialog unit parent composit composit composit parent swt null workbench help set help composit help context id project wizard page composit set layout grid layout composit set layout data grid data grid data fill composit set font parent font creat project group composit creat project locat group composit valid page show descript open set error messag null set messag null set control composit createcontrol initializedialogunit workbenchhelp sethelp ihelpcontextid new_project_wizard_page setlayout gridlayout setlayoutdata griddata griddata fill_both setfont getfont createprojectnamegroup createprojectlocationgroup validatepag seterrormessag setmessag setcontrol creat project locat specif control param parent parent composit privat final void creat project locat group composit parent project specif group composit project group composit parent swt grid layout layout grid layout layout num column 3 project group set layout layout project group set layout data grid data grid data fill horizont project group set font parent font project label label project content label label project group swt project content label set text data transfer messag string extern ant buildfil import page 11 non nl 1 project content label set font parent font creat user project locat group project group createprojectlocationgroup projectgroup gridlayout gridlayout numcolumn projectgroup setlayout projectgroup setlayoutdata griddata griddata fill_horizont projectgroup setfont getfont projectcontentslabel projectgroup projectcontentslabel settext datatransfermessag getstr externalantbuildfileimportpag projectcontentslabel setfont getfont createuserspecifiedprojectlocationgroup projectgroup creat project specif control param parent parent composit privat final void creat project group composit parent font dialog font parent font project specif group composit project group composit parent swt grid layout layout grid layout layout num column 2 project group set font dialog font project group set layout layout project group set layout data grid data grid data fill horizont project label label project label label project group swt project label set text data transfer messag string extern ant buildfil import page 12 non nl 1 project label set font dialog font project entri field project field text project group swt border grid data data grid data grid data fill horizont data width hint size text field width project field set layout data data project field set font dialog font project field add listen swt modifi modifi listen createprojectnamegroup dialogfont getfont projectgroup gridlayout gridlayout numcolumn projectgroup setfont dialogfont projectgroup setlayout projectgroup setlayoutdata griddata griddata fill_horizont projectlabel projectgroup projectlabel settext datatransfermessag getstr externalantbuildfileimportpag projectlabel setfont dialogfont projectnamefield projectgroup griddata griddata griddata fill_horizont widthhint size_text_field_width projectnamefield setlayoutdata projectnamefield setfont dialogfont projectnamefield addlisten namemodifylisten brows button add select listen select adapt public void widget select select event event handl brows button press browsebutton addselectionlisten selectionadapt widgetselect selectionev handlebrowsebuttonpress creat project locat specif control param project group parent composit param boolean initi enabl widget creat privat void creat user project locat group composit project group font dialog font project group font project locat entri field locat path field text project group swt border grid data data grid data grid data fill horizont data width hint size text field width locat path field set layout data data locat path field set font dialog font brows button brows button button project group swt push brows button set text data transfer messag string extern ant buildfil import page 13 non nl 1 brows button set font dialog font set button layout data brows button brows button add select listen select adapt public void widget select select event event handl brows button press locat path field add listen swt modifi locat modifi listen projectgroup createuserspecifiedprojectlocationgroup projectgroup dialogfont projectgroup getfont locationpathfield projectgroup griddata griddata griddata fill_horizont widthhint size_text_field_width locationpathfield setlayoutdata locationpathfield setfont dialogfont browsebutton projectgroup browsebutton settext datatransfermessag getstr externalantbuildfileimportpag browsebutton setfont dialogfont setbuttonlayoutdata browsebutton browsebutton addselectionlisten selectionadapt widgetselect selectionev handlebrowsebuttonpress locationpathfield addlisten locationmodifylisten return current project enter user anticip initi return project anticip initi code null code project known privat string project ant project node project node string user project field user length 0 return user string project project node label project null project data transfer messag string extern ant buildfil import page 14 non nl 1 return project getprojectnam antprojectnod projectnod userspecifiednam getprojectnamefieldvalu userspecifiednam userspecifiednam projectnam projectnod getlabel projectnam projectnam datatransfermessag getstr externalantbuildfileimportpag projectnam return project field lead trail space remov return project field privat string project field project field null return non nl 1 return project field text trim getprojectnamefieldvalu projectnamefield projectnamefield gettext return project locat field lead trail space remov return project locat directori field privat string project locat field return locat path field text trim getprojectlocationfieldvalu locationpathfield gettext determin buildfil user wish oper privat void handl brows button press string path null path dialog set antui constant dialogstor lastextfil path null path non nl 1 file dialog dialog file dialog shell swt singl dialog set filter extens string xml non nl 1 dialog set filter path path string result dialog open result null return path filter path path dialog filter path string build file dialog file path path filter path append build file absolut previous brows directori select directori locat path field set text path too string handlebrowsebuttonpress lastusedpath lastusedpath dialogset iantuiconst dialogstor_lastextfil lastusedpath lastusedpath filedialog filedialog getshel setfilterextens setfilterpath lastusedpath ipath filterpath getfilterpath buildfilenam getfilenam ipath filterpath buildfilenam makeabsolut previouslybrowseddirectori selecteddirectori locationpathfield settext toosstr return page control valid valu return code true code control valid code fals code invalid privat boolean valid page string locat field content project locat field locat field content equal non nl 1 set error messag null set messag data transfer messag string extern ant buildfil import page 15 non nl 1 return fals path path path non nl 1 path valid path locat field content set error messag data transfer messag string extern ant buildfil import page 16 non nl 1 return fals ant model null set error messag data transfer messag string extern ant buildfil import page 17 non nl 1 return fals project field length 0 set error messag data transfer messag string extern ant buildfil import page 18 non nl 1 return fals project exist project resourc plugin workspac root project project field exist project exist set error messag data transfer messag string extern ant buildfil import page 19 non nl 1 return fals set error messag null set messag null return true validatepag locationfieldcont getprojectlocationfieldvalu locationfieldcont seterrormessag setmessag datatransfermessag getstr externalantbuildfileimportpag ipath isvalidpath locationfieldcont seterrormessag datatransfermessag getstr externalantbuildfileimportpag fantmodel seterrormessag datatransfermessag getstr externalantbuildfileimportpag getprojectnamefieldvalu seterrormessag datatransfermessag getstr externalantbuildfileimportpag iproject existingproject resourcesplugin getworkspac getroot getproject getprojectnamefieldvalu existingproject seterrormessag datatransfermessag getstr externalantbuildfileimportpag seterrormessag setmessag set project the parent file entri xml file privat void set project ant model null return ant project node node ant model project node string project project node project field set text project setprojectnam fantmodel antprojectnod fantmodel getprojectnod projectnam getprojectnam projectnamefield settext projectnam return xml file locat isn return null privat file build file string locat field content file build file file locat field content build file file build file exist return null return build file getbuildfil locationfieldcont buildfil locationfieldcont buildfil isfil buildfil buildfil workspac modifi oper op workspac modifi oper protect void execut progress monitor monitor throw core except list javac task resolv javac task javac node todo javactask throw core except project creator creator project creator iter iter javac task iter iter javac javac task javac iter java project java project creator creat java project javac node project javac task import build file monitor java project path build file result 0 java project workspacemodifyoper workspacemodifyoper iprogressmonitor coreexcept javactask resolvejavactask javacnod coreexcept projectcr projectcr javactask hasnext javactask ijavaproject javaproject createjavaprojectfromjavacnod projectnam javactask importbuildfil javaproject getpath buildfil javaproject creat project resourc base ant buildfil return creat project resourc code null code project creat protect java project creat project ant project node project node ant model project node final list javac node arrai list javac node javac node project node final java project result java project 1 final string project project field final file build file build file project locat field javac node size 1 set error messag data transfer messag string extern ant buildfil import page 20 non nl 1 return null workspac modifi oper op workspac modifi oper protect void execut progress monitor monitor throw core except list javac task resolv javac task javac node todo javactask throw core except project creator creator project creator iter iter javac task iter iter javac javac task javac iter java project java project creator creat java project javac node project javac task import build file monitor java project path build file result 0 java project run project creation oper try contain run true true op catch interrupt except return null catch invoc target except step result core except throwabl target except instanceof core except error dialog open error shell data transfer messag string extern ant buildfil import page 21 non nl 1 null core except statu return result 0 ijavaproject createproject antprojectnod projectnod fantmodel getprojectnod javacnod arraylist getjavacnod javacnod projectnod ijavaproject ijavaproject projectnam getprojectnamefieldvalu buildfil getbuildfil getprojectlocationfieldvalu javacnod seterrormessag datatransfermessag getstr externalantbuildfileimportpag workspacemodifyoper workspacemodifyoper iprogressmonitor coreexcept javactask resolvejavactask javacnod coreexcept projectcr projectcr javactask hasnext javactask ijavaproject javaproject createjavaprojectfromjavacnod projectnam javactask importbuildfil javaproject getpath buildfil javaproject getcontain interruptedexcept invocationtargetexcept gettargetexcept coreexcept errordialog openerror getshel datatransfermessag getstr externalantbuildfileimportpag coreexcept getstatu protect void import build file progress monitor monitor path dest path file build file import structur provid structur provid file system structur provid instanc list file arrai list 1 file add build file file root dir build file parent file try import oper op import oper dest path root dir structur provid import overwrit queri file op set creat contain structur fals op run monitor catch interrupt except happen catch invoc target except throwabl target except instanceof core except error dialog open error shell data transfer messag string extern ant buildfil import page 22 non nl 1 null core except statu importbuildfil iprogressmonitor ipath destpath buildfil iimportstructureprovid structureprovid filesystemstructureprovid arraylist buildfil rootdir buildfil getparentfil importoper importoper destpath rootdir structureprovid importoverwritequeri setcreatecontainerstructur interruptedexcept invocationtargetexcept gettargetexcept coreexcept errordialog openerror getshel datatransfermessag getstr externalantbuildfileimportpag coreexcept getstatu privat list resolv javac task list javac node list resolv javac task arrai list javac node size iter node javac node iter node ant task node task node ant task node node task javac task task node task javac task instanceof unknown element unknown element javac task real thing null javac task mayb configur resolv javac task add unknown element javac task real thing resolv javac task add javac task return resolv javac task resolvejavactask javacnod resolvedjavactask arraylist javacnod javacnod hasnext anttasknod tasknod anttasknod javactask tasknod gettask javactask unknownel unknownel javactask getrealth javactask maybeconfigur resolvedjavactask unknownel javactask getrealth resolvedjavactask javactask resolvedjavactask org eclips ant intern ui editor outlin locat provid locat public path locat return path build file absolut path ilocationprovid getloc ipath getloc buildfil getabsolutepath privat ant model ant model final file build file document doc document build file doc null return null ant model model ant model xml core default doc null locat provid null non javadoc org eclips ant intern ui editor outlin locat provid locat public path locat return path build file absolut path model reconcil null return model antmodel getantmodel buildfil idocu getdocu buildfil antmodel antmodel xmlcore getdefault locationprovid ilocationprovid getloc ipath getloc buildfil getabsolutepath privat document document file build file input stream try file input stream build file catch file found except return null string initi content stream content string return document initi content idocu getdocu buildfil inputstream fileinputstream buildfil filenotfoundexcept initialcont getstreamcontentasstr initialcont privat string stream content string input stream input stream input stream reader reader try reader input stream reader input stream resourc plugin encod catch unsupport encod except antui plugin log return non nl 1 return reader content string buffer reader reader getstreamcontentasstr inputstream inputstream inputstreamread inputstreamread inputstream resourcesplugin getencod unsupportedencodingexcept antuiplugin getreadercontentasstr bufferedread privat string reader content string buffer reader buffer reader string buffer result string buffer try string line buffer reader read line line null result length 0 result append non nl 1 result append line line buffer reader read line catch io except antui plugin log return null return result string getreadercontentasstr bufferedread bufferedread stringbuff stringbuff bufferedread readlin bufferedread readlin ioexcept antuiplugin tostr privat void javac node list javac node ant element node parent parent children return list children parent child node iter iter children iter iter ant element node node ant element node iter node instanceof ant target node javac node javac node node node instanceof ant task node ant task node task ant task node node task javac non nl 1 javac node add task getjavacnod javacnod antelementnod haschildren getchildnod hasnext antelementnod antelementnod anttargetnod getjavacnod javacnod anttasknod anttasknod anttasknod getnam javacnod public void set visibl boolean visibl super set visibl visibl visibl locat path field set focu setvis setvis locationpathfield setfocu public java project creat java project javac node string project javac javac task throw core except java project java project creat java project project file dest dir javac task destdir string dest dir dest dir org apach tool ant type path sourc dir javac task srcdir creat sourc directori dest dir dest dir sourc dir java project add rt jar add variabl entri java project path java runtim jrelib variabl path java runtim jresrc variabl path java runtim jresrcroot variabl set classpath javac task java project java project project refresh local resourc depth infinit null return java project ijavaproject createjavaprojectfromjavacnod projectnam javactask coreexcept ijavaproject javaproject createjavaproject projectnam destdir javactask getdestdir destdirnam destdir getnam sourcedir javactask getsrcdir createsourcedirectori destdir destdirnam sourcedir javaproject addvariableentri javaproject javaruntim jrelib_variabl javaruntim jresrc_variabl javaruntim jresrcroot_variabl setclasspath javactask javaproject javaproject getproject refreshloc iresourc depth_infinit javaproject privat void set classpath javac javac task java project java project throw java model except org apach tool ant type path classpath javac task classpath classpath null return string classpath classpath list int 0 classpath length string cp classpath file classpath entri file cp add librari java project path classpath entri absolut path setclasspath javactask ijavaproject javaproject javamodelexcept javactask getclasspath classpathentri addlibrari javaproject classpathentri getabsolutepath privat void creat sourc directori file dest dir string dest dir org apach tool ant type path sourc dir java project java project throw core except creat sourc directori string sourc directori sourc dir list int 0 sourc directori length string src dir sourc directori file src directori file src dir add sourc contain java project src directori src dir dest dir dest dir absolut path createsourcedirectori destdir destdirnam sourcedir ijavaproject javaproject coreexcept sourcedirectori sourcedir sourcedirectori srcdir sourcedirectori srcdirectori srcdir addsourcecontain javaproject srcdirectori getnam srcdir destdirnam destdir getabsolutepath privat java project creat java project string project throw core except workspac root root resourc plugin workspac root project project root project project project exist project creat null project refresh local resourc depth infinit null project open project open null project natur java core natur id add natur project project java core natur id java project jproject java core creat project jproject set raw classpath classpath entri 0 null return jproject ijavaproject createjavaproject projectnam coreexcept iworkspaceroot resourcesplugin getworkspac getroot iproject getproject projectnam refreshloc iresourc depth_infinit isopen hasnatur javacor natur_id addnaturetoproject javacor natur_id ijavaproject javacor setrawclasspath iclasspathentri privat void add natur project project proj string natur id throw core except project descript descript proj descript string prev natur descript natur id string natur string prev natur length 1 system arraycopi prev natur 0 natur 0 prev natur length natur prev natur length natur id descript set natur id natur proj set descript descript null addnaturetoproject iproject natureid coreexcept iprojectdescript getdescript prevnatur getnatureid newnatur prevnatur prevnatur newnatur prevnatur newnatur prevnatur natureid setnatureid newnatur setdescript add sourc contain java project privat packag fragment root add sourc contain java project jproject string src string src path string output string output path throw core except project project jproject project contain contain null src null src length 0 contain project folder folder project folder src folder exist folder creat link path src path resourc allow miss local null contain folder packag fragment root root jproject packag fragment root contain folder output null output null output project folder output output exist output creat link path output path resourc allow miss local null classpath entri cpe java core sourc entri root path path 0 output full path add classpath jproject cpe return root ijavaproject ipackagefragmentroot addsourcecontain ijavaproject srcname srcpath outputnam outputpath coreexcept iproject getproject icontain srcname srcname ifold getfold srcname createlink srcpath iresourc allow_miss_local ipackagefragmentroot getpackagefragmentroot ifold outputnam getfold outputnam createlink outputpath iresourc allow_miss_local iclasspathentri javacor newsourceentri getpath ipath getfullpath addtoclasspath privat void add classpath java project jproject classpath entri cpe throw java model except classpath entri entri jproject raw classpath int 0 entri length entri equal cpe return int entri entri length classpath entri entri classpath entri entri 1 system arraycopi entri 0 entri 0 entri entri entri cpe jproject set raw classpath entri null addtoclasspath ijavaproject iclasspathentri javamodelexcept iclasspathentri oldentri getrawclasspath oldentri oldentri nentri oldentri iclasspathentri newentri iclasspathentri nentri oldentri newentri nentri newentri nentri setrawclasspath newentri add variabl entri sourc attach java project path resolv privat void add variabl entri java project jproject path path path sourc attach path path sourc attach root throw java model except classpath entri cpe java core variabl entri path sourc attach path sourc attach root add classpath jproject cpe path resolv path java core resolv variabl path path resolv path null jproject packag fragment root resolv path string ijavaproject addvariableentri ijavaproject ipath ipath sourceattachpath ipath sourceattachroot javamodelexcept iclasspathentri javacor newvariableentri sourceattachpath sourceattachroot addtoclasspath ipath resolvedpath javacor getresolvedvariablepath resolvedpath getpackagefragmentroot resolvedpath tostr add librari entri sourc attchment java project privat void add librari java project jproject path path throw java model except classpath entri cpe java core librari entri path null null add classpath jproject cpe jproject packag fragment root path string ijavaproject addlibrari ijavaproject ipath javamodelexcept iclasspathentri javacor newlibraryentri addtoclasspath getpackagefragmentroot tostr privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat antdtd messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name antdtdmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept public static final int attribut 1 return atom public string getnam public string return atom public string string getnam tostr return attribut type cdata id idref idref nmtoken nmtoken entiti entiti notat enumer type intern compar constant notat enumer code enum code return list valu getenum return string null type notat enumer public string enum return element attribut defin public element element getenum ielement getel public element element return default null public string default ielement getel getdefault public string default return true default fix public boolean fix getdefault isfix public boolean fix return true attribut requir fals option public boolean requir isfix isrequir public interfac dfm return true symbol requir boolean accept idfm isaccept symbol repres accept return dfm appli child symbol return null symbol repres namespac pair accept return dfm appli child symbol return null symbol repres accept code advanc code return atom return null return symbol code advanc code return dfm symbol advanc dfm symbol return empti arrai code code code empti code disambigu case isani isempti return symbol code advanc code return dfm symbol advanc dfm symbol return null code code code empti code disambigu case isani isempti return true dfm accept symbol return fals interfac keep dfm need schema knowledg process dfm element schema look element dfm return true dfm reject symbol code advanc code return null fals includ complet element dfm regardless type return true element referenc schema defin public boolean undefin return true element model code pcdata code public boolean text isundefin istext public boolean text return true element model empti public boolean empti istext isempti public boolean empti return true element model public boolean isempti isani return element content model content model empti code text code code code code empti code note content model deal child element code mix code text allow istext isani isempti ismix return dfm content model element dfm return map attribut qname kei attr valu element attribut map empti map modifi caller perform reason copi iattr public static final int unbound integ max return sequenc choic leaf public int kind max_valu getkind public int kind return 0 1 public int min occur getkind getminoccur public int min occur return 1 unbound public int max occur getminoccur getmaxoccur return sequenc choic return arrai model undefin public model content return leaf return atom undefin public atom leaf imodel getcont iatom getleaf return sequenc choic return undefin print model public string oper return print model public string qualifi getoper getqualifi public string qualifi convert content model string represent public string string rep getqualifi stringrep convert model nfm demand return nfm find element param qname element return element null element element element string qname return element visibl element element element ielement getel ielement ielement getel return except thrown parser schema built code null code note except necessarili mean schema incomplet constructor pars error param msg messag public pars error string msg super msg parseerror parseerror pars xml document input sourc return document walker valid document dtd intern extern provid user assist document param input sourc sourc xml document start dtd pars doctyp declar intern extern subset param entiti resolv entiti resolv null return schema document throw pars error support pars error throw io except public schema pars input sourc input sourc entiti resolv entiti resolv throw pars error io except xml reader parser null schema factori factori schema factori try parser getxml reader decl handler handler factori parser set properti http xml org sax properti declar handler handler non nl 1 entiti resolv null parser set entiti resolv entiti resolv parser pars input sourc catch sax recogn except throw pars error support catch sax support except throw pars error support catch sax except don care error xml fall pars fail dtd incomplet schema schema factori set error except return factori schema inputsourc entityresolv entityresolv parseerror not_support pars_error ioexcept ischema inputsourc inputsourc entityresolv entityresolv parseerror ioexcept xmlreader schemafactori schemafactori getxmlread declhandl setproperti entityresolv setentityresolv entityresolv inputsourc saxnotrecognizedexcept parseerror not_support saxnotsupportedexcept parseerror not_support saxexcept seterrorexcept getschema privat xml reader getxml reader throw pars error sax parser parser null try parser sax parser factori instanc newsax parser return parser getxml reader catch parser configur except throw pars error messag catch sax except throw pars error messag xmlreader getxmlread parseerror saxpars saxparserfactori newinst newsaxpars getxmlread parserconfigurationexcept parseerror getmessag saxexcept parseerror getmessag pars xml document argument url return document walker valid document dtd intern extern provid user assist document param url xml document start dtd pars doctyp declar intern extern subset return walker travers document throw pars error support pars error throw io except public schema pars string url throw pars error io except return pars input sourc url null iwalk parseerror not_support pars_error ioexcept ischema parseerror ioexcept inputsourc pars xml document argument reader return document walker valid document dtd intern extern provid user assist document param reader reader xml document start dtd pars doctyp declar intern extern subset return walker travers document throw pars error support pars error throw io except public schema pars reader reader throw pars error io except return pars input sourc reader null iwalk parseerror not_support pars_error ioexcept ischema parseerror ioexcept inputsourc pars dtd public system id return document walker valid provid user assist document extern dtd intern subset param pub public id dtd param sy system id dtd param root plausibl root element qname will valid error prefer return walker travers document throw pars error support pars error throw io except public schema parsedtd string pub string sy string root throw pars error io except return pars input sourc dtd reader pub sy root null iwalk parseerror not_support pars_error ioexcept ischema parseerror ioexcept inputsourc dtdreader pars dtd reader return document walker valid provid user assist document extern dtd intern subset param reader reader extern subset dtd param root plausibl root element qname will valid error prefer return schema travers document throw pars error support pars error throw io except public schema parsedtd reader reader string root throw pars error io except return pars input sourc dtd reader intern intern root dtd entiti resolv reader ischema parseerror not_support pars_error ioexcept ischema parseerror ioexcept inputsourc dtdreader dtdentityresolv privat reader deleg public dtd reader string pub string sy string root string document doctyp root public pub sy root non nl 1 non nl 2 non nl 3 non nl 4 non nl 5 deleg string reader document fdeleg dtdreader fdeleg stringread java io reader close public void close throw io except deleg close ioexcept fdeleg java io reader read char int int public int read char cbuf int int len throw io except return deleg read cbuf len ioexcept fdeleg privat static class dtd entiti resolv implement entiti resolv privat reader reader public dtd entiti resolv reader reader reader reader dtdentityresolv entityresolv dtdentityresolv org xml sax entiti resolv resolv entiti java lang string java lang string public input sourc resolv entiti string public id string system id public id equal intern system id equal intern return input sourc reader return null entityresolv resolveent inputsourc resolveent publicid systemid publicid systemid inputsourc privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat antdtd schema messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name antdtdschemamessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept protect int kind protect atom int kind string kind kind name intern fkind fkind fname public string return getnam fname public string string return tostr fname constructor param attribut qname param element parent element public attribut string element element super attribut element element ielement felement org eclips ant intern ui dtd attribut type public string type return type iattribut gettyp gettyp ftype org eclips ant intern ui dtd attribut enum public string enum return enum iattribut getenum getenum fenum org eclips ant intern ui dtd attribut element public element element return element iattribut getel ielement getel felement org eclips ant intern ui dtd attribut default public string default return default iattribut getdefault getdefault fdefault org eclips ant intern ui dtd attribut fix public boolean fix return fix iattribut isfix isfix ffix org eclips ant intern ui dtd attribut requir public boolean requir return requir iattribut isrequir isrequir frequir public void set type string type type type settyp ftype set default param default valu public void set default string default default default defaultvalu setdefault defaultvalu fdefault defaultvalu set enumer param enumer enumer set public void set enum string enumer enum enumer setenum fenum set fix param fix fix set public void set fix boolean fix fix fix setfix ffix set requir param requir requir set public void set requir boolean requir requir requir setrequir frequir public static dfm dfm boolean accept dfm dfm free dfm accept accept return dfm protect dfm privat static dfm free dfm dfm dfm factori free dfm null dfm dfm dfm accept dfm empti dfm fals dfm id uniqu return dfm getfre public static dfm dfm atom accept dfm follow dfm dfm free dfm kei object 1 dfm kei 0 accept dfm valu object 1 dfm valu 0 follow return dfm iatom public static void free dfm dfm dfm set kei null dfm set valu null factori set free dfm setkei setvalu setfre public boolean accept return accept isaccept public dfm advanc string return empti return null kei null return null sort map map indirect string map dfm dfm dfm map free map map return dfm idfm sortedmap getindirectstringmap freemap public string accept kei null return string 0 string string kei length int 0 length kei string return getaccept tostr public dfm follow valu null return dfm 0 dfm dfm valu length system arraycopi valu 0 0 valu length return getfollow public void merg dfm accept accept sort map map indirect string map sort map othermap indirect string map map merg othermap free map map free map othermap sortedmap getindirectstringmap sortedmap getindirectstringmap freemap freemap public sort map map return indirect string map sortedmap getmap getindirectstringmap org eclips ant intern ui dtd util factori object public factori object return factoryobject factoryobject fnext org eclips ant intern ui dtd util factori object org eclips ant intern ui dtd util factori object public void factori object obj dfm obj factoryobject factoryobject factoryobject fnext org eclips ant intern ui dtd dfm public boolean return idfm isani isani org eclips ant intern ui dtd dfm empti public boolean empti return empti idfm isempti isempti public atom atom string object kei kei empti kei null return null sort map map indirect string map int index map kei index index 0 return null return atom kei index iatom getatom allkei getkei allkei sortedmap getindirectstringmap keyindex iatom allkei org eclips ant intern ui dtd dfm advanc java lang string java lang string public dfm advanc string namespac string localnam namespac support return advanc localnam idfm idfm constructor param element public element string super element qname set undefin properti param undefin fals defin true default public void set undefin boolean undefin undefin undefin setundefin fundefin set text properti param text true text fals default public void set text boolean text text text settext ftext set model properti param model dfm describ content model public void set content model model model model model setcontentmodel imodel fmodel add attribut attribut map param attribut attribut add public void add attribut attribut attribut map put attribut attribut addattribut iattribut fmap getnam org eclips ant intern ui dtd element attribut public map attribut return map ielement getattribut getattribut fmap org eclips ant intern ui dtd element mix public model content model return model ielement ismix imodel getcontentmodel fmodel org eclips ant intern ui dtd element text public boolean text return text ielement istext istext ftext org eclips ant intern ui dtd element undefin public boolean undefin return undefin ielement isundefin isundefin fundefin org eclips ant intern ui dtd element dfm public dfm dfm dfm dfm element dfm dfm null dfm pars element dfm element dfm dfm return dfm ielement getdfm idfm getdfm felementdfm parseelementdfm felementdfm privat dfm pars element dfm dfm dfm dfm dfm dfm true dfm true empti text dfm dfm dfm true dfm empti true dfm pars model model return dfm parseelementdfm fani fempti ftext parsemodel fmodel privat dfm pars model model model dfm dfm nfm nfm model nfm nfm null try dfm nfm parser pars nfm catch pars error place log error dfm dfm dfm fals dfm dfm dfm fals return dfm parsemodel imodel tonfm fnfmparser parseerror org eclips ant intern ui dtd element public boolean return ielement isani isani fani org eclips ant intern ui dtd element empti public boolean empti return empti ielement isempti isempti fempti set param set public void set boolean ani setani fani set empti param empti empti set public void set empti boolean empti empti empti setempti fempti protect static model empti content model 0 public model int kind kind kind imodel femptycont imodel fkind public model kind unknown fkind public void set kind int kind kind kind setkind fkind public void set min occur int min min min setminoccur fmin public void set max occur int max max max setmaxoccur fmax public void set content model content content content setcont imodel fcontent public void add model model model content null throw illeg except antdtd schema messag string model model chang non nl 1 content list null content list link list content list add model addmodel imodel fcontent illegalstateexcept antdtdschemamessag getstr model_mai_not_be_chang fcontentslist fcontentslist linkedlist fcontentslist public void set leaf atom leaf leaf leaf setleaf iatom fleaf privat nfm qualifi nfm nfm nfm nfm null return null min 1 max 1 return nfm min 0 max 1 return nfm question nfm min 0 max unbound return nfm star nfm min 1 max unbound return nfm nfm case reach dtd model max 0 return nfm nfm null max unbound return nfm unbound nfm min return nfm min max nfm min max qualifynfm fmin fmax fmin fmax getquest fmin fmax getstar fmin fmax getplu fmax getnfm fmax getunbound fmin getminmax fmin fmax public model shallow copi model copi model kind copi mix mix copi leaf leaf content null copi content list link list int 0 content length copi content list add content content list null copi content list link list iter content list iter copi content list add return copi shallowcopi getkind fmix fmix fleaf fleaf fcontent fcontentslist linkedlist fcontent fcontentslist fcontent fcontentslist fcontentslist linkedlist fcontentslist hasnext fcontentslist org eclips ant intern ui dtd model kind public int kind return 0 imodel getkind getkind org eclips ant intern ui dtd model min occur public int min occur return min imodel getminoccur getminoccur fmin org eclips ant intern ui dtd model max occur public int max occur return max imodel getmaxoccur getmaxoccur fmax org eclips ant intern ui dtd model content public model content model content refer time ineffici convert arrai content null content list null content model content list arrai model content list size content list null content empti content return content imodel getcont imodel getcont fcontent fcontentslist fcontent imodel fcontentslist toarrai imodel fcontentslist fcontentslist fcontent femptycont fcontent org eclips ant intern ui dtd model leaf public atom leaf return leaf imodel getleaf iatom getleaf fleaf org eclips ant intern ui dtd model oper public string oper return op kind imodel getoper getoper fop fkind public string string rep string buffer buf string buffer string rep buf return buf string stringrep stringbuff stringbuff stringrep tostr privat void string rep string buffer buf switch kind case model choic case model sequenc buf append iter content list iter model model model model string rep buf buf append oper buf append buf append qualifi break case model leaf atom atom leaf buf append atom break default buf append antdtd schema messag string model unknown 2 non nl 1 break stringrep stringbuff getkind imodel imodel fcontentslist hasnext stringrep hasnext getoper getqualifi imodel iatom getleaf getnam antdtdschemamessag getstr _2 org eclips ant intern ui dtd model qualifi public string qualifi return min 1 max unbound max unbound non nl 1 non nl 2 non nl 3 non nl 4 imodel getqualifi getqualifi fmin fmax fmax org eclips ant intern ui dtd model nfm public nfm nfm nfm nfm null switch kind case choic case sequenc model content content content null content length 0 nfm null nfm content 0 nfm int 1 content length nfm tmp content nfm kind sequenc nfm nfm comma nfm tmp nfm nfm nfm tmp break case leaf nfm nfm nfm leaf break return qualifi nfm nfm imodel tonfm tonfm fkind imodel getcont tonfm tonfm fkind getcomma getor getnfm fleaf qualifynfm privat nfm node stop public nfm node start return start nfmnode nfmnode getstart public nfm node stop return stop nfmnode getstop construct nfm pre start stop pre pictur box nfm node privat static nfm nfm atom nfm nfm free nfm stop nfm node nfm node nfm start nfm node nfm node nfm stop return nfm nfmnode iatom nfmnode nfmnode nfmnode nfmnode construct nfm wrap exist nfm pre start stop start stop pre privat static nfm nfm nfm nfm nfm free nfm start nfm node nfm node start nfm stop nfm node nfm node stop next1 nfm stop return nfm nfmnode nfmnode nfmnode nfmnode privat static nfm nfm nfm nfm free nfm start nfm node nfm node nfm stop nfm node nfm node return nfm nfmnode nfmnode nfmnode nfmnode public static nfm nfm atom return nfm getnfm iatom star exist nfm pre start stop start stop pre free public static nfm star nfm link stop next2 start nfm tmp nfm forward link tmp start next2 tmp stop free return tmp getstar question exist nfm x pre start stop start stop pre free public static nfm question nfm nfm tmp nfm forward link tmp start next2 tmp stop free return tmp getquest exist nfm x pre start stop start stop pre free public static nfm nfm link stop next2 start nfm tmp nfm free return tmp getplu exist nfm y pre start stop start stop start stop pre free public static nfm nfm nfm nfm tmp nfm tmp start next1 start tmp start next2 start stop next1 tmp stop stop next1 tmp stop free free return tmp getor comma exist nfm y re x stop transform start stop reset stop effici pre start stop stop start start stop pre free return modifi public static nfm comma nfm nfm stop next1 start next1 stop next2 start next2 stop symbol start symbol stop stop free return getcomma min exist nfm x 0 1 min 1 min free public static nfm unbound nfm int min min 0 return star min 1 return nfm last1 nfm last2 nfm int 2 min last1 comma last1 last2 free last2 last2 nfm free return comma last1 star last2 getunbound getstar getplu getcomma getcomma getstar min max exist nfm x 0 1 min 1 min max 1 free return public static nfm min max nfm int min int max max integ max return unbound min max 0 free return nfm atom null max 1 min 0 return question return nfm null int 0 min null nfm nfm tmp nfm comma tmp free tmp max null question nfm tmp question comma tmp free tmp ineffici failur sequenc x skip end try match free return getminmax max_valu getunbound iatom getquest getcomma getquest getquest getcomma org eclips ant intern ui dtd util factori object public factori object return factoryobject factoryobject fnext org eclips ant intern ui dtd util factori object org eclips ant intern ui dtd util factori object public void factori object obj nfm obj factoryobject factoryobject factoryobject fnext privat static factori factori factori privat static nfm free nfm nfm nfm factori free nfm null return nfm return nfm ffactori ffactori getfre return nfm public static void free nfm nfm nfm start nfm stop null factori set free nfm ffactori setfre factori set free nfm privat nfm ffactori setfre public int mark privat nfm node nfmnode public static nfm node nfm node atom symbol nfm node nfm node nfm free nfm symbol symbol nfm next1 return nfm nfmnode nfmnode iatom nfmnode nfmnode getfre public static nfm node nfm node nfm node nfm node nfm free nfm next1 return nfm nfmnode nfmnode nfmnode nfmnode getfre public static nfm node nfm node return free nfmnode nfmnode getfre free nfm node public static void free null factori object nfm us nfm set free nfm node nfm nfmnode freeall fuse factoryobject fuse fuse setfre nfmnode org eclips ant intern ui dtd util factori object public factori object return factoryobject factoryobject org eclips ant intern ui dtd util factori object org eclips ant intern ui dtd util factori object public void factori object obj nfm node obj factoryobject factoryobject factoryobject nfmnode privat static factori object null privat static nfm node free nfm node nfm nfm node factori free nfm null nfm nfm node nfm us nfm return nfm factoryobject fuse nfmnode getfre nfmnode nfmnode ffactori getfre nfmnode fuse fuse privat static void set free nfm node nfm nfm symbol null nfm next1 nfm next2 null nfm dfm null nfm mark 0 factori set free nfm setfre nfmnode ffactori setfre public dfm pars nfm nfm throw pars error pars nfm dfm dfm dfm pars start nfm start nfm stop list dfm graph arrai list dfm arrai list collect dfm dfm detect accept conflict hash map duplic hash map detect dfm duplic replac duplic dfm graph replac dfm duplic allow nfm memori re nfm free nfm nfm node free return dfm parseerror parsestart getstart getstop arraylist arraylist hashmap hashmap nfmnode freeall privat void report error string throw pars error throw pars error messag format format antdtd schema messag string nfm parser ambigu string non nl 1 reporterror parseerror parseerror messageformat antdtdschemamessag getstr nfmparser public static void collect dfm dfm list dfm dfm add dfm collect1 dfm dfm privat static void collect1 dfm dfm list dfm object follow dfm valu follow null int 0 follow length dfm follow dfm follow dfm follow dfm add follow collect1 follow dfm getvalu replac duplic dfm found conflict resolut privat void replac arrai list dfm hash map remov int 0 dfm size dfm dfm dfm dfm object follow dfm valu follow null int 0 follow length dfm replac follow dfm follow replac dfm remov follow null follow replac follow follow releas dfm re iter rit remov kei set iter rit dfm free dfm rit arraylist hashmap getvalu keyset hasnext detect conflict transit potenti conflict accept string actual conflict follow dfm ident actual ambigu transit atom follow dfm pairwis ident deriv rule bruggemann klein determin a ambigu b surpris committe transit ambigu remov affect languag accept convert epsilon free nfa dfa transit ambigu report error respons end note transit remov check disguis ambigu a a privat void detect arrai list dfm hash map duplic throw pars error iter iter dfm iter iter dfm dfm dfm iter object accept dfm kei object follow dfm valu accept null string null int 0 lasti 1 accept length string accept accept string accept string intern allow ident comparison null accept follow follow lasti check conflict conflict accept dfm follow lasti dfm follow accept lasti remov iter iter dfm iter iter dfm dfm dfm iter record conflict object accept dfm kei object follow dfm valu boolean remov fals accept null boolean remov boolean accept length string null int 0 lasti 1 accept length string accept accept string null accept remov true remov true follow follow lasti dfm dfmhi dfm follow dfm dfmlo dfm follow lasti dfmhi id dfmlo id dfm tmp dfmhi dfmhi dfmlo dfmlo tmp dfm dup dfm duplic dfmhi dup null dfmlo id dup id duplic put dfmhi dfmlo duplic put dfmlo dup accept lasti remov sort map map dfm map int 0 iter iter map kei iter iter iter remov iter remov sort map factori free map map arraylist hashmap parseerror hasnext getkei getvalu tostr checkconflict hasnext getkei getvalu tostr sortedmap getmap keyiter hasnext sortedmapfactori freemap check conflict report ambigu param conflict potenti ambigu privat void check conflict conflict conflict throw pars error conflict dfm1 accept conflict dfm2 accept report error conflict object accept1 conflict dfm1 kei object accept2 conflict dfm2 kei accept1 null accept2 null report error conflict accept1 null accept1 length accept2 length report error conflict int 0 accept2 length accept1 accept2 report error conflict checkconflict parseerror reporterror getkei getkei reporterror reporterror reporterror recurs pars visit node reachabl start symbol privat dfm pars start nfm node start nfm node accept mark start node dfm result dfm dfm fals start dfm result minim alia dfm mark start transfer link start next1 null start next2 null start symbol null start start next1 start dfm result dfm pars pars 1 start accept result merg pars dfm free pars return result parsestart nfmnode nfmnode privat void pars int mark dfm result nfm node start nfm node accept dfm pars pars mark 1 start accept result merg pars dfm free pars parsenext nfmnode nfmnode recurs pars visit node reachabl start symbol privat dfm pars int mark nfm node start nfm node accept elimin useless recurs note accept node branch start next1 null start next2 null start symbol null start start next1 reach accept node return empti dfm accept start accept return dfm dfm true symbol construct dfm accept symbol start symbol null dfm nextdfm null nfm node start next1 snext snext dfm null snext next1 null snext next2 null snext symbol null snext snext next1 snext dfm null nfm node snext n next1 dfm snext dfm nextdfm snext dfm nextdfm dfm dfm fals snext dfm nextdfm nfm node snext n next1 dfm nextdfm pars mark nextdfm snext accept dfm dfm dfm dfm start symbol nextdfm return dfm follow branch return combin result dfm dfm1 null dfm2 null int save mark start next1 null start next1 mark mark save mark start next1 mark start next1 mark mark dfm1 pars mark start next1 accept start next1 mark save mark start next2 null start next2 mark mark save mark start next2 mark start next2 mark mark dfm2 pars mark start next2 accept start next2 mark save mark dfm2 null dfm1 null dfm1 merg dfm2 dfm1 dfm2 return dfm1 nfmnode nfmnode nfmnode nfmnode nfmnode parsenext savemark savemark savemark savemark savemark public dfm dfm1 dfm2 public conflict string dfm dfm1 dfm dfm2 name dfm1 dfm1 dfm2 dfm2 dfm2 dfm2 public int hash code return dfm1 hash code dfm2 hash code hashcod hashcod hashcod public boolean equal object o return true instanceof conflict return fals conflict conflict return dfm1 dfm1 dfm2 dfm2 dfm1 dfm2 dfm2 dfm1 privat except error except org eclips ant intern ui dtd schema element java lang string public element element string qname return element element map qname ferrorexcept ischema getel ielement getel ielement felementmap org eclips ant intern ui dtd schema element public element element return element element map entri set arrai element element map entri set size ischema getel ielement getel ielement felementmap entryset toarrai ielement felementmap entryset add visibl element schema param element element add public void add element element element element map put element element addel ielement felementmap getnam set except thrown parser schema built note except necessarili mean schema incomplet param except public void set error except except error except seterrorexcept ferrorexcept org eclips ant intern ui dtd schema error except public except error except return error except ischema geterrorexcept geterrorexcept ferrorexcept constructor public schema factori schema schema schemafactori fschema return schema produc decl handler schema correct incomplet pars interrupt due valid form error public schema schema schema set error except error except return schema ischema declhandl ischema getschema fschema seterrorexcept ferrorexcept fschema org xml sax ext decl handler attribut decl java lang string java lang string java lang string java lang string java lang string public void attribut decl string string string type string default string element element element attribut attr attribut element attribut attr null attr attribut element element add attribut attr string enumer null type type attr set type type type start notat non nl 1 enumer pars valu type substr notat length 1 non nl 1 type strip surround parenthes type enumer pars valu type attr set enum enumer attr set requir default null default equal impli non nl 1 attr set fix default null default equal fix non nl 1 attr set default declhandl attributedecl attributedecl enam anam valuedefault getel enam getattribut anam anam addattribut ftype settyp startswith parsevalu stripsurroundingparenthes parsevalu setenum setrequir valuedefault valuedefault setfix valuedefault valuedefault setdefault strip surround parenthes code string code true fals true fals privat string strip surround parenthes string string string start non nl 1 string string substr 1 string end non nl 1 string string substr 0 string length 1 return string astr stripsurroundingparenthes astr astr startswith astr astr astr endswith astr astr astr astr param element return element schema element element schema return privat element element string element element element schema element element null element element schema add element element return element enam getel enam fschema getel enam enam fschema addel privat string pars valu string type char separ int start 0 po len type length link list valu link list start len po type index separ start po 0 po len string term type substr start po start po 1 valu add term return string valu arrai string valu size parsevalu linkedlist linkedlist indexof toarrai org xml sax ext decl handler element decl java lang string java lang string public void element decl string string model throw sax except element element element element undefin element defin error throw sax except messag format format antdtd schema messag string schema factori doubli defin string non nl 1 element element model equal non nl 1 element set true model equal empti non nl 1 element set empti true model equal pcdata non nl 1 element set text true element set content model pars model model declhandl elementdecl elementdecl saxexcept getel isundefin saxexcept messageformat antdtdschemamessag getstr schemafactori doubli_defin felement setani setempti settext setcontentmodel parsemodel convert model string model code element code variabl implicit argument method set code buf code code po code code len code parser method param model string dtd paramet entiti replac return model throw sax except syntax error detect model valid error dtd read parser valid hand bad content model need check privat model pars model string model throw sax except buf model char arrai len buf length buf 0 throw sax except messag format format antdtd schema messag string schema factori start left parenthesi string element non nl 1 boolean ortext model start pcdata non nl 1 ortext po 8 pcdata length po 0 model emodel scan expr return emodel imodel felement fbuf fpo flen imodel saxexcept imodel parsemodel saxexcept fbuf tochararrai flen fbuf fbuf saxexcept messageformat antdtdschemamessag getstr schemafactori start_with_left_parenthesi felement getnam startswith fpo fpo imodel scanexpr scan parenthes express start left parenthesi leftmost oper return model privat model scan expr throw sax except skip open po return scan expr scan element imodel imodel scanexpr saxexcept fpo scanexpr scanel scan parenthes express term hand param term operand express pre scan return model throw sax except error detect model privat model scan expr model term throw sax except check len buf po char op buf po op op throw sax except messag format format antdtd schema messag string schema factori expect oper parenthesi non nl 1 string element string buf model model model op model choic model sequenc model add model term term model buf po op po model scan element model add model buf po throw sax except messag format format antdtd schema messag string schema factori expect oper parenthesi non nl 1 string element string buf po return term imodel saxexcept imodel scanexpr imodel saxexcept checklen fbuf fpo fbuf fpo saxexcept messageformat antdtdschemamessag getstr schemafactori expect_oper_or_right_parenthesi felement getnam valueof fbuf imodel imodel addmodel fbuf fpo fpo imodel scanel addmodel fbuf fpo saxexcept messageformat antdtdschemamessag getstr schemafactori expect_oper_or_right_parenthesi felement getnam valueof fbuf fpo scan element parenthes express return model throw sax except privat model scan element throw sax except check len buf po return scan expr string buffer sb string buffer buf po buf po buf po buf po buf po buf po sb append buf po check len string sb string element element element model model model model leaf model set leaf element return model imodel saxexcept imodel scanel saxexcept checklen fbuf fpo scanexpr stringbuff stringbuff fbuf fpo fbuf fpo fbuf fpo fbuf fpo fbuf fpo fbuf fpo fbuf fpo checklen tostr getel imodel setleaf privat void check len throw sax except po len throw sax except messag format format antdtd schema messag string schema factori unexpect end non nl 1 string element string buf checklen saxexcept fpo flen saxexcept messageformat antdtdschemamessag getstr schemafactori unexpect_end felement getnam valueof fbuf org xml sax ext decl handler extern entiti decl java lang string java lang string java lang string public void extern entiti decl string string public id string system id declhandl externalentitydecl externalentitydecl publicid systemid org xml sax ext decl handler intern entiti decl java lang string java lang string public void intern entiti decl string string declhandl internalentitydecl internalentitydecl public void set error except except error except seterrorexcept ferrorexcept privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat antdtd util messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name antdtdutilmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept return object free list null public factori object free head head head factori object obj head obj null head obj obj null return obj factoryobject getfre gethead factoryobject add object free list public void set free factori object obj head head head obj head head obj setfre factoryobject gethead privat head head head head head free head null head need chang refer soft refer head need creat soft refer remov map list head get free object memori alloc list previous collect head head free soft refer head return head gethead softrefer softrefer softrefer public interfac factori object factori object factoryobject factoryobject factori object void factori object obj factoryobject factoryobject public interfac kei holder object kei ikeyhold getkei object kei void set kei object kei getkei setkei public interfac holder object valu ivaluehold getvalu object valu void set valu object valu getvalu setvalu org eclips ant intern ui dtd util kei holder kei public object kei return kei ikeyhold getkei getkei org eclips ant intern ui dtd util kei holder set kei java lang object public void set kei object kei kei kei ikeyhold setkei setkei org eclips ant intern ui dtd util holder valu public object valu return valu ivaluehold getvalu getvalu org eclips ant intern ui dtd util holder set valu java lang object public void set valu object valu valu valu ivaluehold setvalu setvalu privat sort map public sort map map holder holder compar comp holder holder set sort set holder comp sortedmap fnext sortedmap imaphold fholder fset sortedset public sort map compar comp set sort set comp sortedmap fset sortedset public sort map map holder holder holder holder set sort set holder sortedmap imaphold fholder fset sortedset public sort map set sort set sortedmap fset sortedset public void set map holder map holder holder holder holder set set kei holder holder setmaphold imaphold fholder fset setkeyhold public void set compar compar comp set set compar comp setcompar fset setcompar public boolean kei object kei return set kei containskei fset public boolean kei ident object kei return set ident kei containskeyident fset containsident public object put object kei object val object valu holder valu int index set index kei object result index 0 valu null valu index null int set intern add kei fals 0 intern put val return result fholder getvalu fset indexof fset internaladd internalput protect void intern put int object val object valu holder valu valu null valu object 1 valu 0 val return object tmp object valu length 1 system arraycopi valu 0 tmp 0 tmp val system arraycopi valu tmp 1 valu length holder set valu tmp internalput fholder getvalu fholder setvalu public int put object kei object val int set intern add kei true intern put val return putalwai fset internaladd internalput public void append object kei object val object valu holder valu int len valu null valu length 0 set intern add len kei intern put len val fholder getvalu fset internaladd internalput public object object kei object valu holder valu valu null return null int set index kei 0 return valu return null fholder getvalu fset indexof public object ident object kei object valu holder valu valu null return null int set index ident kei 0 return valu return null getident fholder getvalu fset indexofident public object kei return set member fset public object valu object valu holder valu valu null return object 0 return valu fholder getvalu public iter kei iter return arrai iter keyiter arrayiter public iter iter return arrai iter valueiter arrayiter privat int index public arrai iter index 1 findex arrayiter findex java util iter public boolean object arrai sort map holder kei arrai null return fals return index 1 arrai length hasnext hasnext sortedmap fholder getkei findex java util iter public object object arrai sort map holder kei arrai null throw illeg except antdtd util messag string sort map call empti arrai 1 non nl 1 return arrai index sortedmap fholder getkei illegalstateexcept antdtdutilmessag getstr sortedmap _call_for_empti_arrai_1 findex java util iter remov public void remov sort map remov index index sortedmap findex findex public void remov int object valu holder valu valu null throw illeg argument except messag format format antdtd util messag string sort map remov 0 empti map 2 string integ string non nl 1 set remov object tmp object valu length 1 system arraycopi valu 0 tmp 0 system arraycopi valu 1 tmp valu length 1 holder set valu tmp fholder getvalu illegalargumentexcept messageformat antdtdutilmessag getstr sortedmap _in_empti_map_2 tostr fset fholder setvalu public object remov object obj object valu holder valu valu null return null int set index obj 0 object tmp valu set remov remov return tmp return null fholder getvalu fset indexof fset public object remov ident object obj object valu holder valu valu null return null int set index ident obj 0 object tmp valu set remov remov return tmp return null removeident fholder getvalu fset indexofident fset public int size return set size fset public int kei index object kei return set index kei keyindex fset indexof public void merg sort map object valu holder valu object kei holder kei object othervalu holder valu object otherkei holder kei otherkei null return kei null holder set kei otherkei holder set valu othervalu return int ithi 0 iother 0 0 int mthi kei length mother otherkei length object ktmp object mthi mother object vtmp object mthi mother ithi mthi iother mother int comp set comp compar kei ithi otherkei iother comp 0 vtmp valu ithi ktmp kei ithi vtmp othervalu iother ktmp otherkei iother ithi mthi vtmp valu ithi ktmp kei ithi iother mother vtmp othervalu iother ktmp otherkei iother holder set kei ktmp holder set valu vtmp sortedmap fholder getvalu fholder getkei fholder getvalu fholder getkei fholder setkei fholder setvalu fset fcomp fholder setkei fholder setvalu public factori object return factoryobject fnext public void factori object next sort map factoryobject fnext sortedmap privat static class string compar implement compar java util compar compar object object public int compar object o1 object o2 return string o1 compar o2 stringcompar compareto privat static class indirect string compar implement compar java util compar compar object object public int compar object o1 object o2 return o1 string compar o2 string indirectstringcompar tostr compareto tostr public static sort map map map holder holder compar comp sort map map sort map factori free map null map sort map map set map holder holder map set compar comp return map sortedmap getmap imaphold sortedmap sortedmap ffactori getfre sortedmap setmaphold setcompar public static sort map string map map holder holder return map holder string comp sortedmap getstringmap imaphold getmap fstringcomp public static sort map indirect string map map holder holder return map holder indirect string comp sortedmap getindirectstringmap imaphold getmap findirectstringcomp public static sort map case insensit string map map holder holder return map holder string case insensit order sortedmap getcaseinsensitivestringmap imaphold getmap case_insensit_order public static void free map sort map map map set compar null map set map holder null factori set free map freemap sortedmap setcompar setmaphold ffactori setfre protect sort set public sort set kei holder holder compar comp comp comp kei holder holder sortedset fnext sortedset ikeyhold fcomp fkeyhold constructor keyhold suppli code set kei holder code prior ot i oper public sort set compar comp comp comp setkeyhold sortedset fcomp constructor compar ident oper perform set public sort set kei holder holder kei holder holder sortedset ikeyhold fkeyhold constructor compar ident oper perform set keyhold suppli code set kei holder code prior ot i oper public sort set setkeyhold sortedset public sort set public void set kei holder kei holder holder kei holder holder sortedset setkeyhold ikeyhold fkeyhold kei holder holder public void set compar compar comp comp comp fkeyhold setcompar fcomp add set duplic allow param obj object add return true object ad fals object set public boolean add object obj return intern add obj fals 0 internaladd protect int intern add object obj boolean object arrai kei holder kei arrai null arrai object 1 kei holder set kei arrai arrai 0 obj return 0 int 0 int comp 1 arrai length comp comp compar obj arrai 0 break comp 0 return 1 intern add obj return internaladd fkeyhold getkei fkeyhold setkei fcomp internaladd protect void intern add int object obj object arrai kei holder kei arrai null arrai object 1 arrai 0 obj kei holder set kei arrai object tmp object arrai length 1 system arraycopi arrai 0 tmp 0 tmp obj system arraycopi arrai tmp 1 arrai length kei holder set kei tmp internaladd fkeyhold getkei fkeyhold setkei fkeyhold setkei add allow duplic param obj object add return index object ad sort order public int add object obj return intern add obj true addalwai internaladd append variant add allow duplic put member end set set ident oper public void append object obj object arrai kei holder kei int len arrai null arrai length 0 intern add len obj fkeyhold getkei internaladd intern add len obj public boolean object obj return index obj 0 internaladd indexof public int index object obj object arrai kei holder kei arrai null return 1 int 0 arrai length int comp comp compar obj arrai comp 0 return comp 0 return 1 return 1 indexof fkeyhold getkei fcomp return 1 public boolean ident object obj return index obj 0 containsident indexof public int index ident object obj object arrai kei holder kei arrai null return 1 int 0 arrai length obj arrai return return 1 indexofident fkeyhold getkei public boolean equal object return true instanceof sort set return fals sort set sort set object arrai kei holder kei object otherarrai kei holder kei arrai null otherarrai null return fals arrai null return true arrai length otherarrai length return fals int 0 arrai length arrai otherarrai return fals return true sortedset sortedset sortedset fkeyhold getkei fkeyhold getkei public boolean equal identifi object return true instanceof sort set return fals sort set sort set object arrai kei holder kei object otherarrai kei holder kei arrai null otherarrai null return fals arrai null return true arrai length otherarrai length return fals int 0 arrai length comp compar arrai otherarrai 0 return fals return true equalsidentifi sortedset sortedset sortedset fkeyhold getkei fkeyhold getkei fcomp public void merg sort set object arrai kei holder kei object otherarrai kei holder kei otherarrai null return arrai null arrai otherarrai return int ithi 0 iother 0 0 int mthi arrai length mother otherarrai length object tmp object mthi mother ithi mthi iother mother int comp comp compar arrai ithi otherarrai iother comp 0 tmp arrai ithi tmp otherarrai iother ithi mthi tmp arrai ithi iother mother tmp otherarrai iother sortedset fkeyhold getkei fkeyhold getkei fcomp public object member object arrai kei holder kei arrai null return object 0 return arrai fkeyhold getkei return arrai public int size object arrai kei holder kei return arrai null 0 arrai length fkeyhold getkei public void remov int object arrai kei holder kei object tmp object arrai length 1 system arraycopi arrai 0 tmp 0 system arraycopi arrai 1 tmp arrai length 1 kei holder set kei tmp fkeyhold getkei fkeyhold setkei public boolean remov object obj int index obj 0 remov return true return fals indexof public boolean remov ident object obj int index ident obj 0 remov return true return fals removeident indexofident return fals public sort set set return sortedset getnextset fnext return public void set set sort set next fnext setnextset sortedset fnext privat ant editor proc instr scanner default scanner instruct scanner null instruct scanner ant editor proc instr scanner return instruct scanner anteditorprocinstrscann getdefaultscann instructionscann instructionscann anteditorprocinstrscann instructionscann privat ant editor tag scanner tag scanner tag scanner null tag scanner ant editor tag scanner return tag scanner anteditortagscann gettagscann tagscann tagscann anteditortagscann tagscann public present reconcil present reconcil sourc viewer sourc viewer present reconcil reconcil present reconcil reconcil set document partit configur document partit sourc viewer multilin damag repair dr multilin damag repair default scanner null reconcil set damag dr document default content type reconcil set repair dr document default content type dr multilin damag repair tag scanner null reconcil set damag dr ant editor partit scanner xml tag reconcil set repair dr ant editor partit scanner xml tag prefer store store antui plugin default prefer store int style swt normal store boolean ant editor color constant xml comment color ant editor prefer constant editor bold suffix style swt bold store boolean ant editor color constant xml comment color ant editor prefer constant editor ital suffix style swt ital xml comment attribut text attribut antui plugin prefer color ant editor color constant xml comment color null style damag repair multilin damag repair null xml comment attribut reconcil set damag damag repair ant editor partit scanner xml comment reconcil set repair damag repair ant editor partit scanner xml comment return reconcil ipresentationreconcil getpresentationreconcil isourceview sourceview presentationreconcil presentationreconcil setdocumentpartit getconfigureddocumentpartit sourceview multilinedamagerrepair multilinedamagerrepair getdefaultscann setdamag idocu default_content_type setrepair idocu default_content_type multilinedamagerrepair gettagscann setdamag anteditorpartitionscann xml_tag setrepair anteditorpartitionscann xml_tag ipreferencestor antuiplugin getdefault getpreferencestor getboolean ianteditorcolorconst xml_comment_color anteditorpreferenceconst editor_bold_suffix getboolean ianteditorcolorconst xml_comment_color anteditorpreferenceconst editor_ital_suffix xmlcommentattribut textattribut antuiplugin getpreferencecolor ianteditorcolorconst xml_comment_color damagerepair multilinedamagerrepair xmlcommentattribut setdamag damagerepair anteditorpartitionscann xml_comment setrepair damagerepair anteditorpartitionscann xml_comment prefer color chang updat default token scanner public void adapt prefer chang properti chang event event tag scanner null return properti chang editor fulli creat tag scanner adapt prefer chang event instruct scanner adapt prefer chang event string properti event properti properti start ant editor color constant xml comment color properti end ant editor prefer constant editor bold suffix adapt style chang event swt bold properti end ant editor prefer constant editor ital suffix adapt style chang event swt ital adapt color chang event damag repair set default text attribut xml comment attribut adapttopreferencechang propertychangeev tagscann tagscann adapttopreferencechang instructionscann adapttopreferencechang getproperti startswith ianteditorcolorconst xml_comment_color endswith anteditorpreferenceconst editor_bold_suffix adapttostylechang endswith anteditorpreferenceconst editor_ital_suffix adapttostylechang adapttocolorchang damagerepair setdefaulttextattribut xmlcommentattribut privat void adapt style chang properti chang event event int style attribut boolean event fals object event valu instanceof boolean event boolean boolean prefer store true equal event true boolean activ xml comment attribut style style attribut style attribut activ event xml comment attribut text attribut xml comment attribut foreground xml comment attribut background event xml comment attribut style style attribut xml comment attribut style style attribut adapttostylechang propertychangeev styleattribut eventvalu getnewvalu eventvalu booleanvalu ipreferencestor eventvalu activevalu xmlcommentattribut getstyl styleattribut styleattribut activevalu eventvalu xmlcommentattribut textattribut xmlcommentattribut getforeground xmlcommentattribut getbackground eventvalu xmlcommentattribut getstyl styleattribut xmlcommentattribut getstyl styleattribut updat text attribut token scanner color prefer chang privat void adapt color chang properti chang event event rgb rgb null object event valu instanceof rgb rgb rgb valu instanceof string rgb string convert asrgb string rgb null xml comment attribut text attribut color manag default color rgb xml comment attribut background xml comment attribut style adapttocolorchang propertychangeev getnewvalu stringconvert xmlcommentattribut textattribut colormanag getdefault getcolor xmlcommentattribut getbackground xmlcommentattribut getstyl public string configur content type sourc viewer sourc viewer return string document default content type ant editor partit scanner xml comment ant editor partit scanner xml tag ant editor partit scanner xml cdata getconfiguredcontenttyp isourceview sourceview idocu default_content_type anteditorpartitionscann xml_comment anteditorpartitionscann xml_tag anteditorpartitionscann xml_cdata org eclips jface text sourc sourc viewer configur tab width org eclips jface text sourc sourc viewer public int tab width sourc viewer sourc viewer return antui plugin default prefer store int abstract decor text editor prefer constant editor tab width sourceviewerconfigur gettabwidth isourceview gettabwidth isourceview sourceview antuiplugin getdefault getpreferencestor getint abstractdecoratedtexteditorpreferenceconst editor_tab_width public boolean affect text present properti chang event event string properti event properti return properti start ant editor color constant text color properti start ant editor color constant process instruct color properti start ant editor color constant string color properti start ant editor color constant tag color properti start ant editor color constant xml comment color affectstextpresent propertychangeev getproperti startswith ianteditorcolorconst text_color startswith ianteditorcolorconst process_instruct_color startswith ianteditorcolorconst string_color startswith ianteditorcolorconst tag_color startswith ianteditorcolorconst xml_comment_color org eclips jface text sourc sourc viewer configur configur document partit org eclips jface text sourc sourc viewer public string configur document partit sourc viewer sourc viewer return ant document setup particip ant partit sourceviewerconfigur getconfigureddocumentpartit isourceview getconfigureddocumentpartit isourceview sourceview antdocumentsetupparticip ant_partit privat int accumul chang 0 public ant auto indent strategi ant model model model model faccumulatedchang antautoindentstrategi antmodel fmodel set indent base ant element node offset document command param document param command deal privat synchron void auto indent line document document command offset 1 length 0 model project node fals null return int posit offset length offset 1 offset ant element node node model project node fals node posit accumul chang node null return try string buffer correct xml document formatt lead whitespac node offset node end tag offset correct append xml document formatt creat indent string buffer buf string buffer text buf append correct accumul chang buf length int line line offset posit region reg line inform line int line end reg offset reg length int content start find end white space offset line end length math max content start offset 0 caret offset offset buf length shift caret fals text buf string catch bad locat except antui plugin log autoindentafternewlin idocu documentcommand getlength fmodel getprojectnod getlength antelementnod fmodel getprojectnod getnod faccumulatedchang stringbuff xmldocumentformatt getleadingwhitespac getoffset nextnodeisendtag xmldocumentformatt createind stringbuff stringbuff faccumulatedchang getlineofoffset iregion getlineinform lineend getoffset getlength contentstart findendofwhitespac lineend contentstart caretoffset shiftscaret tostr badlocationexcept antuiplugin privat boolean node end tag int offset document document offset 1 document length return fals try region line region document line inform offset offset offset find end white space document offset line region offset line region length string char document offset 2 trim equal char equal char non nl 1 non nl 2 return true catch bad locat except return fals nextnodeisendtag idocu getlength iregion lineregion getlineinformationofoffset findendofwhitespac lineregion getoffset lineregion getlength nextchar nextchar nextchar badlocationexcept public void custom document command document document command length 0 text null line delimit text auto indent line text length 1 smart past customizedocumentcommand idocu documentcommand islinedelimit autoindentafternewlin smartpast privat boolean line delimit document document string text string delimit document legal line delimit delimit null return text util equal delimit text 1 return fals islinedelimit idocu getlegallinedelimit textutil public synchron void reconcil accumul chang 0 faccumulatedchang privat void smart past document document document command command try command offset 1 document length 0 model project node fals null return string orig chang command text int posit command offset document length command offset 1 command offset ant element node node model project node fals node posit accumul chang node null return eat ws insert begin line int line 1 don format line content region line document line inform offset command offset string select document line offset command offset line offset select trim length 0 command length select length command offset line offset line 0 handl indent comput insid temporari document document temp document command text indent line comput rel indent differ line partial select indent line boolean indent detect fals string buffer addit string buffer int insert length 0 int line temp number line int line line don chang number line ad indent region temp line inform int line offset offset int line length length line length 0 don modifi empti line continu indent detect indent past line string buffer current xml document formatt lead whitespac line offset temp string buffer correct xml document formatt lead whitespac node offset document correct append xml document formatt creat indent insert length subtract indent correct current addit indent detect true indent past line insert length 0 add indent temp addit insert length 0 cut indent temp insert length modifi command orig chang equal temp accumul chang temp length command text temp catch bad locat except antui plugin log smartpast idocu documentcommand getlength fmodel getprojectnod origchang getlength antelementnod fmodel getprojectnod getnod faccumulatedchang firstlin iregion getlineinformationofoffset notselect getoffset getoffset notselect notselect getoffset firstlin isindentdetect stringbuff stringbuff insertlength getnumberoflin firstlin iregion getlineinform lineoffset getoffset linelength getlength linelength isindentdetect stringbuff xmldocumentformatt getleadingwhitespac lineoffset stringbuff xmldocumentformatt getleadingwhitespac getoffset xmldocumentformatt createind insertlength subtractind isindentdetect insertlength addind insertlength cutind insertlength origchang faccumulatedchang getlength badlocationexcept antuiplugin indent line code line code code document code code indent code leav lead comment sign param document document param line line param indent indent insert throw bad locat except concurr document modif privat void add indent document document int line char sequenc indent throw bad locat except region region document line inform line int insert region offset insert indent document replac insert 0 indent string badlocationexcept addind charsequ badlocationexcept iregion getlineinform getoffset tostr cut visual equival code delet code charact indent line code line code code document code param document document param line line param delet number space equival delet throw bad locat except concurr document modif privat void cut indent document document int line int delet throw bad locat except region region document line inform line int region offset int end offset region offset region length int delet 0 end offset char ch document char charact whitespac ch break delet comput visual length ch delet 0 break document replac null todelet todelet badlocationexcept cutind todelet badlocationexcept iregion getlineinform getoffset endoffset getoffset getlength todelet endoffset getchar iswhitespac todelet computevisuallength todelet return visual length charact take account visual tabul length param ch charact measur return visual length code ch code privat int comput visual length char ch ch return visual tab length prefer return 1 computevisuallength getvisualtablengthprefer return visual length code char sequenc code take account visual tabul length param seq string measur return visual length code seq code privat int comput visual length char sequenc seq int size 0 int tablen visual tab length prefer int 0 seq length char ch seq char ch size tablen size tablen size return size charsequ computevisuallength charsequ getvisualtablengthprefer charat comput differ indent return differ length current correct return posit code addit code initi substr length code correct code param correct correct indent param current current indent non whitespac param differ string buffer return posit clear set substr code current code length return differ length code correct code code current code privat int subtract indent char sequenc correct char sequenc current string buffer differ int c1 comput visual length correct int c2 comput visual length current int diff c1 c2 diff 0 return diff differ set length 0 int len 0 0 len diff char correct char differ append len comput visual length return diff subtractind charsequ charsequ stringbuff computevisuallength computevisuallength setlength charat computevisuallength prefer set visual tabul displai return number space displai tabul editor privat int visual tab length prefer return antui plugin default prefer store int abstract decor text editor prefer constant editor tab width getvisualtablengthprefer antuiplugin getdefault getpreferencestor getint abstractdecoratedtexteditorpreferenceconst editor_tab_width creat ant complet propos field initi base provid inform param replac string actual string insert document param replac offset offset text replac param replac length length text replac param cursor posit posit cursor insert rel replac offset param imag imag displai propos param displai string string displai propos param addit propos info addit inform propos param type type propos public ant complet propos string replac string int replac offset int replac length int cursor posit imag imag string displai string string addit propos info int type replac string replac string replac offset replac offset replac length replac length cursor posit cursor posit imag imag displai string displai string addit propos info addit propos info type type replacementstr replacementoffset replacementlength cursorposit replacementoffset displaystr additionalproposalinfo antcompletionpropos replacementstr replacementoffset replacementlength cursorposit displaystr additionalproposalinfo freplacementstr replacementstr freplacementoffset replacementoffset freplacementlength replacementlength fcursorposit cursorposit fimag fdisplaystr displaystr fadditionalproposalinfo additionalproposalinfo ftype org eclips jface text contentassist complet propos extens2 appli org eclips jface text text viewer char int int public void appli text viewer viewer char trigger int mask int offset appli viewer document icompletionproposalextens2 itextview itextview statemask getdocu org eclips jface text contentassist complet propos extens2 select org eclips jface text text viewer boolean public void select text viewer viewer boolean smart toggl icompletionproposalextens2 itextview itextview smarttoggl org eclips jface text contentassist complet propos extens2 unselect org eclips jface text text viewer public void unselect text viewer viewer icompletionproposalextens2 itextview itextview public boolean valid document document int offset document event event string enter text non nl 1 try enter text document replac offset offset replac offset catch bad locat except int enter length enter text length type task propos enter text start non nl 1 enter text enter text substr 1 type properti propos enter text start non nl 1 enter text enter text substr 2 enter text start non nl 1 enter text enter text substr 1 type tag close propos enter text start non nl 1 enter text enter text substr 2 enter text start non nl 1 try document char replac offset 1 enter text enter text substr 1 catch bad locat except enter text start non nl 1 enter text enter text substr 1 boolean valid displai string lower case start enter text lower case valid replac length enter length return valid idocu documentev enteredtext enteredtext freplacementoffset freplacementoffset badlocationexcept enteredlength enteredtext ftype task_propos enteredtext startswith enteredtext enteredtext ftype properti_propos enteredtext startswith enteredtext enteredtext enteredtext startswith enteredtext enteredtext ftype tag_close_propos enteredtext startswith enteredtext enteredtext enteredtext startswith getchar freplacementoffset enteredtext enteredtext badlocationexcept enteredtext startswith enteredtext enteredtext fdisplaystr tolowercas startswith enteredtext tolowercas freplacementlength enteredlength public void appli document document try document replac replac offset replac length replac string catch bad locat except ignor idocu freplacementoffset freplacementlength freplacementstr badlocationexcept org eclips jface text contentassist complet propos select org eclips jface text document public point select document document return point replac offset cursor posit 0 icompletionpropos getselect idocu getselect idocu freplacementoffset fcursorposit org eclips jface text contentassist complet propos addit propos info public string addit propos info return addit propos info icompletionpropos getadditionalproposalinfo getadditionalproposalinfo fadditionalproposalinfo public string displai string displai string null return displai string return replac string getdisplaystr fdisplaystr fdisplaystr freplacementstr org eclips jface text contentassist complet propos imag public imag imag return imag icompletionpropos getimag getimag fimag org eclips jface text contentassist complet propos context inform public context inform context inform return null icompletionpropos getcontextinform icontextinform getcontextinform java lang object string public string string return displai string tostr tostr getdisplaystr return return type complet propos public int type return type gettyp ftype instal select chang listen select provid select provid post select provid post select chang event prefer choic normal select chang event request param select provid public void instal select provid select provid select provid null return select provid instanceof post select provid post select provid provid post select provid select provid provid add post select chang listen select provid add select chang listen selectionprovid iselectionprovid selectionprovid selectionprovid selectionprovid ipostselectionprovid ipostselectionprovid ipostselectionprovid selectionprovid addpostselectionchangedlisten selectionprovid addselectionchangedlisten remov select chang listen select provid param select providerstyl public void uninstal select provid select provid select provid null return select provid instanceof post select provid post select provid provid post select provid select provid provid remov post select chang listen select provid remov select chang listen selectionproviderstyl iselectionprovid selectionprovid selectionprovid selectionprovid ipostselectionprovid ipostselectionprovid ipostselectionprovid selectionprovid removepostselectionchangedlisten selectionprovid removeselectionchangedlisten public void select chang select chang event event ant model model ant model model null extern file return select select event select ant element node node null select instanceof text select text select text select text select select int offset text select offset node model node offset fals antui plugin default prefer store boolean antui prefer constant outlin link editor synchron outlin page node true set select node fals selectionchang selectionchangedev antmodel getantmodel iselect getselect antelementnod itextselect itextselect textselect itextselect textselect getoffset getnod antuiplugin getdefault getpreferencestor getboolean iantuipreferenceconst outlin_link_with_editor synchronizeoutlinepag setselect privat line tracker line tracker public void set number space tab int ratio tab ratio ratio ilinetrack flinetrack setnumberofspacespertab ftabratio public void set line tracker line tracker line tracker line tracker line tracker setlinetrack ilinetrack linetrack flinetrack linetrack privat int insert tab string string buffer buffer int offset line tab ratio 0 return 0 int remaind offset line tab ratio remaind tab ratio remaind int 0 remaind buffer append return remaind inserttabstr stringbuff offsetinlin ftabratio offsetinlin ftabratio ftabratio public void custom document command document document document command command string text command text text null return int index text index index 1 string buffer buffer string buffer line tracker set command text int line line tracker number line try int 0 line int offset line tracker line offset int end offset offset line tracker line length string line text substr offset end offset int posit 0 0 region line document line inform offset command offset posit command offset line offset int length line length int 0 length char line char posit insert tab string buffer posit buffer append posit command text buffer string catch bad locat except customizedocumentcommand idocu documentcommand indexof stringbuff stringbuff flinetrack flinetrack getnumberoflin flinetrack getlineoffset endoffset flinetrack getlinelength endoffset iregion firstlin getlineinformationofoffset firstlin getoffset charat inserttabstr tostr badlocationexcept privat boolean ignor text convert fals public statu line sourc viewer composit composit vertic ruler vertic ruler overview ruler overview ruler int style super composit vertic ruler overview ruler overview ruler visibl style fignoretextconvert statuslinesourceview iverticalrul verticalrul ioverviewrul overviewrul verticalrul overviewrul isoverviewrulervis public void oper int oper text widget null redraw return switch oper case contentassist propos string msg content assist show complet set statu line error messag msg return case undo ignor text convert true break case redo ignor text convert true break super oper oper dooper gettextwidget contentassist_propos fcontentassist showpossiblecomplet setstatuslineerrormessag fignoretextconvert fignoretextconvert dooper public void set text convert tab convert tab convert tab convert tab convert settextconvert tabconvert tabconvert ftabconvert tabconvert public void updat indent prefix sourc viewer configur configur sourc viewer configur string type configur configur content type int 0 type length string prefix configur indent prefix type prefix null prefix length 0 set indent prefix prefix type updateindentationprefix sourceviewerconfigur getsourceviewerconfigur getconfiguredcontenttyp getindentprefix setindentprefix protect void custom document command document command command super custom document command command ignor text convert tab convert null tab convert custom document command document command ignor text convert fals customizedocumentcommand documentcommand customizedocumentcommand fignoretextconvert ftabconvert ftabconvert customizedocumentcommand getdocu fignoretextconvert protect select chang listen select chang listen select chang listen public void select chang select chang event event select chang event iselectionchangedlisten fselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev doselectionchang public void document model chang document model chang event event event prefer chang updat editor imag documentmodelchang documentmodelchangeev ispreferencechang updateeditorimag public ant editor super set sourc viewer configur ant editor sourc viewer configur set document provid ant editor document provid xml core default xml core default add document model listen document model listen anteditor setsourceviewerconfigur anteditorsourceviewerconfigur setdocumentprovid anteditordocumentprovid xmlcore getdefault xmlcore getdefault adddocumentmodellisten fdocumentmodellisten protect void creat action super creat action resourc bundl bundl resourc bundl bundl org eclips ant intern ui editor ant editor messag non nl 1 action action content assist action bundl content assist propos non nl 1 action definit acceler ctrl space action set action definit id text editor action definit id content assist propos set action content assist propos action non nl 1 action text oper action bundl content format sourc viewer format non nl 1 action set action definit id java editor action definit id format set action content format action non nl 1 todo set help workbench help set help action java help context id format action createact createact resourcebundl resourcebundl getbundl anteditormessag iaction contentassistact contentassistpropos setactiondefinitionid itexteditoractiondefinitionid content_assist_propos setact contentassistpropos textoperationact contentformat isourceview setactiondefinitionid ijavaeditoractiondefinitionid setact contentformat workbenchhelp sethelp ijavahelpcontextid format_action protect void initi editor super initi editor set prefer store creat combin prefer store set compat mode fals set help context id antui help context id ant editor initializeeditor initializeeditor setpreferencestor createcombinedpreferencestor setcompatibilitymod sethelpcontextid iantuihelpcontextid ant_editor public object adapt class kei kei equal content outlin page class return outlin page return super adapt kei getadapt icontentoutlinepag getoutlinepag getadapt privat ant editor content outlin page outlin page outlin page null outlin page ant editor content outlin page xml core default outlin page add post select chang listen select chang listen set outlin page input editor input return outlin page anteditorcontentoutlinepag getoutlinepag foutlinepag foutlinepag anteditorcontentoutlinepag xmlcore getdefault foutlinepag addpostselectionchangedlisten fselectionchangedlisten setoutlinepageinput geteditorinput foutlinepag privat void select chang select chang event select chang event structur select select structur select select chang event select activ part antui plugin activ page null antui plugin activ page bring top ant element node select xml element ant element node select element select xml element null set select select xml element activ part doselectionchang selectionchangedev selectionchangedev istructuredselect istructuredselect selectionchangedev getselect isactivepart antuiplugin getactivepag antuiplugin getactivepag bringtotop antelementnod selectedxmlel antelementnod getfirstel selectedxmlel setselect selectedxmlel isactivepart privat boolean activ part workbench part part activ part return part null part equal isactivepart iworkbenchpart getactivepart privat void set select ant element node refer boolean move cursor refer null refer import node null refer refer import node refer extern return style text text widget null sourc viewer sourc viewer sourc viewer sourc viewer null text widget sourc viewer text widget text widget null return try int offset refer offset int length refer select length int high light length refer length offset 0 return text widget set redraw fals high light length 0 set highlight rang offset high light length move cursor move cursor return offset 1 length 0 sourc viewer reveal rang offset length select region begin index offset sourc viewer set select rang offset length catch illeg argument except antui plugin log final text widget null text widget set redraw true move cursor reset highlight rang setselect antelementnod movecursor getimportnod getimportnod isextern styledtext textwidget isourceview sourceview getsourceview sourceview textwidget sourceview gettextwidget textwidget getoffset getselectionlength highlightlength getlength textwidget setredraw highlightlength sethighlightrang highlightlength movecursor movecursor sourceview revealrang sourceview setselectedrang illegalargumentexcept antuiplugin textwidget textwidget setredraw movecursor resethighlightrang org eclips ui texteditor abstract text editor affect text present org eclips jface util properti chang event protect boolean affect text present properti chang event event return ant editor sourc viewer configur sourc viewer configur affect text present event abstracttexteditor affectstextpresent propertychangeev affectstextpresent propertychangeev anteditorsourceviewerconfigur getsourceviewerconfigur affectstextpresent protect void handl prefer store chang properti chang event event string properti event properti abstract decor text editor prefer constant editor tab width equal properti object event statu line sourc viewer viewer statu line sourc viewer sourc viewer instanceof integ viewer text widget set tab integ int valu instanceof string viewer text widget set tab integ pars int string return ant editor prefer constant editor space tab equal properti tab convers enabl start tab convers stop tab convers return ant editor sourc viewer configur sourc viewer configur ant editor sourc viewer configur sourc viewer configur affect text present event sourc viewer configur adapt prefer chang event sourc viewer configur chang configur event super handl prefer store chang event handlepreferencestorechang propertychangeev getproperti abstractdecoratedtexteditorpreferenceconst editor_tab_width getnewvalu statuslinesourceview statuslinesourceview getsourceview gettextwidget settab intvalu gettextwidget settab parseint anteditorpreferenceconst editor_space_for_tab istabconversionen starttabconvers stoptabconvers anteditorsourceviewerconfigur sourceviewerconfigur anteditorsourceviewerconfigur getsourceviewerconfigur affectstextpresent sourceviewerconfigur adapttopreferencechang sourceviewerconfigur changeconfigur handlepreferencestorechang org eclips ui editor text text editor set input org eclips ui editor input protect void set input editor input input throw core except super set input input set outlin page input input texteditor dosetinput ieditorinput dosetinput ieditorinput coreexcept dosetinput setoutlinepageinput privat void set outlin page input editor input input outlin page null document provid provid document provid provid instanceof ant editor document provid ant editor document provid document provid ant editor document provid provid ant model model document provid ant model input outlin page set page input model setoutlinepageinput ieditorinput foutlinepag idocumentprovid getdocumentprovid anteditordocumentprovid anteditordocumentprovid documentprovid anteditordocumentprovid antmodel documentprovid getantmodel foutlinepag setpageinput return ant model current editor input editor return ant model editor code null code public ant model ant model document provid provid document provid provid instanceof ant editor document provid ant editor document provid document provid ant editor document provid provid return document provid ant model editor input return null antmodel getantmodel idocumentprovid getdocumentprovid anteditordocumentprovid anteditordocumentprovid documentprovid anteditordocumentprovid documentprovid getantmodel geteditorinput org eclips ui texteditor abstract decor text editor creat annot access protect annot access creat annot access return annot access abstractdecoratedtexteditor createannotationaccess iannotationaccess createannotationaccess annotationaccess protect sourc viewer creat sourc viewer composit parent vertic ruler ruler int style overview ruler creat overview ruler share color sourc viewer viewer statu line sourc viewer parent ruler overview ruler style ensur decor support creat configur sourc viewer decor support viewer return viewer isourceview createsourceview iverticalrul foverviewrul createoverviewrul getsharedcolor isourceview statuslinesourceview getoverviewrul getsourceviewerdecorationsupport se messag error messag editor statu line param msg messag set protect void set statu line error messag string msg editor statu line statu line editor statu line adapt editor statu line class statu line null statu line set messag true msg null setstatuslineerrormessag ieditorstatuslin statuslin ieditorstatuslin getadapt ieditorstatuslin statuslin statuslin setmessag public void open refer element select select select provid select string error messag null select instanceof text select text select text select text select select string text text select text ant element node node ant model refer node text node null set select node true return string path ant model entiti path text path null file file ant util file locat path null file exist try open editor file activ part return catch part init except error messag local messag error messag null error messag ant editor messag string ant editor 3 non nl 1 set statu line error messag error messag site shell displai beep openreferenceel iselect getselectionprovid getselect errormessag itextselect itextselect textselect itextselect textselect gettext antelementnod getantmodel getreferencenod setselect getantmodel getentitypath ifil antutil getfileforloc openineditor isactivepart partinitexcept errormessag getlocalizedmessag errormessag errormessag anteditormessag getstr anteditor setstatuslineerrormessag errormessag getsit getshel getdisplai privat void open editor file file boolean activ throw part init except file null workbench page editor site page null id open editor file activ openineditor ifil partinitexcept iworkbenchpag geteditorsit getpag openeditor public void editor context menu show menu manag menu super editor context menu show menu action format action action content format non nl 1 format action null return format action enabl menu add format action editorcontextmenuabouttoshow imenumanag editorcontextmenuabouttoshow iaction formatact getact contentformat formatact formatact isen formatact privat void start tab convers tab convert null tab convert tab convert tab convert set line tracker default line tracker tab convert set number space tab tab size statu line sourc viewer viewer statu line sourc viewer sourc viewer viewer set text convert tab convert http dev eclips org bug show bug cgi id 19270 viewer updat indent prefix starttabconvers ftabconvert ftabconvert tabconvert ftabconvert setlinetrack defaultlinetrack ftabconvert setnumberofspacespertab gettabs statuslinesourceview statuslinesourceview getsourceview settextconvert ftabconvert show_bug updateindentationprefix privat void stop tab convers tab convert null statu line sourc viewer viewer statu line sourc viewer sourc viewer viewer set text convert null http dev eclips org bug show bug cgi id 19270 viewer updat indent prefix tab convert null stoptabconvers ftabconvert statuslinesourceview statuslinesourceview getsourceview settextconvert show_bug updateindentationprefix ftabconvert privat int tab size prefer store prefer prefer store return prefer int abstract decor text editor prefer constant editor tab width gettabs ipreferencestor getpreferencestor getint abstractdecoratedtexteditorpreferenceconst editor_tab_width public void creat part control composit parent super creat part control parent tab convers enabl start tab convers editor select chang listen editor select chang listen editor select chang listen instal select provid createpartcontrol createpartcontrol istabconversionen starttabconvers feditorselectionchangedlisten editorselectionchangedlisten feditorselectionchangedlisten getselectionprovid privat boolean tab convers enabl prefer store store prefer store return store boolean ant editor prefer constant editor space tab istabconversionen ipreferencestor getpreferencestor getboolean anteditorpreferenceconst editor_space_for_tab public void dispos super dispos editor select chang listen null editor select chang listen uninstal select provid editor select chang listen null xml core default remov document model listen document model listen feditorselectionchangedlisten feditorselectionchangedlisten getselectionprovid feditorselectionchangedlisten xmlcore getdefault removedocumentmodellisten fdocumentmodellisten public void save progress monitor monitor super save monitor ant model updat marker updat editor imag dosav iprogressmonitor dosav getantmodel updatemark updateeditorimag privat void updat editor imag imag titl imag titl imag titl imag null return ant project node node ant model project node node null post imag chang node updateeditorimag titleimag gettitleimag titleimag antprojectnod getantmodel getprojectnod postimagechang privat void updat initi reconcil ant model null return initi reconcil fals updat editor imag ant model updat initi reconcil updateforinitialreconcil getantmodel finitialreconcil updateeditorimag getantmodel updateforinitialreconcil shell displai async exec runnabl public void run site shell null site shell dispos return imag titl imag titl imag imag imag node imag titl imag imag set titl imag imag getdisplai asyncexec getsit getshel getsit getshel isdispos titleimag gettitleimag newimag getimag titleimag newimag settitleimag newimag privat void post imag chang final ant element node node shell shell site shell shell null shell dispos shell displai async exec runnabl public void run site shell null site shell dispos return imag titl imag titl imag imag imag node imag titl imag imag set titl imag imag postimagechang antelementnod getsit getshel isdispos getdisplai asyncexec getsit getshel getsit getshel isdispos titleimag gettitleimag newimag getimag titleimag newimag settitleimag newimag public void synchron outlin page boolean check outlin page activ select provid null return ant element node node node synchron outlin page node check outlin page activ synchronizeoutlinepag checkifoutlinepageact getselectionprovid antelementnod getnod synchronizeoutlinepag checkifoutlinepageact protect void synchron boolean check outlin page activ select provid null return ant element node node node antui plugin default prefer store boolean antui prefer constant outlin link editor synchron outlin page node check outlin page activ set select node fals checkifoutlinepageact getselectionprovid antelementnod getnod antuiplugin getdefault getpreferencestor getboolean iantuipreferenceconst outlin_link_with_editor synchronizeoutlinepag checkifoutlinepageact setselect privat ant element node node ant model model ant model model null return null ant element node node null select select select provid select select instanceof text select text select text select text select select int offset text select offset node model node offset fals return node antelementnod getnod antmodel getantmodel antelementnod iselect getselectionprovid getselect itextselect itextselect textselect itextselect textselect getoffset getnod protect void synchron outlin page ant element node node boolean check outlin page activ outlin page null check outlin page activ ant outlin page action outlin page remov post select chang listen select chang listen outlin page select node outlin page add post select chang listen select chang listen synchronizeoutlinepag antelementnod checkifoutlinepageact foutlinepag checkifoutlinepageact isantoutlinepageact foutlinepag removepostselectionchangedlisten fselectionchangedlisten foutlinepag foutlinepag addpostselectionchangedlisten fselectionchangedlisten shell displai async exec runnabl public void run site shell null site shell dispos return synchron true getdisplai asyncexec getsit getshel getsit getshel isdispos public void reconcil sourc viewer configur null return editor dispos initi reconcil updat initi reconcil auto indent strategi strategi sourc viewer configur auto indent strategi null null strategi instanceof ant auto indent strategi ant auto indent strategi strategi reconcil shell shell site shell shell null shell dispos shell displai async exec runnabl public void run site shell null site shell dispos return synchron true getsourceviewerconfigur finitialreconcil updateforinitialreconcil iautoindentstrategi getsourceviewerconfigur getautoindentstrategi antautoindentstrategi antautoindentstrategi getsit getshel isdispos getdisplai asyncexec getsit getshel getsit getshel isdispos privat boolean ant outlin page action workbench part part activ part return part instanceof content outlin content outlin part current page outlin page isantoutlinepageact iworkbenchpart getactivepart contentoutlin contentoutlin getcurrentpag foutlinepag privat workbench part activ part workbench window window site workbench window part servic servic window part servic return servic activ part iworkbenchpart getactivepart iworkbenchwindow getsit getworkbenchwindow ipartservic getpartservic getactivepart org eclips ui texteditor abstract text editor set select org eclips jface viewer select protect void set select select select super set select select synchron outlin page true abstracttexteditor dosetselect iselect dosetselect iselect dosetselect synchronizeoutlinepag creat combin prefer store store read return combin prefer store 3 0 privat prefer store creat combin prefer store prefer store ant store antui plugin default prefer store prefer store gener text store editorsui prefer store return chain prefer store prefer store ant store gener text store ipreferencestor createcombinedpreferencestor ipreferencestor antstor antuiplugin getdefault getpreferencestor ipreferencestor generaltextstor getpreferencestor chainedpreferencestor ipreferencestor antstor generaltextstor public ant editor action contributor super resourc bundl bundl resourc bundl bundl org eclips ant intern ui editor ant editor messag non nl 1 content assist propos retarget text editor action bundl content assist propos non nl 1 content format retarget text editor action bundl content format non nl 1 anteditoractioncontributor resourcebundl resourcebundl getbundl anteditormessag fcontentassistpropos retargettexteditoract contentassistpropos fcontentformat retargettexteditoract contentformat protect void initi action ant editor editor open declar action open declar action editor initializeact anteditor fopendeclarationact opendeclarationact privat void set activ editor editor part part super set activ editor part text editor editor null part instanceof text editor editor text editor part content assist propos set action action editor content assist propos non nl 1 content format set action action editor content format non nl 1 part instanceof ant editor open declar action null initi action ant editor part contribut menu action bar menu manag open declar action null open declar action set editor ant editor part dosetactiveeditor ieditorpart setactiveeditor itexteditor itexteditor itexteditor fcontentassistpropos setact getact contentassistpropos fcontentformat setact getact contentformat anteditor fopendeclarationact initializeact anteditor contributetomenu getactionbar getmenumanag fopendeclarationact fopendeclarationact seteditor anteditor public void contribut menu menu manag menu open declar action null return super contribut menu menu menu manag navig menu menu find menu path workbench action constant navig navig menu null navig menu append group workbench action constant open ext open declar action navig menu set visibl true contributetomenu imenumanag fopendeclarationact contributetomenu imenumanag navigatemenu findmenuusingpath iworkbenchactionconst m_navig navigatemenu navigatemenu appendtogroup iworkbenchactionconst open_ext fopendeclarationact navigatemenu setvis public void init action bar bar super init bar menu manag menu manag bar menu manag menu manag edit menu menu manag find menu path workbench action constant edit edit menu null edit menu add separ edit menu add content assist propos edit menu add content format iactionbar imenumanag menumanag getmenumanag imenumanag editmenu menumanag findmenuusingpath iworkbenchactionconst m_edit editmenu editmenu editmenu fcontentassistpropos editmenu fcontentformat public void contribut tool bar tool bar manag tool bar manag super contribut tool bar tool bar manag todo valid action develop tool bar manag add valid action tool bar manag updat fals contributetotoolbar itoolbarmanag toolbarmanag contributetotoolbar toolbarmanag toolbarmanag fvalidateact toolbarmanag org eclips ui editor action bar contributor set activ editor org eclips ui editor part public void set activ editor editor part part set activ editor part ieditoractionbarcontributor setactiveeditor ieditorpart setactiveeditor ieditorpart dosetactiveeditor org eclips ui editor action bar contributor dispos public void dispos set activ editor null super dispos ieditoractionbarcontributor dosetactiveeditor privat compar propos compar compar public int compar object o1 object o2 int type1 propos type o1 int type2 propos type o2 type1 type2 type1 type2 return 1 return 1 string string1 complet propos o1 displai string string string2 complet propos o2 displai string return string1 compar ignor case string2 proposalcompar getproposaltyp getproposaltyp icompletionpropos getdisplaystr icompletionpropos getdisplaystr comparetoignorecas privat int propos type object o instanceof ant complet propos return ant complet propos type return ant complet propos task propos getproposaltyp antcompletionpropos antcompletionpropos gettyp antcompletionpropos task_propos public ant editor complet processor ant model model super dtd null try dtd pars dtd catch io except antui plugin log catch pars error antui plugin log ant model model anteditorcompletionprocessor antmodel parsedtd ioexcept antuiplugin parseerror antuiplugin antmodel pars dtd privat schema pars dtd throw pars error io except input stream stream class resourc stream ant dtd filenam input stream reader reader input stream reader stream utf 8 non nl 1 parser parser parser schema schema parser parsedtd reader project non nl 1 reader close return schema ischema parsedtd parseerror ioexcept inputstream getclass getresourceasstream ant_dtd_filenam inputstreamread inputstreamread ischema public complet propos comput complet propos text viewer ref viewer int document offset viewer ref viewer complet propos match propos determin propos complet propos match templat propos determin templat propos ref viewer document offset current prefix null current propos mode 1 return merg propos match propos match templat propos icompletionpropos computecompletionpropos itextview refview documentoffset refview icompletionpropos matchingpropos determinepropos icompletionpropos matchingtemplatepropos determinetemplatepropos refview documentoffset currentprefix currentproposalmod mergepropos matchingpropos matchingtemplatepropos privat complet propos determin templat propos text viewer ref viewer int document offset string prefix current prefix complet propos match templat propos prefix length 0 match templat propos super comput complet propos ref viewer document offset complet propos templat propos super comput complet propos ref viewer document offset list templat propos list arrai list templat propos length int 0 templat propos length templat propos displai string lower case start prefix templat propos list add templat propos match templat propos complet propos templat propos list arrai complet propos templat propos list size return match templat propos icompletionpropos determinetemplatepropos itextview refview documentoffset getcurrentprefix icompletionpropos matchingtemplatepropos matchingtemplatepropos computecompletionpropos refview documentoffset icompletionpropos templatepropos computecompletionpropos refview documentoffset templateproposallist arraylist templatepropos templatepropos templatepropos getdisplaystr tolowercas startswith templateproposallist templatepropos matchingtemplatepropos icompletionpropos templateproposallist toarrai icompletionpropos templateproposallist matchingtemplatepropos privat complet propos merg propos complet propos propos1 complet propos propos2 complet propos combin propos complet propos propos1 length propos2 length system arraycopi propos1 0 combin propos 0 propos1 length system arraycopi propos2 0 combin propos propos1 length propos2 length arrai sort combin propos propos compar return combin propos icompletionpropos mergepropos icompletionpropos icompletionpropos icompletionpropos combinedpropos icompletionpropos combinedpropos combinedpropos combinedpropos proposalcompar combinedpropos org eclips jface text contentassist content assist processor comput context inform text viewer int public context inform comput context inform text viewer ref viewer int document offset return context inform 0 icontentassistprocessor computecontextinform itextview icontextinform computecontextinform itextview refview documentoffset icontextinform org eclips jface text contentassist content assist processor complet propos auto activ charact public char complet propos auto activ charact return auto activ char icontentassistprocessor getcompletionproposalautoactivationcharact getcompletionproposalautoactivationcharact autoactivationchar org eclips jface text contentassist content assist processor context inform auto activ charact public char context inform auto activ charact return null icontentassistprocessor getcontextinformationautoactivationcharact getcontextinformationautoactivationcharact org eclips jface text contentassist content assist processor context inform valid public context inform valid context inform valid return null icontentassistprocessor getcontextinformationvalid icontextinformationvalid getcontextinformationvalid org eclips jface text contentassist content assist processor error messag public string error messag return error messag icontentassistprocessor geterrormessag geterrormessag errormessag return determin propos privat complet propos determin propos text select select text select viewer select provid select cursor posit select offset select length document doc viewer document try line number doc line offset cursor posit column number cursor posit doc line offset line number catch bad locat except antui plugin log string prefix current prefix prefix null cursor posit 1 antui plugin standard displai beep return propos complet propos propos propos document doc prefix return propos icompletionpropos determinepropos itextselect itextselect getselectionprovid getselect cursorposit getoffset getlength idocu getdocu linenumb getlineofoffset cursorposit columnnumb cursorposit getlineoffset linenumb badlocationexcept antuiplugin getcurrentprefix cursorposit antuiplugin getstandarddisplai no_propos icompletionpropos getproposalsfromdocu return propos document protect complet propos propos document document document string prefix string task string null complet propos propos null current propos mode determin propos mode document cursor posit prefix switch current propos mode case propos mode attribut propos task string task string document string prefix document substr 0 cursor posit prefix length propos attribut propos task string prefix propos length 0 error messag ant editor messag string ant editor complet processor 28 non nl 1 break case propos mode task propos string parent parent document line number column number parent null parent length 0 parent element propos propos current propos mode propos mode propos task propos document parent prefix propos length 0 error messag ant editor messag string ant editor complet processor 29 non nl 1 break case propos mode buildfil propos build file propos document prefix propos length 0 error messag ant editor messag string ant editor complet processor 29 non nl 1 break case propos mode task propos close complet propos propos close task propos open element prefix true propos null error messag ant editor messag string ant editor complet processor 30 non nl 1 propos propos propos complet propos propos break case propos mode attribut propos string text search document substr 0 cursor posit prefix length task string task string document string prefix text search string attribut string attribut string document string prefix text search target equal ignor case task string non nl 1 propos target attribut propos document text search prefix attribut string refid equal ignor case attribut string non nl 1 propos refer propos prefix propos attribut propos task string attribut string prefix propos length 0 error messag ant editor messag string ant editor complet processor 31 non nl 1 break case propos mode properti propos propos properti propos document prefix cursor posit propos length 0 error messag ant editor messag string ant editor complet processor 32 non nl 1 break case propos mode default propos propos error messag ant editor messag string ant editor complet processor 33 non nl 1 propos length 0 error messag non nl 1 return propos icompletionpropos getproposalsfromdocu idocu taskstr icompletionpropos currentproposalmod determineproposalmod cursorposit currentproposalmod propos_mode_attribut_propos taskstr gettaskstringfromdocumentstringtoprefix cursorposit getattributepropos taskstr errormessag anteditormessag getstr anteditorcompletionprocessor propos_mode_task_propos parentnam getparentnam linenumb columnnumb parentnam parentnam no_propos currentproposalmod propos_mode_none gettaskpropos parentnam errormessag anteditormessag getstr anteditorcompletionprocessor propos_mode_buildfil getbuildfilepropos errormessag anteditormessag getstr anteditorcompletionprocessor propos_mode_task_propos_close icompletionpropos getclosingtaskpropos getopenelementnam errormessag anteditormessag getstr anteditorcompletionprocessor no_propos icompletionpropos propos_mode_attribut_valu_propos texttosearch cursorposit taskstr gettaskstringfromdocumentstringtoprefix texttosearch attributestr getattributestringfromdocumentstringtoprefix texttosearch equalsignorecas taskstr gettargetattributevaluepropos texttosearch attributestr equalsignorecas attributestr getreferencesvaluepropos getattributevaluepropos taskstr attributestr errormessag anteditormessag getstr anteditorcompletionprocessor propos_mode_properti_propos getpropertypropos cursorposit errormessag anteditormessag getstr anteditorcompletionprocessor propos_mode_none no_propos errormessag anteditormessag getstr anteditorcompletionprocessor errormessag privat complet propos refer propos string prefix project project ant model project node project map refer project refer refer empti return propos set ref id refer kei set ant element node node ant model node cursor posit fals node parent node instanceof ant task node node node parent node string id null node instanceof ant task node id ant task node node id list propos arrai list ref id size int 0 string ref id complet propos propos iter iter ref id iter iter ref id string iter ref id equal id prefix length 0 ref id lower case start prefix propos ant complet propos ref id cursor posit prefix length prefix length ref id length null ref id null ant complet propos task propos propos add propos return complet propos propos arrai complet propos propos size icompletionpropos getreferencesvaluepropos antmodel getprojectnod getproject getrefer isempti no_propos refid keyset antelementnod antmodel getnod cursorposit getparentnod anttasknod getparentnod anttasknod anttasknod getid arraylist refid refid icompletionpropos refid hasnext refid refid refid tolowercas startswith antcompletionpropos refid cursorposit refid refid antcompletionpropos task_propos icompletionpropos toarrai icompletionpropos protect complet propos target attribut propos document document string text search string prefix string attribut attribut equal ignor case depend non nl 1 return depend propos document prefix attribut equal ignor case attribut equal ignor case non nl 1 non nl 2 text search trim end non nl 1 return properti propos document prefix cursor posit return propos icompletionpropos gettargetattributevaluepropos idocu texttosearch attributenam attributenam equalsignorecas getdependsvaluepropos attributenam equalsignorecas attributenam equalsignorecas texttosearch endswith getpropertypropos cursorposit no_propos privat complet propos depend propos document document string prefix list depend arrai list string current target enclos target document line number column number current target null return propos map target target set target name target kei set iter itr target name iter enumer depend null itr string target string itr target equal current target target current target target target target depend current target depend continu target lower case start prefix target length 0 depend add target depend null depend element depend remov depend element complet propos propos complet propos depend size int 0 iter iter depend iter iter string target string iter complet propos propos ant complet propos target cursor posit prefix length prefix length target length null target null ant complet propos task propos propos propos return propos icompletionpropos getdependsvaluepropos idocu possibledepend arraylist currenttargetnam getenclosingtargetnam linenumb columnnumb currenttargetnam no_propos gettarget targetnam keyset targetnam hasnext targetnam targetnam currenttargetnam currenttarget targetnam currenttarget getdepend targetnam tolowercas startswith targetnam possibledepend targetnam hasmoreel possibledepend nextel icompletionpropos icompletionpropos possibledepend possibledepend hasnext targetnam icompletionpropos antcompletionpropos targetnam cursorposit targetnam targetnam antcompletionpropos task_propos return attribut task param task the task attribut complet param prefix prefix propos start prefix empti string protect complet propos attribut propos string task string prefix list propos arrai list element element dtd element task element null iter kei element attribut kei set iter kei string attr string kei prefix length 0 attr lower case start prefix attribut dtd attribut attribut element attribut attr string replac string attr non nl 1 string displai string attr string item dtd attribut enum item null item length 1 displai string non nl 1 int 0 item length displai string item 1 item length displai string non nl 1 displai string non nl 1 add attribut propos task prefix propos attr replac string displai string true possibl user defin task type class task class task class task task class null task class macro instanc class add macro def attribut propos task prefix propos introspect helper helper introspect helper task class helper null add attribut propos helper task prefix propos nest user defin element class nest type nest type nest type null introspect helper helper introspect helper nest type helper null add attribut propos helper task prefix propos return complet propos propos arrai complet propos propos size tasknam icompletionpropos getattributepropos tasknam arraylist ielement getel tasknam getattribut keyset hasnext attrnam attrnam tolowercas startswith iattribut dtdattribut iattribut getattribut attrnam replacementstr attrnam displaystr attrnam dtdattribut getenum displaystr displaystr displaystr displaystr addattributepropos tasknam attrnam replacementstr displaystr taskclass gettaskclass tasknam taskclass taskclass macroinst addmacrodefattributepropos tasknam introspectionhelp getintrospectionhelp taskclass addattributepropos tasknam nestedtyp getnestedtyp nestedtyp introspectionhelp getintrospectionhelp nestedtyp addattributepropos tasknam icompletionpropos toarrai icompletionpropos privat void add attribut propos introspect helper helper string task string prefix list propos enumer attribut helper attribut attribut element string attribut string attribut element prefix length 0 attribut lower case start prefix string replac string attribut non nl 1 add attribut propos task prefix propos attribut replac string attribut fals addattributepropos introspectionhelp tasknam getattribut hasmoreel nextel tolowercas startswith replacementstr addattributepropos tasknam replacementstr privat class nest type ant element node current node ant model node cursor posit fals ant element node parent current node parent node parent instanceof ant task node string parent parent nest element parent class task class task class parent task class null introspect helper helper introspect helper task class helper null class nest type null try nest type helper element type current node catch build except return nest type return null getnestedtyp antelementnod currentnod antmodel getnod cursorposit antelementnod currentnod getparentnod anttasknod parentnam getnam hasnestedel parentnam taskclass gettaskclass parentnam taskclass introspectionhelp getintrospectionhelp taskclass nestedtyp nestedtyp getelementtyp currentnod getnam buildexcept nestedtyp privat introspect helper introspect helper class task class introspect helper helper null try helper introspect helper helper ant model project node project task class catch class def found error antui plugin log messag format format ant editor messag string ant editor complet processor 0 string task class non nl 1 return helper introspectionhelp getintrospectionhelp taskclass introspectionhelp introspectionhelp gethelp antmodel getprojectnod getproject taskclass noclassdeffounderror antuiplugin messageformat anteditormessag getstr anteditorcompletionprocessor taskclass getnam privat void add macro def attribut propos string task string prefix list propos current propos mode propos mode attribut propos ant project node project node ant model project node ant defin task node node project node definin task node task object task node real task task instanceof macro def return list attribut macro def task attribut iter itr attribut iter itr macro def attribut attribut macro def attribut itr string attribut attribut prefix length 0 attribut lower case start prefix continu string replac string attribut non nl 1 string propos info null string descript attribut descript descript null propos info descript string deflt attribut default deflt null deflt length 0 propos info propos info null br br propos info br br non nl 1 non nl 2 propos info messag format format ant editor messag string ant editor complet processor 59 string deflt non nl 1 complet propos propos ant complet propos replac string cursor posit prefix length prefix length attribut length 2 null attribut propos info ant complet propos task propos propos add propos addmacrodefattributepropos tasknam currentproposalmod propos_mode_attribut_propos antprojectnod projectnod antmodel getprojectnod antdefiningtasknod projectnod getdefininingtasknod tasknam getrealtask macrodef macrodef getattribut hasnext macrodef macrodef attributenam getnam attributenam tolowercas startswith replacementstr attributenam proposalinfo getdescript proposalinfo getdefault proposalinfo proposalinfo proposalinfo proposalinfo messageformat anteditormessag getstr anteditorcompletionprocessor icompletionpropos antcompletionpropos replacementstr cursorposit attributenam attributenam proposalinfo antcompletionpropos task_propos privat void add macro def element propos string task string prefix list propos current propos mode propos mode attribut propos ant project node project node ant model project node ant defin task node node project node definin task node task object task node real task task instanceof macro def return map element macro def task element iter itr element kei set iter itr string element string itr prefix length 0 element lower case start prefix continu macro def templat element element macro def templat element element element string replac string messag format format 0 1 string element element non nl 1 string propos info null string descript element descript descript null propos info descript propos info propos info null br br propos info br br non nl 1 non nl 2 element option propos info ant editor messag string ant editor complet processor 1 non nl 1 propos info ant editor messag string ant editor complet processor 2 non nl 1 complet propos propos ant complet propos replac string cursor posit prefix length prefix length element length 2 null element propos info ant complet propos task propos propos add propos addmacrodefelementpropos tasknam currentproposalmod propos_mode_attribut_propos antprojectnod projectnod antmodel getprojectnod antdefiningtasknod projectnod getdefininingtasknod tasknam getrealtask macrodef macrodef getel keyset hasnext elementnam elementnam tolowercas startswith macrodef templateel macrodef templateel elementnam replacementstr messageformat elementnam elementnam proposalinfo getdescript proposalinfo proposalinfo proposalinfo proposalinfo isopt proposalinfo anteditormessag getstr anteditorcompletionprocessor proposalinfo anteditormessag getstr anteditorcompletionprocessor icompletionpropos antcompletionpropos replacementstr cursorposit elementnam elementnam proposalinfo antcompletionpropos task_propos privat void add attribut propos string task string prefix list propos string attr string replac string string displai string boolean lookup descript string propos info null lookup descript string requir descript provid requir attribut task attribut task attr requir null requir length 0 propos info ant editor messag string ant editor complet processor requir 4 requir non nl 1 propos info br br non nl 1 string descript descript provid descript task attribut task attr descript null propos info propos info null propos info non nl 1 propos info descript complet propos propos ant complet propos replac string cursor posit prefix length prefix length attr length 2 null displai string propos info ant complet propos task propos propos add propos addattributepropos tasknam attrnam replacementstr displaystr lookupdescript proposalinfo lookupdescript descriptionprovid getrequiredattributefortaskattribut tasknam attrnam proposalinfo anteditormessag getstr anteditorcompletionprocessor requir___4 proposalinfo descriptionprovid getdescriptionfortaskattribut tasknam attrnam proposalinfo proposalinfo proposalinfo proposalinfo icompletionpropos antcompletionpropos replacementstr cursorposit attrnam displaystr proposalinfo antcompletionpropos task_propos return valu attribut task param task the task attribut belong param attribut the attribut complet param prefix prefix propos start prefix empti string privat complet propos attribut propos string task string attribut string prefix list propos arrai list element task element dtd element task task element null attribut attribut attribut task element attribut attribut attribut null string item attribut enum item null string item int 0 item length item item prefix length 0 item lower case start prefix propos add ant complet propos item cursor posit prefix length prefix length item length null item null ant complet propos task propos possibl user defin task type class task class task class task task class null introspect helper helper introspect helper task class helper null add attribut propos helper attribut prefix propos nest user defin element class nest type nest type nest type null introspect helper helper introspect helper nest type helper null add attribut propos helper attribut prefix propos return complet propos propos arrai complet propos propos size atasknam anattributenam icompletionpropos getattributevaluepropos tasknam attributenam arraylist ielement taskel getel tasknam taskel iattribut iattribut taskel getattribut attributenam getenum tolowercas startswith antcompletionpropos cursorposit antcompletionpropos task_propos taskclass gettaskclass tasknam taskclass introspectionhelp getintrospectionhelp taskclass addattributevaluepropos attributenam nestedtyp getnestedtyp nestedtyp introspectionhelp getintrospectionhelp nestedtyp addattributevaluepropos attributenam icompletionpropos toarrai icompletionpropos privat void add attribut propos introspect helper helper string attribut string prefix list propos enumer attribut helper attribut attribut element string attribut string attribut element attribut equal attribut class attribut type helper attribut type attribut add attribut propos attribut type attribut type prefix propos break addattributevaluepropos introspectionhelp attributenam getattribut hasmoreel nextel attributenam attributetyp getattributetyp addattributevalueproposalsforattributetyp attributetyp privat void add attribut propos attribut type class attribut type string prefix list propos attribut type boolean type attribut type boolean class prefix length 5 add boolean attribut propos prefix propos enumer attribut class assign attribut type try add enumer attribut propos attribut type prefix propos catch instanti except catch illeg access except refer class attribut type propos add arrai list refer propos prefix addattributevalueproposalsforattributetyp attributetyp attributetyp attributetyp addbooleanattributevaluepropos enumeratedattribut isassignablefrom attributetyp addenumeratedattributevaluepropos attributetyp instantiationexcept illegalaccessexcept attributetyp addal aslist getreferencesvaluepropos privat void add enumer attribut propos class type string prefix list propos throw instanti except illeg access except enumer attribut ea enumer attribut type instanc string valu ea valu string enumer int 0 valu length enumer valu lower case prefix length 0 enumer start prefix propos add ant complet propos enumer cursor posit prefix length prefix length enumer length null enumer null ant complet propos task propos addenumeratedattributevaluepropos instantiationexcept illegalaccessexcept enumeratedattribut enumeratedattribut newinst getvalu tolowercas startswith antcompletionpropos cursorposit antcompletionpropos task_propos privat void add boolean attribut propos string prefix list propos string boolean valu string true fals ye non nl 1 non nl 2 non nl 3 non nl 4 non nl 5 non nl 6 string boolean assist int 0 boolean valu length boolean assist boolean valu lower case prefix length 0 boolean assist start prefix propos add ant complet propos boolean assist cursor posit prefix length prefix length boolean assist length null boolean assist null ant complet propos task propos addbooleanattributevaluepropos booleanvalu booleanassist booleanvalu booleanassist booleanvalu tolowercas booleanassist startswith antcompletionpropos booleanassist cursorposit booleanassist booleanassist antcompletionpropos task_propos return properti prefix note complet mode properti mode safe call method protect complet propos properti propos document document string prefix int cursor posit list propos arrai list map displai string propos hash map map properti find properti document imag imag antui imag imag antui constant img properti determin replac length offset string begin begin prefix int replac length prefix length int replac offset 0 string text document string string prefix text substr 0 cursor posit prefix length properti propos string charact string prefix substr string prefix length 2 string prefix length boolean append brace true charact equal non nl 1 replac length 2 replac offset cursor posit prefix length 2 charact end non nl 1 replac length 1 replac offset cursor posit prefix length 1 support properti propos attribut target replac offset cursor posit prefix length append brace fals text length cursor posit text char cursor posit replac length 1 string properti iter properti kei set iter properti string prefix length 0 properti lower case start prefix string addit properti info string properti properti string buffer replac string string buffer append brace replac string append non nl 1 replac string append properti append brace replac string append displai string propos properti null complet propos propos ant complet propos replac string string replac offset replac length replac string length imag properti addit properti info ant complet propos properti propos propos add propos displai string propos put properti propos return complet propos propos arrai complet propos propos size icompletionpropos getpropertypropos idocu acursorposit arraylist displaystringtopropos hashmap findpropertiesfromdocu antuiimag getimag iantuiconst img_properti replacementlength replacementoffset stringtoprefix acursorposit lasttwocharact stringtoprefix stringtoprefix stringtoprefix appendbrac lasttwocharact replacementlength replacementoffset acursorposit lasttwocharact endswith replacementlength replacementoffset acursorposit replacementoffset acursorposit appendbrac acursorposit charat acursorposit replacementlength propertynam keyset hasnext propertynam propertynam tolowercas startswith additionalpropertyinfo propertynam stringbuff replacementstr stringbuff appendbrac replacementstr replacementstr propertynam appendbrac replacementstr displaystringtopropos propertynam icompletionpropos antcompletionpropos replacementstr tostr replacementoffset replacementlength replacementstr propertynam additionalpropertyinfo antcompletionpropos properti_propos displaystringtopropos propertynam icompletionpropos toarrai icompletionpropos return propos parent complet return code parent code known param document entir document param parent name parent surround element param prefix prefix propos start prefix empti string protect complet propos task propos document document string parent string prefix list propos arrai list 250 complet propos propos task type valid children parent definit project includ defin dtd project project ant model project node project map task type compon helper compon helper project ant type tabl creat propos document prefix propos task type parent equal project target start prefix non nl 1 non nl 2 propos add complet propos document prefix target non nl 1 element parent dtd element parent parent null dfm dfm parent dfm string accept dfm accept string element int 0 accept length element accept prefix length 0 element lower case start prefix propos complet propos document prefix element propos add propos nest element user defin task type class task class task class parent task class null task class macro instanc class add macro def element propos parent prefix propos introspect helper helper introspect helper task class helper null enumer nest helper nest element string nest element nest element nest element string nest element prefix length 0 nest element lower case start prefix propos complet propos document prefix nest element propos add propos propos close task propos open element prefix fals propos null propos add propos return complet propos propos arrai complet propos propos size parentnam parentnam icompletionpropos gettaskpropos idocu parentnam arraylist icompletionpropos aretasksortypesvalidchildren parentnam antmodel getprojectnod getproject tasksandtyp componenthelp getcomponenthelp getanttypet createpropos tasksandtyp parentnam startswith newcompletionpropos ielement getel parentnam idfm getdfm getaccept elementnam elementnam elementnam tolowercas startswith newcompletionpropos elementnam taskclass gettaskclass parentnam taskclass taskclass macroinst addmacrodefelementpropos parentnam introspectionhelp getintrospectionhelp taskclass getnestedel nestedel hasmoreel nestedel nextel nestedel tolowercas startswith newcompletionpropos nestedel getclosingtaskpropos getopenelementnam icompletionpropos toarrai icompletionpropos privat boolean task type valid children string parent return parent project parent target parent sequenti non nl 1 non nl 2 non nl 3 parent presetdef parent parallel parent daemon non nl 1 non nl 2 non nl 3 aretasksortypesvalidchildren parentnam parentnam parentnam parentnam parentnam parentnam parentnam return propos defin structur buildfil note templat propos defin structur buildfil handl link determin templat propos text viewer int limit propos context type param document entir document param prefix prefix propos start prefix empti string protect complet propos build file propos document document string prefix string root element project non nl 1 element root element dtd element root element root element null root element lower case start prefix complet propos propos complet propos document prefix root element return complet propos propos return propos determinetemplatepropos itextview icompletionpropos getbuildfilepropos idocu rootelementnam ielement rootel getel rootelementnam rootel rootelementnam tolowercas startswith icompletionpropos newcompletionpropos rootelementnam icompletionpropos no_propos privat void creat propos document document string prefix list propos map task iter kei task kei set iter complet propos propos string kei kei kei string kei prefix length 0 kei lower case start prefix propos complet propos document prefix kei propos add propos createpropos idocu keyset icompletionpropos hasnext tolowercas startswith newcompletionpropos privat complet propos complet propos document document string prefix string element addit propos offset 0 imag propos imag antui imag imag antui constant img task propos string propos info descript provid descript task element boolean nest element nest element element string replac string task propos replac string element nest element int replac offset cursor posit prefix length int replac length prefix length replac offset 0 document char replac offset 1 replac offset replac length int propos cursor posit nest element propos cursor posit element length 2 addit propos offset addit propos offset 0 addit propos offset 2 antstructur output addit propos offset 1 arg propos cursor posit element length addit propos offset return ant complet propos replac string replac offset replac length propos cursor posit propos imag element propos info ant complet propos task propos icompletionpropos newcompletionpropos idocu aprefix elementnam additionalproposaloffset proposalimag antuiimag getimag iantuiconst img_task_propos proposalinfo descriptionprovid getdescriptionfortask elementnam hasnestedel hasnestedel elementnam replacementstr gettaskproposalreplacementstr elementnam hasnestedel replacementoffset cursorposit aprefix replacementlength aprefix replacementoffset charat replacementoffset replacementoffset replacementlength proposalcursorposit hasnestedel proposalcursorposit elementnam additionalproposaloffset additionalproposaloffset additionalproposaloffset additionalproposaloffset proposalcursorposit elementnam additionalproposaloffset antcompletionpropos replacementstr replacementoffset replacementlength proposalcursorposit proposalimag elementnam proposalinfo antcompletionpropos task_propos return complet unclos task param open element task hasn close param prefix prefix propos start prefix empti string return propos code null code close propos privat complet propos close task propos string open element string prefix boolean close mode char previou char previou char complet propos propos null open element null prefix length 0 open element lower case start prefix string buffer replac string string buffer close mode previou char previou char replac string append replac string append replac string append open element replac string append string buffer displai string string buffer non nl 1 displai string append open element displai string append propos ant complet propos replac string string cursor posit prefix length prefix length replac string length null displai string string ant editor messag string ant editor complet processor 39 ant complet propos tag close propos non nl 1 return propos openelementnam icompletionpropos getclosingtaskpropos openelementnam closingmod previouschar getpreviouschar icompletionpropos openelementnam openelementnam tolowercas startswith stringbuff replacestr stringbuff closingmod previouschar previouschar replacestr replacestr replacestr openelementnam replacestr stringbuff displaystr stringbuff displaystr openelementnam displaystr antcompletionpropos replacestr tostr cursorposit replacestr displaystr tostr anteditormessag getstr anteditorcompletionprocessor antcompletionpropos tag_close_propos protect char previou char text select select text select viewer select provid select int offset select offset char previou char try previou char viewer document char offset 1 catch bad locat except return previou char getpreviouschar itextselect itextselect getselectionprovid getselect getoffset previouschar previouschar getdocu getchar badlocationexcept previouschar return replac string task privat string task propos replac string string task boolean nest string buffer replac string buffer non nl 1 replac append task node attribut node descript provid attribut node task attribut node null append requir attribut replac attribut node project equal task non nl 1 replac append default non nl 1 addit propos offset 9 nest replac append non nl 1 replac append task replac append replac append non nl 1 return replac string gettaskproposalreplacementstr atasknam hasnest stringbuff stringbuff atasknam attributenod descriptionprovid getattributesnod atasknam attributenod appendrequiredattribut attributenod atasknam additionalproposaloffset hasnest atasknam tostr privat void append requir attribut string buffer replac node attribut node boolean requir ad fals node list attribut attribut node child node string requir node attribut int 0 attribut length attribut attribut item requir descript provid requir node attribut requir equal ignor case ye non nl 1 string attribut descript provid task attribut attribut replac append replac append attribut replac append non nl 1 requir ad addit propos offset attribut length 2 requir ad true appendrequiredattribut stringbuff attributenod requiredad nodelist attributenod getchildnod getlength descriptionprovid getrequiredofnod equalsignorecas attributenam descriptionprovid gettaskattributenam attributenam requiredad additionalproposaloffset attributenam requiredad return name element support nest element privat boolean nest element string element element element dtd element element element null return element empti class task class task class element task class null introspect helper helper introspect helper task class helper null enumer nest helper nest element return nest element return fals hasnestedel elementnam ielement getel elementnam isempti taskclass gettaskclass elementnam taskclass introspectionhelp getintrospectionhelp taskclass getnestedel hasmoreel find direct child element code child element code code element code child search hierarchi hierarchi step return found child code null code found protect element find child element name element element string child element node list node list element child node int 0 node list length node child node node list item child node node type node element node child node node equal child element return element child node return null achildelementnam anel findchildelementnamedof anel achildelementnam nodelist nodelist anel getchildnod nodelist getlength childnod nodelist childnod getnodetyp element_node childnod getnodenam achildelementnam childnod determin current prefix complet privat string current prefix current prefix null return current prefix text select select text select viewer select provid select document doc viewer document return prefix document doc select offset select length lower case getcurrentprefix currentprefix currentprefix itextselect itextselect getselectionprovid getselect idocu getdocu getprefixfromdocu getoffset getlength tolowercas return prefix document text respect offset param document text content edit file string param offset cursor posit protect string prefix document string document text int offset current prefix null return current prefix int start word token offset char token start word token 0 token document text char start word token 1 start word token 0 charact java identifi part token token token token token start word token start word token 0 break word goe begin doc token document text char start word token 1 start word token offset current prefix document text substr start word token offset lower case current prefix non nl 1 return current prefix adocumenttext anoffset getprefixfromdocu adocumenttext anoffset currentprefix currentprefix startofwordtoken anoffset startofwordtoken adocumenttext charat startofwordtoken startofwordtoken isjavaidentifierpart startofwordtoken startofwordtoken adocumenttext charat startofwordtoken startofwordtoken anoffset currentprefix adocumenttext startofwordtoken anoffset tolowercas currentprefix currentprefix return current propos mode protect int determin propos mode document document int cursor posit string prefix current propos mode 1 return current propos mode ant model null ant model project node null return propos mode buildfil document length 0 document length 1 document equal non nl 1 return propos mode buildfil string begin document begin prefix string text document string string prefix text substr 0 cursor posit prefix length string prefix length 0 return propos mode buildfil trimmabl string trim string string prefix trim char char 0 trim string length 0 char trim string char trim string length 1 return propos mode task propos string prefix char string prefix length 1 char char char substr trimmabl case attribut propos space line delimit task attribut attribut attribut properti id bla hup attribut propos char char string task string task string document string prefix trim string task string null known element task string return propos mode attribut propos string prefix char string prefix length 1 trim string char trim string length 1 attribut propos string task string task string document string prefix trim string task string null known element task string return propos mode attribut propos possibl task propos int space index string prefix index int index string prefix index int greater index string prefix index task propos index space index greater index index int slash index string prefix index slash index index 1 return propos mode task propos close return propos mode task propos index greater index properti propos mode string prefix return propos mode properti propos return propos mode task propos properti propos properti propos mode string prefix return propos mode properti propos return propos mode determineproposalmod idocu acursorposit aprefix currentproposalmod currentproposalmod antmodel antmodel getprojectnod propos_mode_buildfil getlength getlength propos_mode_buildfil stringtoprefix acursorposit aprefix stringtoprefix propos_mode_buildfil trimmedstr stringtoprefix lastchar trimmedstr lastchar trimmedstr charat trimmedstr propos_mode_task_propos stringtoprefix charat stringtoprefix lastchar lastchar lastchar lastchar lastchar taskstr gettaskstringfromdocumentstringtoprefix trimmedstr taskstr isknownel taskstr propos_mode_attribut_propos stringtoprefix charat stringtoprefix trimmedstr charat trimmedstr taskstr gettaskstringfromdocumentstringtoprefix trimmedstr taskstr isknownel taskstr propos_mode_attribut_valu_propos spaceindex stringtoprefix lastindexof lessthanindex stringtoprefix lastindexof greaterthanindex stringtoprefix lastindexof lessthanindex spaceindex greaterthanindex lessthanindex slashindex stringtoprefix lastindexof slashindex lessthanindex propos_mode_task_propos_close propos_mode_task_propos lessthanindex greaterthanindex ispropertyproposalmod stringtoprefix propos_mode_properti_propos propos_mode_task_propos ispropertyproposalmod stringtoprefix propos_mode_properti_propos propos_mode_none privat boolean properti propos mode string string prefix string prefix length 2 string char string prefix substr string prefix length 2 string prefix length char equal non nl 1 string prefix char string prefix length 1 return true return fals ispropertyproposalmod stringtoprefix stringtoprefix lasttwochar stringtoprefix stringtoprefix stringtoprefix lasttwochar stringtoprefix charat stringtoprefix return occur task string string return string necessarili valid ant task string test method code name task known string code invok method param document string prefix string string edit file begin prefix code complet project default properti return extract task string code null code string extract privat string task string document string prefix string document string prefix int index document string prefix index index 1 string task string document string prefix trim task string task string substr index 1 task string length int index task string index index 0 task string task string substr 0 index index task string index index 0 task string task string substr 0 index index task string index index 0 task string task string substr 0 index return task string return null innamedtaskknown adocumentstringtoprefix gettaskstringfromdocumentstringtoprefix adocumentstringtoprefix lessthanindex adocumentstringtoprefix lastindexof lessthanindex taskstr adocumentstringtoprefix taskstr taskstr lessthanindex taskstr taskstr indexof taskstr taskstr taskstr indexof taskstr taskstr taskstr indexof taskstr taskstr taskstr return occur attribut string string call method safe current propos mode code propos mode attribut propos code privat string attribut string document string prefix string doc string prefix int index doc string prefix index string string doc string prefix substr 0 index string string trim index string index index 0 string string substr index 1 string length index string index index 0 string string substr index 1 string length index string index index 0 string string substr index 1 string length return trim begin string propos_mode_attribut_valu_propos getattributestringfromdocumentstringtoprefix docstringtoprefix docstringtoprefix lastindexof substr docstringtoprefix substr substr substr lastindexof substr substr substr substr lastindexof substr substr substr substr lastindexof substr substr substr trimbegin substr privat string trim begin string trim int 0 trim length charact whitespac trim char i return trim substr trimbegin tobetrim tobetrim iswhitespac tobetrim charat tobetrim return element known protect boolean known element string element element equal target element equal project non nl 1 non nl 2 return true ant project node node ant model project node node null project ant project node project compon helper compon helper ant project definit element null return true task type nest element dtd element element null return true nest type null return true return fals isknownel elementnam elementnam elementnam antprojectnod antmodel getprojectnod antproject getproject componenthelp getcomponenthelp antproject getdefinit elementnam getel elementnam getnestedtyp privat class task class string task ant project node node ant model project node node null project ant project node project map task type compon helper compon helper ant project ant type tabl return class task type task return null gettaskclass tasknam antprojectnod antmodel getprojectnod antproject getproject tasksandtyp componenthelp getcomponenthelp antproject getanttypet tasksandtyp tasknam find parent task element respect cursor posit return parent task element code null code found protect string parent document document int line number int column number document length 0 return null ant project node project ant model project node project null return null int offset offset document line number column number offset 1 return null ant element node node project node offset node null node ant model open element node null return non nl 1 node instanceof ant task node string node offset node offset length 1 enclos node offset the node node node parent node return node instanceof ant task node return node node instanceof ant target node return target non nl 1 return project non nl 1 getparentnam idocu alinenumb acolumnnumb getlength antprojectnod antmodel getprojectnod getoffset alinenumb acolumnnumb antelementnod getnod antmodel getopenel anttasknod getnam getoffset getparentnod anttasknod getnam anttargetnod return properti defin entir buildfil return map found properti privat map find properti document project project ant model project node project return project properti findpropertiesfromdocu antmodel getprojectnod getproject getproperti privat map target project project ant model project node project return project target gettarget antmodel getprojectnod getproject gettarget protect file edit file workbench page page antui plugin activ page page null return null editor part editor page activ editor editor null return null file editor input input file editor input editor editor input string project path input file project locat file absolut path string project rel file path input file full path remov segment 1 rel string return file project path file separ project rel file path geteditedfil iworkbenchpag antuiplugin getactivepag ieditorpart getactiveeditor fileeditorinput fileeditorinput geteditorinput projectpath getfil getproject getloc tofil getabsolutepath projectrelativefilepath getfil getfullpath removefirstseg makerel tostr projectpath projectrelativefilepath privat string open element ant element node node ant model open element node null return null return node getopenelementnam antelementnod antmodel getopenel getnam find enclos target respect cursor posit return return the enclos target code null code found element contain target privat string enclos target document document int line number int column number ant project node project ant model project node int offset offset document line number column number offset 1 return null ant element node node project node offset node instanceof ant task node node node parent node node instanceof ant target node top level task node null node instanceof ant project node node null string target null node null target ant target node node target null target length 0 return null return target getenclosingtargetnam idocu alinenumb acolumnnumb antprojectnod antmodel getprojectnod getoffset alinenumb acolumnnumb antelementnod getnod anttasknod getparentnod anttargetnod antprojectnod targetnam targetnam anttargetnod gettarget getnam targetnam targetnam privat int offset document document int line int column try return document line offset line column 1 catch bad locat except return 1 getoffset idocu getlineoffset badlocationexcept set processor set charact trigger activ complet propos comput param activ set activ set public void set complet propos auto activ charact char activ set auto activ char activ set activationset setcompletionproposalautoactivationcharact activationset autoactivationchar activationset org eclips jface text templat templat complet processor extract prefix org eclips jface text text viewer int protect string extract prefix text viewer text viewer int offset return prefix document text viewer document offset templatecompletionprocessor extractprefix itextview extractprefix itextview textview getprefixfromdocu textview getdocu cut angular bracket relev sort templat bracket protect int relev templat templat string prefix prefix start non nl 1 prefix prefix substr 1 templat start prefix return 90 return 0 getrelev startswith getnam startswith org eclips jface text templat templat complet processor templat java lang string protect templat templat string context type id return ant templat access default templat store templat templatecompletionprocessor gettempl gettempl contexttypeid anttemplateaccess getdefault gettemplatestor gettempl protect templat context type context type text viewer text viewer region region switch determin propos mode text viewer document cursor posit current prefix case propos mode task propos return ant templat access default context type registri context type task context type task context type case propos mode buildfil return ant templat access default context type registri context type build file context type buildfil context type case propos mode case propos mode attribut propos case propos mode task propos close case propos mode attribut propos case propos mode properti propos default return null templatecontexttyp getcontexttyp itextview textview iregion determineproposalmod textview getdocu cursorposit getcurrentprefix propos_mode_task_propos anttemplateaccess getdefault getcontexttyperegistri getcontexttyp taskcontexttyp task_context_type propos_mode_buildfil anttemplateaccess getdefault getcontexttyperegistri getcontexttyp buildfilecontexttyp buildfil_context_type propos_mode_none propos_mode_attribut_propos propos_mode_task_propos_close propos_mode_attribut_valu_propos propos_mode_properti_propos org eclips jface text templat templat complet processor imag org eclips jface text templat templat protect imag imag templat templat return antui imag imag antui constant img templat propos templatecompletionprocessor getimag getimag antuiimag getimag iantuiconst img_templat_propos protect templat context creat context text viewer context viewer region region templat context type context type context type context viewer region context type null document document context viewer document return ant context context type document ant model region offset region length return null templatecontext createcontext itextview contextview iregion templatecontexttyp contexttyp getcontexttyp contextview contexttyp idocu contextview getdocu antcontext contexttyp antmodel getoffset getlength org eclips jface text templat templat complet processor creat propos org eclips jface text templat templat org eclips jface text templat templat context org eclips jface text region int protect complet propos creat propos templat templat templat context context region region int relev return ant templat propos templat context region imag templat relev templatecompletionprocessor createpropos templatecontext icompletionpropos createpropos templatecontext anttemplatepropos getimag privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat ant editor messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name anteditormessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept creat instanc color manag public ant editor sourc viewer configur ant editor editor super editor editor anteditorsourceviewerconfigur anteditor feditor public content assist content assist sourc viewer sourc viewer content assist content assist ant editor complet processor processor ant editor complet processor editor ant model content assist set content assist processor processor document default content type content assist set content assist processor processor ant editor partit scanner xml tag prefer store store antui plugin default prefer store string trigger store string ant editor prefer constant codeassist autoactiv trigger trigger null processor set complet propos auto activ charact trigger char arrai content assist enabl auto insert store boolean ant editor prefer constant codeassist autoinsert content assist enabl auto activ store boolean ant editor prefer constant codeassist autoactiv content assist set auto activ delai store int ant editor prefer constant codeassist autoactiv delai content assist set propos popup orient content assist propos overlai content assist set context inform popup orient content assist context info content assist set inform control creator inform control creator sourc viewer color manag manag color manag default color background color store ant editor prefer constant codeassist propos background manag content assist set context inform popup background background content assist set context selector background background content assist set propos selector background background color foreground color store ant editor prefer constant codeassist propos foreground manag content assist set context inform popup foreground foreground content assist set context selector foreground foreground content assist set propos selector foreground foreground inform control creator creator inform control creator true content assist set inform control creator creator return content assist icontentassist getcontentassist isourceview sourceview contentassist contentassist anteditorcompletionprocessor anteditorcompletionprocessor feditor getantmodel contentassist setcontentassistprocessor idocu default_content_type contentassist setcontentassistprocessor anteditorpartitionscann xml_tag ipreferencestor antuiplugin getdefault getpreferencestor getstr anteditorpreferenceconst codeassist_autoactiv_trigger setcompletionproposalautoactivationcharact tochararrai contentassist enableautoinsert getboolean anteditorpreferenceconst codeassist_autoinsert contentassist enableautoactiv getboolean anteditorpreferenceconst codeassist_autoactiv contentassist setautoactivationdelai getint anteditorpreferenceconst codeassist_autoactiv_delai contentassist setproposalpopuporient icontentassist propos_overlai contentassist setcontextinformationpopuporient icontentassist context_info_abov contentassist setinformationcontrolcr getinformationcontrolcr sourceview colormanag colormanag getdefault getcolor anteditorpreferenceconst codeassist_propos_background contentassist setcontextinformationpopupbackground contentassist setcontextselectorbackground contentassist setproposalselectorbackground getcolor anteditorpreferenceconst codeassist_propos_foreground contentassist setcontextinformationpopupforeground contentassist setcontextselectorforeground contentassist setproposalselectorforeground iinformationcontrolcr getinformationcontrolcr contentassist setinformationcontrolcr contentassist protect inform control creator inform control creator final boolean cut return inform control creator public inform control creat inform control shell parent int style cut swt swt scroll swt scroll return default inform control parent style html text present cut iinformationcontrolcr getinformationcontrolcr cutdown iinformationcontrolcr iinformationcontrol createinformationcontrol cutdown v_scroll h_scroll defaultinformationcontrol htmltextpresent cutdown protect inform control creator inform control creator final boolean cut return inform control creator public inform control creat inform control shell parent int style cut swt swt scroll swt scroll return default inform control parent style html text present cut iinformationcontrolcr getinformationcontrolcr cutdown iinformationcontrolcr iinformationcontrol createinformationcontrol cutdown v_scroll h_scroll defaultinformationcontrol htmltextpresent cutdown public reconcil reconcil sourc viewer sourc viewer notifi reconcil reconcil notifi reconcil xml reconcil strategi editor true reconcil set delai xml reconcil strategi delai reconcil add reconcil particip editor return reconcil ireconcil getreconcil isourceview sourceview notifyingreconcil notifyingreconcil xmlreconcilingstrategi feditor setdelai xmlreconcilingstrategi addreconcilingparticip feditor org eclips jface text sourc sourc viewer configur annot hover org eclips jface text sourc sourc viewer public annot hover annot hover sourc viewer sourc viewer return xml annot hover sourceviewerconfigur getannotationhov isourceview iannotationhov getannotationhov isourceview sourceview xmlannotationhov org eclips jface text sourc sourc viewer configur inform control creator org eclips jface text sourc sourc viewer public inform control creator inform control creator sourc viewer sourc viewer return inform control creator true sourceviewerconfigur getinformationcontrolcr isourceview iinformationcontrolcr getinformationcontrolcr isourceview sourceview getinformationcontrolcr public text hover text hover sourc viewer sourc viewer string content type text hover null text hover xml text hover editor return text hover itexthov gettexthov isourceview sourceview contenttyp ftexthov ftexthov xmltexthov feditor ftexthov privat color color prefer store store string kei color manag manag rgb rgb prefer convert color store kei return manag color rgb getcolor ipreferencestor colormanag preferenceconvert getcolor getcolor protect void chang configur properti chang event event prefer store store antui plugin default prefer store string event properti color manag manag color manag default ant editor prefer constant codeassist autoactiv equal boolean enabl store boolean ant editor prefer constant codeassist autoactiv content assist enabl auto activ enabl ant editor prefer constant codeassist autoactiv delai equal content assist null int delai store int ant editor prefer constant codeassist autoactiv delai content assist set auto activ delai delai ant editor prefer constant codeassist propos foreground equal content assist null color color store ant editor prefer constant codeassist propos foreground manag content assist set propos selector foreground ant editor prefer constant codeassist propos background equal content assist null color color store ant editor prefer constant codeassist propos background manag content assist set propos selector background ant editor prefer constant codeassist autoinsert equal content assist null boolean enabl store boolean ant editor prefer constant codeassist autoinsert content assist enabl auto insert enabl ant editor prefer constant codeassist autoactiv trigger equal chang content assist processor store changeconfigur propertychangeev ipreferencestor antuiplugin getdefault getpreferencestor getproperti colormanag colormanag getdefault anteditorpreferenceconst codeassist_autoactiv getboolean anteditorpreferenceconst codeassist_autoactiv contentassist enableautoactiv anteditorpreferenceconst codeassist_autoactiv_delai contentassist getint anteditorpreferenceconst codeassist_autoactiv_delai contentassist setautoactivationdelai anteditorpreferenceconst codeassist_propos_foreground contentassist getcolor anteditorpreferenceconst codeassist_propos_foreground contentassist setproposalselectorforeground anteditorpreferenceconst codeassist_propos_background contentassist getcolor anteditorpreferenceconst codeassist_propos_background contentassist setproposalselectorbackground anteditorpreferenceconst codeassist_autoinsert contentassist getboolean anteditorpreferenceconst codeassist_autoinsert contentassist enableautoinsert anteditorpreferenceconst codeassist_autoactiv_trigger changecontentassistprocessor privat void chang content assist processor prefer store store string trigger store string ant editor prefer constant codeassist autoactiv trigger trigger null ant editor complet processor cp ant editor complet processor content assist content assist processor document default content type cp null cp set complet propos auto activ charact trigger char arrai changecontentassistprocessor ipreferencestor getstr anteditorpreferenceconst codeassist_autoactiv_trigger anteditorcompletionprocessor anteditorcompletionprocessor contentassist getcontentassistprocessor idocu default_content_type setcompletionproposalautoactivationcharact tochararrai public content formatt content formatt sourc viewer sourc viewer multi pass content formatt formatt multi pass content formatt configur document partit sourc viewer document default content type formatt set master strategi xml document format strategi formatt set slave strategi xml element format strategi ant editor partit scanner xml tag formatt set slave strategi xml comment format strategi ant editor partit scanner xml comment return formatt icontentformatt getcontentformatt isourceview sourceview multipasscontentformatt multipasscontentformatt getconfigureddocumentpartit sourceview idocu default_content_type setmasterstrategi xmldocumentformattingstrategi setslavestrategi xmlelementformattingstrategi anteditorpartitionscann xml_tag setslavestrategi xmlcommentformattingstrategi anteditorpartitionscann xml_comment public auto indent strategi auto indent strategi sourc viewer sourc viewer string content type ant editor partit scanner xml comment equal content type return super auto indent strategi sourc viewer content type auto indent strategi null auto indent strategi ant auto indent strategi editor ant model return auto indent strategi iautoindentstrategi getautoindentstrategi isourceview sourceview contenttyp anteditorpartitionscann xml_comment contenttyp getautoindentstrategi sourceview contenttyp autoindentstrategi autoindentstrategi antautoindentstrategi feditor getantmodel autoindentstrategi transform html text reader format text param present code null code format appli present public html2 text reader reader reader text present present super pushback reader reader text present present html2textread textpresent pushbackread ftextpresent public int read throw io except int super read 1 counter return ioexcept fcounter protect void start bold bold 0 start offset counter bold startbold fbold fstartoffset fcounter fbold protect void start preformat text preformat text true set skip whitespac fals startpreformattedtext fispreformattedtext setskipwhitespac protect void stop preformat text preformat text fals set skip whitespac true stoppreformattedtext fispreformattedtext setskipwhitespac protect void stop bold bold bold 0 text present null text present add style rang style rang start offset counter start offset null null swt bold start offset 1 stopbold fbold fbold ftextpresent ftextpresent addstylerang stylerang fstartoffset fcounter fstartoffset fstartoffset substitut text reader comput substitut char protect string comput substitut int throw io except return processhtml tag return process entiti preformat text return process preformat text return null substitutiontextread computesubstitut computesubstitut ioexcept processhtmltag processent fispreformattedtext processpreformattedtext privat string html2 text string html string tag html tag char 0 tag tag substr 1 fg tag tag return empti string pre equal html non nl 1 start preformat text return empti string pre equal html non nl 1 stop preformat text return empti string preformat text return empti string equal html non nl 1 start bold return empti string h5 equal html dt equal html non nl 1 non nl 2 start bold return empti string dl equal html non nl 1 return line delim dd equal html non nl 1 return non nl 1 li equal html non nl 1 return line delim non nl 1 equal html non nl 1 stop bold return empti string equal html non nl 1 paragraph true return line delim br equal html non nl 1 return line delim equal html non nl 1 boolean paragraph paragraph paragraph fals return paragraph empti string line delim h5 equal html dt equal html non nl 1 non nl 2 stop bold return line delim dd equal html non nl 1 return line delim return empti string html2text charat fgtag empti_string startpreformattedtext empti_string stoppreformattedtext empti_string fispreformattedtext empti_string startbold empti_string startbold empti_string line_delim line_delim stopbold empti_string finparagraph line_delim line_delim inparagraph finparagraph finparagraph inparagraph empti_string line_delim stopbold line_delim line_delim empti_string privat string processhtml tag throw io except string buffer buf string buffer int ch ch char ch 1 ch buf append charact lower case char ch ch char ch buf append charact lower case char ch ch char ch 1 ch buf append charact lower case char ch ch char ch unread ch return buf string ch 1 return null int tag len buf length need special treatment comment tag len 3 equal buf substr 0 3 non nl 1 tag len 5 equal buf substr tag len 3 non nl 1 unfinish comment buf append ch break true return html2 text buf string processhtmltag ioexcept stringbuff stringbuff nextchar tolowercas nextchar tolowercas nextchar tolowercas nextchar tostr taglen taglen taglen taglen html2text tostr privat string process preformat text int counter return null processpreformattedtext fcounter privat void unread int ch throw io except pushback reader reader unread ch ioexcept pushbackread getread protect string entiti2 text string symbol symbol length 1 symbol char 0 int ch try symbol char 1 ch integ pars int symbol substr 2 16 ch integ pars int symbol substr 1 10 return empti string char ch catch number format except string str string fg entiti lookup symbol str null return str return symbol found non nl 1 entiti2text charat charat parseint parseint empti_string numberformatexcept fgentitylookup privat string process entiti throw io except string buffer buf string buffer int ch char charact letter digit char ch ch buf append char ch ch char ch return entiti2 text buf string buf insert 0 ch 1 buf append char ch return buf string processent ioexcept stringbuff stringbuff nextchar isletterordigit nextchar entiti2text tostr tostr public class html printer privat html printer htmlprinter htmlprinter privat static string replac string text char string int previou 0 int current text index previou current 1 return text string buffer buffer string buffer current 1 buffer append text substr previou current buffer append previou current 1 current text index previou buffer append text substr previou return buffer string indexof stringbuff stringbuff indexof tostr public static string convert tohtml content string content content replac content lt non nl 1 return replac content gt non nl 1 converttohtmlcont public static string read reader rd string buffer buffer string buffer char read buffer char 2048 try int rd read read buffer 0 buffer append read buffer 0 n rd read read buffer return buffer string catch io except return null stringbuff stringbuff readbuff readbuff readbuff readbuff tostr ioexcept public static void insert page prolog string buffer buffer int posit buffer insert posit html bodi text 000000 bgcolor ffff88 font size 1 non nl 1 insertpageprolog stringbuff public static void add page prolog string buffer buffer insert page prolog buffer buffer length addpageprolog stringbuff insertpageprolog public static void add page epilog string buffer buffer buffer append font bodi html non nl 1 addpageepilog stringbuff public static void start bullet list string buffer buffer buffer append ul non nl 1 startbulletlist stringbuff public static void end bullet list string buffer buffer buffer append ul non nl 1 endbulletlist stringbuff public static void add bullet string buffer buffer string bullet bullet null buffer append li non nl 1 buffer append bullet buffer append li non nl 1 addbullet stringbuff public static void add small header string buffer buffer string header header null buffer append h5 non nl 1 buffer append header buffer append h5 non nl 1 addsmallhead stringbuff public static void add paragraph string buffer buffer string paragraph paragraph null buffer append non nl 1 buffer append paragraph addparagraph stringbuff public static void add paragraph string buffer buffer reader paragraph reader paragraph reader null add paragraph buffer read paragraph reader addparagraph stringbuff paragraphread paragraphread addparagraph paragraphread privat boolean enforc upper line limit public html text present boolean enforc upper line limit super enforc upper line limit enforc upper line limit fenforceupperlinelimit htmltextpresent enforceupperlinelimit fenforceupperlinelimit enforceupperlinelimit public html text present true htmltextpresent protect reader creat reader string hover info text present present return html2 text reader string reader hover info present createread hoverinfo textpresent html2textread stringread hoverinfo protect void adapt text present text present present int offset int insert length int start offset int end offset insert length 1 end math max start end iter present style rang iter style rang rang style rang int start rang start int end rang start rang length 1 end math max start end end start continu start start rang length insert length rang start insert length adapttextpresent textpresent insertlength yoursstart yoursend insertlength yoursend yoursstart yoursend getallstylerangeiter hasnext stylerang stylerang mystart myend myend mystart myend myend yoursstart mystart yoursstart insertlength insertlength privat void append string buffer buffer string string text present present int length string length buffer append string present null adapt text present present counter length counter length stringbuff textpresent adapttextpresent fcounter fcounter privat string indent string line int length line length int 0 length charact whitespac line char i return length line line substr 0 non nl 1 getind iswhitespac charat public string updat present displai displai string hover info text present present int max width int max height hover info null return null gc gc gc displai try string buffer buffer string buffer int max number line math round max height gc font metric height counter 0 line break reader reader line break reader creat reader hover info present gc max width boolean line format fals string line indent null string line reader read line boolean line format reader format line boolean line process fals line null enforc upper line limit max number line 0 break line process line format append buffer line delim null append buffer line delim present line indent null append buffer line indent present append buffer line null line process true line format line format line format line indent null line indent null line indent indent line line reader read line line format reader format line max number line line null append buffer line delim line format present null append buffer present non nl 1 return trim buffer present catch io except antui plugin log return null final gc dispos updatepresent hoverinfo textpresent maxwidth maxheight hoverinfo stringbuff stringbuff maxnumberoflin maxheight getfontmetr getheight fcounter linebreakingread linebreakingread createread hoverinfo maxwidth lastlineformat lastlineind readlin lineformat isformattedlin firstlineprocess fenforceupperlinelimit maxnumberoflin firstlineprocess lastlineformat line_delim line_delim lastlineind lastlineind firstlineprocess lastlineformat lineformat lineformat lastlineind lastlineind lastlineind getind readlin lineformat isformattedlin maxnumberoflin line_delim lineformat ioexcept antuiplugin privat string trim string buffer buffer text present present int length buffer length int end length 1 end 0 charact whitespac buffer char end end end 1 return non nl 1 end length 1 buffer delet end 1 length end length int start 0 start end charact whitespac buffer char start start buffer delet 0 start present set result window region start buffer length return buffer string stringbuff textpresent iswhitespac charat iswhitespac charat setresultwindow tostr creat reader break input text fit width param reader reader input text param gc graphic context defin font size param max line width max width pix text fit public line break reader reader reader gc gc int max line width reader buffer reader reader fgc gc max width max line width offset 0 line null line break iter break iter line instanc maxlinewidth linebreakingread maxlinewidth freader bufferedread fmaxwidth maxlinewidth foffset fline flinebreakiter breakiter getlineinst public boolean format line return line null isformattedlin fline read line length line exce give maximum width public string read line throw io except line null string line reader read line line null return null int line len fgc text extent line line len max width return line line line line break iter set text line offset 0 int break offset find break offset offset string re break offset break iter re line substr offset break offset offset find word begin break offset offset line length line null re line substr offset line null return re readlin ioexcept fline freader readlin linelen textext linelen fmaxwidth fline flinebreakiter settext foffset breakoffset findnextbreakoffset foffset breakoffset breakiter fline foffset breakoffset foffset findwordbegin breakoffset foffset fline fline fline foffset fline privat int find break offset int curr offset int curr width 0 int offset line break iter curr offset offset break iter string word line substr curr offset offset int word width fgc text extent word int width word width curr width width max width curr width 0 return curr offset return offset curr width width curr offset offset offset line break iter return offset findnextbreakoffset curroffset currwidth nextoffset flinebreakiter curroffset nextoffset breakiter fline curroffset nextoffset wordwidth textext nextwidth wordwidth currwidth nextwidth fmaxwidth currwidth curroffset nextoffset currwidth nextwidth curroffset nextoffset nextoffset flinebreakiter nextoffset privat int find word begin int idx idx line length charact whitespac line char idx idx return idx findwordbegin fline iswhitespac fline charat public abstract class singl char reader extend reader reader read public abstract int read throw io except singlecharread ioexcept reader read char int int public int read char cbuf int int len throw io except int end len int end int ch read ch 1 return 1 return cbuf char ch return len ioexcept reader readi public boolean readi throw io except return true ioexcept content string public string string throw io except string buffer buf string buffer int ch ch read 1 buf append char ch return buf string getstr ioexcept stringbuff stringbuff tostr protect substitut text reader reader reader reader reader buffer string buffer index 0 read buffer fals char white space 1 white space true substitutiontextread freader fbuffer stringbuff findex freadfrombuff fcharafterwhitespac fwaswhitespac implement comput substitut charact subsequ charact code char code read subsequ charact nextchar return intern reader protect reader reader return reader getread freader return charact protect int char throw io except read buffer buffer length 0 read buffer char ch buffer char index index buffer length buffer set length 0 index 0 return ch int ch char white space ch 1 ch reader read skip white space charact whitespac char ch ch reader read charact whitespac char ch ch 1 char white space ch return char white space 1 return ch nextchar ioexcept freadfrombuff fbuffer freadfrombuff fbuffer charat findex findex fbuffer fbuffer setlength findex fcharafterwhitespac freader fskipwhitespac iswhitespac freader iswhitespac fcharafterwhitespac fcharafterwhitespac reader read public int read throw io except int char read buffer string comput substitut null break length 0 buffer insert 0 char skip white space white space white space c return ioexcept nextchar freadfrombuff computesubstitut fbuffer nextchar fskipwhitespac fwaswhitespac fwaswhitespac reader readi public boolean readi throw io except return reader readi ioexcept freader reader close public void close throw io except reader close ioexcept freader reader reset public void reset throw io except reader reset white space true char white space 1 buffer set length 0 index 0 ioexcept freader fwaswhitespac fcharafterwhitespac fbuffer setlength findex protect final void set skip whitespac boolean skip white space setskipwhitespac fskipwhitespac protect final boolean skip whitespac return skip white space isskippingwhitespac fskipwhitespac public string canon indent string canon indent space tab canon indent non nl 1 string tab non nl 1 int 0 tab width tab tab concat non nl 1 canon indent tab return canon indent getcanonicalind canonicalind usespacesinsteadoftab canonicalind gettabwidth canonicalind canonicalind public int maximum line width return pref int ant editor prefer constant formatt max line length getmaximumlinewidth fpref getint anteditorpreferenceconst formatt_max_line_length public boolean wrap tag return pref boolean ant editor prefer constant formatt wrap wraplongtag fpref getboolean anteditorpreferenceconst formatt_wrap_long public boolean align element close char return pref boolean ant editor prefer constant formatt align alignelementclosechar fpref getboolean anteditorpreferenceconst formatt_align public int tab width return pref int ant editor prefer constant formatt tab size gettabwidth fpref getint anteditorpreferenceconst formatt_tab_size public boolean space tab return pref boolean ant editor prefer constant formatt tab char usespacesinsteadoftab fpref getboolean anteditorpreferenceconst formatt_tab_char public static boolean affect format properti chang event event string properti event properti return properti start ant editor prefer constant formatt align properti start ant editor prefer constant formatt max line length properti start ant editor prefer constant formatt tab char properti start ant editor prefer constant formatt tab size properti start ant editor prefer constant formatt wrap affectsformat propertychangeev getproperti startswith anteditorpreferenceconst formatt_align startswith anteditorpreferenceconst formatt_max_line_length startswith anteditorpreferenceconst formatt_tab_char startswith anteditorpreferenceconst formatt_tab_size startswith anteditorpreferenceconst formatt_wrap_long set prefer store format prefer param pref prefer store refer format prefer public void set prefer store prefer store pref pref pref setpreferencestor ipreferencestor fpref privat boolean complet fals protect void clear complet fals public string start tag return non nl 1 getstartoftag protect string read tag throw io except int int char char string buffer node string buffer complet int char reader read 1 char int char node append node string end non nl 1 complet true return node string readtag ioexcept intchar stringbuff stringbuff intchar intchar tostr endswith tostr privat boolean complet fals protect void clear complet fals public string start tag return non nl 1 getstartoftag protect string read tag throw io except int int char char string buffer node string buffer complet int char reader read 1 char int char node append complet true return node string readtag ioexcept intchar stringbuff stringbuff intchar intchar tostr privat boolean complet fals protect void clear complet fals public string start tag return non nl 1 getstartoftag protect string read tag throw io except int int char char string buffer node string buffer complet int char reader read 1 char int char node append node string end non nl 1 complet true return node string readtag ioexcept intchar stringbuff stringbuff intchar intchar tostr endswith tostr privat string tag text protect abstract void clear tagtext protect abstract void clear public int post tag depth modifi return 0 getposttagdepthmodifi public int pre tag depth modifi return 0 getpretagdepthmodifi abstract public string start tag getstartoftag abstract public string start tag public string tag text return tag text getstartoftag gettagtext tagtext public boolean text node return fals istextnod protect abstract string read tag throw io except readtag ioexcept protect abstract string read tag throw io except public boolean requir initi indent return true readtag ioexcept requiresinitialind public void set reader reader reader throw io except reader reader clear tag text read tag setread ioexcept tagtext readtag public boolean start newlin return true startsonnewlin public static tag reader creat tag reader reader reader throw io except char buf char 10 reader mark 10 reader read buf 0 10 reader reset string start tag string buf int 0 tag reader length start tag start tag reader start tag tag reader set reader reader return tag reader text node reader set reader reader return text node reader tagread createtagreaderfor ioexcept startoftag valueof tagread startoftag startswith tagread getstartoftag tagread setread tagread textnoderead setread textnoderead privat boolean text node protect void clear complet fals istextnod org eclips ant intern ui editor formatt xml document formatt tag reader start tag public string start tag return non nl 1 xmldocumentformatt tagread getstartoftag getstartoftag org eclips ant intern ui editor formatt xml document formatt tag reader text node public boolean text node return text node xmldocumentformatt tagread istextnod istextnod istextnod protect string read tag throw io except string buffer node string buffer complet reader mark 1 int int char reader read int char 1 break char char int char reader reset complet true node append text node whitespac remov newlin node length 1 text node fals node string trim length 0 string whitespac node string node string buffer int 0 whitespac length char whitespac charact whitespac char whitespac charact node append whitespac charact text node fals text node true return node string readtag ioexcept stringbuff stringbuff intchar intchar intchar istextnod tostr tostr stringbuff whitespacecharact charat whitespacecharact whitespacecharact istextnod istextnod tostr org eclips ant intern ui editor formatt xml document formatt tag reader requir initi indent public boolean requir initi indent return fals xmldocumentformatt tagread requiresinitialind requiresinitialind org eclips ant intern ui editor formatt xml document formatt tag reader start newlin public boolean start newlin return fals xmldocumentformatt tagread startsonnewlin startsonnewlin privat boolean complet fals protect void clear complet fals public int post tag depth modifi tag text end tag text end non nl 1 non nl 2 return 0 tag text start non nl 1 return 0 return 1 getposttagdepthmodifi gettagtext endswith gettagtext endswith gettagtext startswith public int pre tag depth modifi tag text start non nl 1 return 1 return 0 getpretagdepthmodifi gettagtext startswith public string start tag return non nl 1 getstartoftag protect string read tag throw io except string buffer node string buffer boolean insid quot fals int int char complet int char reader read 1 char char int char node append todo logic incorrectli assum quot charact insid quot insid quot insid quot complet true return node string readtag ioexcept stringbuff stringbuff insidequot intchar intchar intchar insidequot insidequot insidequot tostr privat boolean node text public xml document formatt super depth 1 lastnodewastext xmldocumentformatt privat void copi node reader reader string buffer format prefer pref throw io except tag reader tag tag reader factori creat tag reader reader depth depth tag pre tag depth modifi node text tag start newlin newlin out append non nl 1 tag requir initi indent append indent pref canon indent append tag tag text depth depth tag post tag depth modifi node text tag text node copynod stringbuff formattingprefer ioexcept tagread tagreaderfactori createtagreaderfor getpretagdepthmodifi lastnodewastext startsonnewlin hasnewlinealreadi requiresinitialind getcanonicalind gettagtext getposttagdepthmodifi lastnodewastext istextnod return indent string param line text line param tab width width charact public static int comput indent string line int tab width int result 0 int blank 0 int size line length int 0 size char line char result blank 0 indent char blank blank tab width result blank 0 return result return result tabwidth computeind tabwidth charat isindentchar tabwidth indent char space char line delimit code charact whitespac ch ch ch code public static boolean indent char char ch return charact whitespac ch line delimit char ch iswhitespac isindentchar iswhitespac islinedelimiterchar line delimit char public static boolean line delimit char char ch return ch ch islinedelimiterchar return public string format string document text format prefer pref assert null document text assert null pref reader reader string reader document text format xml string buffer depth 1 depth 0 node text fals try true reader mark 1 int int char reader read reader reset int char 1 copi node reader format xml pref break reader close catch io except antui plugin log return format xml string documenttext formattingprefer isnotnul documenttext isnotnul stringread documenttext formattedxml stringbuff lastnodewastext intchar intchar copynod formattedxml ioexcept antuiplugin formattedxml tostr privat boolean newlin string buffer return index format xml length 1 non nl 1 index format xml length 1 non nl 1 hasnewlinealreadi stringbuff lastindexof formattedxml lastindexof formattedxml privat string indent string canon indent string buffer indent string buffer 30 int 0 depth indent append canon indent return indent string canonicalind stringbuff stringbuff canonicalind tostr public void set initi indent int indent depth indent setinitialind return indent line code offset code code string buffer code offset valid empti string return param offset offset document return indent lead whitespac line code offset code locat public static string buffer lead whitespac int offset document document string buffer indent string buffer try region line document line inform offset offset int line offset line offset int nonw find end white space document line offset line offset line length indent append document line offset nonw line offset return indent catch bad locat except return indent stringbuff stringbuff getleadingwhitespac idocu stringbuff stringbuff iregion getlineinformationofoffset lineoffset getoffset findendofwhitespac lineoffset lineoffset getlength lineoffset lineoffset badlocationexcept return offset greater code offset code smaller code end code charact space tab charact offset found code end code return param document document search param offset offset search start param end offset search stop return offset specif rang charact space tab except bad locat except posit invalid rang document public static int find end white space document document int offset int end throw bad locat except offset end char document char offset c return offset offset return end badlocationexcept findendofwhitespac idocu badlocationexcept getchar creat string repres indent space tab return indent public static string buffer creat indent string buffer indent string buffer prefer store plugin pref antui plugin default prefer store plugin pref boolean ant editor prefer constant formatt tab char plugin pref boolean ant editor prefer constant formatt tab char int tab len plugin pref int ant editor prefer constant formatt tab size int 0 tab len indent append indent append default return indent stringbuff createind stringbuff oneind stringbuff ipreferencestor pluginpref antuiplugin getdefault getpreferencestor pluginpref getboolean anteditorpreferenceconst formatt_tab_char pluginpref getboolean anteditorpreferenceconst formatt_tab_char tablen pluginpref getint anteditorpreferenceconst formatt_tab_size tablen oneind oneind oneind privat int indent 1 public xml document format strategi pref format prefer xmldocumentformattingstrategi formattingprefer public xml document format strategi format prefer pref int indent assert null pref pref pref indent indent xmldocumentformattingstrategi formattingprefer isnotnul public void format super format final document document document document remov document null todo allow format region entir document string document text document xml document formatt formatt xml document formatt indent 1 formatt set initi indent indent string format text formatt format document text pref format text null format text equal document text document set format text idocu idocu fdocument removefirst documenttext xmldocumentformatt xmldocumentformatt setinitialind formattedtext documenttext formattedtext formattedtext documenttext formattedtext public void formatt start final format context context super formatt start context document add context properti format context properti context medium formatterstart iformattingcontext formatterstart fdocument addlast getproperti formattingcontextproperti context_medium public void formatt stop super formatt stop document clear formatterstop formatterstop fdocument privat final link list partit link list public xml element format strategi pref format prefer linkedlist fpartit linkedlist xmlelementformattingstrategi formattingprefer public xml element format strategi format prefer pref assert null pref pref pref xmlelementformattingstrategi formattingprefer isnotnul public void format super format final document document document document remov final type posit partit type posit partit remov document null partit null return try string format format element document partit string partit text document partit offset partit length format null format equal partit text document replac partit offset partit length format catch bad locat except idocu idocu fdocument removefirst typedposit typedposit fpartit removefirst formatel partitiontext getoffset getlength partitiontext getoffset getlength badlocationexcept privat string format element document document type posit partit throw bad locat except string partit text document partit offset partit length region line document line inform offset partit offset int indent length partit offset line offset return xml tag formatt format partit text pref document line offset indent length formatel idocu typedposit badlocationexcept partitiontext getoffset getlength iregion getlineinformationofoffset getoffset indentlength getoffset getoffset xmltagformatt partitiontext getoffset indentlength public void formatt start final format context context super formatt start context partit add context properti format context properti context partit document add context properti format context properti context medium formatterstart iformattingcontext formatterstart fpartit addlast getproperti formattingcontextproperti context_partit fdocument addlast getproperti formattingcontextproperti context_medium public void formatt stop super formatt stop partit clear document clear formatterstop formatterstop fpartit fdocument format text ant code formatt param text text format non null param pref prefer format oper null prefer set plug prefer store return format text public static string format string text format prefer pref return format text pref 1 formattingprefer privat static string format string text format prefer pref int indent assert null text format prefer appli pref pref null appli pref format prefer appli pref pref document doc document doc set text ant document setup particip setup doc format appli pref doc indent return doc formattingprefer isnotnul formattingprefer applypref applypref formattingprefer applypref idocu antdocumentsetupparticip applypref privat static void format format prefer pref document doc int indent multi pass content formatt formatt multi pass content formatt ant document setup particip ant partit document default content type formatt set master strategi xml document format strategi pref indent formatt set slave strategi xml element format strategi pref ant editor partit scanner xml tag formatt format doc region 0 doc length formattingprefer idocu multipasscontentformatt multipasscontentformatt antdocumentsetupparticip ant_partit idocu default_content_type setmasterstrategi xmldocumentformattingstrategi setslavestrategi xmlelementformattingstrategi anteditorpartitionscann xml_tag getlength format text ant code formatt prefer set plug prefer store param text text format non null return format text public static string format string text return format text null public static void format templat buffer templat buffer ant context ant context format prefer pref string templat string templat buffer string document full document document ant context document int complet offset ant context complet offset try trim start whitespac region line region full document line inform offset complet offset string line string full document line region offset line region length line string trim begin line string full document replac line region offset line region length line string catch bad locat except e1 return templat variabl variabl templat buffer variabl int offset variabl offset variabl complet offset document orig templat doc document full document try orig templat doc replac complet offset ant context complet length templat string catch bad locat except return don format document chang document templat document creat document orig templat doc creat posit offset string lead text lead text full document ant context ant model complet offset string templat string lead text templat string int indent xml document formatt comput indent lead text pref tab width templat string format templat string pref indent try templat document replac complet offset templat string length templat string catch bad locat except return posit posit null try posit templat document posit po categori catch bad posit categori except e2 offset variabl offset variabl complet offset posit variabl posit variabl complet offset templat buffer set content templat string variabl templatebuff templatebuff antcontext antcontext formattingprefer templatestr templatebuff getstr idocu fulldocu antcontext getdocu completionoffset antcontext getcompletionoffset iregion lineregion fulldocu getlineinformationofoffset completionoffset linestr fulldocu lineregion getoffset lineregion getlength linestr trimbegin linestr fulldocu lineregion getoffset lineregion getlength linestr badlocationexcept templatevari templatebuff getvari variablestooffset completionoffset idocu origtemplatedoc fulldocu origtemplatedoc completionoffset antcontext getcompletionlength templatestr badlocationexcept idocu templatedocu createdocu origtemplatedoc createposit leadingtext getleadingtext fulldocu antcontext getantmodel completionoffset newtemplatestr leadingtext templatestr xmldocumentformatt computeind leadingtext gettabwidth newtemplatestr newtemplatestr templatedocu completionoffset templatestr newtemplatestr badlocationexcept templatedocu getposit po_categori badpositioncategoryexcept offsetstovari completionoffset positionstovari completionoffset templatebuff setcont newtemplatestr privat static void posit variabl posit posit templat variabl variabl int start int 0 variabl length templat variabl variabl variabl int offset int variabl offset length int 0 offset length offset posit offset start variabl set offset offset positionstovari templatevari templatevari getoffset getoffset setoffset doc add posit updat default posit updat po categori protect boolean delet offset posit offset posit offset posit length offset length posit offset offset length delet posit set end remov return fals return true addpositionupdat defaultpositionupdat po_categori notdelet foffset fposit fposit fposit foffset flength fposit foffset flength privat static document creat document string string posit posit throw illeg argument except document doc document string try posit null doc add posit categori po categori doc add posit updat default posit updat po categori protect boolean delet offset posit offset posit offset posit length offset length posit offset offset length delet posit set end remov return fals return true int 0 posit length try doc add posit po categori posit catch bad locat except throw illeg argument except posit string offset posit offset length posit length string size string length non nl 1 non nl 2 non nl 3 catch bad posit categori except happen happen categori correctli set return doc createdocu illegalargumentexcept addpositioncategori po_categori addpositionupdat defaultpositionupdat po_categori notdelet foffset fposit fposit fposit foffset flength fposit foffset flength addposit po_categori badlocationexcept illegalargumentexcept badpositioncategoryexcept cannothappen public static string trim begin string trim int 0 trim length charact whitespac trim char i return trim substr trimbegin tobetrim tobetrim iswhitespac tobetrim charat tobetrim privat static int variabl offset templat variabl variabl int start list list arrai list int 0 variabl length int offset variabl offset int 0 offset length list add integ offset int offset int list size int 0 offset length offset integ list int start arrai sort offset return offset variablestooffset templatevari arraylist getoffset intvalu privat static void offset variabl int offset templat variabl variabl int start int current indic int variabl length int 0 current indic length current indic 0 int offset int variabl length int 0 variabl length offset variabl offset int 0 offset length int min integ max int min variabl index 1 int 0 variabl length int current index current indic determin minimum current index offset length continu int offset offset current index offset min min offset min variabl index offset min variabl index current indic min variabl index offset start current indic min variabl index int 0 variabl length variabl set offset offset offsetstovari alloffset templatevari currentindic currentindic currentindic getoffset alloffset max_valu minvariableindex currentindex currentindic currentindex currentindex minvariableindex minvariableindex currentindic minvariableindex alloffset currentindic minvariableindex setoffset return indent level posit code complet privat static string lead text document document ant model model int complet offset ant project node project model project node fals project null return non nl 1 ant element node node project node complet offset accumul chang node null return non nl 1 string buffer buf string buffer buf append xml document formatt lead whitespac node offset document buf append xml document formatt creat indent return buf string getleadingtext idocu antmodel completionoffset antprojectnod getprojectnod antelementnod getnod completionoffset faccumulatedchang stringbuff stringbuff xmldocumentformatt getleadingwhitespac getoffset xmldocumentformatt createind tostr privat static posit creat posit int posit posit null posit null posit posit length int 0 posit length posit posit 0 return createposit privat string public attribut pair string attribut string attribut attribut valu attributepair public string attribut return attribut getattribut public string return getvalu protect static class pars except extend except public pars except string messag super messag parseexcept parseexcept privat string element public void add attribut string attribut string attribut add attribut pair attribut elementnam addattribut attributepair public int attribut count return attribut size attributecount public attribut pair attribut pair int return attribut pair attribut attributepair getattributepair attributepair public string element return element getelementnam elementnam public boolean close return close isclos public int minimum length int length 2 close length need add length element length attribut count 0 close length int 0 attribut count attribut pair attribut pair attribut pair length attribut pair attribut length length attribut pair length length 4 equal sign quot charact trail space attribut count 0 close length return length minimumlength isclos getelementnam attributecount isclos attributecount attributepair attributepair getattributepair attributepair getattribut attributepair getvalu attributecount isclos public void set attribut list attribut pair attribut clear attribut add attribut pair setattribut attributepair addal attributepair public void set close boolean close close close setclos public void set element string element element element setelementnam elementnam elementnam elementnam public string string string buffer sb string buffer 500 sb append non nl 1 sb append element attribut count 0 close sb append int 0 attribut count attribut pair attribut pair attribut pair sb append attribut pair attribut sb append non nl 1 sb append attribut pair sb append non nl 1 close attribut count 1 sb append close sb append non nl 1 sb append non nl 1 return sb string tostr stringbuff stringbuff getelementnam attributecount isclos attributecount attributepair attributepair getattributepair attributepair getattribut attributepair getvalu isclos attributecount isclos tostr param search char param target string return privat int count char char search char string target string string charact iter iter string charact iter target string int 0 iter search char iter index iter end index iter search char return searchchar intargetstr countchar searchchar intargetstr stringcharacteriter stringcharacteriter intargetstr searchchar getindex getendindex searchchar param tag text param pref param indent return public string format tag tag format prefer pref string indent pref wrap tag line requir wrap indent tag string pref maximum line width pref tab width return wrap tag tag pref indent return tag string tagtext formattingprefer wraplongtag linerequireswrap tostr getmaximumlinewidth gettabwidth wraptag tostr param line param line width param tab width return protect boolean line requir wrap string line int line width int tab width return tab expand line width line tab width line width linewidth tabwidth linerequireswrap linewidth tabwidth tabexpandedlinewidth tabwidth linewidth param line line space expand param tab width number space substitut tab return length line tab expand space protect int tab expand line width string line int tab width int tab count count char line return line length tab count tab count tab width tabwidth tabexpandedlinewidth tabwidth tabcount countchar tabcount tabcount tabwidth param tag param pref param indent return protect string wrap tag tag tag format prefer pref string indent string buffer sb string buffer 1024 sb append sb append tag element sb append tag attribut count 0 sb append tag attribut pair 0 attribut sb append non nl 1 sb append tag attribut pair 0 sb append tag attribut count 1 char extra indent char tag element length 2 arrai fill extra indent int 1 tag attribut count sb append sb append indent sb append extra indent sb append tag attribut pair attribut sb append non nl 1 sb append tag attribut pair sb append pref align element close char sb append non nl 1 sb append indent tag close sb append tag close sb append non nl 1 sb append non nl 1 return sb string wraptag formattingprefer stringbuff stringbuff getelementnam attributecount getattributepair getattribut getattributepair getvalu attributecount extraind getelementnam extraind attributecount extraind getattributepair getattribut getattributepair getvalu alignelementclosechar isclos isclos tostr class mode privat int mode public void set attribut search mode 0 setattributenamesearch privat int mode public void set attribut search mode 0 public void set attribut found mode 1 setattributenamesearch setattributenamefound public void set attribut search mode 0 public void set attribut found mode 1 public void set attribut search mode 2 setattributenamesearch setattributenamefound setattributevaluesearch public void set attribut found mode 1 public void set attribut search mode 2 public void set attribut found mode 3 setattributenamefound setattributevaluesearch setattributevaluefound public void set attribut search mode 2 public void set attribut found mode 3 public void set finish mode 4 setattributevaluesearch setattributevaluefound setfinish public void set attribut found mode 3 public void set finish mode 4 public boolean attribut search return mode 0 setattributevaluefound setfinish isattributenamesearch public void set finish mode 4 public boolean attribut search return mode 0 public boolean attribut found return mode 1 setfinish isattributenamesearch isattributenamefound public boolean attribut search return mode 0 public boolean attribut found return mode 1 public boolean attribut search return mode 2 isattributenamesearch isattributenamefound isattributevaluesearch public boolean attribut found return mode 1 public boolean attribut search return mode 2 public boolean attribut found return mode 3 isattributenamefound isattributevaluesearch isattributevaluefound public boolean attribut search return mode 2 public boolean attribut found return mode 3 public boolean finish return mode 4 isattributevaluesearch isattributevaluefound isfinish protect list attibut string element text throw pars except class mode privat int mode public void set attribut search mode 0 public void set attribut found mode 1 public void set attribut search mode 2 public void set attribut found mode 3 public void set finish mode 4 public boolean attribut search return mode 0 public boolean attribut found return mode 1 public boolean attribut search return mode 2 public boolean attribut found return mode 3 public boolean finish return mode 4 list attribut pair arrai list charact iter iter string charact iter element text substr element element text length 2 find attribut mode mode mode mode set attribut search char attribut quot string buffer current attribut null string buffer current attribut null char iter iter index iter end index switch case case mode attribut search start attribut attribut quot mode set attribut found current attribut string buffer 1024 mode attribut found attribut quot ve complet pair attribut pair pair attribut pair current attribut string current attribut string attribut pair add pair start look attribut mode set attribut search mode attribut found attribut quot quot charact part attribut current attribut append place quot throw pars except unexpect non nl 1 pars element text non nl 1 break case mode attribut found charact part attribut current attribut append mode attribut found end start look mode set attribut search place equal sign throw pars except unexpect non nl 1 pars element text non nl 1 break case case mode attribut found attribut valu cdata add current attribut append mode attribut search mode set finish mode finish consum remain charact aren readi throw pars except unexpect non nl 1 pars element text non nl 1 break default mode attribut found attribut valu cdata add current attribut append mode finish charact whitespac throw pars except unexpect non nl 1 pars element text non nl 1 charact whitespac mode attribut search found start attribut mode set attribut found current attribut string buffer 255 current attribut append mode attribut found current attribut append break iter mode finish throw pars except element complet non nl 1 return attribut pair getattibut elementtext parseexcept setattributenamesearch setattributenamefound setattributevaluesearch setattributevaluefound setfinish isattributenamesearch isattributenamefound isattributevaluesearch isattributevaluefound isfinish attributepair arraylist characteriter stringcharacteriter elementtext getelementnam elementtext setattributenamesearch attributequot stringbuff currentattributenam stringbuff currentattributevalu getindex getendindex isattributevaluesearch attributequot setattributevaluefound currentattributevalu stringbuff isattributevaluefound attributequot attributepair attributepair currentattributenam tostr currentattributevalu tostr attributepair setattributenamesearch isattributevaluefound attributequot currentattributevalu parseexcept elementtext isattributevaluefound currentattributevalu isattributenamefound setattributevaluesearch parseexcept elementtext isattributevaluefound currentattributevalu isattributenamesearch setfinish isfinish parseexcept elementtext isattributevaluefound currentattributevalu isfinish iswhitespac parseexcept elementtext iswhitespac isattributenamesearch setattributenamefound currentattributenam stringbuff currentattributenam isattributenamefound currentattributenam isfinish parseexcept attributepair param tag text text xml tag return extract xml element protect string element string tag text throw pars except tag text equal pars text element null int end tag tag end tag text tag text length 2 end tag 1 pars text tag text element tag text substr 1 end tag throw pars except element tag non nl 1 tag text return element tagtext getelementnam tagtext parseexcept tagtext parsetext elementnam endoftag tagend tagtext tagtext endoftag parsetext tagtext elementnam tagtext endoftag parseexcept tagtext elementnam param tag text return protect boolean close string tag text return tag text char tag text index 1 non nl 1 tagtext isclos tagtext tagtext charat tagtext lastindexof param tag text return fulli popul tag public tag pars string tag text throw pars except tag tag tag tag set element element tag text tag set attribut attibut tag text tag set close close tag text return tag tagtext tagtext parseexcept setelementnam getelementnam tagtext setattribut getattibut tagtext setclos isclos tagtext privat int tag end string text admittedli loos don want formatt strict http www w3 org tr 2000 rec xml 20001006 nt int 1 text length char text char charact letter digit c c return return 1 tagend charat isletterordigit _ param tag text param pref param indent return public static string format string tag text format prefer pref string indent tag tag tag text start tag text start non nl 1 non nl 2 tag text start tag text start non nl 1 non nl 2 return tag text try tag tag parser pars tag text catch pars except pars tag give leav text return tag text return tag formatt format tag pref indent tagtext tagtext formattingprefer tagtext startswith tagtext startswith tagtext startswith tagtext startswith tagtext tagpars tagtext parseexcept tagtext tagformatt public class ant defin task node extend ant task node public ant defin task node task task string label super task label antdefiningtasknod anttasknod antdefiningtasknod protect imag descriptor base imag descriptor string task task task taskdef equal ignor case task typedef equal ignor case task non nl 1 non nl 2 return super base imag descriptor return antui imag imag descriptor antui constant img ant macrodef imagedescriptor getbaseimagedescriptor tasknam gettask gettasknam equalsignorecas tasknam equalsignorecas tasknam getbaseimagedescriptor antuiimag getimagedescriptor iantuiconst img_ant_macrodef execut defin task public boolean configur boolean valid fulli prefer store store antui plugin default prefer store boolean enabl store boolean ant editor prefer constant codeassist user defin task enabl try task mayb configur task execut return fals catch build except handl build except ant editor prefer constant problem classpath return fals validatefulli ipreferencestor antuiplugin getdefault getpreferencestor getboolean anteditorpreferenceconst codeassist_user_defin_task gettask maybeconfigur gettask buildexcept handlebuildexcept anteditorpreferenceconst problem_classpath public object real task task task task task instanceof unknown element task mayb configur return unknown element task real thing return task getrealtask gettask unknownel maybeconfigur unknownel getrealth public static void set java class path ant core prefer pref ant core plugin plugin prefer url ant classpath pref getur ls string buffer buff string buffer file file null int 0 ant classpath length try file file platform localurl ant classpath path catch io except continu buff append file absolut path buff append non nl 1 org apach tool ant type path system classpath org apach tool ant type path null buff substr 0 buff length 2 org apach tool ant type path system classpath system classpath setjavaclasspath antcoreprefer antcoreplugin getplugin getprefer antclasspath geturl stringbuff stringbuff antclasspath aslocalurl antclasspath getpath ioexcept getabsolutepath systemclasspath systemclasspath systemclasspath org eclips ant intern ui editor model ant element node set parent org eclips ant intern ui editor model ant element node protect void set parent ant element node node super set parent node project node add defin task node antelementnod setpar antelementnod setpar antelementnod setpar getprojectnod adddefiningtasknod creat instanc public ant element node string name antelementnod anam anam creat instanc public ant element node antelementnod return public string return getnam return label displai outlin view default implement return the method code code overrid method subclass special element order provid custom label public string label return getnam getlabel getnam return child node public list child node return child node getchildnod childnod return descend target public list descend child node null return null list descend arrai list determin descend descend child node return descend getdescend childnod arraylist determinedescend childnod privat void determin descend list descend list children node iter itr children node iter itr ant element node element ant element node itr element children determin descend descend element child node descend add element determinedescend childrennod childrennod hasnext antelementnod antelementnod haschildren determinedescend getchildnod return parent code ant element node code return parent code null code element parent public ant element node parent node return parent antelementnod antelementnod getparentnod public ant project node project node ant element node project parent parent node project parent null project parent instanceof ant project node project parent project parent parent node return ant project node project parent antprojectnod getprojectnod antelementnod projectpar getparentnod projectpar projectpar antprojectnod projectpar projectpar getparentnod antprojectnod projectpar add element child element assign parent public void add child node ant element node child element child element set parent child node null child node arrai list child node add child element addchildnod antelementnod childel childel setpar childnod childnod arraylist childnod childel protect void set parent ant element node node parent node setpar antelementnod set absolut file system path file element defin public void set file path string path path null return url url null try url url path catch malformedurl except file path path return file path path file url path absolut path string setfilepath malformedurlexcept filepath filepath getpath getabsolutepath tostr return absolut file system path file element defin relev node extern extern public string file path return file path isextern getfilepath filepath return 0 base index charact sourc code element rel sourc buffer element contain return 0 base index charact sourc code element rel sourc buffer element contain public int offset return offset getoffset set offset offset public void set offset int offset offset offset getoffset setoffset anoffset anoffset return number charact sourc code element rel sourc buffer element contain return number charact sourc code element rel sourc buffer element contain public int length return length getlength set length length public void set length int length length length problem null problem instanceof xml problem xml problem problem set length length problem null getlength setlength alength alength fproblem fproblem xmlproblem xmlproblem fproblem setlength alength fproblem return string represent element public string string return ant element node label offset offset length length non nl 1 non nl 2 non nl 3 tostr getlabel getoffset getlength return element gener part element hierarchi complet result error public boolean error node return problem sever xml problem sever error problem sever xml problem sever fatal error iserrornod problemsever xmlproblem sever_error problemsever xmlproblem sever_fatal_error return element gener part element hierarchi warn public boolean warn node return problem sever xml problem sever warn iswarningnod problemsever xmlproblem sever_warn set element gener part element hierarchi problem sever problem provid public void set problem sever int sever problem sever sever setproblemsever problemsever return xml element defin extern entiti return boolean public boolean extern return extern isextern isextern set xml element defin extern entiti public void set extern boolean extern extern extern setextern isextern isextern isextern privat string element path element path null string buffer buffer string buffer parent node null parent node element path non nl 1 buffer append buffer append element identifi buffer append buffer append parent node null parent node element index 0 buffer append element path buffer string return element path getelementpath felementpath stringbuff stringbuff getparentnod getparentnod getelementpath getelementidentifi getparentnod getparentnod getelementindexof felementpath tostr felementpath privat string element identifi element identifi null string buffer buffer escap string buffer null non nl 1 non nl 2 buffer append buffer append escap string buffer label null label string non nl 1 non nl 2 element identifi buffer string return element identifi getelementidentifi felementidentifi stringbuff stringbuff getnam getnam stringbuff getlabel getlabel tostr felementidentifi tostr felementidentifi privat string buffer escap string buffer sb char esc string special int 0 sb length special index sb char 0 sb insert esc return sb stringbuff stringbuff indexof charat privat int element index ant element node child child node null return 1 int result 1 iter iter child node iter ant element node current null current child iter current ant element node iter child element identifi equal current element identifi result current child return 1 return result getelementindexof antelementnod getchildnod getchildnod antelementnod hasnext antelementnod getelementidentifi getelementidentifi public boolean equal object o2 prepar element compar depend http dev eclips org bug show bug cgi id 32254 object o1 o1 o2 return true o1 null o2 null return fals o1 instanceof ant element node o2 instanceof ant element node return o2 equal o1 o1 instanceof ant element node o2 instanceof ant element node return fals ant element node e1 ant element node o1 ant element node e2 ant element node o2 return e1 element path equal e2 element path ielementcompar show_bug antelementnod antelementnod antelementnod antelementnod antelementnod antelementnod antelementnod antelementnod getelementpath getelementpath public int hash code prepar element compar depend http dev eclips org bug show bug cgi id 32254 return element path hash code hashcod ielementcompar show_bug getelementpath hashcod return length sourc select node return length sourc select public int select length return select length getselectionlength selectionlength public void set select length int select length select length select length setselectionlength selectionlength selectionlength selectionlength return node narrowest sourc rang offset node children code null code offset sourc rang node param sourc offset sourc offset return node includ offset sourc rang code null code public ant element node node int sourc offset child node null iter iter child node iter iter ant element node node ant element node iter ant element node node node node sourc offset node null return node length 1 offset sourc offset extern open element return offset sourc offset sourc offset offset length 2 return return null sourceoffset antelementnod getnod sourceoffset childnod childnod hasnext antelementnod antelementnod antelementnod containingnod getnod sourceoffset containingnod containingnod sourceoffset isextern sourceoffset sourceoffset public imag imag int flag 0 error node flag flag ant imag descriptor error warn node flag flag ant imag descriptor warn import node null extern flag flag ant imag descriptor import imag descriptor base base imag descriptor return antui imag imag ant imag descriptor base flag getimag iserrornod antimagedescriptor ha_error iswarningnod antimagedescriptor ha_warn importnod isextern antimagedescriptor imagedescriptor getbaseimagedescriptor antuiimag getimag antimagedescriptor protect imag descriptor base imag descriptor return antui imag imag descriptor antui constant img task propos imagedescriptor getbaseimagedescriptor antuiimag getimagedescriptor iantuiconst img_task_propos protect ant model ant model ant element node parent node parent node parent node instanceof ant project node parent node parent node parent node return parent node ant model antmodel getantmodel antelementnod parentnod getparentnod parentnod antprojectnod parentnod parentnod getparentnod parentnod getantmodel set problem element param problem problem element public void problem problem problem problem problem associatedproblem iproblem fproblem protect void append entiti string buffer displai string path file path import node null displai append messag format format ant model messag string ant element node 9 string import node label non nl 1 string entiti ant model entiti path displai append messag format format ant model messag string ant element node 9 string entiti non nl 1 appendentitynam stringbuff displaynam getfilepath getimportnod displaynam messageformat antmodelmessag getstr antelementnod getimportnod getlabel entitynam getantmodel getentitynam displaynam messageformat antmodelmessag getstr antelementnod entitynam public ant element node import node return import node antelementnod getimportnod importnod public void set import node ant element node import node import node import node setimportnod antelementnod importnod importnod importnod public boolean children child node null return fals return child node empti haschildren childnod childnod isempti public void reset child node null childnod public void set extern info int line int column line line column column setexternalinfo fline fcolumn public int extern info return int line column getexternalinfo fline fcolumn return resourc definit ant node return resourc definit ant node code null code resourc determin buildfil extern workspac public file geti file extern return ant util file locat file path null return build file resourc ifil getifil isextern antutil getfileforloc filepath getbuildfileresourc return resourc main build file ant node return resourc main buildfil ant node code null code resourc determin buildfil extern workspac public file build file resourc locat provid locat provid ant model locat provid return locat provid file ifil getbuildfileresourc locationprovid locationprovid getantmodel getlocationprovid locationprovid getfil org eclips core runtim adapt adapt java lang class public object adapt class adapt return platform adapt manag adapt adapt iadapt getadapt getadapt getadaptermanag getadapt privat string file null public ant import node task task attribut attribut super task file attribut ant model constant attr file ffile antimportnod ffile getvalu iantmodelconst attr_file public string file return file getfil ffile org eclips ant intern ui editor model ant element node base imag descriptor protect imag descriptor base imag descriptor return antui imag imag descriptor antui constant img ant import antelementnod getbaseimagedescriptor imagedescriptor getbaseimagedescriptor antuiimag getimagedescriptor iantuiconst img_ant_import public string label string buffer label string buffer task task label append label append file extern append entiti label return label string getlabel stringbuff stringbuff gettask gettasknam ffile isextern appendentitynam tostr execut import return code true code import add ant model public boolean configur boolean valid fulli configur return fals try task mayb configur task execut configur true return true catch build except handl build except ant editor prefer constant problem import return fals validatefulli gettask maybeconfigur gettask buildexcept handlebuildexcept anteditorpreferenceconst problem_import public file geti file file file extern file ant util file locat file path null string path file file ant util file locat path ant model edit file parent file return file ifil getifil ifil isextern antutil getfileforloc getfilepath getfil antutil getfileforloc getantmodel geteditedfil getparentfil resourc bundl bundl bundl privat ant model messag resourcebundl getbundl bundl_name antmodelmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept public ant project node ant model project project ant model ant model super project non nl 1 project project model ant model antprojectnod antmodelproject antmodel antmodel fproject fmodel antmodel public string label string project project project null project length 0 project project non nl 1 return project getlabel projectnam fproject getnam projectnam projectnam projectnam projectnam org eclips ant intern ui editor model ant element node base imag descriptor protect imag descriptor base imag descriptor return antui imag imag descriptor antui constant img ant project antelementnod getbaseimagedescriptor imagedescriptor getbaseimagedescriptor antuiimag getimagedescriptor iantuiconst img_ant_project return ant project project node return ant project public project project return project getproject fproject protect ant model ant model return model antmodel getantmodel fmodel public void reset super reset project reset defin node map null ant model set name defin node defin node map kei set defin node map null set problem sever xml problem problem fproject fnametodefiningnodemap getantmodel setnamesofolddefiningnod fnametodefiningnodemap keyset fnametodefiningnodemap setproblemsever xmlproblem no_problem public void add defin task node ant defin task node node defin node map null defin node map hash map string label node label label equal ignor case macrodef non nl 1 label equal ignor case presetdef non nl 1 label equal ignor case typedef non nl 1 label equal ignor case taskdef non nl 1 add user defin name return defin node map put node label node adddefiningtasknod antdefiningtasknod fnametodefiningnodemap fnametodefiningnodemap hashmap getlabel equalsignorecas equalsignorecas equalsignorecas equalsignorecas fnametodefiningnodemap getlabel public ant defin task node definin task node string node name defin node map null return ant defin task node defin node map node return null antdefiningtasknod getdefininingtasknod nodenam fnametodefiningnodemap antdefiningtasknod fnametodefiningnodemap nodenam public ant properti node task task attribut attribut super task string label attribut ant model constant attr label null label attribut ant model constant attr file label null label file label non nl 1 label attribut ant model constant attr resourc label null label resourc label non nl 1 label attribut ant model constant attr environ label null label environ label non nl 1 attribut ant model constant attr set label label antpropertynod getvalu iantmodelconst attr_name getvalu iantmodelconst attr_file getvalu iantmodelconst attr_resourc getvalu iantmodelconst attr_environ fvalu getvalu iantmodelconst attr_valu setlabel public string return getvalu fvalu org eclips ant intern ui editor model ant element node base imag descriptor protect imag descriptor base imag descriptor return antui imag imag descriptor antui constant img properti antelementnod getbaseimagedescriptor imagedescriptor getbaseimagedescriptor antuiimag getimagedescriptor iantuiconst img_properti set properti project public boolean configur boolean valid fulli configur return fals try task mayb configur task execut configur true catch build except handl build except ant editor prefer constant problem properti return fals validatefulli gettask maybeconfigur gettask buildexcept handlebuildexcept anteditorpreferenceconst problem_properti privat target target null public ant target node target target super target non nl 1 target target ftarget anttargetnod ftarget public string label string target target target null target target non nl 1 set problem sever xml problem sever error string buffer displai string buffer target default target displai append ant model messag string ant target node 2 non nl 1 extern append entiti displai return displai string getlabel targetnam ftarget getnam targetnam targetnam setproblemsever xmlproblem sever_error stringbuff displaynam stringbuff targetnam isdefaulttarget displaynam antmodelmessag getstr anttargetnod isextern appendentitynam displaynam displaynam tostr public target target return target gettarget ftarget public boolean default target string target target target null return fals return target equal target project default target isdefaulttarget targetnam ftarget getnam targetnam targetnam ftarget getproject getdefaulttarget protect imag descriptor base imag descriptor imag descriptor base null default target base antui imag imag descriptor antui constant img ant default target target descript null base antui imag imag descriptor antui constant img ant target intern base antui imag imag descriptor antui constant img ant target return base imagedescriptor getbaseimagedescriptor imagedescriptor isdefaulttarget antuiimag getimagedescriptor iantuiconst img_ant_default_target gettarget getdescript antuiimag getimagedescriptor iantuiconst img_ant_target_intern antuiimag getimagedescriptor iantuiconst img_ant_target param target target set public void set target target target target target settarget ftarget public void reset super reset map current target target project target current target target null current target remov target currenttarget ftarget getproject gettarget currenttarget ftarget getnam currenttarget ftarget getnam return miss depend code null code depend exist project public string check depend enumer depend target depend depend element string depend string depend element target project target depend null return depend return null checkdepend ftarget getdepend hasmoreel nextel ftarget getproject gettarget protect boolean configur fals public ant task node task task super task task task task anttasknod gettasknam ftask public ant task node task task string label super task task task task label label anttasknod gettasknam ftask flabel public string label string buffer label string buffer label null label append label id null label append id label append task task extern append entiti label return label string getlabel stringbuff stringbuff flabel flabel fid fid ftask gettasknam isextern appendentitynam tostr public void set label string label label label setlabel flabel public task task return task gettask ftask public void set task task task task task settask ftask protect imag descriptor base imag descriptor id null return antui imag imag descriptor antui constant img ant type return super base imag descriptor imagedescriptor getbaseimagedescriptor fid antuiimag getimagedescriptor iantuiconst img_ant_type getbaseimagedescriptor refer id task param id refer id task public void set id string id id id setid fid return refer id task code null code refer id return refer id task public string id return id getid fid configur task requir subclass specif configur execut task call code node specif configur code return configur node impact node public boolean configur boolean valid fulli valid fulli parent node instanceof ant task node return fals configur return fals try task mayb configur node specif configur configur true return true catch build except handl build except ant editor prefer constant problem task return fals nodespecificconfigur validatefulli validatefulli getparentnod anttasknod gettask maybeconfigur nodespecificconfigur buildexcept handlebuildexcept anteditorpreferenceconst problem_task protect void node specif configur default nodespecificconfigur protect void handl build except build except string prefer kei int sever xml problem sever prefer kei sever xml problem problem ant model handl build except sever handlebuildexcept buildexcept preferencekei xmlproblem getsever preferencekei xmlproblem no_problem getantmodel handlebuildexcept public open declar action ant editor ant editor super ant editor site editor ant editor set action definit id java editor action definit id open editor ant editor site kei bind servic regist action set text ant editor messag string open declar action 0 non nl 1 set descript ant editor messag string open declar action 1 non nl 1 set tool tip text ant editor messag string open declar action 1 non nl 1 opendeclarationact anteditor anteditor anteditor getsit feditor anteditor setactiondefinitionid ijavaeditoractiondefinitionid open_editor anteditor getsit getkeybindingservic registeract settext anteditormessag getstr opendeclarationact setdescript anteditormessag getstr opendeclarationact settooltiptext anteditormessag getstr opendeclarationact public void run editor null return editor open refer element feditor feditor openreferenceel org eclips jdt ui action select dispatch action select chang org eclips jface text text select public void select chang text select select set enabl editor null selectiondispatchact selectionchang itextselect selectionchang itextselect seten feditor public void set editor ant editor editor editor editor seteditor anteditor feditor return target intern target intern target target descript default target consid intern public boolean select viewer viewer object parent element object element element instanceof ant target node target target ant target node element target return target descript null ant target node element default target return true parentel anttargetnod anttargetnod gettarget getdescript anttargetnod isdefaulttarget return link ant element node import file public boolean select viewer viewer object parent element object element element instanceof ant element node ant element node node ant element node element node import node null node extern node instanceof ant target node ant target node node default target return true return fals return true antelementnod parentel antelementnod antelementnod antelementnod getimportnod isextern anttargetnod anttargetnod isdefaulttarget public boolean select viewer viewer object parent element object element element instanceof ant properti node return fals return true parentel antpropertynod public boolean select viewer viewer object parent element object element element instanceof ant task node parent element instanceof ant project node return fals return true parentel anttasknod parentel antprojectnod privat class ant outlin sorter extend viewer sorter org eclips jface viewer viewer sorter compar org eclips jface viewer viewer java lang object java lang object public int compar viewer viewer object e1 object e2 e1 instanceof ant element node e2 instanceof ant element node return super compar viewer e1 e2 string name1 ant element node e1 label string name2 ant element node e2 label return collat compar name1 name2 antoutlinesort viewersort viewersort antelementnod antelementnod antelementnod getlabel antelementnod getlabel getcol org eclips jface viewer content provid dispos public void dispos icontentprovid org eclips jface viewer content provid input chang viewer object object public void input chang viewer viewer object input object input icontentprovid inputchang inputchang oldinput newinput public object children object parent node ant element node temp parent element ant element node parent node temp parent element children list children temp parent element child node return children arrai return empti arrai getchildren parentnod antelementnod tempparentel antelementnod parentnod tempparentel haschildren tempparentel getchildnod toarrai empti_arrai org eclips jface viewer tree content provid parent object public object parent object node ant element node temp element ant element node node return temp element parent node itreecontentprovid getpar getpar anod antelementnod tempel antelementnod anod tempel getparentnod org eclips jface viewer tree content provid children object public boolean children object node return ant element node node children itreecontentprovid haschildren haschildren anod antelementnod anod haschildren org eclips jface viewer structur content provid element object public object element object input element return ant model input element root element istructuredcontentprovid getel getel aninputel antmodel aninputel getrootel org eclips jface viewer label provid imag object public imag imag object element ant element node node ant element node element return node imag ilabelprovid getimag getimag anel antelementnod antelementnod anel getimag org eclips jface viewer label provid text object public string text object node ant element node element ant element node node return element label ilabelprovid gettext gettext antelementnod antelementnod getlabel public color foreground object node node instanceof ant target node ant target node node default target return displai default system color swt color blue return null getforeground anttargetnod anttargetnod isdefaulttarget getdefault getsystemcolor color_blue public color background object element return null getbackground set intern target filter outlin param filter intern target filter protect void set filter intern target boolean filter filter intern target filter set filter filter intern target filter antui prefer constant anteditor filter intern target setfilterinternaltarget ffilterinternaltarget setfilt getinternaltargetsfilt iantuipreferenceconst anteditor_filter_intern_target set import element filter outlin param filter import element filter protect void set filter import element boolean filter filter import element filter set filter filter import element filter antui prefer constant anteditor filter import element setfilterimportedel ffilterimportedel setfilt getimportedelementsfilt iantuipreferenceconst anteditor_filter_import_element privat void set filter boolean filter viewer filter viewer filter string filter tree viewer add filter viewer filter tree viewer remov filter viewer filter antui plugin default prefer store set filter tree viewer refresh setfilt viewerfilt viewerfilt gettreeview addfilt viewerfilt gettreeview removefilt viewerfilt antuiplugin getdefault getpreferencestor setvalu gettreeview set properti filter outlin param filter properti filter protect void set filter properti boolean filter filter properti filter set filter filter properti filter antui prefer constant anteditor filter properti setfilterproperti ffilterproperti setfilt getpropertiesfilt iantuipreferenceconst anteditor_filter_properti set intern target filter outlin param filter intern target filter protect void set filter top level boolean filter filter top level filter set filter filter top level filter antui prefer constant anteditor filter top level setfiltertoplevel ffiltertoplevel setfilt gettoplevelfilt iantuipreferenceconst anteditor_filter_top_level privat viewer filter intern target filter intern target filter null intern target filter intern target filter return intern target filter viewerfilt getinternaltargetsfilt finternaltargetfilt finternaltargetfilt internaltargetfilt finternaltargetfilt privat viewer filter import element filter import element filter null import element filter import element filter return import element filter viewerfilt getimportedelementsfilt fimportedelementsfilt fimportedelementsfilt importedelementsfilt fimportedelementsfilt privat viewer filter properti filter properti filter null properti filter properti filter return properti filter viewerfilt getpropertiesfilt fpropertiesfilt fpropertiesfilt propertiesfilt fpropertiesfilt privat viewer filter top level filter top level filter null top level filter top level filter return top level filter viewerfilt gettoplevelfilt ftoplevelfilt ftoplevelfilt toplevelfilt ftoplevelfilt return intern target filter outlin return intern target filter protect boolean filter intern target return filter intern target filterinternaltarget ffilterinternaltarget return import element filter outlin return import element filter protect boolean filter import element return filter import element filterimportedel ffilterimportedel return properti filter outlin return properti filter protect boolean filter properti return filter properti filterproperti ffilterproperti return top level task type filter outlin return top level task type filter protect boolean filter top level return filter top level filtertoplevel ffiltertoplevel set element sort outlin param sort element sort protect void set sort boolean sort sort sort sort sorter null sorter ant outlin sorter tree viewer set sorter sorter tree viewer set sorter null antui plugin default prefer store set antui prefer constant anteditor sort sort setsort fsort fsorter fsorter antoutlinesort gettreeview setsort fsorter gettreeview setsort antuiplugin getdefault getpreferencestor setvalu iantuipreferenceconst anteditor_sort return element sort return element sort protect boolean sort return sort issort fsort creat ant editor content outlin page public ant editor content outlin page xml core core ant editor editor super core core filter intern target antui plugin default prefer store boolean antui prefer constant anteditor filter intern target filter import element antui plugin default prefer store boolean antui prefer constant anteditor filter import element filter properti antui plugin default prefer store boolean antui prefer constant anteditor filter properti filter top level antui plugin default prefer store boolean antui prefer constant anteditor filter top level sort antui plugin default prefer store boolean antui prefer constant anteditor sort editor editor anteditorcontentoutlinepag anteditorcontentoutlinepag xmlcore anteditor fcore ffilterinternaltarget antuiplugin getdefault getpreferencestor getboolean iantuipreferenceconst anteditor_filter_intern_target ffilterimportedel antuiplugin getdefault getpreferencestor getboolean iantuipreferenceconst anteditor_filter_import_element ffilterproperti antuiplugin getdefault getpreferencestor getboolean iantuipreferenceconst anteditor_filter_properti ffiltertoplevel antuiplugin getdefault getpreferencestor getboolean iantuipreferenceconst anteditor_filter_top_level fsort antuiplugin getdefault getpreferencestor getboolean iantuipreferenceconst anteditor_sort feditor public void dispos menu null menu dispos open menu null open menu dispos listen null core remov document model listen listen listen null openwithmenu openwithmenu flisten fcore removedocumentmodellisten flisten flisten manag set remov shown true manag add menu listen menu listen public void menu show menu manag menu manag context menu show menu manag setremoveallwhenshown addmenulisten imenulisten menuabouttoshow imenumanag menumanag contextmenuabouttoshow menumanag viewer add post select chang listen select chang listen public void select chang select chang event event fire post select chang event select addpostselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev firepostselectionchang getselect creat control outlin view page public void creat control composit parent super creat control parent tree viewer viewer tree viewer want implement content provid content provid abl dom tree structur resembl file content viewer set content provid content provid set sort sort need label provid viewer set label provid label provid model null set viewer input model menu manag manag menu manag pop non nl 1 manag set remov shown true manag add menu listen menu listen public void menu show menu manag menu manag context menu show menu manag menu manag creat context menu viewer tree viewer tree set menu menu page site site site site regist context menu antui constant plugin id ant editor outlin manag viewer non nl 1 tool bar manag tbm site action bar tool bar manag tbm add toggl sort ant outlin action tbm add filter intern target action tbm add filter properti action tbm add filter import element action tbm add filter top level action menu manag view menu site action bar menu manag view menu add toggl link editor action editor open menu ant open menu site page viewer add post select chang listen select chang listen public void select chang select chang event event fire post select chang event select set filter intern target filter intern target set filter import element filter import element set filter properti filter properti set filter top level filter top level createcontrol createcontrol treeview gettreeview setcontentprovid contentprovid setsort fsort setlabelprovid labelprovid fmodel setviewerinput fmodel menumanag menumanag popup setremoveallwhenshown addmenulisten imenulisten menuabouttoshow imenumanag menumanag contextmenuabouttoshow menumanag createcontextmenu gettre gettre setmenu ipagesit getsit registercontextmenu iantuiconst plugin_id anteditoroutlin itoolbarmanag getactionbar gettoolbarmanag togglesortantoutlineact filterinternaltargetsact filterpropertiesact filterimportedelementsact filtertoplevelact imenumanag viewmenu getactionbar getmenumanag viewmenu togglelinkwitheditoract feditor openwithmenu antopenwithmenu getsit getpag addpostselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev firepostselectionchang getselect setfilterinternaltarget ffilterinternaltarget setfilterimportedel ffilterimportedel setfilterproperti ffilterproperti setfiltertoplevel ffiltertoplevel privat void set viewer input object input tree viewer tree tree viewer object input tree input boolean ant model input instanceof ant model boolean ant model input instanceof ant model ant model ant model listen null listen creat ant model chang listen core add document model listen listen ant model ant model listen null core remov document model listen listen listen null tree set input input ant model updat tree expans setviewerinput newinput treeview gettreeview oldinput getinput isantmodel newinput antmodel wasantmodel oldinput antmodel isantmodel wasantmodel flisten flisten createantmodelchangelisten fcore adddocumentmodellisten flisten isantmodel wasantmodel flisten fcore removedocumentmodellisten flisten flisten setinput newinput isantmodel updatetreeexpans public void set page input ant model xml model model xml model tree viewer null set viewer input model setpageinput antmodel xmlmodel fmodel xmlmodel gettreeview setviewerinput fmodel control displai async exec runnabl public void run control ctrl control ctrl null ctrl dispos tree viewer refresh updat tree expans getcontrol getdisplai asyncexec getcontrol isdispos gettreeview updatetreeexpans return document model listen public void document model chang final document model chang event event event model model control dispos control displai async exec runnabl public void run control ctrl control ctrl null ctrl dispos tree viewer refresh updat tree expans idocumentmodellisten documentmodelchang documentmodelchangeev getmodel fmodel getcontrol isdispos getcontrol getdisplai asyncexec getcontrol isdispos gettreeview updatetreeexpans privat document model listen creat ant model chang listen return document model listen public void document model chang final document model chang event event event model model control dispos control displai async exec runnabl public void run control ctrl control ctrl null ctrl dispos tree viewer refresh updat tree expans idocumentmodellisten createantmodelchangelisten idocumentmodellisten documentmodelchang documentmodelchangeev getmodel fmodel getcontrol isdispos getcontrol getdisplai asyncexec getcontrol isdispos gettreeview updatetreeexpans public void add post select chang listen select chang listen listen post select chang listen add listen addpostselectionchangedlisten iselectionchangedlisten fpostselectionchangedlisten public void remov post select chang listen select chang listen listen post select chang listen remov listen removepostselectionchangedlisten iselectionchangedlisten fpostselectionchangedlisten privat void updat tree expans boolean model empti model empti model empti model null model root element null model root element length 0 model empti model empti tree viewer expand level expand level updatetreeexpans wasmodelempti fismodelempti fismodelempti fmodel fmodel getrootel fmodel getrootel wasmodelempti fismodelempti gettreeview expandtolevel expand_to_level privat void fire post select chang select select creat event select chang event event select chang event select fire event object listen post select chang listen listen int 0 listen length i select chang listen listen select chang event firepostselectionchang iselect selectionchangedev selectionchangedev fpostselectionchangedlisten getlisten iselectionchangedlisten selectionchang privat void context menu show menu manag menu manag add open menu add open menu menu manag menu manag add separ workbench action constant mb addit contextmenuabouttoshow imenumanag menumanag shouldaddopenwithmenu addopenwithmenu menumanag menumanag iworkbenchactionconst mb_addit privat void add open menu menu manag menu manag ant element node element select node file file element geti file file null menu manag add separ group open non nl 1 menu manag submenu menu manag ant outlin messag string ant editor content outlin page open 1 non nl 1 open menu set file file element import node null int line column element extern info open menu set extern info line column 0 line column 1 submenu add open menu menu manag append group group open submenu non nl 1 addopenwithmenu imenumanag menumanag antelementnod getselectednod ifil getifil menumanag imenumanag menumanag antoutlinemessag getstr anteditorcontentoutlinepag open_with_1 openwithmenu setfil getimportnod lineandcolumn getexternalinfo openwithmenu setexternalinfo lineandcolumn lineandcolumn openwithmenu menumanag appendtogroup privat boolean add open menu ant element node node select node node instanceof ant import node return true node null node extern string path node file path path null path length 0 return true return fals shouldaddopenwithmenu antelementnod getselectednod antimportnod isextern getfilepath privat ant element node select node select iselect select iselect instanceof structur select structur select select structur select iselect select size 1 object select select element select instanceof ant element node return ant element node select return null antelementnod getselectednod iselect getselect istructuredselect istructuredselect istructuredselect getfirstel antelementnod antelementnod public object adapt class kei kei show sourc class return return null getadapt ishowinsourc public show context show context file file null model null ant element node node select node file node geti file file null select select structur select file return show context null select return null showincontext getshowincontext ifil fmodel antelementnod getselectednod getifil iselect structuredselect showincontext public void select ant element node node tree viewer null select tree viewer select instanceof structur select structur select ss structur select list node ss list node node node null structur select empti structur select node tree viewer set select true antelementnod gettreeview iselect gettreeview getselect istructuredselect istructuredselect istructuredselect tolist structuredselect structuredselect gettreeview setselect public ant editor marker updat job list problem super ant editor marker updat job non nl 1 problem problem set system true anteditormarkerupdaterjob fproblem setsystem org eclips core intern resourc workspac job run workspac org eclips core runtim progress monitor public statu run workspac progress monitor monitor updat marker0 problem return statu statu ok antui plugin uniqu identifi statu ok null non nl 1 workspacejob runinworkspac iprogressmonitor istatu runinworkspac iprogressmonitor updatemark0 fproblem istatu antuiplugin getuniqueidentifi istatu public synchron void accept problem problem problem collect problem problem return collect problem add problem acceptproblem iproblem fcollectedproblem fcollectedproblem public synchron void begin report collect problem clear beginreport fcollectedproblem privat void remov problem file file file file null file exist return try file delet marker buildfil problem marker fals resourc depth infinit catch core except antui plugin log removeproblem ifil getfil deletemark buildfil_problem_marker iresourc depth_infinit coreexcept antuiplugin privat void creat marker problem problem file file file map attribut marker attribut problem try marker util creat marker file attribut buildfil problem marker catch core except antui plugin log createmark iproblem ifil getfil getmarkerattribut markerutil createmark buildfil_problem_marker coreexcept antuiplugin public void set model ant model model model model setmodel antmodel fmodel public synchron void updat marker file file file file null list problem arrai list collect problem size iter collect problem iter problem add collect problem clear ant editor marker updat job job ant editor marker updat job problem job set rule resourc plugin workspac rule factori marker rule file job schedul updatemark ifil getfil arraylist fcollectedproblem fcollectedproblem hasnext fcollectedproblem anteditormarkerupdaterjob anteditormarkerupdaterjob setrul resourcesplugin getworkspac getrulefactori markerrul privat void updat marker0 list problem remov problem add marker return problem size 0 iter problem iter problem problem problem creat marker problem updatemark0 removeproblem shouldaddmark hasnext iproblem iproblem createmark privat file file file null file model file return file ifil getfil ffile ffile fmodel getfil ffile return attribut newli creat marker initi return initi marker attribut privat map marker attribut problem problem map attribut hash map 11 int sever marker sever error problem warn sever marker sever warn marker line number 1 base marker util set messag attribut problem unmodifi messag marker util set line number attribut problem line number marker util set char start attribut problem offset marker util set char end attribut problem offset problem length attribut put marker sever integ sever return attribut getmarkerattribut iproblem hashmap imark sever_error iswarn imark sever_warn markerutil setmessag getunmodifiedmessag markerutil setlinenumb getlinenumb markerutil setcharstart getoffset markerutil setcharend getoffset getlength imark return add marker file base file content type content type consid ant buildfil xml root quot project quot element content type defin org eclips ant core plugin xml return add marker file base file content type privat boolean add marker file file file file null file exist return fals content descript descript try descript file content descript catch core except return fals descript null content type type descript content type return type null ant core plugin ant buildfil content type equal type id return fals shouldaddmark ifil getfil icontentdescript getcontentdescript coreexcept icontenttyp getcontenttyp antcoreplugin ant_buildfil_content_type getid privat prefer properti chang listen core properti chang listen prefer properti chang listen public void properti chang prefer properti chang event event event properti equal ant core constant prefer classpath chang boolean event boolean true reconcil properti chang true ipropertychangelisten fcorepropertychangelisten ipropertychangelisten propertychang propertychangeev getproperti iantcoreconst prefer_classpath_chang getnewvalu reconcileforpropertychang privat prefer properti chang listen fui properti chang listen prefer properti chang listen public void properti chang prefer properti chang event event string properti event properti properti equal ant editor prefer constant problem antui plugin default plugin prefer remov properti chang listen fui properti chang listen reconcil properti chang fals antui plugin default plugin prefer set default ant editor prefer constant problem antui plugin default plugin prefer add properti chang listen fui properti chang listen properti equal ant editor prefer constant codeassist user defin task boolean event boolean reconcil properti chang fals ipropertychangelisten fuipropertychangelisten ipropertychangelisten propertychang propertychangeev getproperti anteditorpreferenceconst antuiplugin getdefault getpluginprefer removepropertychangelisten fuipropertychangelisten reconcileforpropertychang antuiplugin getdefault getpluginprefer settodefault anteditorpreferenceconst antuiplugin getdefault getpluginprefer addpropertychangelisten fuipropertychangelisten anteditorpreferenceconst codeassist_user_defin_task getnewvalu booleanvalu reconcileforpropertychang public ant model xml core core document document problem requestor problem requestor locat provid locat provid core core document document problem requestor problem requestor marker updat ant editor marker updat marker updat set model locat provid locat provid ant core plugin plugin plugin prefer add properti chang listen core properti chang listen antui plugin default plugin prefer add properti chang listen fui properti chang listen ant defin task node set java class path fg instanc count antmodel xmlcore idocu iproblemrequestor problemrequestor locationprovid locationprovid fcore fdocument fproblemrequestor problemrequestor fmarkerupdat anteditormarkerupdat fmarkerupdat setmodel flocationprovid locationprovid antcoreplugin getplugin getpluginprefer addpropertychangelisten fcorepropertychangelisten antuiplugin getdefault getpluginprefer addpropertychangelisten fuipropertychangelisten antdefiningtasknod setjavaclasspath fginstancecount privat void reconcil properti chang boolean classpath chang classpath chang fg class loader null ant defin task node set java class path dirti true reconcil null core notifi document model listen document model chang event true marker updat updat marker reconcileforpropertychang classpathchang classpathchang fgclassload antdefiningtasknod setjavaclasspath fisdirti fcore notifydocumentmodellisten documentmodelchangeev fmarkerupdat updatemark listen document listen public void document chang document event event synchron dirti lock dirti true flisten idocumentlisten documentabouttobechang documentev fdirtylock fisdirti public void document chang document event event documentchang documentev public void instal listen document listen public void document chang document event event synchron dirti lock dirti true public void document chang document event event document add document listen listen flisten idocumentlisten documentabouttobechang documentev fdirtylock fisdirti documentchang documentev fdocument adddocumentlisten flisten public void dispos synchron document null document remov document listen listen document null core null project helper set ant model null ant core plugin plugin plugin prefer remov properti chang listen core properti chang listen antui plugin default plugin prefer remov properti chang listen fui properti chang listen fg instanc count fg instanc count 0 fg class loader null project node null cleanup introspect helper gener introspect helper helper project node project ant model class project node project fire build finish null fdocument fdocument removedocumentlisten flisten fdocument fcore projecthelp setantmodel antcoreplugin getplugin getpluginprefer removepropertychangelisten fcorepropertychangelisten antuiplugin getdefault getpluginprefer removepropertychangelisten fuipropertychangelisten fginstancecount fginstancecount fgclassload getprojectnod introspectionhelp gethelp getprojectnod getproject antmodel getprojectnod getproject firebuildfinish public void reconcil dirti region region todo turn increment defer post 3 0 region null dirti region region synchron dirti lock dirti return replac occur region null remov part replac insert region shortli remov length replac region length replac occur fals return dirti fals synchron core null dispos return document null project node null reset region pars document document region remov length replac 0 dirti region null reconcil task type core notifi document model listen document model chang event dirtyregion fdirtyregion fdirtylock fisdirti freplacehasoccur fremovelengthofreplac getlength freplacehasoccur fisdirti fcore fdocument fprojectnod parsedocu fdocument fremovelengthofreplac fdirtyregion reconciletaskandtyp fcore notifydocumentmodellisten documentmodelchangeev privat void reset dirti region region todo increment pars clean task node map target reset current target node null region null open element stack task node hash map task node arrai list node resolv null node null dirtyregion fcurrenttargetnod fstillopenel ftasktonod hashmap ftasknod arraylist fnodebeingresolv flastnod public ant element node root element reconcil null project node null return ant element node 0 return ant element node project node antelementnod getrootel fprojectnod antelementnod antelementnod fprojectnod privat void pars document document input dirti region region boolean pars true input length 0 project node null pars fals return class loader pars class loader class loader class loader origin class loader thread current thread context class loader thread current thread set context class loader pars class loader boolean increment fals project project null try string text pars null project helper project helper null region null project node null full pars project node null project node children project node null project ant model project project helper prepar full pars project pars class loader text pars input entir document project project node project project helper project helper project refer ant project helper non nl 1 text pars prepar full increment input increment project project node project text pars prepar increment pars project region input text pars null pars fals return increment true project helper project helper project refer ant project helper non nl 1 begin report map refer project refer refer remov ant pars context non nl 1 project helper set ant model project helper pars project text pars catch build except handl build except null final thread current thread set context class loader origin class loader pars increment updat increment chang region true resolv buildfil end report project fire build finish null cleanup introspect helper increment target null parsedocu idocu dirtyregion getlength fprojectnod classload parsingclassload getclassload classload originalclassload currentthread getcontextclassload currentthread setcontextclassload parsingclassload texttopars projecthelp projecthelp fprojectnod fprojectnod fprojectnod haschildren fprojectnod antmodelproject projecthelp prepareforfullpars parsingclassload texttopars fprojectnod getproject projecthelp projecthelp getrefer projecthelp texttopars prepareforfullincrement fprojectnod getproject texttopars prepareforincrementalpars texttopars projecthelp projecthelp getrefer projecthelp beginreport getrefer projecthelp setantmodel projecthelp texttopars buildexcept handlebuildexcept currentthread setcontextclassload originalclassload updateafterincrementalchang resolvebuildfil endreport firebuildfinish introspectionhelp fincrementaltarget privat void updat increment chang dirti region region boolean updat project length project node null return int edit adjust determin edit adjust region edit adjust 0 return updat project length edit project project node set length project node length edit adjust project node set offset project node offset edit adjust increment target null updat project length project node children list children project node child node int index children index increment target 1 updat node increment pars edit adjust children index updateafterincrementalchang dirtyregion updateprojectlength fprojectnod editadjust determineeditadjust editadjust updateprojectlength fprojectnod setlength fprojectnod getlength editadjust fprojectnod setoffset fprojectnod getoffset editadjust fincrementaltarget updateprojectlength fprojectnod haschildren fprojectnod getchildnod indexof fincrementaltarget updatenodesforincrementalpars editadjust privat void updat node increment pars int edit adjust list children int index ant element node node int index children size node ant element node children node set offset node offset edit adjust node children updat node increment pars edit adjust node child node 0 updatenodesforincrementalpars editadjust antelementnod antelementnod setoffset getoffset editadjust haschildren updatenodesforincrementalpars editadjust getchildnod privat project helper prepar full pars project project class loader pars class loader initi project project pars class loader ant pars facil work file need determin actual locat file file content pars pars pass document string file file edit file string file path non nl 1 file null file path file absolut path project set user properti ant file file path non nl 1 project helper project helper project helper project helper set build file file project add refer ant project helper project helper non nl 1 return project helper projecthelp prepareforfullpars classload parsingclassload initializeproject parsingclassload geteditedfil filepath filepath getabsolutepath setuserproperti filepath projecthelp projecthelp projecthelp projecthelp setbuildfil addrefer projecthelp projecthelp projecthelp privat string prepar increment pars project project dirti region region document input string text pars null ant element node node project node node region offset node null project node length 0 element region offset project node offset updat increment chang region fals return null node don length due pars error full pars text pars prepar full increment input return text pars node null node instanceof ant target node node node parent node node null enclos target node found region text null region text trim length 0 return null need pars whitespac addit text pars prepar full increment input increment target ant target node node increment target children collect node task node valu node remov increment target descend mark hierarchi node xml problem problem string buffer temp creat increment content project increment target reset try int edit adjust determin edit adjust region 1 string target string input node offset 1 node length edit adjust temp append target string temp append project non nl 1 text pars temp string catch bad locat except text pars input return text pars prepareforincrementalpars dirtyregion idocu texttopars antelementnod fprojectnod getnod getoffset fprojectnod getlength getoffset fprojectnod getoffset updateafterincrementalchang texttopars prepareforfullincrement texttopars anttargetnod getparentnod gettext gettext texttopars prepareforfullincrement fincrementaltarget anttargetnod fincrementaltarget haschildren ftasktonod removeal fincrementaltarget getdescend markhierarchi xmlproblem no_problem stringbuff createincrementalcont fincrementaltarget editadjust determineeditadjust targetstr getoffset getlength editadjust targetstr texttopars tostr badlocationexcept texttopars texttopars privat string prepar full increment document input string text pars input project node reset task node hash map task node arrai list return text pars prepareforfullincrement idocu texttopars fprojectnod ftasktonod hashmap ftasknod arraylist texttopars privat string buffer creat increment content project project int offset increment target offset int line line offset 1 string buffer temp string buffer project non nl 1 string deflt target project default target deflt target null temp append default non nl 1 temp append deflt target temp append non nl 1 temp append non nl 1 line 0 temp append non nl 1 line return temp stringbuff createincrementalcont fincrementaltarget getoffset getlin stringbuff stringbuff deflttarget getdefaulttarget deflttarget deflttarget privat int determin edit adjust dirti region region int edit adjust 0 region type equal dirti region insert edit adjust region length remov length replac edit adjust region length return edit adjust determineeditadjust dirtyregion editadjust gettyp dirtyregion editadjust getlength fremovelengthofreplac editadjust getlength editadjust privat void initi project project project class loader loader project init set task project loader set type project loader initializeproject classload settask settyp privat void set task project project class loader loader list task ant core plugin plugin prefer task iter iter task iter iter org eclips ant core task task org eclips ant core task iter ant type definit def ant type definit def set task task def set class task class def set class loader loader def set adapt class task class def set adapt class task adapt class compon helper compon helper project add data type definit def settask classload antcoreplugin getplugin getprefer gettask hasnext anttypedefinit anttypedefinit setnam gettasknam setclassnam getclassnam setclassload setadapttoclass setadapterclass taskadapt componenthelp getcomponenthelp adddatatypedefinit privat void set type project project class loader loader list type ant core plugin plugin prefer type iter iter type iter iter type type type iter ant type definit def ant type definit def set type type def set class type class def set class loader loader compon helper compon helper project add data type definit def settyp classload antcoreplugin getplugin getprefer gettyp hasnext anttypedefinit anttypedefinit setnam gettypenam setclassnam getclassnam setclassload componenthelp getcomponenthelp adddatatypedefinit privat void resolv buildfil collect node copi arrai list task node size node copi add task node iter iter node copi iter iter ant task node node ant task node iter node resolv node node configur fals resolv element ad resolv buildfil node resolv null check target resolvebuildfil nodecopi arraylist ftasknod nodecopi addal ftasknod nodecopi hasnext anttasknod anttasknod fnodebeingresolv resolvebuildfil fnodebeingresolv checktarget check default target defin target depend exist privat void check target project node null return string default target project node project default target default target null project node project target default target null default target string messag default target null messag ant outlin messag string ant model 0 non nl 1 messag messag format format ant outlin messag string ant model 43 string default target non nl 1 problem problem creat problem messag project node offset project node select length xml problem sever error accept problem problem mark hierarchi project node xml problem sever error project node children return list children project node child node iter iter children iter iter ant element node node ant element node iter ant element node origin node node node instanceof ant target node string miss ant target node node check depend miss null string messag messag format format ant outlin messag string ant model 44 string miss non nl 1 ant element node import node node import node import node null node import node problem problem creat problem messag node offset node select length xml problem sever error accept problem problem mark hierarchi origin node xml problem sever error checktarget fprojectnod defaulttargetnam fprojectnod getproject getdefaulttarget defaulttargetnam fprojectnod getproject gettarget defaulttargetnam defaulttargetnam antoutlinemessag getstr antmodel messageformat antoutlinemessag getstr antmodel defaulttargetnam iproblem createproblem fprojectnod getoffset fprojectnod getselectionlength xmlproblem sever_error acceptproblem markhierarchi fprojectnod xmlproblem sever_error fprojectnod haschildren fprojectnod getchildnod hasnext antelementnod antelementnod antelementnod originalnod anttargetnod anttargetnod checkdepend messageformat antoutlinemessag getstr antmodel antelementnod importnod getimportnod importnod importnod iproblem createproblem getoffset getselectionlength xmlproblem sever_error acceptproblem markhierarchi originalnod xmlproblem sever_error public void handl build except build except ant element node node int sever try node null mark hierarchi node sever locat locat locat int line 0 int origin offset 0 int non whitespac offset 0 int length 0 locat locat unknown locat node null non whitespac offset node offset length node length line locat line number line 0 project node null length project node select length non whitespac offset project node offset sever xml problem sever error project node set problem sever xml problem problem return node null origin offset offset line 1 non whitespac offset origin offset try non whitespac offset non whitespac offset line 1 catch bad locat except length char column line non whitespac offset origin offset non whitespac offset node offset length node length notifi problem requestor non whitespac offset length sever catch bad locat except e1 handlebuildexcept buildexcept antelementnod markhierarchi getloc originaloffset nonwhitespaceoffset unknown_locat nonwhitespaceoffset getoffset getlength getlinenumb getprojectnod getprojectnod getselectionlength nonwhitespaceoffset getprojectnod getoffset xmlproblem sever_error getprojectnod setproblemsever xmlproblem no_problem originaloffset getoffset nonwhitespaceoffset originaloffset nonwhitespaceoffset getnonwhitespaceoffset badlocationexcept getlastcharcolumn nonwhitespaceoffset originaloffset nonwhitespaceoffset getoffset getlength notifyproblemrequestor nonwhitespaceoffset badlocationexcept public void handl build except build except ant element node node handl build except node xml problem sever error handlebuildexcept buildexcept antelementnod handlebuildexcept xmlproblem sever_error public file edit file locat provid null edit file null edit file locat provid locat file return edit file geteditedfil flocationprovid feditedfil feditedfil flocationprovid getloc tofil feditedfil privat void mark hierarchi ant element node open element int sever open element null open element set problem sever sever open element open element parent node markhierarchi antelementnod openel openel openel setproblemsever openel openel getparentnod public locat provid locat provid return locat provid locationprovid getlocationprovid flocationprovid public void add target target target int line int column increment target null current target node increment target current target node set target target open element push current target node ant target node target node ant target node target project node add child node target node current target node target node open element push target node comput offset target node line column node resolv instanceof ant import node target node set import node node resolv addtarget newtarget fincrementaltarget fcurrenttargetnod fincrementaltarget fcurrenttargetnod settarget newtarget fstillopenel fcurrenttargetnod anttargetnod targetnod anttargetnod newtarget fprojectnod addchildnod targetnod fcurrenttargetnod targetnod fstillopenel targetnod computeoffset targetnod fnodebeingresolv antimportnod targetnod setimportnod fnodebeingresolv public void add project project project int line int column increment target null return project node ant project node ant model project project open element push project node comput offset project node line column addproject fincrementaltarget fprojectnod antprojectnod antmodelproject fstillopenel fprojectnod computeoffset fprojectnod public void add task task task task parent task attribut attribut int line int column ant task node task node null parent task null task node task node task attribut current target node null project node add child node task node current target node add child node task node task node extern current target node set extern true current target node set file path task node file path task node known task node task attribut ant task node task node parent task add child node task node task node put task task node open element push task node comput offset task node line column node resolv instanceof ant import node task node set import node node resolv place node collect import node int index task node index node resolv 1 task node add index task node task node add task node addtask newtask parenttask anttasknod tasknod parenttask tasknod newtasknod newtask fcurrenttargetnod fprojectnod addchildnod tasknod fcurrenttargetnod addchildnod tasknod tasknod isextern fcurrenttargetnod setextern fcurrenttargetnod setfilepath tasknod getfilepath tasknod newnotwellknowntasknod newtask anttasknod ftasktonod parenttask addchildnod tasknod ftasktonod newtask tasknod fstillopenel tasknod computeoffset tasknod fnodebeingresolv antimportnod tasknod setimportnod fnodebeingresolv ftasknod indexof fnodebeingresolv ftasknod tasknod ftasknod tasknod public void add entiti string entiti string entiti path entiti path null entiti path hash map entiti path put entiti entiti path addent entitynam entitypath fentitynametopath fentitynametopath hashmap fentitynametopath entitynam entitypath privat ant task node task node task task attribut attribut ant task node node null string task task task properti set task task non nl 1 node ant properti node task attribut task equal ignor case import non nl 1 node ant import node task attribut task equal ignor case macrodef non nl 1 task equal ignor case presetdef non nl 1 task equal ignor case typedef non nl 1 task equal ignor case taskdef non nl 1 string attribut ant model constant attr node ant defin task node task task equal ignor case antcal non nl 1 node ant task node task gener label task attribut ant model constant attr target task equal ignor case mkdir non nl 1 node ant task node task gener label task attribut ant model constant attr dir task equal ignor case copi non nl 1 node ant task node task gener label task attribut ant model constant attr destfil task equal ignor case tar non nl 1 task equal ignor case jar non nl 1 task equal ignor case war non nl 1 task equal ignor case zip non nl 1 node ant task node task gener label task task attribut ant model constant attr destfil task equal ignor case untar non nl 1 task equal ignor case unjar non nl 1 task equal ignor case unwar non nl 1 task equal ignor case gunzip non nl 1 task equal ignor case bunzip2 non nl 1 task equal ignor case unzip non nl 1 node ant task node task gener label task task attribut ant model constant attr src task equal ignor case gzip non nl 1 task equal ignor case bzip2 non nl 1 node ant task node task gener label task task attribut ant model constant attr zipfil task equal ignor case exec non nl 1 string label exec non nl 1 string command attribut ant model constant attr command command null label command command attribut ant model constant attr execut command null label command node ant task node task label task equal ignor case delet non nl 1 string label delet non nl 1 string file attribut ant model constant attr file file null label file file attribut ant model constant attr dir file null label file node ant task node task label task equal ignor case import non nl 1 node ant task node task gener label task attribut ant model constant attr file non nl 1 node known task node task attribut string task file task locat file boolean extern task extern task file node set extern extern extern node set file path task file return node anttasknod newtasknod newtask anttasknod newnod tasknam newtask gettasknam ispropertysettingtask tasknam newnod antpropertynod newtask tasknam equalsignorecas newnod antimportnod newtask tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas getvalu iantmodelconst attr_name newnod antdefiningtasknod newtask tasknam equalsignorecas newnod anttasknod newtask generatelabel tasknam iantmodelconst attr_target tasknam equalsignorecas newnod anttasknod newtask generatelabel tasknam iantmodelconst attr_dir tasknam equalsignorecas newnod anttasknod newtask generatelabel tasknam iantmodelconst attr_destfil tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas newnod anttasknod newtask generatelabel newtask gettasknam iantmodelconst attr_destfil tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas newnod anttasknod newtask generatelabel newtask gettasknam iantmodelconst attr_src tasknam equalsignorecas tasknam equalsignorecas newnod anttasknod newtask generatelabel newtask gettasknam iantmodelconst attr_zipfil tasknam equalsignorecas getvalu iantmodelconst attr_command getvalu iantmodelconst attr_execut newnod anttasknod newtask tasknam equalsignorecas getvalu iantmodelconst attr_file getvalu iantmodelconst attr_dir newnod anttasknod newtask tasknam equalsignorecas newnod anttasknod newtask generatelabel tasknam iantmodelconst attr_file newnod newnotwellknowntasknod newtask taskfilenam newtask getloc getfilenam istaskextern taskfilenam newnod setextern newnod setfilepath taskfilenam newnod param task the task check return task set properti public static boolean properti set task string task return task equal ignor case properti non nl 1 task equal ignor case non nl 1 task equal ignor case basenam non nl 1 task equal ignor case condit non nl 1 task equal ignor case dirnam non nl 1 task equal ignor case loadfil non nl 1 task equal ignor case pathconvert non nl 1 task equal ignor case uptod non nl 1 task equal ignor case xmlproperti non nl 1 tasknam ispropertysettingtask tasknam tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas tasknam equalsignorecas privat boolean task extern string task file file task file file task file return task file equal edit file istaskextern taskfilenam taskfil taskfilenam taskfil geteditedfil privat ant task node known task node task task attribut attribut ant task node node ant task node task string id attribut id non nl 1 id null node set id id return node anttasknod newnotwellknowntasknod newtask anttasknod newnod anttasknod newtask getvalu newnod setid newnod privat string gener label string task attribut attribut string attribut string buffer label string buffer task string src file attribut attribut src file null label append label append src file return label string generatelabel tasknam attributenam stringbuff stringbuff tasknam srcfile getvalu attributenam srcfile srcfile tostr privat void comput length ant element node element int line int column element extern element set extern info line column return try int length int offset column 0 column char column line string line text document document line offset line 1 column string buffer search string string buffer non nl 1 search string append element search string append int index line text index search string string index 1 index line text index non nl 1 index 1 index column set end line index index 3 index index search string length 1 offset offset line index offset offset line column length offset element offset element set length length catch bad locat except ignor parser sync document reconcili computelength antelementnod isextern setexternalinfo getlastcharcolumn linetext fdocument fdocument getlineoffset stringbuff searchstr stringbuff searchstr getnam searchstr linetext indexof searchstr tostr linetext indexof searchstr getoffset getoffset getoffset setlength badlocationexcept privat void comput offset ant element node element int line int column element extern return try int offset string prefix non nl 1 column 0 offset offset line 0 int char column char column line offset comput offset prefix element line offset prefix char column offset offset line column offset comput offset prefix element line offset prefix column element set offset offset 1 element set select length element length catch bad locat except ignor parser sync document reconcili computeoffset antelementnod isextern getoffset lastcharcolumn getlastcharcolumn computeoffsetusingprefix lastcharcolumn getoffset computeoffsetusingprefix setoffset setselectionlength getnam badlocationexcept privat int comput offset prefix ant element node element int line int offset string prefix int column throw bad locat except string line text document document line offset line 1 column int index line text index prefix element index 1 offset offset line index 1 return comput offset prefix element line 1 offset prefix char column line 1 return offset computeoffsetusingprefix antelementnod badlocationexcept linetext fdocument fdocument getlineoffset lastindex linetext indexof getnam lastindex getoffset lastindex computeoffsetusingprefix getlastcharcolumn public int offset int line int column throw bad locat except return document line offset line 1 column 1 getoffset badlocationexcept fdocument getlineoffset privat int non whitespac offset int line int column throw bad locat except int offset document line offset line 1 column 1 charact whitespac document char offset offset return offset getnonwhitespaceoffset badlocationexcept fdocument getlineoffset iswhitespac fdocument getchar privat int line int offset try return document line offset offset 1 catch bad locat except return 1 getlin fdocument getlineofoffset badlocationexcept privat int char column int line throw bad locat except string line delimit document line delimit line 1 int line delimit length line delimit null line delimit length 0 return document line length line 1 line delimit length getlastcharcolumn badlocationexcept linedelimit fdocument getlinedelimit linedelimiterlength linedelimit linedelimit fdocument getlinelength linedelimiterlength public void set current element length int line number int column node ant element node open element pop node current target node current target node null current target element close comput length node line number column setcurrentelementlength linenumb flastnod antelementnod fstillopenel flastnod fcurrenttargetnod fcurrenttargetnod computelength flastnod linenumb public void accept problem problem problem problem requestor null problem requestor accept problem problem marker updat accept problem problem acceptproblem iproblem fproblemrequestor fproblemrequestor acceptproblem fmarkerupdat acceptproblem protect file file path locat locat provid locat locat null return null file file resourc plugin workspac root find file locat locat file length 0 return file 0 return null ifil getfil ipath flocationprovid getloc ifil resourcesplugin getworkspac getroot findfilesforloc privat void begin report problem requestor null problem requestor begin report marker updat begin report beginreport fproblemrequestor fproblemrequestor beginreport fmarkerupdat beginreport privat void end report problem requestor null problem requestor end report endreport fproblemrequestor fproblemrequestor endreport privat problem creat problem except except int offset int length int sever return creat problem except messag offset length sever iproblem createproblem createproblem getmessag privat problem creat problem string messag int offset int length int sever return xml problem messag sever offset length line offset iproblem createproblem xmlproblem getlin protect void notifi problem requestor except except ant element node element int sever ant element node import node element import node import node null element import node problem problem creat problem except element offset element length sever accept problem problem element problem problem notifyproblemrequestor antelementnod antelementnod importnod getimportnod importnod importnod iproblem createproblem getoffset getlength acceptproblem associatedproblem protect void notifi problem requestor except except int offset int length int sever problem requestor null problem problem creat problem except offset length sever accept problem problem notifyproblemrequestor fproblemrequestor iproblem createproblem acceptproblem public void warn except except notifi problem requestor except ant element node open element pop xml problem sever warn notifyproblemrequestor antelementnod fstillopenel xmlproblem sever_warn public void error except except handl error except xml problem sever error handleerror xmlproblem sever_error public void error element text except except int start int count ant element node node node node null open element empti node ant element node open element peek node null return comput end locat error node node start count notifi problem requestor except start count xml problem sever error mark hierarchi node xml problem sever error errorfromelementtext antelementnod flastnod fstillopenel antelementnod fstillopenel computeendlocationforerrornod notifyproblemrequestor xmlproblem sever_error markhierarchi flastnod xmlproblem sever_error public void error element except except ant element node node int line number int column node null open element empti node ant element node open element peek node node comput end locat error node node line number column notifi problem requestor except node xml problem sever error mark hierarchi node xml problem sever error errorfromel antelementnod linenumb fstillopenel antelementnod fstillopenel flastnod computeendlocationforerrornod linenumb notifyproblemrequestor xmlproblem sever_error markhierarchi xmlproblem sever_error privat ant element node creat problem element sax pars except except int line number except line number string buffer messag string buffer except messag line number 1 messag append ant outlin messag string ant model 1 line number non nl 1 ant element node error node ant element node messag string error node set file path except system id error node set problem sever xml problem sever error comput error locat error node except return error node antelementnod createproblemel saxparseexcept linenumb getlinenumb stringbuff stringbuff getmessag linenumb antoutlinemessag getstr antmodel linenumb antelementnod errornod antelementnod tostr errornod setfilepath getsystemid errornod setproblemsever xmlproblem sever_error computeerrorloc errornod errornod privat void comput error locat ant element node element sax pars except except element extern return int line except line number int start column except column number comput end locat error node element line start column computeerrorloc antelementnod saxparseexcept isextern getlinenumb startcolumn getcolumnnumb computeendlocationforerrornod startcolumn privat void comput end locat error node ant element node element int line int start column try line 0 line 1 int end column start column 0 element offset 1 start column element offset 1 start column 1 end column char column line 1 start column 1 start column end column start column start column char column line end column int correct 0 element offset 1 int origin offset offset line start column int non whitespac offset origin offset try non whitespac offset non whitespac offset line start column catch bad locat except element set offset non whitespac offset correct non whitespac offset origin offset end column start column 0 int offset offset line start column element set length offset element offset correct element set length end column start column correct catch bad locat except ignor parser sync document reconcili computeendlocationforerrornod antelementnod startcolumn endcolumn startcolumn getoffset startcolumn getoffset startcolumn endcolumn getlastcharcolumn startcolumn startcolumn endcolumn startcolumn startcolumn getlastcharcolumn endcolumn getoffset originaloffset getoffset startcolumn nonwhitespaceoffset originaloffset nonwhitespaceoffset getnonwhitespaceoffset startcolumn badlocationexcept setoffset nonwhitespaceoffset nonwhitespaceoffset originaloffset endcolumn startcolumn getoffset startcolumn setlength getoffset setlength endcolumn startcolumn badlocationexcept privat void handl error except except int sever ant element node node null open element empti except instanceof sax pars except node creat problem element sax pars except except node ant element node open element peek node null return mark hierarchi node sever except instanceof sax pars except sax pars except pars except sax pars except except node offset 1 comput end locat error node node pars except line number 1 pars except column number int line number pars except line number int column number pars except column number column number 1 column number 1 try ant element node child node node node non whitespac offset line number column number 1 child node null child node node node child node node set problem sever sever node creat problem element pars except catch bad locat except node creat problem element pars except notifi problem requestor except node sever node null node parent node null ant element node parent node node parent node parent node length 1 parent node set length node offset parent node offset node length node parent node increment target null updat target length edit int edit adjust determin edit adjust dirti region increment target set length increment target length edit adjust ant element node start node null open element peek increment target start node ant element node open element pop start node length 1 start node set length start node length edit adjust open element pop rid increment target start node null increment target children list children increment target child node int index children index start node updat node increment pars edit adjust children index handleerror antelementnod fstillopenel isempti saxparseexcept createproblemel saxparseexcept antelementnod fstillopenel markhierarchi saxparseexcept saxparseexcept parseexcept saxparseexcept getoffset computeendlocationforerrornod parseexcept getlinenumb parseexcept getcolumnnumb linenumb parseexcept getlinenumb columnnumb parseexcept getcolumnnumb columnnumb columnnumb antelementnod childnod getnod getnonwhitespaceoffset linenumb columnnumb childnod childnod childnod setproblemsever createproblemel parseexcept badlocationexcept createproblemel parseexcept notifyproblemrequestor getparentnod antelementnod parentnod getparentnod parentnod getlength parentnod setlength getoffset parentnod getoffset getlength parentnod fincrementaltarget editadjust determineeditadjust fdirtyregion fincrementaltarget setlength fincrementaltarget getlength editadjust antelementnod startingnod fstillopenel fincrementaltarget startingnod antelementnod fstillopenel startingnod getlength startingnod setlength startingnod getlength editadjust fstillopenel startingnod fincrementaltarget haschildren fincrementaltarget getchildnod indexof startingnod updatenodesforincrementalpars editadjust public void fatal error except except handl error except xml problem sever fatal error fatalerror handleerror xmlproblem sever_fatal_error public ant element node open element open element empti return null return ant element node open element peek antelementnod getopenel fstillopenel isempti antelementnod fstillopenel public string entiti path string entiti entiti path null return string entiti path entiti return null getentitypath entitynam fentitynametopath fentitynametopath entitynam public string entiti string path entiti path null iter itr entiti path kei set iter string entiti path string itr string itr entiti path string entiti path entiti path equal path return return null getentitynam fentitynametopath fentitynametopath keyset entitypath hasnext entitypath fentitynametopath entitypath public string properti string properti ant project node project node project node project node null return null return project node project properti properti getpropertyvalu propertynam antprojectnod projectnod getprojectnod projectnod projectnod getproject getproperti propertynam public object refer object string ref id ant project node project node project node project node null return null try project project project node project object ref project refer ref id return ref catch build except handl build except null return null getreferenceobject refid antprojectnod projectnod getprojectnod projectnod projectnod getproject getrefer refid buildexcept handlebuildexcept public ant element node refer node string text object refer refer object text refer null return null collect node task node kei set iter iter node iter iter object origin iter object object origin object instanceof unknown element unknown element element unknown element object object element real thing object null continu object refer return ant element node task node origin return null antelementnod getreferencenod getreferenceobject ftasktonod keyset hasnext unknownel unknownel unknownel getrealth antelementnod ftasktonod privat class loader class loader fg class loader null fg class loader ant core plugin plugin class loader true return fg class loader classload getclassload fgclassload fgclassload antcoreplugin getplugin getnewclassload fgclassload public string target descript string target renam ant project node project node project node project node null return null project project project node project map target project target target target target target target renam target null return target descript return null gettargetdescript targetrenam antprojectnod projectnod getprojectnod projectnod projectnod getproject gettarget targetrenam getdescript public ant project node project node boolean reconcil reconcil reconcil null return project node antprojectnod getprojectnod doreconcil doreconcil fprojectnod public ant project node project node return project node true antprojectnod getprojectnod getprojectnod public void set replac occur replac occur true setreplacehasoccur freplacehasoccur public void updat marker reconcil null marker updat updat marker updatemark fmarkerupdat updatemark public ant element node node int offset boolean wait reconcil project node wait reconcil null return project node wait reconcil node offset return null antelementnod getnod waitforreconcil getprojectnod waitforreconcil getprojectnod waitforreconcil getnod ant model reconcil content displai ant editor problem marker creation ad buildfil creat file creat eclips need updat marker match problem public void updat initi reconcil marker updat updat marker updateforinitialreconcil fmarkerupdat updatemark set name defin node exist previou pars build file public void set name defin node set set name defin node set setnamesofolddefiningnod fnamesofolddefiningnod remov type definit longer exist buildfil privat void reconcil task type name defin node null return iter iter name defin node iter iter string node label string iter project node definin task node node label null compon helper helper compon helper compon helper project node project helper ant type tabl remov node label iter remov reconciletaskandtyp fnamesofolddefiningnod fnamesofolddefiningnod hasnext nodelabel fprojectnod getdefininingtasknod nodelabel componenthelp componenthelp getcomponenthelp fprojectnod getproject getanttypet nodelabel public void set properti string string current properti null return properti valu written pars session remov properti apach ant project project reset properti pars reset current properti put super set properti setnewproperti fcurrentproperti fcurrentproperti setproperti public void fire build finish throwabl except super fire build finish except enumer build listen element element build listen listen build listen element remov build listen listen firebuildfinish firebuildfinish getbuildlisten hasmoreel buildlisten buildlisten nextel removebuildlisten public void reset target clear set default null set descript null set non nl 1 reset properti initi set current properti hashtabl enumer base properti kei element object element object base properti current properti put gettarget setdefault setdescript setnam fcurrentproperti fbaseproperti hasmoreel nextel fbaseproperti fcurrentproperti org apach tool ant project properti java lang string public string properti string overrid remov properti apach ant project return string current properti getproperti getproperti fcurrentproperti org apach tool ant project properti public hashtabl properti overrid remov properti apach ant project return current properti getproperti getproperti fcurrentproperti public void init throw build except super init base properti super properti current properti super properti buildexcept fbaseproperti getproperti fcurrentproperti getproperti privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat ant outlin messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name antoutlinemessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept privat boolean prefer chang fals document model chang event ant model model model model fpreferencechang documentmodelchangeev antmodel fmodel document model chang event ant model model boolean prefer chang model model prefer chang prefer chang documentmodelchangeev antmodel preferencechang fmodel fpreferencechang preferencechang public ant model model return model antmodel getmodel fmodel return document model chang result prefer chang return model chang prefer chang public boolean prefer chang return prefer chang ispreferencechang fpreferencechang public filter import element action ant editor content outlin page page super ant outlin messag string filter import element action 0 non nl 1 page page set imag descriptor antui imag imag descriptor antui constant img filter import element set tool tip text ant outlin messag string filter import element action 0 non nl 1 set check page filter import element filterimportedelementsact anteditorcontentoutlinepag antoutlinemessag getstr filterimportedelementsact fpage setimagedescriptor antuiimag getimagedescriptor iantuiconst img_filter_import_element settooltiptext antoutlinemessag getstr filterimportedelementsact setcheck fpage filterimportedel public void run busi indic show page control displai runnabl public void run page set filter import element check busyind showwhil fpage getcontrol getdisplai fpage setfilterimportedel ischeck toggl filter import element ant outlin org eclips jface action action run public void run busi indic show page control displai runnabl public void run page set filter import element check iaction busyind showwhil fpage getcontrol getdisplai fpage setfilterimportedel ischeck public filter intern target action ant editor content outlin page page super ant outlin messag string filter intern target action 0 non nl 1 page page set imag descriptor antui imag imag descriptor antui constant img filter intern target set tool tip text ant outlin messag string filter intern target action 0 non nl 1 set check page filter intern target filterinternaltargetsact anteditorcontentoutlinepag antoutlinemessag getstr filterinternaltargetsact fpage setimagedescriptor antuiimag getimagedescriptor iantuiconst img_filter_intern_target settooltiptext antoutlinemessag getstr filterinternaltargetsact setcheck fpage filterinternaltarget public void run busi indic show page control displai runnabl public void run page set filter intern target check busyind showwhil fpage getcontrol getdisplai fpage setfilterinternaltarget ischeck toggl filter intern target ant outlin org eclips jface action action run public void run busi indic show page control displai runnabl public void run page set filter intern target check iaction busyind showwhil fpage getcontrol getdisplai fpage setfilterinternaltarget ischeck public filter properti action ant editor content outlin page page super ant outlin messag string filter properti action 0 non nl 1 page page set imag descriptor antui imag imag descriptor antui constant img filter properti set tool tip text ant outlin messag string filter properti action 0 non nl 1 set check page filter properti filterpropertiesact anteditorcontentoutlinepag antoutlinemessag getstr filterpropertiesact fpage setimagedescriptor antuiimag getimagedescriptor iantuiconst img_filter_properti settooltiptext antoutlinemessag getstr filterpropertiesact setcheck fpage filterproperti public void run busi indic show page control displai runnabl public void run page set filter properti check busyind showwhil fpage getcontrol getdisplai fpage setfilterproperti ischeck toggl filter properti ant outlin org eclips jface action action run public void run busi indic show page control displai runnabl public void run page set filter properti check iaction busyind showwhil fpage getcontrol getdisplai fpage setfilterproperti ischeck public filter top level action ant editor content outlin page page super ant outlin messag string filter top level action 0 non nl 1 page page set imag descriptor antui imag imag descriptor antui constant img filter top level set tool tip text ant outlin messag string filter top level action 0 non nl 1 set check page filter top level filtertoplevelact anteditorcontentoutlinepag antoutlinemessag getstr filtertoplevelact fpage setimagedescriptor antuiimag getimagedescriptor iantuiconst img_filter_top_level settooltiptext antoutlinemessag getstr filtertoplevelact setcheck fpage filtertoplevel public void run busi indic show page control displai runnabl public void run page set filter top level check busyind showwhil fpage getcontrol getdisplai fpage setfiltertoplevel ischeck toggl filter top level task type ant outlin org eclips jface action action run public void run busi indic show page control displai runnabl public void run page set filter top level check iaction busyind showwhil fpage getcontrol getdisplai fpage setfiltertoplevel ischeck public interfac document model listen public void document model chang document model chang event event idocumentmodellisten documentmodelchang documentmodelchangeev answer local human readabl messag string describ problem messag escap handl special charact return local human readabl messag string describ problem answer local human readabl messag string describ problem messag origin form special charact escap return local human readabl messag string describ problem check sever error bit set return true error bit set sever fals check sever error bit set return true error bit set sever fals return line number problem return line number problem notif xml problem param problem problem discov java problem iproblem notif start problem detect process typic tell problem collector clear previous record problem notif complet problem detect process typic tell problem collector problem expect iter privat editor input editor input public locat provid editor input input editor input input ieditorinput feditorinput locationprovid ieditorinput feditorinput public path locat editor input instanceof file editor input return file editor input editor input file locat editor input instanceof locat provid return locat provid editor input path editor input return null ipath getloc feditorinput ifileeditorinput ifileeditorinput feditorinput getfil getloc feditorinput ilocationprovid ilocationprovid feditorinput getpath feditorinput public file file editor input instanceof file editor input return file editor input editor input file return null ifil getfil feditorinput ifileeditorinput ifileeditorinput feditorinput getfil public toggl link editor action ant editor editor super ant outlin messag string toggl link editor action 0 non nl 1 boolean link enabl antui plugin default prefer store boolean antui prefer constant outlin link editor set check link enabl editor editor set tool tip text ant outlin messag string toggl link editor action 1 non nl 1 set descript ant outlin messag string toggl link editor action 2 non nl 1 set imag descriptor antui imag imag descriptor antui constant img link editor togglelinkwitheditoract anteditor antoutlinemessag getstr togglelinkwitheditoract islinkingen antuiplugin getdefault getpreferencestor getboolean iantuipreferenceconst outlin_link_with_editor setcheck islinkingen feditor settooltiptext antoutlinemessag getstr togglelinkwitheditoract setdescript antoutlinemessag getstr togglelinkwitheditoract setimagedescriptor antuiimag getimagedescriptor iantuiconst img_link_with_editor public void run antui plugin default prefer store set antui prefer constant outlin link editor check check editor synchron outlin page fals antuiplugin getdefault getpreferencestor setvalu iantuipreferenceconst outlin_link_with_editor ischeck ischeck feditor synchronizeoutlinepag public toggl sort ant outlin action ant editor content outlin page page super ant outlin messag string toggl sort ant outlin action 0 non nl 1 page page set imag descriptor antui imag imag descriptor antui constant img sort outlin set tool tip text ant outlin messag string toggl sort ant outlin action 0 non nl 1 set check page sort togglesortantoutlineact anteditorcontentoutlinepag antoutlinemessag getstr togglesortantoutlineact fpage setimagedescriptor antuiimag getimagedescriptor iantuiconst img_sort_outlin settooltiptext antoutlinemessag getstr togglesortantoutlineact setcheck fpage issort toggl sort target ant outlin org eclips jface action action run public void run page set sort check iaction fpage setsort ischeck public static xml core default inst null inst xml core return inst xmlcore getdefault xmlcore privat list model chang listen arrai list privat xml core fmodelchangelisten arraylist xmlcore public void add document model listen document model listen listen synchron model chang listen model chang listen add listen adddocumentmodellisten idocumentmodellisten fmodelchangelisten fmodelchangelisten public void remov document model listen document model listen listen synchron model chang listen model chang listen remov listen removedocumentmodellisten idocumentmodellisten fmodelchangelisten fmodelchangelisten public void notifi document model listen document model chang event event iter synchron model chang listen arrai list model chang listen iter document model listen document model chang event notifydocumentmodellisten documentmodelchangeev fmodelchangelisten arraylist fmodelchangelisten hasnext idocumentmodellisten documentmodelchang public xml problem string messag int sever int offset int length int line number super offset length messag messag escap messag escap messag sever sever line number line number xmlproblem linenumb fmessag fescapedmessag getescap fsever flinenumb linenumb org eclips ant intern ui editor outlin problem messag public string messag return escap messag iproblem getmessag getmessag fescapedmessag org eclips ant intern ui editor outlin problem error public boolean error return sever sever error sever sever fatal error iproblem iserror iserror fsever sever_error fsever sever_fatal_error org eclips ant intern ui editor outlin problem warn public boolean warn return sever sever warn iproblem iswarn iswarn fsever sever_warn public int length adjust length 1 return adjust length return super length getlength fadjustedlength fadjustedlength getlength set length problem public void set length int adjust length adjust length adjust length setlength adjustedlength fadjustedlength adjustedlength org eclips ant intern ui editor outlin problem line number public int line number return line number iproblem getlinenumb getlinenumb flinenumb privat void append escap char string buffer buffer char string replac replac replac null buffer append replac buffer append appendescapedchar stringbuff getreplac privat string escap string string buffer result string buffer length 10 int 0 length append escap char result char return result string getescap stringbuff stringbuff appendescapedchar charat tostr privat string replac char encod special charact equival charact refer ensur error messag includ special charact incorrectli repres html text hover bug 56258 switch case return lt non nl 1 case return gt non nl 1 case return quot non nl 1 case return apo non nl 1 case return amp non nl 1 return null getreplac org eclips ant intern ui editor outlin problem unmodifi messag public string unmodifi messag return messag iproblem getunmodifiedmessag getunmodifiedmessag fmessag public static int sever string prefer kei prefer store store antui plugin default prefer store string sever level store string prefer kei sever level length 0 sever level equal ant editor prefer constant buildfil error return sever error sever level equal ant editor prefer constant buildfil warn return sever warn return problem getsever preferencekei ipreferencestor antuiplugin getdefault getpreferencestor severitylevel getstr preferencekei severitylevel severitylevel anteditorpreferenceconst buildfil_error sever_error severitylevel anteditorpreferenceconst buildfil_warn sever_warn no_problem public boolean equal object boolean equal super equal equal return xml problem unmodifi messag equal unmodifi messag return fals xmlproblem getunmodifiedmessag getunmodifiedmessag meant singleton privat task descript provid initi taskdescriptionprovid public static task descript provid default fg default null fg default task descript provid return fg default taskdescriptionprovid getdefault fgdefault fgdefault taskdescriptionprovid fgdefault pars task descript xml file store inform protect void initi document temp document pars file task descript xml file node temp root node temp document document element node list temp child node temp root node child node int 0 temp child node length node temp node temp child node item temp node node type node element node string temp tag temp node node temp tag equal xml tag task name node map temp attribut temp node attribut node temp attribut node temp attribut name item xml attribut temp attribut node null string temp task temp attribut node node temp task null task node put temp task temp node tempdocu parsefil task_descript_xml_file_name temprootnod tempdocu getdocumentel nodelist tempchildnod temprootnod getchildnod tempchildnod getlength tempnod tempchildnod tempnod getnodetyp element_node temptagnam tempnod getnodenam temptagnam xml_tag_task namednodemap tempattribut tempnod getattribut tempattributenod tempattribut getnameditem xml_attribut_name tempattributenod temptasknam tempattributenod getnodevalu temptasknam tasknod temptasknam tempnod return dom document result pars file file file load resourc begin rel classpath protect document pars file string file document temp document null document builder factori temp factori document builder factori instanc temp factori set ignor comment true temp factori set ignor element content whitespac true temp factori set coalesc true try document builder temp doc builder temp factori document builder url tempurl class resourc file input sourc temp input sourc input sourc tempurl extern form temp document temp doc builder pars temp input sourc catch parser configur except antui plugin log catch io except io except antui plugin log io except catch sax except sax except antui plugin log sax except return temp document parsefil afilenam tempdocu documentbuilderfactori tempfactori documentbuilderfactori newinst tempfactori setignoringcom tempfactori setignoringelementcontentwhitespac tempfactori setcoalesc documentbuild tempdocbuild tempfactori newdocumentbuild getclass getresourc afilenam inputsourc tempinputsourc inputsourc toexternalform tempdocu tempdocbuild tempinputsourc parserconfigurationexcept antuiplugin ioexcept ioexcept antuiplugin ioexcept saxexcept saxexcept antuiplugin saxexcept tempdocu return descript string task return descript string code null code task known descript public string descript task string task element task element element task node task task element null return descript node task element return null getdescriptionfortask atasknam taskel tasknod atasknam taskel getdescriptionofnod taskel return descript node node task node attribut node protect string descript node node node node list temp child node node child node int 0 temp child node length node temp node temp child node item temp node instanceof element xml tag descript equal temp node node element temp descript element element temp node node temp child node temp descript element child temp child node instanceof text return text temp child node data break return null getdescriptionofnod anod nodelist tempchildnod anod getchildnod tempchildnod getlength tempnod tempchildnod tempnod xml_tag_descript tempnod getnodenam tempdescriptionel tempnod tempchildnod tempdescriptionel getfirstchild tempchildnod tempchildnod getdata return requir node xml file requir defin notdefin case return empti string protect string requir node node node string tmp node node node string tmp requir null node node type node element node xml tag attribut equal tmp node xml tag element equal tmp node tmp requir node attribut name item xml attribut requir node tmp requir null tmp requir equal notdefin non nl 1 return non nl 1 return tmp requir getrequiredofnod anod tmpnodenam anod getnodenam tmprequiredvalu anod getnodetyp element_node xml_tag_attribut tmpnodenam xml_tag_element tmpnodenam tmprequiredvalu anod getattribut getnameditem xml_attribut_requir getnodevalu tmprequiredvalu tmprequiredvalu tmprequiredvalu return descript string attribut task return descript string code null code task attribut known descript public string descript task attribut string task string attribut string tmp descript null node tmp attribut node attribut node task tmp attribut node null tmp descript descript node name node list xml tag attribut attribut tmp attribut node child node descript null try element section re satisfi tmp descript null return tmp descript found try element node tmp attribut node element node task tmp attribut node null tmp descript descript node name node list xml tag element attribut tmp attribut node child node return tmp descript return null getdescriptionfortaskattribut atasknam anattributenam tmpdescript tmpattributesnod getattributesnod atasknam tmpattributesnod tmpdescript getdescriptionfornodenamedwithnameinnodelist xml_tag_attribut anattributenam tmpattributesnod getchildnod tmpdescript tmpdescript tmpattributesnod getelementsnod atasknam tmpattributesnod tmpdescript getdescriptionfornodenamedwithnameinnodelist xml_tag_element anattributenam tmpattributesnod getchildnod tmpdescript return requir string attribut task return requir string code null code task attribut known descript public string requir attribut task attribut string task string attribut string tmp requir null node tmp attribut node attribut node task tmp attribut node null tmp requir requir node name node list xml tag attribut attribut tmp attribut node child node requir null try element section re satisfi tmp requir null return tmp requir found try element node tmp attribut node element node task tmp attribut node null tmp requir descript node name node list xml tag element attribut tmp attribut node child node return null return tmp requir found return null return null getrequiredattributefortaskattribut atasknam anattributenam tmprequir tmpattributesnod getattributesnod atasknam tmpattributesnod tmprequir getrequiredfornodenamedwithnameinnodelist xml_tag_attribut anattributenam tmpattributesnod getchildnod tmprequir tmprequir tmpattributesnod getelementsnod atasknam tmpattributesnod tmprequir getdescriptionfornodenamedwithnameinnodelist xml_tag_element anattributenam tmpattributesnod getchildnod tmprequir return element node task param task the task return element node task protect node element node string task node tmp structur node structur node task tmp structur node null return child node name type node xml tag element node element node tmp structur node return null tasknam atasknam getelementsnod atasknam tmpstructurenod getstructurenod atasknam tmpstructurenod getchildnodenamedoftypefromnod xml_tag_element element_node tmpstructurenod return attribut node task param task the task return attribut node task code null code exist protect node attribut node string task node tmp structur node structur node task tmp structur node null return child node name type node xml tag attribut node element node tmp structur node return null tasknam atasknam getattributesnod atasknam tmpstructurenod getstructurenod atasknam tmpstructurenod getchildnodenamedoftypefromnod xml_tag_attribut element_node tmpstructurenod return structur node task param task the task return structur node task protect node structur node string task element task element element task node task task element null dig structur node node structur node child node name type node xml tag structur node element node task element return structur node return null tasknam atasknam getstructurenod atasknam taskel tasknod atasknam taskel structurenod getchildnodenamedoftypefromnod xml_tag_structur element_node taskel structurenod return descript node satisfi criteria node list argument param node the node param attribut string param attribut node list node list search return descript found null found protect string descript node name node list string node string attribut node list attribut node list int 0 attribut node list length node temp node attribut node list item temp node node type node element node node equal temp node node attribut equal task attribut temp node return descript node temp node found return null nodelist anodenam anattributenam anattributesnodelist nodelist getdescriptionfornodenamedwithnameinnodelist anodenam anattributenam nodelist anattributesnodelist anattributesnodelist getlength tempnod anattributesnodelist tempnod getnodetyp element_node anodenam tempnod getnodenam anattributenam gettaskattributenam tempnod getdescriptionofnod tempnod return task attribut return the attribut public string task attribut node task attribut node name node map tmp name node map task attribut node attribut return tmp name node map name item xml attribut node gettaskattributenam ataskattributenod namednodemap tmpnamednodemap ataskattributenod getattribut tmpnamednodemap getnameditem xml_attribut_name getnodevalu return child node node defin argument child found match criteria return param node the node return param type type node node param parent node node child return child node found match criteria null found protect node child node name type node string node short node type node parent node node list tmp node list parent node child node int 0 tmp node list length node tmp node tmp node list item tmp node node type node type node equal tmp node node return tmp node found return null childnod anodenam atyp aparentnod getchildnodenamedoftypefromnod anodenam anodetyp aparentnod nodelist tmpnodelist aparentnod getchildnod tmpnodelist getlength tmpnode tmpnodelist tmpnode getnodetyp anodetyp anodenam tmpnode getnodenam tmpnode return requir field node satisfi criteria node list argument param node the node param attribut string param attribut node list node list search return descript found null found protect string requir node name node list string node string attribut node list attribut node list int 0 attribut node list length node temp node attribut node list item temp node node type node element node node equal temp node node attribut equal task attribut temp node return requir node temp node found return null nodelist anodenam anattributenam anattributesnodelist nodelist getrequiredfornodenamedwithnameinnodelist anodenam anattributenam nodelist anattributesnodelist anattributesnodelist getlength tempnod anattributesnodelist tempnod getnodetyp element_node anodenam tempnod getnodenam anattributenam gettaskattributenam tempnod getrequiredofnod tempnod privat ant model ant model public ant context templat context type type document document ant model model int complet offset int complet length super type document complet offset complet length ant model model antmodel fantmodel antcontext templatecontexttyp idocu antmodel completionoffset completionlength completionoffset completionlength fantmodel public templat buffer evalu templat templat throw bad locat except templat except templat buffer templat buffer super evalu templat templat buffer null return null todo enabl bug 55356 fals antui plugin default prefer store boolean ant editor prefer constant templat codeformatt format prefer pref format prefer xml formatt format templat buffer pref return templat buffer templatebuff badlocationexcept templateexcept templatebuff templatebuff templatebuff antuiplugin getdefault getpreferencestor getboolean anteditorpreferenceconst templat_us_codeformatt formattingprefer formattingprefer xmlformatt templatebuff templatebuff return return ant model public ant model ant model return ant model antmodel antmodel getantmodel fantmodel public int end int replac offset complet offset int replac length complet length replac offset 0 document char replac offset 1 replac length return replac length getend replacementoffset getcompletionoffset replacementlength getcompletionlength replacementoffset getdocu charat replacementoffset replacementlength replacementlength public int start int replac offset complet offset replac offset 0 document char replac offset 1 replac offset return replac offset getstart replacementoffset getcompletionoffset replacementoffset getdocu charat replacementoffset replacementoffset replacementoffset public class ant sourc viewer inform control extend default inform control public ant sourc viewer inform control shell parent int shell style int style inform present present super parent shell style style present antsourceviewerinformationcontrol defaultinformationcontrol antsourceviewerinformationcontrol shellstyl iinformationpresent shellstyl public ant sourc viewer inform control shell parent int shell style int style inform present present string statu field text super parent shell style style present statu field text antsourceviewerinformationcontrol shellstyl iinformationpresent statusfieldtext shellstyl statusfieldtext public ant sourc viewer inform control shell parent int style inform present present super parent style present antsourceviewerinformationcontrol iinformationpresent public ant sourc viewer inform control shell parent int style inform present present string statu field text super parent style present statu field text antsourceviewerinformationcontrol iinformationpresent statusfieldtext statusfieldtext public ant sourc viewer inform control shell parent super parent antsourceviewerinformationcontrol public ant sourc viewer inform control shell parent inform present present super parent present antsourceviewerinformationcontrol iinformationpresent public void set inform string content content null antui plugin default prefer store boolean ant editor prefer constant templat codeformatt content xml formatt format content format prefer super set inform content setinform antuiplugin getdefault getpreferencestor getboolean anteditorpreferenceconst templat_us_codeformatt xmlformatt formattingprefer setinform privat contribut context type registri registri privat ant templat access contributioncontexttyperegistri fregistri anttemplateaccess return share instanc return share instanc public static ant templat access default fg instanc null fg instanc ant templat access return fg instanc anttemplateaccess getdefault fginstanc fginstanc anttemplateaccess fginstanc return plug templat store return templat store plug instanc public templat store templat store store null store contribut templat store context type registri antui plugin default prefer store custom templat kei try store load catch io except antui plugin log return store templatestor gettemplatestor fstore fstore contributiontemplatestor getcontexttyperegistri antuiplugin getdefault getpreferencestor custom_templat_kei fstore ioexcept antuiplugin fstore return plug context type registri return context type registri plug instanc public context type registri context type registri registri null creat configur context templat editor registri contribut context type registri registri add context type build file context type buildfil context type registri add context type task context type task context type return registri contexttyperegistri getcontexttyperegistri fregistri fregistri contributioncontexttyperegistri fregistri addcontexttyp buildfilecontexttyp buildfil_context_type fregistri addcontexttyp taskcontexttyp task_context_type fregistri public prefer store prefer store return antui plugin default prefer store ipreferencestor getpreferencestor antuiplugin getdefault getpreferencestor public void save plugin prefer antui plugin default save plugin prefer savepluginprefer antuiplugin getdefault savepluginprefer privat ant sourc viewer inform control control public ant templat inform control creator antsourceviewerinformationcontrol fcontrol anttemplateinformationcontrolcr control ant sourc viewer inform control parent control add dispos listen dispos listen public void widget dispos dispos event control null fcontrol antsourceviewerinformationcontrol fcontrol adddisposelisten disposelisten widgetdispos disposeev fcontrol public inform control creat inform control shell parent control ant sourc viewer inform control parent control add dispos listen dispos listen public void widget dispos dispos event control null return control iinformationcontrol createinformationcontrol fcontrol antsourceviewerinformationcontrol fcontrol adddisposelisten disposelisten widgetdispos disposeev fcontrol fcontrol org eclips jface text inform control creator extens reus org eclips jface text inform control public boolean reus inform control control return control control control null iinformationcontrolcreatorextens canreus iinformationcontrol canreus iinformationcontrol fcontrol fcontrol org eclips jface text inform control creator extens replac org eclips jface text inform control creator public boolean replac inform control creator creator return creator null class creator class iinformationcontrolcreatorextens canreplac iinformationcontrolcr canreplac iinformationcontrolcr getclass getclass public ant templat prefer page set prefer store antui plugin default prefer store set templat store ant templat access default templat store set context type registri ant templat access default context type registri anttemplatepreferencepag setpreferencestor antuiplugin getdefault getpreferencestor settemplatestor anttemplateaccess getdefault gettemplatestor setcontexttyperegistri anttemplateaccess getdefault getcontexttyperegistri public boolean perform ok boolean ok super perform ok antui plugin default save plugin prefer return ok performok performok antuiplugin getdefault savepluginprefer protect sourc viewer creat viewer composit parent sourc viewer viewer sourc viewer parent null null fals swt border swt scroll swt scroll sourc viewer configur configur ant templat viewer configur document document document ant document setup particip setup document viewer configur configur viewer set document document viewer set edit fals font font face resourc font face resourc text font viewer text widget set font font return viewer sourceview createview sourceview sourceview v_scroll h_scroll sourceviewerconfigur anttemplateviewerconfigur idocu antdocumentsetupparticip setdocu setedit jfaceresourc getfont jfaceresourc text_font gettextwidget setfont org eclips ui texteditor templat templat prefer page formatt prefer kei protect string formatt prefer kei return ant editor prefer constant templat codeformatt templatepreferencepag getformatterpreferencekei getformatterpreferencekei anteditorpreferenceconst templat_us_codeformatt protect void updat viewer input structur select select structur select tabl viewer select sourc viewer viewer viewer select size 1 select element instanceof templat persist data templat persist data data templat persist data select element templat templat data templat antui plugin default prefer store boolean formatt prefer kei string format xml formatt format templat pattern format prefer viewer document set format viewer document set templat pattern viewer document set non nl 1 updateviewerinput istructuredselect istructuredselect gettableview getselect sourceview getview getfirstel templatepersistencedata templatepersistencedata templatepersistencedata getfirstel gettempl antuiplugin getdefault getpreferencestor getboolean getformatterpreferencekei xmlformatt getpattern fformattingprefer getdocu getdocu getpattern getdocu org eclips ui texteditor templat templat prefer page show formatt set protect boolean show formatt set return fals templatepreferencepag isshowformatterset isshowformatterset public class ant templat propos extend templat propos public ant templat propos templat templat templat context context region region imag imag super templat context region imag anttemplatepropos templatepropos anttemplatepropos templatecontext iregion public ant templat propos templat templat templat context context region region imag imag int relev super templat context region imag relev anttemplatepropos templatecontext iregion org eclips jface text contentassist complet propos extens3 inform control creator public inform control creator inform control creator return ant templat inform control creator icompletionproposalextens3 getinformationcontrolcr iinformationcontrolcr getinformationcontrolcr anttemplateinformationcontrolcr public class ant templat variabl text hover implement text hover public ant templat variabl text hover anttemplatevariabletexthov itexthov anttemplatevariabletexthov public string hover info text viewer text viewer region subject try document doc text viewer document int offset subject offset offset 2 equal doc offset 2 2 non nl 1 string var doc offset subject length templat context type context type ant templat access default context type registri context type task context type task context type context type null iter iter context type resolv iter templat variabl resolv var templat variabl resolv iter var equal var type return var descript catch bad locat except return null gethoverinfo itextview textview iregion idocu textview getdocu getoffset varnam getlength templatecontexttyp contexttyp anttemplateaccess getdefault getcontexttyperegistri getcontexttyp taskcontexttyp task_context_type contexttyp contexttyp hasnext templatevariableresolv templatevariableresolv varnam gettyp getdescript badlocationexcept public region hover region text viewer text viewer int offset text viewer null return xml text hover region text viewer offset return null iregion gethoverregion itextview textview textview xmltexthov getregion textview org eclips jface text sourc sourc viewer configur text hover org eclips jface text sourc sourc viewer java lang string public text hover text hover sourc viewer sourc viewer string content type return ant templat variabl text hover sourceviewerconfigur gettexthov isourceview itexthov gettexthov isourceview sourceview contenttyp anttemplatevariabletexthov arrai sort propos compar public int compar object o1 object o2 return common prefix length type string o2 common prefix length type string o1 getcommonprefixlength gettyp getcommonprefixlength gettyp privat int common prefix length string type string var int 0 char sequenc seq var sequenc 2 var length 1 strip type length seq length charact lower case type char charact lower case seq char i break return getcommonprefixlength charsequ vseq subsequ vseq tolowercas charat tolowercas vseq charat protect string resolv templat context context string propos string src dir dst dir non nl 1 non nl 2 arrai sort propos compar public int compar object o1 object o2 return common prefix length type string o2 common prefix length type string o1 privat int common prefix length string type string var int 0 char sequenc seq var sequenc 2 var length 1 strip type length seq length charact lower case type char charact lower case seq char i break return return propos resolveal templatecontext srcdir dstdir getcommonprefixlength gettyp getcommonprefixlength gettyp getcommonprefixlength charsequ vseq subsequ vseq tolowercas charat tolowercas vseq charat creat xml context type public build file context type add global resolv buildfilecontexttyp addglobalresolv privat void add global resolv add resolv global templat variabl cursor add resolv global templat variabl word select add resolv global templat variabl line select add resolv global templat variabl dollar add resolv global templat variabl date add resolv global templat variabl add resolv global templat variabl add resolv global templat variabl user addglobalresolv addresolv globaltemplatevari addresolv globaltemplatevari wordselect addresolv globaltemplatevari lineselect addresolv globaltemplatevari addresolv globaltemplatevari addresolv globaltemplatevari addresolv globaltemplatevari addresolv globaltemplatevari protect void adapt color chang properti chang event event token token rgb rgb null object event valu instanceof rgb rgb rgb valu instanceof string rgb string convert asrgb string rgb null text attribut attr text attribut token data token set data text attribut color manag default color rgb attr background attr style adapttocolorchang propertychangeev getnewvalu stringconvert textattribut textattribut getdata setdata textattribut colormanag getdefault getcolor getbackground getstyl protect void adapt style chang properti chang event event token token int style attribut token null return boolean event fals object event valu instanceof boolean event boolean boolean prefer store true equal event true text attribut attr text attribut token data boolean activ attr style style attribut style attribut activ event token set data text attribut attr foreground attr background event attr style style attribut attr style style attribut adapttostylechang propertychangeev styleattribut eventvalu getnewvalu eventvalu booleanvalu ipreferencestor eventvalu textattribut textattribut getdata activevalu getstyl styleattribut styleattribut activevalu eventvalu setdata textattribut getforeground getbackground eventvalu getstyl styleattribut getstyl styleattribut protect text attribut creat text attribut string colorid string bold kei string ital kei color color null colorid null color antui plugin prefer color colorid prefer store store antui plugin default prefer store int style store boolean bold kei swt bold swt normal store boolean ital kei style swt ital return text attribut color null style textattribut createtextattribut boldkei italickei antuiplugin getpreferencecolor ipreferencestor antuiplugin getdefault getpreferencestor getboolean boldkei getboolean italickei textattribut public object type annot annot annot instanceof ixml annot ixml annot xml annot ixml annot annot xml annot relev return xml annot type return super type annot gettyp ixmlannot ixmlannot xmlannot ixmlannot xmlannot isrelev xmlannot gettyp gettyp public boolean temporari annot annot annot instanceof ixml annot ixml annot xml annot ixml annot annot xml annot relev return xml annot temporari return super temporari annot istemporari ixmlannot ixmlannot xmlannot ixmlannot xmlannot isrelev xmlannot istemporari istemporari public class ant document factori implement document factori public ant document factori antdocumentfactori idocumentfactori antdocumentfactori org eclips core filebuff document factori creat document public document creat document return partial synchron document idocumentfactori createdocu idocu createdocu partiallysynchronizeddocu public final static string ant partit ant partit non nl 1 public ant document setup particip ant_partit ___ant_partit antdocumentsetupparticip public void setup document document document instanceof document extens3 document extens3 extens3 document extens3 document document partition partition creat document partition extens3 set document partition ant partit partition partition connect document idocu idocumentextens3 idocumentextens3 idocumentextens3 idocumentpartition createdocumentpartition setdocumentpartition ant_partit privat document partition creat document partition return default partition ant editor partit scanner string ant editor partit scanner xml tag ant editor partit scanner xml comment ant editor partit scanner xml cdata idocumentpartition createdocumentpartition defaultpartition anteditorpartitionscann anteditorpartitionscann xml_tag anteditorpartitionscann xml_comment anteditorpartitionscann xml_cdata privat list overlaid arrai list public ant annot model file file super file fcurrentlyoverlaid arraylist antannotationmodel ifil protect marker annot creat marker annot marker marker string marker type marker util marker type marker ant editor marker updat buildfil problem marker equal marker type return null return xml marker annot editorsui annot type lookup annot type marker marker markerannot createmarkerannot imark markertyp markerutil getmarkertyp anteditormarkerupdat buildfil_problem_marker markertyp xmlmarkerannot getannotationtypelookup getannotationtyp protect posit creat posit problem problem problem int start problem offset start 0 int length problem length length 0 return posit start length return null createpositionfromproblem iproblem getoffset getlength org eclips ant intern ui editor outlin problem requestor accept problem org eclips ant intern ui editor outlin problem public void accept problem problem problem collect problem add problem iproblemrequestor acceptproblem iproblem acceptproblem iproblem fcollectedproblem org eclips ant intern ui editor outlin problem requestor accept problem org eclips ant intern ui editor outlin problem public void begin report iproblemrequestor acceptproblem iproblem beginreport public void end report boolean temporari problem chang fals previous overlaid overlaid overlaid arrai list synchron annot map gener annot size 0 temporari problem chang true remov annot gener annot fals true gener annot clear collect problem null collect problem size 0 iter collect problem iter problem problem problem posit posit creat posit problem problem posit null xml problem annot annot xml problem annot problem overlai marker posit annot gener annot add annot try add annot annot posit fals catch bad locat except antui plugin log temporari problem chang true collect problem clear remov marker overlai previous overlaid clear previous overlaid null temporari problem chang fire model chang annot model event endreport temporaryproblemschang fpreviouslyoverlaid fcurrentlyoverlaid fcurrentlyoverlaid arraylist getannotationmap fgeneratedannot temporaryproblemschang removeannot fgeneratedannot fgeneratedannot fcollectedproblem fcollectedproblem fcollectedproblem hasnext iproblem iproblem createpositionfromproblem xmlproblemannot xmlproblemannot overlaymark fgeneratedannot addannot badlocationexcept antuiplugin temporaryproblemschang fcollectedproblem removemarkeroverlai fpreviouslyoverlaid fpreviouslyoverlaid temporaryproblemschang firemodelchang annotationmodelev privat void remov marker overlai iter previous overlaid iter xml marker annot annot xml marker annot annot set overlai null removemarkeroverlai fpreviouslyoverlaid hasnext xmlmarkerannot xmlmarkerannot setoverlai overlai problem annot param problem annot privat void set overlai object xml problem annot problem annot instanceof xml marker annot xml marker annot annot xml marker annot annot problem annot set overlai problem annot previous overlaid remov annot overlaid add annot problemannot setoverlai xmlproblemannot problemannot xmlmarkerannot xmlmarkerannot xmlmarkerannot isproblem setoverlai problemannot fpreviouslyoverlaid fcurrentlyoverlaid privat void overlai marker posit posit xml problem annot problem annot object annot posit instanceof list list list list iter list iter set overlai problem annot set overlai problem annot overlaymark xmlproblemannot problemannot getannot hasnext setoverlai problemannot setoverlai problemannot privat object annot posit posit return revers map posit getannot freversemap protect void add annot annot annot posit posit boolean fire model chang throw bad locat except super add annot annot posit fire model chang object cach revers map posit cach null revers map put posit annot cach instanceof list list list list cach list add annot cach instanceof annot list list arrai list 2 list add cach list add annot revers map put posit list addannot firemodelchang badlocationexcept addannot firemodelchang freversemap freversemap arraylist freversemap org eclips jface text sourc annot model remov annot boolean protect void remov annot boolean fire model chang super remov annot fire model chang revers map clear annotationmodel removeallannot removeallannot firemodelchang removeallannot firemodelchang freversemap protect void remov annot annot annot boolean fire model chang posit posit posit annot object cach revers map posit cach instanceof list list list list cach list remov annot list size 1 revers map put posit list 0 list clear cach instanceof annot revers map remov posit super remov annot annot fire model chang removeannot firemodelchang getposit freversemap freversemap freversemap removeannot firemodelchang public ant model ant model public ant file info antmodel fantmodel antfileinfo privat int anchor 0 public revers map fanchor reversemap public object posit posit entri entri anchor int length list size int anchor length entri entri list entri posit equal posit anchor return entri anchor int 0 anchor entri entri list entri posit equal posit anchor return entri return null flist fanchor flist fposit fanchor fvalu fanchor flist fposit fanchor fvalu privat int index posit posit entri entri int length list size int 0 length entri entri list entri posit equal posit return return 1 getindex flist flist fposit public void put posit posit object int index index posit index 1 entri entri entri entri posit posit entri valu list add entri entri entri entri list index entri valu getindex fposit fvalu flist flist fvalu public void remov posit posit int index index posit index 1 list remov index getindex flist public void clear list clear flist public ant editor document provid xml core core document provid provid text file document provid ant storag document provid provid forward document provid ant document setup particip ant partit ant document setup particip provid set parent document provid provid core core anteditordocumentprovid xmlcore idocumentprovid textfiledocumentprovid antstoragedocumentprovid forwardingdocumentprovid antdocumentsetupparticip ant_partit antdocumentsetupparticip setparentdocumentprovid fcore public ant model ant model object element file info info file info element info instanceof ant file info ant file info xml info ant file info info return xml info ant model return null antmodel getantmodel fileinfo getfileinfo antfileinfo antfileinfo xmlinfo antfileinfo xmlinfo fantmodel org eclips ui editor text text file document provid creat annot model org eclips core resourc file protect annot model creat annot model file file return ant annot model file textfiledocumentprovid createannotationmodel ifil iannotationmodel createannotationmodel ifil antannotationmodel protect ant model creat ant model object element document document annot model annot model problem requestor requestor annot model instanceof problem requestor problem requestor annot model null return ant model core document requestor locat provid element instanceof editor input editor input element null antmodel createantmodel idocu iannotationmodel annotationmodel iproblemrequestor annotationmodel iproblemrequestor iproblemrequestor annotationmodel antmodel fcore locationprovid ieditorinput ieditorinput protect file info creat file info object element throw core except file info info super creat file info element info instanceof ant file info return null ant file info xml info ant file info info annot model model xml info model model null model creat annot model null model connect xml info text file buffer document ant model ant model creat ant model element xml info text file buffer document model ant model instal xml info ant model ant model set synchron xml info return xml info fileinfo createfileinfo coreexcept fileinfo createfileinfo antfileinfo antfileinfo xmlinfo antfileinfo iannotationmodel xmlinfo fmodel createannotationmodel xmlinfo ftextfilebuff getdocu antmodel antmodel createantmodel xmlinfo ftextfilebuff getdocu antmodel xmlinfo fantmodel antmodel setupsynchron xmlinfo xmlinfo protect void dispos file info object element file info info info instanceof ant file info ant file info xml info ant file info info xml info ant model null xml info ant model dispos super dispos file info element info disposefileinfo fileinfo antfileinfo antfileinfo xmlinfo antfileinfo xmlinfo fantmodel xmlinfo fantmodel disposefileinfo org eclips ui editor text text file document provid creat empti file info protect file info creat empti file info return ant file info textfiledocumentprovid createemptyfileinfo fileinfo createemptyfileinfo antfileinfo privat void set synchron ant file info ant info document document ant info text file buffer document annot model model ant info model document instanceof synchroniz model instanceof synchroniz object lock synchroniz document lock object synchroniz model set lock object lock setupsynchron antfileinfo antinfo idocu antinfo ftextfilebuff getdocu iannotationmodel antinfo fmodel isynchroniz isynchroniz isynchroniz getlockobject isynchroniz setlockobject creat instanc public ant editor partit scanner predic rule rule predic rule 3 token xmlcdata token xml cdata rule 0 multi line rule cdata xmlcdata non nl 1 non nl 2 token xml comment token xml comment rule 1 multi line rule xml comment true non nl 1 non nl 2 token tag token xml tag rule 2 tag rule tag set predic rule rule anteditorpartitionscann ipredicaterul ipredicaterul itoken xml_cdata multilinerul itoken xmlcomment xml_comment multilinerul xmlcomment itoken xml_tag tagrul setpredicaterul public ant editor proc instr scanner rule rule rule 2 proc instruct token token creat text attribut ant editor color constant process instruct color ant editor color constant process instruct color ant editor prefer constant editor bold suffix ant editor color constant process instruct color ant editor prefer constant editor ital suffix add rule process instruct rule 0 singl line rule proc instruct token non nl 1 non nl 2 add gener whitespac rule rule 1 whitespac rule ant editor whitespac detector set rule rule set default return token token creat text attribut ant editor color constant text color ant editor color constant text color ant editor prefer constant editor bold suffix ant editor color constant text color ant editor prefer constant editor ital suffix anteditorprocinstrscann irul irul fprocinstructiontoken createtextattribut ianteditorcolorconst process_instruct_color ianteditorcolorconst process_instruct_color anteditorpreferenceconst editor_bold_suffix ianteditorcolorconst process_instruct_color anteditorpreferenceconst editor_ital_suffix singlelinerul fprocinstructiontoken whitespacerul anteditorwhitespacedetector setrul setdefaultreturntoken createtextattribut ianteditorcolorconst text_color ianteditorcolorconst text_color anteditorpreferenceconst editor_bold_suffix ianteditorcolorconst text_color anteditorpreferenceconst editor_ital_suffix privat token token affect properti chang event event event properti start ant editor color constant process instruct color return proc instruct token return token default return token gettokenaffect propertychangeev getproperti startswith ianteditorcolorconst process_instruct_color fprocinstructiontoken fdefaultreturntoken public void adapt prefer chang properti chang event event string properti event properti properti start ant editor color constant text color properti start ant editor color constant process instruct color properti end ant editor prefer constant editor bold suffix adapt style chang event token affect event swt bold properti end ant editor prefer constant editor ital suffix adapt style chang event token affect event swt ital adapt color chang event token affect event adapttopreferencechang propertychangeev getproperti startswith ianteditorcolorconst text_color startswith ianteditorcolorconst process_instruct_color endswith anteditorpreferenceconst editor_bold_suffix adapttostylechang gettokenaffect endswith anteditorpreferenceconst editor_ital_suffix adapttostylechang gettokenaffect adapttocolorchang gettokenaffect public ant editor tag scanner string token token creat text attribut ant editor color constant string color ant editor color constant string color ant editor prefer constant editor bold suffix ant editor color constant string color ant editor prefer constant editor ital suffix rule rule rule 3 add rule singl doubl quot rule 0 multi line rule string token non nl 1 non nl 2 rule 1 singl line rule string token non nl 1 non nl 2 add gener whitespac rule rule 2 whitespac rule ant editor whitespac detector set rule rule set default return token token creat text attribut ant editor color constant tag color ant editor color constant tag color ant editor prefer constant editor bold suffix ant editor color constant tag color ant editor prefer constant editor ital suffix anteditortagscann fstringtoken createtextattribut ianteditorcolorconst string_color ianteditorcolorconst string_color anteditorpreferenceconst editor_bold_suffix ianteditorcolorconst string_color anteditorpreferenceconst editor_ital_suffix irul irul multilinerul fstringtoken singlelinerul fstringtoken whitespacerul anteditorwhitespacedetector setrul setdefaultreturntoken createtextattribut ianteditorcolorconst tag_color ianteditorcolorconst tag_color anteditorpreferenceconst editor_bold_suffix ianteditorcolorconst tag_color anteditorpreferenceconst editor_ital_suffix public void adapt prefer chang properti chang event event string properti event properti properti start ant editor color constant tag color properti start ant editor color constant string color properti end ant editor prefer constant editor bold suffix adapt style chang event token affect event swt bold properti end ant editor prefer constant editor ital suffix adapt style chang event token affect event swt ital adapt color chang event token affect event adapttopreferencechang propertychangeev getproperti startswith ianteditorcolorconst tag_color startswith ianteditorcolorconst string_color endswith anteditorpreferenceconst editor_bold_suffix adapttostylechang gettokenaffect endswith anteditorpreferenceconst editor_ital_suffix adapttostylechang gettokenaffect adapttocolorchang gettokenaffect privat token token affect properti chang event event string properti event properti properti start ant editor color constant string color return string token properti start ant editor color constant tag color return token default return token gettokenaffect propertychangeev getproperti startswith ianteditorcolorconst string_color fstringtoken startswith ianteditorcolorconst tag_color fdefaultreturntoken bundl bundl privat ant editor text messag getbundl bundl_name anteditortextmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept public class ant editor whitespac detector implement whitespac detector public boolean whitespac char return c anteditorwhitespacedetector iwhitespacedetector iswhitespac protect void setup document object element document document document null document partition partition creat document partition document instanceof document extens3 document extens3 extens3 document extens3 document extens3 set document partition ant document setup particip ant partit partition document set document partition partition partition connect document setupdocu idocu idocumentpartition createdocumentpartition idocumentextens3 idocumentextens3 idocumentextens3 setdocumentpartition antdocumentsetupparticip ant_partit setdocumentpartition privat document partition creat document partition return default partition ant editor partit scanner string ant editor partit scanner xml tag ant editor partit scanner xml comment ant editor partit scanner xml cdata idocumentpartition createdocumentpartition defaultpartition anteditorpartitionscann anteditorpartitionscann xml_tag anteditorpartitionscann xml_comment anteditorpartitionscann xml_cdata public class file scanner extend directori scanner public string exclud pattern return exclud filescann directoryscann getexcludespattern public string includ pattern return includ getincludepattern public interfac reconcil particip call reconcil finish void reconcil ireconcilingparticip return type annot return type annot code null code return annot temporari persist return code true code temporari code fals code return messag assocait annot return messag annot return imag annot param displai displai imag request return imag annot return annot relav annot overlaid relev overlai remov annot relev stai irrelev return code true code relev overlai hasoverlai return annot overlaid return code true code overlaid return iter iter annot overlaid annot return iter overlaid annotaion add annot list annot overlaid annot param annot problem annoat remov annot list annot overlaid annot param annot problem annoat tell annot problem annot return code true code problem annot creat damag repair scanner return default text attribut current token carri text attribut param scanner token scanner param default text attribut text attribut return current token code null code public multilin damag repair token scanner scanner text attribut default text attribut scanner scanner default text attribut default text attribut defaulttextattribut multilinedamagerrepair itokenscann textattribut defaulttextattribut fscanner fdefaulttextattribut defaulttextattribut present repair set document document public void set document document document document document ipresentationrepair setdocu idocu setdocu idocu fdocument return end offset line offset offset insid line delimit end offset line param offset offset line end offset comput return line end offset offset except bad locat except offset invalid current document protect int end line int offset throw bad locat except region info document line inform offset offset offset info offset info length return info offset info length int line document line offset offset try info document line inform line 1 return info offset info length catch bad locat except return document length badlocationexcept endoflineof badlocationexcept iregion fdocument getlineinformationofoffset getoffset getlength getoffset getlength fdocument getlineofoffset fdocument getlineinform getoffset getlength badlocationexcept fdocument getlength present damag damag region type region document event boolean public region damag region type region partit document event boolean document partit chang return partit ipresentationdamag getdamageregion itypedregion documentev iregion getdamageregion itypedregion documentev documentpartitioningchang public void creat present text present present type region region scanner null add rang present region offset region length default text attribut return int start region offset int length 0 token token token undefin text attribut attribut token text attribut token scanner set rang document start region length true token token scanner token token iseof break text attribut attribut token text attribut token attribut null attribut equal attribut length scanner token length add rang present start length attribut token token attribut attribut start scanner token offset length scanner token length add rang present start length attribut createpresent textpresent itypedregion fscanner addrang getoffset getlength fdefaulttextattribut laststart getoffset itoken lasttoken textattribut lastattribut gettokentextattribut lasttoken fscanner setrang fdocument laststart getlength itoken fscanner nexttoken textattribut gettokentextattribut lastattribut lastattribut fscanner gettokenlength addrang laststart lastattribut lasttoken lastattribut laststart fscanner gettokenoffset fscanner gettokenlength addrang laststart lastattribut return text attribut encod token token data code null code text attribut assum encod text attribut return default text attribut encod text attribut found param token token text attribut determin return token text attribut protect text attribut token text attribut token token object data token data data instanceof text attribut return text attribut data return default text attribut textattribut gettokentextattribut itoken getdata textattribut textattribut fdefaulttextattribut add style inform text present param present text present extend param offset offset rang style param length length rang style param attr attribut describ style rang style protect void add rang text present present int offset int length text attribut attr attr null present add style rang style rang offset length attr foreground attr background attr style addrang textpresent textattribut addstylerang stylerang getforeground getbackground getstyl configur scanner default return token text attribut return return current token public void set default text attribut text attribut default text attribut default text attribut default text attribut setdefaulttextattribut textattribut defaulttextattribut fdefaulttextattribut defaulttextattribut constructor notifi reconcil param strategi param increment public notifi reconcil reconcil strategi strategi boolean increment super strategi increment notifyingreconcil isincrement notifyingreconcil ireconcilingstrategi isincrement isincrement org eclips jface text reconcil abstract reconcil process org eclips jface text reconcil dirti region protect void process dirti region dirti region super process dirti region notifi reconcil particip abstractreconcil dirtyregion dirtyregion dirtyregion dirtyregion notifyreconcilingparticip public void add reconcil particip reconcil particip particip reconcil particip add particip addreconcilingparticip ireconcilingparticip freconcilingparticip public void remov reconcil particip reconcil particip particip reconcil particip remov particip removereconcilingparticip ireconcilingparticip freconcilingparticip protect void notifi reconcil particip iter arrai list reconcil particip iter reconcil particip reconcil notifyreconcilingparticip arraylist freconcilingparticip hasnext ireconcilingparticip org eclips jface text reconcil abstract reconcil initi process protect void initi process super initi process notifi reconcil particip abstractreconcil initialprocess initialprocess initialprocess notifyreconcilingparticip org eclips jface text document extens start sequenti rewrit boolean synchron public void start sequenti rewrit boolean normal super start sequenti rewrit normal idocumentextens startsequentialrewrit startsequentialrewrit startsequentialrewrit org eclips jface text document extens stop sequenti rewrit synchron public void stop sequenti rewrit super stop sequenti rewrit idocumentextens stopsequentialrewrit stopsequentialrewrit stopsequentialrewrit org eclips jface text document synchron public string return super idocu org eclips jface text document int int synchron public string int offset int length throw bad locat except return super offset length idocu badlocationexcept org eclips jface text document char int synchron public char char int offset throw bad locat except return super char offset idocu getchar getchar badlocationexcept getchar synchron public void replac int offset int length string text throw bad locat except super replac offset length text todo increment pars 3 0 length 0 text null insert text null text length 0 remov ant model set replac occur badlocationexcept fantmodel setreplacehasoccur org eclips jface text document set java lang string synchron public void set string text super set text idocu org eclips jface text synchroniz set lock object java lang object public void set lock object object lock object lock object lock object isynchroniz setlockobject setlockobject lockobject flockobject lockobject org eclips jface text synchroniz lock object public object lock object return lock object null intern lock object lock object isynchroniz getlockobject getlockobject flockobject finternallockobject flockobject public class tag rule extend multi line rule public tag rule token token super token non nl 1 non nl 2 tagrul multilinerul tagrul itoken protect boolean sequenc detect charact scanner scanner char sequenc boolean eof allow int scanner read sequenc 0 process instruct abort scanner unread return fals scanner unread comment abort return fals sequenc 0 scanner unread return super sequenc detect scanner sequenc eof allow sequencedetect icharacterscann eofallow sequencedetect eofallow protect boolean end sequenc detect charact scanner scanner int char delimit scanner legal line delimit boolean previou escap charact fals scanner read charact scanner eof escap charact skip escap charact scanner read end sequenc length 0 end sequenc 0 check end sequenc found sequenc detect scanner end sequenc true end sequenc 0 return end tag detect scanner return true break oneol check end line termin pattern int 0 delimit length delimit 0 sequenc detect scanner delimit true escap continu line previou escap charact return true previou escap charact escap charact break oneof return true scanner unread return fals endsequencedetect icharacterscann getlegallinedelimit previouswasescapecharact icharacterscann fescapecharact fendsequ fendsequ sequencedetect fendsequ fendsequ endoftagdetect fbreaksoneol sequencedetect fescapecontinueslin previouswasescapecharact previouswasescapecharact fescapecharact fbreaksoneof privat boolean end tag detect charact scanner scanner int int scan ahead 0 int end tag offset 0 scanner read charact scanner eof scan ahead end tag offset scan ahead int rewind scan ahead end tag offset 1 int 0 rewind scanner unread return true endoftagdetect icharacterscann scanahead endoftagoffset icharacterscann scanahead endoftagoffset scanahead scanahead endoftagoffset return distanc ruler line privat int compar ruler line posit posit document document int line posit offset 1 posit length 1 try int xml annot line document line offset posit offset line xml annot line return 1 xml annot line line line document line offset posit offset posit length return 2 catch bad locat except return 0 comparerulerlin idocu getoffset getlength xmlannotationlin getlineofoffset getoffset xmlannotationlin xmlannotationlin getlineofoffset getoffset getlength badlocationexcept return marker includ ruler line activ privat list getxml annot line sourc viewer viewer int line document document viewer document annot model model viewer annot model model null return null list exact arrai list iter model annot iter map messag posit hash map object o instanceof ixml annot ixml annot ixml annot overlai posit posit model posit annot posit null continu duplicatexml annot messag posit posit messag continu switch compar ruler line posit document line case 1 exact add break return exact getxmlannotationsforlin isourceview idocu getdocu iannotationmodel getannotationmodel arraylist getannotationiter messagesatposit hashmap hasnext ixmlannot ixmlannot ixmlannot hasoverlai getposit isduplicatexmlannot messagesatposit getmessag comparerulerlin privat boolean duplicatexml annot map messag posit posit posit string messag messag posit kei posit object messag posit posit messag equal return true instanceof list list messag list messag messag return true messag add messag arrai list messag arrai list messag add messag add messag messag posit put posit messag messag posit put posit messag return fals isduplicatexmlannot messagesatposit messagesatposit containskei messagesatposit arraylist arraylist messagesatposit messagesatposit public string hover info sourc viewer sourc viewer int line number list xml annot getxml annot line sourc viewer line number xml annot null xml annot size 1 optim ixml annot xml annot ixml annot xml annot 0 string messag xml annot messag messag null messag trim length 0 return format singl messag messag list messag arrai list iter xml annot iter ixml annot xml annot ixml annot string messag xml annot messag messag null messag trim length 0 messag add messag trim messag size 1 return format singl messag string messag 0 messag size 1 return format multipl messag messag return null gethoverinfo isourceview sourceview linenumb xmlannot getxmlannotationsforlin sourceview linenumb xmlannot xmlannot ixmlannot xmlannot ixmlannot xmlannot xmlannot getmessag formatsinglemessag arraylist xmlannot hasnext ixmlannot xmlannot ixmlannot xmlannot getmessag formatsinglemessag formatmultiplemessag privat string format singl messag string messag string buffer buffer string buffer html printer add page prolog buffer html printer add paragraph buffer html printer convert tohtml content messag html printer add page epilog buffer return buffer string formatsinglemessag stringbuff stringbuff htmlprinter addpageprolog htmlprinter addparagraph htmlprinter converttohtmlcont htmlprinter addpageepilog tostr privat string format multipl messag list messag string buffer buffer string buffer html printer add page prolog buffer html printer add paragraph buffer html printer convert tohtml content ant editor messag string ant annot hover multipl marker line non nl 1 html printer start bullet list buffer iter messag iter html printer add bullet buffer html printer convert tohtml content string html printer end bullet list buffer html printer add page epilog buffer return buffer string formatmultiplemessag stringbuff stringbuff htmlprinter addpageprolog htmlprinter addparagraph htmlprinter converttohtmlcont anteditormessag getstr antannotationhov multiplemarkersatthislin htmlprinter startbulletlist hasnext htmlprinter addbullet htmlprinter converttohtmlcont htmlprinter endbulletlist htmlprinter addpageepilog tostr public xml annot iter annot model model boolean skip irrelev iter model annot iter skip irrelev skip irrelev skip xmlannotationiter iannotationmodel skipirrelev fiter getannotationiter fskipirrelev skipirrelev privat void skip iter object iter next instanceof ixml annot ixml annot ixml annot skip irrelev relev return return null fiter hasnext fiter ixmlannot ixmlannot ixmlannot fskipirrelev isrelev fnext fnext fnext iter public boolean return null hasnext hasnext fnext public object try return final skip fnext iter remov public void remov throw unsupport oper except unsupportedoperationexcept privat int imag type public xml marker annot string annot type marker marker super annot type marker fimagetyp xmlmarkerannot annotationtyp imark annotationtyp protect void initi imag type imag super initi fimagetyp no_imag public string messag marker marker marker marker null marker exist return non nl 1 return marker attribut marker messag non nl 1 getmessag imark getmark getattribut imark org eclips ui texteditor annot extens temporari public boolean temporari return fals iannotationextens istemporari istemporari org eclips ant intern ui editor text ixml annot problem public boolean problem return warn annot type equal type error annot type equal type ixmlannot isproblem isproblem warn_annot_type gettyp error_annot_type gettyp org eclips ant intern ui editor text ixml annot relev public boolean relev return relev ixmlannot isrelev isrelev fnotrelev overlai annot xml annot param xml annot annot overlaid annot public void set overlai ixml annot xml annot overlai null overlai remov overlaid overlai xml annot relev relev overlai null xml annot null xml annot add overlaid xmlannot xmlannot setoverlai ixmlannot xmlannot foverlai foverlai removeoverlaid foverlai xmlannot fnotrelev fnotrelev foverlai xmlannot xmlannot addoverlaid org eclips ant intern ui editor text ixml annot overlai public boolean overlai return overlai null ixmlannot hasoverlai hasoverlai foverlai public imag imag displai displai int imag type imag overlai imag type overlai imag relev imag type origin marker imag imag type grai imag imag type imag type imag type overlai imag chang simpli return current imag return super imag displai imag imag null switch imag type case origin marker imag imag null break case overlai imag imag overlai imag displai break case grai imag imag type origin marker imag set imag null imag origin imag super imag displai origin imag null imag registri imag registri grai marker imag registri displai imag registri null string kei integ string origin imag hash code imag grai imag imag registri kei grai imag null grai imag imag displai origin imag swt imag grai imag registri put kei grai imag imag grai imag break default assert legal fals imag type imag type set imag imag return super imag displai getimag newimagetyp no_imag hasoverlai newimagetyp overlai_imag isrelev newimagetyp origin_marker_imag newimagetyp grai_imag fimagetyp newimagetyp newimagetyp overlai_imag getimag newimag newimagetyp origin_marker_imag newimag overlai_imag newimag foverlai getimag grai_imag fimagetyp origin_marker_imag setimag originalimag getimag originalimag imageregistri imageregistri getgraymarkerimageregistri imageregistri tostr originalimag hashcod grayimag imageregistri grayimag grayimag originalimag imag_grai imageregistri grayimag newimag grayimag isleg fimagetyp newimagetyp setimag newimag getimag privat imag registri grai marker imag registri displai displai fg grai marker imag registri null fg grai marker imag registri imag registri displai return fg grai marker imag registri imageregistri getgraymarkerimageregistri fggraymarkersimageregistri fggraymarkersimageregistri imageregistri fggraymarkersimageregistri org eclips ant intern ui editor text ixml annot add overlaid org eclips ant intern ui editor text ixml annot public void add overlaid ixml annot annot support ixmlannot addoverlaid ixmlannot addoverlaid ixmlannot org eclips ant intern ui editor text ixml annot remov overlaid org eclips ant intern ui editor text ixml annot public void remov overlaid ixml annot annot support ixmlannot removeoverlaid ixmlannot removeoverlaid ixmlannot org eclips ant intern ui editor text ixml annot overlaid iter public iter overlaid iter support return null ixmlannot getoverlaiditer getoverlaiditer public xml problem annot problem problem problem problem problem error set type error annot type problem warn set type warn annot type set type info annot type xmlproblemannot iproblem fproblem fproblem iserror settyp error_annot_type fproblem iswarn settyp warn_annot_type settyp info_annot_type org eclips ant intern ui editor text ixml annot imag org eclips swt widget displai public imag imag displai displai return null ixmlannot getimag getimag org eclips ant intern ui editor text ixml annot messag public string messag return problem messag ixmlannot getmessag getmessag fproblem getmessag org eclips ant intern ui editor text ixml annot temporari public boolean temporari return true ixmlannot istemporari istemporari org eclips ant intern ui editor text ixml annot problem public boolean problem return warn annot type equal type error annot type equal type ixmlannot isproblem isproblem warn_annot_type gettyp error_annot_type gettyp org eclips ant intern ui editor text ixml annot relev public boolean relev return true ixmlannot isrelev isrelev org eclips ant intern ui editor text ixml annot overlai public boolean overlai return fals ixmlannot hasoverlai hasoverlai public void add overlaid ixml annot annot overlaid null overlaid arrai list 1 overlaid add annot addoverlaid ixmlannot foverlaid foverlaid arraylist foverlaid public void remov overlaid ixml annot annot overlaid null overlaid remov annot overlaid size 0 overlaid null removeoverlaid ixmlannot foverlaid foverlaid foverlaid foverlaid public iter overlaid iter overlaid null return overlaid iter return null getoverlaiditer foverlaid foverlaid privat text editor editor public xml reconcil strategi text editor editor editor editor itexteditor feditor xmlreconcilingstrategi itexteditor feditor privat void intern reconcil dirti region dirti region try document provid provid editor document provid provid instanceof ant editor document provid ant editor document provid document provid ant editor document provid provid ant model model document provid ant model editor editor input model null model reconcil dirti region catch except antui plugin log internalreconcil dirtyregion dirtyregion idocumentprovid feditor getdocumentprovid anteditordocumentprovid anteditordocumentprovid documentprovid anteditordocumentprovid antmodel documentprovid getantmodel feditor geteditorinput dirtyregion antuiplugin org eclips jface text reconcil reconcil strategi reconcil org eclips jface text region public void reconcil region partit intern reconcil null ireconcilingstrategi iregion iregion internalreconcil org eclips jface text reconcil reconcil strategi reconcil org eclips jface text reconcil dirti region org eclips jface text region public void reconcil dirti region dirti region region region intern reconcil dirti region ireconcilingstrategi dirtyregion iregion dirtyregion dirtyregion iregion subregion internalreconcil dirtyregion org eclips jface text reconcil reconcil strategi set document org eclips jface text document public void set document document document ireconcilingstrategi setdocu idocu setdocu idocu org eclips jface text reconcil reconcil strategi extens set progress monitor org eclips core runtim progress monitor public void set progress monitor progress monitor monitor ireconcilingstrategyextens setprogressmonitor iprogressmonitor setprogressmonitor iprogressmonitor org eclips jface text reconcil reconcil strategi extens initi reconcil public void initi reconcil intern reconcil null ireconcilingstrategyextens initialreconcil initialreconcil internalreconcil privat ant editor editor public xml text hover ant editor editor super editor editor anteditor feditor xmltexthov anteditor feditor privat string format messag string messag string buffer buffer string buffer html printer add page prolog buffer html printer add paragraph buffer html printer convert tohtml content messag html printer add page epilog buffer return buffer string formatmessag stringbuff stringbuff htmlprinter addpageprolog htmlprinter addparagraph htmlprinter converttohtmlcont htmlprinter addpageepilog tostr privat string format path messag string list string buffer buffer string buffer html printer add page prolog buffer html printer add small header buffer ant editor text messag string xml text hover 4 non nl 1 html printer start bullet list buffer int 0 list length html printer add bullet buffer list html printer end bullet list buffer html printer add page epilog buffer return buffer string formatpathmessag stringbuff stringbuff htmlprinter addpageprolog htmlprinter addsmallhead anteditortextmessag getstr xmltexthov htmlprinter startbulletlist htmlprinter addbullet htmlprinter endbulletlist htmlprinter addpageepilog tostr public string hover info text viewer text viewer region hover region text viewer instanceof sourc viewer return null sourc viewer sourc viewer sourc viewer text viewer annot model model sourc viewer annot model model null iter xml annot iter model true annot annot posit model posit overlap hover region offset hover region length string msg ixml annot messag msg null msg trim length 0 return format messag msg ant model ant model editor ant model ant model null ant model creat return null try document document text viewer document int offset hover region offset int length hover region length string text document offset length string ant element node node ant model node offset fals document offset 2 2 equal node instanceof ant properti node non nl 1 ant model properti text null return format messag valu ant model target descript text null return format messag object referenc object ant model refer object text referenc object null referenc object instanceof path return format path messag path referenc object list referenc object instanceof pattern set return format pattern set messag pattern set referenc object referenc object instanceof abstract file set return format file set messag abstract file set referenc object catch bad locat except catch build except ant model handl build except null return null gethoverinfo itextview textview iregion hoverregion textview isourceview isourceview sourceview isourceview textview iannotationmodel sourceview getannotationmodel xmlannotationiter hasnext getposit overlapswith hoverregion getoffset hoverregion getlength ixmlannot getmessag formatmessag antmodel antmodel feditor getantmodel antmodel idocu textview getdocu hoverregion getoffset hoverregion getlength antelementnod antmodel getnod antpropertynod antmodel getpropertyvalu formatmessag antmodel gettargetdescript formatmessag referencedobject antmodel getreferenceobject referencedobject referencedobject formatpathmessag referencedobject referencedobject patternset formatpatternsetmessag patternset referencedobject referencedobject abstractfileset formatfilesetmessag abstractfileset referencedobject badlocationexcept buildexcept antmodel handlebuildexcept privat string format file set messag abstract file set set file scanner file scanner file scanner ant model ant model editor ant model project project ant model project node project set setup directori scanner file scanner project string exclud pattern file scanner exclud pattern string includ pattern file scanner includ pattern return format set messag includ pattern exclud pattern formatfilesetmessag abstractfileset filescann filescann filescann antmodel antmodel feditor getantmodel antmodel getprojectnod getproject setupdirectoryscann filescann excludedpattern filescann getexcludespattern includespattern filescann getincludepattern formatsetmessag includespattern excludedpattern privat string format pattern set messag pattern set set ant model ant model editor ant model project project ant model project node project string includ set includ pattern project string exclud set exclud pattern project return format set messag includ exclud formatpatternsetmessag patternset antmodel antmodel feditor getantmodel antmodel getprojectnod getproject getincludepattern getexcludepattern formatsetmessag privat string format set messag string includ string exclud string buffer buffer string buffer html printer add page prolog buffer includ null includ length 0 html printer add small header buffer ant editor text messag string xml text hover 5 non nl 1 int 0 includ length html printer add bullet buffer includ html printer add paragraph buffer non nl 1 html printer add paragraph buffer non nl 1 exclud null exclud length 0 html printer add small header buffer ant editor text messag string xml text hover 6 non nl 1 int 0 exclud length html printer add bullet buffer exclud html printer add page epilog buffer return buffer string formatsetmessag stringbuff stringbuff htmlprinter addpageprolog htmlprinter addsmallhead anteditortextmessag getstr xmltexthov htmlprinter addbullet htmlprinter addparagraph htmlprinter addparagraph htmlprinter addsmallhead anteditortextmessag getstr xmltexthov htmlprinter addbullet htmlprinter addpageepilog tostr public region hover region text viewer text viewer int offset text viewer null return region text viewer offset return null iregion gethoverregion itextview textview textview getregion textview public static region region text viewer text viewer int offset document document text viewer document int start 1 int end 1 try int po offset char po 0 document char po c c charact java identifi part break po start po po offset int length document length po length document char po c charact java identifi part break po end po catch bad locat except start 1 end 1 start offset end offset return region offset 0 start offset return region start end start return region start 1 end start 1 return null iregion getregion itextview textview idocu textview getdocu getchar isjavaidentifierpart getlength getchar isjavaidentifierpart badlocationexcept return inform control creator public inform control creat inform control shell parent return default inform control parent swt html text present true ant editor text messag string xml text hover 7 non nl 1 iinformationcontrolcr iinformationcontrol createinformationcontrol defaultinformationcontrol htmltextpresent anteditortextmessag getstr xmltexthov public inform control creator hover control creator prefer constant prefer store boolean prefer constant editor show text hover afford return inform control creator public inform control creat inform control shell parent return default inform control parent swt html text present true ant editor text messag string xml text hover 7 non nl 1 return null iinformationcontrolcr gethovercontrolcr preferenceconst getpreferencestor getboolean preferenceconst editor_show_text_hover_afford iinformationcontrolcr iinformationcontrol createinformationcontrol defaultinformationcontrol htmltextpresent anteditortextmessag getstr xmltexthov org apach tool ant helper project helper2 ant handler start child java lang string java lang string java lang string org xml sax attribut org apach tool ant helper antxml context public ant handler start child string uri string tag string qname attribut attr antxml context context return project helper element handler projecthelp2 anthandl onstartchild antxmlcontext anthandl onstartchild antxmlcontext projecthelp elementhandl public void start element string uri string tag string qname attribut attr antxml context context try runtim configur wrapper context current wrapper current task null task null wrapper null current task task wrapper proxi start element0 uri tag qname attr context locat locat context locat ant model add task task current task attr locat line number locat column number catch build except locat locat context locat ant model add task task current task attr locat line number locat column number ant model error onstartel antxmlcontext runtimeconfigur currentwrapp currenttask currenttask getproxi onstartel0 getloc getantmodel addtask currenttask getlinenumb getcolumnnumb buildexcept getloc getantmodel addtask currenttask getlinenumb getcolumnnumb getantmodel public void end element string uri string tag antxml context context super end element uri tag context locat locat context locat ant model set current element length locat line number locat column number onendel antxmlcontext onendel getloc getantmodel setcurrentelementlength getlinenumb getcolumnnumb privat void start element0 string uri string tag string qname attribut attr antxml context context runtim configur parent wrapper context current wrapper object parent null parent wrapper null parent parent wrapper proxi unknown element task data type delai eval task unknown element tag task set project context project task set namespac uri task setq qname task set task type org apach tool ant project helper gen compon task namespac tag task set task qname locat locat locat context locat system id context locat line number context locat column number task set locat locat task set own target context current target context configur id task attr parent null nest element unknown element parent add child task task includ target includ default context current target add task task contain add task task nop ue task init runtim configur wrapper runtim configur task task task int 0 attr length string attr uri attr geturi attr uri null attr uri equal non nl 1 attr uri equal uri continu ignor attribut unknown uri string attr local string attr pr hack ant type ant type compon namespac need extract convert qualifi uri name equal ant type non nl 1 int index index index 1 string prefix substr 0 index string map uri context prefix map prefix map uri null throw build except unabl find xml ns prefix prefix non nl 1 org apach tool ant project helper gen compon map uri substr index 1 wrapper set attribut parent wrapper null parent wrapper add child wrapper context push wrapper wrapper onstartel0 antxmlcontext runtimeconfigur parentwrapp currentwrapp parentwrapp parentwrapp getproxi unknownel unknownel setproject getproject setnamespac setqnam settasktyp projecthelp gencomponentnam getnamespac settasknam getloc getsystemid getloc getlinenumb getloc getcolumnnumb setloc setowningtarget getcurrenttarget configureid unknownel addchild getcurrenttarget addtask addtask runtimeconfigur runtimeconfigur gettasknam getlength attruri attruri attruri attruri getlocalnam getvalu indexof mappeduri getprefixmap mappeduri buildexcept projecthelp gencomponentnam mappeduri setattribut parentwrapp parentwrapp addchild pushwrapp public void charact char buf int start int count antxml context context try super charact buf start count context catch sax pars except error helper handl error element text start count context catch build except error helper handl error element text start count context antxmlcontext saxparseexcept errorhelp handleerrorfromelementtext buildexcept errorhelp handleerrorfromelementtext public void reset task null current task null currenttask public ant handler start child string uri string string qname attribut attr antxml context context throw sax pars except equal project non nl 1 uri equal uri equal ant core uri non nl 1 return project helper project handler try return super start child uri qname attr context catch sax pars except ant model error throw anthandl onstartchild antxmlcontext saxparseexcept ant_core_uri projecthelp projecthandl onstartchild saxparseexcept getantmodel public ant handler start child string uri string string qname attribut attr antxml context context equal target non nl 1 uri equal uri equal ant core uri non nl 1 return project helper target handler return project helper element handler anthandl onstartchild antxmlcontext ant_core_uri projecthelp targethandl projecthelp elementhandl public void end element string uri string tag antxml context context super end element uri tag context current import stack size 1 locat locat context locat ant model set current element length locat line number locat column number onendel antxmlcontext onendel currentimportstacks getloc getantmodel setcurrentelementlength getlinenumb getcolumnnumb public void start element string uri string tag string qname attribut attr antxml context context try super start element uri tag qname attr context catch sax pars except ant model error catch build except ant model error current import stack size 1 locat locat context locat ant model add project context project locat line number locat column number onstartel antxmlcontext onstartel saxparseexcept getantmodel buildexcept getantmodel currentimportstacks getloc getantmodel addproject getproject getlinenumb getcolumnnumb public void charact char buf int start int count antxml context context try super charact buf start count context catch sax pars except error helper handl error element text start count context catch build except error helper handl error element text start count context antxmlcontext saxparseexcept errorhelp handleerrorfromelementtext buildexcept errorhelp handleerrorfromelementtext org apach tool ant helper project helper2 ant handler start child java lang string java lang string java lang string org xml sax attribut org apach tool ant helper antxml context public ant handler start child string uri string string qname attribut attr antxml context context return project helper element handler projecthelp2 anthandl onstartchild antxmlcontext anthandl onstartchild antxmlcontext projecthelp elementhandl public void start element string uri string tag string qname attribut attr antxml context context try super start element uri tag qname attr context target target context current target locat locat context locat ant model add target target locat line number locat column number catch sax pars except handl error target context catch build except handl error target context onstartel antxmlcontext onstartel newtarget getcurrenttarget getloc getantmodel addtarget newtarget getlinenumb getcolumnnumb saxparseexcept handleerrorintarget buildexcept handleerrorintarget privat void handl error target antxml context context except target target context current target locat locat context locat ant model add target target locat line number locat column number ant model error element null locat line number locat column number handleerrorintarget antxmlcontext newtarget getcurrenttarget getloc getantmodel addtarget newtarget getlinenumb getcolumnnumb getantmodel errorfromel getlinenumb getcolumnnumb public void end element string uri string tag antxml context context super end element uri tag context locat locat context locat ant model set current element length locat line number locat column number onendel antxmlcontext onendel getloc getantmodel setcurrentelementlength getlinenumb getcolumnnumb public void charact char buf int start int count antxml context context try super charact buf start count context catch sax pars except error helper handl error element text start count context catch build except error helper handl error element text start count context antxmlcontext saxparseexcept errorhelp handleerrorfromelementtext buildexcept errorhelp handleerrorfromelementtext public static class root handler extend project helper2 root handler public root handler antxml context context ant handler root handler super context root handler roothandl projecthelp2 roothandl roothandl antxmlcontext anthandl roothandl roothandl org xml sax error handler error org xml sax sax pars except public void error sax pars except ant model error errorhandl saxparseexcept saxparseexcept getantmodel org xml sax error handler fatal error org xml sax sax pars except public void fatal error sax pars except ant model fatal error errorhandl fatalerror saxparseexcept fatalerror saxparseexcept getantmodel fatalerror org xml sax error handler warn org xml sax sax pars except public void warn sax pars except ant model warn errorhandl saxparseexcept saxparseexcept getantmodel public input sourc resolv entiti string public id string system id input sourc sourc super resolv entiti public id system id sourc null string path file util fromuri sourc system id current entiti null current entiti path path ant model add entiti current entiti path current entiti null return sourc inputsourc resolveent publicid systemid inputsourc resolveent publicid systemid getfileutil getsystemid currententitynam currententitypath getantmodel addent currententitynam currententitynam privat static class error helper public static void handl error element text int start int count antxml context context except locat locat context locat int column number locat column number column number 1 int offset start try offset ant model offset locat line number 1 catch bad locat except e1 ant model error element text offset locat column number ant model error element text start count errorhelp handleerrorfromelementtext antxmlcontext getloc columnnumb getcolumnnumb columnnumb getantmodel getoffset getlinenumb badlocationexcept getantmodel errorfromelementtext getcolumnnumb getantmodel errorfromelementtext org xml sax ext lexic handler endcdata public void endcdata throw sax except lexicalhandl saxexcept org xml sax ext lexic handler enddtd public void enddtd throw sax except lexicalhandl saxexcept org xml sax ext lexic handler startcdata public void startcdata throw sax except lexicalhandl saxexcept org xml sax ext lexic handler comment char int int public void comment char ch int start int length throw sax except lexicalhandl saxexcept org xml sax ext lexic handler end entiti java lang string public void end entiti string throw sax except lexicalhandl endent endent saxexcept public void start entiti string throw sax except current entiti path null current entiti name ant model add entiti current entiti path current entiti path null startent saxexcept currententitypath currententitynam getantmodel addent currententitypath currententitypath org xml sax ext lexic handler startdtd java lang string java lang string java lang string public void startdtd string string public id string system id throw sax except lexicalhandl publicid systemid saxexcept public project helper ant model model set ant model model projecthelp antmodel setantmodel pars project file configur project goe param project current project param sourc xml sourc param handler root handler current context except build except configur invalid read public void pars project project object sourc org apach tool ant helper project helper2 root handler handler throw build except sourc instanceof string super pars project sourc handler return antxml context context antxml context project refer ant pars context non nl 1 switch handler pars continu hit error handler root handler context main handler reader stream string reader string sourc input sourc input sourc null try sax 2 style parser pars file jaxp util support underli parser factori cach reflect classpath effect xml parser return bug 59764 xml reader parser jaxp util namespacexml reader xml reader parser namespacexml reader parser null throw build except project helper messag string project helper 0 non nl 1 string uri null build file null uri file util touri build file absolut path input sourc input sourc stream uri null input sourc set system id uri context set build file build file parser set content handler handler parser set entiti resolv handler parser set error handler handler parser setdtd handler handler parser set properti http xml org sax properti lexic handler lexic handler non nl 1 parser pars input sourc catch sax pars except exc ant model fatal error exc catch sax except exc ignor pars incomplet sourc catch file found except exc throw build except exc catch unsupport encod except exc throw build except exc catch io except exc throw build except exc final stream null try stream close catch io except ioe ignor buildexcept projecthelp2 roothandl buildexcept antxmlcontext antxmlcontext getrefer roothandl mainhandl stringread inputsourc inputsourc jaxputil xmlreader jaxputil getnamespacexmlread xmlreader getnamespacexmlread buildexcept projecthelpermessag getstr projecthelp buildfil getfileutil buildfil getabsolutepath inputsourc inputsourc inputsourc setsystemid setbuildfil buildfil setcontenthandl setentityresolv seterrorhandl setdtdhandl setproperti lexicalhandl inputsourc saxparseexcept getantmodel fatalerror saxexcept filenotfoundexcept buildexcept unsupportedencodingexcept buildexcept ioexcept buildexcept ioexcept set buildfil pars code null code pars complet param file buildfil pars public void set build file file file build file file current import stack size 1 setbuildfil buildfil currentimportstacks public void pars project project object sourc throw build except antxml context context antxml context project refer ant pars context non nl 1 context null import stack remov element context antxml context project project add refer ant pars context context non nl 1 project add refer ant target context target non nl 1 import stack add element sourc current import stack size import stack size import stack size 1 import file context set ignor project tag true target current target context current target try target current target current set project project current set non nl 1 context set current target current pars project sourc root handler context main handler final context set current target current target top level file pars project sourc root handler context main handler buildexcept antxmlcontext antxmlcontext getrefer getimportstack removeallel antxmlcontext addrefer addrefer gettarget getimportstack addel currentimportstacks getimportstack getimportstack setignoreprojecttag currenttarget getcurrenttarget newcurr newcurr setproject newcurr setnam setcurrenttarget newcurr roothandl mainhandl setcurrenttarget currenttarget roothandl mainhandl public static void set ant model ant model ant model fg ant model ant model project helper element handler element handler reset fu null setantmodel antmodel antmodel fgantmodel antmodel projecthelp elementhandl elementhandl public static ant model ant model return fg ant model antmodel getantmodel fgantmodel privat static file util file util fu null fu file util file util return fu fileutil getfileutil fileutil newfileutil return newli creat sax 2 xml reader namespac awar return sax 2 xml reader ant 1 6 org apach tool ant util jaxp util privat xml reader namespacexml reader throw build except try return newsax parser getn parser factori getxml reader catch sax except return null xmlreader xmlreader jaxputil xmlreader getnamespacexmlread buildexcept newsaxpars getnsparserfactori getxmlread saxexcept return parser factori creat namespac awar parser return sax parser factori support manufactur namespac awar parser ant 1 6 org apach tool ant util jaxp util privat sax parser factori getn parser factori throw build except sax parser factori ns parser factori jaxp util parser factori ns parser factori set namespac awar true return ns parser factori saxparserfactori jaxputil saxparserfactori getnsparserfactori buildexcept saxparserfactori nsparserfactori jaxputil newparserfactori nsparserfactori setnamespaceawar nsparserfactori return sax parser instanc helper parser getxml reader ant 1 5 org apach tool ant util jaxp util privat sax parser newsax parser sax parser factori factori try return factori newsax parser catch parser configur except catch sax except return null saxpars getpars getxmlread jaxputil saxpars newsaxpars saxparserfactori newsaxpars parserconfigurationexcept saxexcept privat static final string bundl org eclips ant intern ui editor util project helper messag non nl 1 privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat project helper messag bundl_name projecthelpermessag resourcebundl resourc_bundl resourcebundl getbundl bundl_name projecthelpermessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept public class add variabl string action extend runtim classpath action public add variabl string action classpath viewer viewer super ant launch configur messag string add variabl string action 1 viewer non nl 1 addvariablestringact runtimeclasspathact addvariablestringact iclasspathview antlaunchconfigurationmessag getstr addvariablestringact org eclips jdt intern debug ui action runtim classpath action action type protect int action type return add runtimeclasspathact getactiontyp getactiontyp public void run variabl input dialog input dialog variabl input dialog shell input dialog open string variabl string input dialog variabl string variabl string null variabl string trim length 0 runtim classpath entri entri java runtim string variabl classpath entri variabl string viewer add entri runtim classpath entri entri variableinputdialog inputdialog variableinputdialog getshel inputdialog variablestr inputdialog getvariablestr variablestr variablestr iruntimeclasspathentri newentri javaruntim newstringvariableclasspathentri variablestr getview addentri iruntimeclasspathentri newentri public void creat tab launch configur dialog dialog string mode launch configur tab tab launch configur tab ant main tab refresh tab ant target tab ant classpath tab ant properti tab antjr tab ant environ tab extern tool builder tab set tab tab createtab ilaunchconfigurationdialog ilaunchconfigurationtab ilaunchconfigurationtab antmaintab refreshtab anttargetstab antclasspathtab antpropertiestab antjretab antenvironmenttab externaltoolsbuildertab settab org eclips jface viewer structur content provid element java lang object public object element object input element return workspac input element root project istructuredcontentprovid getel getel inputel iworkspac inputel getroot getproject org eclips jface viewer content provid dispos public void dispos icontentprovid org eclips jface viewer content provid input chang org eclips jface viewer viewer java lang object java lang object public void input chang viewer viewer object input object input icontentprovid inputchang inputchang oldinput newinput build button creat check button main composit ant launch configur messag string ant build tab 1 non nl 1 build button add select listen select adapt public void widget select select event updat enabl updat launch configur dialog fbuildbutton createcheckbutton maincomposit antlaunchconfigurationmessag getstr antbuildtab fbuildbutton addselectionlisten selectionadapt widgetselect selectionev updateenabledst updatelaunchconfigurationdialog select adapt adapt select adapt public void widget select select event button sourc select updat enabl updat launch configur dialog selectionadapt selectionadapt widgetselect selectionev getsourc getselect updateenabledst updatelaunchconfigurationdialog gd horizont align grid data horizont align end select button add select listen select adapt public void widget select select event select resourc horizontalalign griddata horizont_align_end fselectbutton addselectionlisten selectionadapt widgetselect selectionev selectresourc org eclips debug ui launch configur tab creat control org eclips swt widget composit public void creat control composit parent composit main composit composit parent swt set control main composit workbench help set help control antui help context id ant build tab grid layout layout grid layout grid data gd grid data grid data fill horizont main composit set layout layout main composit set layout data gd main composit set font parent font build button creat check button main composit ant launch configur messag string ant build tab 1 non nl 1 build button add select listen select adapt public void widget select select event updat enabl updat launch configur dialog group group main composit swt group set font main composit font layout grid layout layout num column 2 layout column equal width fals group set layout layout gd grid data grid data fill horizont gd horizont span 2 group set layout data gd select adapt adapt select adapt public void widget select select event button sourc select updat enabl updat launch configur dialog workspac button creat radio button group ant launch configur messag string ant build tab 2 non nl 1 gd grid data grid data fill horizont gd horizont span 2 workspac button set layout data gd workspac button add select listen adapt project button creat radio button group ant launch configur messag string ant build tab 3 non nl 1 gd grid data grid data fill horizont gd horizont span 2 project button set layout data gd project button add select listen adapt specif project button creat radio button group ant launch configur messag string ant build tab 4 non nl 1 gd grid data grid data fill horizont gd horizont span 1 specif project button set layout data gd specif project button add select listen adapt select button creat push button group ant launch configur messag string ant build tab 5 null non nl 1 gd grid data select button layout data gd horizont align grid data horizont align end select button add select listen select adapt public void widget select select event select resourc creat vertic spacer main composit 1 referenc project creat check button main composit ant launch configur messag string ant build tab 6 non nl 1 ilaunchconfigurationtab createcontrol createcontrol maincomposit setcontrol maincomposit workbenchhelp sethelp getcontrol iantuihelpcontextid ant_build_tab gridlayout gridlayout griddata griddata griddata fill_horizont maincomposit setlayout maincomposit setlayoutdata maincomposit setfont getfont fbuildbutton createcheckbutton maincomposit antlaunchconfigurationmessag getstr antbuildtab fbuildbutton addselectionlisten selectionadapt widgetselect selectionev updateenabledst updatelaunchconfigurationdialog fgroup maincomposit fgroup setfont maincomposit getfont gridlayout numcolumn makecolumnsequalwidth fgroup setlayout griddata griddata fill_horizont horizontalspan fgroup setlayoutdata selectionadapt selectionadapt widgetselect selectionev getsourc getselect updateenabledst updatelaunchconfigurationdialog fworkspacebutton createradiobutton fgroup antlaunchconfigurationmessag getstr antbuildtab griddata griddata fill_horizont horizontalspan fworkspacebutton setlayoutdata fworkspacebutton addselectionlisten fprojectbutton createradiobutton fgroup antlaunchconfigurationmessag getstr antbuildtab griddata griddata fill_horizont horizontalspan fprojectbutton setlayoutdata fprojectbutton addselectionlisten fspecificprojectsbutton createradiobutton fgroup antlaunchconfigurationmessag getstr antbuildtab griddata griddata fill_horizont horizontalspan fspecificprojectsbutton setlayoutdata fspecificprojectsbutton addselectionlisten fselectbutton createpushbutton fgroup antlaunchconfigurationmessag getstr antbuildtab griddata fselectbutton getlayoutdata horizontalalign griddata horizont_align_end fselectbutton addselectionlisten selectionadapt widgetselect selectionev selectresourc createverticalspac maincomposit freferencedproject createcheckbutton maincomposit antlaunchconfigurationmessag getstr antbuildtab prompt user select project build privat void select resourc list select dialog dialog list select dialog shell resourc plugin workspac project content provid workbench label provid ant launch configur messag string ant build tab 7 non nl 1 dialog set initi element select project dialog open window cancel return object re dialog result project arrai list re length int 0 re length project add re updat launch configur dialog selectresourc listselectiondialog listselectiondialog getshel resourcesplugin getworkspac projectscontentprovid workbenchlabelprovid antlaunchconfigurationmessag getstr antbuildtab setinitialelementselect fproject getresult fproject arraylist fproject updatelaunchconfigurationdialog org eclips debug ui launch configur tab set default org eclips debug core launch configur work copi public void set default launch configur work copi configur ilaunchconfigurationtab setdefault ilaunchconfigurationworkingcopi setdefault ilaunchconfigurationworkingcopi org eclips debug ui launch configur tab initi org eclips debug core launch configur public void initi launch configur configur updat scope configur updat referenc project configur updat enabl ilaunchconfigurationtab initializefrom ilaunchconfigur initializefrom ilaunchconfigur updatescop updatereferencedproject updateenabledst privat void updat referenc project launch configur configur boolean ref fals try ref configur attribut attr includ referenc project true catch core except antui plugin log antui plugin error statu except read launch configur non nl 1 referenc project set select ref updatereferencedproject ilaunchconfigur getattribut attr_includ_referenc_project coreexcept antuiplugin antuiplugin newerrorstatu freferencedproject setselect updat tab displai build scope launch config privat void updat scope launch configur configur string scope null try scope configur attribut attr build scope string null catch core except ce antui plugin log antui plugin error statu except read launch configur ce non nl 1 build button set select scope null workspac button set select fals project button set select fals specif project button set select fals project clear scope null select workspac default build button set select true workspac button set select true scope equal non nl 1 build button set select fals scope equal project non nl 1 project button set select true scope start project non nl 1 specif project button set select true project project build project scope project arrai list project length int 0 project length project add project updatescop ilaunchconfigur getattribut attr_build_scope coreexcept antuiplugin antuiplugin newerrorstatu fbuildbutton setselect fworkspacebutton setselect fprojectbutton setselect fspecificprojectsbutton setselect fproject fbuildbutton setselect fworkspacebutton setselect fbuildbutton setselect fprojectbutton setselect startswith fspecificprojectsbutton setselect iproject getbuildproject fproject arraylist fproject org eclips debug ui launch configur tab perform appli org eclips debug core launch configur work copi public void perform appli launch configur work copi configur string scope gener scope memento configur set attribut attr build scope scope referenc project select default true configur set attribut attr includ referenc project string null configur set attribut attr includ referenc project fals ilaunchconfigurationtab performappli ilaunchconfigurationworkingcopi performappli ilaunchconfigurationworkingcopi generatescopememento setattribut attr_build_scope freferencedproject getselect setattribut attr_includ_referenc_project setattribut attr_includ_referenc_project gener memento build scope privat string gener scope memento build button select workspac button select return null project button select return project non nl 1 specif project button select return build scope attribut project return null return non nl 1 generatescopememento fbuildbutton getselect fworkspacebutton getselect fprojectbutton getselect fspecificprojectsbutton getselect getbuildscopeattribut fproject org eclips debug ui launch configur tab public string return ant launch configur messag string ant build tab 8 non nl 1 ilaunchconfigurationtab getnam getnam antlaunchconfigurationmessag getstr antbuildtab updat enabl field privat void updat enabl boolean enabl build button select group set enabl enabl workspac button set enabl enabl project button set enabl enabl specif project button set enabl enabl select button set enabl enabl specif project button select enabl super set error messag null enabl workspac button select project button select specif project button select workspac button set select true referenc project set enabl build button select project button select specif project button select updateenabledst fbuildbutton getselect fgroup seten fworkspacebutton seten fprojectbutton seten fspecificprojectsbutton seten fselectbutton seten fspecificprojectsbutton getselect seterrormessag fworkspacebutton getselect fprojectbutton getselect fspecificprojectsbutton getselect fworkspacebutton setselect freferencedproject seten fbuildbutton getselect fprojectbutton getselect fspecificprojectsbutton getselect org eclips debug ui launch configur tab imag public imag imag return antui imag imag antui constant img ant build tab ilaunchconfigurationtab getimag getimag antuiimag getimag iantuiconst img_ant_build_tab public boolean valid launch configur launch config set error messag null set messag null build button select specif project button select project empti set error messag ant launch configur messag string ant build tab 9 non nl 1 return fals return true isvalid ilaunchconfigur launchconfig seterrormessag setmessag fbuildbutton getselect fspecificprojectsbutton getselect fproject isempti seterrormessag antlaunchconfigurationmessag getstr antbuildtab return collect project referenc build scope attribut param scope build scope attribut code attr build scope code return collect porject refer scope attribut public static project build project string scope scope start project non nl 1 string path string scope substr 11 scope length 1 path string length 1 string name path string split non nl 1 project project project name length workspac root root resourc plugin workspac root int 0 name length project root project name return project scope equal project non nl 1 resourc resourc debugui tool select resourc resourc null return project resourc project return project 0 attr_build_scope iproject getbuildproject startswith pathstr pathstr pathstr iproject iproject iworkspaceroot resourcesplugin getworkspac getroot getproject iresourc debuguitool getselectedresourc iproject getproject iproject return build scope attribut launch configur code null code param configur launch configur return build scope attribut code attr build scope code throw core except unabl access attribut public static string build scope launch configur configur throw core except return configur attribut attr build scope string null attr_build_scope coreexcept getbuildscop ilaunchconfigur coreexcept getattribut attr_build_scope referenc project consid build valid set project built param configur return referenc project considerd build throw core except unabl access attribut public static boolean includ referenc project launch configur configur throw core except return configur attribut attr includ referenc project true coreexcept isincludereferencedproject ilaunchconfigur coreexcept getattribut attr_includ_referenc_project creat return memento project set build scope attribut param project list project return equival refresh attribut public static string build scope attribut list project string buffer buf string buffer buf append project non nl 1 iter iter project iter iter project project project iter buf append project iter buf append non nl 1 buf append non nl 1 return buf string getbuildscopeattribut stringbuff stringbuff hasnext iproject iproject getnam hasnext tostr org eclips debug ui launch configur tab activ org eclips debug core launch configur work copi public void activ launch configur work copi work copi activ ilaunchconfigurationtab ilaunchconfigurationworkingcopi ilaunchconfigurationworkingcopi workingcopi org eclips debug ui launch configur tab deactiv org eclips debug core launch configur work copi public void deactiv launch configur work copi work copi deactiv ilaunchconfigurationtab ilaunchconfigurationworkingcopi ilaunchconfigurationworkingcopi workingcopi public runtim classpath entri comput unresolv classpath launch configur configur throw core except boolean default configur attribut java launch configur constant attr default classpath true default list rte arrai list 10 ivm instal vm null try vm java runtim computevm instal configur catch core except ce like non java project vm java runtim defaultvm instal path contain path path java runtim jre contain contain path contain path append path vm getvm instal type id contain path contain path append path vm rte add java runtim runtim contain classpath entri contain path runtim classpath entri standard class rte add ant home classpath entri rte add contribut classpath entri entri return runtim classpath entri rte arrai runtim classpath entri rte size return super comput unresolv classpath configur iruntimeclasspathentri computeunresolvedclasspath ilaunchconfigur coreexcept usedefault getattribut ijavalaunchconfigurationconst attr_default_classpath usedefault arraylist ivminstal javaruntim computevminstal coreexcept javaruntim getdefaultvminstal ipath containerpath javaruntim jre_contain containerpath containerpath getvminstalltyp getid containerpath containerpath getnam javaruntim newruntimecontainerclasspathentri containerpath iruntimeclasspathentri standard_class anthomeclasspathentri contributedclasspathentriesentri iruntimeclasspathentri toarrai iruntimeclasspathentri computeunresolvedclasspath org eclips jdt debug ui launch configur java classpath tab show bootpath public boolean show bootpath return fals launchconfigur javaclasspathtab isshowbootpath isshowbootpath creat action manipul classpath param path button comp composit button contain 3 0 protect void creat path button composit path button comp creat button path button comp move action classpath viewer creat button path button comp move action classpath viewer creat button path button comp remov action classpath viewer creat button path button comp add jar action classpath viewer creat button path button comp add extern jar action classpath viewer dialog set prefix button button creat button path button comp add folder action classpath viewer button set text ant launch configur messag string ant classpath tab 0 non nl 1 creat button path button comp add variabl string action classpath viewer runtim classpath action action restor default entri action classpath viewer creat button path button comp action action set enabl true action edit ant home entri action classpath viewer creat button path button comp action action set enabl true pathbuttoncomp createpathbutton pathbuttoncomp createbutton pathbuttoncomp moveupact fclasspathview createbutton pathbuttoncomp movedownact fclasspathview createbutton pathbuttoncomp removeact fclasspathview createbutton pathbuttoncomp addjaract fclasspathview createbutton pathbuttoncomp addexternaljaract fclasspathview dialog_set_prefix createbutton pathbuttoncomp addfolderact fclasspathview settext antlaunchconfigurationmessag getstr antclasspathtab createbutton pathbuttoncomp addvariablestringact fclasspathview runtimeclasspathact restoredefaultentriesact fclasspathview createbutton pathbuttoncomp seten editanthomeentryact fclasspathview createbutton pathbuttoncomp seten org eclips debug ui abstract launch configur tab set dirti boolean public void set dirti boolean dirti super set dirti dirti abstractlaunchconfigurationtab setdirti setdirti setdirti public void initi launch configur configur try ant util migrat classpath format configur catch core except super initi configur initializefrom ilaunchconfigur antutil migratetonewclasspathformat coreexcept initializefrom public void entri chang classpath viewer viewer super entri chang viewer launch configur tab tab launch configur dialog tab int 0 tab length i launch configur tab tab tab tab instanceof ant target tab ant target tab tab set dirti true entrieschang iclasspathview entrieschang ilaunchconfigurationtab getlaunchconfigurationdialog gettab ilaunchconfigurationtab anttargetstab anttargetstab setdirti public boolean valid launch configur launch config boolean valid super valid launch config valid return fals return valid ant home isvalid ilaunchconfigur launchconfig isvalid launchconfig validateanthom privat boolean valid ant home classpath model model model classpath entri user entri model user entri classpath entri entri user entri entri int 0 entri length classpath entri entri classpath entri entri i runtim classpath entri runtim entri entri deleg runtim entri instanceof ant home classpath entri try ant home classpath entri runtim entri resolv ant home catch core except ce set error messag ce statu messag return fals break return true validateanthom classpathmodel getmodel iclasspathentri userentri getuserentri iclasspathentri userentri getentri classpathentri classpathentri iruntimeclasspathentri runtimeentri getdeleg runtimeentri anthomeclasspathentri anthomeclasspathentri runtimeentri resolveanthom coreexcept seterrormessag getstatu getmessag public void creat control composit parent wrap composit composit parent swt wrap composit set layout grid layout wrap composit set layout data grid data grid data fill wrap composit set font parent font warn label label wrap composit swt warn label set text ant launch configur messag string ant environ tab 0 non nl 1 super creat control wrap composit set control wrap composit overwrit set super method dialog appli dialog font parent createcontrol wrappingcomposit wrappingcomposit setlayout gridlayout wrappingcomposit setlayoutdata griddata griddata fill_both wrappingcomposit setfont getfont warninglabel wrappingcomposit warninglabel settext antlaunchconfigurationmessag getstr antenvironmenttab createcontrol wrappingcomposit setcontrol wrappingcomposit applydialogfont org eclips debug ui launch configur tab activ org eclips debug core launch configur work copi public void activ launch configur work copi work copi updat widget enabl work copi ilaunchconfigurationtab ilaunchconfigurationworkingcopi ilaunchconfigurationworkingcopi workingcopi updatewidgetsen workingcopi protect void updat widget enabl launch configur work copi work copi wrap composit null return string vm null try vm work copi attribut java launch configur constant attr vm instal string null catch core except boolean enabl true vm null enabl fals color tabl color enabl null displai default system color swt color widget background color label color enabl null displai default system color swt color red tabl tabl environ tabl tabl tabl set enabl enabl tabl set background tabl color warn label set foreground label color env add button set enabl enabl env select button set enabl enabl updat append replac updat enabl edit remov button environ tabl set select environ tabl select updatewidgetsen ilaunchconfigurationworkingcopi workingcopi wrappingcomposit vmname vmname workingcopi getattribut ijavalaunchconfigurationconst attr_vm_instal_name coreexcept vmname tablecolor getdefault getsystemcolor color_widget_background labelcolor getdefault getsystemcolor color_red environmentt gettabl seten setbackground tablecolor warninglabel setforeground labelcolor envaddbutton seten envselectbutton seten updateappendreplac environmentt setselect environmentt getselect creat ant home entri default ant home instal public ant home classpath entri ant home locat null anthom anthom anthomeclasspathentri anthomeloc construct ant home entri ant instal root directori param ant home path local file system ant instal public ant home classpath entri string ant home ant home locat ant home anthom anthom anthomeclasspathentri anthom anthomeloc anthom protect void build memento document document element memento throw core except ant home locat null memento set attribut default true non nl 1 non nl 2 memento set attribut ant home path ant home locat string non nl 1 buildmemento coreexcept anthomeloc setattribut setattribut anthom anthomeloc tostr public void initi element memento throw core except string ant home memento attribut ant home non nl 1 ant home null ant home length 0 path path path ant home ant home locat path too string ant home locat null initializefrom coreexcept anthom getattribut anthom anthom anthom ipath anthom anthomeloc toosstr anthomeloc org eclips jdt launch runtim classpath entri2 type id public string type id return type id iruntimeclasspathentri2 gettypeid gettypeid type_id public runtim classpath entri runtim classpath entri launch configur configur throw core except list lib arrai list 40 ant core prefer prefer ant core plugin plugin prefer ant home locat null ant classpath entri entri prefer ant home classpath entri int 0 entri length i ant classpath entri entri entri lib add java runtim string variabl classpath entri entri label file lib resolv ant home path lib dir path ant home locat append lib non nl 1 string file name lib list int 0 file name length string file name i path path path string file extens path file extens jar equal ignor case file extens non nl 1 lib add java runtim archiv runtim classpath entri lib dir append path return runtim classpath entri lib arrai runtim classpath entri lib size iruntimeclasspathentri getruntimeclasspathentri ilaunchconfigur coreexcept arraylist antcoreprefer antcoreplugin getplugin getprefer anthomeloc iantclasspathentri getanthomeclasspathentri iantclasspathentri javaruntim newstringvariableclasspathentri getlabel resolveanthom ipath libdir anthomeloc filenam filenam filenam ipath fileextens getfileextens equalsignorecas fileextens javaruntim newarchiveruntimeclasspathentri libdir iruntimeclasspathentri toarrai iruntimeclasspathentri public file resolv ant home throw core except ant home locat null default ant home return null path lib dir path ant home locat append lib non nl 1 file lib lib dir file file parent dir lib parent file parent dir null parent dir exist abort messag format format ant launch configur messag string ant home classpath entri 10 string ant home locat null non nl 1 lib exist lib directori abort messag format format ant launch configur messag string ant home classpath entri 11 string ant home locat null non nl 1 return lib resolveanthom coreexcept anthomeloc ipath libdir anthomeloc libdir tofil parentdir getparentfil parentdir parentdir messageformat antlaunchconfigurationmessag getstr anthomeclasspathentri anthomeloc isdirectori messageformat antlaunchconfigurationmessag getstr anthomeclasspathentri anthomeloc public string ant home locat null return ant launch configur messag string ant home classpath entri 8 non nl 1 return messag format format ant launch configur messag string ant home classpath entri 9 string ant home locat non nl 1 getnam anthomeloc antlaunchconfigurationmessag getstr anthomeclasspathentri messageformat antlaunchconfigurationmessag getstr anthomeclasspathentri anthomeloc org eclips jdt launch runtim classpath entri type public int type return runtim classpath entri iruntimeclasspathentri gettyp gettyp iruntimeclasspathentri org eclips jdt launch runtim classpath entri2 composit public boolean composit return true iruntimeclasspathentri2 iscomposit iscomposit java lang object equal java lang object public boolean equal object obj return obj instanceof ant home classpath entri equal null ant home locat ant home classpath entri obj ant home locat anthomeclasspathentri equalsornul anthomeloc anthomeclasspathentri anthomeloc return s1 equival s2 param s1 param s2 return s1 equival s2 privat boolean equal null string s1 string s2 s1 null s2 null return s1 s2 return s1 equal ignor case s2 equalsornul equalsignorecas java lang object hash code public int hash code return class hash code hashcod hashcod getclass hashcod set ant home param path path toor ant home instal protect void set ant home string path ant home locat path setanthom anthomeloc return ant home locat return path root ant instal directori public string ant home return ant home locat getanthom anthomeloc public boolean pre launch check launch configur configur string mode progress monitor monitor throw core except try return super pre launch check configur mode monitor catch core except ce like deal non java project need check breakpoint run mode return true prelaunchcheck ilaunchconfigur iprogressmonitor coreexcept prelaunchcheck coreexcept public string program argument launch configur configur throw core except try return super program argument configur catch core except ce return configur attribut java launch configur constant attr program argument non nl 1 getprogramargu ilaunchconfigur coreexcept getprogramargu coreexcept getattribut ijavalaunchconfigurationconst attr_program_argument public void creat control composit parent super creat control parent workbench help set help control antui help context id ant jre tab composit comp composit fjre block control grid data comp layout data grab excess vertic space true grid data comp layout data vertic align swt fill fvm argument block creat control comp grid data fvm argument block control layout data horizont span 2 work directori block creat control comp grid data work directori block control layout data horizont span 2 createcontrol createcontrol workbenchhelp sethelp getcontrol iantuihelpcontextid ant_jre_tab fjreblock getcontrol griddata getlayoutdata grabexcessverticalspac griddata getlayoutdata verticalalign fvmargumentsblock createcontrol griddata fvmargumentsblock getcontrol getlayoutdata horizontalspan fworkingdirectoryblock createcontrol griddata fworkingdirectoryblock getcontrol getlayoutdata horizontalspan org eclips jdt intern debug ui jre jre descriptor descript public string descript return ant launch configur messag string antjr tab 2 non nl 1 jredescriptor getdescript getdescript antlaunchconfigurationmessag getstr antjretab protect jre descriptor defaultjr descriptor return jre descriptor non javadoc org eclips jdt intern debug ui jre jre descriptor descript public string descript return ant launch configur messag string antjr tab 2 non nl 1 jredescriptor getdefaultjredescriptor jredescriptor jredescriptor getdescript getdescript antlaunchconfigurationmessag getstr antjretab org eclips jdt intern debug ui jre jre descriptor descript public string descript return ant launch configur messag string antjr tab 3 non nl 1 jredescriptor getdescript getdescript antlaunchconfigurationmessag getstr antjretab protect jre descriptor specificjr descriptor return jre descriptor non javadoc org eclips jdt intern debug ui jre jre descriptor descript public string descript return ant launch configur messag string antjr tab 3 non nl 1 jredescriptor getspecificjredescriptor jredescriptor jredescriptor getdescript getdescript antlaunchconfigurationmessag getstr antjretab public void perform appli launch configur work copi configur work directori block set enabl fjre block defaultjr fvm argument block set enabl fjre block defaultjr fjre block defaultjr configur set attribut java launch configur constant attr vm instal string null configur set attribut java launch configur constant attr vm instal type string null configur set attribut java launch configur constant attr main type string null configur set attribut java launch configur constant attr program argument string null super perform appli configur appli separatevm attribut configur fvm argument block perform appli configur work directori block perform appli configur set launch configur work copi configur performappli ilaunchconfigurationworkingcopi fworkingdirectoryblock seten fjreblock isdefaultjr fvmargumentsblock seten fjreblock isdefaultjr fjreblock isdefaultjr setattribut ijavalaunchconfigurationconst attr_vm_instal_name setattribut ijavalaunchconfigurationconst attr_vm_instal_type setattribut ijavalaunchconfigurationconst attr_main_type_name setattribut ijavalaunchconfigurationconst attr_program_argument performappli applyseparatevmattribut fvmargumentsblock performappli fworkingdirectoryblock performappli setlaunchconfigurationworkingcopi privat void appli separatevm attribut launch configur work copi configur configur set attribut java launch configur constant attr main type main type configur set attribut debug plugin attr process factori id antui constant remot ant process factori id applyseparatevmattribut ilaunchconfigurationworkingcopi setattribut ijavalaunchconfigurationconst attr_main_type_name main_type_name setattribut debugplugin attr_process_factori_id iantuiconst remot_ant_process_factori_id public void initi launch configur configur super initi configur fvm argument block initi configur work directori block initi configur boolean separatevm fjre block defaultjr work directori block set enabl separatevm fvm argument block set enabl separatevm initializefrom ilaunchconfigur initializefrom fvmargumentsblock initializefrom fworkingdirectoryblock initializefrom fjreblock isdefaultjr fworkingdirectoryblock seten fvmargumentsblock seten org eclips debug ui launch configur tab valid org eclips debug core launch configur public boolean valid launch configur config return work directori block valid config ilaunchconfigurationtab isvalid ilaunchconfigur isvalid ilaunchconfigur fworkingdirectoryblock isvalid public void set launch configur dialog launch configur dialog dialog super set launch configur dialog dialog work directori block set launch configur dialog dialog fvm argument block set launch configur dialog dialog setlaunchconfigurationdialog ilaunchconfigurationdialog setlaunchconfigurationdialog fworkingdirectoryblock setlaunchconfigurationdialog fvmargumentsblock setlaunchconfigurationdialog public string error messag string super error messag null return work directori block error messag return geterrormessag geterrormessag fworkingdirectoryblock geterrormessag public string messag string super messag null return work directori block messag return getmessag getmessag fworkingdirectoryblock getmessag org eclips debug ui launch configur tab activ org eclips debug core launch configur work copi public void activ launch configur work copi work copi set launch configur work copi work copi ilaunchconfigurationtab ilaunchconfigurationworkingcopi ilaunchconfigurationworkingcopi workingcopi setlaunchconfigurationworkingcopi workingcopi public void set default launch configur work copi config super set default config default set ant build occur separ vm ivm instal default instal null try default instal java runtim computevm instal config catch core except core except thrown non java project default instal java runtim defaultvm instal default instal null string vm default instal string vm typeid default instal getvm instal type id config set attribut java launch configur constant attr vm instal vm config set attribut java launch configur constant attr vm instal type vm typeid appli separatevm attribut config setdefault ilaunchconfigurationworkingcopi setdefault ivminstal defaultinstal defaultinstal javaruntim computevminstal coreexcept defaultinstal javaruntim getdefaultvminstal defaultinstal vmname defaultinstal getnam vmtypeid defaultinstal getvminstalltyp getid setattribut ijavalaunchconfigurationconst attr_vm_instal_name vmname setattribut ijavalaunchconfigurationconst attr_vm_instal_type vmtypeid applyseparatevmattribut org eclips debug ui launch configur tab deactiv org eclips debug core launch configur work copi public void deactiv launch configur work copi work copi ilaunchconfigurationtab ilaunchconfigurationworkingcopi ilaunchconfigurationworkingcopi workingcopi resourc bundl bundl bundl privat ant launch configur messag resourcebundl getbundl bundl_name antlaunchconfigurationmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept org eclips debug core model launch configur deleg launch org eclips debug core launch configur java lang string org eclips debug core launch org eclips core runtim progress monitor public void launch launch configur configur string mode launch launch progress monitor monitor throw core except monitor cancel return migrat config classpath format requir ant util migrat classpath format configur string vm typeid null try check set run separ vm vm typeid configur attribut java launch configur constant attr vm instal type string null catch core except ce antui plugin log ce common tab launch background configur monitor begin task messag format format ant launch configur messag string ant launch deleg launch 0 1 string configur 10 non nl 1 monitor begin task messag format format ant launch configur messag string ant launch deleg run 0 2 string configur 100 non nl 1 resolv locat path locat extern tool util locat configur monitor work 1 monitor cancel return vm typeid null ant runner build run statu statu statu statu error antui constant plugin id 1 messag format format ant launch configur messag string ant launch deleg build progress string locat too string null non nl 1 throw core except statu resolv work directori path work directori extern tool util work directori configur string basedir null work directori null basedir work directori too string monitor work 1 monitor cancel return link process build logger timestamp stamp system current milli string id stamp string stamp string buffer id properti string buffer non nl 1 id properti append ant process attr ant process id id properti append id properti append id stamp resolv argument string argument extern tool util argument configur map user properti ant util properti configur string properti file ant util properti file configur string target ant util target config configur url custom classpath ant util custom classpath configur string ant home ant util ant home configur ant runner runner null vm typeid null runner configur ant runner configur locat basedir id properti argument user properti properti file target custom classpath ant home monitor work 1 monitor cancel return boolean captur output extern tool util captur output configur int port 1 vm typeid null captur output user properti null user properti hash map port socket util find free port user properti put ant process attr ant process id id stamp user properti put eclips connect port integ string port non nl 1 string buffer command line gener command line locat argument user properti properti file target ant home basedir vm typeid null captur output vm typeid null monitor begin task messag format format ant launch configur messag string ant launch deleg launch 0 1 string configur 10 non nl 1 run separatevm configur launch monitor id stamp port command line captur output run samevm configur launch monitor locat id stamp runner command line monitor ilaunchconfigurationdeleg ilaunchconfigur ilaunch iprogressmonitor ilaunchconfigur ilaunch iprogressmonitor coreexcept iscancel antutil migratetonewclasspathformat vmtypeid vmtypeid getattribut ijavalaunchconfigurationconst attr_vm_instal_type coreexcept antuiplugin commontab islaunchinbackground begintask messageformat antlaunchconfigurationmessag getstr antlaunchdeleg launch_ _1 getnam begintask messageformat antlaunchconfigurationmessag getstr antlaunchdeleg run_ _2 getnam ipath externaltoolsutil getloc iscancel vmtypeid antrunn isbuildrun istatu istatu iantuiconst plugin_id messageformat antlaunchconfigurationmessag getstr antlaunchdeleg build_in_progress toosstr coreexcept ipath workingdirectori externaltoolsutil getworkingdirectori workingdirectori workingdirectori toosstr iscancel timestamp currenttimemilli idstamp tostr timestamp stringbuff idproperti stringbuff idproperti antprocess attr_ant_process_id idproperti idproperti idstamp externaltoolsutil getargu userproperti antutil getproperti propertyfil antutil getpropertyfil antutil gettargetsfromconfig customclasspath antutil getcustomclasspath anthom antutil getanthom antrunn vmtypeid configureantrunn idproperti userproperti propertyfil customclasspath anthom iscancel captureoutput externaltoolsutil getcaptureoutput vmtypeid captureoutput userproperti userproperti hashmap socketutil findfreeport userproperti antprocess attr_ant_process_id idstamp userproperti tostr stringbuff commandlin generatecommandlin userproperti propertyfil anthom vmtypeid captureoutput vmtypeid begintask messageformat antlaunchconfigurationmessag getstr antlaunchdeleg launch_ _1 getnam runinseparatevm idstamp commandlin captureoutput runinsamevm idstamp commandlin runnabl runnabl public void run try final runner run process catch core except handl except ant launch configur messag string ant launch deleg failur non nl 1 process termin finalrunn coreexcept handleexcept antlaunchconfigurationmessag getstr antlaunchdeleg privat void run samevm launch configur configur launch launch progress monitor monitor path locat string id stamp ant runner runner string buffer command line throw core except map attribut hash map 2 attribut put process attr process type ant launch configur constant id ant process type attribut put ant process attr ant process id id stamp final ant process process ant process locat too string launch attribut set process attribut process id stamp command line common tab launch background configur final ant runner final runner runner runnabl runnabl public void run try final runner run process catch core except handl except ant launch configur messag string ant launch deleg failur non nl 1 process termin thread background thread background start monitor work 1 refresh resourc process finish refresh tab refresh scope configur null background resourc refresh refresh background resourc refresh configur process refresh start background refresh execut build try runner run monitor catch core except process termin monitor handl except ant launch configur messag string ant launch deleg 23 non nl 1 return process termin refresh resourc refresh tab refresh resourc configur monitor runinsamevm ilaunchconfigur ilaunch iprogressmonitor ipath idstamp antrunn stringbuff commandlin coreexcept hashmap iprocess attr_process_type iantlaunchconfigurationconst id_ant_process_type antprocess attr_ant_process_id idstamp antprocess antprocess toosstr setprocessattribut idstamp commandlin commontab islaunchinbackground antrunn finalrunn finalrunn coreexcept handleexcept antlaunchconfigurationmessag getstr antlaunchdeleg refreshtab getrefreshscop backgroundresourcerefresh backgroundresourcerefresh startbackgroundrefresh coreexcept handleexcept antlaunchconfigurationmessag getstr antlaunchdeleg refreshtab refreshresourc privat ant runner configur ant runner launch configur configur path locat string base dir string buffer id properti string argument map user properti string properti file string target url custom classpath string ant home throw core except int arg length 1 user properti timestamp argument null arg length argument length base dir null base dir length 0 arg length string runner arg string arg length argument null system arraycopi argument 0 runner arg 0 argument length base dir null base dir length 0 runner arg runner arg length 2 base dir prefix base dir runner arg runner arg length 1 id properti string ant runner runner ant runner runner set build file locat locat too string extern tool util captur output configur runner add build logger ant logger class runner add build logger null logger class runner set input handler input handler class runner set argument runner arg user properti null runner add user properti user properti properti file null runner set properti file properti file target null runner set execut target target custom classpath null runner set custom classpath custom classpath ant home null runner set ant home ant home return runner antrunn configureantrunn ilaunchconfigur ipath basedir stringbuff idproperti userproperti propertyfil customclasspath anthom coreexcept arglength arglength basedir basedir arglength runnerarg arglength runnerarg basedir basedir runnerarg runnerarg base_dir_prefix basedir runnerarg runnerarg idproperti tostr antrunn antrunn setbuildfileloc toosstr externaltoolsutil getcaptureoutput addbuildlogg ant_logger_class addbuildlogg null_logger_class setinputhandl input_handler_class setargu runnerarg userproperti adduserproperti userproperti propertyfil setpropertyfil propertyfil setexecutiontarget customclasspath setcustomclasspath customclasspath anthom setanthom anthom store boolean antui prefer constant ant error dialog antui plugin standard displai async exec runnabl public void run messag dialog toggl open error null titl messag ant launch configur messag string ant launch deleg 22 fals antui plugin default prefer store antui prefer constant ant error dialog non nl 1 getboolean iantuipreferenceconst ant_error_dialog antuiplugin getstandarddisplai asyncexec messagedialogwithtoggl openerror getmessag antlaunchconfigurationmessag getstr antlaunchdeleg antuiplugin getdefault getpreferencestor iantuipreferenceconst ant_error_dialog privat void handl except final core except final string titl prefer store store antui plugin default prefer store store boolean antui prefer constant ant error dialog antui plugin standard displai async exec runnabl public void run messag dialog toggl open error null titl messag ant launch configur messag string ant launch deleg 22 fals antui plugin default prefer store antui prefer constant ant error dialog non nl 1 handleexcept coreexcept ipreferencestor antuiplugin getdefault getpreferencestor getboolean iantuipreferenceconst ant_error_dialog antuiplugin getstandarddisplai asyncexec messagedialogwithtoggl openerror getmessag antlaunchconfigurationmessag getstr antlaunchdeleg antuiplugin getdefault getpreferencestor iantuipreferenceconst ant_error_dialog privat void set process attribut process process string id stamp string buffer command line link process build logger timestamp process set attribut ant process attr ant process id id stamp creat fake command line process command line null process set attribut process attr cmdline command line string task link manag regist ant build process setprocessattribut iprocess idstamp stringbuff commandlin setattribut antprocess attr_ant_process_id idstamp commandlin setattribut iprocess attr_cmdline commandlin tostr tasklinkmanag registerantbuild privat string buffer gener command line path locat string argument map user properti string properti file string target string ant home string basedir boolean separatevm boolean captur output string buffer command line string buffer separatevm command line append ant non nl 1 argument null int 0 argument length string arg argument command line append command line append arg ant core prefer pref ant core plugin plugin prefer properti file null global string file pref custom properti file int 0 file length string path file command line append propertyfil non nl 1 command line append path command line append local configur int 0 properti file length string path properti file command line append propertyfil non nl 1 command line append path command line append local configur user properti null iter kei user properti kei set iter string kei kei kei string kei append properti command line kei string user properti kei global list properti null separatevm properti pref properti properti pref remot ant properti string kei user properti mean user chosen overrid global properti separ vm user properti eclips gener properti user global properti boolean global properti user properti null separatevm user properti size 2 global properti iter iter properti iter iter properti properti properti iter kei properti string properti valu null append properti command line kei basedir null basedir length 0 append properti command line basedir basedir non nl 1 ant home null command line append dant home non nl 1 command line append ant home command line append separatevm command line index logger 1 captur output non nl 1 command line append logger non nl 1 command line append remot ant logger class command line append inputhandl non nl 1 command line append input handler class command line append logger non nl 1 captur output command line append ant logger class command line append null logger class separatevm append task type pref command line command line append buildfil non nl 1 command line append locat too string command line append target null int 0 target length command line append non nl 1 command line append target command line append return command line stringbuff generatecommandlin ipath userproperti propertyfil anthom captureoutput stringbuff commandlin stringbuff commandlin commandlin commandlin antcoreprefer antcoreplugin getplugin getprefer propertyfil getcustompropertyfil commandlin commandlin commandlin propertyfil propertyfil commandlin commandlin commandlin userproperti userproperti keyset hasnext appendproperti commandlin userproperti getproperti getremoteantproperti useglobalproperti userproperti userproperti useglobalproperti hasnext getnam getvalu appendproperti commandlin appendproperti commandlin anthom commandlin commandlin anthom commandlin commandlin indexof captureoutput commandlin commandlin remot_ant_logger_class commandlin commandlin input_handler_class commandlin captureoutput commandlin ant_logger_class commandlin null_logger_class appendtaskandtyp commandlin commandlin commandlin toosstr commandlin commandlin commandlin commandlin commandlin privat void append task type ant core prefer pref string buffer command line list task pref remot task iter itr task iter itr task task task itr command line append eclips task non nl 1 command line append task task command line append command line append task class list type pref remot type itr type iter itr type type type itr command line append eclips type non nl 1 command line append type type command line append command line append type class appendtaskandtyp antcoreprefer stringbuff commandlin getremotetask hasnext commandlin eclipsetask commandlin gettasknam commandlin commandlin getclassnam getremotetyp hasnext commandlin eclipsetyp commandlin gettypenam commandlin commandlin getclassnam privat void append properti string buffer command line string string command line append non nl 1 command line append command line append command line append command line append non nl 1 appendproperti stringbuff commandlin commandlin commandlin commandlin commandlin commandlin org eclips debug core model sourc locat sourc element org eclips debug core model stack frame public object sourc element stack frame stack frame return null isourceloc getsourceel istackfram getsourceel istackfram stackfram debug event set listen listen debug event set listen public void handl debug event debug event event int 0 event length debug event event event int 0 num process process length num process event sourc process event kind debug event termin termin 0 true break idebugeventsetlisten idebugeventsetlisten handledebugev debugev debugev numprocess numprocess getsourc getkind debugev privat void run separatevm launch configur configur launch launch progress monitor monitor string id stamp int port string buffer command line boolean captur output throw core except captur output remot ant build listen client remot ant build listen launch port 1 client start listen port launch configur work copi copi configur work copi copi set attribut java launch configur constant attr program argument command line string string buffer vm arg generatevm argument copi copi set attribut java launch configur constant attr vm argument vm arg string launch set sourc locat sourc locat non javadoc org eclips debug core model sourc locat sourc element org eclips debug core model stack frame public object sourc element stack frame stack frame return null copi set attribut java launch configur constant attr vm argument xdebug xnoagent djava compil xrunjdwp transport dt socket server suspend address 8000 non nl 1 progress monitor monitor progress monitor monitor 10 ant java launch deleg deleg ant java launch deleg deleg pre launch check copi launch manag run mode monitor deleg launch copi launch manag run mode launch monitor final process process launch process int 0 process length set process attribut process id stamp null common tab launch background configur refresh resourc process finish refresh tab refresh scope configur null background resourc refresh refresh background resourc refresh configur process 0 refresh start background refresh final boolean termin boolean 1 termin 0 launch termin debug event set listen listen debug event set listen public void handl debug event debug event event int 0 event length debug event event event int 0 num process process length num process event sourc process event kind debug event termin termin 0 true break debug plugin default add debug event listen listen monitor task ant launch configur messag string ant launch deleg 28 non nl 1 monitor cancel termin 0 try thread sleep 50 catch interrupt except debug plugin default remov debug event listen listen monitor cancel refresh resourc refresh tab refresh resourc configur monitor runinseparatevm ilaunchconfigur ilaunch iprogressmonitor idstamp stringbuff commandlin captureoutput coreexcept captureoutput remoteantbuildlisten remoteantbuildlisten startlisten ilaunchconfigurationworkingcopi getworkingcopi setattribut ijavalaunchconfigurationconst attr_program_argument commandlin tostr stringbuff vmarg generatevmargu setattribut ijavalaunchconfigurationconst attr_vm_argument vmarg tostr setsourceloc isourceloc isourceloc getsourceel istackfram getsourceel istackfram stackfram setattribut ijavalaunchconfigurationconst attr_vm_argument dt_socket iprogressmonitor submonitor subprogressmonitor antjavalaunchdeleg antjavalaunchdeleg prelaunchcheck ilaunchmanag run_mode submonitor ilaunchmanag run_mode submonitor iprocess getprocess setprocessattribut idstamp commontab islaunchinbackground refreshtab getrefreshscop backgroundresourcerefresh backgroundresourcerefresh startbackgroundrefresh istermin idebugeventsetlisten idebugeventsetlisten handledebugev debugev debugev numprocess numprocess getsourc getkind debugev debugplugin getdefault adddebugeventlisten subtask antlaunchconfigurationmessag getstr antlaunchdeleg iscancel interruptedexcept debugplugin getdefault removedebugeventlisten iscancel refreshtab refreshresourc privat string buffer generatevm argument launch configur config string buffer vm arg string buffer try string config arg config attribut java launch configur constant attr vm argument string null config arg null vm arg append config arg vm arg append catch core except vm arg append dant home non nl 1 vm arg append ant core plugin plugin prefer ant home vm arg append non nl 1 file ant lib dir file ant core plugin plugin prefer ant home lib non nl 1 vm arg append dant librari dir non nl 1 vm arg append ant lib dir absolut path vm arg append return vm arg stringbuff generatevmargu ilaunchconfigur stringbuff vmarg stringbuff configarg getattribut ijavalaunchconfigurationconst attr_vm_argument configarg vmarg configarg vmarg coreexcept vmarg vmarg antcoreplugin getplugin getprefer getanthom vmarg antlibdir antcoreplugin getplugin getprefer getanthom vmarg vmarg antlibdir getabsolutepath vmarg vmarg protect project build order launch configur configur string mode throw core except string scope null try scope configur attribut ant build tab attr build scope string null catch core except return null scope null return null project project ant build tab build project scope boolean ref ant build tab includ referenc project configur ref return comput referenc build order project return comput build order project iproject getbuildord ilaunchconfigur coreexcept getattribut antbuildtab attr_build_scope coreexcept iproject antbuildtab getbuildproject isref antbuildtab isincludereferencedproject isref computereferencedbuildord computebuildord constructor ant launch shortcut public ant launch shortcut super antlaunchshortcut antlaunchshortcut org eclips debug ui launch shortcut launch org eclips jface viewer select java lang string public void launch select select string mode select instanceof structur select structur select structur select structur select select object object structur select element object instanceof adapt resourc resourc resourc adapt object adapt resourc class resourc null launch resourc mode return object instanceof ant element node launch ant element node object return ant file found ilaunchshortcut iselect iselect istructuredselect istructuredselect structuredselect istructuredselect structuredselect getfirstel iadapt iresourc iresourc iadapt getadapt iresourc antelementnod antelementnod antfilenotfound launch ant node correspond ant target ant project node param node ant node launch public void launch ant element node node string select target null node instanceof ant target node ant target node target node ant target node node target node default target select target non nl 1 select target target node target node instanceof ant project node select target non nl 1 select target null return file file node build file resourc file null launch file launch manag run mode select target return extern buildfil path file path extern build file path file path null launch file path launch manag run mode select target return ant file found antelementnod selectedtarget anttargetnod anttargetnod targetnod anttargetnod targetnod isdefaulttarget selectedtarget selectedtarget targetnod gettarget getnam antprojectnod selectedtarget selectedtarget ifil getbuildfileresourc ilaunchmanag run_mode selectedtarget ipath filepath getexternalbuildfilepath filepath filepath ilaunchmanag run_mode selectedtarget antfilenotfound privat path extern build file path workbench page page antui plugin activ workbench window activ page editor input editor input page activ editor editor input path file path null editor input instanceof locat provid file path locat provid editor input path editor input return file path ipath getexternalbuildfilepath iworkbenchpag antuiplugin getactiveworkbenchwindow getactivepag ieditorinput editorinput getactiveeditor geteditorinput ipath filepath editorinput ilocationprovid filepath ilocationprovid editorinput getpath editorinput filepath inform user ant file found run privat void ant file found report error ant launch configur messag string ant launch shortcut unabl null non nl 1 antfilenotfound reporterror antlaunchconfigurationmessag getstr antlaunchshortcut launch file mode param resourc build file xml file execut resourc locat build file search resourc file end xml search begin resourc enclos folder resourc type file contain param mode mode build file execut protect void launch resourc resourc string mode xml equal ignor case resourc file extens non nl 1 resourc type resourc file resourc resourc parent resourc find build file contain resourc resourc null launch file resourc mode null ant file found ifil icontain iresourc equalsignorecas getfileextens gettyp iresourc getpar findbuildfil icontain ifil antfilenotfound launch target build file target launch mode param file build file launch param mode mode build file execut param target attribut target launch form launch configur target attribut public void launch file file string mode string target attribut launch configur configur null verifi mode mode list configur find exist launch configur file configur empti configur creat default launch configur file configur size 1 configur launch configur configur 0 configur choos config configur configur null user cancel select return configur null ant file found ensur target select launch configur try target attribut null target attribut equal configur attribut ant launch configur constant attr ant target non nl 1 string project null try project configur attribut java launch configur constant attr project string null catch core except string new launch configur file full path project target attribut configur configur copi launch configur work copi configur set attribut ant launch configur constant attr ant target target attribut show dialog configur launch configur work copi configur save catch core except except report error messag format format ant launch configur messag string ant launch shortcut except launch string file except non nl 1 return show dialog offer save dirti editor open dialog content ant editor affect content dialog debugui tool save launch return statu statu statu statu info antui constant plugin id antui constant statu init run ant null non nl 1 debugui tool open launch configur dialog antui plugin activ workbench window shell configur extern tool constant id extern tool launch group statu debugui tool launch configur mode targetattribut ifil targetattribut ilaunchconfigur verifymod findexistinglaunchconfigur isempti createdefaultlaunchconfigur ilaunchconfigur chooseconfig antfilenotfound targetattribut targetattribut getattribut iantlaunchconfigurationconst attr_ant_target projectnam projectnam getattribut ijavalaunchconfigurationconst attr_project_name coreexcept newnam getnewlaunchconfigurationnam getfullpath projectnam targetattribut newnam ilaunchconfigurationworkingcopi setattribut iantlaunchconfigurationconst attr_ant_target targetattribut fshowdialog ilaunchconfigurationworkingcopi dosav coreexcept reporterror messageformat antlaunchconfigurationmessag getstr antlaunchshortcut except_launch getnam fshowdialog debuguitool savebeforelaunch istatu istatu iantuiconst plugin_id iantuiconst statu_init_run_ant debuguitool openlaunchconfigurationdialog antuiplugin getactiveworkbenchwindow getshel iexternaltoolconst id_extern_tool_launch_group debuguitool return uniqu copi launch configur target seed the launch configur target list append end param config param target attribut return public static string launch configur path file path string project string target attribut string buffer buffer string buffer project null buffer append project buffer append buffer append file path segment buffer append file path too string target attribut null buffer append non nl 1 target attribut length max target append length 3 target attribut potenti comma separ list target sure gener isn extrem buffer append target attribut substr 0 max target append length buffer append non nl 1 buffer append target attribut buffer append string debug plugin default launch manag gener uniqu launch configur buffer string return string targetlist targetattribut getnewlaunchconfigurationnam ipath filepath projectnam targetattribut stringbuff stringbuff projectnam projectnam filepath lastseg filepath toosstr targetattribut targetattribut max_target_append_length targetattribut max_target_append_length targetattribut debugplugin getdefault getlaunchmanag generateuniquelaunchconfigurationnamefrom tostr tostr launch target build file target launch mode param file path path build file launch param mode mode build file execut param target attribut target launch form launch configur target attribut public void launch path file path string mode string target attribut launch configur configur null verifi mode mode list configur find exist launch configur file path configur empti configur creat default launch configur file path null configur size 1 configur launch configur configur 0 configur choos config configur configur null user cancel select return configur null ant file found ensur target select launch configur try target attribut null target attribut equal configur attribut ant launch configur constant attr ant target non nl 1 string project null try project configur attribut java launch configur constant attr project string null catch core except string new launch configur file path project target attribut configur configur copi launch configur work copi configur set attribut ant launch configur constant attr ant target target attribut show dialog configur launch configur work copi configur save catch core except except report error messag format format ant launch configur messag string ant launch shortcut except launch string file path file except non nl 1 return show dialog offer save dirti editor open dialog content ant editor affect content dialog debugui tool save launch return statu statu statu statu info antui constant plugin id antui constant statu init run ant null non nl 1 debugui tool open launch configur dialog antui plugin activ workbench window shell configur extern tool constant id extern tool launch group statu debugui tool launch configur mode filepath targetattribut ipath filepath targetattribut ilaunchconfigur verifymod findexistinglaunchconfigur filepath isempti createdefaultlaunchconfigur filepath ilaunchconfigur chooseconfig antfilenotfound targetattribut targetattribut getattribut iantlaunchconfigurationconst attr_ant_target projectnam projectnam getattribut ijavalaunchconfigurationconst attr_project_name coreexcept newnam getnewlaunchconfigurationnam filepath projectnam targetattribut newnam ilaunchconfigurationworkingcopi setattribut iantlaunchconfigurationconst attr_ant_target targetattribut fshowdialog ilaunchconfigurationworkingcopi dosav coreexcept reporterror messageformat antlaunchconfigurationmessag getstr antlaunchshortcut except_launch filepath tofil getnam fshowdialog debuguitool savebeforelaunch istatu istatu iantuiconst plugin_id iantuiconst statu_init_run_ant debuguitool openlaunchconfigurationdialog antuiplugin getactiveworkbenchwindow getshel iexternaltoolconst id_extern_tool_launch_group debuguitool walk file hierarchi look build file return build file found match search criteria privat file find build file contain parent string name build file name name null return null resourc file null file null file type resourc file int 0 name length string string name file parent find member string file null file type resourc file break parent parent parent parent null return null return file file ifil findbuildfil icontain getbuildfilenam iresourc gettyp iresourc findmemb gettyp iresourc getpar ifil privat string build file name prefer store pref antui plugin default prefer store string build file name pref string antui prefer constant ant find build file name build file name length 0 user name look return null return ant util pars string build file name non nl 1 getbuildfilenam ipreferencestor antuiplugin getdefault getpreferencestor buildfilenam getstr iantuipreferenceconst ant_find_build_file_name buildfilenam antutil parsestr buildfilenam creat return default launch configur file param file return default launch configur public static launch configur creat default launch configur file file return creat default launch configur file full path file project ilaunchconfigur createdefaultlaunchconfigur ifil createdefaultlaunchconfigur getfullpath getproject creat return default launch configur file path project param file path path buildfil param project project buildfil code null code buildfil contain project extern return default launch configur code null code creat public static launch configur creat default launch configur path file path project project launch manag manag debug plugin default launch manag launch configur type type manag launch configur type ant launch configur constant id ant launch configur type string project project null project null string launch configur file path project null try launch configur work copi work copi type instanc null project null work copi set attribut extern tool constant attr locat variabl plugin default string variabl manag gener variabl express workspac loc file path string non nl 1 work copi set attribut extern tool constant attr locat file path string work copi set attribut java launch configur constant attr classpath provid org eclips ant ui ant classpath provid non nl 1 set default common set common tab tab common tab tab set default work copi tab dispos set project correct default vm instal determin project null work copi set attribut java launch configur constant attr project project antjr tab jre tab antjr tab jre tab set default work copi jre tab dispos return work copi save catch core except report error messag format format ant launch configur messag string ant launch shortcut 2 string file path string non nl 1 return null filepath ilaunchconfigur createdefaultlaunchconfigur ipath filepath iproject ilaunchmanag debugplugin getdefault getlaunchmanag ilaunchconfigurationtyp getlaunchconfigurationtyp iantlaunchconfigurationconst id_ant_launch_configur_type projectnam getnam getnewlaunchconfigurationnam filepath projectnam ilaunchconfigurationworkingcopi workingcopi newinst workingcopi setattribut iexternaltoolconst attr_locat variablesplugin getdefault getstringvariablemanag generatevariableexpress workspac_loc filepath tostr workingcopi setattribut iexternaltoolconst attr_locat filepath tostr workingcopi setattribut ijavalaunchconfigurationconst attr_classpath_provid antclasspathprovid commontab commontab setdefault workingcopi workingcopi setattribut ijavalaunchconfigurationconst attr_project_name getnam antjretab jretab antjretab jretab setdefault workingcopi jretab workingcopi dosav coreexcept reporterror messageformat antlaunchconfigurationmessag getstr antlaunchshortcut filepath tostr return list exist launch configur file param file buildfil resourc return list launch configur public static list find exist launch configur file file path file path file locat return find exist launch configur file path findexistinglaunchconfigur ifil ipath filepath getloc findexistinglaunchconfigur filepath return list exist launch configur file param file path fulli qualifi path buildfil return list launch configur public static list find exist launch configur path file path launch manag manag debug plugin default launch manag launch configur type type manag launch configur type ant launch configur constant id ant launch configur type list valid config arrai list type null launch configur config null try config manag launch configur type catch core except report error ant launch configur messag string ant launch shortcut 3 non nl 1 config null config length 0 file path null report error ant launch configur messag string ant launch shortcut 0 null non nl 1 int 0 config length i launch configur configur config i path locat try locat extern tool util locat configur file path equal locat valid config add configur catch core except error occur variabl expand ignor return valid config filepath findexistinglaunchconfigur ipath filepath ilaunchmanag debugplugin getdefault getlaunchmanag ilaunchconfigurationtyp getlaunchconfigurationtyp iantlaunchconfigurationconst id_ant_launch_configur_type validconfig arraylist ilaunchconfigur getlaunchconfigur coreexcept reporterror antlaunchconfigurationmessag getstr antlaunchshortcut filepath reporterror antlaunchconfigurationmessag getstr antlaunchshortcut ilaunchconfigur ipath externaltoolsutil getloc filepath validconfig coreexcept validconfig prompt user choos list launch configur return config user choos code null code user press cancel list empti public static launch configur choos config list config config empti return null label provid label provid debugui tool debug model present element list select dialog dialog element list select dialog displai default activ shell label provid dialog set element config arrai launch configur config size dialog set titl ant launch configur messag string ant launch shortcut 4 non nl 1 dialog set messag ant launch configur messag string ant launch shortcut 5 non nl 1 dialog set multipl select fals int result dialog open label provid dispos result window ok return launch configur dialog result return null ilaunchconfigur chooseconfig isempti ilabelprovid labelprovid debuguitool newdebugmodelpresent elementlistselectiondialog elementlistselectiondialog getdefault getactiveshel labelprovid setel toarrai ilaunchconfigur settitl antlaunchconfigurationmessag getstr antlaunchshortcut setmessag antlaunchconfigurationmessag getstr antlaunchshortcut setmultipleselect labelprovid ilaunchconfigur getfirstresult verifi mode support param mode return boolean protect boolean verifi mode string mode mode equal launch manag run mode report error ant launch configur messag string ant launch shortcut 6 null non nl 1 return fals return true verifymod ilaunchmanag run_mode reporterror antlaunchconfigurationmessag getstr antlaunchshortcut org eclips debug ui launch shortcut launch org eclips ui editor part java lang string public void launch editor part editor string mode editor input input editor editor input file file file input adapt file class file null launch file mode return input instanceof locat provid path file path locat provid input path input xml equal file path file extens non nl 1 launch file path mode null return ant file found ilaunchshortcut ieditorpart ieditorpart ieditorinput geteditorinput ifil ifil getadapt ifil ilocationprovid ipath filepath ilocationprovid getpath filepath getfileextens filepath antfilenotfound protect static void report error string messag throwabl throwabl statu statu null throwabl instanceof core except statu core except throwabl statu statu statu statu error antui constant plugin id 0 messag throwabl error dialog open error antui plugin activ workbench window shell ant launch configur messag string ant launch shortcut error 7 ant launch configur messag string ant launch shortcut build fail 2 statu non nl 1 non nl 2 reporterror istatu coreexcept coreexcept getstatu istatu iantuiconst plugin_id errordialog openerror antuiplugin getactiveworkbenchwindow getshel antlaunchconfigurationmessag getstr antlaunchshortcut error_7 antlaunchconfigurationmessag getstr antlaunchshortcut build_fail_2 set show extern tool launch configur dialog param show dialog true launch configur dialog shown public void set show dialog boolean show dialog show dialog show dialog showdialog setshowdialog showdialog fshowdialog showdialog creat ant launch shortcut open launch configur dialog public ant launch shortcut dialog super set show dialog true antlaunchshortcutwithdialog setshowdialog public void initi launch configur configur super initi configur try current locat configur attribut extern tool constant attr locat string null catch core except updat captur output configur initializefrom ilaunchconfigur initializefrom currentloc getattribut iexternaltoolconst attr_locat coreexcept updatecaptureoutput public void perform appli launch configur work copi configur super perform appli configur try locat chang string locat configur attribut extern tool constant attr locat string null locat null locat equal current locat updat target tab current locat locat current locat null updat target tab current locat locat catch core except set attribut extern tool constant attr captur output configur captur output button select true performappli ilaunchconfigurationworkingcopi performappli newloc getattribut iexternaltoolconst attr_locat newloc newloc currentloc updatetargetstab currentloc newloc currentloc updatetargetstab currentloc newloc coreexcept setattribut iexternaltoolconst attr_captur_output captureoutputbutton getselect public void creat control composit parent composit main composit composit parent swt set control main composit workbench help set help main composit antui help context id ant main tab grid layout layout grid layout layout num column 1 grid data grid data grid data grid data fill horizont main composit set layout layout main composit set layout data grid data main composit set font parent font creat locat compon main composit creat directori compon main composit creat argument compon main composit creat vertic spacer main composit 2 creat captur output compon main composit dialog appli dialog font parent createcontrol maincomposit setcontrol maincomposit workbenchhelp sethelp maincomposit iantuihelpcontextid ant_main_tab gridlayout gridlayout numcolumn griddata griddata griddata griddata fill_horizont maincomposit setlayout maincomposit setlayoutdata griddata maincomposit setfont getfont createlocationcompon maincomposit createworkdirectorycompon maincomposit createargumentcompon maincomposit createverticalspac maincomposit createcaptureoutputcompon maincomposit applydialogfont captur output button set layout data data captur output button add select listen select adapt public void widget select select event updat launch configur dialog captureoutputbutton setlayoutdata captureoutputbutton addselectionlisten selectionadapt widgetselect selectionev updatelaunchconfigurationdialog creat control need edit captur output attribut extern tool param parent composit creat control protect void creat captur output compon composit parent captur output button creat check button parent ant launch configur messag string ant main tab captur output 1 non nl 1 grid data data grid data grid data horizont align fill data horizont span 2 captur output button set layout data data captur output button add select listen select adapt public void widget select select event updat launch configur dialog createcaptureoutputcompon captureoutputbutton createcheckbutton antlaunchconfigurationmessag getstr antmaintab captur_ output_1 griddata griddata griddata horizont_align_fill horizontalspan captureoutputbutton setlayoutdata captureoutputbutton addselectionlisten selectionadapt widgetselect selectionev updatelaunchconfigurationdialog protect void updat captur output launch configur configur boolean captur output true try captur output configur attribut extern tool constant attr captur output true catch core except ce antui plugin log extern tool launch configur messag string extern tool main tab error read configur 7 ce non nl 1 captur output button set select captur output updatecaptureoutput ilaunchconfigur captureoutput captureoutput getattribut iexternaltoolconst attr_captur_output coreexcept antuiplugin externaltoolslaunchconfigurationmessag getstr externaltoolsmaintab error_read_configur_7 captureoutputbutton setselect captureoutput protect void handl workspac locat button select file select dialog dialog dialog file select dialog shell resourc plugin workspac root ant launch configur messag string ant main tab select build file 1 non nl 1 dialog set file filter xml true non nl 1 dialog open structur select result dialog result result null return object file result element file instanceof file locat field set text variabl plugin default string variabl manag gener variabl express workspac loc file file full path string non nl 1 handleworkspacelocationbuttonselect fileselectiondialog fileselectiondialog getshel resourcesplugin getworkspac getroot antlaunchconfigurationmessag getstr antmaintab select_a_build_file__1 setfilefilt istructuredselect getresult getfirstel ifil locationfield settext variablesplugin getdefault getstringvariablemanag generatevariableexpress workspac_loc ifil getfullpath tostr org eclips ui externaltool intern launch configur extern tool main tab work directori label protect string work directori label return ant launch configur messag string ant main tab base directori 3 non nl 1 launchconfigur externaltoolsmaintab getworkingdirectorylabel getworkingdirectorylabel antlaunchconfigurationmessag getstr antmaintab base_ directori__3 privat void updat target tab locat chang set target tab need recomput launch configur tab tab launch configur dialog tab int 0 tab length i launch configur tab tab tab tab instanceof ant target tab ant target tab tab set dirti true break updatetargetstab ilaunchconfigurationtab getlaunchconfigurationdialog gettab ilaunchconfigurationtab anttargetstab anttargetstab setdirti org eclips ui externaltool intern launch configur extern tool main tab locat label protect string locat label return ant launch configur messag string ant main tab 6 non nl 1 launchconfigur externaltoolsmaintab getlocationlabel getlocationlabel antlaunchconfigurationmessag getstr antmaintab public ant process string label launch launch map attribut label label launch launch attribut null attribut hash map attribut attribut launch add process antprocess ilaunch flabel flaunch fattribut hashmap fattribut addprocess org eclips debug core model process label public string label return label iprocess getlabel getlabel flabel org eclips debug core model process launch public launch launch return launch iprocess getlaunch ilaunch getlaunch flaunch org eclips debug core model process stream proxi public stream proxi stream proxi return proxi iprocess getstreamsproxi istreamsproxi getstreamsproxi fproxi org eclips debug core model process set attribut java lang string java lang string public void set attribut string kei string attribut put kei iprocess setattribut setattribut fattribut org eclips debug core model process attribut java lang string public string attribut string kei return string attribut kei iprocess getattribut getattribut fattribut org eclips debug core model process exit public int exit return 0 iprocess getexitvalu getexitvalu org eclips core runtim adapt adapt java lang class public object adapt class adapt return null iadapt getadapt getadapt org eclips debug core model termin termin public boolean termin return cancel termin itermin cantermin cantermin iscancel istermin org eclips debug core model termin termin public boolean termin return termin itermin istermin istermin ftermin protect void termin termin termin true debug plugin default null debug plugin default fire debug event set debug event debug event debug event termin ftermin ftermin debugplugin getdefault debugplugin getdefault firedebugeventset debugev debugev debugev org eclips debug core model termin termin public void termin set cancel true itermin setcancel return consol process code null code return consol code null code public consol consol return consol iconsol getconsol fconsol set consol process param consol public void set consol consol consol consol consol setconsol iconsol fconsol org eclips core runtim progress monitor begin task java lang string int public void begin task string int total iprogressmonitor begintask begintask totalwork org eclips core runtim progress monitor public void iprogressmonitor org eclips core runtim progress monitor intern work doubl public void intern work doubl iprogressmonitor internalwork internalwork org eclips core runtim progress monitor cancel public boolean cancel return cancel iprogressmonitor iscancel iscancel fcancel org eclips core runtim progress monitor set cancel boolean public void set cancel boolean cancel iprogressmonitor setcancel setcancel fcancel org eclips core runtim progress monitor set task java lang string public void set task string iprogressmonitor settasknam settasknam org eclips core runtim progress monitor task java lang string public void task string iprogressmonitor subtask subtask org eclips core runtim progress monitor work int public void work int iprogressmonitor public void creat control composit parent composit top composit parent swt top set font parent font set control top workbench help set help control antui help context id ant properti tab grid layout layout grid layout layout num column 2 top set layout layout grid data grid data grid data grid data fill horizont top set layout data grid data creat chang properti top ant properti block creat control top ant launch configur messag string ant properti tab properti 6 ant launch configur messag string ant properti tab properti il 7 non nl 1 non nl 2 createcontrol setfont getfont setcontrol workbenchhelp sethelp getcontrol iantuihelpcontextid ant_properti_tab gridlayout gridlayout numcolumn setlayout griddata griddata griddata griddata fill_horizont setlayoutdata griddata createchangeproperti antpropertiesblock createcontrol antlaunchconfigurationmessag getstr antpropertiestab properti__6 antlaunchconfigurationmessag getstr antpropertiestab properti_f il__7 default button creat check button chang properti ant launch configur messag string ant properti tab 6 non nl 1 default button add select listen select adapt public void widget select select event toggl default properti updat launch configur dialog usedefaultbutton createcheckbutton changeproperti antlaunchconfigurationmessag getstr antpropertiestab usedefaultbutton addselectionlisten selectionadapt widgetselect selectionev toggleusedefaultproperti updatelaunchconfigurationdialog privat void creat chang properti composit top font font top font composit chang properti composit top swt chang properti set layout data grid data grid data horizont align fill grid data grab horizont grid layout layout grid layout layout margin height 0 layout margin width 0 chang properti set layout layout chang properti set font font default button creat check button chang properti ant launch configur messag string ant properti tab 6 non nl 1 default button add select listen select adapt public void widget select select event toggl default properti updat launch configur dialog createchangeproperti getfont changeproperti changeproperti setlayoutdata griddata griddata horizont_align_fill griddata grab_horizont gridlayout gridlayout marginheight marginwidth changeproperti setlayout changeproperti setfont usedefaultbutton createcheckbutton changeproperti antlaunchconfigurationmessag getstr antpropertiestab usedefaultbutton addselectionlisten selectionadapt widgetselect selectionev toggleusedefaultproperti updatelaunchconfigurationdialog privat void toggl default properti boolean enabl default button select ant properti block set enabl enabl toggleusedefaultproperti usedefaultbutton getselect antpropertiesblock seten org eclips debug ui launch configur tab imag public imag imag return antui imag imag antui constant img properti ilaunchconfigurationtab getimag getimag antuiimag getimag iantuiconst img_properti org eclips debug ui launch configur tab public string return ant launch configur messag string ant properti tab roperti 8 non nl 1 ilaunchconfigurationtab getnam getnam antlaunchconfigurationmessag getstr antpropertiestab roperti_8 org eclips debug ui launch configur tab initi org eclips debug core launch configur public void initi launch configur configur set error messag null set messag null map properti null try properti configur attribut ant launch configur constant attr ant properti map null catch core except ce antui plugin log ant launch configur messag string ant properti tab error read configur 9 ce non nl 1 string properti file null try properti file configur attribut ant launch configur constant attr ant properti file string null catch core except ce antui plugin log ant launch configur messag string ant properti tab error read configur 9 ce non nl 1 properti null properti file null ant properti block set tabl enabl fals default button set select true default button set select fals ant properti block popul properti viewer properti string file ant util pars string properti file non nl 1 ant properti block set properti file input file toggl default properti ilaunchconfigurationtab initializefrom ilaunchconfigur initializefrom ilaunchconfigur seterrormessag setmessag getattribut iantlaunchconfigurationconst attr_ant_properti coreexcept antuiplugin antlaunchconfigurationmessag getstr antpropertiestab error_read_configur_9 propertyfil propertyfil getattribut iantlaunchconfigurationconst attr_ant_properti_file coreexcept antuiplugin antlaunchconfigurationmessag getstr antpropertiestab error_read_configur_9 propertyfil antpropertiesblock settablesen usedefaultbutton setselect usedefaultbutton setselect antpropertiesblock populatepropertyview antutil parsestr propertyfil antpropertiesblock setpropertyfilesinput toggleusedefaultproperti org eclips debug ui launch configur tab perform appli org eclips debug core launch configur work copi public void perform appli launch configur work copi configur default button select configur set attribut ant launch configur constant attr ant properti map null configur set attribut ant launch configur constant attr ant properti file string null return object item ant properti block properti map properti null item length 0 properti hash map item length int 0 item length properti properti properti item properti put properti properti fals configur set attribut ant launch configur constant attr ant properti properti item ant properti block properti file string file null item length 0 string buffer buff string buffer int 0 item length string path string item buff append path buff append file buff string configur set attribut ant launch configur constant attr ant properti file file ilaunchconfigurationtab performappli ilaunchconfigurationworkingcopi performappli ilaunchconfigurationworkingcopi usedefaultbutton getselect setattribut iantlaunchconfigurationconst attr_ant_properti setattribut iantlaunchconfigurationconst attr_ant_properti_file antpropertiesblock getproperti hashmap getnam getvalu setattribut iantlaunchconfigurationconst attr_ant_properti antpropertiesblock getpropertyfil stringbuff stringbuff tostr setattribut iantlaunchconfigurationconst attr_ant_properti_file org eclips debug ui launch configur tab set default org eclips debug core launch configur work copi public void set default launch configur work copi configur ilaunchconfigurationtab setdefault ilaunchconfigurationworkingcopi setdefault ilaunchconfigurationworkingcopi org eclips ant intern ui prefer ant block contain creat push button org eclips swt widget composit java lang string public void set messag string messag super set messag messag iantblockcontain createpushbutton setmessag setmessag org eclips ant intern ui prefer ant block contain creat push button org eclips swt widget composit java lang string public void set error messag string messag super set error messag messag iantblockcontain createpushbutton seterrormessag seterrormessag org eclips ant intern ui prefer ant block contain creat push button org eclips swt widget composit java lang string public button creat push button composit parent string button text return super creat push button parent button text null iantblockcontain createpushbutton createpushbutton buttontext createpushbutton buttontext org eclips ant intern ui prefer ant block contain creat push button org eclips swt widget composit java lang string public void updat updat target tab updat launch configur dialog iantblockcontain createpushbutton updatetargetstab updatelaunchconfigurationdialog privat void updat target tab properti chang set target tab need recomput launch configur tab tab launch configur dialog tab int 0 tab length i launch configur tab tab tab tab instanceof ant target tab ant target tab tab set dirti true break updatetargetstab ilaunchconfigurationtab getlaunchconfigurationdialog gettab ilaunchconfigurationtab anttargetstab anttargetstab setdirti org eclips debug ui launch configur tab activ org eclips debug core launch configur work copi public void activ launch configur work copi work copi ilaunchconfigurationtab ilaunchconfigurationworkingcopi ilaunchconfigurationworkingcopi workingcopi org eclips debug ui launch configur tab deactiv org eclips debug core launch configur work copi public void deactiv launch configur work copi work copi ilaunchconfigurationtab ilaunchconfigurationworkingcopi ilaunchconfigurationworkingcopi workingcopi org eclips debug core model stream monitor add listen org eclips debug core stream listen public void add listen stream listen listen listen add listen istreammonitor addlisten istreamlisten addlisten istreamlisten flisten org eclips debug core model stream monitor content public string content return content string istreammonitor getcont getcont fcontent tostr org eclips debug core model stream monitor remov listen org eclips debug core stream listen public void remov listen stream listen listen listen remov listen istreammonitor removelisten istreamlisten removelisten istreamlisten flisten append messag stream notifi listen param messag public void append string messag buffer content append messag object listen listen listen int 0 listen length i stream listen listen stream listen listen listen stream append messag isbuff fcontent flisten getlisten istreamlisten istreamlisten streamappend org eclips debug core model flushabl stream monitor flush content public void flush content content set length 0 iflushablestreammonitor flushcont flushcont fcontent setlength org eclips debug core model flushabl stream monitor buffer public boolean buffer return buffer iflushablestreammonitor isbuff isbuff fbuffer org eclips debug core model flushabl stream monitor set buffer boolean public void set buffer boolean buffer buffer buffer iflushablestreammonitor setbuff setbuff fbuffer org eclips debug core model stream proxi error stream monitor public stream monitor error stream monitor return error monitor istreamsproxi geterrorstreammonitor istreammonitor geterrorstreammonitor ferrormonitor org eclips debug core model stream proxi output stream monitor public stream monitor output stream monitor return output monitor istreamsproxi getoutputstreammonitor istreammonitor getoutputstreammonitor foutputmonitor org eclips debug core model stream proxi write java lang string public void write string input istreamsproxi public stream monitor warn stream monitor return warn monitor istreammonitor getwarningstreammonitor fwarningmonitor public stream monitor debug stream monitor return debug monitor istreammonitor getdebugstreammonitor fdebugmonitor public stream monitor verbos stream monitor return verbos monitor istreammonitor getverbosestreammonitor fverbosemonitor org eclips debug ui launch configur tab group creat tab org eclips debug ui launch configur dialog java lang string public void creat tab launch configur dialog dialog string mode launch configur tab tab launch configur tab ant main tab refresh tab ant build tab ant target tab ant classpath tab ant properti tab antjr tab ant environ tab common tab set tab tab ilaunchconfigurationtabgroup createtab ilaunchconfigurationdialog createtab ilaunchconfigurationdialog ilaunchconfigurationtab ilaunchconfigurationtab antmaintab refreshtab antbuildtab anttargetstab antclasspathtab antpropertiestab antjretab antenvironmenttab commontab settab org eclips debug ui launch configur tab group set default org eclips debug core launch configur work copi public void set default launch configur work copi configur set default script resourc resourc debugui tool select resourc resourc null resourc instanceof file file file file resourc string extens file file extens extens null extens equal ignor case xml non nl 1 string project file project string buffer buffer string buffer project buffer append buffer append file string buffer string trim debug plugin default launch manag gener uniqu launch configur name configur renam set project correct default vm instal determin configur set attribut java launch configur constant attr project project configur set attribut extern tool constant attr locat variabl plugin default string variabl manag gener variabl express workspac loc file full path string non nl 1 configur set attribut java launch configur constant attr classpath provid org eclips ant ui ant classpath provid non nl 1 super set default configur ilaunchconfigurationtabgroup setdefault ilaunchconfigurationworkingcopi setdefault ilaunchconfigurationworkingcopi iresourc debuguitool getselectedresourc ifil ifil ifil getfileextens equalsignorecas projectnam getproject getnam stringbuff stringbuff projectnam getnam tostr debugplugin getdefault getlaunchmanag generateuniquelaunchconfigurationnamefrom setattribut ijavalaunchconfigurationconst attr_project_name projectnam setattribut iexternaltoolconst attr_locat variablesplugin getdefault getstringvariablemanag generatevariableexpress workspac_loc getfullpath tostr setattribut ijavalaunchconfigurationconst attr_classpath_provid antclasspathprovid setdefault privat int num total target 0 public void add object element add viewer add fnumtotaltarget public void add list list element add list viewer add list arrai addal addal toarrai public void dispos public object element object input element num total target element size num filter target 0 num total target 0 return object 0 filter intern target return element arrai object num total target iter iter element iter iter intern target info iter num filter target object target object num target iter element iter int 0 iter target info target target info iter intern target target target return target getel inputel fnumtotaltarget fnumfilteredtarget fnumtotaltarget ffilterinternaltarget toarrai fnumtotaltarget hasnext isintern targetinfo fnumfilteredtarget getnumtarget hasnext targetinfo targetinfo isintern return target intern target intern target target descript default target consid intern param target target examin return target intern target public boolean intern target info target return target default target descript null isintern targetinfo isdefault getdescript public void input chang viewer viewer object input object input viewer tabl viewer viewer element clear input null object input length 0 element add arrai list object input inputchang newview oldinput newinput tableview newview newinput newinput addal aslist newinput remov target list target effect target exist list param target target remov public void remov target object target element remov target viewer remov target removetarget move target list activ target effect target target list index invalid param index index target move public void move target int index object target element index index 0 target null return element set index element index 1 element set index 1 target moveuptarget move target list activ target effect target target list index invalid param index index target move public void move target int index object target element index index element size 1 target null return element set index element index 1 element set index 1 target movedowntarget return number target filter list target return content provid return number target filter request target public int num filter return num filter target getnumfilt fnumfilteredtarget return number target return content provid queri target filter target includ count return number target return target request public int num target return num total target num filter target getnumtarget fnumtotaltarget fnumfilteredtarget set content provid filter intern target intern target target descript set code true code target descript return element call param filter set intern target filter public void set filter intern target boolean filter filter intern target filter getel setfilterinternaltarget ffilterinternaltarget privat class ant target sorter extend viewer sorter org eclips jface viewer viewer sorter compar org eclips jface viewer viewer java lang object java lang object public int compar viewer viewer object e1 object e2 e1 instanceof target info e2 instanceof target info return super compar viewer e1 e2 sort direct sort return 0 string string1 string2 int result 0 sort direct sort sort direct sort revers string1 target info e1 string2 target info e2 string1 target info e1 descript string2 target info e2 descript string1 null string2 null result collat compar string1 string2 string1 null result 1 string2 null result 1 sort direct 0 revers sort result 0 result 1 result result return result anttargetssort viewersort viewersort targetinfo targetinfo fsortdirect sort_none fsortdirect sort_name fsortdirect sort_name_revers targetinfo getnam targetinfo getnam targetinfo getdescript targetinfo getdescript getcol fsortdirect public void creat control composit parent font font parent font composit comp composit parent swt set control comp workbench help set help control antui help context id ant target tab grid layout top layout grid layout comp set layout top layout grid data gd grid data grid data fill comp set layout data gd comp set font font creat target tabl comp creat select count comp composit button composit composit comp swt grid layout layout grid layout layout vertic space 0 layout margin height 0 layout margin width 0 button composit set layout layout button composit set font font creat sort target button composit creat filter intern target button composit creat vertic spacer comp 1 creat target order comp dialog appli dialog font parent createcontrol getfont setcontrol workbenchhelp sethelp getcontrol iantuihelpcontextid ant_target_tab gridlayout toplayout gridlayout setlayout toplayout griddata griddata griddata fill_both setlayoutdata setfont createtargetst createselectioncount buttoncomposit gridlayout gridlayout verticalspac marginheight marginwidth buttoncomposit setlayout buttoncomposit setfont createsorttarget buttoncomposit createfilterinternaltarget buttoncomposit createverticalspac createtargetord applydialogfont creat select count widget param parent parent composit privat void creat select count composit parent select count label label parent swt select count label set font parent font select count label set text ant launch configur messag string ant target tab 0 0 select 2 non nl 1 grid data gd grid data grid data fill horizont select count label set layout data gd createselectioncount fselectioncountlabel fselectioncountlabel setfont getfont fselectioncountlabel settext antlaunchconfigurationmessag getstr anttargetstab 0_out_of_0_select_2 griddata griddata griddata fill_horizont fselectioncountlabel setlayoutdata order button set font font order button add select listen select adapt public void widget select select event handl order press forderbutton setfont forderbutton addselectionlisten selectionadapt widgetselect selectionev handleorderpress creat widget displai target order param parent parent composit privat void creat target order composit parent font font parent font label label label parent swt label set text ant launch configur messag string ant target tab target execut order 3 non nl 1 label set font font composit order composit composit parent swt grid data gd grid data grid data fill horizont order composit set layout data gd grid layout layout grid layout 2 fals layout margin height 0 layout margin width 0 order composit set layout layout order composit set font font target order text text order composit swt multi swt wrap swt border swt scroll swt read target order text set font font gd grid data grid data fill horizont gd height hint 40 gd width hint dialog constant entri field width target order text set layout data gd order button creat push button order composit ant launch configur messag string ant target tab order 4 null non nl 1 gd grid data order button layout data gd vertic align grid data begin order button set font font order button add select listen select adapt public void widget select select event handl order press createtargetord getfont settext antlaunchconfigurationmessag getstr anttargetstab target_execut_order__3 setfont ordercomposit griddata griddata griddata fill_horizont ordercomposit setlayoutdata gridlayout gridlayout marginheight marginwidth ordercomposit setlayout ordercomposit setfont ftargetordertext ordercomposit v_scroll read_onli ftargetordertext setfont griddata griddata fill_horizont heighthint widthhint idialogconst entri_field_width ftargetordertext setlayoutdata forderbutton createpushbutton ordercomposit antlaunchconfigurationmessag getstr anttargetstab _4 griddata forderbutton getlayoutdata verticalalign griddata forderbutton setfont forderbutton addselectionlisten selectionadapt widgetselect selectionev handleorderpress filter intern target creat check button parent ant launch configur messag string ant target tab 12 non nl 1 filter intern target add select listen select adapt public void widget select select event handl filter target select ffilterinternaltarget createcheckbutton antlaunchconfigurationmessag getstr anttargetstab ffilterinternaltarget addselectionlisten selectionadapt widgetselect selectionev handlefiltertargetsselect creat toggl filter intern target tabl param parent parent composit privat void creat filter intern target composit parent filter intern target creat check button parent ant launch configur messag string ant target tab 12 non nl 1 filter intern target add select listen select adapt public void widget select select event handl filter target select createfilterinternaltarget ffilterinternaltarget createcheckbutton antlaunchconfigurationmessag getstr anttargetstab ffilterinternaltarget addselectionlisten selectionadapt widgetselect selectionev handlefiltertargetsselect sort button creat check button parent ant launch configur messag string ant target tab 14 non nl 1 sort button add select listen select adapt public void widget select select event handl sort target select fsortbutton createcheckbutton antlaunchconfigurationmessag getstr anttargetstab fsortbutton addselectionlisten selectionadapt widgetselect selectionev handlesorttargetsselect creat toggl sort target tabl param parent parent composit privat void creat sort target composit parent sort button creat check button parent ant launch configur messag string ant target tab 14 non nl 1 sort button add select listen select adapt public void widget select select event handl sort target select createsorttarget fsortbutton createcheckbutton antlaunchconfigurationmessag getstr anttargetstab fsortbutton addselectionlisten selectionadapt widgetselect selectionev handlesorttargetsselect filter target button toggl turn filter intern target restor intern target tabl privat void handl filter target select boolean filter filter intern target select target content provid set filter intern target filter filter list iter iter order target list iter iter target info target target info iter target content provid intern target iter remov tabl viewer refresh refresh updat select count select count hidden report need content provid queri count target hidden updat select count updat launch configur dialog handlefiltertargetsselect ffilterinternaltarget getselect ftargetcontentprovid setfilterinternaltarget listiter forderedtarget listiter hasnext targetinfo targetinfo ftargetcontentprovid isintern ftableview updateselectioncount updatelaunchconfigurationdialog button sort target toggl set tab sort privat void handl sort target select set sort sort button select sort sort handlesorttargetsselect setsort fsortbutton getselect sort_name sort_none set sort target tab sort constant defin param column column sort privat void set sort int column sort direct column tabl viewer refresh initi updat launch configur dialog setsort fsortdirect ftableview finiti updatelaunchconfigurationdialog target order button press prompt user reorder select target privat void handl order press target order dialog dialog target order dialog shell order target arrai int ok dialog open ok window ok order target clear object target dialog target int 0 target length order target add target updat select count updat launch configur dialog handleorderpress targetorderdialog targetorderdialog getshel forderedtarget toarrai forderedtarget gettarget forderedtarget updateselectioncount updatelaunchconfigurationdialog tabl viewer add doubl click listen doubl click listen public void doubl click doubl click event event select select event select select empti select instanceof structur select structur select ss structur select select object element ss element boolean check tabl viewer check element tabl viewer set check element check updat order target element check ftableview adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev iselect getselect isempti istructuredselect istructuredselect istructuredselect getfirstel ftableview getcheck ftableview setcheck updateorderedtarget tabl viewer add check listen check listen public void check chang check chang event event updat order target event element event check ftableview addcheckstatelisten icheckstatelisten checkstatechang checkstatechangedev updateorderedtarget getel getcheck column index add select listen select adapt public void widget select select event sort button select index 0 sort 1 index 1 sort descript 2 int column index 1 column sort direct column column invert sort column select row set sort column addselectionlisten selectionadapt widgetselect selectionev fsortbutton getselect sort_name sort_descript fsortdirect setsort creat tabl displai target param parent parent composit privat void creat target tabl composit parent font font parent font label label label parent swt label set font font label set text ant launch configur messag string ant target tab check target xecut 1 non nl 1 tabl tabl tabl parent swt check swt border swt full select swt resiz grid data data grid data grid data fill int row row parent data height hint tabl item height row 20 data width hint 250 tabl set layout data data tabl set font font tabl set header visibl true tabl set line visibl true tabl layout tabl layout tabl layout column weight data weight data column weight data 30 true tabl layout add column data weight data weight data column weight data 70 true tabl layout add column data weight data tabl set layout tabl layout tabl column column1 tabl column tabl swt null column1 set text ant launch configur messag string ant target tab 5 non nl 1 tabl column column2 tabl column tabl swt null column2 set text ant launch configur messag string ant target tab descript 6 non nl 1 tabl viewer checkbox tabl viewer tabl tabl viewer set label provid target tabl label provid target content provid ant target content provid tabl viewer set content provid target content provid tabl viewer set sorter ant target sorter tabl viewer add doubl click listen doubl click listen public void doubl click doubl click event event select select event select select empti select instanceof structur select structur select ss structur select select object element ss element boolean check tabl viewer check element tabl viewer set check element check updat order target element check tabl viewer add check listen check listen public void check chang check chang event event updat order target event element event check tabl column column tabl viewer tabl column int 0 column length final int index column index add select listen select adapt public void widget select select event sort button select index 0 sort 1 index 1 sort descript 2 int column index 1 column sort direct column column invert sort column select row set sort column createtargetst getfont setfont settext antlaunchconfigurationmessag getstr anttargetstab check_target_to_e xecut__1 full_select griddata griddata griddata fill_both availablerow availablerow heighthint getitemheight availablerow widthhint setlayoutdata setfont setheadervis setlinesvis tablelayout tablelayout tablelayout columnweightdata weightdata columnweightdata tablelayout addcolumndata weightdata weightdata columnweightdata tablelayout addcolumndata weightdata setlayout tablelayout tablecolumn tablecolumn settext antlaunchconfigurationmessag getstr anttargetstab name_5 tablecolumn tablecolumn settext antlaunchconfigurationmessag getstr anttargetstab descript_6 ftableview checkboxtableview ftableview setlabelprovid targettablelabelprovid ftargetcontentprovid anttargetcontentprovid ftableview setcontentprovid ftargetcontentprovid ftableview setsort anttargetssort ftableview adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev iselect getselect isempti istructuredselect istructuredselect istructuredselect getfirstel ftableview getcheck ftableview setcheck updateorderedtarget ftableview addcheckstatelisten icheckstatelisten checkstatechang checkstatechangedev updateorderedtarget getel getcheck tablecolumn ftableview gettabl getcolumn addselectionlisten selectionadapt widgetselect selectionev fsortbutton getselect sort_name sort_descript fsortdirect setsort return number row current displai current font param parent composit font queri return int result displai size divid font size privat int row composit parent int font height parent font font data 0 height int displai height parent displai client area height return displai height font height availablerow fontheight getfont getfontdata getheight displayheight getdisplai getclientarea displayheight fontheight updat order target list respons element check uncheck element check ad list uncheck remov param element element question param check element check uncheck privat void updat order target object element boolean check check order target add element order target remov element updat select count updat launch configur dialog updateorderedtarget forderedtarget forderedtarget updateselectioncount updatelaunchconfigurationdialog updat select count widget displai target select 1 6 select privat void updat select count object check tabl viewer check element string num select integ string check length int length target content provid num target string total integ string length int num hidden target content provid num filter num hidden 0 select count label set text messag format format ant launch configur messag string ant target tab 13 string num select total string num hidden non nl 1 select count label set text messag format format ant launch configur messag string ant target tab 0 1 select 7 string num select total non nl 1 order button set enabl check length 1 string buffer buffer string buffer iter iter order target iter iter buffer append target info iter buffer append non nl 1 buffer length 2 remov trail comma buffer set length buffer length 2 target order text set text buffer string updateselectioncount ftableview getcheckedel numselect tostr ftargetcontentprovid getnumtarget tostr numhidden ftargetcontentprovid getnumfilt numhidden fselectioncountlabel settext messageformat antlaunchconfigurationmessag getstr anttargetstab numselect valueof numhidden fselectioncountlabel settext messageformat antlaunchconfigurationmessag getstr anttargetstab _out_of_ _select_7 numselect forderbutton seten stringbuff stringbuff forderedtarget hasnext targetinfo getnam setlength ftargetordertext settext tostr public void run progress monitor monitor try target ant util target expand locat argument launch configur catch core except ce except 0 ce iprogressmonitor falltarget antutil gettarget expandedloc flaunchconfigur coreexcept return target buildfil return target buildfil privat target info target target null dirti target null set dirti fals set error messag null set messag null final string expand locat valid locat expand locat null return target final core except except core except 1 try final string argument ant util pars string launch configur attribut extern tool constant attr tool argument string null non nl 1 runnabl progress oper runnabl progress non javadoc org eclips jface oper runnabl progress run org eclips core runtim progress monitor public void run progress monitor monitor try target ant util target expand locat argument launch configur catch core except ce except 0 ce runnabl context context platformui workbench activ workbench window context null context launch configur dialog schedul rule rule null resourc plugin workspac tree lock set schedul rule resourc chang callback rule ant util file locat expand locat null platformui workbench progress servic run inui context oper rule catch core except ce except 0 ce catch invoc target except catch interrupt except except 0 null statu except statu except 0 statu statu children except statu children string buffer messag string buffer except 0 messag int 0 children length messag append statu child statu children messag append child statu messag set error messag messag string target null return target int 0 target length target default default target target break return target targetinfo gettarget falltarget isdirti falltarget setdirti seterrormessag setmessag expandedloc validateloc expandedloc falltarget coreexcept coreexcept antutil parsestr flaunchconfigur getattribut iexternaltoolconst attr_tool_argument irunnablewithprogress irunnablewithprogress irunnablewithprogress iprogressmonitor iprogressmonitor falltarget antutil gettarget expandedloc flaunchconfigur coreexcept irunnablecontext getworkbench getactiveworkbenchwindow getlaunchconfigurationdialog ischedulingrul resourcesplugin getworkspac istreelock antutil getfileforloc expandedloc getworkbench getprogressservic runinui coreexcept invocationtargetexcept interruptedexcept istatu exceptionstatu getstatu istatu exceptionstatu getchildren stringbuff stringbuff getmessag istatu childstatu childstatu getmessag seterrormessag tostr falltarget falltarget falltarget falltarget isdefault fdefaulttarget falltarget falltarget org eclips debug ui launch configur tab set default org eclips debug core launch configur work copi public void set default launch configur work copi configur ilaunchconfigurationtab setdefault ilaunchconfigurationworkingcopi setdefault ilaunchconfigurationworkingcopi public void initi launch configur configur initi true launch configur configur set error messag null set messag null set dirti true boolean hide intern fals try hide intern launch configur attribut ant launch configur constant attr hide intern target fals catch core except antui plugin log filter intern target set select hide intern target content provid set filter intern target hide intern int sort sort try sort launch configur attribut ant launch configur constant attr sort target sort catch core except antui plugin log sort button set select sort sort set sort sort string config target null string locat null order target arrai list try config target configur attribut ant launch configur constant attr ant target string null locat configur attribut extern tool constant attr locat string null catch core except ce antui plugin log ant launch configur messag string ant target tab error read configur 12 ce non nl 1 locat null target null initi target return target info info target info null initi target return string target name ant util pars run target config target target name length 0 order target add default target tabl viewer set check fals set execut input info default target null tabl viewer set check default target true updat select count updat launch configur dialog initi fals return set execut input info tabl viewer set check fals int 0 target name length int 0 target length target name equal target order target add target tabl viewer set check target true updat select count initi fals initializefrom ilaunchconfigur finiti flaunchconfigur seterrormessag setmessag setdirti hideintern hideintern flaunchconfigur getattribut iantlaunchconfigurationconst attr_hide_intern_target coreexcept antuiplugin ffilterinternaltarget setselect hideintern ftargetcontentprovid setfilterinternaltarget hideintern sort_none flaunchconfigur getattribut iantlaunchconfigurationconst attr_sort_target coreexcept antuiplugin fsortbutton setselect sort_none setsort configtarget newloc forderedtarget arraylist configtarget getattribut iantlaunchconfigurationconst attr_ant_target newloc getattribut iexternaltoolconst attr_locat coreexcept antuiplugin antlaunchconfigurationmessag getstr anttargetstab error_read_configur_12 newloc falltarget initializefornotarget targetinfo allinfo gettarget allinfo initializefornotarget targetnam antutil parseruntarget configtarget targetnam forderedtarget fdefaulttarget ftableview setallcheck setexecuteinput allinfo fdefaulttarget ftableview setcheck fdefaulttarget updateselectioncount updatelaunchconfigurationdialog finiti setexecuteinput allinfo ftableview setallcheck targetnam falltarget targetnam falltarget getnam forderedtarget falltarget ftableview setcheck falltarget updateselectioncount finiti privat void initi target set execut input target info 0 tabl viewer set input target info 0 initi fals initializefornotarget setexecuteinput targetinfo ftableview setinput targetinfo finiti set execut tabl input input privat void set execut input object input tabl viewer set input input updat select count setexecuteinput ftableview setinput updateselectioncount public void perform appli launch configur work copi configur attribut ad 3 0 null fals backward compat filter intern target select configur set attribut ant launch configur constant attr hide intern target true configur set attribut ant launch configur constant attr hide intern target string null attribut ad 3 0 null 0 backward compat sort direct sort configur set attribut ant launch configur constant attr sort target sort direct configur set attribut ant launch configur constant attr sort target string null order target size 1 target info item target info order target 0 item default configur set attribut ant launch configur constant attr ant target string null return order target size 0 configur set attribut ant launch configur constant attr ant target string null return string buffer buff string buffer iter iter order target iter string target null iter target info item target info iter buff append item buff append buff length 0 target buff string configur set attribut ant launch configur constant attr ant target target performappli ilaunchconfigurationworkingcopi ffilterinternaltarget getselect setattribut iantlaunchconfigurationconst attr_hide_intern_target setattribut iantlaunchconfigurationconst attr_hide_intern_target fsortdirect sort_none setattribut iantlaunchconfigurationconst attr_sort_target fsortdirect setattribut iantlaunchconfigurationconst attr_sort_target forderedtarget targetinfo targetinfo forderedtarget isdefault setattribut iantlaunchconfigurationconst attr_ant_target forderedtarget setattribut iantlaunchconfigurationconst attr_ant_target stringbuff stringbuff forderedtarget hasnext targetinfo targetinfo getnam tostr setattribut iantlaunchconfigurationconst attr_ant_target org eclips debug ui launch configur tab public string return ant launch configur messag string ant target tab tar 14 non nl 1 ilaunchconfigurationtab getnam getnam antlaunchconfigurationmessag getstr anttargetstab get_14 org eclips debug ui launch configur tab imag public imag imag return antui imag imag antui constant img tab ant target ilaunchconfigurationtab getimag getimag antuiimag getimag iantuiconst img_tab_ant_target public boolean valid launch configur launch config target null dirti error messag null dirti error pars return fals target date error messag pars recent initi launch config error messag null error pars return fals target null tabl viewer check element length 0 set error messag ant launch configur messag string ant target tab target non nl 1 return fals set error messag null return super valid launch config isvalid ilaunchconfigur launchconfig falltarget isdirti geterrormessag isdirti initializefrom launchconfig geterrormessag falltarget ftableview getcheckedel seterrormessag antlaunchconfigurationmessag getstr anttargetstab no_target seterrormessag isvalid launchconfig org eclips debug ui abstract launch configur tab set dirti boolean protect void set dirti boolean dirti provid packag visibl super set dirti dirti abstractlaunchconfigurationtab setdirti setdirti setdirti public void activ launch configur work copi work copi dirti super activ work copi ilaunchconfigurationworkingcopi workingcopi isdirti workingcopi public void deactiv launch configur work copi work copi order target size 0 set dirti flag reiniti activ set dirti true ilaunchconfigurationworkingcopi workingcopi forderedtarget setdirti privat string valid locat string expand locat null string locat null string variabl manag manag variabl plugin default string variabl manag try locat launch configur attribut extern tool constant attr locat string null locat null return null expand locat manag perform string substitut locat expand locat null return null file file file expand locat file exist set error messag ant launch configur messag string ant target tab 15 non nl 1 return null file file set error messag ant launch configur messag string ant target tab 16 non nl 1 return null return expand locat catch core except e1 locat null try manag valid string variabl locat set messag ant launch configur messag string ant target tab 17 non nl 1 return null catch core except e2 invalid variabl set error messag e2 statu messag return null set error messag e1 statu messag return null validateloc expandedloc istringvariablemanag variablesplugin getdefault getstringvariablemanag flaunchconfigur getattribut iexternaltoolconst attr_locat expandedloc performstringsubstitut expandedloc expandedloc seterrormessag antlaunchconfigurationmessag getstr anttargetstab isfil seterrormessag antlaunchconfigurationmessag getstr anttargetstab expandedloc coreexcept validatestringvari setmessag antlaunchconfigurationmessag getstr anttargetstab coreexcept seterrormessag getstatu getmessag seterrormessag getstatu getmessag privat string default work dir path public string default work dir path return default work dir path fdefaultworkingdirpath getdefaultworkingdirpath fdefaultworkingdirpath protect void set default work dir default work dir path null super set default work dir return work dir text set text default work dir path setdefaultworkingdir fdefaultworkingdirpath setdefaultworkingdir fworkingdirtext settext fdefaultworkingdirpath public void initi launch configur configur set launch configur configur try try default work dir path extern tool util locat configur remov segment 1 too string catch core except locat string wd configur attribut java launch configur constant attr work directori string null non nl 1 work dir text set text non nl 1 wd null default wd default work dir button set select true work dir text set text wd default work dir button set select fals handl default work dir button select catch core except set error messag launcher messag string java argument tab except occur read configur 15 statu messag non nl 1 jdi debugui plugin log initializefrom ilaunchconfigur setlaunchconfigur fdefaultworkingdirpath externaltoolsutil getloc removelastseg toosstr coreexcept getattribut ijavalaunchconfigurationconst attr_work_directori fworkingdirtext settext issameasdefault fusedefaultworkingdirbutton setselect fworkingdirtext settext fusedefaultworkingdirbutton setselect handleusedefaultworkingdirbuttonselect coreexcept seterrormessag launchermessag getstr javaargumentstab except_occur_read_configur___15 getstatu getmessag jdidebuguiplugin privat boolean default string work dir return work dir null work dir equal default work dir path work dir equal system properti user dir non nl 1 issameasdefault workingdir workingdir workingdir fdefaultworkingdirpath workingdir getproperti org eclips debug ui launch configur tab perform appli org eclips debug core launch configur work copi public void perform appli launch configur work copi configur string wd attribut work dir text configur set attribut java launch configur constant attr work directori wd ilaunchconfigurationtab performappli ilaunchconfigurationworkingcopi performappli ilaunchconfigurationworkingcopi getattributevaluefrom fworkingdirtext setattribut ijavalaunchconfigurationconst attr_work_directori public void set enabl boolean enabl default work dir button set enabl enabl boolean def default work directori default work dir button set select def enabl enabl def work dir text set enabl enabl workspac button set enabl enabl file system button set enabl enabl variabl button set enabl enabl seten fusedefaultworkingdirbutton seten isdefaultworkingdirectori fusedefaultworkingdirbutton setselect fworkingdirtext seten fworkspacebutton seten ffilesystembutton seten fvariablesbutton seten default contructor requir instanti persist extens public contribut classpath entri entri contributedclasspathentriesentri org eclips jdt intern launch abstract runtim classpath entri build memento org w3c dom document org w3c dom element protect void build memento document document element memento throw core except abstractruntimeclasspathentri buildmemento buildmemento coreexcept org eclips jdt intern launch runtim classpath entri2 initi org w3c dom element public void initi element memento throw core except iruntimeclasspathentri2 initializefrom initializefrom coreexcept org eclips jdt launch runtim classpath entri2 type id public string type id return type id iruntimeclasspathentri2 gettypeid gettypeid type_id public runtim classpath entri runtim classpath entri launch configur configur throw core except boolean separatevm null configur attribut java launch configur constant attr vm instal type string null ant core prefer pref ant core plugin plugin prefer ant classpath entri ant classpath entri pref contribut classpath entri ant classpath entri user entri pref addit classpath entri list rte arrai list ant classpath entri length user entri length ant classpath entri entri int 0 ant classpath entri length entri ant classpath entri separatevm separatevm entri eclips runtim requir rte add java runtim string variabl classpath entri entri label boolean tool entri fals string path int 0 user entri length entri user entri path entri label path end tool jar non nl 1 tool entri true replac dynam resolv tool jar base jre add tool jar configur rte path rte add java runtim string variabl classpath entri path tool entri add tool jar configur rte null return runtim classpath entri rte arrai runtim classpath entri rte size iruntimeclasspathentri getruntimeclasspathentri ilaunchconfigur coreexcept getattribut ijavalaunchconfigurationconst attr_vm_instal_type antcoreprefer antcoreplugin getplugin getprefer iantclasspathentri antclasspathentri getcontributedclasspathentri iantclasspathentri userentri getadditionalclasspathentri arraylist antclasspathentri userentri iantclasspathentri antclasspathentri antclasspathentri iseclipseruntimerequir javaruntim newstringvariableclasspathentri getlabel havetoolsentri userentri userentri getlabel endswith havetoolsentri addtoolsjar javaruntim newstringvariableclasspathentri havetoolsentri addtoolsjar iruntimeclasspathentri toarrai iruntimeclasspathentri privat void add tool jar launch configur configur list rte string path runtim classpath entri tool tool jar configur tool null path null global entri rte add java runtim archiv runtim classpath entri path path default vm instal try find tool jar ivm instal instal java runtim defaultvm instal instal null ant classpath entri entri ant core plugin plugin prefer tool jar entri path instal instal locat absolut path entri null rte add java runtim archiv runtim classpath entri path entri entryurl path rte add tool addtoolsjar ilaunchconfigur iruntimeclasspathentri gettoolsjar javaruntim newarchiveruntimeclasspathentri ivminstal javaruntim getdefaultvminstal iantclasspathentri antcoreplugin getplugin getprefer gettoolsjarentri getinstallloc getabsolutepath javaruntim newarchiveruntimeclasspathentri getentryurl getpath return tool jar launch configur code null code param configur configur resolv tool jar return tool jar archiv code null code privat runtim classpath entri tool jar launch configur configur try ivm instal instal java runtim computevm instal configur instal null ant classpath entri entri ant core plugin plugin prefer tool jar entri path instal instal locat absolut path entri null return java runtim archiv runtim classpath entri path entri entryurl path catch core except ce like deal non java project return null iruntimeclasspathentri gettoolsjar ilaunchconfigur ivminstal javaruntim computevminstal iantclasspathentri antcoreplugin getplugin getprefer gettoolsjarentri getinstallloc getabsolutepath javaruntim newarchiveruntimeclasspathentri getentryurl getpath coreexcept org eclips jdt launch runtim classpath entri2 public string return ant launch configur messag string contribut classpath entri entri 1 non nl 1 iruntimeclasspathentri2 getnam getnam antlaunchconfigurationmessag getstr contributedclasspathentriesentri org eclips jdt launch runtim classpath entri type public int type return runtim classpath entri iruntimeclasspathentri gettyp gettyp iruntimeclasspathentri org eclips jdt launch runtim classpath entri2 composit public boolean composit return true iruntimeclasspathentri2 iscomposit iscomposit java lang object equal java lang object public boolean equal object obj return obj instanceof contribut classpath entri entri contributedclasspathentriesentri java lang object hash code public int hash code return class hash code hashcod hashcod getclass hashcod privat ant classpath tab tab construct action edit ant home set launch config param viewer classpath viewer public edit ant home entri action classpath viewer viewer ant classpath tab tab super ant launch configur messag string edit ant home entri action 1 viewer non nl 1 tab tab antclasspathtab ftab editanthomeentryact iclasspathview antclasspathtab antlaunchconfigurationmessag getstr editanthomeentryact ftab public void run dialog set dialog set antui plugin default dialog set string path dialog set antui constant dialogstor lastanthom path null path resourc plugin workspac root locat too string directori dialog dialog directori dialog shell dialog set messag ant prefer messag string ant classpath block 3 non nl 1 dialog set filter path path string path dialog open path null return dialog set put antui constant dialogstor lastanthom path ant core prefer prefer ant core plugin plugin prefer string default home prefer ant home path equal ignor case default home path null tab set dirti true updat exist entri add runtim classpath entri entri viewer entri int 0 entri length i runtim classpath entri entri entri entri type runtim classpath entri runtim classpath entri2 entri2 runtim classpath entri2 classpath entri entri deleg entri2 type id equal ant home classpath entri type id ant home classpath entri entri2 set ant home path viewer refresh entri viewer notifi chang return entri found add viewer add entri runtim classpath entri ant home classpath entri path idialogset dialogset antuiplugin getdefault getdialogset lastusedpath dialogset iantuiconst dialogstor_lastanthom lastusedpath lastusedpath resourcesplugin getworkspac getroot getloc toosstr directorydialog directorydialog getshel setmessag antpreferencesmessag getstr antclasspathblock setfilterpath lastusedpath dialogset iantuiconst dialogstor_lastanthom antcoreprefer antcoreplugin getplugin getprefer defaulthom getanthom equalsignorecas defaulthom ftab setdirti iruntimeclasspathentri getview getentri iruntimeclasspathentri gettyp iruntimeclasspathentri iruntimeclasspathentri2 iruntimeclasspathentri2 classpathentri getdeleg gettypeid anthomeclasspathentri type_id anthomeclasspathentri setanthom getview getview notifychang getview addentri iruntimeclasspathentri anthomeclasspathentri select listen action updat select structur select protect boolean updat select structur select select return true selectionlisteneract updateselect istructuredselect updateselect istructuredselect public class remot ant build listen implement launch listen public abstract class listen safe runnabl implement safe runnabl public void handl except throwabl except antui plugin log except remoteantbuildlisten ilauncheslisten listenersaferunn isaferunn handleexcept antuiplugin privat int server port public server connect int port super ant build server connect non nl 1 server port port fserverport serverconnect fserverport public void run try debug system println creat server socket server port non nl 1 server socket server socket server port socket server socket accept debug system println connect non nl 1 buffer reader buffer reader input stream reader socket input stream string messag buffer reader null messag buffer reader read line null receiv messag messag catch socket except catch io except fall shut fdebug fserverport fserversocket serversocket fserverport fsocket fserversocket fdebug fbufferedread bufferedread inputstreamread fsocket getinputstream fbufferedread fbufferedread readlin receivemessag socketexcept ioexcept shutdown public remot ant build listen launch launch super launch launch debug plugin default launch manag add launch listen remoteantbuildlisten ilaunch flaunch debugplugin getdefault getlaunchmanag addlaunchlisten start listen ant build start server connect remot ant build logger connect param port port number creat server connect public synchron void start listen int port port port server connect connect server connect port connect start remoteantbuildlogg startlisten fport serverconnect serverconnect privat synchron void shut debug system println shutdown port non nl 1 launch null debug plugin default launch manag remov launch listen try buffer reader null buffer reader close buffer reader null catch io except try socket null socket close socket null catch io except try server socket null server socket close server socket null catch io except shutdown fdebug fport flaunch debugplugin getdefault getlaunchmanag removelaunchlisten fbufferedread fbufferedread fbufferedread ioexcept fsocket fsocket fsocket ioexcept fserversocket fserversocket fserversocket ioexcept privat void receiv messag string messag debug system println messag messag start messag id task messag messag substr messag id task length int index messag index int prioriti integ pars int messag substr 0 index int index2 messag index index 1 string task messag substr index 1 index2 int index3 messag index index2 1 int line length integ pars int messag substr index2 1 index3 int final index index3 1 line length string line messag substr index3 1 final index string locat messag substr final index 1 int size antui constant left column size task length 3 int offset math max size 2 1 int length antui constant left column size size 3 consol hyperlink task link ant util task link locat build file parent task link null task link manag add task hyperlink process task link region offset length line string buffer full messag string buffer adorn messag task line full messag write messag full messag append system properti line separ string prioriti non nl 1 messag start messag id process id messag messag substr messag id process id length process id messag int index messag index index 0 int prioriti integ pars int messag substr 0 index messag messag substr index 1 write messag messag system properti line separ prioriti non nl 1 receivemessag fdebug startswith messageid messageid indexof parseint indexof tasknam indexof linelength parseint finalindex linelength finalindex finalindex iantuiconst left_column_size tasknam iantuiconst left_column_size iconsolehyperlink tasklink antutil gettasklink fbuildfilepar tasklink tasklinkmanag addtaskhyperlink getprocess tasklink stringbuff fullmessag stringbuff adornmessag tasknam fullmessag writemessag fullmessag getproperti tostr startswith messageid process_id messageid process_id fprocessid indexof parseint writemessag getproperti return process find privat process process process null process id null process debug plugin default launch manag process int 0 length i process process process id equal process attribut ant process attr ant process id process process break return process iprocess getprocess fprocess fprocessid iprocess debugplugin getdefault getlaunchmanag getprocess iprocess fprocessid getattribut antprocess attr_ant_process_id fprocess fprocess privat ant stream monitor monitor int prioriti process process process process null return null ant stream proxi proxi ant stream proxi process stream proxi proxi null return null ant stream monitor monitor null switch prioriti case project msg info monitor ant stream monitor proxi output stream monitor break case project msg err monitor ant stream monitor proxi error stream monitor break case project msg debug monitor ant stream monitor proxi debug stream monitor break case project msg warn monitor ant stream monitor proxi warn stream monitor break case project msg verbos monitor ant stream monitor proxi verbos stream monitor break return monitor antstreammonitor getmonitor iprocess getprocess antstreamsproxi antstreamsproxi getstreamsproxi antstreammonitor msg_info antstreammonitor getoutputstreammonitor msg_err antstreammonitor geterrorstreammonitor msg_debug antstreammonitor getdebugstreammonitor msg_warn antstreammonitor getwarningstreammonitor msg_verbos antstreammonitor getverbosestreammonitor build justifi task prefix build event place string buffer param event build event param full messag buffer place task prefix privat void adorn messag string task string line string buffer full messag task null task null non nl 1 int size antui constant left column size task length 6 int 0 size full messag append full messag append line fullmessag adornmessag tasknam stringbuff fullmessag tasknam tasknam iantuiconst left_column_size tasknam fullmessag fullmessag privat void write messag string messag int prioriti ant stream monitor monitor monitor prioriti monitor null messag queue null messag queue arrai list messag queue add messag return messag queue null iter iter messag queue iter iter string messag string iter monitor append messag messag queue null monitor append messag writemessag antstreammonitor getmonitor fmessagequeu fmessagequeu arraylist fmessagequeu fmessagequeu fmessagequeu hasnext oldmessag oldmessag fmessagequeu org eclips debug core launch listen launch ad org eclips debug core launch public void launch ad launch launch ilauncheslisten launchesad ilaunch launchesad ilaunch org eclips debug core launch listen launch chang org eclips debug core launch public void launch chang launch launch ilauncheslisten launcheschang ilaunch launcheschang ilaunch public void launch remov launch launch int 0 launch length i launch launch launch launch equal launch shut return launchesremov ilaunch ilaunch flaunch shutdown public process process launch launch process process string label map attribut attribut null attribut hash map 1 attribut put process attr process type ant launch configur constant id ant process type return remot ant runtim process launch process label attribut iprocess newprocess ilaunch hashmap iprocess attr_process_type iantlaunchconfigurationconst id_ant_process_type remoteantruntimeprocess construct runtim process system process ad process launch set stream proxi ant stream proxi public remot ant runtim process launch launch process process string map attribut super launch process attribut runtimeprocess antstreamsproxi remoteantruntimeprocess ilaunch org eclips debug intern core runtim process creat stream proxi protect stream proxi creat stream proxi return ant stream proxi runtimeprocess createstreamsproxi istreamsproxi createstreamsproxi antstreamsproxi org eclips debug core statu handler handl statu org eclips core runtim statu java lang object public object handl statu statu statu object sourc launch configur dialog dialog launch configur dialog sourc dialog set activ tab 3 return null istatushandl handlestatu istatu handlestatu istatu ilaunchconfigurationdialog ilaunchconfigurationdialog setactivetab construct dialog param parent shell public target order dialog shell parent shell object target super parent shell target target parentshel targetorderdialog parentshel parentshel ftarget protect control creat dialog area composit parent shell set text ant launch configur messag string target order dialog order target 1 non nl 1 composit comp composit super creat dialog area parent grid layout comp layout num column 2 label label label comp swt label set text ant launch configur messag string target order dialog target execut order 2 non nl 1 label set font comp font grid data gd grid data grid data fill horizont gd horizont span 2 label set layout data gd creat target list comp creat button comp updat button return comp createdialogarea getshel settext antlaunchconfigurationmessag getstr targetorderdialog order_target_1 createdialogarea gridlayout getlayout numcolumn settext antlaunchconfigurationmessag getstr targetorderdialog specifi_target_execut_order__2 setfont getfont griddata griddata griddata fill_horizont horizontalspan setlayoutdata createtargetlist createbutton updatebutton creat button area button param comp privat void creat button composit parent composit comp composit parent swt grid layout layout grid layout layout margin height 0 layout margin width 0 grid data gd grid data grid data horizont align fill gd vertic align grid data begin comp set layout layout comp set layout data gd button comp swt push set font parent font set text ant launch configur messag string target order dialog 3 non nl 1 set button layout data up add select listen select adapt public void widget select select event handl press button comp swt push set font parent font set text ant launch configur messag string target order dialog 4 non nl 1 set button layout data f add select listen select adapt public void widget select select event handl press createbutton gridlayout gridlayout marginheight marginwidth griddata griddata griddata horizont_align_fill verticalalign griddata setlayout setlayoutdata fup fup setfont getfont fup settext antlaunchconfigurationmessag getstr targetorderdialog up_3 setbuttonlayoutdata fup fup addselectionlisten selectionadapt widgetselect selectionev handleuppress fdown fdown setfont getfont fdown settext antlaunchconfigurationmessag getstr targetorderdialog down_4 setbuttonlayoutdata fdown fdown addselectionlisten selectionadapt widgetselect selectionev handledownpress privat void handl press list target order select target empti return list list arrai list arrai list content provid element null int bottom list size 1 int index 0 int target size 1 0 object target target index list index target index bottom bottom index 1 object temp list bottom list set bottom target list set index temp bottom index set entri list handledownpress getorderedselect isempti arraylist aslist fcontentprovid getel indexof setentri privat void handl press list target order select target empti return int top 0 int index 0 list list arrai list arrai list content provid element null iter entri target iter entri object target entri index list index target index top top index 1 object temp list top list set top target list set index temp top index set entri list handleuppress getorderedselect isempti arraylist aslist fcontentprovid getel hasnext indexof setentri updat entri entri list privat void set entri list list target list arrai viewer set input target updat select listen viewer set select viewer select setentri ftarget toarrai fviewer setinput ftarget fviewer setselect fviewer getselect return select item list order displai return target action privat list order select list target arrai list list select structur select viewer select list object entri content provid element null int 0 entri length object target entri select target target add target return target getorderedselect arraylist istructuredselect fviewer getselect tolist fcontentprovid getel creat list viewer target param comp privat void creat target list composit comp viewer tabl viewer comp swt multi swt full select swt border viewer set label provid target tabl label provid content provid ant target content provid viewer set content provid content provid viewer set input target viewer add select chang listen tabl tabl viewer tabl grid data gd grid data grid data fill gd height hint 200 gd width hint 250 tabl set layout data gd tabl set font comp font createtargetlist fviewer tableview full_select fviewer setlabelprovid targettablelabelprovid fcontentprovid anttargetcontentprovid fviewer setcontentprovid fcontentprovid fviewer setinput ftarget fviewer addselectionchangedlisten fviewer gettabl griddata griddata griddata fill_both heighthint widthhint setlayoutdata setfont getfont return order target public object target return target gettarget ftarget updat button enabl org eclips jface viewer select chang listen select chang org eclips jface viewer select chang event public void select chang select chang event event updat button iselectionchangedlisten selectionchang selectionchangedev selectionchang selectionchangedev updatebutton privat void updat button int select viewer tabl select indic int target length 1 boolean true select length 0 boolean true select length 0 int 0 select length select 0 fals select fals set enabl set enabl updatebutton fviewer gettabl getselectionindic ftarget fup seten fdown seten org eclips jface window window configur shell org eclips swt widget shell protect void configur shell shell shell super configur shell shell workbench help set help shell antui help context id target order dialog configureshel configureshel configureshel workbenchhelp sethelp iantuihelpcontextid target_order_dialog public class target tabl label provid extend label provid implement tabl label provid color provid public target tabl label provid super targettablelabelprovid labelprovid itablelabelprovid icolorprovid targettablelabelprovid public string text object model target info target target info model string buffer result string buffer target target default result append non nl 1 result append ant launch configur messag string ant target label provid default target 1 non nl 1 result append non nl 1 return result string gettext targetinfo targetinfo stringbuff stringbuff getnam isdefault antlaunchconfigurationmessag getstr anttargetlabelprovid default_target_1 tostr org eclips jface viewer label provid imag java lang object public imag imag object element target info target target info element imag descriptor base null int flag 0 target default base antui imag imag descriptor antui constant img ant default target target descript null base antui imag imag descriptor antui constant img ant target intern base antui imag imag descriptor antui constant img ant target return antui imag imag ant imag descriptor base flag ilabelprovid getimag getimag targetinfo targetinfo imagedescriptor isdefault antuiimag getimagedescriptor iantuiconst img_ant_default_target getdescript antuiimag getimagedescriptor iantuiconst img_ant_target_intern antuiimag getimagedescriptor iantuiconst img_ant_target antuiimag getimag antimagedescriptor public imag column imag object element int column index column index 0 return imag element return null getcolumnimag columnindex columnindex getimag public string column text object element int column index column index 0 return text element string desc target info element descript desc null return non nl 1 return desc getcolumntext columnindex columnindex gettext targetinfo getdescript public color foreground object element element instanceof target info return null target info info target info element info default return displai default system color swt color blue return null getforeground targetinfo targetinfo targetinfo isdefault getdefault getsystemcolor color_blue public color background object element return null getbackground public hyperlink entri consol hyperlink link region region string messag link link region region messag messag hyperlinkentri iconsolehyperlink iregion flink fregion fmessag public region region return region iregion getregion fregion public consol hyperlink link return link iconsolehyperlink getlink flink public string messag return messag getmessag fmessag privat region region public line entri consol consol region region consol consol region region iregion fregion lineentri iconsol iregion fconsol fregion public region region return region iregion getregion fregion public consol consol return consol iconsol getconsol fconsol call privat task link manag super tasklinkmanag regist hyperlink process task region rel begin line document param process process link param link link process param region region line param messag messag relat link public static synchron void add task hyperlink process process consol hyperlink link region region string messag fg process line null list line list fg process line process line null int index 0 index line size index line entri line line entri line index add link line consol link line region region messag line list 0 index 1 clear return fg process link null fg process link hash map list link list fg process link process link null link arrai list 10 fg process link put process link link add hyperlink entri link region messag addtaskhyperlink iprocess iconsolehyperlink iregion fgprocesstonewlin newlin fgprocesstonewlin newlin newlin lineentri newlin lineentri newlin addlink newlin getconsol newlin getregion newlin sublist fgprocesstolink fgprocesstolink hashmap fgprocesstolink arraylist fgprocesstolink hyperlinkentri privat static boolean add link consol consol consol hyperlink link region line region region region string messag int length region length string text try text consol document line region offset line region length catch bad locat except return fals text trim equal messag int offset line region offset region offset consol add link link offset length return true return fals addlink iconsol iconsolehyperlink iregion lineregion iregion getlength getdocu lineregion getoffset lineregion getlength badlocationexcept lineregion getoffset getoffset addlink line ad consol add task hyperlink line consol line store process futur incom task hyperlink param consol param line public static synchron void process line consol consol region line process process consol process fg ant build null fg ant build process link build file messag consol line fg ant build remov process return fg process link null add line consol line process return list link list fg process link process link null add line consol line process return int index 0 index link size index hyperlink entri link hyperlink entri link index add link consol link link line link region link messag link list 0 index 1 clear return newlin processnewlin iconsol iregion newlin iprocess getprocess fgantbuild fgantbuild linkbuildfilemessag newlin fgantbuild fgprocesstolink addnewlin newlin fgprocesstolink addnewlin newlin hyperlinkentri hyperlinkentri addlink getlink newlin getregion getmessag sublist privat static void add line consol consol region line process process fg process line null fg process line hash map list line list fg process line process line null line arrai list line add line entri consol line fg process line put process line addnewlin iconsol iregion newlin iprocess fgprocesstonewlin fgprocesstonewlin hashmap newlin fgprocesstonewlin newlin newlin arraylist newlin lineentri newlin fgprocesstonewlin newlin dispos inform store process param process public static void dispos process process fg process link null fg process link remov process fg process line null fg process line remov process fg ant build null fg ant build remov process iprocess fgprocesstolink fgprocesstolink fgprocesstonewlin fgprocesstonewlin fgantbuild fgantbuild regist process ant build process gener buildfil somefil link ant output param process public static synchron void regist ant build process process fg process line null list line list fg process line process line null iter iter line iter iter line entri line line entri iter link build file messag line consol line region iter remov return fg ant build null fg ant build arrai list fg ant build add process registerantbuild iprocess fgprocesstonewlin newlin fgprocesstonewlin newlin newlin hasnext lineentri newlin lineentri linkbuildfilemessag newlin getconsol newlin getregion fgantbuild fgantbuild arraylist fgantbuild privat static boolean link build file messag consol consol region region string messag non nl 1 int offset region offset try messag consol document offset region length catch bad locat except messag start buildfil non nl 1 string file messag substr 10 trim file file ant util file locat file null file null file link link file link file null 1 1 1 consol add link link offset 11 file length non nl 1 build file parent file locat file parent file return true return fals linkbuildfilemessag iconsol iregion getoffset getdocu getlength badlocationexcept startswith filenam ifil antutil getfileforloc filenam filelink filelink addlink filenam fbuildfilepar getloc tofil getparentfil privat string variabl string public variabl input dialog shell shell super shell set shell style swt resiz shell style fvariablestr variableinputdialog setshellstyl getshellstyl protect control creat dialog area composit parent composit composit parent swt grid layout layout grid layout layout num column 1 set layout layout set layout data grid data grid data fill label label label swt label set text ant launch configur messag string add variabl string action 2 non nl 1 grid data gd grid data grid data horizont align begin label set layout data gd composit input comp composit swt layout grid layout 2 fals input comp set layout layout input comp set layout data grid data grid data fill horizont text text input comp swt singl swt border gd grid data grid data fill horizont gd grab excess horizont space true gd width hint 200 text set layout data gd button button button input comp swt push button set text ant launch configur messag string add variabl string action 3 non nl 1 gd grid data grid data horizont align end gd height hint convert verticaldl pixel dialog constant button height int width hint convert horizontaldl pixel dialog constant button width gd width hint math max width hint button comput size swt default swt default true button set layout data gd button add select listen select adapt public void widget select select event se variabl appli dialog font parent return createdialogarea gridlayout gridlayout numcolumn setlayout setlayoutdata griddata griddata fill_both settext antlaunchconfigurationmessag getstr addvariablestringact griddata griddata griddata horizont_align_begin setlayoutdata inputcomp gridlayout inputcomp setlayout inputcomp setlayoutdata griddata griddata fill_horizont ftext inputcomp griddata griddata fill_horizont grabexcesshorizontalspac widthhint ftext setlayoutdata inputcomp settext antlaunchconfigurationmessag getstr addvariablestringact griddata griddata horizont_align_end heighthint convertverticaldlustopixel idialogconst button_height widthhint converthorizontaldlustopixel idialogconst button_width widthhint widthhint computes setlayoutdata addselectionlisten selectionadapt widgetselect selectionev getvari applydialogfont protect void creat button button bar composit parent creat button parent dialog constant ok id dialog constant ok label true creat button parent dialog constant cancel id dialog constant cancel label fals createbuttonsforbuttonbar createbutton idialogconst ok_id idialogconst ok_label createbutton idialogconst cancel_id idialogconst cancel_label org eclips jface window window configur shell org eclips swt widget shell protect void configur shell shell shell super configur shell shell shell set text ant launch configur messag string add variabl string action 4 non nl 1 configureshel configureshel newshel configureshel newshel newshel settext antlaunchconfigurationmessag getstr addvariablestringact privat void variabl string variabl select dialog variabl dialog string variabl select dialog shell int return code variabl dialog open return code dialog constant ok id string variabl variabl dialog variabl express variabl null text append variabl getvari stringvariableselectiondialog variabledialog stringvariableselectiondialog getshel returncod variabledialog returncod idialogconst ok_id variabledialog getvariableexpress ftext protect void ok press string variabl string text text variabl string null variabl string trim length 0 variabl string variabl string variabl string null super ok press okpress variablestr ftext gettext variablestr variablestr fvariablestr variablestr fvariablestr okpress public string variabl string return variabl string getvariablestr fvariablestr org eclips jface window window close public boolean close dialog set helper persist shell geometri shell dialog set section return super close dialogsettingshelp persistshellgeometri getshel dialog_set_section org eclips jface window window initi locat org eclips swt graphic point protect point initi locat point initi size point dialog set helper initi locat dialog set section return null super initi locat initi size getinitialloc getinitialloc initials dialogsettingshelp getinitialloc dialog_set_section getinitialloc initials org eclips jface window window initi size protect point initi size point super initi size return dialog set helper initi size dialog set section getinitials getinitials getinitials dialogsettingshelp getinitials dialog_set_section creat ant imag descriptor param base imag imag descriptor base imag param flag flag indic adorn render public ant imag descriptor imag descriptor base imag int flag set base imag base imag set flag flag antimagedescriptor baseimag antimagedescriptor imagedescriptor baseimag setbaseimag baseimag setflag composit imag descriptor size protect point size size null imag data data base imag imag data set size point data width data height return size compositeimagedescriptor getsiz getsiz fsize imagedata getbaseimag getimagedata setsiz fsize object equal java lang object public boolean equal object object object instanceof ant imag descriptor return fals ant imag descriptor ant imag descriptor object return base imag equal base imag flag flag antimagedescriptor antimagedescriptor antimagedescriptor getbaseimag getbaseimag getflag getflag object hash code public int hash code return base imag hash code flag hashcod hashcod getbaseimag hashcod getflag composit imag descriptor draw composit imag int int protect void draw composit imag int width int height imag data bg base imag imag data bg null bg default imag data draw imag bg 0 0 draw overlai compositeimagedescriptor drawcompositeimag drawcompositeimag imagedata getbaseimag getimagedata default_imag_data drawimag drawoverlai add overlai imag flag protect void draw overlai int flag flag int 0 imag data data null flag import 0 data antui imag imag descriptor antui constant img ovr import imag data draw imag data 0 0 flag error 0 size data antui imag imag descriptor antui constant img ovr error imag data data height draw imag data 0 flag warn 0 size data antui imag imag descriptor antui constant img ovr warn imag data data height draw imag data 0 drawoverlai getflag imagedata antuiimag getimagedescriptor iantuiconst img_ovr_import getimagedata drawimag ha_error getsiz antuiimag getimagedescriptor iantuiconst img_ovr_error getimagedata drawimag ha_warn getsiz antuiimag getimagedescriptor iantuiconst img_ovr_warn getimagedata drawimag protect imag descriptor base imag return base imag imagedescriptor getbaseimag fbaseimag protect void set base imag imag descriptor base imag base imag base imag setbaseimag imagedescriptor baseimag fbaseimag baseimag protect int flag return flag getflag fflag protect void set flag int flag flag flag setflag fflag protect void set size point size size size setsiz fsize declar imag privat static void declar imag ant editor imag declar registri imag antui constant img properti object properti obj gif non nl 1 declar registri imag antui constant img task propos object task obj gif non nl 1 declar registri imag antui constant img templat propos object templat obj gif non nl 1 ant view action declar registri imag antui constant img ant object ant gif non nl 1 declar registri imag antui constant img remov localtool remov gif non nl 1 declar registri imag antui constant img remov localtool removeal gif non nl 1 declar registri imag antui constant img add localtool add gif non nl 1 declar registri imag antui constant img run localtool run tool gif non nl 1 declar registri imag antui constant img search localtool search gif non nl 1 declar registri imag antui constant img filter intern target localtool filter intern target gif non nl 1 declar registri imag antui constant img filter import element localtool filter import element gif non nl 1 declar registri imag antui constant img filter properti localtool filter properti gif non nl 1 declar registri imag antui constant img filter top level localtool filter top level gif non nl 1 declar registri imag antui constant img link editor localtool sync gif non nl 1 declar registri imag antui constant img sort outlin localtool alpha mode gif non nl 1 declar registri imag antui constant img refresh localtool refresh gif non nl 1 ant view label declar registri imag antui constant img ant project object ant buildfil gif non nl 1 declar registri imag antui constant img ant target object targetpubl obj gif non nl 1 declar registri imag antui constant img ant target intern object targetintern obj gif non nl 1 declar registri imag antui constant img ant default target object defaulttarget obj gif non nl 1 declar registri imag antui constant img ant target error object ant target err gif non nl 1 declar registri imag antui constant img ant macrodef object macrodef obj gif non nl 1 declar registri imag antui constant img ant import object import obj gif non nl 1 declar registri imag antui constant img ant build tab object build tab gif non nl 1 ant object declar registri imag antui constant img tab ant target localtool ant target gif non nl 1 declar registri imag antui constant img tab classpath object classpath gif non nl 1 declar registri imag antui constant img jar file object jar obj gif non nl 1 declar registri imag antui constant img ant type object type gif non nl 1 declar registri imag antui constant img import wizard banner wiz importbuildfil wiz gif non nl 1 overlai declar registri imag antui constant img ovr error ovr error gif non nl 1 declar registri imag antui constant img ovr warn ovr warn gif non nl 1 declar registri imag antui constant img ovr import ovr import gif non nl 1 declareimag declareregistryimag iantuiconst img_properti properti_obj declareregistryimag iantuiconst img_task_propos task_obj declareregistryimag iantuiconst img_templat_propos templat_obj declareregistryimag iantuiconst img_ant declareregistryimag iantuiconst img_remov remov_co declareregistryimag iantuiconst img_remov_all removeal_co declareregistryimag iantuiconst img_add add_co declareregistryimag iantuiconst img_run run_tool declareregistryimag iantuiconst img_search declareregistryimag iantuiconst img_filter_intern_target filter_intern_target declareregistryimag iantuiconst img_filter_import_element filter_import_element declareregistryimag iantuiconst img_filter_properti filter_properti declareregistryimag iantuiconst img_filter_top_level filter_top_level declareregistryimag iantuiconst img_link_with_editor declareregistryimag iantuiconst img_sort_outlin alpha_mode declareregistryimag iantuiconst img_refresh declareregistryimag iantuiconst img_ant_project ant_buildfil declareregistryimag iantuiconst img_ant_target targetpubl_obj declareregistryimag iantuiconst img_ant_target_intern targetintern_obj declareregistryimag iantuiconst img_ant_default_target defaulttarget_obj declareregistryimag iantuiconst img_ant_target_error ant_target_err declareregistryimag iantuiconst img_ant_macrodef macrodef_obj declareregistryimag iantuiconst img_ant_import import_obj declareregistryimag iantuiconst img_ant_build_tab build_tab declareregistryimag iantuiconst img_tab_ant_target ant_target declareregistryimag iantuiconst img_tab_classpath declareregistryimag iantuiconst img_jar_file jar_l_obj declareregistryimag iantuiconst img_ant_type declareregistryimag iantuiconst img_import_wizard_banner importbuildfil_wiz declareregistryimag iantuiconst img_ovr_error error_co declareregistryimag iantuiconst img_ovr_warn warn_co declareregistryimag iantuiconst img_ovr_import import_co declar imag registri tabl param kei kei regist imag param path path imag found path rel plugin class found typic packag directori privat final static void declar registri imag string kei string path imag descriptor desc imag descriptor miss imag descriptor try desc imag descriptor creat fromurl icon fileurl path catch malformedurl except imag registri put kei desc imag descriptor put kei desc declareregistryimag imagedescriptor imagedescriptor getmissingimagedescriptor imagedescriptor createfromurl makeiconfileurl malformedurlexcept imageregistri imagedescriptor return imag registri public static imag registri imag registri imag registri null initi imag registri return imag registri imageregistri imageregistri getimageregistri imageregistri initializeimageregistri imageregistri initi imag registri declar requir graphic involv creat face imag descriptor describ creat find imag need imag actual alloc request prefix convent wizard banner wizban prefer banner pref ban properti page banner propban color toolbar ctool enabl toolbar etool disabl toolbar dtool local enabl toolbar elcl local disabl toolbar dlcl object larg objl object small obj view view product imag prod misc imag misc imag imag typic gif found locat plugin class mean packag directori packag hold class imag declar class ensur look plugin class org eclips jface resourc imag registri public static imag registri initi imag registri imag registri imag registri antui plugin standard displai imag descriptor hash map 30 declar imag return imag registri jface wizban_ pref_ban_ propban_ ctool_ etool_ dtool_ elcl_ dlcl_ objl_ obj_ view_ prod_ misc_ getclass imageregistri imageregistri initializeimageregistri imageregistri imageregistri antuiplugin getstandarddisplai imagedescriptor hashmap declareimag imageregistri return code imag code identifi kei code null code exist public static imag imag string kei return imag registri kei getimag getimageregistri return code imag descriptor code identifi kei code null code exist public static imag descriptor imag descriptor string kei imag descriptor null initi imag registri return imag descriptor imag descriptor kei imagedescriptor imagedescriptor getimagedescriptor imagedescriptor initializeimageregistri imagedescriptor imagedescriptor privat static url icon fileurl string icon path throw malformedurl except icon base url null throw malformedurl except return url icon base url icon path makeiconfileurl iconpath malformedurlexcept icon_base_url malformedurlexcept icon_base_url iconpath set imag descriptor enabl disabl hover action action retriev lcl16 folder public static void set local imag descriptor action action string icon set imag descriptor action lcl16 icon non nl 1 setlocalimagedescriptor iaction iconnam setimagedescriptor iconnam privat static void set imag descriptor action action string type string rel path try imag descriptor id imag descriptor creat fromurl icon fileurl type rel path non nl 1 id null action set disabl imag descriptor id catch malformedurl except antui plugin log try imag descriptor id imag descriptor creat fromurl icon fileurl type rel path non nl 1 id null action set hover imag descriptor id catch malformedurl except antui plugin log action set imag descriptor creat type rel path non nl 1 setimagedescriptor iaction relpath imagedescriptor imagedescriptor createfromurl makeiconfileurl relpath setdisabledimagedescriptor malformedurlexcept antuiplugin imagedescriptor imagedescriptor createfromurl makeiconfileurl relpath sethoverimagedescriptor malformedurlexcept antuiplugin setimagedescriptor relpath privat static url icon fileurl string prefix string throw malformedurl except icon base url null throw malformedurl except string buffer buffer string buffer prefix buffer append buffer append return url icon base url buffer string makeiconfileurl malformedurlexcept icon_base_url malformedurlexcept stringbuff stringbuff icon_base_url tostr privat static imag descriptor creat string prefix string try return imag descriptor creat fromurl icon fileurl prefix catch malformedurl except antui plugin log return imag descriptor miss imag descriptor imagedescriptor imagedescriptor createfromurl makeiconfileurl malformedurlexcept antuiplugin imagedescriptor getmissingimagedescriptor return imag composit descriptor public static imag imag composit imag descriptor imag descriptor imag descriptor registri null imag descriptor registri imag descriptor registri return imag descriptor registri imag descriptor getimag compositeimagedescriptor imagedescriptor imagedescriptorregistri imagedescriptorregistri imagedescriptorregistri imagedescriptorregistri imagedescriptor public static void dispos imag descriptor registri imag descriptor registri null imag descriptor registri dispos disposeimagedescriptorregistri imagedescriptorregistri imagedescriptorregistri privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat antui model messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name antuimodelmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept construct instanc plug runtim class instanc plug runtim class automat creat facil provid ant core plug requir client explicitli instanti plug runtim class public antui plugin super plugin antuiplugin public void stop bundl context context throw except try antui imag dispos imag descriptor registri final super stop context bundlecontext antuiimag disposeimagedescriptorregistri return plug instanc return singl instanc plug runtim class public static antui plugin default return plugin antuiplugin getdefault conveni method return uniqu identifi plugin public static string uniqu identifi return pi antui getuniqueidentifi pi_antui log throwabl plug log param throwabl log public static void log throwabl statu statu statu statu error pi antui intern error error log ant ui non nl 1 log statu istatu istatu pi_antui intern_error log statu plug log param statu statu public static void log statu statu default log log statu istatu getdefault getlog write messag plug log param messag text write log public static void log string messag throwabl except statu statu error statu messag except log statu istatu newerrorstatu return code statu code plug public static statu error statu string messag throwabl except messag null messag empti string return statu statu error antui constant plugin id 0 messag except istatu istatu newerrorstatu empti_string istatu iantuiconst plugin_id protect void initi default prefer prefer store pref pref set default antui prefer constant ant find build file name build xml non nl 1 editorsui annot prefer page pref editorsui quick diff prefer page pref maco mac tool jar bug 40778 pref set default antui prefer constant ant tool jar warn fals pref set default antui prefer constant ant tool jar warn true pref set default antui prefer constant ant error dialog true pref set default antui prefer constant anteditor filter intern target fals pref set default antui prefer constant anteditor filter import element fals pref set default antui prefer constant anteditor filter properti fals pref set default antui prefer constant anteditor filter top level fals ant editor color prefer prefer convert set default pref ant editor color constant text color ant editor color constant default prefer convert set default pref ant editor color constant process instruct color ant editor color constant proc instr prefer convert set default pref ant editor color constant string color ant editor color constant string prefer convert set default pref ant editor color constant tag color ant editor color constant tag prefer convert set default pref ant editor color constant xml comment color ant editor color constant xml comment prefer convert set default pref antui prefer constant consol error color rgb 255 0 0 red exactli debug consol prefer convert set default pref antui prefer constant consol warn color rgb 250 100 0 orang prefer convert set default pref antui prefer constant consol info color rgb 0 0 255 blue prefer convert set default pref antui prefer constant consol verbos color rgb 0 200 125 green prefer convert set default pref antui prefer constant consol debug color rgb 0 0 0 black ant editor prefer constant initi default valu pref initializedefaultprefer ipreferencestor setdefault iantuipreferenceconst ant_find_build_file_name useannotationspreferencepag usequickdiffpreferencepag ismaco setdefault iantuipreferenceconst ant_tool_jar_warn setdefault iantuipreferenceconst ant_tool_jar_warn setdefault iantuipreferenceconst ant_error_dialog setdefault iantuipreferenceconst anteditor_filter_intern_target setdefault iantuipreferenceconst anteditor_filter_import_element setdefault iantuipreferenceconst anteditor_filter_properti setdefault iantuipreferenceconst anteditor_filter_top_level preferenceconvert setdefault ianteditorcolorconst text_color ianteditorcolorconst preferenceconvert setdefault ianteditorcolorconst process_instruct_color ianteditorcolorconst proc_instr preferenceconvert setdefault ianteditorcolorconst string_color ianteditorcolorconst preferenceconvert setdefault ianteditorcolorconst tag_color ianteditorcolorconst preferenceconvert setdefault ianteditorcolorconst xml_comment_color ianteditorcolorconst xml_comment preferenceconvert setdefault iantuipreferenceconst consol_error_color preferenceconvert setdefault iantuipreferenceconst consol_warn_color preferenceconvert setdefault iantuipreferenceconst consol_info_color preferenceconvert setdefault iantuipreferenceconst consol_verbos_color preferenceconvert setdefault iantuipreferenceconst consol_debug_color anteditorpreferenceconst initializedefaultvalu return standard displai method check thread call method displai displai return method return default displai public static displai standard displai displai displai displai current displai null displai displai default return displai getstandarddisplai getcurr getdefault org eclips ui plugin abstractui plugin creat imag registri protect imag registri creat imag registri return antui imag initi imag registri abstractuiplugin createimageregistri imageregistri createimageregistri antuiimag initializeimageregistri return prefer color identifi prefer public static color prefer color string pref return color manag default color prefer convert color default prefer store pref getpreferencecolor colormanag getdefault getcolor preferenceconvert getcolor getdefault getpreferencestor return activ workbench page code null code public static workbench page activ page workbench window window activ workbench window window null return window activ page return null iworkbenchpag getactivepag iworkbenchwindow getactiveworkbenchwindow getactivepag return activ workbench window code null code public static workbench window activ workbench window return default workbench activ workbench window iworkbenchwindow getactiveworkbenchwindow getdefault getworkbench getactiveworkbenchwindow return current os claim mac public static boolean maco string osnam system properti os lower case local non nl 1 return osnam index mac 1 non nl 1 ismaco getproperti tolowercas indexof public static final string ant global user classpath placehold ug non nl 1 instanc allow privat ant util super ant_global_user_classpath_placehold antutil return singl string string storag param string arrai string return singl string represent string code null code arrai empti public static string combin string string string string length 0 return null string length 1 return string 0 string buffer buf string buffer int 0 string length 1 buf append string buf append attribut separ buf append string string length 1 return buf string combinestr stringbuff stringbuff attribut_separ tostr return arrai target run code null code indic default target run param configur launch configur return arrai target name code null code throw core except unabl access attribut public static string target config launch configur configur throw core except string attribut configur attribut ant launch configur constant attr ant target string null attribut null return null return ant util pars run target attribut coreexcept gettargetsfromconfig ilaunchconfigur coreexcept getattribut iantlaunchconfigurationconst attr_ant_target antutil parseruntarget return map properti defin build code null code indic addit properti build param configur launch configur return map properti code null code throw core except unabl access attribut public static map properti launch configur configur throw core except map map configur attribut ant launch configur constant attr ant properti map null return map coreexcept getproperti ilaunchconfigur coreexcept getattribut iantlaunchconfigurationconst attr_ant_properti return string ant home build code null code param configur launch configur return string ant home code null code throw core except unabl access attribut public static string ant home launch configur configur throw core except runtim classpath entri entri java runtim comput unresolv runtim classpath configur int 0 entri length i runtim classpath entri entri entri entri type runtim classpath entri runtim classpath entri2 entri2 runtim classpath entri2 entri entri2 type id equal ant home classpath entri type id return ant home classpath entri entri2 ant home return null coreexcept getanthom ilaunchconfigur coreexcept iruntimeclasspathentri javaruntim computeunresolvedruntimeclasspath iruntimeclasspathentri gettyp iruntimeclasspathentri iruntimeclasspathentri2 iruntimeclasspathentri2 gettypeid anthomeclasspathentri type_id anthomeclasspathentri getanthom return arrai properti file build code null code indic addit properti file build param configur launch configur return arrai properti file name code null code throw core except unabl access attribut public static string properti file launch configur configur throw core except string attribut configur attribut ant launch configur constant attr ant properti file string null attribut null return null string properti file ant util pars string attribut non nl 1 int 0 properti file length string properti file properti file properti file expand variabl string properti file antui model messag string ant util 6 non nl 1 non nl 2 properti file properti file return properti file coreexcept getpropertyfil ilaunchconfigur coreexcept getattribut iantlaunchconfigurationconst attr_ant_properti_file propertyfil antutil parsestr propertyfil propertyfil propertyfil propertyfil expandvariablestr propertyfil antuimodelmessag getstr antutil propertyfil propertyfil propertyfil return list target ant build file provid path code null code target found param path locat ant build file target return list code target info code throw core except file exist io problem invalid format public static target info target string path throw core except ant runner runner ant runner runner set build file locat path return runner target ipath targetinfo coreexcept targetinfo gettarget coreexcept antrunn antrunn setbuildfileloc getavailabletarget return list target ant build file provid path argument launch configur code null code target found param path locat ant build file target param argument command line argument ant build param config launch configur ant build return list code target info code throw core except file exist io problem invalid format public static target info target string path string argument launch configur config throw core except map properti properti config string properti file properti file config ant runner runner ant runner runner set build file locat path properti null runner add user properti properti properti file null properti file length 0 runner set properti file properti file argument null argument length 0 runner set argument argument runner set custom classpath custom classpath config string ant home ant home config ant home null runner set ant home ant home return runner target ipath ilaunchconfigur targetinfo coreexcept targetinfo gettarget ilaunchconfigur coreexcept getproperti propertyfil getpropertyfil antrunn antrunn setbuildfileloc adduserproperti propertyfil propertyfil setpropertyfil propertyfil setargu setcustomclasspath getcustomclasspath anthom getanthom anthom setanthom anthom getavailabletarget return list url defin custom classpath ant build code null code global classpath param config launch configur return list code url code throw core except file exist io problem invalid format public static url custom classpath launch configur config throw core except boolean default config attribut java launch configur constant attr default classpath true default return null runtim classpath entri unresolv java runtim comput unresolv runtim classpath config don consid bootpath entri list user entri arrai list unresolv length int 0 unresolv length i runtim classpath entri entri unresolv entri classpath properti runtim classpath entri user class user entri add entri runtim classpath entri entri java runtim resolv runtim classpath runtim classpath entri user entri arrai runtim classpath entri user entri size config url url url entri length int 0 entri length i runtim classpath entri entri entri try url url file entri locat non nl 1 catch malformedurl except throw core except statu statu error antui plugin uniqu identifi antui plugin intern error antui model messag string ant util 7 non nl 1 return url coreexcept getcustomclasspath ilaunchconfigur coreexcept usedefault getattribut ijavalaunchconfigurationconst attr_default_classpath usedefault iruntimeclasspathentri javaruntim computeunresolvedruntimeclasspath userentri arraylist iruntimeclasspathentri getclasspathproperti iruntimeclasspathentri user_class userentri iruntimeclasspathentri javaruntim resolveruntimeclasspath iruntimeclasspathentri userentri toarrai iruntimeclasspathentri userentri iruntimeclasspathentri getloc malformedurlexcept coreexcept istatu antuiplugin getuniqueidentifi antuiplugin intern_error antuimodelmessag getstr antutil add ant home entri addit entri provid list custom classpath set entri ad list param config launch configur param ant home entri list add ant home entri param addit entri list add addit entri deprec method longer support delet classpath tab support public static void custom classpath launch configur config list ant home entri list addit entri string classpath string null try classpath string config attribut ant launch configur constant attr ant custom classpath string null catch core except classpath string null return string ant string null string user string null int delim classpath string index ant classpath delimit delim 1 ant string classpath string ant string classpath string substr 0 delim user string classpath string substr delim 1 entri ant home entri ant string user string null entri addit entri user string anthomeentri additionalentri getcustomclasspath ilaunchconfigur anthomeentri additionalentri classpathstr classpathstr getattribut iantlaunchconfigurationconst attr_ant_custom_classpath coreexcept classpathstr antstr userstr classpathstr indexof ant_classpath_delimit antstr classpathstr antstr classpathstr userstr classpathstr getentri anthomeentri antstr userstr getentri additionalentri userstr privat static void entri list entri string url string string entri string ant util pars string url string ant util attribut separ ant core prefer pref ant core plugin plugin prefer int 0 entri string length string string entri string string equal ant home classpath placehold entri add arrai list pref ant home classpath entri string equal ant global user classpath placehold entri add arrai list pref addit classpath entri string char 0 string string substr 1 entri add ant classpath entri string getentri urlstr entrystr antutil parsestr urlstr antutil attribut_separ antcoreprefer antcoreplugin getplugin getprefer entrystr entrystr ant_home_classpath_placehold addal aslist getanthomeclasspathentri ant_global_user_classpath_placehold addal aslist getadditionalclasspathentri charat antclasspathentri privat static string expand variabl string string variabl string string invalid messag throw core except string expand string variabl plugin default string variabl manag perform string substitut variabl string expand string null expand string length 0 string msg messag format format invalid messag string variabl string throw core except statu statu error antui constant plugin id 0 msg null return expand string expandvariablestr variablestr invalidmessag coreexcept expandedstr variablesplugin getdefault getstringvariablemanag performstringsubstitut variablestr expandedstr expandedstr messageformat invalidmessag variablestr coreexcept istatu iantuiconst plugin_id expandedstr return displai ant view open return ant view open current workbench page code null code public static ant view ant view workbench window window platformui workbench activ workbench window window null workbench page page window activ page page null return ant view page find view antui constant ant view id return null antview getantview iworkbenchwindow getworkbench getactiveworkbenchwindow iworkbenchpag getactivepag antview findview iantuiconst ant_view_id return list target name run param extra attibut extern tool extra attribut run target kei return list target name public static string pars run target string extra attibut return pars string extra attibut attribut separ extraattibutevalu parseruntarget extraattibutevalu parsestr extraattibutevalu attribut_separ return list string delimit separ param delim string string token base delimit return list string public static string pars string string delim string string delim delim string null return string 0 need handl case separ charact actual part target string token token string token delim string delim string result string token count token int 0 result length result token token return result delimstr parsestr delimstr delimstr stringtoken stringtoken delimstr counttoken nexttoken return file fulli qualifi path rel workspac root return file exist public static file file string full path workspac root root resourc plugin workspac root return root file path full path ifil ifil ifil getfil fullpath iworkspaceroot resourcesplugin getworkspac getroot getfil fullpath public static file link task link string path file build file parent path path trim path length 0 return null path start file non nl 1 remov file path path substr 5 path length format file file path line number int index path index index path length 1 remov trail path path substr 0 index index path index split file line number string file path substr 0 index file file file locat file build file parent file null try string line number path substr index 1 int line integ pars int line number return file link file null 1 1 line catch number format except return null filelink gettasklink buildfilepar startswith lastindexof lastindexof filenam ifil getfileforloc filenam buildfilepar linenumb parseint linenumb filelink numberformatexcept return workspac file path local file system code null code path happen rel path path interpret rel parent file attempt handl link file found link file correct path return param path param build file parent return file code null code org eclips core resourc workspac root find file locat path public static file file locat string path file build file parent path file path path path file file null file file resourc plugin workspac root find file locat file path file length 0 file file 0 file null rel path file rel file null try call ok build file parent null rel file file util file util resolv file build file parent path file path path rel file absolut path file resourc plugin workspac root find file locat file path file length 0 file file 0 return null catch build except return null file exist return file file io file file locat file io file exist need handl case insensit wino try file resourc plugin workspac root find file locat path io file canon path file length 0 return file 0 catch io except return null buildfilepar iworkspaceroot findfilesforloc ipath ifil getfileforloc buildfilepar ipath filepath ifil ifil resourcesplugin getworkspac getroot findfilesforloc filepath relativefil buildfilepar relativefil fileutil newfileutil resolvefil buildfilepar filepath relativefil getabsolutepath resourcesplugin getworkspac getroot findfilesforloc filepath buildexcept iofil getloc tofil iofil resourcesplugin getworkspac getroot findfilesforloc iofil getcanonicalpath ioexcept migrat classpath configur format foramt format preserv default classpath ant home set preserv param configur configur migrat throw core except unabl migrat 3 0 public static void migrat classpath format launch configur configur throw core except string classpath configur attribut ant launch configur constant attr ant custom classpath string null string ant home configur attribut ant launch configur constant attr ant home string null string provid configur attribut java launch configur constant attr classpath provid string null classpath null ant home null provid null launch configur work copi work copi null configur work copi work copi launch configur work copi configur work copi configur work copi work copi set attribut ant launch configur constant attr ant custom classpath string null work copi set attribut ant launch configur constant attr ant home string null work copi set attribut java launch configur constant attr classpath provid org eclips ant ui ant classpath provid non nl 1 work copi set attribut java launch configur constant attr default classpath true ant home null runtim classpath entri entri java runtim comput unresolv runtim classpath work copi list memento arrai list entri length int 0 entri length i runtim classpath entri entri entri entri type runtim classpath entri runtim classpath entri2 entri2 runtim classpath entri2 entri entri2 type id equal ant home classpath entri type id ant home classpath entri home entri ant home classpath entri ant home memento add home entri memento continu memento add entri memento work copi set attribut java launch configur constant attr default classpath fals work copi set attribut java launch configur constant attr classpath memento work copi save ant_home coreexcept migratetonewclasspathformat ilaunchconfigur coreexcept oldclasspath getattribut iantlaunchconfigurationconst attr_ant_custom_classpath oldanthom getattribut iantlaunchconfigurationconst attr_ant_home getattribut ijavalaunchconfigurationconst attr_classpath_provid oldclasspath oldanthom ilaunchconfigurationworkingcopi workingcopi isworkingcopi workingcopi ilaunchconfigurationworkingcopi workingcopi getworkingcopi workingcopi setattribut iantlaunchconfigurationconst attr_ant_custom_classpath workingcopi setattribut iantlaunchconfigurationconst attr_ant_home workingcopi setattribut ijavalaunchconfigurationconst attr_classpath_provid antclasspathprovid workingcopi setattribut ijavalaunchconfigurationconst attr_default_classpath oldanthom iruntimeclasspathentri javaruntim computeunresolvedruntimeclasspath workingcopi arraylist iruntimeclasspathentri gettyp iruntimeclasspathentri iruntimeclasspathentri2 iruntimeclasspathentri2 gettypeid anthomeclasspathentri type_id anthomeclasspathentri homeentri anthomeclasspathentri oldanthom homeentri getmemento getmemento workingcopi setattribut ijavalaunchconfigurationconst attr_default_classpath workingcopi setattribut ijavalaunchconfigurationconst attr_classpath workingcopi dosav privat static color manag fg color manag privat color manag colormanag fgcolormanag colormanag public static color manag default fg color manag null fg color manag color manag return fg color manag colormanag getdefault fgcolormanag fgcolormanag colormanag fgcolormanag public color color rgb rgb color color color color tabl rgb color null color color displai current rgb color tabl put rgb color return color getcolor fcolort getcurr fcolort public void dispos iter color tabl valu iter color dispos fcolort hasnext creat imag descriptor registri current default displai public imag descriptor registri antui plugin standard displai imagedescriptorregistri antuiplugin getstandarddisplai creat imag descriptor registri displai imag manag registri dispos displai dispos param displai displai imag manag registri alloc public imag descriptor registri displai displai displai displai assert null displai hook displai imagedescriptorregistri fdisplai isnotnul fdisplai hookdisplai return imag imag descriptor param descriptor imag descriptor registri manag imag return imag imag descriptor code null code imag descriptor creat request imag public imag imag descriptor descriptor descriptor null descriptor imag descriptor miss imag descriptor imag result imag registri descriptor result null return result assert true displai antui plugin standard displai antui model messag string imag descriptor registri alloc imag wrong displai 1 non nl 1 result descriptor creat imag result null registri put descriptor result return result imagedescriptor imagedescriptor getmissingimagedescriptor fregistri istru fdisplai antuiplugin getstandarddisplai antuimodelmessag getstr imagedescriptorregistri alloc_imag_for_wrong_displai_1 createimag fregistri dispos imag manag registri public void dispos iter iter registri valu iter iter imag imag imag iter imag dispos registri clear fregistri hasnext fregistri privat void hook displai displai dispos exec runnabl public void run dispos hookdisplai fdisplai disposeexec privat void hook displai displai dispos exec runnabl public void run dispos hookdisplai fdisplai disposeexec privat map check box hash map privat select listen check box listen select listen public void widget default select select event fcheckbox hashmap selectionlisten fcheckboxlisten selectionlisten widgetdefaultselect selectionev public void widget default select select event public void widget select select event button button button widget overlai store set string check box button button select widgetdefaultselect selectionev widgetselect selectionev foverlaystor setvalu fcheckbox getselect privat map text field hash map privat modifi listen text field listen modifi listen public void modifi text modifi event text text text widget overlai store set string text field text text text ftextfield hashmap modifylisten ftextfieldlisten modifylisten modifytext modifyev foverlaystor setvalu ftextfield gettext privat map number field hash map privat modifi listen number field listen modifi listen public void modifi text modifi event number field chang text widget fnumberfield hashmap modifylisten fnumberfieldlisten modifylisten modifytext modifyev numberfieldchang public abstract ant editor prefer page super set prefer store antui plugin default prefer store overlai store creat overlai store abstractanteditorpreferencepag setpreferencestor antuiplugin getdefault getpreferencestor foverlaystor createoverlaystor protect abstract overlai prefer store creat overlai store overlaypreferencestor createoverlaystor org eclips ui workbench prefer page init org eclips ui workbench public void init workbench workbench iworkbenchpreferencepag iworkbench iworkbench protect void initi field map check box check box map text field text field iter check box kei set iter button button string kei string check box b set select overlai store boolean kei text field kei set iter text text string kei string text field t set text overlai store string kei initializefield checkbox getcheckbox textfield gettextfield checkbox keyset hasnext checkbox setselect getoverlaystor getboolean textfield keyset hasnext textfield settext getoverlaystor getstr public boolean perform ok overlai store propag antui plugin default save plugin prefer return true performok getoverlaystor antuiplugin getdefault savepluginprefer protect overlai prefer store overlai store return overlai store overlaypreferencestor getoverlaystor foverlaystor protect overlai prefer store set overlai store return overlai store overlaypreferencestor setoverlaystor foverlaystor protect map check box return check box getcheckbox fcheckbox protect map text field return text field gettextfield ftextfield protect map number field return number field getnumberfield fnumberfield protect void perform default overlai store load default initi field handl default super perform default performdefault getoverlaystor loaddefault initializefield handledefault performdefault protect abstract void handl default handledefault public void dispos overlai store null overlai store stop overlai store null super dispos getoverlaystor getoverlaystor foverlaystor protect button add check box composit parent string label text string kei int indent button check box button parent swt check check box set text label text check box set font parent font grid data gd grid data grid data horizont align begin gd horizont indent indent gd horizont span 2 check box set layout data gd check box add select listen check box listen check box put check box kei return check box addcheckbox labeltext checkbox checkbox settext labeltext checkbox setfont getfont griddata griddata griddata horizont_align_begin horizontalind horizontalspan checkbox setlayoutdata checkbox addselectionlisten fcheckboxlisten getcheckbox checkbox checkbox protect control add text field composit composit string label text string kei int text limit int indent string error messag font font composit font label label label composit swt label set text label text label set font font grid data gd grid data grid data horizont align begin gd horizont indent indent label set layout data gd text text control text composit swt border swt singl text control set font font gd grid data grid data horizont align begin gd width hint convert width char pixel text limit 1 text control set layout data gd text control set text limit text limit text field put text control kei error messag null number field put text control error messag text control add modifi listen number field listen text control add modifi listen text field listen return text control addtextfield labeltext textlimit errormessag getfont settext labeltext setfont griddata griddata griddata horizont_align_begin horizontalind setlayoutdata textcontrol textcontrol setfont griddata griddata horizont_align_begin widthhint convertwidthincharstopixel textlimit textcontrol setlayoutdata textcontrol settextlimit textlimit gettextfield textcontrol errormessag getnumberfield textcontrol errormessag textcontrol addmodifylisten fnumberfieldlisten textcontrol addmodifylisten ftextfieldlisten textcontrol privat void number field chang text text control string number text control text statu statu valid posit number number string number field text control statu match statu error overlai store set string text field text control number updat statu statu numberfieldchang textcontrol textcontrol gettext istatu validatepositivenumb getnumberfield textcontrol istatu getoverlaystor setvalu gettextfield textcontrol updatestatu privat statu valid posit number string number string error messag statu info statu statu info number length 0 statu set error error messag 0 try int integ pars int number 0 statu set error messag format format error messag 1 string number non nl 1 catch number format except statu set error messag format format error messag 1 string number non nl 1 return statu istatu validatepositivenumb errormessag statusinfo statusinfo seterror errormessag parseint seterror messageformat errormessag numberformatexcept seterror messageformat errormessag privat void updat statu statu statu statu match statu error set kei number field kei set iter iter kei iter iter text text text iter statu valid posit number text text string number field text statu sever statu sever statu set valid statu match statu error appli statu line statu updatestatu istatu istatu getnumberfield keyset hasnext istatu validatepositivenumb gettext getnumberfield getsever getsever setvalid istatu applytostatuslin privat void appli statu line dialog page page statu statu string messag statu messag switch statu sever case statu ok page set messag messag messag provid page set error messag null break case statu warn page set messag messag messag provid warn page set error messag null break case statu info page set messag messag messag provid inform page set error messag null break default messag length 0 messag null page set messag null page set error messag messag break applytostatuslin dialogpag istatu getmessag getsever istatu setmessag imessageprovid seterrormessag istatu setmessag imessageprovid seterrormessag istatu setmessag imessageprovid seterrormessag setmessag seterrormessag return arrai size 2 element type code label code element type code text code code label control code code text control code 2 control protect control add label text field composit composit string label string kei int text limit int indent string error messag label label control label composit swt label control set text label label control set font composit font grid data gd grid data grid data horizont align begin gd horizont indent indent label control set layout data gd text text control text composit swt border swt singl gd grid data grid data horizont align begin gd width hint convert width char pixel text limit 1 text control set layout data gd text control set text limit text limit text control set font composit font text field put text control kei error messag null number field put text control error messag text control add modifi listen number field listen text control add modifi listen text field listen return control label control text control getlabelcontrol gettextcontrol addlabelledtextfield textlimit errormessag labelcontrol labelcontrol settext labelcontrol setfont getfont griddata griddata griddata horizont_align_begin horizontalind labelcontrol setlayoutdata textcontrol griddata griddata horizont_align_begin widthhint convertwidthincharstopixel textlimit textcontrol setlayoutdata textcontrol settextlimit textlimit textcontrol setfont getfont ftextfield textcontrol errormessag fnumberfield textcontrol errormessag textcontrol addmodifylisten fnumberfieldlisten textcontrol addmodifylisten ftextfieldlisten labelcontrol textcontrol protect string load preview content file string filenam string line string separ system properti line separ non nl 1 string buffer buffer string buffer 512 buffer reader reader null try reader buffer reader input stream reader class resourc stream filenam line reader read line null buffer append line buffer append separ catch io except io antui plugin log io final reader null try reader close catch io except return buffer string loadpreviewcontentfromfil getproperti stringbuff stringbuff bufferedread bufferedread inputstreamread getclass getresourceasstream readlin ioexcept antuiplugin ioexcept tostr org eclips ant intern ui prefer classpath entri entri public ant classpath entri entri return ant classpath entri child entri arrai ant classpath entri child entri size iclasspathentri getentri iantclasspathentri getentri iantclasspathentri childentri toarrai iantclasspathentri childentri org eclips ant intern ui prefer classpath entri entri public boolean entri return child entri empti iclasspathentri hasentri hasentri childentri isempti org eclips ant intern ui prefer classpath entri parent public classpath entri parent return parent iclasspathentri getpar iclasspathentri getpar param parent parent set public void set parent classpath entri parent parent parent setpar iclasspathentri org eclips ant core ant classpath entri entryurl public url entryurl return null iantclasspathentri getentryurl getentryurl org eclips ant core ant classpath entri label public string label return string iantclasspathentri getlabel getlabel tostr org eclips ant core ant classpath entri eclips runtim requir public boolean eclips runtim requir return true iantclasspathentri iseclipseruntimerequir iseclipseruntimerequir creat dialog shell titl public add custom dialog shell parent list librari entri list exist name string help context super parent librari entri librari entri exist name exist name help context help context addcustomdialog libraryentri existingnam helpcontext libraryentri libraryentri existingnam existingnam helpcontext helpcontext protect control creat dialog area composit parent composit top composit composit super creat dialog area parent top composit set size top composit comput size swt default swt default creat group top composit label top composit swt null creat root directori group top composit creat file select group top composit librari null set sourc librari label return top composit createdialogarea topcomposit createdialogarea topcomposit setsiz topcomposit computes createnamegroup topcomposit topcomposit createrootdirectorygroup topcomposit createfileselectiongroup topcomposit setsourcenam getlabel topcomposit field set text name field add modifi listen modifi listen public void modifi text modifi event updat statu namefield settext namefield addmodifylisten modifylisten modifytext modifyev updatestatu privat void creat group composit top composit composit contain group composit top composit swt grid layout layout grid layout layout num column 2 layout margin height 0 layout margin width 0 contain group set layout layout contain group set font top composit font contain group set layout data grid data grid data horizont align fill grid data grab horizont label label label contain group swt label set font top composit font label set text ant prefer messag string add custom dialog 3 non nl 1 field text contain group swt border grid data data grid data grid data fill horizont data width hint dialog constant entri field width field set layout data data field set font top composit font field set text name field add modifi listen modifi listen public void modifi text modifi event updat statu createnamegroup topcomposit namecontainergroup topcomposit gridlayout gridlayout numcolumn marginheight marginwidth namecontainergroup setlayout namecontainergroup setfont topcomposit getfont namecontainergroup setlayoutdata griddata griddata horizont_align_fill griddata grab_horizont namecontainergroup setfont topcomposit getfont settext antpreferencesmessag getstr addcustomdialog name__3 namefield namecontainergroup griddata griddata griddata fill_horizont widthhint idialogconst entri_field_width namefield setlayoutdata namefield setfont topcomposit getfont namefield settext namefield addmodifylisten modifylisten modifytext modifyev updatestatu org eclips jface window window configur shell org eclips swt widget shell protect void configur shell shell shell super configur shell shell workbench help set help shell help context configureshel configureshel newshel configureshel newshel workbenchhelp sethelp newshel helpcontext clear cach structur provid final properli privat void clear provid cach provid cach null close zip file provid cach zip file provid cach null clearprovidercach providercach closezipfil providercach getzipfil providercach attempt close pass zip file answer boolean indic success privat boolean close zip file zip file file try file close catch io except antui plugin log messag format format ant prefer messag string add custom dialog close zip file 0 4 string file non nl 1 return fals return true closezipfil zipfil ioexcept antuiplugin messageformat antpreferencesmessag getstr addcustomdialog could_not_close_zip_file_ _4 getnam sourc field add select listen select adapt public void widget select select event updat sourc field sourcenamefield addselectionlisten selectionadapt widgetselect selectionev updatefromsourcefield kei listen kei press public void kei press kei event kei press mark dirti entri chang true keylisten keypress keypress keyev entrychang public void focu lost focu event clear flag prevent constant updat entri chang entri chang fals updat sourc field focuslost focusev entrychang entrychang updatefromsourcefield creat group creat root directori privat void creat root directori group composit parent composit sourc contain group composit parent swt grid layout layout grid layout layout num column 2 layout margin height 0 layout margin width 0 sourc contain group set layout layout sourc contain group set font parent font sourc contain group set layout data grid data grid data horizont align fill grid data grab horizont label group label label sourc contain group swt group label set text ant prefer messag string add custom dialog locat non nl 1 group label set font parent font sourc entri field sourc field combo sourc contain group swt border swt read grid data data grid data grid data horizont align fill grid data grab horizont data width hint dialog constant entri field width sourc field set layout data data sourc field set font parent font sourc field add select listen select adapt public void widget select select event updat sourc field iter librari librari entri iter librari classpath entri entri classpath entri librari sourc field add entri label sourc field add kei listen kei adapt kei listen kei press public void kei press kei event kei press mark dirti entri chang true sourc field add focu listen focu adapt focu listen focu lost focu event public void focu lost focu event clear flag prevent constant updat entri chang entri chang fals updat sourc field createrootdirectorygroup sourcecontainergroup gridlayout gridlayout numcolumn marginheight marginwidth sourcecontainergroup setlayout sourcecontainergroup setfont getfont sourcecontainergroup setlayoutdata griddata griddata horizont_align_fill griddata grab_horizont grouplabel sourcecontainergroup grouplabel settext antpreferencesmessag getstr addcustomdialog grouplabel setfont getfont sourcenamefield sourcecontainergroup read_onli griddata griddata griddata horizont_align_fill griddata grab_horizont widthhint idialogconst entri_field_width sourcenamefield setlayoutdata sourcenamefield setfont getfont sourcenamefield addselectionlisten selectionadapt widgetselect selectionev updatefromsourcefield libraryentri hasnext classpathentri classpathentri sourcenamefield getlabel sourcenamefield addkeylisten keyadapt keylisten keypress keypress keyev entrychang sourcenamefield addfocuslisten focusadapt focuslisten focuslost focusev focuslost focusev entrychang entrychang updatefromsourcefield updat receiv sourc field privat void updat sourc field set sourc sourc field text updat statu updatefromsourcefield setsourcenam sourcenamefield gettext updatestatu check field valu displai messag statu need privat void updat statu statu info statu statu info string custom name field text trim custom length 0 statu set error error msg edit iter name exist name iter name string string name equal custom statu set error messag format format exist error msg string custom updat statu statu return select group list tabl select empti statu set error ant prefer messag string add custom dialog select non nl 1 updat statu statu updatestatu statusinfo statusinfo customnam namefield gettext customnam seterror nonameerrormsg existingnam hasnext anam anam customnam seterror messageformat alreadyexistserrormsg customnam updatestatu selectiongroup getlisttableselect isempti seterror antpreferencesmessag getstr addcustomdialog mustselect updatestatu set sourc import suppli path add the path list item sourc combo select param path path ad privat void set sourc string path path length 0 string current item sourc field item int select index 1 int 0 current item length current item equal path select index break select index 0 int length current item length string item string length 1 system arraycopi current item 0 item 0 length item length path sourc field set item item select index length sourc field select select index reset select setsourcenam currentitem sourcenamefield getitem selectionindex currentitem currentitem selectionindex selectionindex oldlength currentitem newitem oldlength currentitem newitem oldlength newitem oldlength sourcenamefield setitem newitem selectionindex oldlength sourcenamefield selectionindex resetselect select chang listen listen select chang listen public void select chang select chang event event updat statu iselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev updatestatu select group add doubl click listen doubl click listen public void doubl click doubl click event event button dialog constant ok id enabl button press dialog constant ok id selectiongroup adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev getbutton idialogconst ok_id isen buttonpress idialogconst ok_id privat void creat file select group composit parent creat dummi root file system element dummi root file system element dummi null true non nl 1 select group tree list group parent dummi root folder provid workbench label provid file provid workbench label provid swt 400 150 fals select chang listen listen select chang listen public void select chang select chang event event updat statu workbench viewer sorter sorter workbench viewer sorter select group set tree sorter sorter select group set list sorter sorter select group add select chang listen listen select group add doubl click listen doubl click listen public void doubl click doubl click event event button dialog constant ok id enabl button press dialog constant ok id createfileselectiongroup filesystemel dummyroot filesystemel selectiongroup treeandlistgroup dummyroot getfolderprovid workbenchlabelprovid getfileprovid workbenchlabelprovid iselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev updatestatu workbenchviewersort workbenchviewersort selectiongroup settreesort selectiongroup setlistsort selectiongroup addselectionchangedlisten selectiongroup adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev getbutton idialogconst ok_id isen buttonpress idialogconst ok_id return sourc exist valid proper format protect boolean ensur sourc valid zip file file sourc file file null return fals return close zip file file ensuresourceisvalid zipfil specifiedfil getspecifiedsourcefil specifiedfil closezipfil specifiedfil answer root file system element repres content zip file file system element defin creat return privat minim file system element file system tree import structur provid provid null minim file system element element null zip file sourc file sourc file sourc file null file file file sourc field text file exist provid file system structur provid instanc element select file file provid zip file set locat provid structur provid sourc file element select file zip file structur provid provid root provid current provid provid return element filesystemel filesystemel minimizedfilesystemel getfilesystemtre iimportstructureprovid minimizedfilesystemel zipfil sourcefil getspecifiedsourcefil sourcefil sourcenamefield gettext filesystemstructureprovid selectfil getstructureprovid sourcefil selectfil zipfilestructureprovid getroot currentprovid busi indic show shell displai runnabl public void run creat root element suppli file system object result 0 creat root element root file system object structur provid busyind showwhil getshel getdisplai createrootel rootfilesystemobject structureprovid invok file select oper file system structur provid user specifi file select cach later retriev return privat minim file system element select file final object root file system object final import structur provid structur provid final minim file system element result minim file system element 1 busi indic show shell displai runnabl public void run creat root element suppli file system object result 0 creat root element root file system object structur provid return result 0 minimizedfilesystemel selectfil rootfilesystemobject iimportstructureprovid structureprovid minimizedfilesystemel minimizedfilesystemel busyind showwhil getshel getdisplai createrootel rootfilesystemobject structureprovid creat return code minim file system element code file system object merit privat minim file system element creat root element object file system object import structur provid provid boolean contain provid folder file system object string element label provid label file system object empti label displai element full doesn includ confus label minim file system element dummi parent minim file system element null true non nl 1 dummi parent set popul minim file system element result minim file system element element label dummi parent contain result set file system object file system object file element build level result file provid return dummi parent minimizedfilesystemel minimizedfilesystemel createrootel filesystemobject iimportstructureprovid iscontain isfold filesystemobject elementlabel getlabel filesystemobject minimizedfilesystemel dummypar minimizedfilesystemel dummypar setpopul minimizedfilesystemel minimizedfilesystemel elementlabel dummypar iscontain setfilesystemobject filesystemobject getfil dummypar answer handl zip file sourc return code null code file exist valid format privat zip file sourc file try string expand sourc field text expand variabl plugin default string variabl manag perform string substitut expand return zip file expand catch zip except statu info statu statu info statu set error ant prefer messag string add custom dialog bad format non nl 1 updat statu statu catch io except statu info statu statu info statu set error ant prefer messag string add custom dialog unread non nl 1 updat statu statu catch core except statu info statu statu info statu set error ant prefer messag string add custom dialog 13 non nl 1 updat statu statu sourc field set focu return null zipfil getspecifiedsourcefil sourcenamefield gettext variablesplugin getdefault getstringvariablemanag performstringsubstitut zipfil zipexcept statusinfo statusinfo seterror antpreferencesmessag getstr addcustomdialog bad_format updatestatu ioexcept statusinfo statusinfo seterror antpreferencesmessag getstr addcustomdialog updatestatu coreexcept statusinfo statusinfo seterror antpreferencesmessag getstr addcustomdialog updatestatu sourcenamefield setfocu return structur provid zip file privat zip file structur provid structur provid zip file target zip provid cach null provid cach zip file structur provid target zip provid cach zip file equal target zip clear provid cach final remov provid cach zip file structur provid target zip provid cach zip file equal target zip close zip file target zip duplic handl zip return provid cach zipfilestructureprovid getstructureprovid zipfil targetzip providercach providercach zipfilestructureprovid targetzip providercach getzipfil getnam targetzip getnam clearprovidercach providercach zipfilestructureprovid targetzip providercach getzipfil targetzip closezipfil targetzip providercach repopul view base enter directori privat void reset select minim file system element current root file system tree select group set root current root class length 0 string token token string token class non nl 1 select class current root token resetselect minimizedfilesystemel currentroot getfilesystemtre selectiongroup setroot currentroot classnam stringtoken stringtoken classnam selectclass currentroot privat void select class minim file system element current parent string token token token token return list folder current parent folder current provid folder size 1 minim file system element element minim file system element folder 0 element label null equal non nl 1 select group select reveal folder element select class element token return string current token token token token iter folder folder iter folder minim file system element folder minim file system element folder folder label null equal current select group select reveal folder folder select class folder token return list file current parent file current provid iter iter file iter iter minim file system element file minim file system element iter file label null equal current class non nl 1 select group select reveal file file return selectclass minimizedfilesystemel currentpar stringtoken hasmoretoken currentpar getfold currentprovid minimizedfilesystemel minimizedfilesystemel getlabel selectiongroup selectandrevealfold selectclass currentnam nexttoken hasmoretoken allfold allfold hasnext minimizedfilesystemel minimizedfilesystemel allfold getlabel currentnam selectiongroup selectandrevealfold selectclass currentpar getfil currentprovid hasnext minimizedfilesystemel minimizedfilesystemel getlabel currentnam selectiongroup selectandrevealfil return workbench content provid public object children object o instanceof minim file system element minim file system element element minim file system element return element file current provid arrai return object 0 workbenchcontentprovid getchildren minimizedfilesystemel minimizedfilesystemel minimizedfilesystemel getfil currentprovid toarrai return content provid code minim file system element code return file children privat tree content provid file provid return workbench content provid public object children object o instanceof minim file system element minim file system element element minim file system element return element file current provid arrai return object 0 minimizedfilesystemel itreecontentprovid getfileprovid workbenchcontentprovid getchildren minimizedfilesystemel minimizedfilesystemel minimizedfilesystemel getfil currentprovid toarrai return workbench content provid public object children object o instanceof minim file system element minim file system element element minim file system element return element folder current provid arrai return object 0 workbenchcontentprovid getchildren minimizedfilesystemel minimizedfilesystemel minimizedfilesystemel getfold currentprovid toarrai public boolean children object o instanceof minim file system element minim file system element element minim file system element element popul return children element length 0 popul wait ask return true return fals haschildren minimizedfilesystemel minimizedfilesystemel minimizedfilesystemel ispopul getchildren return content provid code minim file system element code return folder children privat tree content provid folder provid return workbench content provid public object children object o instanceof minim file system element minim file system element element minim file system element return element folder current provid arrai return object 0 public boolean children object o instanceof minim file system element minim file system element element minim file system element element popul return children element length 0 popul wait ask return true return fals minimizedfilesystemel itreecontentprovid getfolderprovid workbenchcontentprovid getchildren minimizedfilesystemel minimizedfilesystemel minimizedfilesystemel getfold currentprovid toarrai haschildren minimizedfilesystemel minimizedfilesystemel minimizedfilesystemel ispopul getchildren org eclips jface dialog dialog cancel press protect void cancel press clear provid cach super cancel press cancelpress cancelpress clearprovidercach cancelpress protect void ok press clear provid cach name field text trim librari classpath entri librari entri sourc field select index structur select select select group list tabl select minim file system element element minim file system element select element element null super ok press return object file element file system object file instanceof zip entri class zip entri file class file file absolut path path class path path class path librari path path librari entryurl path int match class path match segment librari path class path class path remov segment match class path class path set devic null class class path string int index class index class class substr 0 index class class replac super ok press okpress clearprovidercach namefield gettext classpathentri libraryentri sourcenamefield getselectionindex istructuredselect selectiongroup getlisttableselect minimizedfilesystemel minimizedfilesystemel getfirstel okpress getfilesystemobject zipentri classnam zipentri getnam classnam getabsolutepath ipath classpath classnam ipath librarypath getentryurl getpath classpath matchingfirstseg librarypath classpath classpath removefirstseg classpath classpath setdevic classnam classpath tostr classnam lastindexof classnam classnam classnam classnam okpress protect string return getnam protect void set string name setnam protect void set librari entri ant classpath entri librari librari librari edit true setlibraryentri iantclasspathentri protect ant classpath entri librari entri return librari iantclasspathentri getlibraryentri protect string class return class getclassnam classnam protect void set class string class class class setclassnam classnam classnam classnam org eclips jface window window creat public void creat super creat button dialog constant ok id set enabl librari null getbutton idialogconst ok_id seten protect void set exist error msg string exist error msg exist error msg exist error msg setalreadyexistserrormsg alreadyexistserrormsg alreadyexistserrormsg alreadyexistserrormsg protect void set error msg string error msg error msg error msg setnonameerrormsg nonameerrormsg nonameerrormsg nonameerrormsg public add properti dialog shell shell string titl string initi valu super shell titl titl initi valu initi valu addpropertydialog initialvalu ftitl finitialvalu initialvalu protect control creat dialog area composit parent composit comp composit super creat dialog area parent grid layout comp layout num column 2 label label comp swt label set text ant prefer messag string add properti dialog 1 non nl 1 label set font comp font text text comp swt border swt singl text set text initi valu 0 grid data gd grid data grid data fill horizont gd width hint 300 text set layout data gd text set font comp font text add modifi listen modifi listen public void modifi text modifi event updat button label label comp swt label set text ant prefer messag string add properti dialog 2 non nl 1 label set font comp font text text comp swt border swt singl text set text initi valu 1 gd grid data grid data fill horizont gd width hint 300 text set layout data gd text set font comp font text add modifi listen modifi listen public void modifi text modifi event updat button button variabl button button comp swt push variabl button set text ant prefer messag string add properti dialog 2 non nl 1 gd grid data grid data horizont align end gd horizont span 2 gd height hint convert verticaldl pixel dialog constant button height int width hint convert horizontaldl pixel dialog constant button width gd width hint math max width hint variabl button comput size swt default swt default true variabl button set layout data gd variabl button set font comp font variabl button add select listen select adapt public void widget select select event se variabl return comp createdialogarea createdialogarea gridlayout getlayout numcolumn fnamelabel fnamelabel settext antpreferencesmessag getstr addpropertydialog name__1 fnamelabel setfont getfont fnametext fnametext settext finitialvalu griddata griddata griddata fill_horizont widthhint fnametext setlayoutdata fnametext setfont getfont fnametext addmodifylisten modifylisten modifytext modifyev updatebutton fvaluelabel fvaluelabel settext antpreferencesmessag getstr addpropertydialog valu__2 fvaluelabel setfont getfont fvaluetext fvaluetext settext finitialvalu griddata griddata fill_horizont widthhint fvaluetext setlayoutdata fvaluetext setfont getfont fvaluetext addmodifylisten modifylisten modifytext modifyev updatebutton variablesbutton variablesbutton settext antpreferencesmessag getstr addpropertydialog griddata griddata horizont_align_end horizontalspan heighthint convertverticaldlustopixel idialogconst button_height widthhint converthorizontaldlustopixel idialogconst button_width widthhint widthhint variablesbutton computes variablesbutton setlayoutdata variablesbutton setfont getfont variablesbutton addselectionlisten selectionadapt widgetselect selectionev getvari protect void variabl string variabl select dialog variabl dialog string variabl select dialog shell int return code variabl dialog open return code dialog constant ok id string variabl variabl dialog variabl express variabl null text append variabl trim getvari stringvariableselectiondialog variablesdialog stringvariableselectiondialog getshel returncod variablesdialog returncod idialogconst ok_id variablesdialog getvariableexpress fvaluetext return pair enter dialog cancel button hit code null code public string pair return string getnamevaluepair fname fvalu protect void button press int button id button id dialog constant ok id name text text valu text text null null super button press button id buttonpress buttonid buttonid idialogconst ok_id fname fnametext gettext fvalu fvaluetext gettext fname fvalu buttonpress buttonid protect void configur shell shell shell super configur shell shell titl null shell set text titl initi valu 0 length 0 workbench help set help shell antui help context id add properti dialog workbench help set help shell antui help context id edit properti dialog configureshel configureshel ftitl settext ftitl finitialvalu workbenchhelp sethelp iantuihelpcontextid add_properti_dialog workbenchhelp sethelp iantuihelpcontextid edit_properti_dialog enabl ok button valid input protect void updat button string name text text trim string valu text text trim button dialog constant ok id set enabl length 0 length 0 updatebutton fnametext gettext fvaluetext gettext getbutton idialogconst ok_id seten enabl button creation org eclips jface window window creat public void creat super creat updat button updatebutton privat select listen select listen select adapt public void widget select select event object sourc sourc sourc addjar button add jar sourc add externaljar button add extern jar sourc add folder button add folder non nl 1 button sourc handl move button sourc handl move remov button sourc remov add variabl button sourc add variabl ant home button sourc brows ant home selectionlisten selectionlisten selectionadapt widgetselect selectionev getsourc addjarbutton addjar addexternaljarbutton addexternaljar addfolderbutton addfold upbutton handlemoveup downbutton handlemovedown removebutton addvariablebutton addvari anthomebutton browseanthom public void set contain ant block contain contain contain contain setcontain iantblockcontain privat void add button button group composit parent button contain creat push button parent ant prefer messag string ant classpath block button titl non nl 1 button add select listen select listen button contain creat push button parent ant prefer messag string ant classpath block button titl non nl 1 button add select listen select listen remov button contain creat push button parent ant prefer messag string ant classpath block remov button titl non nl 1 remov button add select listen select listen addjar button contain creat push button parent ant prefer messag string ant classpath block add jar button titl non nl 1 addjar button add select listen select listen add externaljar button contain creat push button parent ant prefer messag string ant classpath block 42 non nl 1 add externaljar button add select listen select listen add folder button contain creat push button parent ant prefer messag string ant classpath block add folder button titl non nl 1 add folder button add select listen select listen add variabl button contain creat push button parent ant prefer messag string ant classpath block 2 non nl 1 add variabl button add select listen select listen ant home button contain creat push button parent ant prefer messag string ant classpath block 30 non nl 1 ant home button add select listen select listen addbuttonstobuttongroup upbutton createpushbutton antpreferencesmessag getstr antclasspathblock upbuttontitl upbutton addselectionlisten selectionlisten downbutton createpushbutton antpreferencesmessag getstr antclasspathblock downbuttontitl downbutton addselectionlisten selectionlisten removebutton createpushbutton antpreferencesmessag getstr antclasspathblock removebuttontitl removebutton addselectionlisten selectionlisten addjarbutton createpushbutton antpreferencesmessag getstr antclasspathblock addjarbuttontitl addjarbutton addselectionlisten selectionlisten addexternaljarbutton createpushbutton antpreferencesmessag getstr antclasspathblock addexternaljarbutton addselectionlisten selectionlisten addfolderbutton createpushbutton antpreferencesmessag getstr antclasspathblock addfolderbuttontitl addfolderbutton addselectionlisten selectionlisten addvariablebutton createpushbutton antpreferencesmessag getstr antclasspathblock addvariablebutton addselectionlisten selectionlisten anthomebutton createpushbutton antpreferencesmessag getstr antclasspathblock anthomebutton addselectionlisten selectionlisten return select item list order displai return target action privat list order select classpath entri parent list target arrai list list select structur select tree viewer select list ant classpath entri entri parent entri int 0 entri length i ant classpath entri target entri select target target add target return target getorderedselect iclasspathentri arraylist istructuredselect treeview getselect tolist iantclasspathentri getentri iantclasspathentri privat void handl move list target order select current parent list list arrai list arrai list current parent entri int bottom list size 1 int index 0 int target size 1 0 object target target index list index target index bottom bottom index 1 object temp list bottom list set bottom target list set index temp bottom index finish move list handlemovedown getorderedselect currentpar arraylist aslist currentpar getentri indexof finishmov privat void finish move list list ant classpath content provid viewer content provid ant classpath content provid tree viewer content provid viewer content provid set entri current parent list tree viewer refresh tree viewer set select tree viewer select updat contain finishmov antclasspathcontentprovid viewercontentprovid antclasspathcontentprovid treeview getcontentprovid viewercontentprovid setentri currentpar treeview treeview setselect treeview getselect updatecontain privat void handl move list target order select current parent int top 0 int index 0 list list arrai list arrai list current parent entri iter entri target iter entri object target entri index list index target index top top index 1 object temp list top list set top target list set index temp top index finish move list handlemoveup getorderedselect currentpar arraylist aslist currentpar getentri hasnext indexof finishmov privat void remov ant classpath content provid viewer content provid ant classpath content provid tree viewer content provid structur select sel structur select tree viewer select viewer content provid remov sel updat contain antclasspathcontentprovid viewercontentprovid antclasspathcontentprovid treeview getcontentprovid istructuredselect istructuredselect treeview getselect viewercontentprovid updatecontain user enter folder classpath privat void add folder string path dialog set antui constant dialogstor lastfold path null path resourc plugin workspac root locat too string directori dialog dialog directori dialog tree viewer control shell dialog set messag ant prefer messag string ant classpath block 1 non nl 1 dialog set filter path path string result dialog open result null try url url url file result non nl 2 non nl 1 ant classpath content provid tree viewer content provid add current parent url catch malformedurl except tree viewer set select tree viewer select dialog set put antui constant dialogstor lastfold result updat contain addfold lastusedpath dialogset iantuiconst dialogstor_lastfold lastusedpath lastusedpath resourcesplugin getworkspac getroot getloc toosstr directorydialog directorydialog treeview getcontrol getshel setmessag antpreferencesmessag getstr antclasspathblock setfilterpath lastusedpath antclasspathcontentprovid treeview getcontentprovid currentpar malformedurlexcept treeview setselect treeview getselect dialogset iantuiconst dialogstor_lastfold updatecontain privat void add extern jar string path dialog set antui constant dialogstor lastextjar path null path resourc plugin workspac root locat too string file dialog dialog file dialog tree viewer control shell swt multi dialog set filter extens string jar zip non nl 1 dialog set filter path path string result dialog open result null return path filter path path dialog filter path string result dialog file name ant classpath content provid content provid ant classpath content provid tree viewer content provid content provid set refresh enabl fals int 0 result length string jar result try path path filter path append jar absolut url url url file path too string non nl 1 content provid add current parent url catch malformedurl except content provid set refresh enabl true tree viewer set select tree viewer select dialog set put antui constant dialogstor lastextjar filter path too string updat contain addexternaljar lastusedpath dialogset iantuiconst dialogstor_lastextjar lastusedpath lastusedpath resourcesplugin getworkspac getroot getloc toosstr filedialog filedialog treeview getcontrol getshel setfilterextens setfilterpath lastusedpath ipath filterpath getfilterpath getfilenam antclasspathcontentprovid contentprovid antclasspathcontentprovid treeview getcontentprovid contentprovid setrefreshen jarnam ipath filterpath jarnam makeabsolut toosstr contentprovid currentpar malformedurlexcept contentprovid setrefreshen treeview setselect treeview getselect dialogset iantuiconst dialogstor_lastextjar filterpath toosstr updatecontain select statu valid valid select statu valid public statu valid object select select length 0 return statu statu error antui plugin uniqu identifi 0 null non nl 1 int 0 select length select instanceof file return statu statu error antui plugin uniqu identifi 0 null non nl 1 return statu statu ok antui plugin uniqu identifi 0 null non nl 1 iselectionstatusvalid iselectionstatusvalid istatu istatu antuiplugin getuniqueidentifi ifil istatu antuiplugin getuniqueidentifi istatu antuiplugin getuniqueidentifi privat void add jar list entri arrai list current parent null entri add arrai list current parent entri object entri ant content provid model entri classpath model user entri null entri add arrai list entri viewer filter filter archiv filter entri label provid lp workbench label provid tree content provid cp workbench content provid element tree select dialog dialog element tree select dialog tree viewer control shell lp cp dialog set titl ant prefer messag string ant classpath block 44 non nl 1 dialog set messag ant prefer messag string ant classpath block 45 non nl 1 dialog add filter filter dialog set input resourc plugin workspac root dialog set sorter resourc sorter resourc sorter select statu valid valid select statu valid public statu valid object select select length 0 return statu statu error antui plugin uniqu identifi 0 null non nl 1 int 0 select length select instanceof file return statu statu error antui plugin uniqu identifi 0 null non nl 1 return statu statu ok antui plugin uniqu identifi 0 null non nl 1 dialog set valid valid dialog open window ok object element dialog result ant classpath content provid content provid ant classpath content provid tree viewer content provid content provid set refresh enabl fals int 0 element length i file file file element string var express variabl plugin default string variabl manag gener variabl express workspac loc file full path string non nl 1 content provid add current parent var express content provid set refresh enabl true updat contain addjar allentri arraylist currentpar allentri addal aslist currentpar getentri antcontentprovid getmodel getentri classpathmodel allentri addal aslist viewerfilt archivefilt allentri ilabelprovid workbenchlabelprovid itreecontentprovid workbenchcontentprovid elementtreeselectiondialog elementtreeselectiondialog treeview getcontrol getshel settitl antpreferencesmessag getstr antclasspathblock setmessag antpreferencesmessag getstr antclasspathblock addfilt setinput resourcesplugin getworkspac getroot setsort resourcesort resourcesort iselectionstatusvalid iselectionstatusvalid istatu istatu antuiplugin getuniqueidentifi ifil istatu antuiplugin getuniqueidentifi istatu antuiplugin getuniqueidentifi setvalid getresult antclasspathcontentprovid contentprovid antclasspathcontentprovid treeview getcontentprovid contentprovid setrefreshen ifil ifil varexpress variablesplugin getdefault getstringvariablemanag generatevariableexpress workspac_loc getfullpath tostr contentprovid currentpar varexpress contentprovid setrefreshen updatecontain privat void updat contain valid 0 contain updat updatecontain creat group button privat void creat button group composit top composit button group composit top swt grid layout layout grid layout layout margin height 0 layout margin width 0 button group set layout layout button group set layout data grid data grid data fill vertic button group set font top font add button button group button group createbuttongroup buttongroup gridlayout gridlayout marginheight marginwidth buttongroup setlayout buttongroup setlayoutdata griddata griddata fill_vertic buttongroup setfont getfont addbuttonstobuttongroup buttongroup tree add kei listen kei adapt public void kei press kei event event event charact swt del event mask 0 remov addkeylisten keyadapt keypress keyev statemask tree viewer set label provid label provid tree viewer add select chang listen select chang listen public void select chang select chang event event tabl select chang structur select event select ant classpath content provid tree viewer content provid treeview setlabelprovid labelprovid treeview addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev tableselectionchang istructuredselect getselect antclasspathcontentprovid treeview getcontentprovid privat void creat classpath tree composit parent tree tree tree parent swt multi swt full select swt border grid data data grid data grid data fill data width hint dialog constant entri field width data height hint tree item height tree set layout data data tree set font parent font tree add kei listen kei adapt public void kei press kei event event event charact swt del event mask 0 remov ant content provid ant classpath content provid tree viewer tree viewer tree tree viewer set content provid ant content provid tree viewer set label provid label provid tree viewer add select chang listen select chang listen public void select chang select chang event event tabl select chang structur select event select ant classpath content provid tree viewer content provid createclasspathtre full_select griddata griddata griddata fill_both widthhint idialogconst entri_field_width heighthint getitemheight setlayoutdata setfont getfont addkeylisten keyadapt keypress keyev statemask antcontentprovid antclasspathcontentprovid treeview treeview treeview setcontentprovid antcontentprovid treeview setlabelprovid labelprovid treeview addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev tableselectionchang istructuredselect getselect antclasspathcontentprovid treeview getcontentprovid public void creat content composit parent creat classpath tree parent creat button group parent tabl select chang structur select tree viewer select ant content provid createcont createclasspathtre createbuttongroup tableselectionchang istructuredselect treeview getselect antcontentprovid privat void tabl select chang structur select select ant classpath content provid content provid boolean empti select empti iter select select iter boolean fals boolean fals boolean remov true select classpath entri element classpath entri select element instanceof global classpath entri global classpath entri element remov remov fals classpath entri parent element parent object child entri content provid children parent list entri arrai list child entri int entri index entri size 1 entri index element 0 true entri index element entri index true boolean add resolv current parent select empti addjar button null addjar button set enabl add add externaljar button set enabl add add folder button set enabl add add variabl button set enabl add remov button set enabl empti remov button set enabl remov empti button set enabl remov empti tableselectionchang istructuredselect antclasspathcontentprovid contentprovid notempti isempti canremov hasnext iclasspathentri iclasspathentri globalclasspathentri globalclasspathentri canberemov canremov iclasspathentri getpar childentri contentprovid getchildren aslist childentri lastentryindex indexof indexof lastentryindex canadd resolvecurrentpar notempti addjarbutton addjarbutton seten canadd addexternaljarbutton seten canadd addfolderbutton seten canadd addvariablebutton seten canadd removebutton seten notempti canremov upbutton seten canremov notempti downbutton seten canremov notempti privat boolean resolv current parent structur select select current parent null iter select select iter select object element select element instanceof classpath entri classpath entri parent classpath entri element parent current parent null current parent equal parent return fals current parent parent current parent null current parent equal element return fals current parent classpath entri element return true resolvecurrentpar istructuredselect currentpar hasnext classpathentri iclasspathentri iclasspathentri getpar currentpar currentpar currentpar currentpar currentpar currentpar iclasspathentri privat file valid ant home string path file root dir null boolean invalid true path length 0 root dir file path lib non nl 1 file parent dir root dir parent file parent dir null parent dir exist contain set error messag ant prefer messag string ant classpath block 56 non nl 1 root dir exist contain set error messag ant prefer messag string ant classpath block 7 non nl 1 invalid fals contain set error messag ant prefer messag string ant classpath block 57 non nl 1 invalid set valid return null contain set error messag null return root dir validateanthom rootdir rootdir parentdir rootdir getparentfil parentdir parentdir seterrormessag antpreferencesmessag getstr antclasspathblock rootdir seterrormessag antpreferencesmessag getstr antclasspathblock seterrormessag antpreferencesmessag getstr antclasspathblock setvalid seterrormessag rootdir privat void brows ant home string path dialog set antui constant dialogstor lastanthom path null path resourc plugin workspac root locat too string directori dialog dialog directori dialog tree viewer control shell dialog set messag ant prefer messag string ant classpath block 3 non nl 1 dialog set filter path path string path dialog open path null return ant home path path length 0 file root dir file path lib non nl 1 set ant home root dir updat contain dialog set put antui constant dialogstor lastanthom path browseanthom lastusedpath dialogset iantuiconst dialogstor_lastanthom lastusedpath lastusedpath resourcesplugin getworkspac getroot getloc toosstr directorydialog directorydialog treeview getcontrol getshel setmessag antpreferencesmessag getstr antclasspathblock setfilterpath lastusedpath anthom rootdir setanthom rootdir updatecontain dialogset iantuiconst dialogstor_lastanthom privat void set ant home file root dir ant classpath content provid content provid ant classpath content provid tree viewer content provid content provid set refresh enabl fals content provid remov global ant classpath entri string name root dir list name null arrai sort name int 0 name length file file file root dir name file file file path end jar non nl 1 try url url url file file absolut path non nl 1 content provid add classpath model ant home url catch malformedurl except content provid set refresh enabl true updat contain setanthom rootdir antclasspathcontentprovid contentprovid antclasspathcontentprovid treeview getcontentprovid contentprovid setrefreshen contentprovid removeallglobalantclasspathentri rootdir rootdir isfil getpath endswith getabsolutepath contentprovid classpathmodel ant_home malformedurlexcept contentprovid setrefreshen updatecontain public string ant home return ant home getanthom anthom public void initi ant home string ant home string ant home ant home string initializeanthom anthomestr anthom anthomestr public void set input classpath model model tree viewer set input model valid 0 setinput classpathmodel treeview setinput public boolean valid ant home valid return valid ant home ant home null validateanthom validateanthom anthom public imag classpath imag return label provid classpath imag getclasspathimag labelprovid getclasspathimag public boolean valid toolsjar valid boolean check antui plugin default prefer store boolean antui prefer constant ant tool jar warn check antui plugin maco object entri ant content provid model entri classpath model ant home boolean valid jar present entri tool empti valid entri ant content provid model entri classpath model global user valid jar present entri tool empti valid entri ant content provid model entri classpath model user valid jar present entri tool empti valid messag dialog toggl dialog messag dialog toggl open ye question antui plugin activ workbench window shell ant prefer messag string ant classpath block 31 ant prefer messag string ant classpath block 32 ant prefer messag string ant classpath block 33 fals antui plugin default prefer store antui prefer constant ant tool jar warn non nl 1 non nl 2 non nl 3 valid dialog return code dialog constant ye id valid contain set error messag ant prefer messag string ant classpath block 34 non nl 1 set valid return valid return true validatetoolsjar antuiplugin getdefault getpreferencestor getboolean iantuipreferenceconst ant_tool_jar_warn antuiplugin ismaco antcontentprovid getmodel getentri classpathmodel ant_home jarpres isempti antcontentprovid getmodel getentri classpathmodel global_user jarpres isempti antcontentprovid getmodel getentri classpathmodel jarpres isempti messagedialogwithtoggl messagedialogwithtoggl openyesnoquest antuiplugin getactiveworkbenchwindow getshel antpreferencesmessag getstr antclasspathblock antpreferencesmessag getstr antclasspathblock antpreferencesmessag getstr antclasspathblock antuiplugin getdefault getpreferencestor iantuipreferenceconst ant_tool_jar_warn getreturncod idialogconst ye_id seterrormessag antpreferencesmessag getstr antclasspathblock setvalid privat list jar present object classpath entri string suffix classpath entri null return collect empti list list found arrai list 2 int 0 classpath entri length string file object entri classpath entri entri instanceof url file url entri file file entri string int 0 suffix length string suffix suffix file end suffix found add suffix return found jarpres classpathentri classpathentri empti_list arraylist classpathentri classpathentri getfil tostr endswith public boolean valid return valid 2 isvalid public void set valid valid 2 setvalid privat void add variabl variabl input dialog input dialog variabl input dialog tree viewer control shell input dialog open string variabl string input dialog variabl string variabl string null variabl string trim length 0 ant classpath content provid tree viewer content provid add current parent variabl string tree viewer set select tree viewer select updat contain addvari variableinputdialog inputdialog variableinputdialog treeview getcontrol getshel inputdialog variablestr inputdialog getvariablestr variablestr variablestr antclasspathcontentprovid treeview getcontentprovid currentpar variablestr treeview setselect treeview getselect updatecontain public void add classpath entri parent object child object entri null boolean ad fals parent null parent model ad true entri model add entri child entri null entri exist entri model creat entri child model ad fals parent model parent instanceof global classpath entri global classpath entri global parent global classpath entri parent entri model creat entri child global parent classpath entri classpath entri classpath entri entri global parent classpath entri ad true global parent add entri classpath entri entri null ad tree viewer add parent entri tree viewer set expand parent true tree viewer set select structur select entri true refresh iclasspathentri newentri newentri addentri newentri newentri createentri globalclasspathentri globalclasspathentri globalpar globalclasspathentri newentri createentri globalpar classpathentri newclasspathentri classpathentri newentri globalpar newclasspathentri globalpar addentri newclasspathentri newentri treeview newentri treeview setexpandedst treeview setselect structuredselect newentri public void add int entri type object child object entri model add entri entri type child entri null tree viewer add parent entri entri refresh entrytyp newentri addentri entrytyp newentri treeview getpar newentri newentri public void remov model remov refresh removeal removeal privat void refresh refresh enabl tree viewer refresh refresh request fals refresh request true refreshen treeview refreshrequest refreshrequest public void remov global ant classpath entri model remov classpath model ant home refresh removeallglobalantclasspathentri removeal classpathmodel ant_home tree content provid parent object public object parent object element element instanceof classpath entri return classpath entri element parent element instanceof global classpath entri return model return null itreecontentprovid getpar getpar classpathentri classpathentri getpar globalclasspathentri tree content provid children object public boolean children object element element instanceof classpath entri return fals element instanceof global classpath entri return global classpath entri element entri element instanceof classpath model return classpath model element entri return fals itreecontentprovid haschildren haschildren classpathentri globalclasspathentri globalclasspathentri hasentri classpathmodel classpathmodel hasentri org eclips jface viewer structur content provid element java lang object public object element object input element return children input element istructuredcontentprovid getel getel inputel getchildren inputel org eclips jface viewer content provid dispos public void dispos icontentprovid public void input chang viewer viewer object input object input tree viewer tree viewer viewer input null model classpath model input model null model remov model null inputchang oldinput newinput treeview treeview newinput classpathmodel newinput removeal public object children object parent element parent element instanceof global classpath entri return global classpath entri parent element entri parent element instanceof classpath model return classpath model parent element entri parent element null list arrai list object top entri model entri int 0 top entri length object object top entri object instanceof classpath entri add object object instanceof global classpath entri add arrai list global classpath entri object entri return arrai return null getchildren parentel parentel globalclasspathentri globalclasspathentri parentel getentri parentel classpathmodel classpathmodel parentel getentri parentel arraylist topentri getentri topentri topentri classpathentri globalclasspathentri addal aslist globalclasspathentri getentri toarrai public void remov structur select select object arrai select arrai model remov arrai tree viewer remov arrai refresh istructuredselect toarrai removeal treeview public classpath model model return model classpathmodel getmodel public void set refresh enabl boolean refresh enabl refresh enabl refresh enabl tree viewer tree set redraw refresh enabl refresh enabl refresh request refresh setrefreshen refreshen refreshen refreshen treeview gettre setredraw refreshen refreshen refreshrequest param current parent public void set entri classpath entri current parent list entri current parent instanceof global classpath entri global classpath entri group global classpath entri current parent group set entri entri currentpar setentri iclasspathentri currentpar currentpar globalclasspathentri globalclasspathentri globalclasspathentri currentpar setentri privat ant classpath block block public ant classpath label provid ant classpath block block block block antclasspathblock fblock antclasspathlabelprovid antclasspathblock fblock privat imag folder imag return platformui workbench share imag imag share imag img obj folder getfolderimag getworkbench getsharedimag getimag isharedimag img_obj_folder privat imag jar imag return antui imag imag antui constant img jar file getjarimag antuiimag getimag iantuiconst img_jar_file public imag classpath imag return antui imag imag antui constant img tab classpath getclasspathimag antuiimag getimag iantuiconst img_tab_classpath public imag imag object element string file element instanceof classpath entri classpath entri entri classpath entri element file entri string file end non nl 1 return folder imag return jar imag return classpath imag getimag classpathentri classpathentri classpathentri tostr endswith getfolderimag getjarimag getclasspathimag public string text object element element instanceof ant classpath entri string buffer label string buffer ant classpath entri element label element instanceof global classpath entri global classpath entri element type classpath model ant home ant core prefer pref ant core plugin plugin prefer string default ant home pref default ant home string current ant home block ant home label append non nl 1 default ant home equal current ant home label append ant prefer messag string ant classpath label provid 0 non nl 1 label append block ant home label append return label string return element string gettext iantclasspathentri stringbuff stringbuff iantclasspathentri getlabel globalclasspathentri globalclasspathentri gettyp classpathmodel ant_home antcoreprefer antcoreplugin getplugin getprefer defaultanthom getdefaultanthom currentanthom fblock getanthom defaultanthom currentanthom antpreferencesmessag getstr antclasspathlabelprovid fblock getanthom tostr tostr public color background object element element instanceof global classpath entri displai displai displai current return displai system color swt color info background element instanceof classpath entri return null getbackground globalclasspathentri getcurr getsystemcolor color_info_background classpathentri org eclips jface viewer color provid foreground java lang object public color foreground object element return null icolorprovid getforeground getforeground org eclips jface viewer base label provid add listen org eclips jface viewer label provid listen public void add listen label provid listen listen ibaselabelprovid addlisten ilabelproviderlisten addlisten ilabelproviderlisten org eclips jface viewer base label provid dispos public void dispos ibaselabelprovid org eclips jface viewer base label provid label properti java lang object java lang string public boolean label properti object element string properti return fals ibaselabelprovid islabelproperti islabelproperti org eclips jface viewer base label provid remov listen org eclips jface viewer label provid listen public void remov listen label provid listen listen ibaselabelprovid removelisten ilabelproviderlisten removelisten ilabelproviderlisten creat instanc public ant classpath page ant runtim prefer page prefer page prefer page prefer page antclasspathpag antruntimepreferencepag preferencepag preferencepag preferencepag return user classpath entri return set user classpath entri protect ant classpath entri addit entri return model entri classpath model global user iantclasspathentri getadditionalentri getentri classpathmodel global_user return ant home classpath entri protect ant classpath entri ant home entri return model entri classpath model ant home iantclasspathentri getanthomeentri getentri classpathmodel ant_home protect string ant home return ant classpath block ant home getanthom antclasspathblock getanthom set content tabl page protect void initi ant core prefer pref ant core plugin plugin prefer creat classpath model ant classpath block initi ant home pref ant home ant classpath block set input model prefer page set error messag null prefer page set valid true antcoreprefer antcoreplugin getplugin getprefer createclasspathmodel antclasspathblock initializeanthom getanthom antclasspathblock setinput preferencepag seterrormessag preferencepag setvalid protect void creat classpath model model classpath model ant core prefer pref ant core plugin plugin prefer model set ant home entri pref ant home classpath entri model set global entri pref addit classpath entri createclasspathmodel classpathmodel antcoreprefer antcoreplugin getplugin getprefer setanthomeentri getanthomeclasspathentri setglobalentri getadditionalclasspathentri protect void perform default ant core prefer pref ant core plugin plugin prefer model classpath model model set ant home entri pref default ant home entri ant classpath entri tool entri pref tool jar entri ant classpath entri addit entri tool entri null addit entri ant classpath entri 0 addit entri ant classpath entri tool entri model set global entri addit entri ant classpath block initi ant home pref default ant home ant classpath block set input model updat performdefault antcoreprefer antcoreplugin getplugin getprefer classpathmodel setanthomeentri getdefaultanthomeentri iantclasspathentri toolsentri gettoolsjarentri iantclasspathentri additionalentri toolsentri additionalentri iantclasspathentri additionalentri iantclasspathentri toolsentri setglobalentri additionalentri antclasspathblock initializeanthom getdefaultanthom antclasspathblock setinput creat tab item page protect tab item creat tab item tab folder folder tab item item tab item folder swt item set text ant prefer messag string ant classpath page titl non nl 1 item set imag ant classpath block classpath imag item set data item set control creat content folder return item tabitem createtabitem tabfold tabitem tabitem settext antpreferencesmessag getstr antclasspathpag setimag antclasspathblock getclasspathimag setdata setcontrol createcont creat page control protect composit creat content composit parent workbench help set help parent antui help context id ant classpath page font font parent font composit top composit parent swt top set font font grid layout layout grid layout layout num column 2 layout margin height 2 layout margin width 2 top set layout layout top set layout data grid data grid data fill ant classpath block set contain ant classpath block creat content top return top createcont workbenchhelp sethelp iantuihelpcontextid ant_classpath_page getfont setfont gridlayout gridlayout numcolumn marginheight marginwidth setlayout setlayoutdata griddata griddata fill_both antclasspathblock setcontain antclasspathblock createcont public void updat ant classpath block valid return set messag null set error messag null boolean valid ant classpath block valid ant home valid valid ant classpath block valid toolsjar prefer page set valid valid antclasspathblock isvalid setmessag seterrormessag antclasspathblock validateanthom antclasspathblock validatetoolsjar preferencepag setvalid org eclips ant intern ui prefer ant block contain set messag java lang string public void set messag string messag prefer page set messag messag iantblockcontain setmessag setmessag preferencepag setmessag org eclips ant intern ui prefer ant block contain set error messag java lang string public void set error messag string messag prefer page set error messag messag iantblockcontain seterrormessag seterrormessag preferencepag seterrormessag public button creat push button composit parent string button text button button button parent swt push button set font parent font button set text button text prefer page set button layout data button return button createpushbutton buttontext setfont getfont settext buttontext preferencepag setbuttonlayoutdata protect overlai prefer store creat overlai store arrai list overlai kei arrai list overlai kei add overlai prefer store overlai kei overlai prefer store boolean ant editor prefer constant codeassist autoactiv overlai kei add overlai prefer store overlai kei overlai prefer store int ant editor prefer constant codeassist autoactiv delai overlai kei add overlai prefer store overlai kei overlai prefer store boolean ant editor prefer constant codeassist autoinsert overlai kei add overlai prefer store overlai kei overlai prefer store boolean ant editor prefer constant codeassist user defin task overlai kei add overlai prefer store overlai kei overlai prefer store string ant editor prefer constant codeassist propos background overlai kei add overlai prefer store overlai kei overlai prefer store string ant editor prefer constant codeassist propos foreground overlai kei add overlai prefer store overlai kei overlai prefer store string ant editor prefer constant codeassist autoactiv trigger overlai prefer store overlai kei kei overlai prefer store overlai kei overlai kei size overlai kei arrai kei return overlai prefer store prefer store kei overlaypreferencestor createoverlaystor arraylist overlaykei arraylist overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_autoactiv overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_autoactiv_delai overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_autoinsert overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_user_defin_task overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_propos_background overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_propos_foreground overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_autoactiv_trigger overlaypreferencestor overlaykei overlaypreferencestor overlaykei overlaykei overlaykei toarrai overlaypreferencestor getpreferencestor privat label label control control label text field return label label text field 0 getlabelcontrol labelledtextfield labelledtextfield privat text text control control label text field return text label text field 1 gettextcontrol labelledtextfield labelledtextfield final button autoactiv add check box content assist composit text ant editor prefer constant codeassist autoactiv 0 autoactiv add select listen select adapt public void widget select select event updat autoactiv control addcheckbox contentassistcomposit anteditorpreferenceconst codeassist_autoactiv addselectionlisten selectionadapt widgetselect selectionev updateautoactivationcontrol content assist color list add select listen select listen public void widget default select select event fcontentassistcolorlist addselectionlisten selectionlisten widgetdefaultselect selectionev public void widget select select event handl content assist color list select widgetselect selectionev handlecontentassistcolorlistselect color button add select listen select listen public void widget default select select event colorbutton addselectionlisten selectionlisten widgetdefaultselect selectionev public void widget select select event int content assist color list select index string kei content assist color list model 1 prefer convert set overlai store kei content assist color editor color widgetselect selectionev fcontentassistcolorlist getselectionindex fcontentassistcolorlistmodel preferenceconvert setvalu getoverlaystor fcontentassistcoloreditor getcolorvalu privat control creat content assist page composit parent font font parent font composit content assist composit composit parent swt null grid layout layout grid layout layout num column 2 content assist composit set layout layout content assist composit set font font string text ant prefer messag string ant code assist prefer page insert non nl 1 add check box content assist composit text ant editor prefer constant codeassist autoinsert 0 text ant prefer messag string ant code assist prefer page 0 non nl 1 add check box content assist composit text ant editor prefer constant codeassist user defin task 0 text ant prefer messag string ant code assist prefer page enabl auto activ 2 non nl 1 final button autoactiv add check box content assist composit text ant editor prefer constant codeassist autoactiv 0 autoactiv add select listen select adapt public void widget select select event updat autoactiv control control label text field text ant prefer messag string ant code assist prefer page auto activ delai 3 non nl 1 string error messag string ant prefer messag string ant code assist prefer page empti input auto activ ant prefer messag string ant code assist prefer page invalid input auto activ non nl 1 non nl 2 label text field add label text field content assist composit text ant editor prefer constant codeassist autoactiv delai 4 0 error messag auto insert delai label label control label text field auto insert delai text text control label text field text ant prefer messag string ant code assist prefer page auto activ tri gger 4 non nl 1 label text field add label text field content assist composit text ant editor prefer constant codeassist autoactiv trigger 4 0 null auto insert trigger label label control label text field auto insert trigger text text control label text field label label label content assist composit swt left label set text ant prefer messag string ant code assist prefer page code assist colo option 5 non nl 1 label set font font grid data gd grid data grid data horizont align fill gd horizont span 2 label set layout data gd composit editor composit composit content assist composit swt layout grid layout layout num column 2 layout margin height 0 layout margin width 0 editor composit set layout layout editor composit set font font gd grid data grid data horizont align fill grid data fill vertic gd horizont span 2 editor composit set layout data gd content assist color list list editor composit swt singl swt scroll swt border gd grid data grid data vertic align begin grid data fill horizont gd height hint convert height char pixel 3 content assist color list set layout data gd content assist color list set font font composit style composit composit editor composit swt layout grid layout layout margin height 0 layout margin width 0 layout num column 2 style composit set layout layout style composit set layout data grid data grid data fill style composit set font font label label style composit swt left label set text ant prefer messag string ant editor prefer page 6 non nl 1 label set font font gd grid data gd horizont align grid data begin label set layout data gd content assist color editor color editor style composit button color button content assist color editor button gd grid data grid data fill horizont gd horizont align grid data begin color button set layout data gd content assist color list add select listen select listen public void widget default select select event public void widget select select event handl content assist color list select color button add select listen select listen public void widget default select select event public void widget select select event int content assist color list select index string kei content assist color list model 1 prefer convert set overlai store kei content assist color editor color return content assist composit createcontentassistpag getfont contentassistcomposit gridlayout gridlayout numcolumn contentassistcomposit setlayout contentassistcomposit setfont antpreferencesmessag getstr antcodeassistpreferencepag addcheckbox contentassistcomposit anteditorpreferenceconst codeassist_autoinsert antpreferencesmessag getstr antcodeassistpreferencepag addcheckbox contentassistcomposit anteditorpreferenceconst codeassist_user_defin_task antpreferencesmessag getstr antcodeassistpreferencepag enabl_auto_activ_2 addcheckbox contentassistcomposit anteditorpreferenceconst codeassist_autoactiv addselectionlisten selectionadapt widgetselect selectionev updateautoactivationcontrol labelledtextfield antpreferencesmessag getstr antcodeassistpreferencepag auto_activ_ delai__3 errormessag antpreferencesmessag getstr antcodeassistpreferencepag empti_input_auto_activ antpreferencesmessag getstr antcodeassistpreferencepag invalid_input_auto_activ labelledtextfield addlabelledtextfield contentassistcomposit anteditorpreferenceconst codeassist_autoactiv_delai errormessag fautoinsertdelaylabel getlabelcontrol labelledtextfield fautoinsertdelaytext gettextcontrol labelledtextfield antpreferencesmessag getstr antcodeassistpreferencepag auto_activ_tri gger__4 labelledtextfield addlabelledtextfield contentassistcomposit anteditorpreferenceconst codeassist_autoactiv_trigger fautoinserttriggerlabel getlabelcontrol labelledtextfield fautoinserttriggertext gettextcontrol labelledtextfield contentassistcomposit settext antpreferencesmessag getstr antcodeassistpreferencepag code_assist_colo r_option__5 setfont griddata griddata griddata horizont_align_fill horizontalspan setlayoutdata editorcomposit contentassistcomposit gridlayout numcolumn marginheight marginwidth editorcomposit setlayout editorcomposit setfont griddata griddata horizont_align_fill griddata fill_vertic horizontalspan editorcomposit setlayoutdata fcontentassistcolorlist editorcomposit v_scroll griddata griddata vertic_align_begin griddata fill_horizont heighthint convertheightincharstopixel fcontentassistcolorlist setlayoutdata fcontentassistcolorlist setfont stylescomposit editorcomposit gridlayout marginheight marginwidth numcolumn stylescomposit setlayout stylescomposit setlayoutdata griddata griddata fill_both stylescomposit setfont stylescomposit settext antpreferencesmessag getstr anteditorpreferencepag setfont griddata horizontalalign griddata setlayoutdata fcontentassistcoloreditor coloreditor stylescomposit colorbutton fcontentassistcoloreditor getbutton griddata griddata fill_horizont horizontalalign griddata colorbutton setlayoutdata fcontentassistcolorlist addselectionlisten selectionlisten widgetdefaultselect selectionev widgetselect selectionev handlecontentassistcolorlistselect colorbutton addselectionlisten selectionlisten widgetdefaultselect selectionev widgetselect selectionev fcontentassistcolorlist getselectionindex fcontentassistcolorlistmodel preferenceconvert setvalu getoverlaystor fcontentassistcoloreditor getcolorvalu contentassistcomposit privat void handl content assist color list select int content assist color list select index string kei content assist color list model 1 rgb rgb prefer convert color overlai store kei content assist color editor set color rgb handlecontentassistcolorlistselect fcontentassistcolorlist getselectionindex fcontentassistcolorlistmodel preferenceconvert getcolor getoverlaystor fcontentassistcoloreditor setcolorvalu privat void updat autoactiv control boolean autoactiv overlai store boolean ant editor prefer constant codeassist autoactiv auto insert delai text set enabl autoactiv auto insert delai label set enabl autoactiv auto insert trigger text set enabl autoactiv auto insert trigger label set enabl autoactiv updateautoactivationcontrol getoverlaystor getboolean anteditorpreferenceconst codeassist_autoactiv fautoinsertdelaytext seten fautoinsertdelaylabel seten fautoinserttriggertext seten fautoinserttriggerlabel seten protect control creat content composit parent overlai store load overlai store start composit control composit parent swt grid layout layout grid layout layout num column 2 layout margin height 0 layout margin width 0 control set layout layout creat content assist page control initi appli dialog font control todo set help context workbench help set help control antui help context id ant contentassist prefer page return control createcont getoverlaystor getoverlaystor gridlayout gridlayout numcolumn marginheight marginwidth setlayout createcontentassistpag applydialogfont workbenchhelp sethelp iantuihelpcontextid ant_contentassist_prefer_page content assist color list displai async exec runnabl public void run content assist color list null content assist color list dispos content assist color list select 0 handl content assist color list select fcontentassistcolorlist getdisplai asyncexec fcontentassistcolorlist fcontentassistcolorlist isdispos fcontentassistcolorlist handlecontentassistcolorlistselect privat void initi initi field int 0 content assist color list model length content assist color list add content assist color list model 0 content assist color list displai async exec runnabl public void run content assist color list null content assist color list dispos content assist color list select 0 handl content assist color list select initializefield fcontentassistcolorlistmodel fcontentassistcolorlist fcontentassistcolorlistmodel fcontentassistcolorlist getdisplai asyncexec fcontentassistcolorlist fcontentassistcolorlist isdispos fcontentassistcolorlist handlecontentassistcolorlistselect org eclips ant intern ui prefer abstract ant editor prefer page handl default protect void handl default handl content assist color list select abstractanteditorpreferencepag handledefault handledefault handlecontentassistcolorlistselect protect overlai prefer store creat overlai store list overlai kei arrai list overlai kei add overlai prefer store overlai kei overlai prefer store boolean ant editor prefer constant formatt wrap overlai kei add overlai prefer store overlai kei overlai prefer store boolean ant editor prefer constant formatt align overlai kei add overlai prefer store overlai kei overlai prefer store int ant editor prefer constant formatt max line length overlai kei add overlai prefer store overlai kei overlai prefer store boolean ant editor prefer constant formatt tab char overlai kei add overlai prefer store overlai kei overlai prefer store int ant editor prefer constant formatt tab size overlai prefer store overlai kei kei overlai prefer store overlai kei overlai kei size overlai kei arrai kei return overlai prefer store prefer store kei overlaypreferencestor createoverlaystor overlaykei arraylist overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst formatt_wrap_long overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst formatt_align overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst formatt_max_line_length overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst formatt_tab_char overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst formatt_tab_size overlaypreferencestor overlaykei overlaypreferencestor overlaykei overlaykei overlaykei toarrai overlaypreferencestor getpreferencestor public void creat control composit parent super creat control parent todo set help workbench help set help control ant formatt prefer page non nl 1 createcontrol createcontrol workbenchhelp sethelp getcontrol ant_formatt_prefer_page protect control creat content composit parent initi dialog unit parent overlai store load overlai store start int num column 2 composit result composit parent swt grid layout layout grid layout layout margin height 0 layout margin width 0 layout vertic space convert verticaldl pixel 10 layout horizont space convert horizontaldl pixel dialog constant horizont space result set layout layout group indent group creat group num column result ant prefer messag string ant code formatt prefer page 0 non nl 1 string label text ant prefer messag string ant code formatt prefer page 1 non nl 1 string error messag string ant prefer messag string ant code formatt prefer page 2 ant prefer messag string ant code formatt prefer page 3 non nl 1 non nl 2 add text field indent group label text ant editor prefer constant formatt tab size 3 0 error messag label text ant prefer messag string ant code formatt prefer page 4 non nl 1 add check box indent group label text ant editor prefer constant formatt tab char 1 group wrap group creat group num column result ant prefer messag string ant code formatt prefer page 6 non nl 1 label text ant prefer messag string ant code formatt prefer page 7 non nl 1 error messag string ant prefer messag string ant code formatt prefer page 8 ant prefer messag string ant code formatt prefer page 9 non nl 1 non nl 2 add text field wrap group label text ant editor prefer constant formatt max line length 3 0 error messag label text ant prefer messag string ant code formatt prefer page 10 non nl 1 add check box wrap group label text ant editor prefer constant formatt wrap 1 label text ant prefer messag string ant code formatt prefer page 5 non nl 1 add check box wrap group label text ant editor prefer constant formatt align 1 label label label result swt left label set text ant prefer messag string ant editor prefer page 9 non nl 1 label set layout data grid data grid data fill horizont control preview creat preview result grid data gd grid data grid data fill gd width hint convert width char pixel 20 gd height hint convert height char pixel 5 preview set layout data gd initi field appli dialog font result return result createcont initializedialogunit getoverlaystor getoverlaystor numcolumn gridlayout gridlayout marginheight marginwidth verticalspac convertverticaldlustopixel horizontalspac converthorizontaldlustopixel idialogconst horizont_space setlayout indentationgroup creategroup numcolumn antpreferencesmessag getstr antcodeformatterpreferencepag labeltext antpreferencesmessag getstr antcodeformatterpreferencepag errormessag antpreferencesmessag getstr antcodeformatterpreferencepag antpreferencesmessag getstr antcodeformatterpreferencepag addtextfield indentationgroup labeltext anteditorpreferenceconst formatt_tab_size errormessag labeltext antpreferencesmessag getstr antcodeformatterpreferencepag addcheckbox indentationgroup labeltext anteditorpreferenceconst formatt_tab_char wrappinggroup creategroup numcolumn antpreferencesmessag getstr antcodeformatterpreferencepag labeltext antpreferencesmessag getstr antcodeformatterpreferencepag errormessag antpreferencesmessag getstr antcodeformatterpreferencepag antpreferencesmessag getstr antcodeformatterpreferencepag addtextfield wrappinggroup labeltext anteditorpreferenceconst formatt_max_line_length errormessag labeltext antpreferencesmessag getstr antcodeformatterpreferencepag addcheckbox wrappinggroup labeltext anteditorpreferenceconst formatt_wrap_long labeltext antpreferencesmessag getstr antcodeformatterpreferencepag addcheckbox wrappinggroup labeltext anteditorpreferenceconst formatt_align settext antpreferencesmessag getstr anteditorpreferencepag setlayoutdata griddata griddata fill_horizont createpreview griddata griddata griddata fill_both widthhint convertwidthincharstopixel heighthint convertheightincharstopixel setlayoutdata initializefield applydialogfont conveni method creat group privat group creat group int num column composit parent string text final group group group parent swt grid data gd grid data grid data fill horizont gd horizont span num column gd width hint 0 group set layout data gd group set font parent font final grid layout layout grid layout num column fals layout vertic space convert verticaldl pixel dialog constant vertic space layout horizont space convert horizontaldl pixel dialog constant horizont space layout margin height 0 convert verticaldl pixel dialog constant vertic margin layout margin width 0 convert horizontaldl pixel dialog constant horizont margin group set layout layout group set text text return group creategroup numcolumn griddata griddata griddata fill_horizont horizontalspan numcolumn widthhint setlayoutdata setfont getfont gridlayout gridlayout numcolumn verticalspac convertverticaldlustopixel idialogconst vertic_space horizontalspac converthorizontaldlustopixel idialogconst horizont_space marginheight convertverticaldlustopixel idialogconst vertic_margin marginwidth converthorizontaldlustopixel idialogconst horizont_margin setlayout settext privat control creat preview composit parent preview viewer sourc viewer parent null null fals swt border swt scroll swt scroll abstract ant sourc viewer configur configur ant templat viewer configur preview viewer configur configur preview viewer set edit fals font font face resourc font face resourc text font preview viewer text widget set font font prefer store store chain prefer store prefer store overlai store editorsui prefer store preview updat ant preview updat preview viewer configur store string content load preview content file format preview code txt non nl 1 content format content content store document document document content ant document setup particip setup document preview viewer set document document return preview viewer control createpreview fpreviewview sourceview v_scroll h_scroll abstractantsourceviewerconfigur anttemplateviewerconfigur fpreviewview fpreviewview setedit jfaceresourc getfont jfaceresourc text_font fpreviewview gettextwidget setfont ipreferencestor chainedpreferencestor ipreferencestor getoverlaystor getpreferencestor fpreviewerupdat antpreviewerupdat fpreviewview loadpreviewcontentfromfil formatpreviewcod formatcont idocu antdocumentsetupparticip fpreviewview setdocu fpreviewview getcontrol privat string format content string content prefer store prefer store format prefer pref format prefer pref set prefer store prefer store return xml formatt format content pref formatcont ipreferencestor preferencestor formattingprefer formattingprefer setpreferencestor preferencestor xmlformatt org eclips ant intern ui prefer abstract ant editor prefer page handl default protect void handl default abstractanteditorpreferencepag handledefault handledefault public void dispos super dispos preview updat null preview updat dispos fpreviewerupdat fpreviewerupdat public void add object element return element add tabl viewer add tabl viewer set select structur select true tableview tableview setselect structuredselect public void dispos public object element object input element return element arrai object element size getel inputel toarrai public void input chang viewer viewer object input object input tabl viewer tabl viewer viewer element clear input null tabl viewer set sorter sorter list list input instanceof list list list input list arrai list object input element add list inputchang oldinput newinput tableview tableview newinput tableview setsort getsort newinput newinput aslist newinput addal public void remov object element remov tabl viewer remov tableview public void remov structur select select object arrai select arrai element remov arrai list arrai tabl viewer remov arrai istructuredselect toarrai removeal aslist tableview sorter viewer sorter org eclips jface viewer viewer sorter compar org eclips jface viewer viewer java lang object java lang object public int compar viewer viewer object e1 object e2 return e1 string compar ignor case e2 string viewersort viewersort tostr comparetoignorecas tostr protect viewer sorter sorter sorter null sorter viewer sorter org eclips jface viewer viewer sorter compar org eclips jface viewer viewer java lang object java lang object public int compar viewer viewer object e1 object e2 return e1 string compar ignor case e2 string return sorter viewersort getsort viewersort viewersort tostr comparetoignorecas tostr public class ant editor prefer constant privat ant editor prefer constant anteditorpreferenceconst anteditorpreferenceconst public static void initi default valu prefer store store text editor prefer constant initi default valu store store set default abstract text editor prefer color background system default true store set default codeassist autoinsert true store set default codeassist user defin task true store set default codeassist autoactiv true store set default codeassist autoactiv delai 500 prefer convert set default store codeassist propos background rgb 254 241 233 prefer convert set default store codeassist propos foreground rgb 0 0 0 store set default codeassist autoactiv trigger non nl 1 store set default editor space tab fals store set default formatt tab char true store set default formatt tab size 4 store set default formatt align fals store set default formatt max line length 80 store set default formatt wrap fals store set default templat codeformatt true store set default problem classpath buildfil warn store set default problem properti buildfil ignor store set default problem import buildfil warn store set default problem task buildfil error initializedefaultvalu ipreferencestor texteditorpreferenceconst initializedefaultvalu setdefault abstracttexteditor prefer_color_background_system_default setdefault codeassist_autoinsert setdefault codeassist_user_defin_task setdefault codeassist_autoactiv setdefault codeassist_autoactiv_delai preferenceconvert setdefault codeassist_propos_background preferenceconvert setdefault codeassist_propos_foreground setdefault codeassist_autoactiv_trigger setdefault editor_space_for_tab setdefault formatt_tab_char setdefault formatt_tab_size setdefault formatt_align setdefault formatt_max_line_length setdefault formatt_wrap_long setdefault templat_us_codeformatt setdefault problem_classpath buildfil_warn setdefault problem_properti buildfil_ignor setdefault problem_import buildfil_warn setdefault problem_task buildfil_error privat string valu public control data string kei string valu kei kei valu valu fvalu controldata fkei fvalu public string kei return kei getkei fkei public string boolean select int index select 0 1 return valu index getvalu fvalu public string int index return valu index getvalu fvalu public int select string valu null int 0 valu length equal valu return return valu length 1 assum option sever getselect fvalu fvalu fvalu initi item valu param displai displai param color kei color prefer kei param bold kei bold prefer kei param ital kei ital prefer kei param item color item color public highlight color list item string displai string color kei string bold kei string ital kei color item color displai displai color kei color kei bold kei bold kei ital kei ital kei item color item color displaynam colorkei boldkei italickei itemcolor highlightingcolorlistitem displaynam colorkei boldkei italickei itemcolor fdisplaynam displaynam fcolorkei colorkei fboldkei boldkei fitalickei italickei fitemcolor itemcolor return bold prefer kei public string bold kei return bold kei getboldkei fboldkei return bold prefer kei public string ital kei return ital kei getitalickei fitalickei return color prefer kei public string color kei return color kei getcolorkei fcolorkei return displai public string displai return displai getdisplaynam fdisplaynam return item color public color item color return item color getitemcolor fitemcolor org eclips jface viewer label provid text java lang object public string text object element return highlight color list item element displai ilabelprovid gettext gettext highlightingcolorlistitem getdisplaynam org eclips jface viewer color provid foreground java lang object public color foreground object element return highlight color list item element item color icolorprovid getforeground getforeground highlightingcolorlistitem getitemcolor org eclips jface viewer color provid background java lang object public color background object element return null icolorprovid getbackground getbackground org eclips jface viewer structur content provid element java lang object public object element object input element return java util list input element arrai istructuredcontentprovid getel getel inputel inputel toarrai org eclips jface viewer content provid dispos public void dispos icontentprovid org eclips jface viewer content provid input chang org eclips jface viewer viewer java lang object java lang object public void input chang viewer viewer object input object input icontentprovid inputchang inputchang oldinput newinput protect arrai list combo box public ant editor prefer page super set descript ant prefer messag string ant editor prefer page descript non nl 1 arraylist fcombobox anteditorpreferencepag setdescript antpreferencesmessag getstr anteditorpreferencepag protect overlai prefer store creat overlai store syntax color list model string ant prefer messag string ant editor prefer page ant editor text 1 ant editor color constant text color null non nl 1 ant prefer messag string ant editor prefer page ant editor process instuct 2 ant editor color constant process instruct color null non nl 1 ant prefer messag string ant editor prefer page ant editor constant string 3 ant editor color constant string color null non nl 1 ant prefer messag string ant editor prefer page ant editor tag 4 ant editor color constant tag color null non nl 1 ant prefer messag string ant editor prefer page ant editor comment 5 ant editor color constant xml comment color null non nl 1 arrai list overlai kei arrai list overlai kei add overlai prefer store overlai kei overlai prefer store string abstract text editor prefer color background overlai kei add overlai prefer store overlai kei overlai prefer store boolean abstract text editor prefer color background system default overlai kei add overlai prefer store overlai kei overlai prefer store string abstract decor text editor prefer constant editor select foreground color overlai kei add overlai prefer store overlai kei overlai prefer store boolean abstract decor text editor prefer constant editor select foreground default color overlai kei add overlai prefer store overlai kei overlai prefer store string abstract decor text editor prefer constant editor select background color overlai kei add overlai prefer store overlai kei overlai prefer store boolean abstract decor text editor prefer constant editor select background default color overlai kei add overlai prefer store overlai kei overlai prefer store boolean abstract decor text editor prefer constant editor current line overlai kei add overlai prefer store overlai kei overlai prefer store int abstract decor text editor prefer constant editor print margin column overlai kei add overlai prefer store overlai kei overlai prefer store boolean abstract decor text editor prefer constant editor print margin overlai kei add overlai prefer store overlai kei overlai prefer store string abstract decor text editor prefer constant editor current line color overlai kei add overlai prefer store overlai kei overlai prefer store boolean abstract decor text editor prefer constant editor current line overlai kei add overlai prefer store overlai kei overlai prefer store string abstract decor text editor prefer constant editor print margin color overlai kei add overlai prefer store overlai kei overlai prefer store int abstract decor text editor prefer constant editor print margin column overlai kei add overlai prefer store overlai kei overlai prefer store boolean abstract decor text editor prefer constant editor print margin overlai kei add overlai prefer store overlai kei overlai prefer store int abstract decor text editor prefer constant editor tab width overlai kei add overlai prefer store overlai kei overlai prefer store boolean ant editor prefer constant editor space tab overlai kei add overlai prefer store overlai kei overlai prefer store boolean abstract decor text editor prefer constant editor overview ruler overlai kei add overlai prefer store overlai kei overlai prefer store string abstract decor text editor prefer constant editor line number ruler color overlai kei add overlai prefer store overlai kei overlai prefer store boolean abstract decor text editor prefer constant editor line number ruler overlai kei add overlai prefer store overlai kei overlai prefer store boolean ant editor prefer constant codeassist autoactiv overlai kei add overlai prefer store overlai kei overlai prefer store int ant editor prefer constant codeassist autoactiv delai overlai kei add overlai prefer store overlai kei overlai prefer store boolean ant editor prefer constant codeassist autoinsert overlai kei add overlai prefer store overlai kei overlai prefer store string ant editor prefer constant codeassist propos background overlai kei add overlai prefer store overlai kei overlai prefer store string ant editor prefer constant codeassist propos foreground overlai kei add overlai prefer store overlai kei overlai prefer store string ant editor prefer constant codeassist autoactiv trigger int 0 syntax color list model length string color kei syntax color list model 1 add text kei cover overlai kei color kei overlai prefer store overlai kei kei overlai prefer store overlai kei overlai kei size overlai kei arrai kei return overlai prefer store prefer store kei overlaypreferencestor createoverlaystor fsyntaxcolorlistmodel antpreferencesmessag getstr anteditorpreferencepag ant_editor_text_1 ianteditorcolorconst text_color antpreferencesmessag getstr anteditorpreferencepag ant_editor_process_instuct_2 ianteditorcolorconst process_instruct_color antpreferencesmessag getstr anteditorpreferencepag ant_editor_constant_string_3 ianteditorcolorconst string_color antpreferencesmessag getstr anteditorpreferencepag ant_editor_tag_4 ianteditorcolorconst tag_color antpreferencesmessag getstr anteditorpreferencepag ant_editor_comment_5 ianteditorcolorconst xml_comment_color arraylist overlaykei arraylist overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstracttexteditor prefer_color_background overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstracttexteditor prefer_color_background_system_default overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_select_foreground_color overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_select_foreground_default_color overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_select_background_color overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_select_background_default_color overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_current_line overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_print_margin_column overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_print_margin overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_current_line_color overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_current_line overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_print_margin_color overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_print_margin_column overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_print_margin overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_tab_width overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst editor_space_for_tab overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_overview_ruler overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_line_number_ruler_color overlaykei overlaypreferencestor overlaykei overlaypreferencestor abstractdecoratedtexteditorpreferenceconst editor_line_number_ruler overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_autoactiv overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_autoactiv_delai overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_autoinsert overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_propos_background overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_propos_foreground overlaykei overlaypreferencestor overlaykei overlaypreferencestor anteditorpreferenceconst codeassist_autoactiv_trigger fsyntaxcolorlistmodel colorkei fsyntaxcolorlistmodel addtextkeytocov overlaykei colorkei overlaypreferencestor overlaykei overlaypreferencestor overlaykei overlaykei overlaykei toarrai overlaypreferencestor getpreferencestor privat void add text kei cover arrai list overlai kei string main kei overlai kei add overlai prefer store overlai kei overlai prefer store string main kei overlai kei add overlai prefer store overlai kei overlai prefer store string main kei ant editor prefer constant editor bold suffix overlai kei add overlai prefer store overlai kei overlai prefer store string main kei ant editor prefer constant editor ital suffix addtextkeytocov arraylist overlaykei mainkei overlaykei overlaypreferencestor overlaykei overlaypreferencestor mainkei overlaykei overlaypreferencestor overlaykei overlaypreferencestor mainkei anteditorpreferenceconst editor_bold_suffix overlaykei overlaypreferencestor overlaykei overlaypreferencestor mainkei anteditorpreferenceconst editor_ital_suffix privat void handl appear color list select int appear color list select index string kei appear color list model 1 rgb rgb prefer convert color overlai store kei appear color editor set color rgb updat appear color widget appear color list model 2 handleappearancecolorlistselect fappearancecolorlist getselectionindex fappearancecolorlistmodel preferenceconvert getcolor getoverlaystor fappearancecoloreditor setcolorvalu updateappearancecolorwidget fappearancecolorlistmodel privat void updat appear color widget string system default kei system default kei null appear color default set select fals appear color default set visibl fals appear color editor button set enabl true boolean system default overlai store boolean system default kei appear color default set select system default appear color default set visibl true appear color editor button set enabl system default updateappearancecolorwidget systemdefaultkei systemdefaultkei fappearancecolordefault setselect fappearancecolordefault setvis fappearancecoloreditor getbutton seten systemdefault getoverlaystor getboolean systemdefaultkei fappearancecolordefault setselect systemdefault fappearancecolordefault setvis fappearancecoloreditor getbutton seten systemdefault appear color list add select listen select listen public void widget default select select event fappearancecolorlist addselectionlisten selectionlisten widgetdefaultselect selectionev public void widget select select event handl appear color list select widgetselect selectionev handleappearancecolorlistselect select listen color default select listen select listen public void widget select select event boolean system default appear color default select appear color editor button set enabl system default int appear color list select index string kei appear color list model 2 kei null overlai store set kei system default selectionlisten colordefaultselectionlisten selectionlisten widgetselect selectionev systemdefault fappearancecolordefault getselect fappearancecoloreditor getbutton seten systemdefault fappearancecolorlist getselectionindex fappearancecolorlistmodel getoverlaystor setvalu systemdefault overlai store set kei system default public void widget default select select event getoverlaystor setvalu systemdefault widgetdefaultselect selectionev foreground color button add select listen select listen public void widget default select select event foregroundcolorbutton addselectionlisten selectionlisten widgetdefaultselect selectionev public void widget select select event int appear color list select index string kei appear color list model 1 prefer convert set overlai store kei appear color editor color widgetselect selectionev fappearancecolorlist getselectionindex fappearancecolorlistmodel preferenceconvert setvalu getoverlaystor fappearancecoloreditor getcolorvalu privat control creat appear page composit parent font font parent font composit appear composit composit parent swt appear composit set font font grid layout layout grid layout layout num column 2 appear composit set layout layout string label text ant prefer messag string ant editor prefer page print margin column non nl 1 string error messag string ant prefer messag string ant editor prefer page empti input print margin ant prefer messag string ant editor prefer page invalid input print margin non nl 1 non nl 2 add text field appear composit label text abstract decor text editor prefer constant editor print margin column 3 0 error messag label text ant prefer messag string ant editor prefer page 37 non nl 1 error messag string ant prefer messag string ant editor prefer page 38 ant prefer messag string ant editor prefer page 39 non nl 1 non nl 2 add text field appear composit label text abstract decor text editor prefer constant editor tab width 3 0 error messag label text ant prefer messag string ant editor prefer page 40 non nl 1 add check box appear composit label text ant editor prefer constant editor space tab 1 label text ant prefer messag string ant editor prefer page show overview ruler non nl 1 add check box appear composit label text abstract decor text editor prefer constant editor overview ruler 0 label text ant prefer messag string ant editor prefer page show line number non nl 1 add check box appear composit label text abstract decor text editor prefer constant editor line number ruler 0 label text ant prefer messag string ant editor prefer page highlight current line non nl 1 add check box appear composit label text abstract decor text editor prefer constant editor current line 0 label text ant prefer messag string ant editor prefer page show print margin non nl 1 add check box appear composit label text abstract decor text editor prefer constant editor print margin 0 label label label appear composit swt left label set font font grid data gd grid data grid data horizont align fill gd horizont span 2 gd height hint convert height char pixel 1 2 label set layout data gd label label appear composit swt left label set font font label set text ant prefer messag string ant editor prefer page appear option non nl 1 gd grid data grid data horizont align fill gd horizont span 2 label set layout data gd composit editor composit composit appear composit swt editor composit set font font layout grid layout layout num column 2 layout margin height 0 layout margin width 0 editor composit set layout layout gd grid data grid data horizont align fill grid data fill vertic gd horizont span 2 editor composit set layout data gd appear color list list editor composit swt singl swt scroll swt border appear color list set font font gd grid data grid data vertic align begin grid data fill horizont gd height hint convert height char pixel 6 appear color list set layout data gd composit style composit composit editor composit swt style composit set font font layout grid layout layout margin height 0 layout margin width 0 layout num column 2 style composit set layout layout style composit set layout data grid data grid data fill label label style composit swt left label set font font label set text ant prefer messag string ant editor prefer page 6 non nl 1 gd grid data gd horizont align grid data begin label set layout data gd appear color editor color editor style composit button foreground color button appear color editor button foreground color button set font font gd grid data grid data fill horizont gd horizont align grid data begin foreground color button set layout data gd appear color list add select listen select listen public void widget default select select event public void widget select select event handl appear color list select select listen color default select listen select listen public void widget select select event boolean system default appear color default select appear color editor button set enabl system default int appear color list select index string kei appear color list model 2 kei null overlai store set kei system default public void widget default select select event appear color default button style composit swt check appear color default set text ant prefer messag string ant editor prefer page 0 non nl 1 gd grid data grid data fill horizont gd horizont align grid data begin gd horizont span 2 appear color default set layout data gd appear color default set visibl fals appear color default add select listen color default select listen foreground color button add select listen select listen public void widget default select select event public void widget select select event int appear color list select index string kei appear color list model 1 prefer convert set overlai store kei appear color editor color return appear composit createappearancepag getfont appearancecomposit appearancecomposit setfont gridlayout gridlayout numcolumn appearancecomposit setlayout labeltext antpreferencesmessag getstr anteditorpreferencepag printmargincolumn errormessag antpreferencesmessag getstr anteditorpreferencepag empti_input_print_margin antpreferencesmessag getstr anteditorpreferencepag invalid_input_print_margin addtextfield appearancecomposit labeltext abstractdecoratedtexteditorpreferenceconst editor_print_margin_column errormessag labeltext antpreferencesmessag getstr anteditorpreferencepag errormessag antpreferencesmessag getstr anteditorpreferencepag antpreferencesmessag getstr anteditorpreferencepag addtextfield appearancecomposit labeltext abstractdecoratedtexteditorpreferenceconst editor_tab_width errormessag labeltext antpreferencesmessag getstr anteditorpreferencepag addcheckbox appearancecomposit labeltext anteditorpreferenceconst editor_space_for_tab labeltext antpreferencesmessag getstr anteditorpreferencepag showoverviewrul addcheckbox appearancecomposit labeltext abstractdecoratedtexteditorpreferenceconst editor_overview_ruler labeltext antpreferencesmessag getstr anteditorpreferencepag showlinenumb addcheckbox appearancecomposit labeltext abstractdecoratedtexteditorpreferenceconst editor_line_number_ruler labeltext antpreferencesmessag getstr anteditorpreferencepag highlightcurrentlin addcheckbox appearancecomposit labeltext abstractdecoratedtexteditorpreferenceconst editor_current_line labeltext antpreferencesmessag getstr anteditorpreferencepag showprintmargin addcheckbox appearancecomposit labeltext abstractdecoratedtexteditorpreferenceconst editor_print_margin appearancecomposit setfont griddata griddata griddata horizont_align_fill horizontalspan heighthint convertheightincharstopixel setlayoutdata appearancecomposit setfont settext antpreferencesmessag getstr anteditorpreferencepag appearanceopt griddata griddata horizont_align_fill horizontalspan setlayoutdata editorcomposit appearancecomposit editorcomposit setfont gridlayout numcolumn marginheight marginwidth editorcomposit setlayout griddata griddata horizont_align_fill griddata fill_vertic horizontalspan editorcomposit setlayoutdata fappearancecolorlist editorcomposit v_scroll fappearancecolorlist setfont griddata griddata vertic_align_begin griddata fill_horizont heighthint convertheightincharstopixel fappearancecolorlist setlayoutdata stylescomposit editorcomposit stylescomposit setfont gridlayout marginheight marginwidth numcolumn stylescomposit setlayout stylescomposit setlayoutdata griddata griddata fill_both stylescomposit setfont settext antpreferencesmessag getstr anteditorpreferencepag griddata horizontalalign griddata setlayoutdata fappearancecoloreditor coloreditor stylescomposit foregroundcolorbutton fappearancecoloreditor getbutton foregroundcolorbutton setfont griddata griddata fill_horizont horizontalalign griddata foregroundcolorbutton setlayoutdata fappearancecolorlist addselectionlisten selectionlisten widgetdefaultselect selectionev widgetselect selectionev handleappearancecolorlistselect selectionlisten colordefaultselectionlisten selectionlisten widgetselect selectionev systemdefault fappearancecolordefault getselect fappearancecoloreditor getbutton seten systemdefault fappearancecolorlist getselectionindex fappearancecolorlistmodel getoverlaystor setvalu systemdefault widgetdefaultselect selectionev fappearancecolordefault stylescomposit fappearancecolordefault settext antpreferencesmessag getstr anteditorpreferencepag griddata griddata fill_horizont horizontalalign griddata horizontalspan fappearancecolordefault setlayoutdata fappearancecolordefault setvis fappearancecolordefault addselectionlisten colordefaultselectionlisten foregroundcolorbutton addselectionlisten selectionlisten widgetdefaultselect selectionev widgetselect selectionev fappearancecolorlist getselectionindex fappearancecolorlistmodel preferenceconvert setvalu getoverlaystor fappearancecoloreditor getcolorvalu appearancecomposit protect control creat content composit parent initi default color workbench help set help control antui help context id ant editor prefer page overlai store load overlai store start tab folder folder tab folder parent swt folder set layout tab folder layout folder set layout data grid data grid data fill tab item item tab item folder swt item set text ant prefer messag string ant editor prefer page gener non nl 1 item set control creat appear page folder item tab item folder swt item set text ant prefer messag string ant editor prefer page 1 non nl 1 item set control creat syntax page folder item tab item folder swt item set text ant prefer messag string ant editor prefer page 10 non nl 1 item set control creat problem tab content folder initi appli dialog font folder return folder createcont initializedefaultcolor workbenchhelp sethelp getcontrol iantuihelpcontextid ant_editor_prefer_page getoverlaystor getoverlaystor tabfold tabfold setlayout tabfolderlayout setlayoutdata griddata griddata fill_both tabitem tabitem settext antpreferencesmessag getstr anteditorpreferencepag setcontrol createappearancepag tabitem settext antpreferencesmessag getstr anteditorpreferencepag setcontrol createsyntaxpag tabitem settext antpreferencesmessag getstr anteditorpreferencepag setcontrol createproblemstabcont applydialogfont privat void initi default color prefer store abstract text editor prefer color background rgb rgb control displai system color swt color list background getrgb prefer convert set default overlai store abstract text editor prefer color background rgb prefer convert set default prefer store abstract text editor prefer color background rgb prefer store abstract text editor prefer color foreground rgb rgb control displai system color swt color list foreground getrgb prefer convert set default overlai store abstract text editor prefer color foreground rgb prefer convert set default prefer store abstract text editor prefer color foreground rgb prefer store abstract decor text editor prefer constant editor select background color rgb rgb control displai system color swt color list select getrgb prefer convert set default overlai store abstract decor text editor prefer constant editor select background color rgb prefer convert set default prefer store abstract decor text editor prefer constant editor select background color rgb prefer store abstract decor text editor prefer constant editor select foreground color rgb rgb control displai system color swt color list select text getrgb prefer convert set default overlai store abstract decor text editor prefer constant editor select foreground color rgb prefer convert set default prefer store abstract decor text editor prefer constant editor select foreground color rgb initializedefaultcolor getpreferencestor abstracttexteditor prefer_color_background getcontrol getdisplai getsystemcolor color_list_background preferenceconvert setdefault getoverlaystor abstracttexteditor prefer_color_background preferenceconvert setdefault getpreferencestor abstracttexteditor prefer_color_background getpreferencestor abstracttexteditor prefer_color_foreground getcontrol getdisplai getsystemcolor color_list_foreground preferenceconvert setdefault getoverlaystor abstracttexteditor prefer_color_foreground preferenceconvert setdefault getpreferencestor abstracttexteditor prefer_color_foreground getpreferencestor abstractdecoratedtexteditorpreferenceconst editor_select_background_color getcontrol getdisplai getsystemcolor color_list_select preferenceconvert setdefault getoverlaystor abstractdecoratedtexteditorpreferenceconst editor_select_background_color preferenceconvert setdefault getpreferencestor abstractdecoratedtexteditorpreferenceconst editor_select_background_color getpreferencestor abstractdecoratedtexteditorpreferenceconst editor_select_foreground_color getcontrol getdisplai getsystemcolor color_list_select_text preferenceconvert setdefault getoverlaystor abstractdecoratedtexteditorpreferenceconst editor_select_foreground_color preferenceconvert setdefault getpreferencestor abstractdecoratedtexteditorpreferenceconst editor_select_foreground_color appear color list displai async exec runnabl public void run appear color list null appear color list dispos appear color list select 0 handl appear color list select fappearancecolorlist getdisplai asyncexec fappearancecolorlist fappearancecolorlist isdispos fappearancecolorlist handleappearancecolorlistselect privat void initi initi field int 0 syntax color list model length highlight color list add highlight color list item syntax color list model 0 syntax color list model 1 syntax color list model 1 ant editor prefer constant editor bold suffix syntax color list model 1 ant editor prefer constant editor ital suffix null highlight color list viewer set input highlight color list highlight color list viewer set select structur select highlight color list viewer element 0 int 0 appear color list model length appear color list add appear color list model 0 appear color list displai async exec runnabl public void run appear color list null appear color list dispos appear color list select 0 handl appear color list select initi background color field initializefield fsyntaxcolorlistmodel fhighlightingcolorlist highlightingcolorlistitem fsyntaxcolorlistmodel fsyntaxcolorlistmodel fsyntaxcolorlistmodel anteditorpreferenceconst editor_bold_suffix fsyntaxcolorlistmodel anteditorpreferenceconst editor_ital_suffix fhighlightingcolorlistview setinput fhighlightingcolorlist fhighlightingcolorlistview setselect structuredselect fhighlightingcolorlistview getelementat fappearancecolorlistmodel fappearancecolorlist fappearancecolorlistmodel fappearancecolorlist getdisplai asyncexec fappearancecolorlist fappearancecolorlist isdispos fappearancecolorlist handleappearancecolorlistselect initializebackgroundcolorfield privat void initi background color field rgb rgb prefer convert color overlai store abstract text editor prefer color background background color editor set color rgb boolean dflt overlai store boolean abstract text editor prefer color background system default background default radio button set select dflt background custom radio button set select dflt background color button set enabl dflt initializebackgroundcolorfield preferenceconvert getcolor getoverlaystor abstracttexteditor prefer_color_background fbackgroundcoloreditor setcolorvalu getoverlaystor getboolean abstracttexteditor prefer_color_background_system_default fbackgrounddefaultradiobutton setselect fbackgroundcustomradiobutton setselect fbackgroundcolorbutton seten protect void handl default handl appear color list select handl syntax color list select initi background color field restor work valu default handledefault handleappearancecolorlistselect handlesyntaxcolorlistselect initializebackgroundcolorfield restoreworkingvaluestodefault select listen background select listen select listen public void widget select select event boolean custom background custom radio button select background color button set enabl custom overlai store set abstract text editor prefer color background system default custom selectionlisten backgroundselectionlisten selectionlisten widgetselect selectionev fbackgroundcustomradiobutton getselect fbackgroundcolorbutton seten getoverlaystor setvalu abstracttexteditor prefer_color_background_system_default overlai store set abstract text editor prefer color background system default custom public void widget default select select event getoverlaystor setvalu abstracttexteditor prefer_color_background_system_default widgetdefaultselect selectionev highlight color list viewer add select chang listen select chang listen public void select chang select chang event event handl syntax color list select fhighlightingcolorlistview addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev handlesyntaxcolorlistselect foreground color button add select listen select listen public void widget default select select event foregroundcolorbutton addselectionlisten selectionlisten widgetdefaultselect selectionev public void widget select select event highlight color list item item highlight color list item prefer convert set overlai store item color kei syntax foreground color editor color widgetselect selectionev highlightingcolorlistitem gethighlightingcolorlistitem preferenceconvert setvalu getoverlaystor getcolorkei fsyntaxforegroundcoloreditor getcolorvalu background color button add select listen select listen public void widget default select select event fbackgroundcolorbutton addselectionlisten selectionlisten widgetdefaultselect selectionev public void widget select select event prefer convert set overlai store abstract text editor prefer color background background color editor color widgetselect selectionev preferenceconvert setvalu getoverlaystor abstracttexteditor prefer_color_background fbackgroundcoloreditor getcolorvalu bold check box add select listen select listen public void widget default select select event fboldcheckbox addselectionlisten selectionlisten widgetdefaultselect selectionev public void widget select select event highlight color list item item highlight color list item overlai store set item bold kei bold check box select widgetselect selectionev highlightingcolorlistitem gethighlightingcolorlistitem getoverlaystor setvalu getboldkei fboldcheckbox getselect ital check box add select listen select listen public void widget default select select event fitaliccheckbox addselectionlisten selectionlisten widgetdefaultselect selectionev public void widget select select event highlight color list item item highlight color list item overlai store set item ital kei ital check box select widgetselect selectionev highlightingcolorlistitem gethighlightingcolorlistitem getoverlaystor setvalu getitalickei fitaliccheckbox getselect privat control creat syntax page composit parent composit color composit composit parent swt color composit set layout grid layout group background composit group color composit swt shadow etch grid layout layout grid layout layout num column 3 background composit set layout layout background composit set text ant prefer messag string ant editor prefer page 2 non nl 1 select listen background select listen select listen public void widget select select event boolean custom background custom radio button select background color button set enabl custom overlai store set abstract text editor prefer color background system default custom public void widget default select select event background default radio button button background composit swt radio swt left background default radio button set text ant prefer messag string ant editor prefer page 3 non nl 1 background default radio button add select listen background select listen background custom radio button button background composit swt radio swt left background custom radio button set text ant prefer messag string ant editor prefer page 4 non nl 1 background custom radio button add select listen background select listen background color editor color editor background composit background color button background color editor button label label label color composit swt left label set text ant prefer messag string ant editor prefer page 5 non nl 1 label set layout data grid data grid data fill horizont composit editor composit composit color composit swt layout grid layout layout num column 2 layout margin height 0 layout margin width 0 editor composit set layout layout grid data gd grid data grid data fill editor composit set layout data gd highlight color list viewer tabl viewer editor composit swt singl swt scroll swt border swt full select highlight color list viewer set label provid color list label provid highlight color list viewer set content provid color list content provid highlight color list viewer set sorter workbench viewer sorter gd grid data grid data fill gd height hint convert height char pixel 5 highlight color list viewer control set layout data gd composit style composit composit editor composit swt layout grid layout layout margin height 0 layout margin width 0 layout num column 2 style composit set layout layout style composit set layout data grid data grid data fill label label style composit swt left label set text ant prefer messag string ant editor prefer page 6 non nl 1 gd grid data gd horizont align grid data begin label set layout data gd syntax foreground color editor color editor style composit button foreground color button syntax foreground color editor button gd grid data grid data fill horizont gd horizont align grid data begin foreground color button set layout data gd bold check box button style composit swt check bold check box set text ant prefer messag string ant editor prefer page 7 non nl 1 gd grid data grid data fill horizont gd horizont align grid data begin gd horizont span 2 bold check box set layout data gd ital check box button style composit swt check ital check box set text ant prefer messag string ant editor prefer page 8 non nl 1 gd grid data grid data fill horizont gd horizont align grid data begin gd horizont span 2 ital check box set layout data gd label label color composit swt left label set text ant prefer messag string ant editor prefer page 9 non nl 1 label set layout data grid data grid data fill horizont control preview creat preview color composit gd grid data grid data fill gd width hint convert width char pixel 20 gd height hint convert height char pixel 5 preview set layout data gd highlight color list viewer add select chang listen select chang listen public void select chang select chang event event handl syntax color list select foreground color button add select listen select listen public void widget default select select event public void widget select select event highlight color list item item highlight color list item prefer convert set overlai store item color kei syntax foreground color editor color background color button add select listen select listen public void widget default select select event public void widget select select event prefer convert set overlai store abstract text editor prefer color background background color editor color bold check box add select listen select listen public void widget default select select event public void widget select select event highlight color list item item highlight color list item overlai store set item bold kei bold check box select ital check box add select listen select listen public void widget default select select event public void widget select select event highlight color list item item highlight color list item overlai store set item ital kei ital check box select return color composit createsyntaxpag colorcomposit colorcomposit setlayout gridlayout backgroundcomposit colorcomposit shadow_etch_in gridlayout gridlayout numcolumn backgroundcomposit setlayout backgroundcomposit settext antpreferencesmessag getstr anteditorpreferencepag selectionlisten backgroundselectionlisten selectionlisten widgetselect selectionev fbackgroundcustomradiobutton getselect fbackgroundcolorbutton seten getoverlaystor setvalu abstracttexteditor prefer_color_background_system_default widgetdefaultselect selectionev fbackgrounddefaultradiobutton backgroundcomposit fbackgrounddefaultradiobutton settext antpreferencesmessag getstr anteditorpreferencepag fbackgrounddefaultradiobutton addselectionlisten backgroundselectionlisten fbackgroundcustomradiobutton backgroundcomposit fbackgroundcustomradiobutton settext antpreferencesmessag getstr anteditorpreferencepag fbackgroundcustomradiobutton addselectionlisten backgroundselectionlisten fbackgroundcoloreditor coloreditor backgroundcomposit fbackgroundcolorbutton fbackgroundcoloreditor getbutton colorcomposit settext antpreferencesmessag getstr anteditorpreferencepag setlayoutdata griddata griddata fill_horizont editorcomposit colorcomposit gridlayout numcolumn marginheight marginwidth editorcomposit setlayout griddata griddata griddata fill_both editorcomposit setlayoutdata fhighlightingcolorlistview tableview editorcomposit v_scroll full_select fhighlightingcolorlistview setlabelprovid colorlistlabelprovid fhighlightingcolorlistview setcontentprovid colorlistcontentprovid fhighlightingcolorlistview setsort workbenchviewersort griddata griddata fill_both heighthint convertheightincharstopixel fhighlightingcolorlistview getcontrol setlayoutdata stylescomposit editorcomposit gridlayout marginheight marginwidth numcolumn stylescomposit setlayout stylescomposit setlayoutdata griddata griddata fill_both stylescomposit settext antpreferencesmessag getstr anteditorpreferencepag griddata horizontalalign griddata setlayoutdata fsyntaxforegroundcoloreditor coloreditor stylescomposit foregroundcolorbutton fsyntaxforegroundcoloreditor getbutton griddata griddata fill_horizont horizontalalign griddata foregroundcolorbutton setlayoutdata fboldcheckbox stylescomposit fboldcheckbox settext antpreferencesmessag getstr anteditorpreferencepag griddata griddata fill_horizont horizontalalign griddata horizontalspan fboldcheckbox setlayoutdata fitaliccheckbox stylescomposit fitaliccheckbox settext antpreferencesmessag getstr anteditorpreferencepag griddata griddata fill_horizont horizontalalign griddata horizontalspan fitaliccheckbox setlayoutdata colorcomposit settext antpreferencesmessag getstr anteditorpreferencepag setlayoutdata griddata griddata fill_horizont createpreview colorcomposit griddata griddata fill_both widthhint convertwidthincharstopixel heighthint convertheightincharstopixel setlayoutdata fhighlightingcolorlistview addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev handlesyntaxcolorlistselect foregroundcolorbutton addselectionlisten selectionlisten widgetdefaultselect selectionev widgetselect selectionev highlightingcolorlistitem gethighlightingcolorlistitem preferenceconvert setvalu getoverlaystor getcolorkei fsyntaxforegroundcoloreditor getcolorvalu fbackgroundcolorbutton addselectionlisten selectionlisten widgetdefaultselect selectionev widgetselect selectionev preferenceconvert setvalu getoverlaystor abstracttexteditor prefer_color_background fbackgroundcoloreditor getcolorvalu fboldcheckbox addselectionlisten selectionlisten widgetdefaultselect selectionev widgetselect selectionev highlightingcolorlistitem gethighlightingcolorlistitem getoverlaystor setvalu getboldkei fboldcheckbox getselect fitaliccheckbox addselectionlisten selectionlisten widgetdefaultselect selectionev widgetselect selectionev highlightingcolorlistitem gethighlightingcolorlistitem getoverlaystor setvalu getitalickei fitaliccheckbox getselect colorcomposit privat control creat preview composit parent preview viewer sourc viewer parent null null fals swt border swt scroll swt scroll abstract ant sourc viewer configur configur ant templat viewer configur preview viewer configur configur preview viewer set edit fals font font face resourc font face resourc text font preview viewer text widget set font font prefer store store chain prefer store prefer store overlai store editorsui prefer store preview updat ant preview updat preview viewer configur store string content load preview content file syntax preview code txt non nl 1 document document document content ant document setup particip setup document preview viewer set document document return preview viewer control createpreview fpreviewview sourceview v_scroll h_scroll abstractantsourceviewerconfigur anttemplateviewerconfigur fpreviewview fpreviewview setedit jfaceresourc getfont jfaceresourc text_font fpreviewview gettextwidget setfont ipreferencestor chainedpreferencestor ipreferencestor getoverlaystor getpreferencestor fpreviewerupdat antpreviewerupdat fpreviewview loadpreviewcontentfromfil syntaxpreviewcod idocu antdocumentsetupparticip fpreviewview setdocu fpreviewview getcontrol privat void handl syntax color list select highlight color list item item highlight color list item rgb rgb prefer convert color overlai store item color kei syntax foreground color editor set color rgb bold check box set select overlai store boolean item bold kei ital check box set select overlai store boolean item ital kei handlesyntaxcolorlistselect highlightingcolorlistitem gethighlightingcolorlistitem preferenceconvert getcolor getoverlaystor getcolorkei fsyntaxforegroundcoloreditor setcolorvalu fboldcheckbox setselect getoverlaystor getboolean getboldkei fitaliccheckbox setselect getoverlaystor getboolean getitalickei return current highlight color list item return current highlight color list item 3 0 privat highlight color list item highlight color list item structur select select structur select highlight color list viewer select return highlight color list item select element highlightingcolorlistitem gethighlightingcolorlistitem istructuredselect istructuredselect fhighlightingcolorlistview getselect highlightingcolorlistitem getfirstel public void dispos super dispos preview updat null preview updat dispos fpreviewerupdat fpreviewerupdat privat composit creat problem tab content tab folder folder combo box arrai list initi work valu string error warn ignor label string ant prefer messag string ant editor prefer page 11 ant prefer messag string ant editor prefer page 12 ant prefer messag string ant editor prefer page 13 non nl 1 non nl 2 non nl 3 string error warn ignor string ant editor prefer constant buildfil error ant editor prefer constant buildfil warn ant editor prefer constant buildfil ignor int column 3 grid layout layout grid layout layout num column column composit composit composit folder swt null composit set layout layout label descript label composit swt wrap descript set text ant prefer messag string ant editor prefer page 14 non nl 1 grid data gd grid data grid data fill horizont grid data grab horizont gd horizont span column descript set layout data gd string label ant prefer messag string ant editor prefer page 18 non nl 1 add combo box composit label ant editor prefer constant problem task error warn ignor error warn ignor label 0 label ant prefer messag string ant editor prefer page 15 non nl 1 add combo box composit label ant editor prefer constant problem classpath error warn ignor error warn ignor label 0 label ant prefer messag string ant editor prefer page 16 non nl 1 add combo box composit label ant editor prefer constant problem properti error warn ignor error warn ignor label 0 label ant prefer messag string ant editor prefer page 17 non nl 1 add combo box composit label ant editor prefer constant problem import error warn ignor error warn ignor label 0 return composit createproblemstabcont tabfold fcombobox arraylist initializeworkingvalu errorwarningignorelabel antpreferencesmessag getstr anteditorpreferencepag antpreferencesmessag getstr anteditorpreferencepag antpreferencesmessag getstr anteditorpreferencepag errorwarningignor anteditorpreferenceconst buildfil_error anteditorpreferenceconst buildfil_warn anteditorpreferenceconst buildfil_ignor ncolumn gridlayout gridlayout numcolumn ncolumn otherscomposit otherscomposit setlayout otherscomposit settext antpreferencesmessag getstr anteditorpreferencepag griddata griddata griddata fill_horizont griddata grab_horizont horizontalspan ncolumn setlayoutdata antpreferencesmessag getstr anteditorpreferencepag addcombobox otherscomposit anteditorpreferenceconst problem_task errorwarningignor errorwarningignorelabel antpreferencesmessag getstr anteditorpreferencepag addcombobox otherscomposit anteditorpreferenceconst problem_classpath errorwarningignor errorwarningignorelabel antpreferencesmessag getstr anteditorpreferencepag addcombobox otherscomposit anteditorpreferenceconst problem_properti errorwarningignor errorwarningignorelabel antpreferencesmessag getstr anteditorpreferencepag addcombobox otherscomposit anteditorpreferenceconst problem_import errorwarningignor errorwarningignorelabel otherscomposit privat void initi work valu work valu hash map problem prefer kei length int 0 problem prefer kei length string kei problem prefer kei work valu put kei prefer store string kei initializeworkingvalu fworkingvalu hashmap fproblempreferencekei fproblempreferencekei fproblempreferencekei fworkingvalu getpreferencestor getstr privat void restor work valu default work valu hash map problem prefer kei length int 0 problem prefer kei length string kei problem prefer kei work valu put kei prefer store default string kei updat control restoreworkingvaluestodefault fworkingvalu hashmap fproblempreferencekei fproblempreferencekei fproblempreferencekei fworkingvalu getpreferencestor getdefaultstr updatecontrol protect combo add combo box composit parent string label string kei string valu string label int indent control data data control data kei valu grid data gd grid data grid data horizont align begin gd horizont indent indent label label control label parent swt left swt wrap label control set text label label control set layout data gd combo combo box combo parent swt read combo box set item label combo box set data data combo box set layout data grid data grid data horizont align fill combo box add select listen select listen label place holder label parent swt place holder set layout data grid data grid data fill horizont string curr string work valu kei combo box select data select curr combo box add combo box return combo box addcombobox valuelabel controldata controldata griddata griddata griddata horizont_align_begin horizontalind labelcontrol labelcontrol settext labelcontrol setlayoutdata combobox read_onli combobox setitem valuelabel combobox setdata combobox setlayoutdata griddata griddata horizont_align_fill combobox addselectionlisten getselectionlisten placehold placehold setlayoutdata griddata griddata fill_horizont currvalu fworkingvalu combobox getselect currvalu fcombobox combobox combobox select listen null select listen select listen public void widget default select select event fselectionlisten fselectionlisten selectionlisten widgetdefaultselect selectionev public void widget default select select event public void widget select select event control chang widget widgetdefaultselect selectionev widgetselect selectionev controlchang protect select listen select listen select listen null select listen select listen public void widget default select select event public void widget select select event control chang widget return select listen selectionlisten getselectionlisten fselectionlisten fselectionlisten selectionlisten widgetdefaultselect selectionev widgetselect selectionev controlchang fselectionlisten protect void control chang widget widget control data data control data widget data string null widget instanceof button data button widget select widget instanceof combo data combo widget select index return work valu put data kei valid set data kei controlchang controldata controldata getdata newvalu newvalu getvalu getselect newvalu getvalu getselectionindex fworkingvalu getkei newvalu validateset getkei newvalu protect void updat control updat ui int combo box size 1 0 combo curr combo combo box control data data control data curr data string curr string work valu data kei curr select data select curr updatecontrol fcombobox fcombobox controldata controldata getdata currvalu fworkingvalu getkei getselect currvalu public boolean perform ok iter iter work valu kei set iter prefer store store prefer store iter string kei string iter store put kei string work valu kei store need save store put ant editor prefer constant problem chang non nl 1 return super perform ok performok fworkingvalu keyset ipreferencestor getpreferencestor hasnext putvalu fworkingvalu needssav putvalu anteditorpreferenceconst performok method declar base label provid public void dispos ibaselabelprovid public imag column imag object element int column index element instanceof properti return properti imag element instanceof type return type imag element instanceof task return task imag return platformui workbench share imag imag share imag img obj file getcolumnimag columnindex getpropertyimag gettypeimag gettaskimag getworkbench getsharedimag getimag isharedimag img_obj_file public string column text object element int column index element instanceof properti properti properti properti element properti default return element string messag format format ant prefer messag string ant object label provid 10 string properti plugin label non nl 1 element instanceof ant object ant object object ant object element string buffer text string buffer object string text append non nl 1 text append object librari entri label text append non nl 1 text append object class text append object default text append messag format format ant prefer messag string ant object label provid 10 string object plugin label non nl 1 return text string return element string getcolumntext columnindex isdefault tostr messageformat antpreferencesmessag getstr antobjectlabelprovid getpluginlabel antobject antobject antobject stringbuff stringbuff tostr getlibraryentri getlabel getclassnam isdefault messageformat antpreferencesmessag getstr antobjectlabelprovid getpluginlabel tostr tostr public imag type imag return antui imag imag antui constant img ant type gettypeimag antuiimag getimag iantuiconst img_ant_type public imag task imag return platformui workbench share imag imag id share imag img obj task tsk gettaskimag getworkbench getsharedimag getimag sharedimag img_obj_task_tsk public static imag properti imag return antui imag imag antui constant img properti getpropertyimag antuiimag getimag iantuiconst img_properti org eclips jface viewer color provid foreground java lang object public color foreground object element return null icolorprovid getforeground getforeground public color background object element element instanceof ant object ant object element default displai displai displai current return displai system color swt color info background element instanceof properti properti element default displai displai displai current return displai system color swt color info background return null getbackground antobject antobject isdefault getcurr getsystemcolor color_info_background isdefault getcurr getsystemcolor color_info_background public abstract class ant page protect select adapt select adapt select adapt public void widget select select event button press integ widget data int antpag selectionadapt selectionadapt selectionadapt widgetselect selectionev buttonpress getdata intvalu creat instanc page public ant page ant runtim prefer page prefer page super prefer page prefer page antpag antruntimepreferencepag preferencepag preferencepag preferencepag add button specif page protect abstract void add button button group composit parent addbuttonstobuttongroup protect abstract void add button button group composit parent give page chanc initi protect abstract void initi addbuttonstobuttongroup add object content protect void add content object content provid null content provid add addcont contentprovid contentprovid handl button press event protect abstract void button press int button id buttonpress buttonid creat return button size layout param parent control creat button param label kei kei lookup button label param button id id assign button return initi button protect button creat push button composit parent string button text int button id button button button parent swt push button set font parent font button set text button text button set data integ button id button add select listen select adapt prefer page set button layout data button return button labelkei buttonid createpushbutton buttontext buttonid setfont getfont settext buttontext setdata buttonid addselectionlisten selectionadapt preferencepag setbuttonlayoutdata creat group button protect void creat button group composit top composit button group composit top swt grid layout layout grid layout layout margin height 0 layout margin width 0 button group set layout layout button group set layout data grid data grid data fill vertic button group set font top font add button button group button group createbuttongroup buttongroup gridlayout gridlayout marginheight marginwidth buttongroup setlayout buttongroup setlayoutdata griddata griddata fill_vertic buttongroup setfont getfont addbuttonstobuttongroup buttongroup tabl viewer set label provid label provid tabl viewer add select chang listen select chang listen public void select chang select chang event event tabl select chang structur select event select tableview setlabelprovid getlabelprovid tableview addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev tableselectionchang istructuredselect getselect tabl viewer add doubl click listen doubl click listen public void doubl click doubl click event event event select empti edit button enabl edit structur select event select tableview adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev getselect isempti editbutton isen istructuredselect getselect tabl add kei listen kei adapt public void kei press kei event event edit button enabl event charact swt del event mask 0 remov tabl viewer addkeylisten keyadapt keypress keyev editbutton isen statemask tableview creat tabl viewer protect void creat tabl composit parent tabl tabl tabl parent swt multi swt full select swt border grid data data grid data grid data fill data width hint dialog constant entri field width data height hint tabl item height data horizont span 1 tabl set layout data data tabl set font parent font content provid content provid tabl viewer tabl viewer tabl tabl viewer set content provid content provid tabl viewer set label provid label provid tabl viewer add select chang listen select chang listen public void select chang select chang event event tabl select chang structur select event select tabl viewer add doubl click listen doubl click listen public void doubl click doubl click event event event select empti edit button enabl edit structur select event select tabl add kei listen kei adapt public void kei press kei event event edit button enabl event charact swt del event mask 0 remov tabl viewer createt full_select griddata griddata griddata fill_both widthhint idialogconst entri_field_width heighthint getitemheight horizontalspan setlayoutdata setfont getfont contentprovid getcontentprovid tableview tableview tableview setcontentprovid contentprovid tableview setlabelprovid getlabelprovid tableview addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev tableselectionchang istructuredselect getselect tableview adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev getselect isempti editbutton isen istructuredselect getselect addkeylisten keyadapt keypress keyev editbutton isen statemask tableview return content provid tabl viewer return ant page content provid protect ant content provid content provid return ant content provid antpagecontentprovid antcontentprovid getcontentprovid antcontentprovid return list object tabl librari entri includ prefer default object includ depend code displai code paramet return code null code widget creat dispos param displai result displai ui store prefer return list object displai tabl protect list content boolean displai tabl viewer null tabl viewer control dispos return null list entri prefer page librari entri object element content provid element tabl viewer input list content arrai list element length object element ant object ant object int 0 element length element element element instanceof ant object ant object ant object element displai ant object default entri ant object librari entri continu ant object default entri ant object librari entri continu content add element return content fordisplai fordisplai getcont fordisplai tableview tableview getcontrol isdispos getpreferencepag getlibraryentri contentprovid getel tableview getinput arraylist antobject antobject antobject antobject antobject fordisplai antobject isdefault antobject getlibraryentri antobject isdefault antobject getlibraryentri return label provid page want displai content return select viewer code null code protect final structur select select tabl viewer null tabl viewer control dispos return null return structur select tabl viewer select istructuredselect getselect tableview tableview getcontrol isdispos istructuredselect tableview getselect return shell page protect final shell shell tabl viewer null tabl viewer control dispos return null return tabl viewer control shell getshel tableview tableview getcontrol isdispos tableview getcontrol getshel handl remov button press event protect void remov remov tabl viewer tableview protect void remov tabl viewer viewer ant content provid ant content provid ant content provid viewer content provid structur select sel structur select viewer select iter itr sel iter itr ant content provid remov itr tableview antcontentprovid antcontentprovid antcontentprovid getcontentprovid istructuredselect istructuredselect getselect hasnext antcontentprovid set content tabl page effect widget creat dispos protect void set input list input tabl viewer null tabl viewer control dispos return tabl viewer set input input tabl select chang structur select tabl viewer select setinput tableview tableview getcontrol isdispos tableview setinput tableselectionchang istructuredselect tableview getselect updat content element tabl viewer protect final void updat content object element tabl viewer null tabl viewer control dispos return tabl viewer updat element null updatecont tableview tableview getcontrol isdispos tableview creat default content page protect composit creat content composit top workbench help set help top help context id grid layout layout grid layout layout num column 2 layout margin height 2 layout margin width 2 top set layout layout top set layout data grid data grid data fill creat tabl top creat button group top return top createcont workbenchhelp sethelp gethelpcontextid gridlayout gridlayout numcolumn marginheight marginwidth setlayout setlayoutdata griddata griddata fill_both createt createbuttongroup protect ant runtim prefer page prefer page return prefer page antruntimepreferencepag getpreferencepag preferencepag protect tabl viewer tabl viewer return tabl viewer tableview gettableview tableview handl select tabl viewer protect void tabl select chang structur select select int size select size boolean enabl true iter itr select iter itr object element itr element instanceof ant object ant object ant object ant object element ant object default enabl fals break edit button set enabl enabl size 1 remov button set enabl enabl size 0 tableselectionchang istructuredselect newselect newselect newselect hasnext antobject antobject antobject antobject antobject isdefault editbutton seten removebutton seten user edit custom ant object param select select object edit return page help context id hook page creation return help context id folder add select listen select adapt public void widget select select event item item remov ant object librari remov set input content true addselectionlisten selectionadapt widgetselect selectionev setinput getcont protect void connect folder final tab item item tab folder folder folder add select listen select adapt public void widget select select event item item remov ant object librari remov set input content true connecttofold tabitem tabfold addselectionlisten selectionadapt widgetselect selectionev setinput getcont creat ant page public ant prefer page super grid set descript ant prefer messag string ant prefer page gener non nl 1 set prefer store antui plugin default prefer store antpreferencepag setdescript antpreferencesmessag getstr antpreferencepag setpreferencestor antuiplugin getdefault getpreferencestor protect void creat field editor store appli valu font font field editor parent font label label label field editor parent swt label set text ant prefer messag string ant prefer page enter non nl 1 grid data gd grid data gd horizont span 2 label set layout data gd label set font font build file name string field editor antui prefer constant ant find build file name ant prefer messag string ant prefer page name 3 field editor parent non nl 1 add field build file name label field editor parent swt antui plugin maco mac tool jar bug 40778 tool warn editor boolean field editor antui prefer constant ant tool jar warn ant prefer messag string ant prefer page 10 field editor parent non nl 1 add field tool warn editor add field boolean field editor antui prefer constant ant error dialog ant prefer messag string ant prefer page 12 field editor parent non nl 1 label field editor parent swt creat color composit prefer store add properti chang listen createfieldeditor storeappliedvalu getfieldeditorpar getfont getfieldeditorpar settext antpreferencesmessag getstr antpreferencepag griddata griddata horizontalspan setlayoutdata setfont fbuildfilenam stringfieldeditor iantuipreferenceconst ant_find_build_file_name antpreferencesmessag getstr antpreferencepag name__3 getfieldeditorpar addfield fbuildfilenam getfieldeditorpar antuiplugin ismaco toolswarningeditor booleanfieldeditor iantuipreferenceconst ant_tool_jar_warn antpreferencesmessag getstr antpreferencepag getfieldeditorpar addfield toolswarningeditor addfield booleanfieldeditor iantuipreferenceconst ant_error_dialog antpreferencesmessag getstr antpreferencepag getfieldeditorpar getfieldeditorpar createcolorcomposit getpreferencestor addpropertychangelisten store initi valu color prefer prefer valu updat fly user edit press appli need store valu reset user choos cancel privat void store appli valu prefer store store prefer store int 0 appear color list model length string prefer appear color list model 1 appear color list model 2 store string prefer storeappliedvalu ipreferencestor getpreferencestor fappearancecolorlistmodel fappearancecolorlistmodel fappearancecolorlistmodel getstr consol color list add select listen select adapt public void widget select select event handl appear color list select fconsolecolorlist addselectionlisten selectionadapt widgetselect selectionev handleappearancecolorlistselect foreground color button add select listen select adapt public void widget select select event int consol color list select index string kei appear color list model 1 prefer convert set prefer store kei consol color editor color foregroundcolorbutton addselectionlisten selectionadapt widgetselect selectionev fconsolecolorlist getselectionindex fappearancecolorlistmodel preferenceconvert setvalu getpreferencestor fconsolecoloreditor getcolorvalu privat void creat color composit font font field editor parent font label label label field editor parent swt left label set text ant prefer messag string ant prefer page ant color option 6 non nl 1 label set font font grid data gd grid data grid data horizont align fill gd horizont span 2 label set layout data gd composit editor composit composit field editor parent swt grid layout layout grid layout layout num column 2 layout margin height 0 layout margin width 0 editor composit set layout layout editor composit set font font gd grid data grid data horizont align fill grid data fill vertic gd horizont span 2 editor composit set layout data gd consol color list list editor composit swt singl swt scroll swt scroll swt border gd grid data grid data vertic align begin grid data fill horizont gd height hint convert height char pixel 8 consol color list set layout data gd consol color list set font font composit style composit composit editor composit swt layout grid layout layout margin height 0 layout margin width 0 layout num column 2 style composit set layout layout style composit set layout data grid data grid data fill style composit set font font label label style composit swt left label set text ant prefer messag string ant prefer page color 7 non nl 1 label set font font gd grid data gd horizont align grid data begin label set layout data gd consol color editor color editor style composit button foreground color button consol color editor button gd grid data grid data fill horizont gd horizont align grid data begin foreground color button set layout data gd foreground color button set font font consol color list add select listen select adapt public void widget select select event handl appear color list select foreground color button add select listen select adapt public void widget select select event int consol color list select index string kei appear color list model 1 prefer convert set prefer store kei consol color editor color createcolorcomposit getfieldeditorpar getfont getfieldeditorpar settext antpreferencesmessag getstr antpreferencepag ant_color_option__6 setfont griddata griddata griddata horizont_align_fill horizontalspan setlayoutdata editorcomposit getfieldeditorpar gridlayout gridlayout numcolumn marginheight marginwidth editorcomposit setlayout editorcomposit setfont griddata griddata horizont_align_fill griddata fill_vertic horizontalspan editorcomposit setlayoutdata fconsolecolorlist editorcomposit v_scroll h_scroll griddata griddata vertic_align_begin griddata fill_horizont heighthint convertheightincharstopixel fconsolecolorlist setlayoutdata fconsolecolorlist setfont stylescomposit editorcomposit gridlayout marginheight marginwidth numcolumn stylescomposit setlayout stylescomposit setlayoutdata griddata griddata fill_both stylescomposit setfont stylescomposit settext antpreferencesmessag getstr antpreferencepag color__7 setfont griddata horizontalalign griddata setlayoutdata fconsolecoloreditor coloreditor stylescomposit foregroundcolorbutton fconsolecoloreditor getbutton griddata griddata fill_horizont horizontalalign griddata foregroundcolorbutton setlayoutdata foregroundcolorbutton setfont fconsolecolorlist addselectionlisten selectionadapt widgetselect selectionev handleappearancecolorlistselect foregroundcolorbutton addselectionlisten selectionadapt widgetselect selectionev fconsolecolorlist getselectionindex fappearancecolorlistmodel preferenceconvert setvalu getpreferencestor fconsolecoloreditor getcolorvalu restor color prefer valu page open public boolean perform cancel int 0 appear color list model length string prefer appear color list model 1 prefer convert set prefer store prefer string convert asrgb appear color list model 2 return super perform cancel performcancel fappearancecolorlistmodel fappearancecolorlistmodel preferenceconvert setvalu getpreferencestor stringconvert fappearancecolorlistmodel performcancel user appli prefer updat set store prefer fall appli valu cancel public boolean perform ok store appli valu return super perform ok performok storeappliedvalu performok privat void handl appear color list select int consol color list select index string kei appear color list model 1 rgb rgb prefer convert color prefer store kei consol color editor set color rgb handleappearancecolorlistselect fconsolecolorlist getselectionindex fappearancecolorlistmodel preferenceconvert getcolor getpreferencestor fconsolecoloreditor setcolorvalu field editor prefer page creat content org eclips swt widget composit protect control creat content composit parent workbench help set help parent antui help context id ant prefer page return super creat content parent fieldeditorpreferencepag createcont createcont workbenchhelp sethelp iantuihelpcontextid ant_prefer_page createcont workbench prefer page init workbench public void init workbench workbench iworkbenchpreferencepag iworkbench iworkbench consol color list displai async exec runnabl public void run consol color list null consol color list dispos consol color list select 0 handl appear color list select fconsolecolorlist getdisplai asyncexec fconsolecolorlist fconsolecolorlist isdispos fconsolecolorlist handleappearancecolorlistselect org eclips jface prefer field editor prefer page initi protect void initi super initi int 0 appear color list model length consol color list add appear color list model 0 consol color list displai async exec runnabl public void run consol color list null consol color list dispos consol color list select 0 handl appear color list select fieldeditorpreferencepag fappearancecolorlistmodel fconsolecolorlist fappearancecolorlistmodel fconsolecolorlist getdisplai asyncexec fconsolecolorlist fconsolecolorlist isdispos fconsolecolorlist handleappearancecolorlistselect org eclips jface prefer prefer page perform default protect void perform default int 0 appear color list model length string kei appear color list model 1 prefer convert set prefer store kei prefer convert default color prefer store kei handl appear color list select super perform default preferencepag performdefault performdefault fappearancecolorlistmodel fappearancecolorlistmodel preferenceconvert setvalu getpreferencestor preferenceconvert getdefaultcolor getpreferencestor handleappearancecolorlistselect performdefault org eclips jface dialog dialog page dispos public void dispos prefer store remov properti chang listen idialogpag getpreferencestor removepropertychangelisten public void properti chang properti chang event event event properti equal antui prefer constant ant tool jar warn tool warn editor null tool warn editor load super properti chang event propertychang propertychangeev getproperti iantuipreferenceconst ant_tool_jar_warn toolswarningeditor toolswarningeditor propertychang privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat ant prefer messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name antpreferencesmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept public void properti chang properti chang event event event properti equal face resourc text font font font face resourc font face resourc text font viewer text widget set font font propertychang propertychangeev getproperti jfaceresourc text_font jfaceresourc getfont jfaceresourc text_font gettextwidget setfont public void properti chang properti chang event event string properti event properti abstract text editor prefer color foreground equal properti abstract text editor prefer color foreground system default equal properti abstract text editor prefer color background equal properti abstract text editor prefer color background system default equal properti abstract text editor prefer color select foreground equal properti abstract text editor prefer color select foreground system default equal properti abstract text editor prefer color select background equal properti abstract text editor prefer color select background system default equal properti initi viewer color viewer prefer store configur affect text present event configur adapt prefer chang event viewer invalid text present format prefer affect format event format viewer prefer store propertychang propertychangeev getproperti abstracttexteditor prefer_color_foreground abstracttexteditor prefer_color_foreground_system_default abstracttexteditor prefer_color_background abstracttexteditor prefer_color_background_system_default abstracttexteditor prefer_color_select_foreground abstracttexteditor prefer_color_select_foreground_system_default abstracttexteditor prefer_color_select_background abstracttexteditor prefer_color_select_background_system_default initializeviewercolor preferencestor affectstextpresent adapttopreferencechang invalidatetextpresent formattingprefer affectsformat preferencestor param viewer param prefer store privat void format final sourc viewer sourc viewer final prefer store store string content sourc viewer document format prefer pref format prefer pref set prefer store store content xml formatt format content pref viewer document set content preferencestor sourceview sourceview ipreferencestor sourceview getdocu formattingprefer formattingprefer setpreferencestor xmlformatt getdocu org eclips swt event dispos listen widget dispos org eclips swt event dispos event public void widget dispos dispos event prefer store remov properti chang listen properti chang listen face resourc font registri remov listen font chang listen disposelisten widgetdispos disposeev widgetdispos disposeev preferencestor removepropertychangelisten propertychangelisten jfaceresourc getfontregistri removelisten fontchangelisten creat sourc preview updat viewer configur prefer store param viewer viewer param configur configur param prefer store prefer store public ant preview updat final sourc viewer viewer final abstract ant sourc viewer configur configur final prefer store prefer store initi viewer color viewer prefer store final properti chang listen font chang listen properti chang listen org eclips jface util properti chang listen properti chang org eclips jface util properti chang event public void properti chang properti chang event event event properti equal face resourc text font font font face resourc font face resourc text font viewer text widget set font font final properti chang listen properti chang listen properti chang listen org eclips jface util properti chang listen properti chang org eclips jface util properti chang event public void properti chang properti chang event event string properti event properti abstract text editor prefer color foreground equal properti abstract text editor prefer color foreground system default equal properti abstract text editor prefer color background equal properti abstract text editor prefer color background system default equal properti abstract text editor prefer color select foreground equal properti abstract text editor prefer color select foreground system default equal properti abstract text editor prefer color select background equal properti abstract text editor prefer color select background system default equal properti initi viewer color viewer prefer store configur affect text present event configur adapt prefer chang event viewer invalid text present format prefer affect format event format viewer prefer store param viewer param prefer store privat void format final sourc viewer sourc viewer final prefer store store string content sourc viewer document format prefer pref format prefer pref set prefer store store content xml formatt format content pref viewer document set content viewer text widget add dispos listen dispos listen org eclips swt event dispos listen widget dispos org eclips swt event dispos event public void widget dispos dispos event prefer store remov properti chang listen properti chang listen face resourc font registri remov listen font chang listen face resourc font registri add listen font chang listen prefer store add properti chang listen properti chang listen preferencestor antpreviewerupdat sourceview abstractantsourceviewerconfigur ipreferencestor preferencestor initializeviewercolor preferencestor ipropertychangelisten fontchangelisten ipropertychangelisten ipropertychangelisten propertychang propertychangeev propertychang propertychangeev getproperti jfaceresourc text_font jfaceresourc getfont jfaceresourc text_font gettextwidget setfont ipropertychangelisten propertychangelisten ipropertychangelisten ipropertychangelisten propertychang propertychangeev propertychang propertychangeev getproperti abstracttexteditor prefer_color_foreground abstracttexteditor prefer_color_foreground_system_default abstracttexteditor prefer_color_background abstracttexteditor prefer_color_background_system_default abstracttexteditor prefer_color_select_foreground abstracttexteditor prefer_color_select_foreground_system_default abstracttexteditor prefer_color_select_background abstracttexteditor prefer_color_select_background_system_default initializeviewercolor preferencestor affectstextpresent adapttopreferencechang invalidatetextpresent formattingprefer affectsformat preferencestor preferencestor sourceview sourceview ipreferencestor sourceview getdocu formattingprefer formattingprefer setpreferencestor xmlformatt getdocu gettextwidget adddisposelisten disposelisten disposelisten widgetdispos disposeev widgetdispos disposeev preferencestor removepropertychangelisten propertychangelisten jfaceresourc getfontregistri removelisten fontchangelisten jfaceresourc getfontregistri addlisten fontchangelisten preferencestor addpropertychangelisten propertychangelisten initi viewer color param viewer viewer initi 2 0 protect void initi viewer color sourc viewer viewer prefer store store style text style text viewer text widget foreground color color color store boolean abstract text editor prefer color foreground system default null creat color store abstract text editor prefer color foreground style text displai style text set foreground color foreground color null foreground color dispos foreground color color background color color store boolean abstract text editor prefer color background system default null creat color store abstract text editor prefer color background style text displai style text set background color background color null background color dispos background color color select foreground color color store boolean abstract text editor prefer color select foreground system default null creat color store abstract text editor prefer color select foreground style text displai style text set select foreground color select foreground color null select foreground color dispos select foreground color color select background color color store boolean abstract text editor prefer color select background system default null creat color store abstract text editor prefer color select background style text displai style text set select background color select background color null select background color dispos select background color color initializeviewercolor isourceview ipreferencestor styledtext styledtext gettextwidget getboolean abstracttexteditor prefer_color_foreground_system_default createcolor abstracttexteditor prefer_color_foreground styledtext getdisplai styledtext setforeground fforegroundcolor fforegroundcolor fforegroundcolor getboolean abstracttexteditor prefer_color_background_system_default createcolor abstracttexteditor prefer_color_background styledtext getdisplai styledtext setbackground fbackgroundcolor fbackgroundcolor fbackgroundcolor getboolean abstracttexteditor prefer_color_select_foreground_system_default createcolor abstracttexteditor prefer_color_select_foreground styledtext getdisplai styledtext setselectionforeground fselectionforegroundcolor fselectionforegroundcolor fselectionforegroundcolor getboolean abstracttexteditor prefer_color_select_background_system_default createcolor abstracttexteditor prefer_color_select_background styledtext getdisplai styledtext setselectionbackground fselectionbackgroundcolor fselectionbackgroundcolor fselectionbackgroundcolor creat color inform store prefer store return code null code inform param store store read param kei kei lookup prefer store param displai displai creat color return creat color accord specif prefer store 2 0 privat color creat color prefer store store string kei displai displai rgb rgb null store kei store default kei rgb prefer convert default color store kei rgb prefer convert color store kei rgb null return color displai rgb return null createcolor ipreferencestor isdefault preferenceconvert getdefaultcolor preferenceconvert getcolor public void dispos foreground color null foreground color dispos foreground color null background color null background color dispos background color null select foreground color null select foreground color dispos select foreground color null select background color null select background color dispos select background color null fforegroundcolor fforegroundcolor fforegroundcolor fbackgroundcolor fbackgroundcolor fbackgroundcolor fselectionforegroundcolor fselectionforegroundcolor fselectionforegroundcolor fselectionbackgroundcolor fselectionbackgroundcolor fselectionbackgroundcolor privat select adapt button listen select adapt public void widget select select event event event widget add button add properti event widget edit button edit event widget remov button remov properti tabl viewer event widget add file button add properti file event widget add extern file button add extern properti file event widget remov file button remov file tabl viewer selectionadapt buttonlisten selectionadapt widgetselect selectionev addbutton addproperti editbutton removebutton propertytableview addfilebutton addpropertyfil addexternalfilebutton addexternalpropertyfil removefilebutton filetableview privat kei adapt kei listen kei adapt public void kei press kei event event event sourc properti tabl viewer remov button enabl event charact swt del event mask 0 remov properti tabl viewer event sourc file tabl viewer remov file button enabl event charact swt del event mask 0 remov file tabl viewer keyadapt keylisten keyadapt keypress keyev getsourc propertytableview removebutton isen statemask propertytableview getsourc filetableview removefilebutton isen statemask filetableview privat select chang listen tabl listen select chang listen public void select chang select chang event event tabl enabl event sourc properti tabl viewer properti tabl select chang structur select event select event sourc file tabl viewer file tabl select chang structur select event select iselectionchangedlisten tablelisten iselectionchangedlisten selectionchang selectionchangedev tablesen getsourc propertytableview propertytableselectionchang istructuredselect getselect getsourc filetableview filetableselectionchang istructuredselect getselect public ant properti block ant block contain contain contain contain antpropertiesblock iantblockcontain privat void add properti file label provid lp workbench label provid tree content provid cp workbench content provid ant properti file select dialog dialog ant properti file select dialog properti tabl viewer control shell lp cp arrai list properti file dialog open window ok object element dialog result int 0 element length i file file file element string var express variabl plugin default string variabl manag gener variabl express workspac loc file full path string non nl 1 ant content provid file tabl viewer content provid add var express contain updat addpropertyfil ilabelprovid workbenchlabelprovid itreecontentprovid workbenchcontentprovid antpropertiesfileselectiondialog antpropertiesfileselectiondialog propertytableview getcontrol getshel aslist getpropertyfil getresult ifil ifil varexpress variablesplugin getdefault getstringvariablemanag generatevariableexpress workspac_loc getfullpath tostr antcontentprovid filetableview getcontentprovid varexpress properti tabl viewer add doubl click listen doubl click listen public void doubl click doubl click event event event select empti edit button enabl edit propertytableview adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev getselect isempti editbutton isen public void creat control composit top string properti label string properti file label font font top font dialog set antui plugin default dialog set label label label top swt grid data gd grid data grid data horizont align begin gd horizont span 2 label set layout data gd label set font font label set text properti label properti tabl viewer creat tabl viewer top properti tabl viewer add doubl click listen doubl click listen public void doubl click doubl click event event event select empti edit button enabl edit properti tabl viewer tabl add kei listen kei listen creat button group top label label top swt gd grid data grid data horizont align begin gd horizont span 2 label set layout data gd label set font font label set text properti file label file tabl viewer creat tabl viewer top file tabl viewer tabl add kei listen kei listen creat button group top createcontrol propertylabel propertyfilelabel getfont dialogset antuiplugin getdefault getdialogset griddata griddata griddata horizont_align_begin horizontalspan setlayoutdata setfont settext propertylabel propertytableview createtableview propertytableview adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev getselect isempti editbutton isen propertytableview gettabl addkeylisten keylisten createbuttongroup griddata griddata horizont_align_begin horizontalspan setlayoutdata setfont settext propertyfilelabel filetableview createtableview filetableview gettabl addkeylisten keylisten createbuttongroup creat group button privat void creat button group composit top composit button group composit top swt grid layout layout grid layout layout margin height 0 layout margin width 0 button group set layout layout button group set layout data grid data grid data fill vertic grid data horizont align fill button group set font top font add button button group button group createbuttongroup buttongroup gridlayout gridlayout marginheight marginwidth buttongroup setlayout buttongroup setlayoutdata griddata griddata fill_vertic griddata horizont_align_fill buttongroup setfont getfont addbuttonstobuttongroup buttongroup creat return configur tabl viewer parent privat tabl viewer creat tabl viewer composit parent tabl tabl tabl parent swt multi swt full select swt border grid data data grid data grid data fill data width hint dialog constant entri field width tabl set layout data data tabl set font parent font tabl viewer tabl viewer tabl viewer tabl tabl viewer set content provid ant content provid tabl viewer set label provid label provid tabl viewer add select chang listen tabl listen return tabl viewer tableview createtableview full_select griddata griddata griddata fill_both widthhint idialogconst entri_field_width setlayoutdata setfont getfont tableview tableview tableview tableview setcontentprovid antcontentprovid tableview setlabelprovid labelprovid tableview addselectionchangedlisten tablelisten tableview protect void add button button group composit parent edit button null add button creat push button parent ant prefer messag string ant properti block 1 non nl 1 edit button creat push button parent ant prefer messag string ant properti block 2 non nl 1 remov button creat push button parent ant prefer messag string ant properti block 3 non nl 1 add file button creat push button parent ant prefer messag string ant properti block 4 non nl 1 add extern file button creat push button parent ant prefer messag string ant properti block 14 non nl 1 remov file button creat push button parent ant prefer messag string ant properti block remov file button non nl 1 addbuttonstobuttongroup editbutton addbutton createpushbutton antpreferencesmessag getstr antpropertiesblock editbutton createpushbutton antpreferencesmessag getstr antpropertiesblock removebutton createpushbutton antpreferencesmessag getstr antpropertiesblock addfilebutton createpushbutton antpreferencesmessag getstr antpropertiesblock addexternalfilebutton createpushbutton antpreferencesmessag getstr antpropertiesblock removefilebutton createpushbutton antpreferencesmessag getstr antpropertiesblock removefilebutton creat return configur button composit label widget select callback return button process code button listen code privat button creat push button composit parent string label button button contain creat push button parent label button add select listen button listen grid data grid data grid data grid data vertic align begin grid data fill horizont button set layout data grid data return button buttonlisten createpushbutton createpushbutton addselectionlisten buttonlisten griddata griddata griddata griddata vertic_align_begin griddata fill_horizont setlayoutdata griddata user enter extern properti file privat void add extern properti file string path path dialog set antui constant dialogstor lastextfil path null path non nl 1 file dialog dialog file dialog file tabl viewer control shell swt multi dialog set filter extens string properti non nl 1 non nl 2 dialog set filter path path string result dialog open result null return path filter path path dialog filter path string result dialog file name int 0 result length string file result i path path filter path append file absolut ant content provid file tabl viewer content provid add path too string dialog set put antui constant dialogstor lastextfil filter path too string contain updat addexternalpropertyfil lastusedpath lastusedpath dialogset iantuiconst dialogstor_lastextfil lastusedpath lastusedpath filedialog filedialog filetableview getcontrol getshel setfilterextens setfilterpath lastusedpath ipath filterpath getfilterpath getfilenam filenam ipath filterpath filenam makeabsolut antcontentprovid filetableview getcontentprovid toosstr dialogset iantuiconst dialogstor_lastextfil filterpath toosstr privat void remov tabl viewer viewer ant content provid ant content provid ant content provid viewer content provid structur select sel structur select viewer select ant content provid remov sel contain updat tableview antcontentprovid antcontentprovid antcontentprovid getcontentprovid istructuredselect istructuredselect getselect antcontentprovid user enter user properti privat void add properti string titl ant prefer messag string ant properti block add properti 2 non nl 1 add properti dialog dialog add properti dialog properti tabl viewer control shell titl string non nl 1 non nl 2 dialog open window cancel return string pair dialog pair string pair 0 overwrit return properti prop properti prop set name prop set pair 1 ant content provid properti tabl viewer content provid add prop contain updat addproperti antpreferencesmessag getstr antpropertiesblock add_properti_2 addpropertydialog addpropertydialog propertytableview getcontrol getshel getnamevaluepair setnam setvalu antcontentprovid propertytableview getcontentprovid privat void edit structur select select structur select properti tabl viewer select properti prop properti select element string origin prop string titl ant prefer messag string ant properti block edit user properti 5 non nl 1 add properti dialog dialog add properti dialog properti tabl viewer control shell titl string prop prop fals dialog open window cancel return string pair dialog pair string pair 0 equal origin overwrit return prop set name prop set pair 1 trigger resort properti tabl viewer refresh contain updat istructuredselect istructuredselect propertytableview getselect getfirstel originalnam getnam antpreferencesmessag getstr antpropertiesblock edit_user_properti_5 addpropertydialog addpropertydialog propertytableview getcontrol getshel getnam getvalu getnamevaluepair originalnam setnam setvalu propertytableview privat boolean overwrit string object properti properti int 0 properti length properti properti properti properti string properti properti properti equal properti default messag dialog open error properti tabl viewer control shell ant prefer messag string ant properti block 17 messag format format ant prefer messag string ant properti block 18 string properti properti plugin label non nl 1 non nl 2 return fals boolean write messag dialog open question properti tabl viewer control shell ant prefer messag string ant properti block 15 messag format format ant prefer messag string ant properti block 16 string non nl 1 non nl 2 write return fals ant content provid properti tabl viewer content provid remov properti break return true getproperti propertynam getnam propertynam isdefault messagedialog openerror propertytableview getcontrol getshel antpreferencesmessag getstr antpropertiesblock messageformat antpreferencesmessag getstr antpropertiesblock propertynam getpluginlabel overwrit messagedialog openquest propertytableview getcontrol getshel antpreferencesmessag getstr antpropertiesblock messageformat antpreferencesmessag getstr antpropertiesblock overwrit antcontentprovid propertytableview getcontentprovid handl select properti file tabl viewer privat void file tabl select chang structur select select remov file button set enabl select size 0 filetableselectionchang istructuredselect newselect removefilebutton seten newselect handl select properti tabl viewer privat void properti tabl select chang structur select select int size select size boolean enabl true iter itr select iter itr object element itr element instanceof properti properti properti properti element properti default enabl fals break edit button set enabl enabl size 1 remov button set enabl enabl size 0 propertytableselectionchang istructuredselect newselect newselect newselect hasnext isdefault editbutton seten removebutton seten public void popul properti viewer map properti properti null properti tabl viewer set input properti 0 return properti result properti properti size iter entri properti entri set iter int 0 entri map entri element map entri entri properti properti properti properti set string element kei properti set string element result properti properti tabl viewer set input result populatepropertyview propertytableview setinput entryset hasnext setnam getkei setvalu getvalu propertytableview setinput public void set properti input properti properti properti tabl viewer set input properti setpropertiesinput propertytableview setinput public void set properti file input string file file tabl viewer set input file setpropertyfilesinput filetableview setinput public void updat properti tabl select chang structur select properti tabl viewer select file tabl select chang structur select file tabl viewer select propertytableselectionchang istructuredselect propertytableview getselect filetableselectionchang istructuredselect filetableview getselect public object properti return ant content provid properti tabl viewer content provid element null getproperti antcontentprovid propertytableview getcontentprovid getel public object properti file return ant content provid file tabl viewer content provid element null getpropertyfil antcontentprovid filetableview getcontentprovid getel public void set enabl boolean enabl set tabl enabl enabl add button set enabl enabl add extern file button set enabl enabl add file button set enabl enabl edit button set enabl enabl remov button set enabl enabl remov file button set enabl enabl enabl properti tabl viewer set select properti tabl viewer select file tabl viewer set select file tabl viewer select ant core prefer pref ant core plugin plugin prefer list properti pref properti properti tabl viewer set input properti file tabl viewer set input pref custom properti file fals seten settablesen addbutton seten addexternalfilebutton seten addfilebutton seten editbutton seten removebutton seten removefilebutton seten propertytableview setselect propertytableview getselect filetableview setselect filetableview getselect antcoreprefer antcoreplugin getplugin getprefer getproperti propertytableview setinput filetableview setinput getcustompropertyfil public void set tabl enabl boolean tabl enabl tabl enabl tabl enabl settablesen tablesen tablesen tablesen select statu valid valid select statu valid public statu valid object select select length 0 return statu statu error antui plugin uniqu identifi 0 null non nl 1 int 0 select length select instanceof file return statu statu error antui plugin uniqu identifi 0 null non nl 1 return statu statu ok antui plugin uniqu identifi 0 null non nl 1 iselectionstatusvalid iselectionstatusvalid istatu istatu antuiplugin getuniqueidentifi ifil istatu antuiplugin getuniqueidentifi istatu antuiplugin getuniqueidentifi public ant properti file select dialog shell parent label provid label provid tree content provid content provid list properti file super parent label provid content provid set titl ant prefer messag string ant properti file select dialog 12 non nl 1 set messag ant prefer messag string ant properti file select dialog 13 non nl 1 filter properti file filter properti file set input resourc plugin workspac root set sorter resourc sorter resourc sorter select statu valid valid select statu valid public statu valid object select select length 0 return statu statu error antui plugin uniqu identifi 0 null non nl 1 int 0 select length select instanceof file return statu statu error antui plugin uniqu identifi 0 null non nl 1 return statu statu ok antui plugin uniqu identifi 0 null non nl 1 set valid valid antpropertiesfileselectiondialog ilabelprovid labelprovid itreecontentprovid contentprovid propertyfil labelprovid contentprovid settitl antpreferencesmessag getstr antpropertiesfileselectiondialog setmessag antpreferencesmessag getstr antpropertiesfileselectiondialog ffilter propertyfilefilt propertyfil setinput resourcesplugin getworkspac getroot setsort resourcesort resourcesort iselectionstatusvalid iselectionstatusvalid istatu istatu antuiplugin getuniqueidentifi ifil istatu antuiplugin getuniqueidentifi istatu antuiplugin getuniqueidentifi setvalid button add select listen select adapt public void widget select select event event button select show fals tree viewer add filter filter show true tree viewer remov filter filter addselectionlisten selectionadapt widgetselect selectionev getselect fshowal gettreeview addfilt ffilter fshowal gettreeview removefilt ffilter protect control creat dialog area composit parent composit result composit super creat dialog area parent final button button button result swt check button set text ant prefer messag string ant properti file select dialog 14 non nl 1 button set font parent font grid data data grid data data height hint convert verticaldl pixel dialog constant button height button set layout data data dialog set set antui plugin default dialog set show set boolean dialog set show tree viewer add filter filter button set select true button add select listen select adapt public void widget select select event event button select show fals tree viewer add filter filter show true tree viewer remov filter filter appli dialog font result return result createdialogarea createdialogarea settext antpreferencesmessag getstr antpropertiesfileselectiondialog setfont getfont griddata griddata heighthint convertverticaldlustopixel idialogconst button_height setlayoutdata idialogset antuiplugin getdefault getdialogset fshowal getboolean dialog_set fshowal gettreeview addfilt ffilter setselect addselectionlisten selectionadapt widgetselect selectionev getselect fshowal gettreeview addfilt ffilter fshowal gettreeview removefilt ffilter applydialogfont public boolean close dialog set set antui plugin default dialog set set put dialog set show return super close idialogset antuiplugin getdefault getdialogset dialog_set fshowal creat instanc public ant properti page ant runtim prefer page prefer page prefer page prefer page antpropertiespag antruntimepreferencepag preferencepag preferencepag preferencepag creat tab item page protect tab item creat tab item tab folder folder tab item item tab item folder swt item set text ant prefer messag string ant properti page titl non nl 1 item set imag ant object label provid properti imag item set data item set control creat content folder return item tabitem createtabitem tabfold tabitem tabitem settext antpreferencesmessag getstr antpropertiespag setimag antobjectlabelprovid getpropertyimag setdata setcontrol createcont protect composit creat content composit parent font font parent font composit top composit parent swt top set font font workbench help set help top antui help context id ant properti page grid layout layout grid layout layout num column 2 top set layout layout grid data grid data grid data grid data fill horizont top set layout data grid data ant properti block creat control top ant prefer messag string ant properti page global properti 1 ant prefer messag string ant properti page glo bal properti file 2 non nl 1 non nl 2 return top createcont getfont setfont workbenchhelp sethelp iantuihelpcontextid ant_properti_page gridlayout gridlayout numcolumn setlayout griddata griddata griddata griddata fill_horizont setlayoutdata griddata antpropertiesblock createcontrol antpreferencesmessag getstr antpropertiespag global_properti__1 antpreferencesmessag getstr antpropertiespag bal_properti_file__2 set content tabl page protect void initi list properti ant core plugin plugin prefer default properti properti add arrai list ant core plugin plugin prefer custom properti ant properti block set properti input properti properti arrai properti properti size ant properti block set properti file input ant core plugin plugin prefer custom properti file fals ant properti block updat allproperti antcoreplugin getplugin getprefer getdefaultproperti allproperti addal aslist antcoreplugin getplugin getprefer getcustomproperti antpropertiesblock setpropertiesinput allproperti toarrai allproperti antpropertiesblock setpropertyfilesinput antcoreplugin getplugin getprefer getcustompropertyfil antpropertiesblock protect void perform default list default properti ant core plugin plugin prefer default properti ant properti block set properti input properti default properti arrai properti default properti size ant properti block set properti file input string 0 ant properti block updat performdefault defaultproperti antcoreplugin getplugin getprefer getdefaultproperti antpropertiesblock setpropertiesinput defaultproperti toarrai defaultproperti antpropertiesblock setpropertyfilesinput antpropertiesblock return properti file return string protect string properti file object element ant properti block properti file string file string element length int 0 element length file string element return file getpropertyfil antpropertiesblock getpropertyfil org eclips ant intern ui prefer ant block contain set messag java lang string public void set messag string messag prefer page set messag messag iantblockcontain setmessag setmessag preferencepag setmessag org eclips ant intern ui prefer ant block contain set error messag java lang string public void set error messag string messag prefer page set error messag messag iantblockcontain seterrormessag seterrormessag preferencepag seterrormessag public button creat push button composit parent string button text button button button parent swt push button set font parent font button set text button text prefer page set button layout data button return button createpushbutton buttontext setfont getfont settext buttontext preferencepag setbuttonlayoutdata org eclips ant intern ui prefer ant block contain updat public void updat iantblockcontain protect list properti object properti ant properti block properti list properti arrai list properti length int 0 properti length properti properti properti properti properti default properti add properti return properti getproperti allproperti antpropertiesblock getproperti arraylist allproperti allproperti allproperti isdefault creat prefer page public ant runtim prefer page set descript ant prefer messag string ant prefer page descript non nl 1 set prefer store antui plugin default prefer store antruntimepreferencepag setdescript antpreferencesmessag getstr antpreferencepag setpreferencestor antuiplugin getdefault getpreferencestor org eclips ui workbench prefer page init org eclips ui workbench public void init workbench workbench iworkbenchpreferencepag iworkbench iworkbench protect control creat content composit parent workbench help set help control antui help context id ant runtim prefer page initi dialog unit parent tab folder folder tab folder parent swt folder set layout tab folder layout folder set layout data grid data grid data fill folder set font parent font classpath page ant classpath page classpath page creat tab item folder task page ant task page task page creat tab item folder type page ant type page type page creat tab item folder properti page ant properti page properti page creat tab item folder task page initi type page initi classpath page initi properti page initi return folder createcont workbenchhelp sethelp getcontrol iantuihelpcontextid ant_runtim_prefer_page initializedialogunit tabfold tabfold setlayout tabfolderlayout setlayoutdata griddata griddata fill_both setfont getfont classpathpag antclasspathpag classpathpag createtabitem taskspag anttaskspag taskspag createtabitem typespag anttypespag typespag createtabitem propertiespag antpropertiespag propertiespag createtabitem taskspag typespag classpathpag propertiespag protect void perform default super perform default ant core prefer pref ant core plugin plugin prefer task page set input pref default task type page set input pref default type classpath page perform default properti page perform default performdefault performdefault antcoreprefer antcoreplugin getplugin getprefer taskspag setinput getdefaulttask typespag setinput getdefaulttyp classpathpag performdefault propertiespag performdefault public boolean perform ok ant core prefer pref ant core plugin plugin prefer pref set ant home classpath entri classpath page ant home entri pref set addit classpath entri classpath page addit entri string ant home classpath page ant home pref set ant home ant home list content task page content fals content null task task task content arrai task content size pref set custom task task content type page content fals content null type type type content arrai type content size pref set custom type type content properti page properti content null properti properti properti content arrai properti content size pref set custom properti properti string file properti page properti file pref set custom properti file file pref updat plugin prefer return super perform ok performok antcoreprefer antcoreplugin getplugin getprefer setanthomeclasspathentri classpathpag getanthomeentri setadditionalclasspathentri classpathpag getadditionalentri anthom classpathpag getanthom setanthom anthom taskspag getcont toarrai setcustomtask typespag getcont toarrai setcustomtyp propertiespag getproperti toarrai setcustomproperti propertiespag getpropertyfil setcustompropertyfil updatepluginprefer performok org eclips jface dialog dialog page set button layout data org eclips swt widget button protect grid data set button layout data button button return super set button layout data button dialogpag setbuttonlayoutdata griddata setbuttonlayoutdata setbuttonlayoutdata protect list librari entri list url arrai list url add arrai list classpath page ant home entri url add arrai list classpath page addit entri return url getlibraryentri arraylist addal aslist classpathpag getanthomeentri addal aslist classpathpag getadditionalentri privat final ant object label provid label provid ant object label provid creat instanc public ant task page ant runtim prefer page prefer page super prefer page antobjectlabelprovid labelprovid antobjectlabelprovid anttaskspag antruntimepreferencepag preferencepag preferencepag protect void add button button group composit parent creat push button parent ant prefer messag string ant task page 1 add task button non nl 1 edit button creat push button parent ant prefer messag string ant task page 2 edit task button non nl 1 remov button creat push button parent ant prefer messag string ant task page 3 remov button non nl 1 addbuttonstobuttongroup createpushbutton antpreferencesmessag getstr anttaskspag add_task_button editbutton createpushbutton antpreferencesmessag getstr anttaskspag edit_task_button removebutton createpushbutton antpreferencesmessag getstr anttaskspag remov_button user enter custom task privat void add task string titl ant prefer messag string ant task page add task dialog titl non nl 1 add custom dialog dialog custom dialog titl antui help context id add task dialog dialog open window cancel return task task task task set task dialog task set class dialog class task set librari entri dialog librari entri add content task addtask antpreferencesmessag getstr anttaskspag addtaskdialogtitl addcustomdialog getcustomdialog iantuihelpcontextid add_task_dialog settasknam getnam setclassnam getclassnam setlibraryentri getlibraryentri addcont privat add custom dialog custom dialog string titl string help context iter task content true iter list name arrai list task task task task task name add task task add custom dialog dialog add custom dialog shell prefer page librari entri name help context dialog set titl titl dialog set exist error msg ant prefer messag string ant task page 8 non nl 1 dialog set error msg ant prefer messag string ant task page 9 non nl 1 return dialog addcustomdialog getcustomdialog helpcontext getcont arraylist hasnext gettasknam addcustomdialog addcustomdialog getshel getpreferencepag getlibraryentri helpcontext settitl setalreadyexistserrormsg antpreferencesmessag getstr anttaskspag setnonameerrormsg antpreferencesmessag getstr anttaskspag protect void button press int button id switch button id case add task button add task break case edit task button edit select break case remov button remov break buttonpress buttonid buttonid add_task_button addtask edit_task_button getselect remov_button creat tab item page protect tab item creat tab item tab folder folder tab item item tab item folder swt item set text ant prefer messag string ant task page titl non nl 1 item set imag label provid task imag item set data composit top composit folder swt top set font folder font item set control creat content top connect folder item folder return item tabitem createtabitem tabfold tabitem tabitem settext antpreferencesmessag getstr anttaskspag setimag labelprovid gettaskimag setdata setfont getfont setcontrol createcont connecttofold protect void edit structur select select task task task select element string titl ant prefer messag string ant task page edit task dialog titl non nl 1 add custom dialog dialog custom dialog titl antui help context id edit task dialog dialog set class task class dialog set task task dialog set librari entri task librari entri dialog open window cancel return task set task dialog task set class dialog class task set librari entri dialog librari entri updat content task istructuredselect getfirstel antpreferencesmessag getstr anttaskspag edittaskdialogtitl addcustomdialog getcustomdialog iantuihelpcontextid edit_task_dialog setclassnam getclassnam setnam gettasknam setlibraryentri getlibraryentri settasknam getnam setclassnam getclassnam setlibraryentri getlibraryentri updatecont org eclips ant intern ui prefer ant page label provid protect tabl label provid label provid return label provid antpag getlabelprovid itablelabelprovid getlabelprovid labelprovid org eclips ant intern ui prefer ant page initi protect void initi ant core prefer pref ant core plugin plugin prefer set input pref task antpag antcoreprefer antcoreplugin getplugin getprefer setinput gettask org eclips ant intern ui prefer ant page help context id protect string help context id return antui help context id ant task page antpag gethelpcontextid gethelpcontextid iantuihelpcontextid ant_task_page privat final ant object label provid label provid ant object label provid creat instanc public ant type page ant runtim prefer page prefer page super prefer page antobjectlabelprovid labelprovid antobjectlabelprovid anttypespag antruntimepreferencepag preferencepag preferencepag protect void add button button group composit parent creat push button parent ant prefer messag string ant type page 2 add type button non nl 1 edit button creat push button parent ant prefer messag string ant type page 3 edit type button non nl 1 remov button creat push button parent ant prefer messag string ant type page 1 remov button non nl 1 addbuttonstobuttongroup createpushbutton antpreferencesmessag getstr anttypespag add_type_button editbutton createpushbutton antpreferencesmessag getstr anttypespag edit_type_button removebutton createpushbutton antpreferencesmessag getstr anttypespag remov_button user enter custom type privat void add type string titl ant prefer messag string ant type page add type dialog titl non nl 1 add custom dialog dialog custom dialog titl antui help context id add type dialog dialog open window cancel return type type type type set type dialog type set class dialog class type set librari entri dialog librari entri add content type addtyp antpreferencesmessag getstr anttypespag addtypedialogtitl addcustomdialog getcustomdialog iantuihelpcontextid add_type_dialog settypenam getnam setclassnam getclassnam setlibraryentri getlibraryentri addcont protect void button press int button id switch button id case add type button add type break case edit type button edit select break case remov button remov break buttonpress buttonid buttonid add_type_button addtyp edit_type_button getselect remov_button creat tab item page protect tab item creat tab item tab folder folder tab item item tab item folder swt item set text ant prefer messag string ant type page type page titl non nl 1 item set imag label provid type imag item set data composit top composit folder swt top set font folder font item set control creat content top connect folder item folder return item tabitem createtabitem tabfold tabitem tabitem settext antpreferencesmessag getstr anttypespag typespagetitl setimag labelprovid gettypeimag setdata setfont getfont setcontrol createcont connecttofold protect void edit structur select select type type type select element string titl ant prefer messag string ant type page edit type dialog titl non nl 1 add custom dialog dialog custom dialog titl antui help context id edit type dialog dialog set class type class dialog set type type dialog set librari entri type librari entri dialog open window cancel return type set type dialog type set class dialog class type set librari entri dialog librari entri updat content type istructuredselect getfirstel antpreferencesmessag getstr anttypespag edittypedialogtitl addcustomdialog getcustomdialog iantuihelpcontextid edit_type_dialog setclassnam getclassnam setnam gettypenam setlibraryentri getlibraryentri settypenam getnam setclassnam getclassnam setlibraryentri getlibraryentri updatecont privat add custom dialog custom dialog string titl string help context iter type content true iter list name arrai list type type task type type name add task type add custom dialog dialog add custom dialog shell prefer page librari entri name help context dialog set titl titl dialog set exist error msg ant prefer messag string ant type page 8 non nl 1 dialog set error msg ant prefer messag string ant type page 9 non nl 1 return dialog addcustomdialog getcustomdialog helpcontext getcont arraylist hasnext atask atask gettypenam addcustomdialog addcustomdialog getshel getpreferencepag getlibraryentri helpcontext settitl setalreadyexistserrormsg antpreferencesmessag getstr anttypespag setnonameerrormsg antpreferencesmessag getstr anttypespag org eclips ant intern ui prefer ant page label provid protect tabl label provid label provid return label provid antpag getlabelprovid itablelabelprovid getlabelprovid labelprovid org eclips ant intern ui prefer ant page initi protect void initi ant core prefer pref ant core plugin plugin prefer set input pref type antpag antcoreprefer antcoreplugin getplugin getprefer setinput gettyp org eclips ant intern ui prefer ant page help context id protect string help context id return antui help context id ant type page antpag gethelpcontextid gethelpcontextid iantuihelpcontextid ant_type_page public classpath entri object classpath entri parent parent parent instanceof url url url o instanceof string variabl string string o instanceof ant classpath entri entri ant classpath entri classpathentri iclasspathentri variablestr iantclasspathentri iantclasspathentri public boolean equal object obj obj instanceof ant classpath entri ant classpath entri ant classpath entri obj return label equal label return fals iantclasspathentri iantclasspathentri iantclasspathentri getlabel getlabel java lang object hash code public int hash code return label hash code hashcod hashcod getlabel hashcod public string string entri null return entri label geturl null return geturl file return variabl string tostr getlabel getfil getvariablestr protect url geturl return url protect string variabl string return variabl string getvariablestr variablestr public string label entri null return string return entri label getlabel tostr getlabel public url entryurl entri null return entri entryurl url null return url try string expand variabl plugin default string variabl manag perform string substitut variabl string return url file expand non nl 1 catch core except antui plugin log catch malformedurl except antui plugin log return null getentryurl getentryurl variablesplugin getdefault getstringvariablemanag performstringsubstitut variablestr coreexcept antuiplugin malformedurlexcept antuiplugin public object add entri object entri entri instanceof global classpath entri child entri entri child entri add entri return entri return null classpath entri entri creat entri entri null iter entri child entri iter entri object element entri element instanceof global classpath entri global classpath entri element entri return null element equal entri return null child entri add entri return entri addentri globalclasspathentri childentri childentri classpathentri newentri createentri childentri hasnext globalclasspathentri globalclasspathentri newentri newentri childentri newentri newentri public object add entri int entri type object entri classpath entri entri parent null switch entri type case ant home ant home entri null string ant prefer messag string classpath model 2 non nl 1 ant home entri creat global entri ant classpath entri 0 fals true ant home entri parent ant home entri break case global user user global entri null string ant prefer messag string classpath model 3 non nl 1 user global entri creat global entri ant classpath entri 0 true true global user entri parent user global entri break default break classpath entri entri creat entri entri entri parent iter entri child entri iter entri object element entri element instanceof global classpath entri global classpath entri element entri return null element equal entri return null entri parent null global classpath entri entri parent add entri entri child entri add entri return entri addentri entrytyp iclasspathentri entrypar entrytyp ant_home anthomeentri antpreferencesmessag getstr classpathmodel anthomeentri createglobalentri iantclasspathentri ant_home entrypar anthomeentri global_user userglobalentri antpreferencesmessag getstr classpathmodel userglobalentri createglobalentri iantclasspathentri global_user entrypar userglobalentri classpathentri newentri createentri entrypar childentri hasnext globalclasspathentri globalclasspathentri newentri newentri entrypar globalclasspathentri entrypar addentri newentri childentri newentri newentri return entri kind possibl empti param entri type kind entri retriev return entri kind possibl empti public ant classpath entri entri int entri type switch entri type case ant home ant home entri null return ant home entri entri break case global user user global entri null return user global entri entri break case user return user entri return ant classpath entri 0 entrytyp iantclasspathentri getentri entrytyp entrytyp ant_home anthomeentri anthomeentri getentri global_user userglobalentri userglobalentri getentri getuserentri iantclasspathentri public void remov object entri child entri remov entri entri user global entri user global entri null childentri userglobalentri userglobalentri public classpath entri creat entri object entri classpath entri entri parent entri parent null entri parent return classpath entri entri entri parent classpathentri createentri iclasspathentri entrypar entrypar entrypar classpathentri entrypar public void remov ant home entri null ant home entri remov user global entri null user global entri remov removeal anthomeentri anthomeentri removeal userglobalentri userglobalentri removeal public void remov int entri type switch entri type case ant home ant home entri null ant home entri remov break case global user user global entri null user global entri remov break default break removeal entrytyp entrytyp ant_home anthomeentri anthomeentri removeal global_user userglobalentri userglobalentri removeal public void remov object entri int 0 entri length object object entri object instanceof classpath entri classpath entri entri parent classpath entri object parent entri parent instanceof global classpath entri global classpath entri entri parent remov entri classpath entri object remov object remov object removeal classpathentri iclasspathentri entrypar classpathentri getpar entrypar globalclasspathentri globalclasspathentri entrypar removeentri classpathentri public void set ant home entri ant classpath entri entri ant home entri null string ant prefer messag string classpath model 2 non nl 1 ant home entri creat global entri entri fals true ant home ant home entri remov int 0 entri length ant home entri add entri classpath entri entri ant home entri setanthomeentri iantclasspathentri anthomeentri antpreferencesmessag getstr classpathmodel anthomeentri createglobalentri ant_home anthomeentri removeal anthomeentri addentri classpathentri anthomeentri privat global classpath entri creat global entri ant classpath entri entri string boolean remov boolean add entri int type global classpath entri global global classpath entri remov type int 0 entri length global add entri classpath entri entri global add entri add entri global return global globalclasspathentri createglobalentri iantclasspathentri canberemov addentri globalclasspathentri globalclasspathentri canberemov addentri classpathentri addentri addentri public void set global entri ant classpath entri entri user global entri null string ant prefer messag string classpath model 3 non nl 1 user global entri creat global entri entri true true global user user global entri remov int 0 entri length user global entri add entri classpath entri entri user global entri setglobalentri iantclasspathentri userglobalentri antpreferencesmessag getstr classpathmodel userglobalentri createglobalentri global_user userglobalentri removeal userglobalentri addentri classpathentri userglobalentri privat ant classpath entri user entri list user entri arrai list child entri size iter itr child entri iter itr classpath entri element classpath entri itr element instanceof global classpath entri continu user entri add element return ant classpath entri user entri arrai ant classpath entri user entri size iantclasspathentri getuserentri userentri arraylist childentri childentri hasnext iclasspathentri iclasspathentri globalclasspathentri userentri iantclasspathentri userentri toarrai iantclasspathentri userentri public string serial classpath boolean default ant home iter itr child entri iter string buffer buff string buffer itr classpath entri element classpath entri itr element instanceof global classpath entri element ant home entri default ant home default ant home ant classpath entri ant home entri ant home entri entri int 0 ant home entri length i ant classpath entri entri ant home entri buff append buff append entri string buff append ant util attribut separ buff append ant util ant home classpath placehold buff append ant util ant global user classpath placehold buff append element string buff append ant util attribut separ buff length 0 return buff substr 0 buff length 1 return non nl 1 serializeclasspath defaultanthom childentri stringbuff stringbuff hasnext iclasspathentri iclasspathentri globalclasspathentri anthomeentri defaultanthom issameasdefaultanthom iantclasspathentri anthomeentri anthomeentri getentri anthomeentri iantclasspathentri anthomeentri tostr antutil attribut_separ antutil ant_home_classpath_placehold antutil ant_global_user_classpath_placehold tostr antutil attribut_separ privat boolean default ant home ant core prefer pref ant core plugin plugin prefer ant classpath entri default ant home entri pref ant home classpath entri ant classpath entri ant home entri ant home entri entri ant home entri length default ant home entri length return fals int 0 ant home entri length i ant classpath entri entri ant home entri i ant classpath entri default entri default ant home entri sameurl entri default entri return fals return true issameasdefaultanthom antcoreprefer antcoreplugin getplugin getprefer iantclasspathentri defaultanthomeentri getanthomeclasspathentri iantclasspathentri anthomeentri anthomeentri getentri anthomeentri defaultanthomeentri anthomeentri iantclasspathentri anthomeentri iantclasspathentri defaultentri defaultanthomeentri defaultentri privat boolean sameurl ant classpath entri ant classpath entri null null return fals file file file entryurl file file exist file file entryurl file exist file equal file return true return fals iantclasspathentri iantclasspathentri newfil getentryurl getfil existingfil getentryurl getfil existingfil newfil public classpath model string serial classpath boolean custom ant home string token token string token serial classpath ant util attribut separ token token string string token token trim string equal ant util ant home classpath placehold ant classpath entri ant home entri ant classpath entri 0 custom ant home ant home entri ant core plugin plugin prefer ant home classpath entri set ant home entri ant home entri string equal ant util ant global user classpath placehold set global entri ant core plugin plugin prefer addit classpath entri boolean ant home entri fals object entri null string char 0 customclasspath string string substr 1 string char 0 ant home entri string string substr 1 ant home entri true try entri url file string non nl 1 catch malformedurl except entri string ant home entri add entri ant home entri add entri entri classpathmodel serializedclasspath customanthom stringtoken stringtoken serializedclasspath antutil attribut_separ hasmoretoken nexttoken antutil ant_home_classpath_placehold iantclasspathentri anthomeentri iantclasspathentri customanthom anthomeentri antcoreplugin getplugin getprefer getanthomeclasspathentri setanthomeentri anthomeentri antutil ant_global_user_classpath_placehold setglobalentri antcoreplugin getplugin getprefer getadditionalclasspathentri isanthomeentri charat charat isanthomeentri malformedurlexcept isanthomeentri addentri ant_home addentri public classpath model super classpathmodel return public object remov global entri user global entri null string ant prefer messag string classpath model 3 non nl 1 return object creat global entri ant classpath entri 0 true fals global user return object getremovedglobalentri userglobalentri antpreferencesmessag getstr classpathmodel createglobalentri iantclasspathentri global_user return public object ant home entri return ant home entri getanthomeentri anthomeentri public color editor composit parent button button parent swt push extent comput imag size parent imag imag parent displai extent extent gc gc gc imag gc set background button background gc fill rectangl 0 0 extent extent gc dispos button set imag imag button add select listen select adapt public void widget select select event event color dialog color dialog color dialog button shell color dialog setrgb color rgb color color dialog open color null color color updat color imag button add dispos listen dispos listen public void widget dispos dispos event event imag null imag dispos imag null color null color dispos color null coloreditor fbutton fextent computeimages fimag getdisplai fextent fextent fimag setbackground fbutton getbackground fillrectangl fextent fextent fbutton setimag fimag fbutton addselectionlisten selectionadapt widgetselect selectionev colordialog colordialog colordialog fbutton getshel colordialog fcolorvalu newcolor colordialog newcolor fcolorvalu newcolor updatecolorimag fbutton adddisposelisten disposelisten widgetdispos disposeev fimag fimag fimag fcolor fcolor fcolor public rgb color return color getcolorvalu fcolorvalu public void set color rgb rgb color rgb updat color imag setcolorvalu fcolorvalu updatecolorimag public button button return button getbutton fbutton protect void updat color imag displai displai button displai gc gc gc imag gc set foreground displai system color swt color black gc draw rectangl 0 2 extent 1 extent 4 color null color dispos color color displai color gc set background color gc fill rectangl 1 3 extent 2 extent 5 gc dispos button set imag imag updatecolorimag fbutton getdisplai fimag setforeground getsystemcolor color_black drawrectangl fextent fextent fcolor fcolor fcolor fcolorvalu setbackground fcolor fillrectangl fextent fextent fbutton setimag fimag protect point comput imag size control window gc gc gc window font face resourc font registri face resourc default font gc set font int height gc font metric height gc dispos point point height 3 6 height return computeimages jfaceresourc getfontregistri jfaceresourc default_font setfont getfontmetr getheight persist locat dimens shell debug ui plugin dialog set provid dialog set section param shell shell geometri store param dialog set section the dialog set section public static void persist shell geometri shell shell string dialog set section point shell locat shell locat point shell size shell size dialog set set dialog set dialog set section set put dialog origin shell locat set put dialog origin shell locat set put dialog width shell size set put dialog height shell size dialogsettingssectionnam persistshellgeometri dialogsettingssectionnam shellloc getloc shellsiz getsiz idialogset getdialogset dialogsettingssectionnam dialog_origin_x shellloc dialog_origin_y shellloc dialog_width shellsiz dialog_height shellsiz privat static dialog set dialog set string dialog set section dialog set set antui plugin default dialog set dialog set section set section dialog set section section null section set add section dialog set section return section idialogset getdialogset dialogsettingssectionnam idialogset antuiplugin getdefault getdialogset idialogset getsect dialogsettingssectionnam addnewsect dialogsettingssectionnam return initi size larger code initi size code size persist debug ui plugin dialog set provid dialog sett section size persist set code initi size code return param initi size initi size compar param dialog set section the dialog set section return initi size public static point initi size string dialog set section point initi size dialog set set dialog set dialog set section try int set int debug prefer constant dialog width set int debug prefer constant dialog height return point math max initi size math max initi size catch number format except return initi size initials initials initials initials dialogsettingssectionnam getinitials dialogsettingssectionnam initials idialogset getdialogset dialogsettingssectionnam getint idebugpreferenceconst dialog_width getint idebugpreferenceconst dialog_height initials initials numberformatexcept initials return initi locat persist debug ui plugin dialog set provid dialog sett section locat persist set code null code return param dialog set section the dialog set section return initi locat code null code public static point initi locat string dialog set section dialog set set dialog set dialog set section try int set int debug prefer constant dialog origin int set int debug prefer constant dialog origin return point catch number format except return null dialogsettingssectionnam getinitialloc dialogsettingssectionnam idialogset getdialogset dialogsettingssectionnam getint idebugpreferenceconst dialog_origin_x getint idebugpreferenceconst dialog_origin_y numberformatexcept public global classpath entri string classpath entri parent boolean remov int type parent parent name remov remov type type globalclasspathentri iclasspathentri canberemov canberemov canberemov public void add entri classpath entri entri child entri add entri addentri classpathentri childentri public void remov entri classpath entri entri child entri remov entri removeentri classpathentri childentri public boolean classpath entri entri return child entri entri classpathentri childentri public string string return tostr public void remov child entri clear removeal childentri public boolean remov return remov canberemov canberemov set child entri classpath entri param entri child entri public void set entri list entri child entri entri setentri childentri return return type global classpath entri classpath model ant home classpath model global user public int type return type classpathmodel ant_home classpathmodel global_user gettyp set error messag contain code null code remov error messag param messag string error messag code null code set messag contain code null code remov messag param messag string messag code null code creat return properli configur push button suppli label param parent composit parent button param label button label return button creat button public button creat push button composit parent string label notifi contain chang public void updat createpushbutton return classpath entri children classpath entri return child classpath entri entri return classpath entri child entri return code true code classpath entri childern code fals code return parent classpath entri return parent classpath entri code null code creat messag line child parent public messag line composit parent parent swt left messagelin creat messag line child parent swt stylebit public messag line composit parent int style super parent style normal msg area background background error msg area background null messagelin fnormalmsgareabackground getbackground ferrormsgareabackground privat imag find imag statu statu statu isok return null statu match statu error return platformui workbench share imag imag share imag img obj error tsk statu match statu warn return platformui workbench share imag imag share imag img obj warn tsk statu match statu info return platformui workbench share imag imag share imag img obj info tsk return null findimag istatu istatu getworkbench getsharedimag getimag isharedimag img_obj_error_tsk istatu getworkbench getsharedimag getimag isharedimag img_obj_warn_tsk istatu getworkbench getsharedimag getimag isharedimag img_obj_info_tsk set messag imag statu code null code valid argument set empti text imag public void set error statu statu statu statu null string messag statu messag messag null messag length 0 set text messag set imag find imag statu error msg area background null error msg area background color displai error background rgb set background error msg area background return set text non nl 1 set imag null set background normal msg area background seterrorstatu istatu getmessag settext setimag findimag ferrormsgareabackground ferrormsgareabackground getdisplai error_background_rgb setbackground ferrormsgareabackground settext setimag setbackground fnormalmsgareabackground public void dispos error msg area background null error msg area background dispos error msg area background null super dispos ferrormsgareabackground ferrormsgareabackground ferrormsgareabackground creat code minim file system element code suppli parent param the file element repres param parent parent param directori children public minim file system element string minim file system element parent boolean directori name parent parent directori directori parent null parent add child minimizedfilesystemel isdirectori minimizedfilesystemel minimizedfilesystemel isdirectori isdirectori isdirectori addchild return adapt public object adapt class adapt adapt workbench adapt class return defer platform return platform adapt manag adapt adapt getadapt iworkbenchadapt getadaptermanag getadapt return true element repres directori fals public boolean directori return directori isdirectori isdirectori add pass child object collect children param child minim file system element privat void add child minim file system element child child directori folder null folder arrai list 1 folder add child file null file arrai list 1 file add child minimizedfilesystemel addchild minimizedfilesystemel isdirectori arraylist arraylist return list file children suppli provid need popul protect list file import structur provid provid popul popul provid file null return collect empti list return file getfil iimportstructureprovid empti_list return list folder children suppli provid need popul protect list folder import structur provid provid popul popul provid return folder getfold iimportstructureprovid getfold protect list folder folder null return collect empti list return folder getfold empti_list return popul happen receiv protect boolean popul return popul ispopul return popul happen receiv protect boolean popul return popul notpopul popul file folder receiv suppli structur provid param provid org eclips ui wizard datatransf import structur provid privat void popul import structur provid provid list children provid children file system object children null children arrai list 1 iter children enum children iter children enum object child children enum string element label provid label child boolean folder provid folder child folder element label end class non nl 1 continu creat level minim file system element result minim file system element element label folder result set file system object child set popul iimportstructureprovid iimportstructureprovid getchildren filesystemobject arraylist childrenenum childrenenum hasnext childrenenum elementlabel getlabel isfold isfold isfold elementlabel endswith minimizedfilesystemel minimizedfilesystemel elementlabel isfold setfilesystemobject setpopul return file system object properti element return file system object protect object file system object return file system object getfilesystemobject filesystemobject set file system object properti element param file system object protect void set file system object object file system object setfilesystemobject filesystemobject set popul happen receiv true protect void set popul popul true setpopul org eclips ui model workbench adapt children java lang object public object children object return folder arrai iworkbenchadapt getchildren getchildren getfold toarrai org eclips ui model workbench adapt imag descriptor java lang object public imag descriptor imag descriptor object object directori return platformui workbench share imag imag descriptor share imag img obj folder return platformui workbench editor registri imag descriptor iworkbenchadapt getimagedescriptor imagedescriptor getimagedescriptor isdirectori getworkbench getsharedimag getimagedescriptor isharedimag img_obj_folder getworkbench geteditorregistri getimagedescriptor org eclips ui model workbench adapt label java lang object public string label object return iworkbenchadapt getlabel getlabel org eclips ui model workbench adapt parent java lang object public object parent object return parent iworkbenchadapt getpar getpar public static final class type descriptor privat type descriptor typedescriptor typedescriptor string kei public overlai kei type descriptor descriptor string kei descriptor descriptor kei kei fkei overlaykei typedescriptor fdescriptor fkei public void properti chang properti chang event event overlai kei kei find overlai kei event properti kei null propag properti parent kei store propertychang propertychangeev overlaykei findoverlaykei getproperti propagateproperti fparent fstore public overlai prefer store prefer store parent overlai kei overlai kei parent parent overlai kei overlai kei store prefer store overlaypreferencestor ipreferencestor overlaykei overlaykei fparent foverlaykei overlaykei fstore preferencestor privat overlai kei find overlai kei string kei int 0 overlai kei length overlai kei kei equal kei return overlai kei return null overlaykei findoverlaykei foverlaykei foverlaykei fkei foverlaykei privat boolean cover string kei return find overlai kei kei null findoverlaykei privat void propag properti prefer store orgin overlai kei kei prefer store target orgin default kei kei target default kei kei target set default kei kei return type descriptor kei descriptor boolean boolean origin orgin boolean kei kei boolean target target boolean kei kei target origin target set kei kei origin doubl doubl origin orgin doubl kei kei doubl target target doubl kei kei target origin target set kei kei origin float float origin orgin float kei kei float target target float kei kei target origin target set kei kei origin int int origin orgin int kei kei int target target int kei kei target origin target set kei kei origin long origin orgin kei kei target target kei kei target origin target set kei kei origin string string origin orgin string kei kei string target target string kei kei target null origin null target equal origin target set kei kei origin propagateproperti ipreferencestor overlaykei ipreferencestor isdefault fkei isdefault fkei settodefault fkei typedescriptor fdescriptor originvalu getboolean fkei targetvalu getboolean fkei targetvalu originvalu setvalu fkei originvalu originvalu getdoubl fkei targetvalu getdoubl fkei targetvalu originvalu setvalu fkei originvalu originvalu getfloat fkei targetvalu getfloat fkei targetvalu originvalu setvalu fkei originvalu originvalu getint fkei targetvalu getint fkei targetvalu originvalu setvalu fkei originvalu originvalu getlong fkei targetvalu getlong fkei targetvalu originvalu setvalu fkei originvalu originvalu getstr fkei targetvalu getstr fkei targetvalu originvalu targetvalu originvalu setvalu fkei originvalu public void propag int 0 overlai kei length propag properti store overlai kei parent foverlaykei propagateproperti fstore foverlaykei fparent privat void load properti prefer store orgin overlai kei kei prefer store target boolean forc initi type descriptor kei descriptor boolean forc initi target set kei kei true target set kei kei orgin boolean kei kei target set default kei kei orgin default boolean kei kei doubl forc initi target set kei kei 1 0d target set kei kei orgin doubl kei kei target set default kei kei orgin default doubl kei kei float forc initi target set kei kei 1 0f target set kei kei orgin float kei kei target set default kei kei orgin default float kei kei int forc initi target set kei kei 1 target set kei kei orgin int kei kei target set default kei kei orgin default int kei kei forc initi target set kei kei 1l target set kei kei orgin kei kei target set default kei kei orgin default kei kei string forc initi target set kei kei 1 non nl 1 target set kei kei orgin string kei kei target set default kei kei orgin default string kei kei loadproperti ipreferencestor overlaykei ipreferencestor forceiniti typedescriptor fdescriptor forceiniti setvalu fkei setvalu fkei getboolean fkei setdefault fkei getdefaultboolean fkei forceiniti setvalu fkei setvalu fkei getdoubl fkei setdefault fkei getdefaultdoubl fkei forceiniti setvalu fkei setvalu fkei getfloat fkei setdefault fkei getdefaultfloat fkei forceiniti setvalu fkei setvalu fkei getint fkei setdefault fkei getdefaultint fkei forceiniti setvalu fkei setvalu fkei getlong fkei setdefault fkei getdefaultlong fkei forceiniti setvalu fkei setvalu fkei getstr fkei setdefault fkei getdefaultstr fkei public void load int 0 overlai kei length load properti parent overlai kei store true foverlaykei loadproperti fparent foverlaykei fstore public void load default int 0 overlai kei length set default overlai kei kei loaddefault foverlaykei settodefault foverlaykei fkei public void start properti listen null properti listen properti listen parent add properti chang listen properti listen fpropertylisten fpropertylisten propertylisten fparent addpropertychangelisten fpropertylisten public void stop properti listen null parent remov properti chang listen properti listen properti listen null fpropertylisten fparent removepropertychangelisten fpropertylisten fpropertylisten prefer store add properti chang listen properti chang listen public void add properti chang listen properti chang listen listen store add properti chang listen listen ipreferencestor addpropertychangelisten ipropertychangelisten addpropertychangelisten ipropertychangelisten fstore addpropertychangelisten prefer store remov properti chang listen properti chang listen public void remov properti chang listen properti chang listen listen store remov properti chang listen listen ipreferencestor removepropertychangelisten ipropertychangelisten removepropertychangelisten ipropertychangelisten fstore removepropertychangelisten prefer store fire properti chang event string object object public void fire properti chang event string object object store fire properti chang event valu ipreferencestor firepropertychangeev firepropertychangeev oldvalu newvalu fstore firepropertychangeev oldvalu newvalu prefer store string public boolean string return store ipreferencestor fstore prefer store boolean string public boolean boolean string return store boolean ipreferencestor getboolean getboolean fstore getboolean prefer store default boolean string public boolean default boolean string return store default boolean ipreferencestor getdefaultboolean getdefaultboolean fstore getdefaultboolean prefer store default doubl string public doubl default doubl string return store default doubl ipreferencestor getdefaultdoubl getdefaultdoubl fstore getdefaultdoubl prefer store default float string public float default float string return store default float ipreferencestor getdefaultfloat getdefaultfloat fstore getdefaultfloat prefer store default int string public int default int string return store default int ipreferencestor getdefaultint getdefaultint fstore getdefaultint prefer store default string public default string return store default ipreferencestor getdefaultlong getdefaultlong fstore getdefaultlong prefer store default string string public string default string string return store default string ipreferencestor getdefaultstr getdefaultstr fstore getdefaultstr prefer store doubl string public doubl doubl string return store doubl ipreferencestor getdoubl getdoubl fstore getdoubl prefer store float string public float float string return store float ipreferencestor getfloat getfloat fstore getfloat prefer store int string public int int string return store int ipreferencestor getint getint fstore getint prefer store string public long string return store ipreferencestor getlong getlong fstore getlong prefer store string string public string string string return store string ipreferencestor getstr getstr fstore getstr prefer store default string public boolean default string return store default ipreferencestor isdefault isdefault fstore isdefault prefer store need save public boolean need save return store need save ipreferencestor needssav needssav fstore needssav prefer store put string string public void put string string cover store put valu ipreferencestor putvalu putvalu fstore putvalu prefer store set default string doubl public void set default string doubl cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string float public void set default string float cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string int public void set default string int cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string public void set default string cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string string public void set default string string cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string boolean public void set default string boolean cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string public void set default string store set default ipreferencestor settodefault settodefault fstore settodefault prefer store set string doubl public void set string doubl cover store set valu ipreferencestor setvalu setvalu fstore setvalu prefer store set string float public void set string float cover store set valu ipreferencestor setvalu setvalu fstore setvalu prefer store set string int public void set string int cover store set valu ipreferencestor setvalu setvalu fstore setvalu prefer store set string public void set string cover store set valu ipreferencestor setvalu setvalu fstore setvalu prefer store set string string public void set string string cover store set valu ipreferencestor setvalu setvalu fstore setvalu prefer store set string boolean public void set string boolean cover store set valu ipreferencestor setvalu setvalu fstore setvalu creat filter filter object public properti file filter list object filter object init propertyfilefilt ffilter viewer filter select viewer object object public boolean select viewer viewer object parent element object element return properti file element filter element viewerfilt parentel fpropertyfil ffilter privat void init busi indic show antui plugin standard displai runnabl public void run properti file hash set travers resourc plugin workspac root properti file busyind showwhil antuiplugin getstandarddisplai fpropertyfil hashset resourcesplugin getworkspac getroot fpropertyfil search archiv workspac privat void init busi indic show antui plugin standard displai runnabl public void run properti file hash set travers resourc plugin workspac root properti file busyind showwhil antuiplugin getstandarddisplai fpropertyfil hashset resourcesplugin getworkspac getroot fpropertyfil travers contain ad properti file set return file ad privat boolean travers contain contain set set boolean ad fals try resourc resourc contain member int 0 resourc length i resourc resourc resourc resourc instanceof file file file file resourc string ext file file extens ext null ext equal ignor case properti non nl 1 set add file ad true resourc instanceof contain travers contain resourc set set add resourc ad true catch core except return ad icontain iresourc iresourc ifil ifil ifil getfileextens equalsignorecas icontain icontain coreexcept creat instan statu dialog public statu dialog shell parent super parent statu statu info statusdialog flaststatu statusinfo updat dialog statu line reflect statu save call method dialog open protect void updat statu statu statu statu statu statu line null statu line dispos updat button enabl statu statu line set error statu statu updatestatu istatu flaststatu fstatuslin fstatuslin isdispos updatebuttonsenablest fstatuslin seterrorstatu return statu public statu statu return statu istatu getstatu flaststatu updat statu ok button reflect statu subclass overrid method updat addit button param statu statu protect void updat button enabl statu statu ok button null ok button dispos ok button set enabl statu match statu error updatebuttonsenablest istatu fokbutton fokbutton isdispos fokbutton seten istatu protect void configur shell shell shell super configur shell shell titl null shell set text titl workbench help set help shell antui help context id statu dialog configureshel configureshel ftitl settext ftitl workbenchhelp sethelp iantuihelpcontextid statu_dialog public void creat super creat statu null polici dialog allow error messag statu match statu error statu info statu statu info statu set error non nl 1 statu statu updat statu statu flaststatu flaststatu istatu statusinfo statusinfo seterror flaststatu updatestatu flaststatu dialog creat button button bar composit protect void creat button button bar composit parent ok button creat button parent dialog constant ok id dialog constant ok label true creat button parent dialog constant cancel id dialog constant cancel label fals createbuttonsforbuttonbar createbuttonsforbuttonbar fokbutton createbutton idialogconst ok_id idialogconst ok_label createbutton idialogconst cancel_id idialogconst cancel_label protect control creat button bar composit parent composit composit composit parent swt null grid layout layout grid layout layout num column 1 layout margin height 0 layout margin width 0 composit set layout layout composit set layout data grid data grid data fill horizont statu line messag line composit statu line set align swt left statu line set layout data grid data grid data fill horizont statu line set error statu null non nl 1 super creat button bar composit return composit createbuttonbar gridlayout gridlayout numcolumn marginheight marginwidth setlayout setlayoutdata griddata griddata fill_horizont fstatuslin messagelin fstatuslin setalign fstatuslin setlayoutdata griddata griddata fill_horizont fstatuslin seterrorstatu createbuttonbar set titl dialog param titl titl public void set titl string titl titl titl null titl non nl 1 shell shell shell shell null shell dispos shell set text titl settitl ftitl getshel isdispos settext ftitl set imag dialog param imag imag public void set imag imag imag imag imag shell shell shell shell null shell dispos shell set imag imag setimag fimag getshel isdispos setimag fimag creat statu set ok messag public statu info ok null statusinfo creat statu param sever statu sever error warn info ok param messag messag statu appli error warn info public statu info int sever string messag statu messag messag sever sever statusinfo fstatusmessag fsever return statu sever ok public boolean isok return sever statu ok fsever istatu return statu sever warn public boolean warn return sever statu warn iswarn fsever istatu return statu sever info public boolean info return sever statu info isinfo fsever istatu return statu sever error public boolean error return sever statu error iserror fsever istatu org eclips core runtim statu messag public string messag return statu messag istatu getmessag getmessag fstatusmessag set statu error param error messag error messag empti null public void set error string error messag assert null error messag statu messag error messag sever statu error errormessag seterror errormessag isnotnul errormessag fstatusmessag errormessag fsever istatu set statu warn param warn messag warn messag empti null public void set warn string warn messag assert null warn messag statu messag warn messag sever statu warn warningmessag setwarn warningmessag isnotnul warningmessag fstatusmessag warningmessag fsever istatu set statu info param info messag info messag empti null public void set info string info messag assert null info messag statu messag info messag sever statu info infomessag setinfo infomessag isnotnul infomessag fstatusmessag infomessag fsever istatu set statu ok public void setok statu messag null sever statu ok fstatusmessag fsever istatu statu match int public boolean match int sever mask return sever sever mask 0 istatu severitymask fsever severitymask return code fals code statu multi statu public boolean multi statu return fals istatu ismultistatu ismultistatu statu sever public int sever return sever istatu getsever getsever fsever statu plugin public string plugin return antui constant plugin id istatu getplugin getplugin iantuiconst plugin_id return code null code statu except public throwabl except return null istatu getexcept getexcept return error sever statu code public int code return sever istatu getcod getcod fsever return code null code statu children public statu children return statu 0 istatu getchildren istatu getchildren istatu protect point comput size composit composit int hint int hint boolean flush cach hint swt default hint swt default return point hint hint control children composit children int count children length int max width 0 max height 0 int 0 count control child children point pt child comput size swt default swt default flush cach max width math max max width pt max height math max max height pt hint swt default max width hint hint swt default max height hint return point max width max height computes whint hhint flushcach whint hhint whint hhint getchildren maxwidth maxheight computes flushcach maxwidth maxwidth maxheight maxheight whint maxwidth whint hhint maxheight hhint maxwidth maxheight protect void layout composit composit boolean flush cach rectangl rect composit client area control children composit children int 0 children length children set bound rect flushcach getclientarea getchildren setbound public add build file action ant view view super ant view action messag string add build file action 1 antui imag imag descriptor antui constant img add non nl 1 view view set tool tip text ant view action messag string add build file action 0 non nl 1 workbench help set help antui help context id add buildfil action addbuildfilesact antview antviewactionmessag getstr addbuildfilesact antuiimag getimagedescriptor iantuiconst img_add settooltiptext antviewactionmessag getstr addbuildfilesact workbenchhelp sethelp iantuihelpcontextid add_buildfil_action monitor work 1 displai default async exec runnabl public void run view add project project getdefault asyncexec addproject platformui workbench progress servic busi cursor runnabl progress public void run progress monitor monitor monitor begin task ant view action messag string add build file action 3 result size non nl 1 object file result arrai file int 0 file length monitor cancel object file file file instanceof file string build file file file full path string project node exist project view project int 0 exist project length project node exist project exist project exist project build file equal build file don pars project ad monitor work 1 continu file final project node project project node build file project monitor work 1 displai default async exec runnabl public void run view add project project getworkbench getprogressservic busycursorwhil irunnablewithprogress iprogressmonitor begintask antviewactionmessag getstr addbuildfilesact toarrai iscancel ifil buildfilenam ifil getfullpath tostr projectnod existingproject getproject existingproject projectnod existingproject existingproject existingproject getbuildfilenam buildfilenam projectnod projectnod buildfilenam getnam getdefault asyncexec addproject public void run file select dialog dialog file select dialog displai current activ shell resourc plugin workspac root ant view action messag string add build file action 2 non nl 1 dialog set file filter xml true non nl 1 dialog set allow multiselect true dialog open final structur select result dialog result result null return try platformui workbench progress servic busi cursor runnabl progress public void run progress monitor monitor monitor begin task ant view action messag string add build file action 3 result size non nl 1 object file result arrai file int 0 file length monitor cancel object file file file instanceof file string build file file file full path string project node exist project view project int 0 exist project length project node exist project exist project exist project build file equal build file don pars project ad monitor work 1 continu file final project node project project node build file project monitor work 1 displai default async exec runnabl public void run view add project project catch invoc target except catch interrupt except fileselectiondialog fileselectiondialog getcurr getactiveshel resourcesplugin getworkspac getroot antviewactionmessag getstr addbuildfilesact setfilefilt setallowmultiselect istructuredselect getresult getworkbench getprogressservic busycursorwhil irunnablewithprogress iprogressmonitor begintask antviewactionmessag getstr addbuildfilesact toarrai iscancel ifil buildfilenam ifil getfullpath tostr projectnod existingproject getproject existingproject projectnod existingproject existingproject existingproject getbuildfilenam buildfilenam projectnod projectnod buildfilenam getnam getdefault asyncexec addproject invocationtargetexcept interruptedexcept public static final string id antui constant plugin id ant open menu non nl 1 public ant open menu workbench page page super id page page iantuiconst plugin_id antopenwithmenu antopenwithmenu iworkbenchpag public void set file adapt file file file setfil iadapt public void dispos super dispos iter iter imag cach valu iter iter imag imag imag iter imag dispos imag cach clear imagecach hasnext imagecach return imag show editor descriptor param editor desc editor descriptor null system editor return imag null privat imag imag editor descriptor editor desc imag descriptor imag desc imag descriptor editor desc imag desc null return null imag imag imag imag cach imag desc imag null imag imag desc creat imag imag cach put imag desc imag return imag editordesc getimag ieditordescriptor editordesc imagedescriptor imagedesc getimagedescriptor editordesc imagedesc imagecach imagedesc imagedesc createimag imagecach imagedesc return imag descriptor editor descriptor null imag privat imag descriptor imag descriptor editor descriptor editor desc imag descriptor imag desc null editor desc null imag desc registri imag descriptor file resourc imag desc editor desc imag descriptor imag desc null editor desc id equal system editor id imag desc system editor imag descriptor file resourc file extens return imag desc imagedescriptor getimagedescriptor ieditordescriptor editordesc imagedescriptor imagedesc editordesc imagedesc getimagedescriptor getfileresourc getnam imagedesc editordesc getimagedescriptor imagedesc editordesc getid system_editor_id imagedesc getsystemeditorimagedescriptor getfileresourc getfileextens imagedesc return imag descriptor system editor regist os edit file type null found privat imag descriptor system editor imag descriptor string extens program extern program null extens null extern program program find program extens extern program null return null return editor imag descriptor extern program imagedescriptor getsystemeditorimagedescriptor externalprogram externalprogram findprogram externalprogram editorimagedescriptor externalprogram listen listen listen public void handl event event event switch event type case swt select menu item select open editor descriptor break handleev menuitem getselect openeditor creat menu item editor descriptor param menu menu add item param descriptor editor descriptor null system editor param prefer editor descriptor prefer editor code null code privat void creat menu item menu menu final editor descriptor descriptor final editor descriptor prefer editor xxx bold swt support final menu item menu item menu item menu swt radio boolean prefer prefer editor null descriptor id equal prefer editor id menu item set select prefer menu item set text descriptor label imag imag imag descriptor imag null menu item set imag imag listen listen listen public void handl event event event switch event type case swt select menu item select open editor descriptor break menu item add listen swt select listen preferrededitor createmenuitem ieditordescriptor ieditordescriptor preferrededitor menuitem menuitem menuitem ispref preferrededitor getid preferrededitor getid menuitem setselect ispref menuitem settext getlabel getimag menuitem setimag handleev menuitem getselect openeditor menuitem addlisten arrai sort editor compar java util compar compar java lang object java lang object public int compar object o1 object o2 string s1 editor descriptor o1 label string s2 editor descriptor o2 label return true element greater element return s1 compar ignor case s2 ieditordescriptor getlabel ieditordescriptor getlabel elementtwo elementon comparetoignorecas public void fill menu menu int index file file resourc file resourc file resourc null return editor descriptor default editor registri find editor editor registri system inplac editor id null editor descriptor prefer editor id default editor file resourc null object editor registri editor file resourc arrai sort editor compar java util compar compar java lang object java lang object public int compar object o1 object o2 string s1 editor descriptor o1 label string s2 editor descriptor o2 label return true element greater element return s1 compar ignor case s2 editor descriptor ant editor registri find editor org eclips ant intern ui editor ant editor non nl 1 boolean default found fals boolean ant found fals list ad editor arrai list editor length int 0 editor length i editor descriptor editor editor descriptor editor ad editor editor id continu creat menu item menu editor prefer editor default editor null editor id equal default editor id default found true ant editor null editor id equal ant editor id ant found true ad editor add editor id add separ separ editor length 0 menu item menu swt separ add ant editor ant found ant editor null creat menu item menu ant editor prefer editor add default editor default found default editor null creat menu item menu default editor prefer editor add system editor editor descriptor descriptor registri find editor editor registri system extern editor id creat menu item menu descriptor prefer editor creat default menu item menu file resourc ifil fileresourc getfileresourc fileresourc ieditordescriptor defaulteditor findeditor ieditorregistri system_inplac_editor_id ieditordescriptor preferrededitor getdefaulteditor fileresourc geteditor fileresourc getnam ieditordescriptor getlabel ieditordescriptor getlabel elementtwo elementon comparetoignorecas ieditordescriptor anteditor findeditor anteditor defaultfound antfound alreadyaddededitor arraylist ieditordescriptor ieditordescriptor alreadyaddededitor getid createmenuitem preferrededitor defaulteditor getid defaulteditor getid defaultfound anteditor getid anteditor getid antfound alreadyaddededitor getid menuitem antfound anteditor createmenuitem anteditor preferrededitor defaultfound defaulteditor createmenuitem defaulteditor preferrededitor ieditordescriptor findeditor ieditorregistri system_extern_editor_id createmenuitem preferrededitor createdefaultmenuitem fileresourc convert adapt file file null privat file file resourc file instanceof file return file file resourc resourc resourc file adapt resourc class resourc instanceof file return file resourc return null iadapt ifil ifil getfileresourc ifil ifil iresourc iresourc getadapt iresourc ifil ifil return menu dynam public boolean dynam return true isdynam open editor select file param editor editor descriptor null system editor privat void open editor editor descriptor editor descriptor editor part editor part null file file resourc file resourc try editor descriptor null editor part page open editor file editor input file resourc editor registri system extern editor id editor part page open editor file editor input file resourc editor descriptor id catch part init except antui plugin log messag format format ant view action messag string ant view open menu editor fail string file resourc locat too string non nl 1 line 1 return editor part instanceof text editor text editor editor text editor editor part int offset offset line column editor offset 1 return document provid provid editor document provid provid instanceof ant editor document provid ant model model ant editor document provid provid ant model editor editor input ant element node node model project node node offset editor set highlight rang node offset node length true editor select reveal node offset node select length openeditor ieditordescriptor editordescriptor ieditorpart editorpart ifil fileresourc getfileresourc editordescriptor editorpart openeditor fileeditorinput fileresourc ieditorregistri system_extern_editor_id editorpart openeditor fileeditorinput fileresourc editordescriptor getid partinitexcept antuiplugin messageformat antviewactionmessag getstr antviewopenwithmenu editor_fail fileresourc getloc toosstr fline editorpart itexteditor itexteditor itexteditor editorpart getoffset fline fcolumn idocumentprovid getdocumentprovid anteditordocumentprovid antmodel anteditordocumentprovid getantmodel geteditorinput antelementnod getprojectnod getnod sethighlightrang getoffset getlength selectandrev getoffset getselectionlength privat int offset int line int column text editor editor document provid provid editor document provid editor input input editor editor input try provid connect input catch core except return 1 try document document provid document input document null column 1 column mark length adjust 0 index element sourc rang return document line offset line 1 column 1 2 return document line offset line 1 catch bad locat except final provid disconnect input return 1 getoffset itexteditor idocumentprovid getdocumentprovid ieditorinput geteditorinput coreexcept idocu getdocu getlineoffset getlineoffset badlocationexcept listen listen listen public void handl event event event switch event type case swt select menu item select id set default editor file resourc null try id open editor page file resourc true catch part init except antui plugin log messag format format ant view action messag string ant view open menu editor fail string file resourc locat too string non nl 1 break handleev menuitem getselect setdefaulteditor fileresourc openeditor fileresourc partinitexcept antuiplugin messageformat antviewactionmessag getstr antviewopenwithmenu editor_fail fileresourc getloc toosstr creat menu item default editor param menu menu add item param file file edit param registri editor registri privat void creat default menu item menu menu final file file resourc final menu item menu item menu item menu swt radio menu item set select id default editor file resourc null menu item set text ant view action messag string ant view open menu default editor 4 non nl 1 listen listen listen public void handl event event event switch event type case swt select menu item select id set default editor file resourc null try id open editor page file resourc true catch part init except antui plugin log messag format format ant view action messag string ant view open menu editor fail string file resourc locat too string non nl 1 break menu item add listen swt select listen createdefaultmenuitem ifil fileresourc menuitem menuitem menuitem menuitem setselect getdefaulteditor fileresourc menuitem settext antviewactionmessag getstr antviewopenwithmenu default_editor_4 handleev menuitem getselect setdefaulteditor fileresourc openeditor fileresourc partinitexcept antuiplugin messageformat antviewactionmessag getstr antviewopenwithmenu editor_fail fileresourc getloc toosstr menuitem addlisten public void set extern info int line int column line line column column setexternalinfo fline fcolumn privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat ant view action messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name antviewactionmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept creat imag descriptor imag load file code code public editor imag descriptor program program program program imagedescriptor editorimagedescriptor public boolean equal object o instanceof editor imag descriptor return fals editor imag descriptor editor imag descriptor compar compar program string other program null return program equal program return equal program editorimagedescriptor editorimagedescriptor editorimagedescriptor othernam getnam othernam othernam getnam return swt imag inform descriptor call return imag public imag imag return creat imag getimag createimag org eclips jface resourc imag descriptor imag data public imag data imag data imag data default imag platformui workbench share imag imag descriptor share imag img obj file imag data default imag null return null imag data data null program null data program imag data null return default imag imag gnome big scale give nice result return default imag data height default imag height data width default imag width return default imag return data imagedescriptor getimagedata imagedata getimagedata imagedata defaultimag getworkbench getsharedimag getimagedescriptor isharedimag img_obj_file getimagedata defaultimag imagedata getimagedata defaultimag defaultimag defaultimag defaultimag defaultimag public int hash code string program program program null return program hash code return program hash code hashcod programnam getnam programnam hashcod programnam hashcod public filter intern target action ant view view super ant view action messag string filter intern target action 0 non nl 1 view view set imag descriptor antui imag imag descriptor antui constant img filter intern target set tool tip text ant view action messag string filter intern target action 0 non nl 1 set check view filter intern target filterinternaltargetsact antview antviewactionmessag getstr filterinternaltargetsact fview setimagedescriptor antuiimag getimagedescriptor iantuiconst img_filter_intern_target settooltiptext antviewactionmessag getstr filterinternaltargetsact setcheck fview isfilterinternaltarget toggl filter intern target ant view org eclips jface action action run public void run view set filter intern target check iaction fview setfilterinternaltarget ischeck creat code refresh build file action code refresh buildfil ant view param view ant view select action determin buildfil refresh public refresh build file action ant view view super ant view action messag string refresh build file action refresh buildfil 1 antui imag imag descriptor antui constant img refresh non nl 1 set tool tip text ant view action messag string refresh build file action refresh buildfil 1 non nl 1 view view workbench help set help antui help context id refresh buildfil action refreshbuildfilesact refreshbuildfilesact antview antviewactionmessag getstr refreshbuildfilesact refresh_buildfil_1 antuiimag getimagedescriptor iantuiconst img_refresh settooltiptext antviewactionmessag getstr refreshbuildfilesact refresh_buildfil_1 workbenchhelp sethelp iantuihelpcontextid refresh_buildfil_action platformui workbench progress servic busi cursor runnabl progress public void run progress monitor monitor monitor begin task ant view action messag string refresh build file action refresh buildfil 3 project size non nl 1 project node project iter project project node iter monitor task messag format format ant view action messag string refresh build file action refresh 0 4 string project build file non nl 1 project pars build file monitor work 1 getworkbench getprogressservic busycursorwhil irunnablewithprogress iprogressmonitor begintask antviewactionmessag getstr refreshbuildfilesact refresh_buildfil_3 projectnod hasnext projectnod subtask messageformat antviewactionmessag getstr refreshbuildfilesact refresh_ _4 getbuildfilenam parsebuildfil refresh select buildfil buildfil select ant view public void run final set project select project project empti select add project node project view project int 0 project length project add project final iter iter project iter iter return try platformui workbench progress servic busi cursor runnabl progress public void run progress monitor monitor monitor begin task ant view action messag string refresh build file action refresh buildfil 3 project size non nl 1 project node project iter project project node iter monitor task messag format format ant view action messag string refresh build file action refresh 0 4 string project build file non nl 1 project pars build file monitor work 1 catch invoc target except catch interrupt except view project viewer refresh getselectedproject isempti projectnod allproject getproject allproject allproject hasnext getworkbench getprogressservic busycursorwhil irunnablewithprogress iprogressmonitor begintask antviewactionmessag getstr refreshbuildfilesact refresh_buildfil_3 projectnod hasnext projectnod subtask messageformat antviewactionmessag getstr refreshbuildfilesact refresh_ _4 getbuildfilenam parsebuildfil invocationtargetexcept interruptedexcept getprojectview return select project node refresh return set select code project node code refresh privat set select project structur select select structur select view project viewer select hash set set hash set iter iter select iter object data iter data iter data instanceof project node set add data data instanceof target node set add target node data project return set projectnod getselectedproject istructuredselect istructuredselect getprojectview getselect hashset hashset hasnext projectnod targetnod targetnod getproject updat enabl action base user select public void updat set enabl view project length 0 seten getproject public remov action ant view view super ant view action messag string remov action remov antui imag imag descriptor antui constant img remov non nl 1 set descript ant view action messag string remov action remov non nl 1 set tool tip text ant view action messag string remov action remov non nl 1 view view workbench help set help antui help context id remov action removeallact antview antviewactionmessag getstr removeallact remov_all antuiimag getimagedescriptor iantuiconst img_remov_all setdescript antviewactionmessag getstr removeallact remov_all settooltiptext antviewactionmessag getstr removeallact remov_all workbenchhelp sethelp iantuihelpcontextid remov_all_action public void run view remov project removeallproject org eclips ui texteditor updat updat public void updat set enabl view project viewer tree item count 0 iupdat seten getprojectview gettre getitemcount public remov project action ant view view super ant view action messag string remov project action remov antui imag imag descriptor antui constant img remov non nl 1 view view set tool tip text ant view action messag string remov project action remov 2 non nl 1 workbench help set help antui help context id remov project action removeprojectact antview antviewactionmessag getstr removeprojectact antuiimag getimagedescriptor iantuiconst img_remov settooltiptext antviewactionmessag getstr removeprojectact remov_2 workbenchhelp sethelp iantuihelpcontextid remov_project_action org eclips jface action action run public void run structur select select structur select view project viewer select iter iter select iter object element list project node arrai list iter element iter element instanceof project node project node add element view remov project project node iaction istructuredselect istructuredselect getprojectview getselect projectnod arraylist hasnext projectnod projectnod removeproject projectnod org eclips ui texteditor updat updat public void updat structur select select structur select view project viewer select select empti set enabl fals return object element iter iter select iter iter element iter element instanceof project node set enabl fals return set enabl true iupdat istructuredselect istructuredselect getprojectview getselect isempti seten hasnext projectnod seten seten creat code run target action code execut target view param view ant view select action determin target run param show dialog displai launch configur dialog edit launch configur public run target action ant view view boolean show dialog show dialog set text ant view action messag string run target action 4 non nl 1 set imag descriptor antui imag imag descriptor antui constant img tab ant target workbench help set help antui help context id edit launch configur action set text ant view action messag string run target action run 1 non nl 1 set imag descriptor antui imag imag descriptor antui constant img run workbench help set help antui help context id run target action set tool tip text ant view action messag string run target action run default non nl 1 view view show dialog show dialog runtargetact showdialog runtargetact antview showdialog showdialog settext antviewactionmessag getstr runtargetact setimagedescriptor antuiimag getimagedescriptor iantuiconst img_tab_ant_target workbenchhelp sethelp iantuihelpcontextid edit_launch_configur_action settext antviewactionmessag getstr runtargetact run_1 setimagedescriptor antuiimag getimagedescriptor iantuiconst img_run workbenchhelp sethelp iantuihelpcontextid run_target_action settooltiptext antviewactionmessag getstr runtargetact run_default showdialog showdialog ui job job ui job ant view action messag string run target action 2 non nl 1 public statu run inui thread progress monitor monitor target node target select target target null return statu statu error antui plugin uniqu identifi statu error ant view action messag string run target action 3 null non nl 1 run target target return statu ok statu uijob uijob antviewactionmessag getstr runtargetact istatu runinuithread iprogressmonitor targetnod getselectedtarget istatu antuiplugin getuniqueidentifi istatu antviewactionmessag getstr runtargetact runtarget ok_statu execut select target project ant view public void run ui job job ui job ant view action messag string run target action 2 non nl 1 public statu run inui thread progress monitor monitor target node target select target target null return statu statu error antui plugin uniqu identifi statu error ant view action messag string run target action 3 null non nl 1 run target target return statu ok statu job schedul uijob uijob antviewactionmessag getstr runtargetact istatu runinuithread iprogressmonitor targetnod getselectedtarget istatu antuiplugin getuniqueidentifi istatu antviewactionmessag getstr runtargetact runtarget ok_statu execut target param target target execut public void run target target node target file file ant util file target project build file file null antui plugin standard displai beep return ant launch shortcut shortcut ant launch shortcut shortcut set show dialog show dialog shortcut launch file launch manag run mode target runtarget targetnod ifil antutil getfil getproject getbuildfilenam antuiplugin getstandarddisplai antlaunchshortcut antlaunchshortcut setshowdialog showdialog ilaunchmanag run_mode getnam updat enabl action base user select public void updat ant node select select element boolean enabl fals select instanceof target node target node select error node enabl true select instanceof project node project node select error node enabl true set enabl enabl antnod getselectedel targetnod targetnod iserrornod projectnod projectnod iserrornod seten return select target project node code null code target project select element select return ant node select code target node code code project node code privat ant node select element structur select select structur select view project viewer select select empti return null iter iter select iter object data iter iter data instanceof target node data instanceof project node return target node project node return null return ant node data antnod targetnod projectnod antnod getselectedel istructuredselect istructuredselect getprojectview getselect isempti hasnext targetnod projectnod targetnod projectnod antnod return select target project viewer code null code target select element select return target node select target privat target node select target ant node select node select element select node instanceof target node return target node select node select node instanceof project node return project node select node default target return null targetnod targetnod getselectedtarget antnod selectednod getselectedel selectednod targetnod targetnod selectednod selectednod projectnod projectnod selectednod getdefaulttarget public search build file action ant view view super ant view action messag string search build file action search 1 antui imag imag descriptor antui constant img search non nl 1 set tool tip text ant view action messag string search build file action add build file search 2 non nl 1 view view workbench help set help antui help context id search buildfil action searchforbuildfilesact antview antviewactionmessag getstr searchforbuildfilesact search_1 antuiimag getimagedescriptor iantuiconst img_search settooltiptext antviewactionmessag getstr searchforbuildfilesact add_build_file_with_search_2 workbenchhelp sethelp iantuihelpcontextid search_for_buildfil_action includ error node project error node displai default async exec runnabl public void run view add project project includeerrornod iserrornod getdefault asyncexec addproject platformui workbench progress servic busi cursor runnabl progress public void run progress monitor monitor monitor begin task ant view action messag string search build file action process search result 3 file length non nl 1 int 0 file length monitor cancel string build file file full path string monitor task messag format format ant view action messag string search build file action ad 0 4 string build file non nl 1 ad build file don pars project ad continu final project node project project node build file forc project pars error set project monitor work 1 includ error node project error node displai default async exec runnabl public void run view add project project getworkbench getprogressservic busycursorwhil irunnablewithprogress iprogressmonitor begintask antviewactionmessag getstr searchforbuildfilesact process_search_result_3 iscancel buildfilenam getfullpath tostr subtask messageformat antviewactionmessag getstr searchforbuildfilesact ad_ _4 buildfilenam alreadyad buildfilenam projectnod projectnod buildfilenam getnam includeerrornod iserrornod getdefault asyncexec addproject return build file exist ant view privat boolean ad string build file int 0 exist project length project node exist project exist project exist project build file equal build file return true return fals alreadyad buildfilenam existingproject projectnod existingproject existingproject existingproject getbuildfilenam buildfilenam open code search build file dialog code add result ant view public void run search build file dialog dialog search build file dialog dialog open window cancel final file file dialog result final boolean includ error node dialog includ error result final project node exist project view project try platformui workbench progress servic busi cursor runnabl progress public void run progress monitor monitor monitor begin task ant view action messag string search build file action process search result 3 file length non nl 1 int 0 file length monitor cancel string build file file full path string monitor task messag format format ant view action messag string search build file action ad 0 4 string build file non nl 1 ad build file don pars project ad continu final project node project project node build file forc project pars error set project monitor work 1 includ error node project error node displai default async exec runnabl public void run view add project project return build file exist ant view privat boolean ad string build file int 0 exist project length project node exist project exist project exist project build file equal build file return true return fals catch invoc target except catch interrupt except searchforbuildfilesdialog searchforbuildfilesdialog searchforbuildfilesdialog ifil getresult includeerrornod getincludeerrorresult projectnod existingproject getproject getworkbench getprogressservic busycursorwhil irunnablewithprogress iprogressmonitor begintask antviewactionmessag getstr searchforbuildfilesact process_search_result_3 iscancel buildfilenam getfullpath tostr subtask messageformat antviewactionmessag getstr searchforbuildfilesact ad_ _4 buildfilenam alreadyad buildfilenam projectnod projectnod buildfilenam getnam includeerrornod iserrornod getdefault asyncexec addproject alreadyad buildfilenam existingproject projectnod existingproject existingproject existingproject getbuildfilenam buildfilenam invocationtargetexcept interruptedexcept set antui prefer constant antview search string input valid public string valid string text string trim text text trim trim text length 0 return ant view action messag string search build file dialog build empti 3 non nl 1 return null iantuipreferenceconst antview_last_search_string iinputvalid isvalid newtext trimmedtext newtext trimmedtext antviewactionmessag getstr searchforbuildfilesdialog build_name_cannot_be_empti_3 creat dialog search build file public search build file dialog super displai current activ shell ant view action messag string search build file dialog search build file 1 ant view action messag string search build file dialog input non nl 1 non nl 2 set antui prefer constant antview search string input valid public string valid string text string trim text text trim trim text length 0 return ant view action messag string search build file dialog build empti 3 non nl 1 return null searchforbuildfilesdialog getcurr getactiveshel antviewactionmessag getstr searchforbuildfilesdialog search_for_build_file_1 antviewactionmessag getstr searchforbuildfilesdialog iantuipreferenceconst antview_last_search_string iinputvalid isvalid newtext trimmedtext newtext trimmedtext antviewactionmessag getstr searchforbuildfilesdialog build_name_cannot_be_empti_3 chang label ok button initi enabl protect void creat button button bar composit parent super creat button button bar parent ok button set text ant view action messag string search build file dialog search 4 non nl 1 string work set set antui prefer constant antview workingset search scope work set length 0 set work set platformui workbench work set manag work set work set set boolean antui prefer constant antview workingset search scope select radio button workspac scope button handl radio button press createbuttonsforbuttonbar createbuttonsforbuttonbar getokbutton settext antviewactionmessag getstr searchforbuildfilesdialog search_4 workingsetnam iantuipreferenceconst antview_last_workingset_search_scope workingsetnam setworkingset getworkbench getworkingsetmanag getworkingset workingsetnam getboolean iantuipreferenceconst antview_us_workingset_search_scope selectradiobutton workspacescopebutton handleradiobuttonpress add scope select widget dialog area protect control creat dialog area composit parent font font parent font composit composit composit super creat dialog area parent creat includ error result button composit font creat scope group composit font return composit createdialogarea getfont createdialogarea createincludeerrorresultbutton createscopegroup select adapt select listen select adapt public void widget select select event handl radio button press selectionadapt selectionlisten selectionadapt widgetselect selectionev handleradiobuttonpress choos button set text ant view action messag string search build file dialog choos 8 non nl 1 choos button add select listen select adapt public void widget select select event evt handl choos button press choosebutton settext antviewactionmessag getstr searchforbuildfilesdialog _8 choosebutton addselectionlisten selectionadapt widgetselect selectionev handlechoosebuttonpress privat void creat scope group composit composit font font group scope group composit swt scope set text ant view action messag string search build file dialog scope 5 non nl 1 grid data data grid data grid data fill scope set layout data data grid layout layout grid layout 3 fals scope set layout layout scope set font font creat composit radio button composit radio composit composit scope swt grid layout radio layout grid layout radio layout margin height 0 radio composit set layout radio layout select adapt select listen select adapt public void widget select select event handl radio button press workspac scope button button radio composit swt radio workspac scope button set font font workspac scope button set text ant view action messag string search build file dialog workspac 6 non nl 1 workspac scope button add select listen select listen work set scope button button radio composit swt radio work set scope button set font font work set scope button set text ant view action messag string search build file dialog wor king set 7 non nl 1 work set scope button add select listen select listen select radio button workspac scope button work set text text scope swt border work set text set edit fals data grid data grid data fill horizont grid data vertic align end work set text set layout data data work set text set font font button choos button button scope swt push data grid data grid data vertic align end choos button set layout data data choos button set font font choos button set text ant view action messag string search build file dialog choos 8 non nl 1 choos button add select listen select adapt public void widget select select event evt handl choos button press createscopegroup settext antviewactionmessag getstr searchforbuildfilesdialog scope_5 griddata griddata griddata fill_both setlayoutdata gridlayout gridlayout setlayout setfont radiocomposit gridlayout radiolayout gridlayout radiolayout marginheight radiocomposit setlayout radiolayout selectionadapt selectionlisten selectionadapt widgetselect selectionev handleradiobuttonpress workspacescopebutton radiocomposit workspacescopebutton setfont workspacescopebutton settext antviewactionmessag getstr searchforbuildfilesdialog workspac_6 workspacescopebutton addselectionlisten selectionlisten workingsetscopebutton radiocomposit workingsetscopebutton setfont workingsetscopebutton settext antviewactionmessag getstr searchforbuildfilesdialog king_set__7 workingsetscopebutton addselectionlisten selectionlisten selectradiobutton workspacescopebutton workingsettext workingsettext setedit griddata griddata fill_horizont griddata vertic_align_end workingsettext setlayoutdata workingsettext setfont choosebutton griddata griddata vertic_align_end choosebutton setlayoutdata choosebutton setfont choosebutton settext antviewactionmessag getstr searchforbuildfilesdialog _8 choosebutton addselectionlisten selectionadapt widgetselect selectionev handlechoosebuttonpress programat select radio button deselect radio button param button radio button select paramet code work set scope button code code workspac scope button code method effect privat void select radio button button button button work set scope button work set scope button set select true workspac scope button set select fals button workspac scope button workspac scope button set select true work set scope button set select fals workingsetscopebutton workspacescopebutton selectradiobutton workingsetscopebutton workingsetscopebutton setselect workspacescopebutton setselect workspacescopebutton workspacescopebutton setselect workingsetscopebutton setselect search scope radio button press updat dialog privat void handl radio button press work set scope button select work set set platformui workbench work set manag work set work set set null set work set set return set work set null handleradiobuttonpress workingsetscopebutton getselect iworkingset getworkbench getworkingsetmanag getworkingset getworkingsetnam setworkingset setworkingset return work set displai privat string work set return work set text text trim getworkingsetnam workingsettext gettext creat button user build file pars includ result privat void creat includ error result button composit composit font font includ error result button button composit swt check includ error result button set font font includ error result button set text ant view action messag string search build file dialog includ error non nl 1 includ error result button set select set boolean antui prefer constant antview includ error search result createincludeerrorresultbutton includeerrorresultbutton includeerrorresultbutton setfont includeerrorresultbutton settext antviewactionmessag getstr searchforbuildfilesdialog includ_error includeerrorresultbutton setselect getboolean iantuipreferenceconst antview_includ_error_search_result updat dialog base the work set set ul li set enabl search button base valid set li li set clear error messag li ul privat void updat work set set work set scope button select string error null search scope null error ant view action messag string search build file dialog select work set 10 non nl 1 search scope empti error ant view action messag string search build file dialog searchabl non nl 1 error null set error messag error ok button set enabl fals return ok button set enabl true set error messag null updateforworkingsetset workingsetscopebutton getselect searchscop antviewactionmessag getstr searchforbuildfilesdialog must_select_a_work_set_10 searchscop isempti antviewactionmessag getstr searchforbuildfilesdialog no_searchabl seterrormessag getokbutton seten getokbutton seten seterrormessag handl work set choos button press return the chosen work set code null code privat void handl choos button press work set select dialog dialog platformui workbench work set manag creat work set select dialog shell fals dialog open window cancel return work set set dialog select set null return set length 0 set work set null ok press work set select set work set set 0 disallow multi select handlechoosebuttonpress iworkingsetselectiondialog getworkbench getworkingsetmanag createworkingsetselectiondialog getshel iworkingset getselect setworkingset setworkingset set current work set search scope popul search scope resourc found work set updat enabl dialog base set content param set work set scope search privat void set work set work set set set null search scope null work set text set text non nl 1 valid input return adapt element set element search scope arrai list int 0 element length try resourc object element resourc resourc null adapt adapt element adapt instanceof resourc resourc resourc adapt resourc resourc adapt adapt resourc class resourc null search scope add resourc work set text set text set select radio button work set scope button valid input setworkingset iworkingset searchscop workingsettext settext validateinput iadapt getel searchscop arraylist iresourc iresourc iadapt iresourc iresourc iresourc getadapt iresourc searchscop workingsettext settext getnam selectradiobutton workingsetscopebutton validateinput return trim user input privat string input return text text trim getinput gettext gettext return search result public file result return file result arrai file result size ifil getresult ifil toarrai ifil return user wish includ result pars protect boolean includ error result return set boolean antui prefer constant antview includ error search result getincludeerrorresult getboolean iantuipreferenceconst antview_includ_error_search_result user press search button ti ok id search workspac file match regular express input field protect void ok press string input input set put antui prefer constant antview search string input set put antui prefer constant antview includ error search result includ error result button select set put antui prefer constant antview workingset search scope work set set put antui prefer constant antview workingset search scope work set scope button select result arrai list clear previou result resourc proxi visitor visitor resourc proxi visitor search scope null search scope empti try resourc plugin workspac root accept visitor resourc catch core except ce close project don want build file iter iter search scope iter iter try resourc iter accept visitor resourc catch core except ce close project don want build file super ok press okpress getinput iantuipreferenceconst antview_last_search_string iantuipreferenceconst antview_includ_error_search_result includeerrorresultbutton getselect iantuipreferenceconst antview_last_workingset_search_scope getworkingsetnam iantuipreferenceconst antview_us_workingset_search_scope workingsetscopebutton getselect arraylist resourceproxyvisitor resourceproxyvisitor searchscop searchscop isempti resourcesplugin getworkspac getroot iresourc coreexcept searchscop hasnext iresourc iresourc coreexcept okpress org eclips core resourc resourc proxi visitor visit org eclips core resourc resourc proxi public boolean visit resourc proxi proxi proxi type resourc file matcher match proxi result add proxi request resourc return fals return true iresourceproxyvisitor iresourceproxi iresourceproxi gettyp iresourc getnam requestresourc org eclips jface window window configur shell org eclips swt widget shell protect void configur shell shell shell super configur shell shell workbench help set help shell antui help context id search buildfil dialog configureshel configureshel configureshel workbenchhelp sethelp iantuihelpcontextid search_for_buildfil_dialog protect void valid input string error messag null valid null error messag valid valid text text set error messag error messag error messag null updat work set set validateinput errormessag getvalid errormessag getvalid isvalid gettext gettext seterrormessag errormessag errormessag updateforworkingsetset org eclips jface viewer structur content provid element java lang object public object element object input element return children input element istructuredcontentprovid getel getel inputel getchildren inputel org eclips jface viewer content provid dispos public void dispos icontentprovid org eclips jface viewer content provid input chang org eclips jface viewer viewer java lang object java lang object public void input chang viewer viewer object input object input input instanceof root node root node root node input icontentprovid inputchang inputchang oldinput newinput newinput rootnod rootnod rootnod newinput add project tree effect project buildfil present tree param project project add public void add project project node project project node project root node project int 0 project length project node node project node build file equal project build file return root node add project project addproject projectnod projectnod getrootnod getproject projectnod getbuildfilenam getbuildfilenam getrootnod addproject return root node tree code null code root set input return root node root node tree public root node root node return root node rootnod rootnod getrootnod rootnod org eclips jface viewer tree content provid children object public object children object element element instanceof root node return root node element project element instanceof project node filter intern target return project node element target target node target project node element target list filter target arrai list int 0 target length target node node target intern node filter target add node return filter target arrai return null itreecontentprovid getchildren getchildren rootnod rootnod getproject projectnod fisfilteringinternaltarget projectnod gettarget targetnod projectnod gettarget filteredtarget arraylist targetnod isintern filteredtarget filteredtarget toarrai return target intern target intern target target descript default target consid intern param target target examin return target intern target privat boolean intern target node target return target target project default target target descript null isintern targetnod getproject getdefaulttarget getdescript org eclips jface viewer tree content provid parent object public object parent object element element instanceof ant node return ant node element parent return null itreecontentprovid getpar getpar antnod antnod getpar org eclips jface viewer tree content provid children object public boolean children object element element instanceof target node return fals return true itreecontentprovid haschildren haschildren targetnod public boolean filter intern target return filter intern target isfilterinternaltarget fisfilteringinternaltarget param filter public void set filter intern target boolean filter filter intern target filter setfilterinternaltarget fisfilteringinternaltarget org eclips jface viewer structur content provid element java lang object public object element object input element return target arrai istructuredcontentprovid getel getel inputel toarrai org eclips jface viewer content provid dispos public void dispos icontentprovid org eclips jface viewer content provid input chang org eclips jface viewer viewer java lang object java lang object public void input chang viewer viewer object input object input icontentprovid inputchang inputchang oldinput newinput return user select target list code target node code object return list user select target public list target return target targetnod gettarget add target list select target target list ad param target target add public void add target target node target target add target addtarget targetnod remov target list select target effect index invalid param index index the target remov public void remov target int index target size index index 0 target remov index removetarget move target list activ target effect target target list index invalid param index index target move public void move target int index object target target index index 0 target null return target set index target index 1 target set index 1 target moveuptarget move target list activ target effect target target list index invalid param index index target move public void move target int index object target target index index target size 1 target null return target set index target index 1 target set index 1 target movedowntarget project pars build file displai default async exec runnabl public void run full refresh re sort project viewer refresh parsebuildfil getdefault asyncexec projectview build file chang refresh view pick structur privat void handl build file chang final project node project project pars build file displai default async exec runnabl public void run full refresh re sort project viewer refresh handlebuildfilechang projectnod parsebuildfil getdefault asyncexec projectview org eclips ui workbench part creat part control org eclips swt widget composit public void creat part control composit parent initi action creat project viewer parent initi drag drop fill main tool bar project length 0 project ad view startup begin listen resourc resourc plugin workspac add resourc chang listen workbench help set help parent antui help context id ant view updat project action iworkbenchpart createpartcontrol createpartcontrol initializeact createprojectview initializedraganddrop fillmaintoolbar getproject resourcesplugin getworkspac addresourcechangelisten workbenchhelp sethelp iantuihelpcontextid ant_view updateprojectact privat void initi drag drop int op dnd drop copi dnd drop move dnd drop default transfer transfer transfer file transfer instanc tree viewer viewer project viewer ant view drop adapt adapt ant view drop adapt viewer add drop support op transfer adapt initializedraganddrop drop_copi drop_move drop_default filetransf getinst treeview getprojectview antviewdropadapt antviewdropadapt adddropsupport menu mgr set remov shown true menu mgr add menu listen menu listen public void menu show menu manag mgr fill context menu viewer mgr menumgr setremoveallwhenshown menumgr addmenulisten imenulisten menuabouttoshow imenumanag fillcontextmenu creat pop menu control param menu control control pop menu privat void creat context menu final viewer viewer control menu control viewer control menu manag menu mgr menu manag pop non nl 1 menu mgr set remov shown true menu mgr add menu listen menu listen public void menu show menu manag mgr fill context menu viewer mgr menu menu menu mgr creat context menu menu control menu control set menu menu regist context menu plugin contribut site regist context menu menu mgr viewer menucontrol createcontextmenu menucontrol getcontrol menumanag menumgr menumanag popup menumgr setremoveallwhenshown menumgr addmenulisten imenulisten menuabouttoshow imenumanag fillcontextmenu menumgr createcontextmenu menucontrol menucontrol setmenu getsit registercontextmenu menumgr add action context menu param viewer viewer menu re configur param menu menu contribut privat void fill context menu viewer viewer menu manag menu viewer project viewer menu add run target action menu add edit config action menu add separ add open menu menu menu add separ menu add add build file action menu add remov project action menu add remov action menu add refresh build file action menu add separ workbench action constant mb addit fillcontextmenu imenumanag projectview runtargetact editconfigact addopenwithmenu addbuildfileact removeprojectact removeallact refreshbuildfilesact iworkbenchactionconst mb_addit privat void add open menu menu manag menu file build file select build file build file null build file exist menu add separ group open non nl 1 menu manag submenu menu manag ant view messag string ant view open 3 non nl 1 open menu set file build file submenu add open menu menu append group group open submenu non nl 1 addopenwithmenu imenumanag ifil buildfil getselectionbuildfil buildfil buildfil imenumanag menumanag antviewmessag getstr antview open_with_3 openwithmenu setfil buildfil openwithmenu appendtogroup initi action view privat void initi action updat project action arrai list 5 add build file action add build file action remov project action remov project action updat project action add remov project action remov action remov action updat project action add remov action run target action run target action fals updat project action add run target action search build file action search build file action refresh build file action refresh build file action updat project action add refresh build file action open menu ant open menu view site page edit config action run target action true updat project action add edit config action filter intern target action filter intern target action initializeact updateprojectact arraylist addbuildfileact addbuildfilesact removeprojectact removeprojectact updateprojectact removeprojectact removeallact removeallact updateprojectact removeallact runtargetact runtargetact updateprojectact runtargetact searchforbuildfilesact searchforbuildfilesact refreshbuildfilesact refreshbuildfilesact updateprojectact refreshbuildfilesact openwithmenu antopenwithmenu getviewsit getpag editconfigact runtargetact updateprojectact editconfigact filterinternaltargetsact filterinternaltargetsact updat enabl updat action project viewer privat void updat project action iter iter updat project action iter iter updat iter updat iupdat updateprojectact updateprojectact hasnext iupdat project viewer set sorter viewer sorter org eclips jface viewer viewer sorter compar org eclips jface viewer viewer java lang object java lang object public int compar viewer viewer object e1 object e2 return e1 string compar ignor case e2 string projectview setsort viewersort viewersort tostr comparetoignorecas tostr project viewer add select chang listen select chang listen public void select chang select chang event event handl select chang event projectview addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev handleselectionchang project viewer add doubl click listen doubl click listen public void doubl click doubl click event event event select empti handl project viewer doubl click event projectview adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev getselect isempti handleprojectviewerdoubleclick project viewer control add kei listen kei adapt public void kei press kei event event handl project viewer kei press event projectview getcontrol addkeylisten keyadapt keypress keyev handleprojectviewerkeypress creat viewer displai ant project privat void creat project viewer composit parent project viewer tree viewer parent swt scroll swt scroll project content provid ant project content provid project viewer set content provid project content provid project content provid set filter intern target restor filter intern target filter intern target action set check restor filter intern target project viewer set label provid ant view label provid temp memento null restor root temp memento project viewer set input restor root project viewer set sorter viewer sorter org eclips jface viewer viewer sorter compar org eclips jface viewer viewer java lang object java lang object public int compar viewer viewer object e1 object e2 return e1 string compar ignor case e2 string project viewer add select chang listen select chang listen public void select chang select chang event event handl select chang event project viewer add doubl click listen doubl click listen public void doubl click doubl click event event event select empti handl project viewer doubl click event project viewer control add kei listen kei adapt public void kei press kei event event handl project viewer kei press event creat context menu project viewer createprojectview projectview treeview h_scroll v_scroll projectcontentprovid antprojectcontentprovid projectview setcontentprovid projectcontentprovid projectcontentprovid setfilterinternaltarget restoredfilterinternaltarget filterinternaltargetsact setcheck restoredfilterinternaltarget projectview setlabelprovid antviewlabelprovid tempmemento restoreroot tempmemento projectview setinput restoredroot projectview setsort viewersort viewersort tostr comparetoignorecas tostr projectview addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev handleselectionchang projectview adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev getselect isempti handleprojectviewerdoubleclick projectview getcontrol addkeylisten keyadapt keypress keyev handleprojectviewerkeypress createcontextmenu projectview privat void handl project viewer kei press kei event event event charact swt del event mask 0 remov project action enabl remov project action run event kei code swt f5 event mask 0 refresh build file action enabl refresh build file action run handleprojectviewerkeypress keyev statemask removeprojectact isen removeprojectact keycod statemask refreshbuildfilesact isen refreshbuildfilesact privat void handl project viewer doubl click doubl click event event select event select empti instanceof structur select return object select structur select element select instanceof project node project node project project node select editor registri registri platformui workbench editor registri file file ant util file project build file editor descriptor editor id default editor file editor null editor registri find editor editor registri system inplac editor id try editor null view site page open editor file editor input file editor registri system extern editor id view site page open editor file editor input file editor id catch part init except antui plugin log select instanceof target node run target action run handleprojectviewerdoubleclick doubleclickev iselect getselect isempti istructuredselect istructuredselect getfirstel projectnod projectnod projectnod ieditorregistri getworkbench geteditorregistri ifil antutil getfil getbuildfilenam ieditordescriptor getdefaulteditor findeditor ieditorregistri system_inplac_editor_id getviewsit getpag openeditor fileeditorinput ieditorregistri system_extern_editor_id getviewsit getpag openeditor fileeditorinput getid partinitexcept antuiplugin targetnod runtargetact updat action statu line select chang viewer privat void handl select chang select chang event event updat project action iter select iter structur select event select iter object select null select iter select select iter string messag string null select iter messag string statu line text select view site action bar statu line manag set messag messag string handleselectionchang selectionchangedev updateprojectact selectionit istructuredselect getselect selectionit hasnext selectionit messagestr selectionit hasnext messagestr getstatuslinetext getviewsit getactionbar getstatuslinemanag setmessag messagestr return text displai workbench statu line node privat static string statu line text object node node instanceof project node project node project project node node string buffer messag string buffer project build file string descript project descript descript null messag append non nl 1 messag append descript return messag string node instanceof target node target node target target node node string buffer messag string buffer ant view messag string ant view 1 non nl 1 messag append target messag append string depend target depend depend length 0 messag append ant view messag string ant view depend 2 non nl 1 messag append depend 0 unrol loop avoid trail comma int 1 depend length messag append append depend messag append string descript target descript descript null descript length 0 messag append ant view messag string ant view descript 4 non nl 1 messag append descript messag append return messag string return null getstatuslinetext projectnod projectnod projectnod stringbuff stringbuff getbuildfilenam getdescript tostr targetnod targetnod targetnod stringbuff stringbuff antviewmessag getstr antview name___1 getnam getdepend antviewmessag getstr antview _depend___2 getdescript antviewmessag getstr antview _descript___4 tostr return tree viewer displai project view return tree viewer view project viewer public tree viewer project viewer return project viewer treeview treeview getprojectview projectview return code project node code displai view return project node code project node code displai view public project node project return project content provid root node project projectnod projectnod projectnod projectnod getproject projectcontentprovid getrootnod getproject add project project view param project project add public void add project project node project project content provid add project project project viewer refresh resourc plugin workspac add resourc chang listen updat project action addproject projectnod projectcontentprovid addproject projectview resourcesplugin getworkspac addresourcechangelisten updateprojectact remov project view param project project remov privat void remov project project node project remov project content provid project project viewer refresh project length 0 resourc plugin workspac remov resourc chang listen set project viewer select delet removeproject projectnod removeprojectfromcontentprovid projectview getproject resourcesplugin getworkspac removeresourcechangelisten setprojectviewerselectionafterdelet privat void set project viewer select delet object children project content provid children project content provid root node children length 0 viewer sorter sorter project viewer sorter sorter sort project viewer children project viewer set select structur select children 0 setprojectviewerselectionafterdelet projectcontentprovid getchildren projectcontentprovid getrootnod viewersort projectview getsort projectview projectview setselect structuredselect remov list code project node code object view method call multipl project remov method optim viewer refresh remov multipl item param project node list code project node code object remov public void remov project list project node iter iter project node iter iter project node project project node iter remov project content provid project project viewer refresh set project viewer select delet projectnod projectnod projectnod removeproject projectnod projectnod hasnext projectnod projectnod removeprojectfromcontentprovid projectview setprojectviewerselectionafterdelet remov project node project content provid remov target project target content provid param project project remov privat void remov project content provid project node project project content provid root node remov project project project content provid root node project resourc plugin workspac remov resourc chang listen removeprojectfromcontentprovid projectnod projectcontentprovid getrootnod removeproject projectcontentprovid getrootnod hasproject resourcesplugin getworkspac removeresourcechangelisten remov project view public void remov project remov project project content provid root node remov project refresh viewer project viewer refresh resourc plugin workspac remov resourc chang listen updat project action removeallproject projectcontentprovid getrootnod removeallproject projectview resourcesplugin getworkspac removeresourcechangelisten updateprojectact org eclips ui workbench part set focu public void set focu project viewer null project viewer control set focu iworkbenchpart setfocu setfocu getprojectview getprojectview getcontrol setfocu restor project select target org eclips ui view part init view site memento public void init view site site memento memento throw part init except init site restor root memento memento null memento child memento child tag filter intern target child null restor filter intern target boolean child string kei boolean iviewpart iviewsit imemento iviewsit imemento partinitexcept restoreroot imemento getchild tag_filter_intern_target restoredfilterinternaltarget valueof getstr kei_valu booleanvalu initi root node restor persist project param memento memento persist project privat void restor root memento memento memento null restor root root node return memento project memento children tag project project length 1 restor root root node return list project node arrai list project length int 0 project length i memento project memento project string path string project memento string kei path resourc plugin workspac root file path path string exist file longer exist don add continu string string project memento string kei string default target project memento string kei default string error string project memento string kei error project node project null string null string non nl 1 project project node string path string error string null boolean error string boolean project set error node true default target null project set default target default target project node add project restor root root node project node project node arrai project node project node size restoreroot imemento restoredroot rootnod imemento getchildren tag_project restoredroot rootnod projectnod arraylist imemento projectmemento pathstr projectmemento getstr kei_path resourcesplugin getworkspac getroot getfil pathstr namestr projectmemento getstr kei_name defaulttarget projectmemento getstr kei_default errorstr projectmemento getstr kei_error projectnod namestr namestr projectnod namestr pathstr errorstr valueof errorstr booleanvalu setiserrornod defaulttarget setdefaulttargetnam defaulttarget projectnod restoredroot rootnod projectnod projectnod toarrai projectnod projectnod save content project viewer target viewer org eclips ui view part save memento public void save memento memento save project project node project project content provid root node project project node project memento project memento int 0 project length project project project memento memento creat child tag project project memento put string kei path project build file project memento put string kei project string default target project default target project error node project memento put string kei error string true default target null project memento put string kei default default target project memento put string kei error string fals memento filter target memento creat child tag filter intern target filter target put string kei filter intern target string true string fals iviewpart savest imemento savest imemento projectnod projectcontentprovid getrootnod getproject projectnod imemento projectmemento projectmemento createchild tag_project projectmemento putstr kei_path getbuildfilenam projectmemento putstr kei_name getnam defaulttarget getdefaulttargetnam iserrornod projectmemento putstr kei_error valueof defaulttarget projectmemento putstr kei_default defaulttarget projectmemento putstr kei_error valueof imemento filtertarget createchild tag_filter_intern_target filtertarget putstr kei_valu isfilterinternaltarget valueof valueof org eclips ui workbench part dispos public void dispos temp memento xml memento creat write root ant view memento non nl 1 save temp memento super dispos open menu null open menu dispos resourc plugin workspac remov resourc chang listen iworkbenchpart tempmemento xmlmemento createwriteroot antviewmemento savest tempmemento openwithmenu openwithmenu resourcesplugin getworkspac removeresourcechangelisten public void resourc chang resourc chang event event resourc delta delta event delta delta null project node project project content provid root node project path build file path int 0 project length build file path path project build file resourc delta chang delta find member build file path chang null handl chang delta chang project resourcechang iresourcechangeev iresourcedelta getdelta projectnod projectcontentprovid getrootnod getproject ipath buildfilepath buildfilepath getbuildfilenam iresourcedelta findmemb buildfilepath handlechangedelta delta kind resourc delta remov displai default async exec runnabl public void run remov project project getkind iresourcedelta getdefault asyncexec removeproject updat view resourc delta delta resourc delta build file view param delta delta build file view param project project node chang privat void handl chang delta resourc delta delta final project node project resourc resourc delta resourc resourc type resourc file return delta kind resourc delta remov displai default async exec runnabl public void run remov project project delta kind resourc delta chang delta flag resourc delta content 0 handl build file chang project handlechangedelta iresourcedelta projectnod iresourc getresourc gettyp iresourc getkind iresourcedelta getdefault asyncexec removeproject getkind iresourcedelta getflag iresourcedelta handlebuildfilechang privat void fill main tool bar tool bar manag tool bar mgr view site action bar tool bar manag tool bar mgr remov tool bar mgr add add build file action tool bar mgr add search build file action tool bar mgr add filter intern target action tool bar mgr add run target action tool bar mgr add remov project action tool bar mgr add remov action tool bar mgr updat fals fillmaintoolbar itoolbarmanag toolbarmgr getviewsit getactionbar gettoolbarmanag toolbarmgr removeal toolbarmgr addbuildfileact toolbarmgr searchforbuildfilesact toolbarmgr filterinternaltargetsact toolbarmgr runtargetact toolbarmgr removeprojectact toolbarmgr removeallact toolbarmgr privat file select build file structur select select structur select project viewer select select size 1 object element select element project node project node null element instanceof project node project node project node element element instanceof target node project node target node element project project node null return ant util file project node build file return null ifil getselectionbuildfil istructuredselect istructuredselect getprojectview getselect getfirstel projectnod projectnod projectnod projectnod projectnod targetnod projectnod targetnod getproject projectnod antutil getfil projectnod getbuildfilenam public show context show context file build file select build file build file null build file exist select select structur select build file return show context null select return null showincontext getshowincontext ifil buildfil getselectionbuildfil buildfil buildfil iselect structuredselect buildfil showincontext return intern target filter view return intern target filter public boolean filter intern target project content provid null return project content provid filter intern target return fals isfilterinternaltarget projectcontentprovid projectcontentprovid isfilterinternaltarget set intern target filter view param filter intern target filter public void set filter intern target boolean filter project content provid null project content provid set filter intern target filter project viewer refresh setfilterinternaltarget projectcontentprovid projectcontentprovid setfilterinternaltarget projectview creat drop adapt ant view param view view drop file ad public ant view drop adapt ant view view view view antviewdropadapt antview busi indic show null runnabl public void run int 0 string length process string string busyind showwhil processstr org eclips swt dnd drop target listen drop org eclips swt dnd drop target event public void drop drop target event event object data event data data instanceof string final string string string data busi indic show null runnabl public void run int 0 string length process string string droptargetlisten droptargetev droptargetev busyind showwhil processstr attempt process string path xml file string determin path xml file workspac file ad ant view param build file string process privat void process string string build file file build file ant util file locat build file null build file null build file lower case end xml non nl 1 return build file build file full path string project node exist project view project int 0 exist project length project node exist project exist project exist project build file equal build file don pars project ad return project node project project node build file view add project project buildfilenam processstr buildfilenam ifil buildfil antutil getfileforloc buildfilenam buildfil buildfilenam tolowercas endswith buildfilenam buildfil getfullpath tostr projectnod existingproject getproject existingproject projectnod existingproject existingproject existingproject getbuildfilenam buildfilenam projectnod projectnod buildfilenam addproject org eclips jface viewer label provid imag java lang object public imag imag object element element instanceof project node project node project project node element int flag 0 project error node flag flag ant imag descriptor error composit imag descriptor descriptor ant imag descriptor antui imag imag descriptor antui constant img ant project flag return antui imag imag descriptor element instanceof target node target node target target node element int flag 0 imag descriptor base null target equal target project default target base antui imag imag descriptor antui constant img ant default target target descript null base antui imag imag descriptor antui constant img ant target intern base antui imag imag descriptor antui constant img ant target target error node flag flag ant imag descriptor error return antui imag imag ant imag descriptor base flag return null ilabelprovid getimag getimag projectnod projectnod projectnod iserrornod antimagedescriptor ha_error compositeimagedescriptor antimagedescriptor antuiimag getimagedescriptor iantuiconst img_ant_project antuiimag getimag targetnod targetnod targetnod imagedescriptor getproject getdefaulttarget antuiimag getimagedescriptor iantuiconst img_ant_default_target getdescript antuiimag getimagedescriptor iantuiconst img_ant_target_intern antuiimag getimagedescriptor iantuiconst img_ant_target iserrornod antimagedescriptor ha_error antuiimag getimag antimagedescriptor org eclips jface viewer label provid text java lang object public string text object element element instanceof target node target node node target node element string buffer string buffer node node equal node project default target name append ant view messag string target node default non nl 1 return string element instanceof project node project node project project node element string buffer buffer string buffer project string default target project default target default target null buffer append append default target append non nl 1 return buffer string return element string ilabelprovid gettext gettext targetnod targetnod targetnod stringbuff stringbuff getnam getnam getproject getdefaulttargetnam antviewmessag getstr targetnod tostr projectnod projectnod projectnod stringbuff stringbuff getnam defaulttarget getdefaulttargetnam defaulttarget defaulttarget tostr tostr org eclips jface viewer base label provid add listen org eclips jface viewer label provid listen public void add listen label provid listen listen ibaselabelprovid addlisten ilabelproviderlisten addlisten ilabelproviderlisten org eclips jface viewer base label provid dispos public void dispos ibaselabelprovid org eclips jface viewer base label provid label properti java lang object java lang string public boolean label properti object element string properti return fals ibaselabelprovid islabelproperti islabelproperti org eclips jface viewer base label provid remov listen org eclips jface viewer label provid listen public void remov listen label provid listen listen ibaselabelprovid removelisten ilabelproviderlisten removelisten ilabelproviderlisten public color foreground object element element instanceof target node target node target target node element target target project default target return displai default system color swt color blue return null getforeground targetnod targetnod targetnod getproject getdefaulttarget getdefault getsystemcolor color_blue org eclips jface viewer color provid background java lang object public color background object element return null icolorprovid getbackground getbackground privat static final resourc bundl resourc bundl resourc bundl bundl bundl privat ant view messag resourcebundl resourc_bundl resourcebundl getbundl bundl_name antviewmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept creat node parent privat ant node antnod creat node param node public ant node string null antnod creat node parent param parent node parent node param node public ant node ant node parent string parent parent name antnod antnod return node parent code null code return ant node node parent node public ant node parent return parent antnod antnod getpar set node parent node node param parent parent node public void set parent ant node parent parent parent setpar antnod return node code null code subclass repres ant build element requir overrid method return code null code return string node code null code attribut option node public string return getnam set node param public void set string name setnam public string string null return return super string tostr getnam getnam tostr set node descript descript param descript descript public void set descript string descript descript descript setdescript return node descript code null code subclass repres ant build element requir descript overrid method return code null code return string node descript code null code descript attribut option node public string descript return descript getdescript resourc bundl bundl bundl privat ant view element messag resourcebundl getbundl bundl_name antviewelementsmessag public static string string string kei try return resourc bundl string kei catch miss resourc except return kei getstr resourc_bundl getstr missingresourceexcept privat string default target creat project node the build file param project code null code project known code null code file pars request requir param build file public project node string string build file super build file build file defaulttargetnam buildfilenam projectnod buildfilenam buildfilenam buildfilenam creat project node build file public project node string build file null build file projectnod buildfilenam buildfilenam return target project return target node target project public target node target target null lazili pars file popul target pars build file return target node target arrai target node target size targetnod targetnod gettarget parsebuildfil targetnod toarrai targetnod add target project param target target add privat void add target target node target target add target target set parent addtarget targetnod setpar set project default target target param target project default target public void set default target target node target default target target target null default target target setdefaulttarget targetnod defaulttarget defaulttargetnam getnam return the build file project return string project build file public string build file return build file getbuildfilenam buildfilenam return default target project code null code set return target node default target code null code set public target node default target target null lazili pars file popul target pars build file return default target targetnod targetnod getdefaulttarget parsebuildfil defaulttarget return default target project pars method return default target set default target string code null code default target method intend client want access project default target forc build file pars return string the default target project public string default target return default target setdefaulttargetnam getdefaulttargetnam defaulttargetnam set project node default target param project node default target project node default target public void set default target string default target name projectnod getdefaulttargetnam setdefaulttargetnam defaulttargetnam set project error node param error node error occur pars node public void set error node boolean error node error node error node iserrornod setiserrornod iserrornod iserrornod iserrornod return error occur pars ant node return error occur pars ant node public boolean error node return error node iserrornod iserrornod collect sort target compar java util compar compar java lang object java lang object public int compar object o1 object o2 string name1 non nl 1 string name2 non nl 1 o1 instanceof target node name1 target node o1 o2 instanceof target node name2 target node o2 return name1 compar ignor case name2 targetnod targetnod getnam targetnod targetnod getnam comparetoignorecas pars build file popul target contain build file error occur pars file error set target error node ad public void pars build file clear target info info null path build file path ant util file build file locat build file path null set error messag ant view element messag string project node build file found 1 non nl 1 return try info ant util target build file path string catch core except set error messag messag return info length 1 set error messag ant view element messag string project node target non nl 1 return project info project info info 0 project creat apach ant object project project project project info null project set project info int 0 info length target info info info info default project set default info target target target target set info string depend info depend string buffer depend string buffer int num depend depend length num depend 0 onrol loop avoid trail comma depend append depend 0 int 1 num depend depend append append depend target set depend depend string target set descript info descript project add target target project default target null set error messag ant view element messag string project node default non nl 1 return set project node data base apach ant data string project project project null project ant view element messag string project node unspecifi 1 non nl 1 updat project set project set descript project info descript enumer proj target project target element proj target element target target target proj target element target node enumer target depend target depend target node target node target node target target descript target depend element target node add depend string target depend element add target target node target equal project default target set default target target node collect sort target compar java util compar compar java lang object java lang object public int compar object o1 object o2 string name1 non nl 1 string name2 non nl 1 o1 instanceof target node name1 target node o1 o2 instanceof target node name2 target node o2 return name1 compar ignor case name2 parsebuildfil targetinfo ipath buildfilepath antutil getfil getbuildfilenam getloc buildfilepath seterrormessag antviewelementsmessag getstr projectnod build_file_not_found_1 antutil gettarget buildfilepath tostr coreexcept seterrormessag getmessag seterrormessag antviewelementsmessag getstr projectnod no_target projectinfo projectinfo getproject projectinfo getnam setnam projectinfo getnam targetinfo isdefault setdefault getnam setnam getnam getdepend stringbuff stringbuff numdepend numdepend numdepend setdepend tostr setdescript getdescript addtarget getdefaulttarget seterrormessag antviewelementsmessag getstr projectnod no_default projectnam getnam projectnam projectnam antviewelementsmessag getstr projectnod name_unspecifi _1 setnam projectnam setdescript projectinfo getdescript projtarget gettarget projtarget hasmoreel projtarget nextel targetdepend getdepend targetnod targetnod targetnod getnam getdescript targetdepend hasmoreel targetnod adddepend targetdepend nextel addtarget targetnod getnam getdefaulttarget setdefaulttarget targetnod targetnod targetnod getnam targetnod targetnod getnam comparetoignorecas clear node intern store data privat void clear target arrai list set error node fals set default target null set default target null arraylist setiserrornod setdefaulttarget setdefaulttargetnam set error messag project creat target child node messag param error messag error messag gener pars project privat void set error messag string error messag set build file set error node true target node target target node error messag error messag target set error node true add target target errormessag seterrormessag errormessag setnam getbuildfilenam setiserrornod targetnod targetnod errormessag errormessag setiserrornod addtarget return project pars build file return string project public string super null pars build file string super name null length 0 ant view element messag string project node unspecifi 1 non nl 1 return getnam getnam parsebuildfil getnam antviewelementsmessag getstr projectnod name_unspecifi _1 java lang object string public string string return tostr tostr getnam privat list project arrai list public root node super null arraylist rootnod creat root node project param project project add node public root node project node project super null int 0 project length project add project rootnod projectnod return list project store root node return project node project node public project node project return project node project arrai project node project size projectnod projectnod getproject projectnod toarrai projectnod return root node project return boolean project public boolean project return project empti hasproject isempti add project root node param project project add public void add project project node project project add project addproject projectnod remov project root node effect project child root param project project remov public void remov project project node project project remov project removeproject projectnod remov project root node effect node project public void remov project project clear removeallproject creat target node descript param node param descript target descript code null code target descript public target node string string descript super set descript descript targetnod setdescript add depend list target depend param depend depend add public void add depend string depend depend add depend adddepend return depend node name target target depend return depend node node name target depend public string depend return string depend arrai string depend size dependencynod getdepend toarrai return project node target method equival call parent cast result project node return project node project target public project node project return project node parent projectnod getpar projectnod projectnod projectnod getproject projectnod getpar set target error node param error node error occur pars node public void set error node boolean error node error node error node iserrornod setiserrornod iserrornod iserrornod iserrornod return error occur pars ant node return error occur pars ant node public boolean error node return error node iserrornod iserrornod creat buffer stream content accessor protect buffer content bufferedcont public input stream content throw core except content null return byte arrai input stream content return creat stream inputstream getcont coreexcept fcontent bytearrayinputstream fcontent createstream creat return stream read content subclass implement method return stream content read except core except content access coreexcept set content regist content chang listen notifi param content content public void set content byte content content content fire content chang setcont fcontent firecontentchang return content arrai byte return content arrai byte code null code content access public byte content content null try input stream creat stream content util read byte catch core except need return content getcont fcontent inputstream createstream fcontent readbyt coreexcept needwork fcontent discard buffer content public void discard buffer content null discardbuff fcontent public void add content chang listen content chang listen listen listen list null listen list listen list listen list add listen addcontentchangelisten icontentchangelisten flistenerlist flistenerlist listenerlist flistenerlist public void remov content chang listen content chang listen listen listen list null listen list remov listen listen list empti listen list null removecontentchangelisten icontentchangelisten flistenerlist flistenerlist flistenerlist isempti flistenerlist notifi regist code content chang listen code content chang protect void fire content chang listen list null object listen listen list listen int 0 listen length i content chang listen listen content chang icontentchangelisten firecontentchang flistenerlist flistenerlist getlisten icontentchangelisten contentchang creat configur edit left side suitabl default label imag prefer store connect configur compar prefer page properti code compar prefer page initi show ancestor pane code code compar configur ignor whitespac code param pref store prefer store configur hold 2 0 public compar configur prefer store pref store set properti left local boolean left local non nl 1 prefer store pref store prefer store null boolean prefer store boolean compar prefer page initi show ancestor pane set properti compar prefer page initi show ancestor pane boolean b prefer store boolean compar prefer page ignor whitespac set properti compar configur ignor whitespac boolean comparepreferencepag initi_show_ancestor_pane compareconfigur ignor_whitespac prefstor compareconfigur ipreferencestor prefstor setproperti left_is_local fleftisloc fpreferencestor prefstor fpreferencestor fpreferencestor getboolean comparepreferencepag initi_show_ancestor_pane setproperti comparepreferencepag initi_show_ancestor_pane fpreferencestor getboolean comparepreferencepag ignor_whitespac setproperti compareconfigur ignor_whitespac creat configur edit left side suitabl default label imag configur prefer store compar plugin code compareui plugin default prefer store code public compar configur compareui plugin default prefer store compareuiplugin getdefault getpreferencestor compareconfigur compareuiplugin getdefault getpreferencestor return prefer store configur return prefer store configur 2 0 public prefer store prefer store return prefer store ipreferencestor getpreferencestor fpreferencestor return imag show chang kind kind defin code differenc code newli creat imag rememb class dispos code dispos code method call param kind kind chang defin code differenc code return modif base imag reflect kind chang org eclips compar structuremergeview differenc 2 0 public imag imag int kind imag imag imag kind 15 imag null imag descriptor id fg imag kind 15 id null imag id creat imag imag kind 15 imag return imag getimag fimag imagedescriptor fgimag createimag fimag return imag show chang kind appli base imag kind defin code differenc code typic implement build composit imag base imag imag repres chang kind newli creat imag rememb class dispos code dispos code method call param base imag modifi reflect kind chang param kind kind chang defin code differenc code return modif base imag reflect kind chang org eclips compar structuremergeview differenc public imag imag imag base int kind object kei base kei null kei fg dummi kind 15 imag imag fg map kei null imag 16 fg map put kei imag kind null diff imag base fg imag kind width left local creat imag compareui dispos shutdown kind return getimag fgdummi fgmap fgmap diffimag fgimag fleftisloc createimag disposeonshutdown dispos compar configur method call compar configur longer implement dispos resourc public void dispos imag null int 0 imag length imag imag imag imag null imag dispos imag dispos imag null fimag fimag fimag isdispos fimag fire code properti chang event code regist listen param properti the properti chang param properti param properti privat void fire chang string properti object object properti chang event event null object listen listen listen listen null int 0 listen length i properti chang listen properti chang listen listen event null event properti chang event properti valu properti chang event propertychangeev propertynam oldvalu newvalu firechang propertynam oldvalu newvalu propertychangeev flisten getlisten ipropertychangelisten ipropertychangelisten propertychangeev propertynam oldvalu newvalu propertychang properti chang notifi add listen public void add properti chang listen properti chang listen listen listen add listen ipropertychangenotifi addlisten addpropertychangelisten ipropertychangelisten flisten properti chang notifi remov listen public void remov properti chang listen properti chang listen listen listen remov listen ipropertychangenotifi removelisten removepropertychangelisten ipropertychangelisten flisten set properti the differ code properti chang event code regist listen param kei the properti set param valu properti public void set properti string kei object object properti kei properti put kei valu null equal fire chang kei valu propertychangeev newvalu setproperti newvalu oldvalu fproperti fproperti newvalu oldvalu oldvalu newvalu firechang oldvalu newvalu return properti code null code properti exist param kei the properti retriev return properti code null code found public object properti string kei return properti kei getproperti fproperti set label ancestor compar merg viewer param label label ancestor compar merg viewer public void set ancestor label string label ancestor label label setancestorlabel fancestorlabel return label ancestor side compar merg viewer label typic shown titl ancestor area compar viewer param element input object compar merg viewer code null code return label ancestor side code null code public string ancestor label object element return ancestor label getancestorlabel fancestorlabel set imag ancestor compar merg viewer compar configur automat dispos imag param imag imag ancestor compar merg viewer public void set ancestor imag imag imag ancestor imag imag compareconfigur setancestorimag fancestorimag return imag ancestor side compar merg viewer imag typic shown titl ancestor area compar viewer param element input object compar merg viewer code null code return imag ancestor side code null code public imag ancestor imag object element return ancestor imag getancestorimag fancestorimag control left side merg viewer edit param edit code true code left side edit public void set left edit boolean edit left edit edit setleftedit fleftedit return left hand side merg viewer edit return code true code left hand side edit public boolean left edit return left edit isleftedit fleftedit set label left side compar merg viewer param label label left side compar merg viewer public void set left label string label left label label setleftlabel fleftlabel return label left hand side compar merg viewer label typic shown titl left side compar viewer param element input object compar merg viewer code null code return label left hand side code null code public string left label object element return left label getleftlabel fleftlabel set imag left side compar merg viewer compar configur automat dispos imag param imag imag left side compar merg viewer public void set left imag imag imag left imag imag setleftimag fleftimag return imag left hand side compar merg viewer imag typic shown titl left side compar viewer param element input object compar merg viewer code null code return imag left hand side code null code public imag left imag object element return left imag getleftimag fleftimag control side merg viewer edit param edit code true code side edit public void set edit boolean edit edit edit setrightedit frightedit return hand side merg viewer edit return code true code hand side edit public boolean edit return edit isrightedit frightedit set label side compar merg viewer param label label side compar merg viewer public void set label string label label label setrightlabel frightlabel return label hand side compar merg viewer label typic shown titl side compar viewer param element input object compar merg viewer code null code return label hand side code null code public string label object element return label getrightlabel frightlabel set imag side compar merg viewer compar configur automat dispos imag param imag imag side compar merg viewer public void set imag imag imag imag imag setrightimag frightimag return imag hand side compar merg viewer imag typic shown titl side compar viewer param element input object compar merg viewer code null code return imag hand side code null code public imag imag object element return imag getrightimag frightimag dirti listen properti chang listen public void properti chang properti chang event string properti properti compar editor input dirti equal properti boolean chang fals object valu instanceof boolean chang boolean boolean set dirti sourc chang fdirtystatelisten ipropertychangelisten propertychang propertychangeev propertynam getproperti compareeditorinput dirti_state propertynam newvalu getnewvalu newvalu newvalu booleanvalu setdirti getsourc creat code compar editor input code initi compar configur compar configur pass subsequ creat viewer param configur compar configur public compar editor input compar configur configur compar configur configur assert null configur object object compar configur properti compar configur outlin view object instanceof boolean outlin view boolean object boolean resourc bundl bundl compareui resourc bundl ignor whitespac ignor white space action bundl configur show pseudo conflict show pseudo conflict bundl configur dirti listen properti chang listen public void properti chang properti chang event string properti properti compar editor input dirti equal properti boolean chang fals object valu instanceof boolean chang boolean boolean set dirti sourc chang prefer store ps configur prefer store ps null structur compar singl click ps boolean compar prefer page open structur compar compareeditorinput compareeditorinput compareconfigur fcompareconfigur isnotnul fcompareconfigur getproperti compareconfigur us_outlin_view fuseoutlineview booleanvalu resourcebundl getresourcebundl fignorewhitespac ignorewhitespaceact fshowpseudoconflict showpseudoconflict fdirtystatelisten ipropertychangelisten propertychang propertychangeev propertynam getproperti compareeditorinput dirti_state propertynam newvalu getnewvalu newvalu newvalu booleanvalu setdirti getsourc ipreferencestor getpreferencestor fstructurecompareonsingleclick getboolean comparepreferencepag open_structur_compar privat boolean structur compar singl click return structur compar singl click structurecompareonsingleclick fstructurecompareonsingleclick public object adapt class adapt compar navig class equal adapt compar navig class equal adapt navig null navig compar navig compar viewer switch pane structur input pane structur pane1 structur pane2 content input pane return navig file class equal adapt progress monitor pm null progress monitor flush dirti viewer try flush viewer structur input pane pm flush viewer structur pane1 pm flush viewer structur pane2 pm flush viewer content input pane pm catch core except compareui plugin log file file file adapt file class file length 0 return file 0 return limit id save editor 64617 return null return null getadapt icomparenavig comparenavig fnavig fnavig comparenavig compareviewerswitchingpan fstructureinputpan fstructurepan1 fstructurepan2 fcontentinputpan fnavig ifil iprogressmonitor nullprogressmonitor flushview fstructureinputpan flushview fstructurepan1 flushview fstructurepan2 flushview fcontentinputpan coreexcept compareuiplugin ifil ifil getadapt ifil savealleditor editor input imag descriptor public imag descriptor imag descriptor return null ieditorinput getimagedescriptor imagedescriptor getimagedescriptor editor input tool tip text public string tool tip text return titl ieditorinput gettooltiptext gettooltiptext gettitl editor input public string return titl ieditorinput getnam getnam gettitl return code null code editor persist return code null code editor persist public persist element persist return null ipersistableel getpersist return code fals code input file recent menu return code fals code public boolean exist return fals fixm protect void set messag string messag messag messag setmessag fmessag fixm public string messag return messag getmessag fmessag return titl compar editor titl bar set code set titl code return titl public string titl titl null return util string compar editor input default titl non nl 1 return titl settitl gettitl ftitl getstr compareeditorinput defaulttitl ftitl set titl present compar result method call editor open param titl titl compar editor public void set titl string titl titl titl compareeditor settitl ftitl return titl imag compar editor titl bar return titl imag present compar result implement return gener compar icon subclass overrid return titl imag code null code public imag titl imag fg titl imag null fg titl imag compareui plugin imag descriptor compar editor imag creat imag compareui dispos shutdown fg titl imag return fg titl imag gettitleimag fgtitleimag fgtitleimag compareuiplugin getimagedescriptor compar_editor_imag_name createimag disposeonshutdown fgtitleimag fgtitleimag return configur object viewer compar editor return configur pass constructor return compar configur public compar configur compar configur return compar configur compareconfigur getcompareconfigur fcompareconfigur add standard action code tool bar manag code subclass overrid add action param tool bar manag code tool bar manag code contribut public void contribut tool bar tool bar manag tool bar manag tool bar manag add separ tool bar manag add ignor whitespac tool bar manag add show pseudo conflict toolbarmanag toolbarmanag toolbarmanag contributetotoolbar toolbarmanag toolbarmanag toolbarmanag toolbarmanag fignorewhitespac toolbarmanag fshowpseudoconflict run compar oper store compar result param monitor progress monitor displai progress receiv request cancel except invoc target except code prepar input code method propag check except wrap insid code invoc target except code runtim except automat wrap code invoc target except code call context except interrupt except oper detect request cancel code progress monitor cancel code exit throw code interrupt except code public void run progress monitor monitor throw interrupt except invoc target except input prepar input monitor invocationtargetexcept prepareinput invocationtargetexcept invocationtargetexcept interruptedexcept iprogressmonitor iscancel interruptedexcept iprogressmonitor interruptedexcept invocationtargetexcept finput prepareinput run compar oper return compar result code null code return differ found compar editor need open progress report progress monitor request cancel oper honor acknowledg throw code interrupt except code note method typic call modal context thread doesn displai assign implementor method shouldn alloc swt resourc method param monitor progress monitor displai progress receiv request cancel return result compar oper code null code differ except invoc target except code prepar input code method propag check except wrap insid code invoc target except code runtim except automat wrap code invoc target except code call context except interrupt except oper detect request cancel code progress monitor cancel code exit throw code interrupt except code protect abstract object prepar input progress monitor monitor interruptedexcept invocationtargetexcept prepareinput invocationtargetexcept invocationtargetexcept interruptedexcept iprogressmonitor iscancel interruptedexcept prepareinput iprogressmonitor return compar result comput recent call code run code method return code null code differ found return compar result prepar method code prepar input code code null code differ public object compar result return input prepareinput getcompareresult finput content input pane compar viewer switch pane composit swt border swt flat protect viewer viewer viewer viewer object input input instanceof compar input return find content viewer viewer compar input input return null fcontentinputpan compareviewerswitchingpan fcomposit getview oldview icompareinput findcontentview oldview icompareinput creat swt control displai result compar oper creat swt control set wire individu pane implement creat pane make visibl final feed compar result top left structur viewer content viewer subclass overrid need chang layout wire pane param parent parent control control creat return swt control hierarchi compar editor public control creat content composit parent composit splitter parent swt vertic composit set data control outlin null outlin view outlin creat outlin content composit swt horizont content input pane compar viewer switch pane composit swt border swt flat protect viewer viewer viewer viewer object input input instanceof compar input return find content viewer viewer compar input input return null focu pane null focu pane content input pane outlin null composit set visibl outlin fals composit set visibl content input pane true structur input pane null composit set weight int 30 70 composit layout structur input pane null input instanceof compar input structur input pane set input input select sel structur input pane select sel null sel empti feed1 sel feed downstream viewer top left pane empti composit set data nav non nl 1 compar viewer switch pane structur input pane structur pane1 structur pane2 content input pane return composit createcont fcomposit fcomposit setdata fuseoutlineview createoutlinecont fcomposit fcontentinputpan compareviewerswitchingpan fcomposit getview oldview icompareinput findcontentview oldview icompareinput ffocuspan ffocuspan fcontentinputpan fcomposit setvis fcomposit setvis fcontentinputpan fstructureinputpan fcomposit setweight fcomposit fstructureinputpan finput icompareinput fstructureinputpan setinput finput iselect fstructureinputpan getselect isempti fcomposit setdata compareviewerswitchingpan fstructureinputpan fstructurepan1 fstructurepan2 fcontentinputpan fcomposit structur input pane compar viewer switch pane swt border swt flat true protect viewer viewer viewer viewer object input input instanceof diff node diff node dn diff node input dn children return creat diff viewer input instanceof compar input return find structur viewer viewer compar input input return null fstructureinputpan compareviewerswitchingpan getview oldview diffnod diffnod diffnod haschildren creatediffview icompareinput findstructureview oldview icompareinput structur pane1 compar viewer switch pane swt border swt flat true protect viewer viewer viewer viewer object input input instanceof compar input return find structur viewer viewer compar input input return null fstructurepan1 compareviewerswitchingpan getview oldview icompareinput findstructureview oldview icompareinput structur pane2 compar viewer switch pane swt border swt flat true protect viewer viewer viewer viewer object input input instanceof compar input return find structur viewer viewer compar input input return null fstructurepan2 compareviewerswitchingpan getview oldview icompareinput findstructureview oldview icompareinput structur input pane add open listen open listen public void open open event oe feed1 oe select fstructureinputpan addopenlisten iopenlisten openev getselect select chang listen public void select chang select chang event select select null empti feed1 iselectionchangedlisten selectionchang selectionchangedev iselect getselect isempti structur input pane add doubl click listen doubl click listen public void doubl click doubl click event event feed default1 event select fstructureinputpan adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev feeddefault1 getselect structur pane1 add select chang listen select chang listen public void select chang select chang event feed2 select fstructurepan1 addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev getselect structur pane2 add select chang listen select chang listen public void select chang select chang event feed3 select fstructurepan2 addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev getselect param parent parent control control creat return swt control hierarchi outlin part compar editor 3 0 public control creat outlin content composit parent int direct final splitter splitter parent direct structur input pane compar viewer switch pane swt border swt flat true protect viewer viewer viewer viewer object input input instanceof diff node diff node dn diff node input dn children return creat diff viewer input instanceof compar input return find structur viewer viewer compar input input return null focu pane structur input pane structur pane1 compar viewer switch pane swt border swt flat true protect viewer viewer viewer viewer object input input instanceof compar input return find structur viewer viewer compar input input return null set visibl structur pane1 fals structur pane2 compar viewer switch pane swt border swt flat true protect viewer viewer viewer viewer object input input instanceof compar input return find structur viewer viewer compar input input return null set visibl structur pane2 fals setup wire top left pane structur input pane add open listen open listen public void open open event oe feed1 oe select structur input pane add select chang listen select chang listen public void select chang select chang event select select null empti feed1 structur input pane add doubl click listen doubl click listen public void doubl click doubl click event event feed default1 event select structur pane1 add select chang listen select chang listen public void select chang select chang event feed2 select structur pane2 add select chang listen select chang listen public void select chang select chang event feed3 select outlin view input instanceof compar input structur input pane set input input select sel structur input pane select sel null sel empti feed1 sel feed downstream viewer top left pane empti composit set data nav non nl 1 compar viewer switch pane structur input pane structur pane1 structur pane2 content input pane return createoutlinecont fstructureinputpan compareviewerswitchingpan getview oldview diffnod diffnod diffnod haschildren creatediffview icompareinput findstructureview oldview icompareinput ffocuspan fstructureinputpan fstructurepan1 compareviewerswitchingpan getview oldview icompareinput findstructureview oldview icompareinput setvis fstructurepan1 fstructurepan2 compareviewerswitchingpan getview oldview icompareinput findstructureview oldview icompareinput setvis fstructurepan2 fstructureinputpan addopenlisten iopenlisten openev getselect fstructureinputpan addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev iselect getselect isempti fstructureinputpan adddoubleclicklisten idoubleclicklisten doubleclick doubleclickev feeddefault1 getselect fstructurepan1 addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev getselect fstructurepan2 addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev getselect fuseoutlineview finput icompareinput fstructureinputpan setinput finput iselect fstructureinputpan getselect isempti fcomposit setdata compareviewerswitchingpan fstructureinputpan fstructurepan1 fstructurepan2 fcontentinputpan runnabl public void run select null select empti object input structur input pane input content input pane set input input structur pane2 set input null clear downstream pane structur pane1 set input null object input element select content input pane set input input structur compar singl click structur pane1 set input input structur pane2 set input null clear downstream pane structur pane1 input input structur pane1 set input null isempti fstructureinputpan getinput fcontentinputpan setinput fstructurepan2 setinput fstructurepan1 setinput getel fcontentinputpan setinput structurecompareonsingleclick fstructurepan1 setinput fstructurepan2 setinput fstructurepan1 getinput fstructurepan1 setinput privat void feed1 final select select busi indic show composit displai runnabl public void run select null select empti object input structur input pane input content input pane set input input structur pane2 set input null clear downstream pane structur pane1 set input null object input element select content input pane set input input structur compar singl click structur pane1 set input input structur pane2 set input null clear downstream pane structur pane1 input input structur pane1 set input null iselect busyind showwhil fcomposit getdisplai isempti fstructureinputpan getinput fcontentinputpan setinput fstructurepan2 setinput fstructurepan1 setinput getel fcontentinputpan setinput structurecompareonsingleclick fstructurepan1 setinput fstructurepan2 setinput fstructurepan1 getinput fstructurepan1 setinput busi indic show composit displai runnabl public void run select empti structur pane1 set input element select busyind showwhil fcomposit getdisplai isempti fstructurepan1 setinput getel privat void feed default1 final select select busi indic show composit displai runnabl public void run select empti structur pane1 set input element select feeddefault1 iselect busyind showwhil fcomposit getdisplai isempti fstructurepan1 setinput getel runnabl public void run select empti object input structur pane1 input content input pane set input input structur pane2 set input null object input element select content input pane set input input structur pane2 set input input isempti fstructurepan1 getinput fcontentinputpan setinput fstructurepan2 setinput getel fcontentinputpan setinput fstructurepan2 setinput privat void feed2 final select select busi indic show composit displai runnabl public void run select empti object input structur pane1 input content input pane set input input structur pane2 set input null object input element select content input pane set input input structur pane2 set input input iselect busyind showwhil fcomposit getdisplai isempti fstructurepan1 getinput fcontentinputpan setinput fstructurepan2 setinput getel fcontentinputpan setinput fstructurepan2 setinput runnabl public void run select empti content input pane set input structur pane2 input content input pane set input element select isempti fcontentinputpan setinput fstructurepan2 getinput fcontentinputpan setinput getel privat void feed3 final select select busi indic show composit displai runnabl public void run select empti content input pane set input structur pane2 input content input pane set input element select iselect busyind showwhil fcomposit getdisplai isempti fcontentinputpan setinput fstructurepan2 getinput fcontentinputpan setinput getel return element select select code structur select code exactli element return code null code param select select return element select code null code privat static object element select select select instanceof structur select structur select ss structur select select ss size 1 return ss element return null istructuredselect getel iselect istructuredselect istructuredselect istructuredselect getfirstel ask input focu contain editor client call method overrid implement layout visual compon client free call inherit method public void set focu focu pane null viewer focu pane viewer null control control null set focu composit null composit set focu setfocu ffocuspan ffocuspan getview getcontrol setfocu fcomposit fcomposit setfocu factori method creat differ viewer top left pane call code creat content code return code diff tree viewer code subclass overrid need viewer param parent swt parent control creat viewer swt control return compar viewer top left pane public viewer creat diff viewer composit parent return diff tree viewer parent compar configur createcont difftreeview creatediffview difftreeview fcompareconfigur implement dynam viewer switch structur viewer method return compar viewer base current viewer input object viewer suitabl show input viewer return viewer creat parent composit code null code return viewer found implement forward request code compareui find structur viewer code subclass overrid implement strategi return compar viewer suitabl input object code null code public viewer find structur viewer viewer viewer compar input input composit parent return compareui find structur viewer viewer input parent compar configur findstructureview findstructureview oldview icompareinput findstructureview oldview fcompareconfigur add dispos listen dispos listen public void widget dispos dispos event dsp remov properti chang listen dirti listen adddisposelisten disposelisten widgetdispos disposeev removepropertychangelisten fdirtystatelisten implement dynam viewer switch content viewer method return compar viewer base current viewer input object viewer suitabl show input viewer return viewer creat parent composit code null code return viewer found implement forward request code compareui find content viewer code subclass overrid implement strategi return compar viewer suitabl input object code null code public viewer find content viewer viewer viewer compar input input composit parent viewer viewer compareui find content viewer viewer input parent compar configur boolean viewer viewer viewer debug system println compar editor input find content viewer viewer non nl 1 viewer viewer instanceof properti chang notifi final properti chang notifi dsp properti chang notifi viewer dsp add properti chang listen dirti listen control viewer control add dispos listen dispos listen public void widget dispos dispos event dsp remov properti chang listen dirti listen return viewer findcontentview findcontentview oldview icompareinput newview findcontentview oldview fcompareconfigur isnewview newview oldview compareeditorinput findcontentview isnewview isnewview newview ipropertychangenotifi ipropertychangenotifi ipropertychangenotifi newview addpropertychangelisten fdirtystatelisten newview getcontrol adddisposelisten disposelisten widgetdispos disposeev removepropertychangelisten fdirtystatelisten newview return code true code unsav return code dirti code properti input object return code true code input unsav code set dirti true code call subclass don overrid function provid doce set dirti code suffici return code true code need save public boolean save need return dirti dirti viewer size 0 dirti_state setdirti setdirti issaveneed fdirti fdirtyview set dirti input send code properti chang event code differ param dirti dirti compar input public void set dirti boolean dirti boolean confirm save true object compar configur properti compar editor confirm save properti instanceof boolean confirm save boolean boolean confirm save dirti dirti dirti dirti viewer clear propertychangeev setdirti confirmsav fcompareconfigur getproperti compareeditor confirm_save_properti confirmsav booleanvalu confirmsav fdirti fdirti fdirtyview privat void set dirti object sourc boolean dirti assert null sourc boolean dirti dirti viewer size 0 dirti dirti viewer add sourc dirti viewer remov sourc boolean dirti dirti dirti viewer size 0 debug system println set dirti sourc dirti dirti non nl 1 non nl 2 non nl 3 dirti dirti util fire properti chang listen list dirti boolean dirti boolean dirti setdirti isnotnul olddirti fdirtyview fdirtyview fdirtyview newdirti fdirti fdirtyview setdirti newdirti olddirti newdirti firepropertychang flistenerlist dirti_state olddirti newdirti properti chang notifi add listen public void add properti chang listen properti chang listen listen listen null listen list add listen ipropertychangenotifi addlisten addpropertychangelisten ipropertychangelisten flistenerlist properti chang notifi remov listen public void remov properti chang listen properti chang listen listen listen null listen list remov listen ipropertychangenotifi removelisten removepropertychangelisten ipropertychangelisten flistenerlist save unsav empti implement subclass overrid save param pm code progress monitor code implement save show progress deprec overrid method save public void save progress monitor pm iprogressmonitor savechang iprogressmonitor save unsav subclass overrid save implement tri flush viewer call code savabl save code param pm code progress monitor code implement save show progress 2 0 public void save progress monitor pm throw core except flush dirti viewer flush viewer structur input pane pm flush viewer structur pane1 pm flush viewer structur pane2 pm flush viewer content input pane pm save pm isav iprogressmonitor savechang iprogressmonitor coreexcept flushview fstructureinputpan flushview fstructurepan1 flushview fstructurepan2 flushview fcontentinputpan privat static void flush viewer compar viewer switch pane pane progress monitor pm throw core except pane null viewer pane viewer instanceof savabl savabl save pm flushview compareviewerswitchingpan iprogressmonitor coreexcept getview isav isav public static final string compar viewer titl org eclips compar compareui compar viewer titl non nl 1 privat compareui compar_viewer_titl compareviewertitl public static abstractui plugin plugin return compareui plugin default abstractuiplugin getplugin compareuiplugin getdefault return plug resourc bundl return plugin resourc bundl public static resourc bundl resourc bundl return compareui plugin default resourc bundl resourcebundl getresourcebundl compareuiplugin getdefault getresourcebundl perform comparison input open compar editor result activ workbench page param input input open compar editor public static void open compar editor compar editor input input open compar editor page input null opencompareeditor compareeditorinput opencompareeditoronpag perform comparison input open compar editor result workbench page param input input open compar editor param page workbench page open compar editor 2 1 public static void open compar editor page compar editor input input workbench page page compareui plugin plugin compareui plugin default plugin null plugin open compar editor input page null opencompareeditoronpag compareeditorinput iworkbenchpag compareuiplugin compareuiplugin getdefault opencompareeditor perform comparison input show result editor param input input open compar editor param editor compar editor reus null creat 3 0 public static void reus compar editor compar editor input input reusabl editor editor compareui plugin plugin compareui plugin default plugin null plugin open compar editor input null editor reusecompareeditor compareeditorinput ireusableeditor compareuiplugin compareuiplugin getdefault opencompareeditor perform comparison input open modal compar dialog result param input input open compar dialog public static void open compar dialog compar editor input input compareui plugin plugin compareui plugin default plugin null plugin open compar dialog input opencomparedialog compareeditorinput compareuiplugin compareuiplugin getdefault opencomparedialog regist imag descriptor type param type type param descriptor imag descriptor public static void regist imag descriptor string type imag descriptor descriptor compareui plugin regist imag descriptor type descriptor registerimagedescriptor imagedescriptor compareuiplugin registerimagedescriptor return share imag type gener imag regist type note imag return method automat dispos plug shut caller dispos imag param type type return imag public static imag imag string type return compareui plugin imag type getimag compareuiplugin getimag regist imag dispos plug shutdown param imag imag regist dispos public static void dispos shutdown imag imag compareui plugin dispos shutdown imag disposeonshutdown compareuiplugin disposeonshutdown return share imag adapt conveni method queri adapt code workbench adapt imag descriptor code creat imag note imag return method automat dispos plug shut caller dispos imag param adapt adapt find imag return imag public static imag imag adapt adapt return compareui plugin imag adapt iworkbenchadapt getimagedescriptor getimag iadapt compareuiplugin getimag creat stream merger content type stream merger regist content type code null code return param type type find stream merger return stream merger type code null code stream merger regist public static stream merger creat stream merger content type type return compareui plugin default creat stream merger type istreammerg createstreammerg icontenttyp compareuiplugin getdefault createstreammerg creat stream merger file extens stream merger regist file extens code null code return param type type find stream merger return stream merger type code null code stream merger regist public static stream merger creat stream merger string type return compareui plugin default creat stream merger type istreammerg createstreammerg compareuiplugin getdefault createstreammerg return structur compar viewer base viewer input object viewer suitabl show input viewer return input type find viewer descriptor registri turn creat structur compar viewer parent composit viewer descriptor found code null code return param viewer viewer creat viewer show input param input input object find structur viewer param parent swt parent composit viewer creat param configur configur pass newli creat viewer return compar viewer suitabl input object code null code public static viewer find structur viewer viewer viewer compar input input composit parent compar configur configur return compareui plugin default find structur viewer viewer input parent configur oldview findstructureview oldview icompareinput compareconfigur compareuiplugin getdefault findstructureview oldview return content compar viewer base viewer input object viewer suitabl show input viewer return input type find viewer descriptor registri turn creat content compar viewer parent composit viewer descriptor found code null code return param viewer viewer creat viewer show input param input input object find content viewer param parent swt parent composit viewer creat param configur configur pass newli creat viewer return compar viewer suitabl input object code null code public static viewer find content viewer viewer viewer compar input input composit parent compar configur configur return compareui plugin default find content viewer viewer input parent configur oldview findcontentview oldview icompareinput compareconfigur compareuiplugin getdefault findcontentview oldview return content compar viewer base viewer input object viewer suitabl show input viewer return input type find viewer descriptor registri turn creat content compar viewer parent composit order determin input type input implement stream content accessor type element compar input viewer descriptor found code null code return param viewer viewer creat viewer show input param input input object find content viewer implement code stream content accessor code code type element code code compar input code param parent swt parent composit viewer creat param configur configur pass newli creat viewer return compar viewer suitabl input object code null code public static viewer find content viewer viewer viewer object input composit parent compar configur configur return compareui plugin default find content viewer viewer input parent configur istreamcontentaccessor itypedel icompareinput oldview istreamcontentaccessor itypedel icompareinput findcontentview oldview compareconfigur compareuiplugin getdefault findcontentview oldview add alia type subsequ call code find structur viewer code treat alia synonym type return viewer note method intern client call method param type type viewer regist param alia type treat synonym type 2 0 public static void add structur viewer alia string type string alia compareui plugin default add structur viewer alia type alia findstructureview addstructurevieweralia compareuiplugin getdefault addstructurevieweralia remov alias type method affect initi bind type viewer alias exist type method note method intern client call method param type type synonym remov 2 0 public static void remov structur viewer alias string type compareui plugin default remov structur viewer alias type removeallstructurevieweralias compareuiplugin getdefault removeallstructurevieweralias label label label swt public point comput size int hint int hint boolean chang return super comput size hint math max 24 hint chang clabel clabel computes whint hhint computes whint hhint mous adapt ml mous adapt public void mous doubl click mous event control content content content null content bound return control parent parent parent instanceof splitter splitter parent set maxim control compar viewer pane mouseadapt mouseadapt mousedoubleclick mouseev getcont getbound getpar setmaximizedcontrol compareviewerpan construct instanc class parent style describ behavior appear param contain widget contain instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul public compar viewer pane composit contain int style super contain style margin width 0 margin height 0 label label label swt public point comput size int hint int hint boolean chang return super comput size hint math max 24 hint chang set top left label mous adapt ml mous adapt public void mous doubl click mous event control content content content null content bound return control parent parent parent instanceof splitter splitter parent set maxim control compar viewer pane add mous listen ml label add mous listen ml illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access compareviewerpan marginwidth marginheight clabel clabel computes whint hhint computes whint hhint settopleft mouseadapt mouseadapt mousedoubleclick mouseev getcont getbound getpar setmaximizedcontrol compareviewerpan addmouselisten addmouselisten set pane titl text code null code clear param label text displai pane null public void set text string label label cl label top left cl set text label settext clabel clabel gettopleft settext set pane titl imag code null code clear param imag imag displai pane null public void set imag imag imag label cl label top left cl set imag imag setimag clabel clabel gettopleft setimag return code tool bar manag code parent code compar viewer pane code code null code param parent code composit code code null code return code tool bar manag code parent code compar viewer pane code code null code public static tool bar manag tool bar manag composit parent parent instanceof compar viewer pane compar viewer pane pane compar viewer pane parent return pane tool bar manag return null toolbarmanag compareviewerpan toolbarmanag compareviewerpan toolbarmanag gettoolbarmanag compareviewerpan compareviewerpan compareviewerpan gettoolbarmanag clear tool item code compar viewer pane code control bar param parent code composit code code null code public static void clear tool bar composit parent tool bar manag tbm tool bar manag parent tbm null tbm remov tbm updat true compareviewerpan cleartoolbar toolbarmanag gettoolbarmanag removeal privat tool bar manag tool bar manag tool bar manag null tool bar tb tool bar swt flat set top center tb tool bar manag tool bar manag tb return tool bar manag toolbarmanag gettoolbarmanag ftoolbarmanag toolbar toolbar settopcent ftoolbarmanag toolbarmanag ftoolbarmanag privat open listen open handler open listen public void open open event event object listen open listen listen int 0 listen length i open listen listen open event iopenlisten fopenhandl iopenlisten openev fopenlisten getlisten iopenlisten creat code compar viewer switch pane code child parent swt style bit param parent widget parent instanc null param style style widget construct except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul public compar viewer switch pane composit parent int style parent style fals compareviewerswitchingpan illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access compareviewerswitchingpan dispos listen public void widget dispos dispos event viewer instanceof select provid select provid viewer remov select chang listen compar viewer switch pane viewer instanceof structur viewer structur viewer sv structur viewer viewer sv remov doubl click listen compar viewer switch pane sv remov open listen open handler viewer null input null select listen null disposelisten widgetdispos disposeev fviewer iselectionprovid iselectionprovid fviewer removeselectionchangedlisten compareviewerswitchingpan fviewer structuredview structuredview structuredview fviewer removedoubleclicklisten compareviewerswitchingpan removeopenlisten fopenhandl fviewer finput fselectionlisten creat code compar viewer switch pane code child parent swt style bit param parent widget parent instanc null param style style widget construct param visibl initi visibl compar viewer switch pane except illeg argument except ul li error null argument parent null li ul except swt except ul li error thread invalid access call thread creat parent li ul public compar viewer switch pane composit parent int style boolean visibl super parent style control visibl visibl set viewer null viewer add dispos listen dispos listen public void widget dispos dispos event viewer instanceof select provid select provid viewer remov select chang listen compar viewer switch pane viewer instanceof structur viewer structur viewer sv structur viewer viewer sv remov doubl click listen compar viewer switch pane sv remov open listen open handler viewer null input null select listen null compareviewerswitchingpan compareviewerswitchingpan illegalargumentexcept error_null_argument swtexcept error_thread_invalid_access compareviewerswitchingpan fcontrolvis setview nullview adddisposelisten disposelisten widgetdispos disposeev fviewer iselectionprovid iselectionprovid fviewer removeselectionchangedlisten compareviewerswitchingpan fviewer structuredview structuredview structuredview fviewer removedoubleclicklisten compareviewerswitchingpan removeopenlisten fopenhandl fviewer finput fselectionlisten return current viewer return current viewer public viewer viewer return viewer getview fviewer privat void set viewer viewer viewer viewer viewer return boolean empti empti viewer null viewer instanceof select provid select provid viewer remov select chang listen viewer instanceof structur viewer structur viewer sv structur viewer viewer sv remov doubl click listen sv remov open listen open handler control content content set content null viewer set input null content null content dispos content dispos empti fals set content null viewer viewer viewer null rememb restor visibl custom pane set content visibl boolean visibl set content viewer control set visibl restor visibl boolean empti empti viewer instanceof select provid select provid viewer add select chang listen viewer instanceof structur viewer structur viewer sv structur viewer viewer sv add doubl click listen sv add open listen open handler empti empti relayout contain composit parent parent parent instanceof splitter splitter parent set visibl control visibl empti true layout true setview newview newview fviewer oldempti isempti fviewer fviewer iselectionprovid iselectionprovid fviewer removeselectionchangedlisten fviewer structuredview structuredview structuredview fviewer removedoubleclicklisten removeopenlisten fopenhandl getcont setcont fviewer setinput isdispos oldempti setcont fviewer newview fviewer custompan setcont getvis setcont fviewer getcontrol setvis newempti isempti fviewer iselectionprovid iselectionprovid fviewer addselectionchangedlisten fviewer structuredview structuredview structuredview fviewer adddoubleclicklisten addopenlisten fopenhandl oldempti newempti getpar setvis fcontrolvis newempti return option titl argument set code set titel argument code code null code option titl argument set note method intern client call method return option titl argument code null code public string titl argument return titl argument settitelargu gettitleargu ftitleargu return code true code viewer instal current viewer code null viewer code return code true code viewer instal current viewer code null viewer code public boolean empti return viewer null viewer instanceof null viewer nullview nullview isempti fviewer fviewer nullview public void add select chang listen select chang listen select listen add addselectionchangedlisten iselectionchangedlisten fselectionlisten public void remov select chang listen select chang listen select listen remov removeselectionchangedlisten iselectionchangedlisten fselectionlisten public void add doubl click listen doubl click listen doubl click listen add adddoubleclicklisten idoubleclicklisten fdoubleclicklisten public void remov doubl click listen doubl click listen doubl click listen remov removedoubleclicklisten idoubleclicklisten fdoubleclicklisten public void add open listen open listen open listen add addopenlisten iopenlisten fopenlisten public void remov open listen open listen open listen remov removeopenlisten iopenlisten fopenlisten public void doubl click doubl click event event object listen doubl click listen listen int 0 listen length i doubl click listen listen doubl click event doubleclick doubleclickev fdoubleclicklisten getlisten idoubleclicklisten doubleclick public select select viewer instanceof select provid return select provid viewer select return null iselect getselect fviewer iselectionprovid iselectionprovid fviewer getselect public void set select select viewer instanceof select provid select provid viewer set select setselect iselect fviewer iselectionprovid iselectionprovid fviewer setselect public void select chang select chang event ev object listen select listen listen int 0 listen length i select chang listen listen select chang ev selectionchang selectionchangedev fselectionlisten getlisten iselectionchangedlisten selectionchang privat boolean focu2 focu displai displai displai displai null control focu displai focu control focu null focu focu parent focu return true return fals hasfocu2 getdisplai getfocuscontrol getpar set input object pane input object suitabl viewer determin call abstract method code viewer viewer object code return viewer differ current viewer dispos instal input object fed newli instal viewer call code set input object code method viewer don differ viewer instal code set input object code call input code null code pane clear current viewer dispos param input input object code null code public void set input object input input input return boolean focu focu2 input input viewer switch viewer viewer null input null viewer viewer viewer input viewer null viewer instanceof null viewer return viewer null viewer set viewer viewer set input viewer set input input imag imag null viewer instanceof null viewer input instanceof compar input imag compar input input imag set imag imag string titl null viewer null control viewer control null object data data compareui compar viewer titl data instanceof string titl string data focu set focu titl titl updat titl getview setinput setinput setinput finput hadfocu hasfocu2 finput newview newview getview fviewer newview fviewer nullview newview nullview setview newview fviewer setinput fviewer nullview icompareinput icompareinput getimag setimag fviewer fviewer getcontrol getdata compar_viewer_titl hadfocu setfocu ftitl updatetitl set addit option argument pane titl note method intern client call method param argument option argument pane titl public void set titl argument string argument titl argument argument updat titl settitleargu ftitleargu updatetitl privat void updat titl titl null titl argument null string format compar messag string compar viewer switch pane titleformat non nl 1 string messag format format format string titl titl argument set text set text titl set text non nl 1 updatetitl ftitl ftitleargu comparemessag getstr compareviewerswitchingpan messageformat ftitl ftitleargu settext settext ftitl settext return current input pane null pane input return code object code input pane null pane input public object input return input getinput finput return viewer abl displai input viewer found code null code return addit argument viewer repres viewer instal pane code null code viewer instal return method current viewer deal input viewer creat param viewer instal viewer code null code param input input object viewer determin code null code return viewer input code null code viewer determin oldview oldview class save action extend merg viewer action save action boolean left super true fals fals util init action resourc bundl action save non nl 1 saveact mergevieweract saveact initact getresourcebundl public void run save content input savecont getinput privat class content merg viewer layout extend layout public point comput size composit int int boolean forc return point 100 100 contentmergeviewerlayout computes public void layout composit composit boolean forc determin deriv size int header height left label comput size swt default swt default true rectangl composit client area int center width center width int width1 int width center width fh split int width2 width width1 center width int height1 0 int height2 0 ancestor enabl show ancestor height1 int height 2 header height fv split height2 height 2 header height height1 height1 0 height2 height header height int 0 ancestor enabl show ancestor ancestor label set bound 0 width header height ancestor label set visibl true header height handl resiz ancestor 0 width height1 height1 ancestor label set visibl fals handl resiz ancestor 0 0 0 0 left label size resiz center width 3 left label set bound 0 width1 1 header height direct label set visibl true direct label set bound width1 1 center width 1 header height label set bound width1 center width width2 header height left label set bound 0 width1 header height direct label set visibl fals label set bound width1 width width1 header height header height center null center dispos center set bound width1 center width height2 handl resiz left 0 width1 center width width2 height2 headerheight fleftlabel computes getclientarea centerwidth getcenterwidth centerwidth fhsplit centerwidth fancestoren fshowancestor headerheight fvsplit headerheight headerheight fancestoren fshowancestor fancestorlabel setbound headerheight fancestorlabel setvis headerheight handleresizeancestor fancestorlabel setvis handleresizeancestor fleftlabel getsiz centerwidth fleftlabel setbound headerheight fdirectionlabel setvis fdirectionlabel setbound centerwidth headerheight frightlabel setbound centerwidth headerheight fleftlabel setbound headerheight fdirectionlabel setvis frightlabel setbound headerheight headerheight fcenter fcenter isdispos fcenter setbound centerwidth handleresizeleftright centerwidth public resiz control int dir direct dir control live resiz control instanceof sash updat cursor dir control add mous listen control add mous move listen control add dispos listen dispos listen public void widget dispos dispos event control null fdirect fcontrol fliveres fcontrol updatecursor fcontrol addmouselisten fcontrol addmousemovelisten fcontrol adddisposelisten disposelisten widgetdispos disposeev fcontrol public void mous doubl click mous event direct horizont 0 fh split hsplit direct vertic 0 fv split vsplit composit layout true mousedoubleclick mouseev fdirect fhsplit fdirect fvsplit fcomposit public void mous mous event composit parent control parent point parent size point ancestor label size point ys left label size point ms label size width1 ys width2 ms height1 left label locat y height2 left label locat ys fx fy true mousedown mouseev fcontrol getpar getsiz fancestorlabel getsiz fleftlabel getsiz frightlabel getsiz fwidth1 fwidth2 fheight1 fleftlabel getloc fheight2 fleftlabel getloc fisdown public void mous mous event fals live resiz resiz mouseup mouseev fisdown fliveres public void mous move mous event live resiz resiz mousemov mouseev fisdown fliveres privat void resiz mous event int dx fx int dy fy int center width center size width1 dx center width width2 dx center width width1 dx width2 dx direct horizont 0 fh split doubl width1 doubl width1 width2 height1 dy center width height2 dy center width height1 dy height2 dy direct vertic 0 fv split doubl height1 doubl height1 height2 composit layout true control displai updat mouseev centerwidth fcenter getsiz fwidth1 centerwidth fwidth2 centerwidth fwidth1 fwidth2 fdirect fhsplit fwidth1 fwidth1 fwidth2 fheight1 centerwidth fheight2 centerwidth fheight1 fheight2 fdirect fvsplit fheight1 fheight1 fheight2 fcomposit fcontrol getdisplai compar input chang listen compar input chang listen public void compar input chang compar input input content merg viewer intern refresh input fcompareinputchangelisten icompareinputchangelisten compareinputchang icompareinput contentmergeview internalrefresh compar configur null properti chang listen properti chang listen public void properti chang properti chang event event content merg viewer properti chang event fcompareconfigur fpropertychangelisten ipropertychangelisten propertychang propertychangeev contentmergeview propertychang creat content merg viewer initi resourc bundl configur param bundl resourc bundl param cc configur object protect content merg viewer int style resourc bundl bundl compar configur cc style style bundl bundl ancestor enabl util boolean cc ancestor enabl ancestor enabl confirm save util boolean cc compar editor confirm save properti confirm save set content provid merg viewer content provid cc compar input chang listen compar input chang listen public void compar input chang compar input input content merg viewer intern refresh input compar configur cc compar configur null properti chang listen properti chang listen public void properti chang properti chang event event content merg viewer properti chang event compar configur add properti chang listen properti chang listen left save action save action true left save action set enabl fals save action save action fals save action set enabl fals contentmergeview resourcebundl compareconfigur fstyle fbundl fancestoren getboolean ancestor_enabl fancestoren fconfirmsav getboolean compareeditor confirm_save_properti fconfirmsav setcontentprovid mergeviewercontentprovid fcompareinputchangelisten icompareinputchangelisten compareinputchang icompareinput contentmergeview internalrefresh fcompareconfigur fcompareconfigur fpropertychangelisten ipropertychangelisten propertychang propertychangeev contentmergeview propertychang fcompareconfigur addpropertychangelisten fpropertychangelisten fleftsaveact saveact fleftsaveact seten frightsaveact saveact frightsaveact seten return viewer return viewer public string titl return util string resourc bundl titl non nl 1 gettitl getstr getresourcebundl creat swt control ancestor left content area compar viewer implement typic hold control initi input object method code updat content code param composit contain area updatecont lai ancestor area compar viewer call viewer resiz sash area move adjust size area param horizont posit ancestor area contain param vertic posit ancestor area contain param width width ancestor area param height height ancestor area lai left area compar viewer call viewer resiz sash area move adjust size area param horizont posit left area contain param vertic posit left area contain param left width width left area param center width width gap left area param width width area param height height left area abstract protect void handl resiz left int int int left width int center width leftwidth centerwidth rightwidth handleresizeleftright leftwidth centerwidth contribut item code tool bar manag code call viewer instal contain contain code tool bar manag code code content merg viewer code implement method subclass reimplement param tool bar manag toolbar manag contribut protect void creat tool item tool bar manag tool bar manag toolbarmanag toolbarmanag contentmergeview toolbarmanag createtoolitem toolbarmanag toolbarmanag initi control content area input object param ancestor input ancestor area param left input left area param input area copi content side side call intern action copi side viewer input object param left code true code left side copi side code fals code side copi left side lefttoright return byte content left side viewer edit content code null code return param left code true code byte content left area return code fals code byte content area return content arrai byte code null code return resourc bundl viewer return resourc bundl protect resourc bundl resourc bundl return bundl resourcebundl getresourcebundl fbundl return compar configur viewer code null code viewer configur return compar configur code null code protect compar configur compar configur return compar configur compareconfigur getcompareconfigur fcompareconfigur code content merg viewer code implement code content viewer code method check ensur content provid code merg viewer content provid code public void set content provid content provid content provid assert true content provid instanceof merg viewer content provid super set content provid content provid contentmergeview contentview imergeviewercontentprovid setcontentprovid icontentprovid contentprovid istru contentprovid imergeviewercontentprovid setcontentprovid contentprovid packag merg viewer content provid merg content provid return merg viewer content provid content provid imergeviewercontentprovid getmergecontentprovid imergeviewercontentprovid getcontentprovid public select select return select public boolean empti return true iselect getselect iselect isempti code content merg viewer code implement code viewer code method return empti select subclass overrid public select select return select public boolean empti return true contentmergeview iselect getselect iselect isempti code content merg viewer code implement code viewer code method subclass reimplement public void set select select boolean reveal contentmergeview setselect iselect packag void properti chang properti chang event event string kei event properti kei equal ancestor enabl ancestor enabl util boolean compar configur ancestor enabl ancestor enabl composit layout true updat cursor left label vertic updat cursor direct label horizont vertic updat cursor label vertic return propertychang propertychangeev getproperti ancestor_enabl fancestoren getboolean getcompareconfigur ancestor_enabl fancestoren fcomposit updatecursor fleftlabel updatecursor fdirectionlabel updatecursor frightlabel void updat cursor control int dir instanceof sash cursor cursor null switch dir case vertic ancestor enabl fv sash cursor null fv sash cursor cursor displai swt cursor sizen cursor fv sash cursor normal cursor null normal cursor cursor displai swt cursor arrow cursor normal cursor break case horizont fh sash cursor null fh sash cursor cursor displai swt cursor sizew cursor fh sash cursor break case vertic horizont ancestor enabl fhv sash cursor null fhv sash cursor cursor displai swt cursor sizeal cursor fhv sash cursor fh sash cursor null fh sash cursor cursor displai swt cursor sizew cursor fh sash cursor break cursor null set cursor cursor updatecursor fancestoren fvsashcursor fvsashcursor getdisplai cursor_sizen fvsashcursor fnormalcursor fnormalcursor getdisplai cursor_arrow fnormalcursor fhsashcursor fhsashcursor getdisplai cursor_sizew fhsashcursor fancestoren fhvsashcursor fhvsashcursor getdisplai cursor_sizeal fhvsashcursor fhsashcursor fhsashcursor getdisplai cursor_sizew fhsashcursor setcursor void set ancestor visibl boolean visibl boolean enabl ancestor item null action action action ancestor item action action null action set check visibl action set enabl enabl compar configur null compar configur set properti ancestor enabl boolean visibl setancestorvis fancestoritem fancestoritem getact setcheck seten fcompareconfigur fcompareconfigur setproperti ancestor_enabl input packag boolean return isthreewai fisthreewai intern hook method call input viewer initi set subsequ chang code content merg viewer code implement code viewer code method tri save input call code save code call code intern refresh code param input input viewer code null code input param input input element code null code previous input protect final void input chang object input object input input input input instanceof compar input compar input input remov compar input chang listen compar input chang listen boolean success save input input input input input instanceof compar input compar input input add compar input chang listen compar input chang listen success set left dirti fals set dirti fals input input intern refresh input contentmergeview dosav internalrefresh oldinput inputchang oldinput oldinput oldinput icompareinput icompareinput oldinput removecompareinputchangelisten fcompareinputchangelisten dosav oldinput oldinput icompareinput icompareinput addcompareinputchangelisten fcompareinputchangelisten setleftdirti setrightdirti oldinput internalrefresh method call code viewer code method code input chang code save unsav input code content merg viewer code implement method call code save content code confirm turn code set confirm save true code confirm alert post save client overrid method free decid want call inherit method param input input viewer code null code input param input input element code null code previous input return code true code save success user didn want save press confirm dialog 2 0 protect boolean save object input object input set input save left save action enabl save action enabl post alert confirm save shell shell composit shell messag dialog dialog messag dialog shell util string resourc bundl save dialog titl non nl 1 null accept default window icon util string resourc bundl save dialog messag non nl 1 messag dialog question string dialog constant ye label dialog constant label 0 default button index switch dialog open open return index press button case 0 save content input break case 1 set left dirti fals set dirti fals break case 2 throw viewer switch cancel save content input return true return fals inputchang contentmergeview savecont setconfirmsav newinput oldinput dosav newinput oldinput fleftsaveact isen frightsaveact isen fconfirmsav fcomposit getshel messagedialog messagedialog getstr getresourcebundl savedialog getstr getresourcebundl savedialog messagedialog idialogconst ye_label idialogconst no_label savecont oldinput setleftdirti setrightdirti viewerswitchingcancel savecont oldinput control code save object object code ask confirm save input code save content object code param enabl code true code enabl confirm 2 0 public void set confirm save boolean enabl confirm save enabl dosav savecont setconfirmsav fconfirmsav viewer refresh public void refresh intern refresh input internalrefresh getinput privat void intern refresh object input merg viewer content provid content merg content provid content null object ancestor content ancestor content input input instanceof compar input compar input input kind differenc direct mask 0 ancestor null ancestor item null ancestor item set visibl boolean flag show ancestor show ancestor content show ancestor input ancestor enabl flag show ancestor composit layout true tool bar manag tbm compar viewer pane tool bar manag composit parent tbm null updat tool item tbm updat true tbm control parent layout true updat header object left content left content input object content content input updat content ancestor left internalrefresh imergeviewercontentprovid getmergecontentprovid getancestorcont icompareinput fisthreewai icompareinput getkind direct_mask fisthreewai fancestoritem fancestoritem setvis fisthreewai oldflag fshowancestor fshowancestor fisthreewai showancestor fancestoren oldflag fshowancestor fcomposit toolbarmanag compareviewerpan gettoolbarmanag fcomposit getpar updatetoolitem getcontrol getpar updatehead getleftcont getrightcont updatecont build swt control area compar merg viewer call hook code creat control code code creat tool item code let subclass build specif content area add item enclos toolbar method call constructor subclass param parent parent control return control protect final control build control composit parent composit composit parent style public boolean set focu return intern set focu composit set data compareui compar viewer titl titl hook control composit hook help dispos listen composit set layout content merg viewer layout int style swt shadow ancestor label label composit style left label label composit style resiz left label vertic direct label label composit style direct label set align swt center resiz direct label horizont vertic label label composit style resiz label vertic center null center dispos center creat center composit creat control composit workbench part site ps util find site composit kei bind servic ps null ps kei bind servic null tool bar manag tbm compar viewer pane tool bar manag parent tbm null tbm remov defin group tbm add separ mode non nl 1 tbm add separ merg non nl 1 tbm add separ navig non nl 1 compar configur cc compar configur cc edit copi left action action public void run copi true util init action copi left action resourc bundl action copi left non nl 1 tbm append group merg copi left action non nl 1 util regist action kei bind servic copi left action org eclips compar copi left non nl 1 cc left edit copi left action action public void run copi fals util init action copi left action resourc bundl action copi left non nl 1 tbm append group merg copi left action non nl 1 util regist action kei bind servic copi left action org eclips compar copi left non nl 1 action chang properti action bundl compar configur action enabl ancestor ancestor enabl non nl 1 set check ancestor enabl ancestor item action contribut item ancestor item set visibl fals tbm append group mode ancestor item non nl 1 creat tool item tbm updat tool item tbm updat true return composit createcontrol createtoolitem buildcontrol fcomposit fstyle setfocu internalsetfocu fcomposit setdata compar_viewer_titl gettitl hookcontrol fcomposit fcomposit setlayout contentmergeviewerlayout shadow_out fancestorlabel clabel fcomposit fleftlabel clabel fcomposit fleftlabel fdirectionlabel clabel fcomposit fdirectionlabel setalign fdirectionlabel frightlabel clabel fcomposit frightlabel fcenter fcenter isdispos fcenter createcent fcomposit createcontrol fcomposit iworkbenchpartsit findsit fcomposit fkeybindingservic getkeybindingservic toolbarmanag compareviewerpan gettoolbarmanag removeal compareconfigur getcompareconfigur isrightedit fcopylefttorightact initact fcopylefttorightact getresourcebundl copylefttoright appendtogroup fcopylefttorightact registeract fkeybindingservic fcopylefttorightact copyalllefttoright isleftedit fcopyrighttoleftact initact fcopyrighttoleftact getresourcebundl copyrighttoleft appendtogroup fcopyrighttoleftact registeract fkeybindingservic fcopyrighttoleftact copyallrighttoleft changepropertyact fbundl fcompareconfigur enableancestor ancestor_enabl setcheck fancestoren fancestoritem actioncontributionitem fancestoritem setvis appendtogroup fancestoritem createtoolitem updatetoolitem fcomposit packag boolean intern set focu return fals internalsetfocu packag int center width return 3 getcenterwidth packag boolean ancestor enabl return ancestor enabl getancestoren fancestoren packag control creat center composit parent sash sash sash parent swt vertic resiz sash horizont return sash createcent packag control center return center getcent fcenter viewer control public control control return composit getcontrol getcontrol fcomposit call viewer dispos unregist compar configur client extend addit cleanup protect void handl dispos dispos event event kei bind servic null copi left action null kei bind servic unregist action copi left action copi left action null kei bind servic unregist action copi left action kei bind servic null object input input input instanceof compar input compar input input remov compar input chang listen compar input chang listen compar configur null properti chang listen null compar configur remov properti chang listen properti chang listen properti chang listen null ancestor label null left label null direct label null label null center null arrow null arrow dispos arrow null left arrow null left arrow dispos left arrow null arrow null arrow dispos arrow null normal cursor null normal cursor dispos normal cursor null fh sash cursor null fh sash cursor dispos fh sash cursor null fv sash cursor null fv sash cursor dispos fv sash cursor null fhv sash cursor null fhv sash cursor dispos fhv sash cursor null super handl dispos event handledispos disposeev fkeybindingservic fcopylefttorightact fkeybindingservic unregisteract fcopylefttorightact fcopyrighttoleftact fkeybindingservic unregisteract fcopyrighttoleftact fkeybindingservic getinput icompareinput icompareinput removecompareinputchangelisten fcompareinputchangelisten fcompareconfigur fpropertychangelisten fcompareconfigur removepropertychangelisten fpropertychangelisten fpropertychangelisten fancestorlabel fleftlabel fdirectionlabel frightlabel fcenter frightarrow frightarrow frightarrow fleftarrow fleftarrow fleftarrow fbotharrow fbotharrow fbotharrow fnormalcursor fnormalcursor fnormalcursor fhsashcursor fhsashcursor fhsashcursor fvsashcursor fvsashcursor fvsashcursor fhvsashcursor fhvsashcursor fhvsashcursor handledispos updat enabl toolbar item method call the item need updat subclass extend method gener requir protect void updat tool item merg viewer content provid content merg content provid object input input copi left action null boolean enabl content edit input enabl input instanceof compar input type element compar input input left null enabl fals copi left action set enabl enabl copi left action null boolean enabl content left edit input enabl input instanceof compar input type element compar input input null enabl fals copi left action set enabl enabl updatetoolitem imergeviewercontentprovid getmergecontentprovid getinput fcopylefttorightact isrightedit icompareinput itypedel icompareinput getleft fcopylefttorightact seten fcopyrighttoleftact isleftedit icompareinput itypedel icompareinput getright fcopyrighttoleftact seten updat header area queri content provid imag side input object method call header updat subclass extend method gener requir protect void updat header merg viewer content provid content merg content provid object input input ancestor label null ancestor label set imag content ancestor imag input ancestor label set text content ancestor label input left label null left label set imag content left imag input left label set text content left label input label null label set imag content imag input label set text content label input updatehead imergeviewercontentprovid getmergecontentprovid getinput fancestorlabel fancestorlabel setimag getancestorimag fancestorlabel settext getancestorlabel fleftlabel fleftlabel setimag getleftimag fleftlabel settext getleftlabel frightlabel frightlabel setimag getrightimag frightlabel settext getrightlabel calcul height header packag int header height int header height left label comput size swt default swt default true header height math max header height direct label comput size swt default swt default true return header height getheaderheight headerheight fleftlabel computes headerheight headerheight fdirectionlabel computes headerheight return true side edit packag boolean toggl merg direct merg viewer content provid content merg content provid object input input return content left edit input content edit input cantogglemergedirect imergeviewercontentprovid getmergecontentprovid getinput isleftedit isrightedit public void add properti chang listen properti chang listen listen listen list null listen list listen list listen list add listen addpropertychangelisten ipropertychangelisten flistenerlist flistenerlist listenerlist flistenerlist public void remov properti chang listen properti chang listen listen listen list null listen list remov listen listen list empti listen list null removepropertychangelisten ipropertychangelisten flistenerlist flistenerlist flistenerlist isempti flistenerlist packag void fire dirti boolean util fire properti chang listen list compar editor input dirti null boolean firedirtyst firepropertychang flistenerlist compareeditorinput dirti_state set dirti left side viewer differ regist listen notifi code properti chang event code properti code compar editor input dirti code param dirti the left side dirti flag protect void set left dirti boolean dirti left save action enabl dirti left save action set enabl dirti fire dirti dirti propertychangeev compareeditorinput dirti_state setleftdirti fleftsaveact isen fleftsaveact seten firedirtyst set dirti side viewer differ regist listen notifi code properti chang event code properti code compar editor input dirti code param dirti the side dirti flag protect void set dirti boolean dirti save action enabl dirti save action set enabl dirti fire dirti dirti propertychangeev compareeditorinput dirti_state setrightdirti frightsaveact isen frightsaveact seten firedirtyst save viewer content note method intern client call method 2 0 public void save progress monitor pm throw core except save content input iprogressmonitor coreexcept savecont getinput save modifi content input element content provid packag void save content object input write modifi content merg viewer content provid content merg viewer content provid content provid boolean left empti content left content input null boolean empti content content input null compar configur left edit left save action enabl byte byte content true left empti byte null byte length 0 byte null set left dirti fals content save left content input byte compar configur edit save action enabl byte byte content fals empti byte null byte length 0 byte null set dirti fals content save content input byte savecont oldinput imergeviewercontentprovid imergeviewercontentprovid getcontentprovid leftempti getleftcont oldinput rightempti getrightcont oldinput fcompareconfigur isleftedit fleftsaveact isen getcont leftempti setleftdirti saveleftcont oldinput fcompareconfigur isrightedit frightsaveact isen getcont rightempti setrightdirti saverightcont oldinput return underli document return underli document return posit specifi subrang underli document code null code document rang span underli document return posit specifi subrang underli document code null code return label ancestor side code content merg viewer code param input input object code content merg viewer code return label ancestor side code content merg viewer code contentmergeview contentmergeview contentmergeview return option imag ancestor side code content merg viewer code param input input object code content merg viewer code return imag ancestor side code content merg viewer code code null code contentmergeview contentmergeview contentmergeview return content ancestor side code content merg viewer code interpret return object depend concret code content merg viewer code param input input object code content merg viewer code return content ancestor side code content merg viewer code code null code contentmergeview contentmergeview contentmergeview contentmergeview return ancestor side input element shown return code true code ancestor side input element shown return label left side code content merg viewer code param input input object code content merg viewer code return label left side code content merg viewer code contentmergeview contentmergeview contentmergeview return option imag left side code content merg viewer code param input input object code content merg viewer code return imag left side code content merg viewer code code null code contentmergeview contentmergeview contentmergeview return content left side code content merg viewer code interpret return object depend concret code content merg viewer code param input input object code content merg viewer code return content left side code content merg viewer code code null code contentmergeview contentmergeview contentmergeview contentmergeview return left side edit param input input object code content merg viewer code return code true code left side code content merg viewer code edit contentmergeview contentmergeview save content left side code content merg viewer code param input input object code content merg viewer code param byte content save left side contentmergeview contentmergeview return label side code content merg viewer code param input input object code content merg viewer code return label side code content merg viewer code contentmergeview contentmergeview contentmergeview return option imag side code content merg viewer code param input input object code content merg viewer code return imag side code content merg viewer code code null code contentmergeview contentmergeview contentmergeview return content side code content merg viewer code interpret return object depend concret code content merg viewer code param input input object code content merg viewer code return content side code content merg viewer code code null code contentmergeview contentmergeview contentmergeview contentmergeview return side edit param input input object code content merg viewer code return code true code side code content merg viewer code edit contentmergeview contentmergeview save content side code content merg viewer code param input input object code content merg viewer code param byte content save side contentmergeview contentmergeview return start charact posit token index index rang neg charact posit charact length input string return param index index token return start posit return start posit token index throw java lang index bound except index neg indexoutofboundsexcept return charact length token index index rang neg 0 return param index index token return start posit return charact length token index throw java lang index bound except index neg indexoutofboundsexcept privat color separ color public header painter separ color summari header displai system color swt color widget normal shadow fseparatorcolor headerpaint fseparatorcolor fsummaryhead getdisplai getsystemcolor color_widget_normal_shadow return true color chang public boolean set color rgb color rgb color indic color indic color color color null return color null color null return color equal color return true setcolor oldcolor findicatorcolor findicatorcolor oldcolor oldcolor oldcolor privat void draw bevel rect gc gc int int int int color top left color bottom gc set foreground top left gc draw line 1 gc draw line y 1 gc set foreground bottom gc draw line y gc draw line y drawbevelrect topleft bottomright setforeground topleft drawlin drawlin setforeground bottomright drawlin drawlin public void paint control paint event point summari header size indic color null displai summari header displai gc set background color indic color int min math min 2 inset rectangl rectangl min 2 min 2 min min gc fill rectangl null draw bevel rect gc width 1 height 1 system color swt color widget normal shadow system color swt color widget highlight shadow gc set foreground separ color gc set line width 1 gc draw line 0 1 1 1 1 1 paintcontrol paintev fsummaryhead getsiz findicatorcolor fsummaryhead getdisplai setbackground getcolor findicatorcolor fillrectangl drawbevelrect getsystemcolor color_widget_normal_shadow getsystemcolor color_widget_highlight_shadow setforeground fseparatorcolor setlinewidth drawlin creat posit updat protect child posit updat string categori super categori childpositionupdat child document rang delet call free child document protect boolean delet return true freechilddocu notdelet insert happen child document start offset posit extend shift ad end posit posit extend stabl protect void adapt insert posit left region posit region int start posit offset int end posit offset posit length end math max start end int start offset int end offset replac length 1 end math max start end end start return start start posit length replac length posit offset replac length super adapt insert adapttoinsert fposit fleft getregion fposit fright getregion mystart fposit myend fposit fposit myend mystart myend yoursstart foffset yoursend foffset freplacelength yoursend yoursstart yoursend myend yoursstart mystart yoursstart fposit freplacelength fposit freplacelength adapttoinsert creat diff rang option parent diff diff diff parent int dir document ancestor doc posit rang int ancestor start int ancestor end document left doc posit rang int left start int left end document doc posit rang int start int end parent parent null parent direct dir left po creat posit left doc rang left start left end po creat posit doc rang start end ancestor doc null ancestor po creat posit ancestor doc rang ancestor start ancestor end idocu ancestordoc arang ancestorstart ancestorend idocu leftdoc lrang leftstart leftend idocu rightdoc rrang rightstart rightend fparent fdirect fleftpo createposit leftdoc lrang leftstart leftend frightpo createposit rightdoc rrang rightstart rightend ancestordoc fancestorpo createposit ancestordoc arang ancestorstart ancestorend posit posit char type switch type case return ancestor po case return left po case return po return null getposit fancestorpo fleftpo frightpo boolean rang char type int po posit posit type return po offset po offset length isinrang getposit string chang type boolean left empti left po length 0 boolean empti po length 0 direct rang differ left left empti empti return compar messag string text merg viewer chang type addit non nl 1 left empti empti return compar messag string text merg viewer chang type delet non nl 1 left empti empti return compar messag string text merg viewer chang type addit non nl 1 left empti empti return compar messag string text merg viewer chang type delet non nl 1 return compar messag string text merg viewer chang type chang non nl 1 changetyp leftempti fleftpo rightempti frightpo fdirect rangediffer leftempti rightempti comparemessag getstr textmergeview changetyp leftempti rightempti comparemessag getstr textmergeview changetyp leftempti rightempti comparemessag getstr textmergeview changetyp leftempti rightempti comparemessag getstr textmergeview changetyp comparemessag getstr textmergeview changetyp imag imag int code differenc chang switch direct case rang differ code differenc left break case rang differ left code differenc break case rang differ ancestor case rang differ conflict code differenc conflict break code 0 return compar configur imag code return null getimag fdirect rangediffer rangediffer rangediffer rangediffer getcompareconfigur getimag posit creat posit document doc posit rang int start int end try int end start rang null int dl rang length dl dl int dl doc length start dl dl start posit null try posit start catch runtim except silent try doc add posit document rang rang categori catch bad posit categori except silent return catch bad locat except ee silent return null createposit idocu getlength runtimeexcept addposit idocumentrang rang_categori badpositioncategoryexcept badlocationexcept void add diff diff null diff arrai list diff add fdiff fdiff arraylist fdiff boolean delet ancestor po null ancestor po delet return true return left po delet po delet isdelet fancestorpo fancestorpo isdelet fleftpo isdelet frightpo isdelet void set resolv boolean resolv r diff null setresolv fresolv fdiff boolean resolv resolv diff null iter diff iter diff diff resolv return fals return true return resolv isresolv fresolv fdiff fdiff hasnext isresolv fresolv privat boolean incom conflict switch direct case rang differ left local return true break case rang differ left left local return true break case rang differ conflict return true return fals isincomingorconflict fdirect rangediffer fleftisloc rangediffer fleftisloc rangediffer privat boolean unresolv incom conflict resolv return fals return incom conflict isunresolvedincomingorconflict fresolv isincomingorconflict posit posit merg sourc viewer w left return left po return po ancestor return ancestor po return null getposit mergesourceview fleft fleftpo fright frightpo fancestor fancestorpo return true charact rang overlap diff boolean overlap merg sourc viewer int start int end posit posit null int ds offset int de ds length start de end ds return true return fals mergesourceview getposit getoffset getlength int max diff height boolean ancestor point region point 0 0 int left line rang left po region ancestor math max ancestor line rang ancestor po region return math max line rang po region getmaxdiffheight withancestor fleft getlinerang fleftpo withancestor fancestor getlinerang fancestorpo fright getlinerang frightpo int ancestor height point region point 0 0 return ancestor line rang ancestor po region getancestorheight fancestor getlinerang fancestorpo int left height point region point 0 0 return left line rang left po region getleftheight fleft getlinerang fleftpo int height point region point 0 0 return line rang po region getrightheight fright getlinerang frightpo creat text merg viewer parent control param parent parent control param configur configur object public text merg viewer composit parent compar configur configur parent swt null configur textmergeview compareconfigur prefer chang listen properti chang listen public void properti chang properti chang event event text merg viewer properti chang event fpreferencechangelisten ipropertychangelisten propertychang propertychangeev textmergeview propertychang document listen document listen public void document chang document event fdocumentlisten idocumentlisten documentabouttobechang documentev public void document chang document event text merg viewer document chang documentchang documentev textmergeview documentchang navigat nav navigat public boolean goto differ boolean return navig fals fals inavigat inavigat gotodiffer creat text merg viewer parent control param parent parent control param style swt style bit top level composit viewer param configur configur object public text merg viewer composit parent int style compar configur configur super style resourc bundl bundl bundl configur symbol font class string platform swt platform motif motif equal platform non nl 1 carbon carbon equal platform non nl 1 motif margin width 0 displai displai parent displai prefer chang listen properti chang listen public void properti chang properti chang event event text merg viewer properti chang event prefer store configur prefer store prefer store null prefer store add properti chang listen prefer chang listen check color updat displai left local util boolean configur left local fals non nl 1 synchron scroll prefer store boolean compar prefer page synchron scroll show info prefer store boolean compar prefer page show info show pseudo conflict prefer store boolean compar prefer page show pseudo conflict spline prefer store boolean compar prefer page spline singl line prefer store boolean compar prefer page singl line resolveui prefer store boolean compar prefer page resolv ui document listen document listen public void document chang document event public void document chang document event text merg viewer document chang build control parent navigat nav navigat public boolean goto differ boolean return navig fals fals composit set data navigat navig properti nav bird ey cursor cursor parent displai swt cursor hand face resourc font registri add listen prefer chang listen face resourc color registri add listen prefer chang listen updat font textmergeview compareconfigur resourcebundl getbundl bundl_name fsymbolicfontnam getclass getnam getplatform fismotif fiscarbon fismotif fmarginwidth getdisplai fpreferencechangelisten ipropertychangelisten propertychang propertychangeev textmergeview propertychang fpreferencestor getpreferencestor fpreferencestor fpreferencestor addpropertychangelisten fpreferencechangelisten checkforcolorupd fleftisloc getboolean left_is_local fsynchronizedscrol fpreferencestor getboolean comparepreferencepag synchron_scroll fshowmoreinfo fpreferencestor getboolean comparepreferencepag show_more_info fshowpseudoconflict fpreferencestor getboolean comparepreferencepag show_pseudo_conflict fusesplin fpreferencestor getboolean comparepreferencepag us_spline fusesinglelin fpreferencestor getboolean comparepreferencepag us_singl_line fuseresolveui fpreferencestor getboolean comparepreferencepag us_resolv_ui fdocumentlisten idocumentlisten documentabouttobechang documentev documentchang documentev textmergeview documentchang buildcontrol inavigat inavigat gotodiffer fcomposit setdata inavigat navig_properti fbirdseyecursor getdisplai cursor_hand jfaceresourc getfontregistri addlisten fpreferencechangelisten jfaceresourc getcolorregistri addlisten fpreferencechangelisten updatefont privat void updat font font face resourc font symbol font null ancestor null ancestor set font left null left set font null set font updatefont jfaceresourc getfont fsymbolicfontnam fancestor fancestor setfont fleft fleft setfont fright fright setfont privat void check color updat displai displai poll system foreground rgb fg displai system color swt color list foreground getrgb foreground null fg equal foreground foreground fg updat color displai poll system background rgb bg displai system color swt color list background getrgb background null bg equal background background bg updat color displai checkforcolorupd fpollsystemforeground getsystemcolor color_list_foreground fforeground fforeground fforeground updatecolor fpollsystembackground getsystemcolor color_list_background fbackground fbackground fbackground updatecolor set viewer background color rgb valu code null code system default background color param background background color code null code system default background color 2 0 public void set background color rgb background poll system background background null background background updat color null setbackgroundcolor fpollsystembackground fbackground updatecolor privat rgb background displai displai background null return background displai null displai composit displai return displai system color swt color list background getrgb getbackground fbackground fbackground fcomposit getdisplai getsystemcolor color_list_background set viewer foreground color rgb valu code null code system default foreground color param foreground foreground color code null code system default foreground color 2 0 public void set foreground color rgb foreground poll system foreground foreground null foreground foreground updat color null setforegroundcolor fpollsystemforeground fforeground updatecolor privat rgb foreground displai displai foreground null return foreground displai null displai composit displai return displai system color swt color list foreground getrgb getforeground fforeground fforeground fcomposit getdisplai getsystemcolor color_list_foreground privat void updat color displai displai displai null displai composit displai color color null background null color color displai background ancestor null ancestor set background color color left null left set background color color null set background color color color registri registri face resourc color registri rgb bg background displai select incom registri getrgb incom color select incom null select incom rgb 0 0 255 blue incom interpol select incom bg 0 6 incom fill interpol select incom bg 0 97 select outgo registri getrgb outgo color select outgo null select outgo rgb 0 0 0 black outgo interpol select outgo bg 0 6 outgo fill interpol select outgo bg 0 97 select conflict registri getrgb conflict color select conflict null select conflict rgb 255 0 0 red conflict interpol select conflict bg 0 6 conflict fill interpol select conflict bg 0 97 resolv registri getrgb resolv color resolv null resolv rgb 0 255 0 green refresh bird ey view invalid line updat diff background displai updatecolor fcomposit getdisplai fbackground getcolor fbackground fancestor fancestor setbackgroundcolor fleft fleft setbackgroundcolor fright fright setbackgroundcolor colorregistri jfaceresourc getcolorregistri getbackground select_incom incom_color select_incom select_incom select_incom incom_fill select_incom select_outgo outgo_color select_outgo select_outgo select_outgo outgo_fill select_outgo select_conflict conflict_color select_conflict select_conflict select_conflict conflict_fill select_conflict resolv_color refreshbirdseyeview invalidatelin updatealldiffbackground invalid current present invalid text viewer 2 0 public void invalid text present ancestor null ancestor invalid text present left null left invalid text present null invalid text present invalidatetextpresent fancestor fancestor invalidatetextpresent fleft fleft invalidatetextpresent fright fright invalidatetextpresent configur pass text viewer method call text viewer creat content area code text merg viewer code implement method subclass reimplement provid specif configur text viewer param text viewer text viewer configur protect void configur text viewer text viewer text viewer textmergeview textview configuretextview textview textview creat code token compar code show intra line differ code text merg viewer code implement method return token break line word separ whitespac subclass reimplement provid specif token return token compar level token compar protect token compar creat token compar string return token compar itokencompar textmergeview itokencompar itokencompar createtokencompar tokencompar return document partition suitabl underli content type method call input provid content provid code stream content accessor code intern document creat document initi partition return method code text merg viewer code implement method return code null code subclass reimplement creat partition specif content type return document partition code null code protect document partition document partition return null istreamcontentaccessor textmergeview idocumentpartition getdocumentpartition call viewer dispos unregist compar configur client extend addit cleanup protect void handl dispos dispos event event kei bind servic null action item null item action null kei bind servic unregist action previou item null previou item action null kei bind servic unregist action copi diff left item null copi diff left item action null kei bind servic unregist action copi diff left item null copi diff left item action null kei bind servic unregist action kei bind servic null object input input document manag remov document2 input document manag remov document2 input document manag remov document2 input debug document manag dump prefer chang listen null face resourc font registri remov listen prefer chang listen face resourc color registri remov listen prefer chang listen prefer store null prefer store remov properti chang listen prefer chang listen prefer chang listen null left canva null canva null fv scroll bar null bird ey canva null summari header null unset document ancestor unset document left unset document color null iter color valu iter color color color color dispos color dispos color null bird ey cursor null bird ey cursor dispos bird ey cursor null super handl dispos event handledispos disposeev fkeybindingservic iaction fnextitem fnextitem getact fkeybindingservic unregisteract fpreviousitem fpreviousitem getact fkeybindingservic unregisteract fcopydifflefttorightitem fcopydifflefttorightitem getact fkeybindingservic unregisteract fcopydiffrighttoleftitem fcopydiffrighttoleftitem getact fkeybindingservic unregisteract fkeybindingservic getinput documentmanag getdocu2 documentmanag getdocu2 documentmanag getdocu2 documentmanag fpreferencechangelisten jfaceresourc getfontregistri removelisten fpreferencechangelisten jfaceresourc getcolorregistri removelisten fpreferencechangelisten fpreferencestor fpreferencestor removepropertychangelisten fpreferencechangelisten fpreferencechangelisten fleftcanva frightcanva fvscrollbar fbirdseyecanva fsummaryhead unsetdocu fancestor unsetdocu fleft unsetdocu fright fcolor fcolor hasnext isdispos fcolor fbirdseyecursor fbirdseyecursor fbirdseyecursor handledispos margin width 0 ancestor canva buffer canva composit swt public void paint gc gc paint side gc ancestor ancestor canva fals fmarginwidth fancestorcanva bufferedcanva dopaint paintsid fancestor fancestorcanva ancestor canva add mous listen mous adapt public void mous mous event set current diff2 handl mous side ancestor canva ancestor fals fancestorcanva addmouselisten mouseadapt mousedown mouseev setcurrentdiff2 handlemouseinsid fancestorcanva fancestor margin width 0 left canva buffer canva composit swt public void paint gc gc paint side gc left left canva fals fmarginwidth fleftcanva bufferedcanva dopaint paintsid fleft fleftcanva left canva add mous listen mous adapt public void mous mous event set current diff2 handl mous side left canva left fals fleftcanva addmouselisten mouseadapt mousedown mouseev setcurrentdiff2 handlemouseinsid fleftcanva fleft margin width 0 canva buffer canva composit swt public void paint gc gc paint side gc right canva synchron scroll fmarginwidth frightcanva bufferedcanva dopaint paintsid fright frightcanva fsynchronizedscrol canva add mous listen mous adapt public void mous mous event set current diff2 handl mous side canva fals frightcanva addmouselisten mouseadapt mousedown mouseev setcurrentdiff2 handlemouseinsid frightcanva fright listen public void handl event event int vpo scroll bar widget select scroll vertic vpo vpo vpo null workaround65205 handleev scrollbar getselect scrollvert bird ey canva buffer canva composit swt public void paint gc gc paint bird ey view gc fbirdseyecanva bufferedcanva dopaint paintbirdseyeview bird ey canva add mous listen mous adapt public void mous mous event set current diff2 handlemous bird ey view bird ey canva true fbirdseyecanva addmouselisten mouseadapt mousedown mouseev setcurrentdiff2 handlemouseinbirdseyeview fbirdseyecanva public void mous move mous event cursor cursor null diff diff handlemous bird ey view bird ey canva diff null diff direct rang differ nochang cursor bird ey cursor cursor cursor bird ey canva set cursor cursor cursor cursor mousemov mouseev handlemouseinbirdseyeview fbirdseyecanva fdirect rangediffer fbirdseyecursor flastcursor fbirdseyecanva setcursor flastcursor creat specif swt control content area client call overrid method protect void creat control composit composit workbench help set help composit compar context id text merg view 1st row margin width 0 ancestor canva buffer canva composit swt public void paint gc gc paint side gc ancestor ancestor canva fals ancestor canva add mous listen mous adapt public void mous mous event set current diff2 handl mous side ancestor canva ancestor fals ancestor creat part composit ancestor set edit fals summari header canva composit swt header painter header painter summari header add paint listen header painter updat resolv statu 2nd row margin width 0 left canva buffer canva composit swt public void paint gc gc paint side gc left left canva fals left canva add mous listen mous adapt public void mous mous event set current diff2 handl mous side left canva left fals left creat part composit left text widget vertic bar set visibl synchron scroll left add action merg sourc viewer save id left save action creat part composit text widget vertic bar set visibl synchron scroll add action merg sourc viewer save id save action hsynch viewport ancestor left hsynch viewport left ancestor hsynch viewport ancestor left margin width 0 canva buffer canva composit swt public void paint gc gc paint side gc right canva synchron scroll canva add mous listen mous adapt public void mous mous event set current diff2 handl mous side canva fals scroll canva canva composit swt scroll rectangl trim left text widget comput trim 0 0 0 0 top inset trim fv scroll bar scroll canva vertic bar fv scroll bar set increment 1 fv scroll bar set visibl true fv scroll bar add listen swt select listen public void handl event event int vpo scroll bar widget select scroll vertic vpo vpo vpo null workaround65205 bird ey canva buffer canva composit swt public void paint gc gc paint bird ey view gc bird ey canva add mous listen mous adapt public void mous mous event set current diff2 handlemous bird ey view bird ey canva true bird ey canva add mous move listen mous move listen privat cursor cursor public void mous move mous event cursor cursor null diff diff handlemous bird ey view bird ey canva diff null diff direct rang differ nochang cursor bird ey cursor cursor cursor bird ey canva set cursor cursor cursor cursor createcontrol workbenchhelp sethelp icomparecontextid text_merg_view fmarginwidth fancestorcanva bufferedcanva dopaint paintsid fancestor fancestorcanva fancestorcanva addmouselisten mouseadapt mousedown mouseev setcurrentdiff2 handlemouseinsid fancestorcanva fancestor fancestor createpart fancestor setedit fsummaryhead fheaderpaint headerpaint fsummaryhead addpaintlisten fheaderpaint updateresolvestatu fmarginwidth fleftcanva bufferedcanva dopaint paintsid fleft fleftcanva fleftcanva addmouselisten mouseadapt mousedown mouseev setcurrentdiff2 handlemouseinsid fleftcanva fleft fleft createpart fleft gettextwidget getverticalbar setvis fsynchronizedscrol fleft addact mergesourceview save_id fleftsaveact fright createpart fright gettextwidget getverticalbar setvis fsynchronizedscrol fright addact mergesourceview save_id frightsaveact hsynchviewport fancestor fleft fright hsynchviewport fleft fancestor fright hsynchviewport fright fancestor fleft fmarginwidth frightcanva bufferedcanva dopaint paintsid fright frightcanva fsynchronizedscrol frightcanva addmouselisten mouseadapt mousedown mouseev setcurrentdiff2 handlemouseinsid frightcanva fright fscrollcanva v_scroll fleft gettextwidget computetrim ftopinset fvscrollbar fscrollcanva getverticalbar fvscrollbar setincr fvscrollbar setvis fvscrollbar addlisten handleev scrollbar getselect scrollvert fbirdseyecanva bufferedcanva dopaint paintbirdseyeview fbirdseyecanva addmouselisten mouseadapt mousedown mouseev setcurrentdiff2 handlemouseinbirdseyeview fbirdseyecanva fbirdseyecanva addmousemovelisten mousemovelisten flastcursor mousemov mouseev handlemouseinbirdseyeview fbirdseyecanva fdirect rangediffer fbirdseyecursor flastcursor fbirdseyecanva setcursor flastcursor sb1 add select listen select adapt public void widget select select event synchron scroll int max sb1 maximum sb1 thumb doubl 0 0 max 0 float sb1 select float max st2 visibl scroll bar sb2 st2 horizont bar st2 set horizont pixel int sb2 maximum sb2 thumb st3 visibl scroll bar sb3 st3 horizont bar st3 set horizont pixel int sb3 maximum sb3 thumb workaround65205 addselectionlisten selectionadapt widgetselect selectionev fsynchronizedscrol getmaximum getthumb getselect isvis scrollbar gethorizontalbar sethorizontalpixel getmaximum getthumb isvis scrollbar gethorizontalbar sethorizontalpixel getmaximum getthumb privat void hsynch viewport final text viewer tv1 final text viewer tv2 final text viewer tv3 final style text st1 tv1 text widget final style text st2 tv2 text widget final style text st3 tv3 text widget final scroll bar sb1 st1 horizont bar sb1 add select listen select adapt public void widget select select event synchron scroll int max sb1 maximum sb1 thumb doubl 0 0 max 0 float sb1 select float max st2 visibl scroll bar sb2 st2 horizont bar st2 set horizont pixel int sb2 maximum sb2 thumb st3 visibl scroll bar sb3 st3 horizont bar st3 set horizont pixel int sb3 maximum sb3 thumb workaround65205 hsynchviewport textview textview textview styledtext gettextwidget styledtext gettextwidget styledtext gettextwidget scrollbar gethorizontalbar addselectionlisten selectionadapt widgetselect selectionev fsynchronizedscrol getmaximum getthumb getselect isvis scrollbar gethorizontalbar sethorizontalpixel getmaximum getthumb isvis scrollbar gethorizontalbar sethorizontalpixel getmaximum getthumb workaround bug 65205 maco displai updat requir flush pend paint request programmat scoll privat void workaround65205 carbon composit null composit dispos composit displai updat fiscarbon fcomposit fcomposit isdispos fcomposit getdisplai privat void set current diff2 diff diff boolean reveal diff null diff direct rang differ nochang current diff null set current diff diff reveal setcurrentdiff2 fdirect rangediffer fcurrentdiff setcurrentdiff privat diff handl mous side canva canva merg sourc viewer tp int int line height tp text widget line height int visibl height tp viewport height highlight rang return null chang diff null int shift tp vertic scroll offset 2 lw point region point 0 0 iter chang diff iter diff diff diff diff delet continu show current onli2 current diff diff continu tp line rang diff posit tp region int region line height shift int region line height 0 continu visibl height break y return diff return null handlemouseinsid mergesourceview lineheight gettextwidget getlineheight visibleheight getviewportheight fhighlightrang fchangediff getverticalscrolloffset fchangediff hasnext isdelet fshowcurrentonli2 iscurrentdiff getlinerang getposit lineheight lineheight visibleheight privat diff diff mous canva canva int mx int rectangl synchron scroll return null int line height left text widget line height int visibl height viewport height point size canva size int size highlight rang return null chang diff null int lshift left vertic scroll offset int rshift vertic scroll offset point region point 0 0 iter chang diff iter diff diff diff diff delet continu show current onli2 current diff diff continu left line rang diff left po region int ly region line height lshift int lh region line height line rang diff po region int ry region line height rshift int rh region line height math max ly lh ry rh 0 continu math min ly ry visibl height break int cx resolv size 2 int cy ly lh 2 ry rh 2 resolv size 2 cy cy resolv size mx cx mx cx resolv size null int size carbon 30 20 cx resolv size size 2 cy resolv size size 2 width size height size return diff return null getdiffundermous fsynchronizedscrol lineheight fleft gettextwidget getlineheight visibleheight fright getviewportheight getsiz fhighlightrang fchangediff fleft getverticalscrolloffset fright getverticalscrolloffset fchangediff hasnext isdelet fshowcurrentonli2 iscurrentdiff fleft getlinerang fleftpo lineheight lineheight fright getlinerang frightpo lineheight lineheight visibleheight resolv_size resolv_size resolv_size resolv_size fiscarbon resolv_size resolv_size privat diff handlemous bird ey view canva canva int int yy hh point size canva size int virtual height synchron scroll virtual height height virtual height viewport height return null int 0 diff null iter diff iter int 0 diff diff diff int synchron scroll diff max diff height show ancestor diff height chang diff direct diff whitespac yy size virtual height hh size virtual height hh 3 hh 3 yy yy hh return diff return null handlemouseinbirdseyeview getsiz virtualheight fsynchronizedscrol getvirtualheight getrightheight virtualheight getviewportheight falldiff falldiff hasnext fsynchronizedscrol getmaxdiffheight fshowancestor getrightheight usechang fdirect fiswhitespac virtualheight virtualheight privat void paint bird ey view canva canva gc gc color rectangl rectangl 0 0 0 0 int yy hh point size canva size int virtual height synchron scroll virtual height height virtual height viewport height return displai displai canva displai int 0 diff null iter diff iter int 0 diff diff diff int synchron scroll diff max diff height show ancestor diff height chang diff direct diff whitespac yy size virtual height hh size virtual height hh 3 hh 3 color displai fill color diff null gc set background gc fill rectangl bird ey view inset yy size 2 bird ey view inset hh color displai stroke color diff null gc set foreground bird ey view inset yy width size 2 bird ey view inset 1 height hh diff current diff current diff null diff current diff parent gc set line width 2 width height gc set line width 1 gc draw rectangl paintbirdseyeview getsiz virtualheight fsynchronizedscrol getvirtualheight getrightheight virtualheight getviewportheight getdisplai falldiff falldiff hasnext fsynchronizedscrol getmaxdiffheight fshowancestor getrightheight usechang fdirect fiswhitespac virtualheight virtualheight getcolor getfillcolor setbackground fillrectangl bird_ey_view_inset bird_ey_view_inset getcolor getstrokecolor setforeground bird_ey_view_inset bird_ey_view_inset fcurrentdiff fcurrentdiff fcurrentdiff fparent setlinewidth setlinewidth drawrectangl privat void refresh bird ey view bird ey canva null bird ey canva redraw refreshbirdseyeview fbirdseyecanva fbirdseyecanva call set focu call content viewer top level swt composit implement set focu enabl text widget packag boolean intern set focu focu part null left null left enabl focu part left null enabl focu part ancestor null ancestor enabl focu part ancestor focu part null style text st focu part text widget st null return st set focu return fals set focu setfocu contentview internalsetfocu ffocuspart fleft fleft geten ffocuspart fleft fright fright geten ffocuspart fright fancestor fancestor geten ffocuspart fancestor ffocuspart styledtext ffocuspart gettextwidget setfocu class hover resiz extend resiz canva canva public hover resiz canva int dir super dir canva hoverres fcanva hoverres fcanva public void mous move mous event singl line show resolveui handl mous move center canva return super mous move mousemov mouseev fisdown fusesinglelin showresolveui handlemousemoveovercent fcanva mousemov synchron scroll final canva canva buffer canva parent swt public void paint gc gc paint center gc fsynchronizedscrol bufferedcanva dopaint paintcent select adapt public void widget select select event center button set visibl fals button diff null set current diff button diff fals copi current diff fals current diff direct rang differ conflict selectionadapt widgetselect selectionev fcenterbutton setvis fbuttondiff setcurrentdiff fbuttondiff fcurrentdiff fcurrentdiff fdirect rangediffer creat central canva call content merg viewer packag control creat center composit parent synchron scroll final canva canva buffer canva parent swt public void paint gc gc paint center gc resolveui hover resiz canva horizont center button button canva carbon swt flat swt push normal cursor null normal cursor cursor canva displai swt cursor arrow center button set cursor normal cursor center button set text non nl 1 center button pack center button set visibl fals center button add select listen select adapt public void widget select select event center button set visibl fals button diff null set current diff button diff fals copi current diff fals current diff direct rang differ conflict resiz canva horizont return canva return super creat center parent contentmergeview createcent fsynchronizedscrol bufferedcanva dopaint paintcent fuseresolveui hoverres fcenterbutton fiscarbon fnormalcursor fnormalcursor getdisplai cursor_arrow fcenterbutton setcursor fnormalcursor fcenterbutton settext fcenterbutton fcenterbutton setvis fcenterbutton addselectionlisten selectionadapt widgetselect selectionev fcenterbutton setvis fbuttondiff setcurrentdiff fbuttondiff fcurrentdiff fcurrentdiff fdirect rangediffer createcent privat boolean handl mous move center canva canva int int rectangl rectangl 0 0 0 0 diff diff diff mous canva diff null diff unresolv incom conflict diff null diff button diff diff null left edit button diff diff center button set text non nl 1 string tt copi diff left item action tool tip text center button set tool tip text tt center button set bound center button set visibl true edit button diff diff center button set text non nl 1 string tt copi diff left item action tool tip text center button set tool tip text tt center button set bound center button set visibl true button diff null center button set visibl fals button diff null return button diff null handlemousemoveovercent getdiffundermous isunresolvedincomingorconflict fbuttondiff fleft isedit fbuttondiff fcenterbutton settext fcopydiffrighttoleftitem getact gettooltiptext fcenterbutton settooltiptext fcenterbutton setbound fcenterbutton setvis fright isedit fbuttondiff fcenterbutton settext fcopydifflefttorightitem getact gettooltiptext fcenterbutton settooltiptext fcenterbutton setbound fcenterbutton setvis fbuttondiff fcenterbutton setvis fbuttondiff fbuttondiff return width central canva overridden content merg viewer packag int center width synchron scroll return center width return super center width contentmergeview getcenterwidth fsynchronizedscrol center_width getcenterwidth te add paint listen paint listen public void paint control paint event paint part addpaintlisten paintlisten paintcontrol paintev te add kei listen kei adapt public void kei press kei event handl select chang part addkeylisten keyadapt keypress keyev handleselectionchang te add mous listen mous adapt public void mous mous event sync viewport part handl select chang part addmouselisten mouseadapt mousedown mouseev syncviewport handleselectionchang te add focu listen focu adapt public void focu gain focu event fe focu part part connect global action focu part addfocuslisten focusadapt focusgain focusev ffocuspart connectglobalact ffocuspart connect global action focu part public void focu lost focu event fe connect global action null connectglobalact ffocuspart focuslost focusev connectglobalact part add viewport listen viewport listen public void viewport chang int vertic posit sync viewport part addviewportlisten iviewportlisten viewportchang verticalposit syncviewport creat initi text part privat merg sourc viewer creat part composit parent final merg sourc viewer part merg sourc viewer parent resourc bundl final style text te part text widget confirm save part hide save action te add paint listen paint listen public void paint control paint event paint part te add kei listen kei adapt public void kei press kei event handl select chang part te add mous listen mous adapt public void mous mous event sync viewport part handl select chang part te add focu listen focu adapt public void focu gain focu event fe focu part part connect global action focu part public void focu lost focu event fe connect global action null part add viewport listen viewport listen public void viewport chang int vertic posit sync viewport part font font face resourc font symbol font font null te set font font background null default te set background color parent displai background configur text viewer part return part mergesourceview createpart mergesourceview mergesourceview getresourcebundl styledtext gettextwidget fconfirmsav hidesaveact addpaintlisten paintlisten paintcontrol paintev addkeylisten keyadapt keypress keyev handleselectionchang addmouselisten mouseadapt mousedown mouseev syncviewport handleselectionchang addfocuslisten focusadapt focusgain focusev ffocuspart connectglobalact ffocuspart focuslost focusev connectglobalact addviewportlisten iviewportlisten viewportchang verticalposit syncviewport jfaceresourc getfont fsymbolicfontnam setfont fbackground setbackground getcolor getdisplai fbackground configuretextview privat void connect global action merg sourc viewer part action bar action bar util find action bar composit action bar null int 0 global action length i action action null part null action part action text action action null text action equal merg sourc viewer save id part left action left save action action save action action bar set global action handler global action action action bar updat action bar connectglobalact mergesourceview iactionbar actionbar findactionbar fcomposit actionbar global_action iaction getact text_action text_action mergesourceview save_id fleft fleftsaveact frightsaveact actionbar setglobalactionhandl global_action actionbar updateactionbar type element leg char type object input input instanceof compar input switch type case return compar input input ancestor case return compar input input left case return compar input input return null itypedel getleg icompareinput icompareinput getancestor icompareinput getleft icompareinput getright document document char type object input type element te leg type input te instanceof document return document te te instanceof document rang return document rang te document te instanceof stream content accessor return document manag te return null idocu getdocu itypedel getleg idocu idocu idocumentrang idocumentrang getdocu istreamcontentaccessor documentmanag document document2 char type object input document doc document type input doc null return doc input instanceof diff element diff contain parent diff element input parent return document type parent return null idocu getdocu2 idocu getdocu idiffel idiffcontain idiffel getpar getdocu return true input map document boolean doc char type object input object input document doc document2 type input document doc document2 type input return doc doc samedoc newinput oldinput idocu newdoc getdocu2 newinput idocu olddoc getdocu2 oldinput newdoc olddoc overridden prevent save confirm input document current input param input input viewer code null code input param input input element code null code previous input return code true code save success user didn want save press confirm dialog 2 0 protect boolean save object input object input input null input null check underli document chang doc input input doc input input doc input input debug system println doc non nl 1 return fals debug system println doc non nl 1 document doc document2 input document manag remov doc document doc document2 input document manag remov doc document doc document2 input document manag remov doc debug document manag dump return super save input input newinput oldinput dosav newinput oldinput oldinput newinput samedoc newinput oldinput samedoc newinput oldinput samedoc newinput oldinput idocu adoc getdocu2 oldinput documentmanag adoc idocu ldoc getdocu2 oldinput documentmanag ldoc idocu rdoc getdocu2 oldinput documentmanag rdoc documentmanag dosav newinput oldinput privat type element parent char type object input input input instanceof diff element diff contain parent diff element input parent return leg type parent return null itypedel getpar getinput idiffel idiffcontain idiffel getpar getleg initi text viewer content area input object subclass extend protect void updat content object ancestor object left object boolean empti input ancestor null left null null object input input posit ancestor rang null posit left rang null posit rang null int dir 0 side empti contain fix 47640 empti input left null null input instanceof diff element diff contain parent diff element input parent parent instanceof compar input compar input ci compar input parent ci ancestor instanceof document rang ci left instanceof document rang ci instanceof document rang ancestor instanceof document rang ancestor rang document rang ancestor rang left instanceof document rang left rang document rang left rang instanceof document rang rang document rang rang ancestor ci ancestor left ci left ci dir diff element input kind int 0 left null null highlight rang 1 clear stuff current diff null chang diff null diff null end doc reach fals error fals start error compar configur cc compar configur merg viewer content provid cp merg content provid cp instanceof merg viewer content provid merg viewer content provid mcp merg viewer content provid cp mcp set ancestor error null mcp set left error null mcp set error null set document set document left left left line count left line count left encod encod left set document right line count line count encod encod set document ancestor ancestor updat header updat control updat tool item error diff set edit cc edit cp edit input left set edit cc left edit cp left edit input invalid line updatev scroll bar refresh bird ey view error empti input composit dispos diff select diff null fix 47640 left rang null select diff find diff left rang rang null select diff find diff rang select diff null set current diff select diff true select diff updatecont emptyinput getinput ancestorrang leftrang rightrang fix_47640 emptyinput idiffel idiffcontain idiffel getpar icompareinput icompareinput icompareinput getancestor idocumentrang getleft idocumentrang getright idocumentrang idocumentrang ancestorrang idocumentrang getrang idocumentrang leftrang idocumentrang getrang idocumentrang rightrang idocumentrang getrang getancestor getleft getright idiffel getkind fhighlightrang fcurrentdiff fchangediff falldiff fendofdocreach fhaserror compareconfigur getcompareconfigur imergeviewercontentprovid getmergecontentprovid mergeviewercontentprovid mergeviewercontentprovid mergeviewercontentprovid setancestorerror setlefterror setrighterror setdocu fleft fleftlinecount fleft getlinecount fleftencod getencod setdocu fright frightlinecount fright getlinecount frightencod getencod setdocu fancestor updatehead updatecontrol updatetoolitem fhaserror dodiff fright setedit isrightedit isrightedit fleft setedit isleftedit isleftedit invalidatelin updatevscrollbar refreshbirdseyeview fhaserror emptyinput fcomposit isdispos selectdiff fix_47640 leftrang selectdiff finddiff leftrang rightrang selectdiff finddiff rightrang selectdiff setcurrentdiff selectdiff selectfirstdiff privat diff find diff char posit rang merg sourc viewer int start rang offset int end start rang length left return null chang diff null boolean wai iter iter chang diff iter iter diff diff diff iter diff delet diff direct rang differ nochang continu diff overlap start end return diff return null finddiff mergesourceview getoffset getlength fleft fright fchangediff threewai isthreewai fchangediff hasnext isdelet fdirect rangediffer privat static string encod object string encod null instanceof encod stream content accessor try encod encod stream content accessor charset catch core except encod null encod resourc plugin encod return encod getencod iencodedstreamcontentaccessor iencodedstreamcontentaccessor getcharset coreexcept resourcesplugin getencod privat void updat diff background diff diff highlight rang return diff null diff token return show current current diff diff return color color null fill color diff null return ancestor set line background diff ancestor po left set line background diff left po set line background diff po updatediffbackground fhighlightrang fistoken fshowcurrentonli iscurrentdiff getcolor getfillcolor isthreewai fancestor setlinebackground fancestorpo fleft setlinebackground fleftpo fright setlinebackground frightpo privat void updat diff background displai displai chang diff null boolean wai iter iter chang diff iter iter diff diff diff iter color color displai fill color diff ancestor set line background diff ancestor po left set line background diff left po set line background diff po updatealldiffbackground fchangediff threewai isthreewai fchangediff hasnext getcolor getfillcolor threewai fancestor setlinebackground fancestorpo fleft setlinebackground fleftpo fright setlinebackground frightpo boolean current diff diff diff diff null return fals diff current diff return true current diff null current diff parent diff return true return fals iscurrentdiff fcurrentdiff fcurrentdiff fcurrentdiff fparent call whenver document set dirti viewer updat line implement document listen privat void document chang document event document doc document doc left document set left dirti true doc document set dirti true updat line doc idocumentlisten documentchang documentev idocu getdocu fleft getdocu setleftdirti fright getdocu setrightdirti updatelin method call rang text side copi empti subdocu side method return posit subdocu base document default implement determin posit text rang differenc posit optim specif type text subclass awar type text deal overrid method find posit insert newli ad piec text param type side insert posit determin ancestor left hand side hand side param input current input object viewer 2 0 protect int find insert posit char type compar input input type element null char type 0 switch type case input left type null input type break case input type null input ancestor type break case input left type null input ancestor type break instanceof document rang document rang dr document rang posit dr rang diff diff find diff type offset diff null switch type case diff ancestor po null return diff ancestor po offset break case diff left po null return diff left po offset break case diff po null return diff po offset break return 0 findinsertionposit icompareinput itypedel othertyp getleft othertyp getright othertyp getright othertyp getancestor othertyp getleft othertyp getancestor othertyp idocumentrang idocumentrang idocumentrang getrang finddiff othertyp fancestorpo fancestorpo fleftpo fleftpo frightpo frightpo privat void set error char type string messag merg viewer content provid cp merg content provid cp instanceof merg viewer content provid merg viewer content provid mcp merg viewer content provid cp switch type case mcp set ancestor error messag break case mcp set left error messag break case mcp set error messag break error true seterror imergeviewercontentprovid getmergecontentprovid mergeviewercontentprovid mergeviewercontentprovid mergeviewercontentprovid setancestorerror setlefterror setrighterror fhaserror return true document instal privat boolean set document merg sourc viewer tp char type object tp null return fals document doc null posit rang null instanceof document rang doc document rang document rang document rang rang instanceof document doc document o instanceof stream content accessor doc document manag doc null stream content accessor sca stream content accessor string null try util read string sca catch core except set error type messag doc document null non nl 1 document manag put doc document partition partition document partition partition null doc set document partition partition partition connect doc null delet side type element parent parent type try find insert posit delet parent parent instanceof document rang doc document rang parent document doc add posit categori document rang rang categori object input input rang rang type input rang null int po 0 input instanceof compar input po find insert posit type compar input input rang posit po 0 try doc add posit document rang rang categori rang catch bad posit categori except silent debug system println bad posit categori except non nl 1 catch bad locat except silent debug system println bad locat except non nl 1 add rang type input rang parent instanceof document doc document rang document boolean enabl true doc null system println set document creat document doc document non nl 1 enabl fals document doc tp document doc doc document unset document tp doc null doc add posit categori document rang rang categori posit updat null posit updat child posit updat document rang rang categori doc remov posit updat posit updat doc add posit updat posit updat instal document doc null tp set region rang doc rang null region normal document region doc region rang tp set document doc offset length tp set document doc tp set document doc doc add document listen document listen document rang tp set region rang doc rang null region normal document region doc region rang tp set visibl region offset length tp reset visibl region tp reset visibl region tp set enabl enabl return enabl setdocu mergesourceview idocu newdoc idocumentrang newdoc idocumentrang getdocu idocumentrang getrang idocu newdoc idocu istreamcontentaccessor newdoc documentmanag newdoc istreamcontentaccessor istreamcontentaccessor readstr coreexcept seterror getmessag newdoc documentmanag newdoc idocumentpartition getdocumentpartition newdoc setdocumentpartition newdoc itypedel getpar idocumentrang newdoc idocumentrang getdocu newdoc addpositioncategori idocumentrang rang_categori getinput getnewrang icompareinput findinsertionposit icompareinput newdoc addposit idocumentrang rang_categori badpositioncategoryexcept badpositioncategoryexcept badlocationexcept badlocationexcept addnewrang idocu newdoc idocumentrang getdocu newdoc setdocu newdoc idocu olddoc getdocu newdoc olddoc unsetdocu newdoc newdoc addpositioncategori idocumentrang rang_categori fpositionupdat fpositionupdat childpositionupdat idocumentrang rang_categori newdoc removepositionupdat fpositionupdat newdoc addpositionupdat fpositionupdat newdoc setregion fsubdoc iregion normalizedocumentregion newdoc toregion setdocu newdoc getoffset getlength setdocu newdoc setdocu newdoc newdoc adddocumentlisten fdocumentlisten setregion fsubdoc iregion normalizedocumentregion newdoc toregion setvisibleregion getoffset getlength resetvisibleregion resetvisibleregion seten privat posit rang char type object input switch type case return posit ancestor rang input case return posit left rang input case return posit rang input return null getnewrang fnewancestorrang fnewleftrang fnewrightrang privat void add rang char type object input posit rang switch type case ancestor rang put input rang break case left rang put input rang break case rang put input rang break addnewrang fnewancestorrang fnewleftrang fnewrightrang privat void unset document merg sourc viewer tp document doc tp document doc null deinstal posit posit updat null doc remov posit updat posit updat try doc remov posit categori document rang rang categori catch bad posit categori except need doc remov document listen document listen unsetdocu mergesourceview idocu olddoc getdocu olddoc fpositionupdat olddoc removepositionupdat fpositionupdat olddoc removepositioncategori idocumentrang rang_categori badpositioncategoryexcept needwork olddoc removedocumentlisten fdocumentlisten return content underli document arrai byte current workbench encod param left code true code content left side return side return content left document null protect byte content boolean left merg sourc viewer left left null document document null string content content null byte byte try byte content byte left left encod encod catch unsupport encod except default encod byte content byte return byte return null getcont mergesourceview fleft fright idocu getdocu getbyt fleftencod frightencod unsupportedencodingexcept getbyt privat region normal document region document doc region region region null doc null return region int max length doc length int start region offset start 0 start 0 start max length start max length int length region length length 0 length 0 start length max length length max length start return region start length iregion normalizedocumentregion idocu iregion maxlength getlength getoffset maxlength maxlength getlength maxlength maxlength protect final void handl resiz ancestor int int int width int height width 0 rectangl trim left text widget comput trim 0 0 0 0 int scrollbar height trim height util ok ancestor canva ancestor canva set visibl true ancestor control ok ancestor text widget set visibl true ancestor canva null ancestor canva set bound margin width height scrollbar height margin width width margin width ancestor text widget set bound width height util ok ancestor canva ancestor canva set visibl fals ancestor control ok style text ancestor text widget set visibl fals set bound 0 0 0 0 focu part ancestor focu part left focu part text widget set focu handleresizeancestor fleft gettextwidget computetrim scrollbarheight oktous fancestorcanva fancestorcanva setvis fancestor iscontroloktous fancestor gettextwidget setvis fancestorcanva fancestorcanva setbound fmarginwidth scrollbarheight fmarginwidth fmarginwidth fancestor gettextwidget setbound oktous fancestorcanva fancestorcanva setvis fancestor iscontroloktous styledtext fancestor gettextwidget setvis setbound ffocuspart fancestor ffocuspart fleft ffocuspart gettextwidget setfocu lai protect final void handl resiz left int int int width1 int center width int width2 int height bird ey canva null width2 bird ey view width rectangl trim left text widget comput trim 0 0 0 0 int scrollbar height trim height trim composit composit composit control int left text width width1 left canva null left canva set bound margin width height scrollbar height margin width left text width margin width left text widget set bound left text width height left text width center null center dispos center creat center composit center set bound center width height scrollbar height center width synchron scroll canva left text canva null canva set bound margin width height scrollbar height canva redraw margin width draw canva left text widget int scrollbar width 0 synchron scroll scroll canva null trim left text widget comput trim 0 0 0 0 scrollbar width trim width 2 trim int text width width2 scrollbar width canva null text width margin width text widget set bound text width height text width synchron scroll canva null canva the text canva set bound margin width height scrollbar height margin width scroll canva null scroll canva set bound scrollbar width height scrollbar height bird ey canva null int vertic scrollbar button height scrollbar width int horizont scrollbar button height scrollbar height carbon vertic scrollbar button height 2 horizont scrollbar button height 18 summari header null summari header set bound scrollbar width bird ey view width vertic scrollbar button height vertic scrollbar button height bird ey canva set bound scrollbar width bird ey view width height 2 vertic scrollbar button height horizont scrollbar button height doesn text editor don correct size updatev scroll bar refresh bird ey view handleresizeleftright centerwidth fbirdseyecanva bird_ey_view_width fleft gettextwidget computetrim scrollbarheight getcontrol lefttextwidth fleftcanva fleftcanva setbound fmarginwidth scrollbarheight fmarginwidth lefttextwidth fmarginwidth fleft gettextwidget setbound lefttextwidth lefttextwidth fcenter fcenter isdispos fcenter createcent fcenter setbound centerwidth scrollbarheight centerwidth fsynchronizedscrol frightcanva frightcanva setbound fmarginwidth scrollbarheight frightcanva fmarginwidth scrollbarwidth fsynchronizedscrol fscrollcanva fleft gettextwidget computetrim scrollbarwidth righttextwidth scrollbarwidth frightcanva righttextwidth fmarginwidth fright gettextwidget setbound righttextwidth righttextwidth fsynchronizedscrol frightcanva frightcanva setbound fmarginwidth scrollbarheight fmarginwidth fscrollcanva fscrollcanva setbound scrollbarwidth scrollbarheight fbirdseyecanva verticalscrollbarbuttonheight scrollbarwidth horizontalscrollbarbuttonheight scrollbarheight fiscarbon verticalscrollbarbuttonheight horizontalscrollbarbuttonheight fsummaryhead fsummaryhead setbound scrollbarwidth bird_ey_view_width verticalscrollbarbuttonheight verticalscrollbarbuttonheight fbirdseyecanva setbound scrollbarwidth bird_ey_view_width verticalscrollbarbuttonheight horizontalscrollbarbuttonheight texteditor updatevscrollbar refreshbirdseyeview track select updat current diff privat void handl select chang merg sourc viewer tw point tw select rang diff find diff tw x updat statu set current diff fals don select reveal handleselectionchang mergesourceview getselectedrang finddiff updatestatu setcurrentdiff privat static region region posit posit posit null return region posit offset posit length return null iregion toregion getoffset getlength privat static int max rang compar rang compar rang compar int ln rang count int rn rang count null int rang count return 2 math max ln 2 math max rn return 2 math max ln rn maxwork irangecompar irangecompar irangecompar getrangecount getrangecount getrangecount runnabl progress runnabl runnabl progress public void run progress monitor monitor throw interrupt except invoc target except string progress titl util string bundl compar progress task titl non nl 1 monitor begin task progress titl max sa sl sr try result 0 rang differenc find rang monitor sa sl sr catch memori error system gc throw invoc target except monitor cancel cancel throw interrupt except monitor irunnablewithprogress irunnablewithprogress iprogressmonitor interruptedexcept invocationtargetexcept progresstitl getstr compareprogresstask begintask progresstitl maxwork rangedifferenc findrang outofmemoryerror invocationtargetexcept iscancel interruptedexcept perform level 2 3 diff level base line comparison level token comparison privat void diff diff arrai list chang diff arrai list current diff null document doc null document doc left document document doc document doc null doc null return posit region null posit region left region posit region region boolean wai ignor ancestor doc ancestor document region ancestor region ancestor reset line background left reset line background reset line background boolean ignor white space util boolean compar configur compar configur ignor whitespac fals doc line compar sright doc line compar doc region region ignor white space doc line compar sleft doc line compar doc region region ignor white space doc line compar sancestor null doc null sancestor doc line compar doc region region ignor white space doc region null region null add diff line int astart 0 int 0 region null astart region offset math max 0 astart 1 int ys math max 0 region offset 1 int ms math max 0 region offset 1 0 ys 0 ms 0 diff diff diff null rang differ nochang doc region 0 astart doc region 0 region offset doc region 0 region offset diff add diff final resourc bundl bundl resourc bundl final object result object 1 final doc line compar sa sancestor sl sleft sr sright runnabl progress runnabl runnabl progress public void run progress monitor monitor throw interrupt except invoc target except string progress titl util string bundl compar progress task titl non nl 1 monitor begin task progress titl max sa sl sr try result 0 rang differenc find rang monitor sa sl sr catch memori error system gc throw invoc target except monitor cancel cancel throw interrupt except monitor progress servic progress servic platformui workbench progress servic rang differ null try progress servic run true true runnabl rang differ result 0 catch invoc target except string titl util string bundl complex error titl non nl 1 string format util string bundl complex error format non nl 1 string msg messag format format format object integ string progress servic oper 1000 messag dialog open error composit shell titl msg null catch interrupt except null creat nochang rang document diff diff diff null rang differ nochang doc region 0 doc null doc length 0 doc region 0 doc length doc region 0 doc length diff add diff int 0 length string null null null rang differ es int kind es kind int ancestor start 0 int ancestor end 0 sancestor null ancestor start sancestor token start es ancestor start ancestor end token end2 sancestor es ancestor start es ancestor length int left start sleft token start es left start int left end token end2 sleft es left start es left length int start sright token start es start int end token end2 sright es start es length diff diff diff null kind doc region ancestor start ancestor end doc region left start left end doc region start end diff add diff rememb rang diff scroll ignor white space sancestor null extract2 doc sancestor es ancestor start es ancestor length extract2 doc sleft es left start es left length extract2 doc sright es start es length null trim length 0 trim length 0 trim length 0 diff whitespac true continu chang kind chang diff add diff rememb real diff updat diff background diff null extract2 doc sleft es left start es left length null extract2 doc sright es start es length length 0 length 0 null sancestor null extract2 doc sancestor es ancestor start es ancestor length merg token diff merg token diff diff doc doc doc simpl token diff diff doc doc doc doc region null region null add diff line int end 0 int len 0 region null doc null end region offset region length len doc length diff diff diff null rang differ nochang doc region end len doc region region offset region length doc length doc region region offset region length doc length diff add diff dodiff falldiff arraylist fchangediff arraylist fcurrentdiff idocu adoc idocu ldoc fleft getdocu idocu rdoc fright getdocu ldoc rdoc aregion lregion fleft getregion rregion fright getregion threewai isthreewai threewai fignoreancestor adoc fancestor getdocu aregion fancestor getregion fancestor resetlinebackground fleft resetlinebackground fright resetlinebackground ignorewhitespac getboolean getcompareconfigur compareconfigur ignor_whitespac doclinecompar doclinecompar rdoc toregion rregion ignorewhitespac doclinecompar doclinecompar ldoc toregion lregion ignorewhitespac doclinecompar adoc doclinecompar adoc toregion aregion ignorewhitespac fsubdoc rregion lregion aregion aregion getoffset lregion getoffset rregion getoffset rangediffer adoc aregion ldoc lregion lregion getoffset rdoc rregion rregion getoffset falldiff resourcebundl getresourcebundl doclinecompar irunnablewithprogress irunnablewithprogress iprogressmonitor interruptedexcept invocationtargetexcept progresstitl getstr compareprogresstask begintask progresstitl maxwork rangedifferenc findrang outofmemoryerror invocationtargetexcept iscancel interruptedexcept iprogressservic progressservic getworkbench getprogressservic rangediffer progressservic rangediffer invocationtargetexcept getstr toocomplexerror getstr toocomplexerror messageformat tostr progressservic getlongoperationtim messagedialog openerror fcomposit getshel interruptedexcept rangediffer adoc aregion adoc adoc getlength ldoc lregion ldoc getlength rdoc rregion rdoc getlength falldiff rangediffer ancestorstart ancestorend ancestorstart gettokenstart ancestorstart ancestorend gettokenend2 ancestorstart ancestorlength leftstart gettokenstart leftstart leftend gettokenend2 leftstart leftlength rightstart gettokenstart rightstart rightend gettokenend2 rightstart rightlength adoc aregion ancestorstart ancestorend ldoc lregion leftstart leftend rdoc rregion rightstart rightend falldiff ignorewhitespac adoc ancestorstart ancestorlength ldoc leftstart leftlength rdoc rightstart rightlength fiswhitespac usechang fchangediff updatediffbackground ldoc leftstart leftlength rdoc rightstart rightlength adoc ancestorstart ancestorlength us_merg_token_diff mergingtokendiff adoc rdoc ldoc simpletokendiff adoc rdoc ldoc fsubdoc rregion lregion aend alen aregion adoc aend aregion getoffset aregion getlength alen adoc getlength rangediffer adoc aregion aend alen ldoc lregion lregion getoffset lregion getlength ldoc getlength rdoc rregion rregion getoffset rregion getlength rdoc getlength falldiff runnabl progress runnabl runnabl progress public void run progress monitor monitor throw interrupt except invoc target except string progress titl util string bundl compar progress task titl non nl 1 monitor begin task progress titl max sa sl sr try result 0 rang differenc find rang monitor sa sl sr catch memori error system gc throw invoc target except monitor cancel cancel throw interrupt except monitor irunnablewithprogress irunnablewithprogress iprogressmonitor interruptedexcept invocationtargetexcept progresstitl getstr compareprogresstask begintask progresstitl maxwork rangedifferenc findrang outofmemoryerror invocationtargetexcept iscancel interruptedexcept privat diff find diff char type int po document doc null document doc left document document doc document doc null doc null return null posit region null posit region null posit region null boolean wai ignor ancestor doc ancestor document boolean ignor white space util boolean compar configur compar configur ignor whitespac fals doc line compar sright doc line compar doc region region ignor white space doc line compar sleft doc line compar doc region region ignor white space doc line compar sancestor null doc null sancestor doc line compar doc region region ignor white space final resourc bundl bundl resourc bundl final object result object 1 final doc line compar sa sancestor sl sleft sr sright runnabl progress runnabl runnabl progress public void run progress monitor monitor throw interrupt except invoc target except string progress titl util string bundl compar progress task titl non nl 1 monitor begin task progress titl max sa sl sr try result 0 rang differenc find rang monitor sa sl sr catch memori error system gc throw invoc target except monitor cancel cancel throw interrupt except monitor progress servic progress servic platformui workbench progress servic rang differ null try progress servic run true true runnabl rang differ result 0 catch invoc target except string titl util string bundl complex error titl non nl 1 string format util string bundl complex error format non nl 1 string msg messag format format format object integ string progress servic oper 1000 messag dialog open error composit shell titl msg null catch interrupt except null int 0 length rang differ es int kind es kind int ancestor start 0 int ancestor end 0 sancestor null ancestor start sancestor token start es ancestor start ancestor end token end2 sancestor es ancestor start es ancestor length int left start sleft token start es left start int left end token end2 sleft es left start es left length int start sright token start es start int end token end2 sright es start es length diff diff diff null kind doc region ancestor start ancestor end doc region left start left end doc region start end diff rang type po return diff return null finddiff idocu adoc idocu ldoc fleft getdocu idocu rdoc fright getdocu ldoc rdoc aregion lregion rregion threewai isthreewai threewai fignoreancestor adoc fancestor getdocu ignorewhitespac getboolean getcompareconfigur compareconfigur ignor_whitespac doclinecompar doclinecompar rdoc toregion rregion ignorewhitespac doclinecompar doclinecompar ldoc toregion lregion ignorewhitespac doclinecompar adoc doclinecompar adoc toregion aregion ignorewhitespac resourcebundl getresourcebundl doclinecompar irunnablewithprogress irunnablewithprogress iprogressmonitor interruptedexcept invocationtargetexcept progresstitl getstr compareprogresstask begintask progresstitl maxwork rangedifferenc findrang outofmemoryerror invocationtargetexcept iscancel interruptedexcept iprogressservic progressservic getworkbench getprogressservic rangediffer progressservic rangediffer invocationtargetexcept getstr toocomplexerror getstr toocomplexerror messageformat tostr progressservic getlongoperationtim messagedialog openerror fcomposit getshel interruptedexcept rangediffer ancestorstart ancestorend ancestorstart gettokenstart ancestorstart ancestorend gettokenend2 ancestorstart ancestorlength leftstart gettokenstart leftstart leftend gettokenend2 leftstart leftlength rightstart gettokenstart rightstart rightend gettokenend2 rightstart rightlength adoc aregion ancestorstart ancestorend ldoc lregion leftstart leftend rdoc rregion rightstart rightend isinrang return true kind chang shown privat boolean chang int kind kind rang differ nochang return fals kind rang differ ancestor return show pseudo conflict return true usechang rangediffer rangediffer fshowpseudoconflict privat int token end token compar tc int start int count count 0 return tc token start start int index start count 1 return tc token start index tc token length index gettokenend itokencompar gettokenstart gettokenstart gettokenlength privat static int token end2 token compar tc int start int length return tc token start start length gettokenend2 itokencompar gettokenstart return content line rang string includ line separ param doc document extract charact param start index line param length number line return content line rang string privat string extract2 document doc token compar tc int start int length int count tc rang count length 0 count 0 int start po tc token start start int end po start po length 1 end po tc token start start length 1 end po tc token length start length 1 int start po tc token start start int end po length 1 end po start po tc token length start end po tc token start start length try return doc start po end po start po catch bad locat except silent return non nl 1 idocu itokencompar getrangecount startpo gettokenstart endpo startpo endpo gettokenstart endpo gettokenlength startpo gettokenstart endpo endpo startpo gettokenlength endpo gettokenstart startpo endpo startpo badlocationexcept perform token base 3 diff charact rang base diff privat void simpl token diff final diff base diff document ancestor doc string document doc string document left doc string int ancestor start 0 token compar sa null ancestor doc null ancestor start base diff ancestor po offset sa creat token compar int start base diff po offset token compar sm creat token compar int left start base diff left po offset token compar sy creat token compar rang differ rang differenc find rang sa sy sm int 0 length rang differ es int kind es kind kind rang differ nochang int ancestor start2 ancestor start int ancestor end2 ancestor start ancestor doc null ancestor start2 sa token start es ancestor start ancestor end2 token end sa es ancestor start es ancestor length int left start2 left start sy token start es left start int left end2 left start token end sy es left start es left length int start2 start sm token start es start int end2 start token end sm es start es length diff diff diff base diff kind ancestor doc null ancestor start2 ancestor end2 left doc null left start2 left end2 doc null start2 end2 ensur token diff smaller basediff int left base diff left po offset int left base diff left po offset base diff left po length int right base diff po offset int right base diff po offset base diff po length left left start2 left left end2 right start2 right end2 diff token true add base diff base diff add diff basediff simpletokendiff basediff idocu ancestordoc idocu rightdoc idocu leftdoc ancestorstart itokencompar ancestordoc ancestorstart basediff fancestorpo getoffset createtokencompar rightstart basediff frightpo getoffset itokencompar createtokencompar leftstart basediff fleftpo getoffset itokencompar createtokencompar rangediffer rangedifferenc findrang rangediffer rangediffer ancestorstart2 ancestorstart ancestorend2 ancestorstart ancestordoc ancestorstart2 gettokenstart ancestorstart ancestorend2 gettokenend ancestorstart ancestorlength leftstart2 leftstart gettokenstart leftstart leftend2 leftstart gettokenend leftstart leftlength rightstart2 rightstart gettokenstart rightstart rightend2 rightstart gettokenend rightstart rightlength basediff ancestordoc ancestorstart2 ancestorend2 leftdoc leftstart2 leftend2 rightdoc rightstart2 rightend2 basediff fleftpo basediff fleftpo basediff fleftpo basediff frightpo basediff frightpo basediff frightpo leftstart2 leftend2 rightstart2 rightend2 fistoken basediff perform smart token base 3 diff charact rang base diff smart tri minim number token diff merg privat void merg token diff diff base diff document ancestor doc string document doc string document left doc string token compar sa null int ancestor start 0 ancestor doc null sa creat token compar ancestor start base diff ancestor po offset int start base diff po offset token compar sm creat token compar int left start base diff left po offset token compar sy creat token compar rang differ rang differenc find rang sa sy sm int 0 length rang differ es determin rang diff line int start int left line 1 int line 1 try left line left doc line offset left start sy token start es left start line doc line offset start sm token start es start catch bad locat except silent i length es try left line left doc line offset left start sy token start es left start break line doc line offset start sm token start es start break catch bad locat except silent int end find diff left rang differ null int ii start ii end ii es ii chang es kind es break find diff mine rang differ null int ii end 1 ii start ii es ii chang es kind es break null null int ancestor start2 0 int ancestor end2 0 ancestor doc null ancestor start2 ancestor start sa token start ancestor start ancestor end2 ancestor start token end sa ancestor start ancestor length int left start2 left start sy token start left start int left end2 left start token end sy left start left length int start2 start sm token start start int end2 start token end sm start length diff diff diff base diff kind ancestor doc null ancestor start2 ancestor end2 1 left doc null left start2 left end2 1 doc null start2 end2 1 diff token true base diff add diff basediff mergingtokendiff basediff idocu ancestordoc idocu rightdoc idocu leftdoc itokencompar ancestorstart ancestordoc createtokencompar ancestorstart basediff fancestorpo getoffset rightstart basediff frightpo getoffset itokencompar createtokencompar leftstart basediff fleftpo getoffset itokencompar createtokencompar rangediffer rangedifferenc findrang rangediffer leftlin rightlin leftlin leftdoc getlineofoffset leftstart gettokenstart leftstart rightlin rightdoc getlineofoffset rightstart gettokenstart rightstart badlocationexcept leftlin leftdoc getlineofoffset leftstart gettokenstart leftstart rightlin rightdoc getlineofoffset rightstart gettokenstart rightstart badlocationexcept rangediffer usechang rangediffer usechang ancestorstart2 ancestorend2 ancestordoc ancestorstart2 ancestorstart gettokenstart ancestorstart ancestorend2 ancestorstart gettokenend ancestorstart ancestorlength leftstart2 leftstart gettokenstart leftstart leftend2 leftstart gettokenend leftstart leftlength rightstart2 rightstart gettokenstart rightstart rightend2 rightstart gettokenend rightstart rightlength basediff ancestordoc ancestorstart2 ancestorend2 leftdoc leftstart2 leftend2 rightdoc rightstart2 rightend2 fistoken basediff privat void updat control boolean left fals boolean left fals updat statu current diff updat resolv statu current diff null merg viewer content provid cp merg content provid cp null left cp left edit input left cp edit input direct label null highlight rang current diff null ignor ancestor direct label set imag current diff imag direct label set imag null copi diff left item null action copi diff left item action set enabl left copi diff left item null action copi diff left item action set enabl left boolean enabl navig fals current diff null chang diff null chang diff size 0 enabl navig true chang diff null chang diff size 1 enabl navig true current diff null current diff diff null enabl navig true current diff null current diff token enabl navig true item null action item action set enabl enabl navig previou item null action previou item action set enabl enabl navig updatecontrol lefttoright righttoleft updatestatu fcurrentdiff updateresolvestatu fcurrentdiff imergeviewercontentprovid getmergecontentprovid righttoleft isleftedit getinput lefttoright isrightedit getinput fdirectionlabel fhighlightrang fcurrentdiff isthreewai fignoreancestor fdirectionlabel setimag fcurrentdiff getimag fdirectionlabel setimag fcopydifflefttorightitem fcopydifflefttorightitem getact seten lefttoright fcopydiffrighttoleftitem fcopydiffrighttoleftitem getact seten righttoleft enablenavig fcurrentdiff fchangediff fchangediff enablenavig fchangediff fchangediff enablenavig fcurrentdiff fcurrentdiff fdiff enablenavig fcurrentdiff fcurrentdiff fistoken enablenavig fnextitem iaction fnextitem getact seten enablenavig fpreviousitem iaction fpreviousitem getact seten enablenavig privat void updat resolv statu rgb rgb null show resolveui show red green incom conflict chang int incom conflict 0 int unresolv incom 0 int unresolv conflict 0 chang diff null iter chang diff iter diff diff incom conflict chang direct whitespac incom conflict resolv direct rang differ conflict unresolv conflict break stop conflict maximum prioriti unresolv incom incom conflict 0 unresolv conflict 0 rgb select conflict unresolv incom 0 rgb select incom rgb resolv header painter set color rgb summari header redraw updateresolvestatu showresolveui incomingorconflict unresolvedincom unresolvedconflict fchangediff fchangediff hasnext isincomingorconflict usechang fdirect fiswhitespac incomingorconflict fresolv fdirect rangediffer unresolvedconflict unresolvedincom incomingorconflict unresolvedconflict select_conflict unresolvedincom select_incom fheaderpaint setcolor fsummaryhead privat void updat statu diff diff show info return action bar bar util find action bar composit bar null return statu line manag slm bar statu line manag slm null return string diff descript diff null diff descript compar messag string text merg viewer diff descript diff format non nl 1 diff token don show special info token diff diff diff parent string format compar messag string text merg viewer diff descript diff format non nl 1 diff descript messag format format format string diff type diff 0 diff type diff number diff 1 diff number diff rang left diff left po 2 left start line diff rang diff po 3 left end line string format compar messag string text merg viewer statu line format non nl 1 string messag format format format string cursor posit left 0 left column cursor posit 1 column diff descript 2 diff descript slm set messag updatestatu fshowmoreinfo iactionbar findactionbar fcomposit istatuslinemanag getstatuslinemanag diffdescript diffdescript comparemessag getstr textmergeview diffdescript nodiff fistoken fparent comparemessag getstr textmergeview diffdescript diffdescript messageformat getdifftyp getdiffnumb getdiffrang fleft fleftpo getdiffrang fright frightpo comparemessag getstr textmergeview statuslin messageformat getcursorposit fleft getcursorposit fright diffdescript setmessag privat void clear statu action bar bar util find action bar composit bar null return statu line manag slm bar statu line manag slm null return slm set messag null clearstatu iactionbar findactionbar fcomposit istatuslinemanag getstatuslinemanag setmessag privat string diff type diff diff string non nl 1 switch diff direct case rang differ left compar messag string text merg viewer direct outgo non nl 1 break case rang differ compar messag string text merg viewer direct incom non nl 1 break case rang differ conflict compar messag string text merg viewer direct conflict non nl 1 break string format compar messag string text merg viewer diff type format non nl 1 return messag format format format string diff chang type getdifftyp fdirect rangediffer comparemessag getstr textmergeview rangediffer comparemessag getstr textmergeview rangediffer comparemessag getstr textmergeview comparemessag getstr textmergeview difftyp messageformat changetyp privat string diff number diff diff find diff number int diff number 0 chang diff null iter chang diff iter diff diff diff number diff break return integ string diff number getdiffnumb diffnumb fchangediff fchangediff hasnext diffnumb tostr diffnumb privat string diff rang merg sourc viewer posit po point line rang po point 0 0 int start line 1 int end line string format end line start line format compar messag string text merg viewer line format non nl 1 format compar messag string text merg viewer rang format non nl 1 return messag format format format string integ string start line integ string end line getdiffrang mergesourceview getlinerang startlin endlin endlin startlin comparemessag getstr textmergeview beforelin comparemessag getstr textmergeview messageformat tostr startlin tostr endlin return descript cursor posit return descript cursor posit privat string cursor posit merg sourc viewer v null style text style text text widget document document document document null int offset visibl region offset int caret offset style text caret offset try int line document line offset caret int line offset document line offset line int occurr 0 int line offset caret document char occurr int tab width style text tab int column caret line offset tab width 1 occurr string format compar messag string text merg viewer cursor posit format non nl 1 return messag format format format string integ string line 1 integ string column 1 catch bad locat except silent return non nl 1 getcursorposit mergesourceview styledtext styledtext gettextwidget idocu getdocu getvisibleregion getoffset styledtext getcaretoffset getlineofoffset lineoffset getlineoffset lineoffset getchar tabwidth styledtext gettab lineoffset tabwidth comparemessag getstr textmergeview cursorposit messageformat tostr tostr badlocationexcept protect void updat header super updat header updat control updatehead updatehead updatecontrol final string ignor ancestor action kei action ignor ancestor non nl 1 action ignor ancestor action action public void run set ignor ancestor ignor ancestor util init toggl action resourc bundl ignor ancestor action kei ignor ancestor ignoreancestoractionkei ignoreancestor ignoreancestoract setignoreancestor fignoreancestor inittoggleact getresourcebundl ignoreancestoractionkei fignoreancestor action action public void run navig true true true action public void run navig fals true true cc edit action public void run copi diff left isrightedit copydifflefttoright cc left edit action public void run copi diff left isleftedit copydiffrighttoleft creat item copi differ rang side add toolbar manag protect void creat tool item tool bar manag tbm workbench part site ps util find site composit kei bind servic ps null ps kei bind servic null final string ignor ancestor action kei action ignor ancestor non nl 1 action ignor ancestor action action public void run set ignor ancestor ignor ancestor util init toggl action resourc bundl ignor ancestor action kei ignor ancestor ignor ancestor action set check ignor ancestor util init action ignor ancestor action resourc bundl ignor ancestor action kei util init toggl action ignor ancestor action resourc bundl ignor ancestor action kei ignor ancestor ignor ancestor item action contribut item ignor ancestor action ignor ancestor item set visibl fals tbm append group mode ignor ancestor item non nl 1 tbm add separ action action public void run navig true true true util init action resourc bundl action diff non nl 1 item action contribut item tbm append group navig item non nl 1 util regist action kei bind servic org eclips compar select chang non nl 1 action public void run navig fals true true util init action resourc bundl action prev diff non nl 1 previou item action contribut item tbm append group navig previou item non nl 1 util regist action kei bind servic org eclips compar select previou chang non nl 1 compar configur cc compar configur cc edit action public void run copi diff left util init action resourc bundl action copi diff left non nl 1 copi diff left item action contribut item copi diff left item set visibl true tbm append group merg copi diff left item non nl 1 util regist action kei bind servic org eclips compar copi left non nl 1 cc left edit action public void run copi diff left util init action resourc bundl action copi diff left non nl 1 copi diff left item action contribut item copi diff left item set visibl true tbm append group merg copi diff left item non nl 1 util regist action kei bind servic org eclips compar copi left non nl 1 createtoolitem toolbarmanag iworkbenchpartsit findsit fcomposit fkeybindingservic getkeybindingservic ignoreancestoractionkei ignoreancestor ignoreancestoract setignoreancestor fignoreancestor inittoggleact getresourcebundl ignoreancestoractionkei fignoreancestor ignoreancestoract setcheck fignoreancestor initact ignoreancestoract getresourcebundl ignoreancestoractionkei inittoggleact ignoreancestoract getresourcebundl ignoreancestoractionkei fignoreancestor fignoreancestoritem actioncontributionitem ignoreancestoract fignoreancestoritem setvis appendtogroup fignoreancestoritem initact getresourcebundl nextdiff fnextitem actioncontributionitem appendtogroup fnextitem registeract fkeybindingservic selectnextchang initact getresourcebundl prevdiff fpreviousitem actioncontributionitem appendtogroup fpreviousitem registeract fkeybindingservic selectpreviouschang compareconfigur getcompareconfigur isrightedit copydifflefttoright initact getresourcebundl copydifflefttoright fcopydifflefttorightitem actioncontributionitem fcopydifflefttorightitem setvis appendtogroup fcopydifflefttorightitem registeract fkeybindingservic copylefttoright isleftedit copydiffrighttoleft initact getresourcebundl copydiffrighttoleft fcopydiffrighttoleftitem actioncontributionitem fcopydiffrighttoleftitem setvis appendtogroup fcopydiffrighttoleftitem registeract fkeybindingservic copyrighttoleft packag void properti chang properti chang event event string kei event properti kei equal compar configur ignor whitespac kei equal compar prefer page show pseudo conflict show pseudo conflict prefer store boolean compar prefer page show pseudo conflict clear stuff current diff null chang diff null diff null diff updat control invalid line updatev scroll bar refresh bird ey view select diff kei equal compar prefer page spline spline prefer store boolean compar prefer page spline invalid line kei equal compar prefer page singl line singl line prefer store boolean compar prefer page singl line resolveui singl line basic center curv null updat resolv statu invalid line kei equal compar prefer page resolv ui resolveui prefer store boolean compar prefer page resolv ui updat resolv statu invalid line kei equal symbol font updat font invalid line kei equal incom color kei equal outgo color kei equal conflict color kei equal resolv color updat color null invalid line kei equal compar prefer page synchron scroll boolean prefer store boolean compar prefer page synchron scroll synchron scroll toggl synch mode kei equal compar prefer page show info boolean prefer store boolean compar prefer page show info show info show info show info updat statu current diff clear statu super properti chang event propertychang propertychangeev getproperti compareconfigur ignor_whitespac comparepreferencepag show_pseudo_conflict fshowpseudoconflict fpreferencestor getboolean comparepreferencepag show_pseudo_conflict fcurrentdiff fchangediff falldiff dodiff updatecontrol invalidatelin updatevscrollbar refreshbirdseyeview selectfirstdiff comparepreferencepag us_spline fusesplin fpreferencestor getboolean comparepreferencepag us_spline invalidatelin comparepreferencepag us_singl_line fusesinglelin fpreferencestor getboolean comparepreferencepag us_singl_line fuseresolveui fusesinglelin fbasiccentercurv updateresolvestatu invalidatelin comparepreferencepag us_resolv_ui fuseresolveui fpreferencestor getboolean comparepreferencepag us_resolv_ui updateresolvestatu invalidatelin fsymbolicfontnam updatefont invalidatelin incom_color outgo_color conflict_color resolv_color updatecolor invalidatelin comparepreferencepag synchron_scroll fpreferencestor getboolean comparepreferencepag synchron_scroll fsynchronizedscrol togglesynchmod comparepreferencepag show_more_info fpreferencestor getboolean comparepreferencepag show_more_info fshowmoreinfo fshowmoreinfo fshowmoreinfo updatestatu fcurrentdiff clearstatu propertychang privat void set ignor ancestor boolean ignor ignor ignor ancestor ignor ancestor ignor set ancestor visibl fals ignor ancestor clear stuff current diff null chang diff null diff null diff invalid line updatev scroll bar refresh bird ey view select diff setignoreancestor fignoreancestor fignoreancestor setancestorvis fignoreancestor fcurrentdiff fchangediff falldiff dodiff invalidatelin updatevscrollbar refreshbirdseyeview selectfirstdiff privat void select diff left null null return left document null document null return diff diff null compar navig direct composit diff find chang diff 1 1 fals diff find prev chang diff 9999999 9999999 fals set current diff diff true selectfirstdiff fleft fright fleft getdocu fright getdocu firstdiff comparenavig getdirect fcomposit firstdiff findnext fright fchangediff firstdiff findprev fright fchangediff setcurrentdiff firstdiff privat void toggl synch mode synchron scroll synchron scroll scroll vertic 0 0 0 null throw central control sash canva control center center center null center dispos center dispos left text widget vertic bar set visibl synchron scroll text widget vertic bar set visibl synchron scroll composit layout true togglesynchmod fsynchronizedscrol fsynchronizedscrol scrollvert getcent isdispos fleft gettextwidget getverticalbar setvis fsynchronizedscrol fright gettextwidget getverticalbar setvis fsynchronizedscrol fcomposit protect void updat tool item ignor ancestor item null ignor ancestor item set visibl copi diff left item null action copi diff left item action null set enabl enabl error copi diff left item null action copi diff left item action null set enabl enabl error super updat tool item updatetoolitem fignoreancestoritem fignoreancestoritem setvis isthreewai fcopydifflefttorightitem iaction fcopydifflefttorightitem getact seten isen fhaserror fcopydiffrighttoleftitem iaction fcopydiffrighttoleftitem getact seten isen fhaserror updatetoolitem privat void updat line document boolean left fals boolean fals fixm optim incorrect doesn replac oper account line count differ left document int left line count left left line count left line count document int line count right line count line count left left left canva null left canva redraw canva null canva redraw control center center center null center redraw updatev scroll bar refresh bird ey view updatelin idocu fleft getdocu fleft getlinecount fleftlinecount fleftlinecount fright getdocu fright getlinecount frightlinecount frightlinecount fleftcanva fleftcanva frightcanva frightcanva getcent updatevscrollbar refreshbirdseyeview privat void invalid line util ok ancestor canva ancestor canva redraw ancestor null ancestor control ok ancestor text widget redraw util ok left canva left canva redraw left null left control ok left text widget redraw util ok center center redraw null control ok text widget redraw util ok canva canva redraw invalidatelin isthreewai oktous fancestorcanva fancestorcanva fancestor fancestor iscontroloktous fancestor gettextwidget oktous fleftcanva fleftcanva fleft fleft iscontroloktous fleft gettextwidget oktous getcent getcent fright fright iscontroloktous fright gettextwidget oktous frightcanva frightcanva privat boolean show resolveui resolveui ignor ancestor return fals compar configur cc compar configur cc null return fals enabl resolv ui exactli side edit boolean cc left edit boolean cc edit return r return showresolveui fuseresolveui isthreewai fignoreancestor compareconfigur getcompareconfigur isleftedit isrightedit privat void paint center canva canva gc displai displai canva displai check color updat displai synchron scroll return int line height left text widget line height int visibl height viewport height point size canva size int 0 int size set background canva background fill rectangl 1 0 2 size motif draw thin line center ruler text set background displai system color swt color widget normal shadow fill rectangl 0 0 1 size fill rectangl 1 0 1 size highlight rang return boolean show resolveui show resolveui chang diff null int lshift left vertic scroll offset int rshift vertic scroll offset point region point 0 0 iter chang diff iter diff diff diff diff delet continu show current onli2 current diff diff continu left line rang diff left po region int ly region line height lshift int lh region line height line rang diff po region int ry region line height rshift int rh region line height math max ly lh ry rh 0 continu math min ly ry visibl height break pt 0 pt 1 ly pt 2 pt 3 ry pt 6 pt 7 ly lh pt 4 pt 5 ry rh color fill color color displai fill color diff color stroke color color displai stroke color diff singl line int w2 3 set background fill color fill rectangl 0 ly w2 lh left fill rectangl w2 ry w2 rh set line width lw set foreground stroke color draw rectangl 0 1 ly w2 lh left draw rectangl w2 ry w2 rh spline int point center curv point w2 ly lh 2 w2 ry rh 2 int 1 point length draw line w2 1 point 1 w2 point draw line w2 ly lh 2 w2 ry rh 2 line spline set background fill color set line width lw set foreground stroke color int top point center curv point pt 0 pt 1 pt 2 pt 3 int bottom point center curv point pt 6 pt 7 pt 4 pt 5 set foreground fill color draw line 0 bottom point 0 0 top point 0 int 1 bottom point length set foreground fill color draw line bottom point i top point set foreground stroke color draw line 1 top point 1 top point draw line 1 bottom point 1 bottom point set background fill color fill polygon pt set line width lw set foreground stroke color draw line pt 0 pt 1 pt 2 pt 3 draw line pt 6 pt 7 pt 4 pt 5 singl line show resolveui diff unresolv incom conflict draw resolv int cx resolv size 2 int cy ly lh 2 ry rh 2 resolv size 2 set background fill color fill rectangl cx cy resolv size resolv size set foreground stroke color draw rectangl cx cy resolv size resolv size paintcent getdisplai checkforcolorupd fsynchronizedscrol lineheight fleft gettextwidget getlineheight visibleheight fright getviewportheight getsiz setbackground getbackground fillrectangl fismotif setbackground getsystemcolor color_widget_normal_shadow fillrectangl fillrectangl fhighlightrang showresolveui showresolveui fchangediff fleft getverticalscrolloffset fright getverticalscrolloffset fchangediff hasnext isdelet fshowcurrentonli2 iscurrentdiff fleft getlinerang fleftpo lineheight lineheight fright getlinerang frightpo lineheight lineheight visibleheight fpt fpt fpt fpt fpt fpt fpt fpt fillcolor getcolor getfillcolor strokecolor getcolor getstrokecolor fusesinglelin setbackground fillcolor fillrectangl fillrectangl setlinewidth setforeground strokecolor drawrectangl drawrectangl fusesplin getcentercurvepoint drawlin drawlin fusesplin setbackground fillcolor setlinewidth setforeground strokecolor toppoint getcentercurvepoint fpt fpt fpt fpt bottompoint getcentercurvepoint fpt fpt fpt fpt setforeground fillcolor drawlin bottompoint toppoint bottompoint setforeground fillcolor drawlin bottompoint toppoint setforeground strokecolor drawlin toppoint toppoint drawlin bottompoint bottompoint setbackground fillcolor fillpolygon fpt setlinewidth setforeground strokecolor drawlin fpt fpt fpt fpt drawlin fpt fpt fpt fpt fusesinglelin showresolveui isunresolvedincomingorconflict resolv_size resolv_size setbackground fillcolor fillrectangl resolv_size resolv_size setforeground strokecolor drawrectangl resolv_size resolv_size privat int center curv point int startx int starti int endx int endi basic center curv null build base center curv endx startx doubl height endi starti height height 2 int width endx startx int point int width int 0 width point int height basic center curv height starti return point getcentercurvepoint fbasiccentercurv buildbasecentercurv fbasiccentercurv privat void build base center curv int doubl width basic center curv doubl center width int 0 center width doubl width basic center curv math co math pi buildbasecentercurv fbasiccentercurv getcenterwidth getcenterwidth fbasiccentercurv privat void paint side gc merg sourc viewer tp canva canva boolean displai displai canva displai int line height tp text widget line height int visibl height tp viewport height point size canva size int 0 int margin width int w2 2 set background canva background fill rectangl 0 size motif draw thin line ruler text set background displai system color swt color widget normal shadow fill rectangl 0 0 1 size fill rectangl size 1 0 1 size highlight rang return chang diff null int shift tp vertic scroll offset 2 lw point region point 0 0 iter chang diff iter diff diff diff diff delet continu show current onli2 current diff diff continu tp line rang diff posit tp region int region line height shift int region line height 0 continu visibl height break set background color displai fill color diff fill rectangl w2 fill rectangl w2 w2 set line width lw set foreground color displai stroke color diff draw rectangl 1 1 w2 draw rectangl w2 1 w2 paintsid mergesourceview getdisplai lineheight gettextwidget getlineheight visibleheight getviewportheight getsiz fmarginwidth setbackground getbackground fillrectangl fismotif setbackground getsystemcolor color_widget_normal_shadow fillrectangl fillrectangl fhighlightrang fchangediff getverticalscrolloffset fchangediff hasnext isdelet fshowcurrentonli2 iscurrentdiff getlinerang getposit lineheight lineheight visibleheight setbackground getcolor getfillcolor fillrectangl fillrectangl setlinewidth setforeground getcolor getstrokecolor drawrectangl drawrectangl privat void paint paint event event merg sourc viewer tp highlight rang return chang diff null return control canva control event widget gc event gc displai displai canva displai int line height tp text widget line height int canva size int shift tp vertic scroll offset 2 lw int maxh event event height visibl height motif shift top inset point rang point 0 0 iter chang diff iter diff diff diff diff delet continu show current current diff diff continu tp line rang diff posit tp rang int rang line height shift int rang line height event continu maxh break set background color displai stroke color diff fill rectangl 0 1 lw fill rectangl 0 1 lw paintev mergesourceview fhighlightrang fchangediff getdisplai lineheight gettextwidget getlineheight getsiz getverticalscrolloffset visibleheight fismotif ftopinset fchangediff hasnext isdelet fshowcurrentonli iscurrentdiff getlinerang getposit lineheight lineheight setbackground getcolor getstrokecolor fillrectangl fillrectangl privat rgb fill color diff diff boolean select current diff null current diff parent diff rgb select fill background null ignor ancestor switch diff direct case rang differ left local return select select fill incom fill return select select fill outgo fill case rang differ ancestor return select select fill conflict fill case rang differ left left local return select select fill outgo fill return select select fill incom fill case rang differ conflict return select select fill conflict fill return null return select select fill outgo fill getfillcolor fcurrentdiff fcurrentdiff fparent select_fill getbackground isthreewai fignoreancestor fdirect rangediffer fleftisloc select_fill incom_fill select_fill outgo_fill rangediffer select_fill conflict_fill rangediffer fleftisloc select_fill outgo_fill select_fill incom_fill rangediffer select_fill conflict_fill select_fill outgo_fill privat rgb stroke color diff diff boolean select current diff null current diff parent diff ignor ancestor switch diff direct case rang differ left local return select select incom incom return select select outgo outgo case rang differ ancestor return select select conflict conflict case rang differ left left local return select select outgo outgo return select select incom incom case rang differ conflict return select select conflict conflict return null return select select outgo outgo getstrokecolor fcurrentdiff fcurrentdiff fparent isthreewai fignoreancestor fdirect rangediffer fleftisloc select_incom select_outgo rangediffer select_conflict rangediffer fleftisloc select_outgo select_incom rangediffer select_conflict select_outgo privat color color displai displai rgb rgb rgb null return null color null color hash map 20 color color color rgb null color displai rgb color put rgb return getcolor fcolor fcolor hashmap fcolor fcolor static rgb interpol rgb fg rgb bg doubl scale fg null bg null return rgb int 1 0 scale fg red scale bg red int 1 0 scale fg green scale bg green int 1 0 scale fg blue scale bg blue fg null return fg bg null return bg return rgb 128 128 128 grai return true end begin document reach privat boolean navig boolean boolean wrap boolean deep diff diff null chang diff null merg sourc viewer part focu part part null part part null point part select rang diff find part chang diff x deep diff find prev part chang diff x deep diff null end begin wrap end doc reach end doc reach true end document reach return true end doc reach fals chang diff null chang diff size 0 diff diff chang diff 0 diff diff chang diff chang diff size 1 end doc reach fals return true set current diff diff true diff null diff direct rang differ ancestor ancestor enabl continu break return fals fchangediff mergesourceview ffocuspart fright getselectedrang findnext fchangediff findprev fchangediff fendofdocreach fendofdocreach endofdocumentreach fendofdocreach fchangediff fchangediff fchangediff fchangediff fchangediff fendofdocreach setcurrentdiff fdirect rangediffer getancestoren privat boolean end document reach boolean control control util ok c displai beep string kei end begin non nl 1 non nl 2 return messag dialog open question shell compar messag string text merg viewer kei titl non nl 1 non nl 2 compar messag string text merg viewer kei messag non nl 1 non nl 2 return fals endofdocumentreach getcontrol oktous getdisplai atend atbegin messagedialog openquest getshel comparemessag getstr textmergeview comparemessag getstr textmergeview find diff overlap text part text rang rang doesn overlap rang code null code return privat diff find diff merg sourc viewer tp int rang start int rang end chang diff null iter chang diff iter diff diff diff diff overlap tp rang start rang end return diff return null textpart finddiff mergesourceview rangestart rangeend fchangediff fchangediff hasnext rangestart rangeend privat static diff find merg sourc viewer tp list int start int end boolean deep int 0 size diff diff diff posit diff posit tp null int start offset offset end start offset return diff deep diff diff null diff null int end offset start offset length start start offset end end offset end end offset 1 find tp diff diff start 1 start 1 deep end end offset find tp diff diff start end deep null return return null findnext mergesourceview getposit startoffset getoffset startoffset fdiff endoffset startoffset getlength startoffset endoffset endoffset findnext fdiff endoffset findnext fdiff privat static diff find prev merg sourc viewer tp list int start int end boolean deep int size 1 0 diff diff diff posit diff posit tp null int start offset offset int end offset start offset length start end offset return diff deep diff diff null diff null start start offset end end offset find prev tp diff diff end end deep start start offset find prev tp diff diff start end deep null return return null findprev mergesourceview getposit startoffset getoffset endoffset startoffset getlength endoffset fdiff startoffset endoffset findprev fdiff startoffset findprev fdiff privat void set current diff diff boolean reveal select current diff return center button null center button set visibl fals end doc reach fals diff diff current diff null reveal select set current diff chang select paint code background color select isn drawn correctli ignor ancestor ancestor set select ancestor po left set select left po set select po switch diff current diff reveal diff d token current diff diff d1 diff null diff parent null diff d2 current diff null current diff parent null d1 d2 updat diff background d1 updat diff background d2 updat control invalid line refresh bird ey view setcurrentdiff revealandselect fcurrentdiff fcenterbutton fcenterbutton setvis fendofdocreach olddiff fcurrentdiff revealandselect fcurrentdiff isthreewai fignoreancestor fancestor setselect fancestorpo fleft setselect fleftpo fright setselect frightpo fcurrentdiff revealdiff fistoken fcurrentdiff olddiff olddiff fparent fcurrentdiff fcurrentdiff fparent updatediffbackground updatediffbackground updatecontrol invalidatelin refreshbirdseyeview smart determin privat void reveal diff diff boolean smart boolean ancestor visibl fals boolean left visibl fals boolean visibl fals smart point region point 0 0 find start line diff text widget int ls left line rang left po region int rs line rang po region ignor ancestor int ancestor line rang ancestor po region ancestor top index ancestor bottom index ancestor visibl true ls left top index ls left bottom index left visibl true rs top index rs bottom index visibl true vertic scroll left visibl visibl int avpo 0 lvpo 0 rvpo 0 merg sourc viewer null left visibl avpo lvpo rvpo real virtual posit left left top index left visibl avpo lvpo rvpo real virtual posit right top index ancestor visibl avpo lvpo rvpo real virtual posit ancestor ancestor top index ancestor diff null int vpo 0 iter diff iter int 0 diff diff diff diff break synchron scroll vpo diff max diff height show ancestor avpo diff ancestor height lvpo diff left height rvpo diff height synchron scroll avpo lvpo rvpo vpo int delta viewport line 4 avpo delta avpo 0 avpo 0 lvpo delta lvpo 0 lvpo 0 rvpo delta rvpo 0 rvpo 0 scroll vertic avpo lvpo rvpo fv scroll bar null fv scroll bar set select avpo horizont scroll token scroll horizont token diff reveal ancestor ancestor po reveal left left po reveal right po case reset horizont offset hscroll ancestor hscroll left hscroll revealdiff ancestorisvis leftisvis rightisvis fleft getlinerang fleftpo fright getlinerang frightpo isthreewai fignoreancestor fancestor getlinerang fancestorpo fancestor gettopindex fancestor getbottomindex ancestorisvis fleft gettopindex fleft getbottomindex leftisvis fright gettopindex fright getbottomindex rightisvis leftisvis rightisvis mergesourceview allbutthi leftisvis realtovirtualposit fleft fleft gettopindex allbutthi fleft rightisvis realtovirtualposit fright fright gettopindex allbutthi fright ancestorisvis realtovirtualposit fancestor fancestor gettopindex allbutthi fancestor falldiff falldiff hasnext fsynchronizedscrol getmaxdiffheight fshowancestor getancestorheight getleftheight getrightheight fsynchronizedscrol fright getviewportlin scrollvert allbutthi fvscrollbar fvscrollbar setselect fistoken fancestor fancestorpo fleft fleftpo fright frightpo fancestor fleft fright privat static void reveal merg sourc viewer posit null null style text st text widget st null rectangl st client area empti workaround 7320 diff scroll go current diff reveal rang offset length mergesourceview styledtext gettextwidget getclientarea isempti revealrang privat static void hscroll merg sourc viewer v null style text st text widget st null st set horizont index 0 mergesourceview styledtext gettextwidget sethorizontalindex void copi unresolv boolean left chang diff null ignor ancestor rewrit target target left right rewrit target left rewrit target boolean compound chang start fals iter chang diff iter try diff diff diff switch diff direct case rang differ left left compound chang start target begin compound chang compound chang start true copi diff left break case rang differ left compound chang start target begin compound chang compound chang start true copi diff left break default continu final compound chang start target end compound chang copyallunresolv lefttoright fchangediff isthreewai fignoreancestor irewritetarget lefttoright fright getrewritetarget fleft getrewritetarget compoundchangestart fchangediff hasnext fdirect rangediffer lefttoright compoundchangestart begincompoundchang compoundchangestart lefttoright rangediffer lefttoright compoundchangestart begincompoundchang compoundchangestart lefttoright compoundchangestart endcompoundchang protect void copi boolean left show resolveui copi unresolv left invalid line return left left enabl copi text string text left text widget text text widget set text text set enabl true delet text widget set text non nl 1 set enabl fals line count line count set dirti true enabl copi text string text text widget text left text widget set text text left set enabl true delet left text widget set text non nl 1 left set enabl fals left line count left line count set left dirti true diff invalid line updatev scroll bar select diff refresh bird ey view lefttoright showresolveui copyallunresolv lefttoright invalidatelin lefttoright fleft geten fleft gettextwidget gettext fright gettextwidget settext fright seten fright gettextwidget settext fright seten frightlinecount fright getlinecount setrightdirti fright geten fright gettextwidget gettext fleft gettextwidget settext fleft seten fleft gettextwidget settext fleft seten fleftlinecount fleft getlinecount setleftdirti dodiff invalidatelin updatevscrollbar selectfirstdiff refreshbirdseyeview privat void copi diff left copi current diff true fals copydifflefttoright fcurrentdiff privat void copi diff left copi current diff fals fals copydiffrighttoleft fcurrentdiff privat void copi diff diff boolean left boolean goto copi diff left goto navig true true true reveal diff diff true updat control lefttoright gotonext lefttoright gotonext revealdiff updatecontrol privat boolean copi diff diff boolean left diff null diff resolv posit po null posit po null document doc null document doc null left right set enabl true po diff left po po diff po doc left document doc document left set enabl true po diff po po diff left po doc document doc left document doc null int start po offset int len po length int start po offset int len po length try string null switch diff direct case rang differ case rang differ left doc start len break case rang differ ancestor break case rang differ conflict append conflict doc start len doc start len doc start len break null doc replac start len po set offset start po set length length catch bad locat except silent diff set resolv true updat resolv statu return true return fals lefttoright isresolv frompo topo idocu fromdoc idocu todoc lefttoright fright seten frompo fleftpo topo frightpo fromdoc fleft getdocu todoc fright getdocu fleft seten frompo frightpo topo fleftpo fromdoc fright getdocu todoc fleft getdocu fromdoc fromstart frompo getoffset fromlen frompo getlength tostart topo getoffset tolen topo getlength fdirect rangediffer rangediffer fromdoc fromstart fromlen rangediffer rangediffer append_conflict todoc tostart tolen fromdoc fromstart fromlen fromdoc fromstart fromlen todoc tostart tolen topo setoffset tostart topo setlength badlocationexcept setresolv updateresolvestatu calcul virtual height line view ad maximum diff privat int virtual height int 1 diff null iter diff iter int 0 diff diff diff diff max diff height show ancestor return getvirtualheight falldiff falldiff hasnext getmaxdiffheight fshowancestor calcul height line view ad height diff privat int height int 1 diff null iter diff iter int 0 diff diff diff diff height return getrightheight falldiff falldiff hasnext getrightheight height text editor line privat int viewport height style text te left text widget int vh te client area height vh 0 rectangl trim te comput trim 0 0 0 0 int scrollbar height trim height int header height header height composit composit composit control rectangl composit client area vh height header height scrollbar height return vh te line height texteditor getviewportheight styledtext fleft gettextwidget getclientarea computetrim scrollbarheight headerheight getheaderheight getcontrol getclientarea headerheight scrollbarheight getlineheight return virtual posit view posit privat int real virtual posit merg sourc viewer int vpo synchron scroll diff null return vpo int view po 0 real view posit int virtual po 0 virtual posit point region point 0 0 iter diff iter diff diff diff posit po diff posit w line rang po region int real height region int virtual height diff max diff height show ancestor vpo view po real height ok found vpo view po rel slot scale posit slot virtual slot real height 0 vpo 0 vpo vpo virtual height real height return virtual po vpo view po real height virtual po virtual height return virtual po realtovirtualposit mergesourceview fsynchronizedscrol falldiff viewpo virtualpo falldiff hasnext getposit getlinerang realheight virtualheight getmaxdiffheight fshowancestor viewpo realheight viewpo realheight virtualheight realheight virtualpo viewpo realheight virtualpo virtualheight virtualpo privat void scroll vertic int avpo int lvpo int rvpo merg sourc viewer int 0 synchron scroll virtual height rvpo int height viewport line 4 0 0 height height scroll true ancestor synchron scroll null int virtual real posit ancestor avpo s ancestor vscroll left synchron scroll null int virtual real posit left lvpo s left vscroll synchron scroll null int virtual real posit rvpo s vscroll scroll fals ancestor canva null ancestor canva repaint left canva null left canva repaint control center center center instanceof buffer canva buffer canva center repaint canva null canva repaint scrollvert mergesourceview allbut fsynchronizedscrol getvirtualheight fright getviewportlin finscrol isthreewai allbut fancestor fsynchronizedscrol allbut virtualtorealposit fancestor fancestor allbut fleft fsynchronizedscrol allbut virtualtorealposit fleft fleft allbut fright fsynchronizedscrol allbut virtualtorealposit fright fright finscrol isthreewai fancestorcanva fancestorcanva fleftcanva fleftcanva getcent bufferedcanva bufferedcanva frightcanva frightcanva updat scrollbar viewport privat void sync viewport merg sourc viewer scroll return int ix top index int ix2 document region offset int view posit real virtual posit ix ix2 scroll vertic view posit view posit view posit scroll view fv scroll bar null int math max 0 math min view posit virtual height viewport height fv scroll bar set select refresh bird ey view syncviewport mergesourceview finscrol gettopindex getdocumentregionoffset viewposit realtovirtualposit scrollvert viewposit viewposit viewposit fvscrollbar viewposit getvirtualheight getviewportheight fvscrollbar setselect refreshbirdeyeview privat void updatev scroll bar util ok fv scroll bar synchron scroll int virtual height virtual height int view port height viewport height int page increment view port height 1 int thumb view port height virtual height virtual height view port height fv scroll bar set page increment page increment fv scroll bar set maximum virtual height fv scroll bar set thumb thumb updatevscrollbar oktous fvscrollbar fsynchronizedscrol virtualheight getvirtualheight viewportheight getviewportheight pageincr viewportheight viewportheight virtualheight virtualheight viewportheight fvscrollbar setpageincr pageincr fvscrollbar setmaximum virtualheight fvscrollbar setthumb map virtual posit real view posit view privat int virtual real posit merg sourc viewer part int synchron scroll diff null return int virtual po 0 int view po 0 point region point 0 0 iter diff iter diff diff diff posit po diff posit part int view height part line rang po region int virtual height diff max diff height show ancestor virtual po virtual height virtual po rel slot view height 0 0 v view height virtual height return view po virtual po virtual height view po view height return view po virtualtorealposit mergesourceview fsynchronizedscrol falldiff virtualpo viewpo falldiff hasnext getposit viewheight getlinerang virtualheight getmaxdiffheight fshowancestor virtualpo virtualheight virtualpo viewheight viewheight virtualheight viewpo virtualpo virtualheight viewpo viewheight viewpo pair structur creator structur creator type element edit type element item structur creator structur creator edit edit item item istructurecr structurecr itypedel itypedel fstructurecr structurecr fedit fitem pair structur creator structur creator type element edit structur creator edit edit istructurecr structurecr itypedel structurecr type element edit return edit itypedel getedit fedit type element item return item itypedel getitem fitem content lazili load privat string content content null structur creator null content structur creator content item fals item instanceof stream content accessor stream content accessor sca stream content accessor item try content util read string sca catch core except need content null content non nl 1 return content getcont fcontent fstructurecr fcontent fstructurecr getcont fitem fitem istreamcontentaccessor istreamcontentaccessor istreamcontentaccessor fitem fcontent readstr coreexcept needwork fcontent fcontent fcontent compar content item public boolean equal object other null class class content equal pair content return true return super equal getclass getclass getcont getcont creat modal resiz dialog titl icon label configur resourc bundl resourc kei pre kei type descript titl string dialog titl width integ initi width dialog height integ initi height dialog tree titl format messag format pane titl edit tree arg 0 target date icon string icon node edit tree path rel plugin icon string icon leaf edit tree path rel plugin todai format messag format format string date todai date arg 0 date yesterdai format messag format format string date yesterdai date arg 0 date format messag format format string date date arg 0 date edit label string label edit side compar viewer arg 0 date target label string label target side compar viewer button label string label ok button default dialog constant ok label pre param parent code null code dialog stai top parent shell param bundl code resourc bundl code configur dialog public edit select dialog shell parent resourc bundl bundl super parent bundl treetitleformat messageformat dateicon timeicon todayformat messageformat yesterdayformat messageformat dayformat messageformat editionlabel targetlabel buttonlabel idialogconst ok_label resourcebundl editionselectiondialog resourcebundl privat compar configur compar configur compar configur null compar configur compar configur compar configur set left edit fals compar configur set edit fals return compar configur compareconfigur getcompareconfigur fcompareconfigur fcompareconfigur compareconfigur fcompareconfigur setleftedit fcompareconfigur setrightedit fcompareconfigur set addit option argument edit pane titl param titl argument option argument edit pane titl 2 0 public void set edit titl argument string titl argument titl arg titl argument titleargu seteditiontitleargu titleargu ftitlearg titleargu set option imag edit pane titl param titl imag option imag edit pane titl 2 0 public void set edit titl imag imag titl imag titl imag titl imag titleimag seteditiontitleimag titleimag ftitleimag titleimag select previou edit present ui param target input object edit compar code null code param input edit list edit element type code type element code param ppath code null code dialog show full input non code null code extract subsect return return select edit code null code error occur return code type element code origin edit code path code code null code code type element code return code structur creator locat path item code 2 0 public type element select previou edit final type element target type element input edit object ppath assert null target target pair pair null target sort input edit final int count input edit length final modif date edit modif date count int 0 count edit i modif date input edit count 1 intern sort edit 0 count 1 find structur creator ppath null structur creator structur creator null ppath null string type target type structur creator descriptor scd compareui plugin default structur creator type scd null structur creator scd creat structur creator add mode add mode return null structur creator null pair pair creat pair structur creator ppath target pair null target pair pair ppath null couldn extract item error front newest oldest int 0 count i type element edit type element edit pair pair null structur creator null ppath null extract element edit pair creat pair structur creator ppath edit pair pair null edit pair null pair error return null pair null target pair equal pair return pair item found return null inputedit itypedel itypedel itypedel istructurecr itypedel selectpreviousedit itypedel itypedel inputedit isnotnul ftargetpair inputedit imodificationd imodificationd imodificationd inputedit internalsort structurecr istructurecr structurecr gettyp structurecreatordescriptor compareuiplugin getdefault getstructurecr structurecr createstructurecr faddmod structurecr createpair structurecr ftargetpair itypedel itypedel structurecr createpair structurecr fhaserror ftargetpair fitem thread thread public void run front newest oldest int 0 count edit tree null edit tree dispos break type element edit type element edit extract element edit pair pair creat pair sc path edit pair null send pair pair send pair null fthread feditiontre feditiontre isdispos itypedel itypedel createpair sendpair sendpair thread thread public void run front newest oldest int 0 count edit tree null edit tree dispos break type element edit type element edit i structur compar sco2 sc locat contain edit sco2 null object children sco2 children children null int i2 0 i2 children length i2 type element child type element children i2 current child send pair pair sc edit child send pair null fthread feditiontre feditiontre isdispos itypedel itypedel istructurecompar getchildren itypedel itypedel sendpair sendpair present modal dialog function class comment param target input object edit compar code null code param input edit list edit element type code type element code param ppath code null code dialog show full input non code null code extract subsect return return select edit code null code dialog cancel return code type element code origin edit code path code code null code code type element code return code structur creator locat path item code public type element select edit final type element target type element input edit object ppath assert null target target pair pair null target sort input edit final int count input edit length final modif date edit modif date count int 0 count edit i modif date input edit count 1 intern sort edit 0 count 1 find structur creator ppath null structur creator structur creator null ppath null string type target type structur creator descriptor scd compareui plugin default structur creator type scd null structur creator scd creat structur creator add mode replac mode structur creator null pair pair creat pair structur creator ppath target pair null target pair pair ppath null couldn extract item error set left label compar viewer string target label target label target target pair item target compar configur set label target label compar configur set left label target label structur creator null ppath null extract element final structur creator sc structur creator final object path ppath construct compar thread perform background extract thread thread public void run front newest oldest int 0 count edit tree null edit tree dispos break type element edit type element edit extract element edit pair pair creat pair sc path edit pair null send pair pair send pair null creat tree widget creat front newest oldest int 0 count add member edit pair null type element edit add mode final object contain ppath assert null contain structur creator null return null error extract element contain final hash set current hash set structur compar sco structur creator locat contain target sco null object children sco children children null int 0 children length current add children final structur creator sc structur creator construct compar thread perform background extract thread thread public void run front newest oldest int 0 count edit tree null edit tree dispos break type element edit type element edit i structur compar sco2 sc locat contain edit sco2 null object children sco2 children children null int i2 0 i2 children length i2 type element child type element children i2 current child send pair pair sc edit child send pair null open return code ok return select item return null inputedit itypedel itypedel itypedel istructurecr itypedel selectedit itypedel itypedel inputedit isnotnul ftargetpair inputedit imodificationd imodificationd imodificationd inputedit internalsort structurecr istructurecr structurecr gettyp structurecreatordescriptor compareuiplugin getdefault getstructurecr structurecr createstructurecr faddmod structurecr createpair structurecr ftargetpair targetlabel gettargetlabel ftargetpair getitem ftargetisright getcompareconfigur setrightlabel targetlabel getcompareconfigur setleftlabel targetlabel structurecr istructurecr structurecr fthread feditiontre feditiontre isdispos itypedel itypedel createpair sendpair sendpair addmemberedit itypedel isnotnul structurecr hashset hashset istructurecompar structurecr getchildren istructurecr structurecr fthread feditiontre feditiontre isdispos itypedel itypedel istructurecompar getchildren itypedel itypedel sendpair sendpair getreturncod fselecteditem privat pair creat pair structur creator sc object path type element input structur compar scmp sc locat path input scmp null sc structur input null pars error pair pair sc input error true return scmp instanceof type element return pair sc input type element scmp return null createpair istructurecr itypedel istructurecompar getstructur fhaserror itypedel itypedel control ident entri shown default method call code select edit code param hide true ident entri hidden shown 2 0 public void set hide ident entri boolean hide hide ident hide selectedit sethideidenticalentri fhideident control workspac target left default hand side param true target shown hand side 2 0 public void set target boolean target right isright settargetisright isright ftargetisright isright control code edit select dialog code add mode replac mode default param add mode true dialog add mode 2 0 public void set add mode boolean add mode add mode add mode multi select add mode editionselectiondialog addmod setaddmod addmod faddmod addmod fmultiselect addmod control code edit select dialog code compar mode add replac default mode param compar mode true dialog add mode 2 0 public void set compar mode boolean compar mode compar mode compar mode structur compar compar mode add mode editionselectiondialog comparemod setcomparemod comparemod fcomparemod comparemod fstructurecompar fcomparemod faddmod return input target recent call code select edit code code null code path method return subsect target code structur creator locat path target code input target code target code java compil unit code path code specifi method return code target code method compil unit return target subsect thereof public type element target return target pair item selectedit istructurecr gettarget itypedel gettarget ftargetpair getitem return edit select recent call code select edit code return select edit arrai 2 1 public type element select arrai list result arrai list member select null iter iter arrai list iter int 0 iter object edit iter object item member select edit item null result add item select item null result add select item return type element result arrai type element result size selectedit itypedel getselect arraylist arraylist fmemberselect farraylist hasnext fmemberselect fselecteditem fselecteditem itypedel toarrai itypedel return label identifi target side compar viewer implement extract kei target label resourc bundl pass format argument code messag format format code singl format argument code messag format format code 0 format string the input element subclass overrid creat label param target target element label return param item path code select edit code element target target return label target side compar viewer protect string target label type element target type element item string format null target instanceof resourc node format util string bundl workspac target label null non nl 1 format null format util string bundl target label non nl 1 format null format 0 non nl 1 return messag format format format object target targetlabel messageformat messageformat selectedit gettargetlabel itypedel itypedel resourcenod getstr fbundl workspacetargetlabel getstr fbundl targetlabel messageformat getnam return label identifi edit side compar viewer implement extract kei edit label resourc bundl pass format argument code messag format format code singl format argument code messag format format code 0 format string format modif date input element subclass overrid creat label param select edit select edit label return param item path code select edit code element select edit select edit return label edit side compar viewer protect string edit label type element select edit type element item string format null select edit instanceof resourc node format util string bundl workspac edit label null non nl 1 select edit instanceof histori item format util string bundl histori edit label null non nl 1 format null format util string bundl edit label non nl 1 format null format 0 non nl 1 string date non nl 1 select edit instanceof modif date mod date modif date select edit modif date date date format date instanc format date mod date return messag format format format object date editionlabel messageformat messageformat selectededit selectedit selectededit selectededit geteditionlabel itypedel selectededit itypedel selectededit resourcenod getstr fbundl workspaceeditionlabel selectededit historyitem getstr fbundl historyeditionlabel getstr fbundl editionlabel selectededit imodificationd moddat imodificationd selectededit getmodificationd dateformat getdatetimeinst moddat messageformat return label identifi node edit tree viewer implement extract kei workspac tree format tree format order resourc bundl pass format argument code messag format format code singl format argument code messag format format code 0 format string format modif date input element subclass overrid creat label param edit edit label return param item path code edit code element edit edit return label node edit tree viewer 2 0 protect string short edit label type element edit type element item date date string format null edit instanceof resourc node format util string bundl workspac tree format null non nl 1 format null format util string bundl tree format null non nl 1 format null format 0 non nl 1 string ds date format instanc format date return messag format format format object ds workspacetreeformat treeformat messageformat messageformat getshorteditionlabel itypedel itypedel resourcenod getstr fbundl workspacetreeformat getstr fbundl treeformat dateformat gettimeinst messageformat return imag identifi edit side compar viewer implement extract kei edit label resourc bundl pass format argument code messag format format code singl format argument code messag format format code 0 format string format modif date input element subclass overrid creat label param select edit select edit label return param item path code select edit code element select edit select edit return label edit side compar viewer 2 0 protect imag edit imag type element select edit type element item select edit instanceof resourc node return select edit imag select edit instanceof histori item imag null string icon util string bundl icon obj16 resourc obj gif non nl 1 non nl 2 imag descriptor id compareui plugin imag descriptor icon id null imag id creat imag return imag return null editionlabel messageformat messageformat selectededit selectedit selectededit selectededit geteditionimag itypedel selectededit itypedel selectededit resourcenod selectededit getimag selectededit historyitem ftimeimag iconnam getstr fbundl timeicon resourc_obj imagedescriptor compareuiplugin getimagedescriptor iconnam ftimeimag createimag ftimeimag protect synchron control creat dialog area composit parent2 composit parent composit super creat dialog area parent2 shell set text util string bundl titl non nl 1 splitter vsplitter splitter parent swt vertic vsplitter set layout data grid data grid data horizont align fill grid data grab horizont grid data vertic align fill grid data grab vertic vsplitter add dispos listen dispos listen public void widget dispos dispos event compar configur null compar configur dispos compar configur null date imag null date imag dispos date imag null imag null imag dispos imag null add mode need pane left element the edit splitter hsplitter splitter vsplitter swt horizont member pane compar viewer pane hsplitter swt border swt flat member pane set text util string bundl member pane titl non nl 1 int flag swt scroll swt scroll multi select flag swt check member tabl tabl member pane flag member tabl add select listen select adapt public void widget select select event detail swt check item instanceof tabl item tabl item ti tabl item item object data ti data ti check arrai list add data arrai list remov data commit button null commit button set enabl arrai list size 0 member tabl set select tabl item ti handl member select item member pane set content member tabl member tabl set focu edit pane compar viewer pane hsplitter swt border swt flat structur compar need pane left element the structur diff splitter hsplitter splitter vsplitter swt horizont edit pane compar viewer pane hsplitter swt border swt flat structur compar pane compar viewer switch pane hsplitter swt border swt flat true protect viewer viewer viewer viewer object input input instanceof compar input return compareui find structur viewer viewer compar input input compar configur return null structur compar pane add select chang listen select chang listen public void select chang select chang event feed input2 select singl pane show edit edit pane compar viewer pane vsplitter swt border swt flat titl arg null titl arg target pair item string titl format util string bundl tree titl format non nl 1 string titl messag format format titl format string titl arg edit pane set text titl titl imag null edit pane set imag titl imag edit tree tree edit pane swt scroll swt scroll edit tree add select listen select adapt public void widget default select select event handl default select public void widget select select event feed input item edit pane set content edit tree start thread forget thread null thread start thread null content pane compar viewer switch pane vsplitter swt border swt flat protect viewer viewer viewer viewer object input return compareui find content viewer viewer input compar configur vsplitter set weight int 30 70 appli dialog font parent return parent createdialogarea createdialogarea getshel settext getstr fbundl setlayoutdata griddata griddata horizont_align_fill griddata grab_horizont griddata vertic_align_fill griddata grab_vertic adddisposelisten disposelisten widgetdispos disposeev fcompareconfigur fcompareconfigur fcompareconfigur fdateimag fdateimag fdateimag ftimeimag ftimeimag ftimeimag faddmod fmemberpan compareviewerpan fmemberpan settext getstr fbundl memberpanetitl h_scroll v_scroll fmultiselect fmembert fmemberpan fmembert addselectionlisten selectionadapt widgetselect selectionev tableitem tableitem tableitem getdata getcheck farraylist farraylist fcommitbutton fcommitbutton seten farraylist fmembert setselect tableitem handlememberselect fmemberpan setcont fmembert fmembert setfocu feditionpan compareviewerpan fstructurecompar feditionpan compareviewerpan fstructuredcomparepan compareviewerswitchingpan getview oldview icompareinput findstructureview oldview icompareinput getcompareconfigur fstructuredcomparepan addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev feedinput2 getselect feditionpan compareviewerpan ftitlearg ftitlearg ftargetpair getitem getnam titleformat getstr fbundl treetitleformat messageformat titleformat ftitlearg feditionpan settext ftitleimag feditionpan setimag ftitleimag feditiontre feditionpan h_scroll v_scroll feditiontre addselectionlisten selectionadapt widgetdefaultselect selectionev handledefaultselect widgetselect selectionev feedinput feditionpan setcont feditiontre fthread fthread fthread fcontentpan compareviewerswitchingpan getview oldview findcontentview oldview getcompareconfigur setweight applydialogfont protect void creat button button bar composit parent string button label util string bundl button label dialog constant ok label non nl 1 compar mode button creat button parent dialog constant cancel id button label fals cancel add replac button commit button creat button parent dialog constant ok id button label true commit button set enabl fals creat button parent dialog constant cancel id dialog constant cancel label fals createbuttonsforbuttonbar buttonlabel getstr fbundl buttonlabel idialogconst ok_label fcomparemod createbutton idialogconst cancel_id buttonlabel fcommitbutton createbutton idialogconst ok_id buttonlabel fcommitbutton seten createbutton idialogconst cancel_id idialogconst cancel_label overidden disabl dismiss doubl click compar mode 2 0 protect void ok press compar mode don dismiss dialog super ok press okpress fcomparemod okpress displai async exec runnabl public void run add member edit pair asyncexec addmemberedit asynchron send pair null ui thread privat void send pair final pair pair edit tree null edit tree dispos displai displai edit tree displai displai async exec runnabl public void run add member edit pair sendpair feditiontre feditiontre isdispos feditiontre getdisplai asyncexec addmemberedit privat static void intern sort modif date kei int left int int origin left left int origin right modif date mid kei left 2 kei left modif date mid modif date left mid modif date kei modif date left modif date tmp kei left kei left kei kei tmp left left origin left intern sort kei origin left left origin intern sort kei left origin internalsort imodificationd origin_left origin_right imodificationd getmodificationd getmodificationd getmodificationd getmodificationd imodificationd origin_left internalsort origin_left origin_right internalsort origin_right add pair member edit hide ident true pair ad content preceed pair argument code null code messag edit found shown member edit viewer privat void add member edit pair pair pair null end list pair member tabl null member tabl dispos member tabl item count 0 multi select member tabl dispos member tabl tabl member pane swt member pane set content member tabl tabl item ti tabl item member tabl swt ti set text util string bundl addit member messag non nl 1 return edit tree null edit tree dispos edit tree item count 0 tree item ti tree item edit tree swt ti set text util string bundl found local histori messag non nl 1 return member edit null member edit hash map multi select member select null member select hash map type element item pair item list edit list member edit item edit null edit arrai list member edit put item edit member tabl null member tabl dispos type element te item string te find posit tabl item item member tabl item int item length int 0 string item text compar 0 break tabl item ti tabl item member tabl swt null ti set imag te imag ti set text ti set data edit hide ident pair target pair int size edit size size 0 pair edit size 1 null equal pair return don add equal edit add pair add mode edit current edit add edit pair hide_ident addmemberedit fmembert fmembert isdispos fmembert getitemcount fmultiselect fmembert fmembert fmemberpan fmemberpan setcont fmembert tableitem tableitem fmembert settext getstr fbundl noadditionalmembersmessag feditiontre feditiontre isdispos feditiontre getitemcount treeitem treeitem feditiontre settext getstr fbundl notfoundinlocalhistorymessag fmemberedit fmemberedit hashmap fmultiselect fmemberselect fmemberselect hashmap itypedel getitem fmemberedit arraylist fmemberedit fmembert fmembert isdispos itypedel getnam tableitem fmembert getitem gettext compareto tableitem tableitem fmembert setimag getimag settext setdata fhideident ftargetpair faddmod fcurrentedit addedit return number jan 1st 1970 date convert gmt daylight save account privat number date int ms 24 60 60 1000 milli second calendar calendar calendar instanc local offset calendar calendar zone offset calendar calendar dst offset return date local offset ms daynumb on_dai_ms getinst localtimeoffset zone_offset dst_offset localtimeoffset on_dai_ms add pair edit tree take care creat tree node date privat void add edit pair pair edit tree null edit tree dispos return find tree item dai edit tree item tree item null dai length 0 dai dai length 1 boolean null type element edit pair edit type element item pair item ldate modif date edit modif date dai number ldate date date date ldate null dai number date data tree item edit tree swt date imag null string icon util string bundl date icon obj16 obj gif non nl 2 non nl 1 imag descriptor id compareui plugin imag descriptor icon id null date imag id creat imag set imag date imag string df date format date instanc format date todai number system current milli string format kei todai format kei todai format non nl 1 todai 1 format kei yesterdai format non nl 1 format kei format non nl 1 string pattern util string bundl format kei pattern null df messag format format pattern string df set text df set data date tree item ti tree item swt ti set imag edit imag edit item string short edit label edit item date pair error string pattern util string bundl pars error format non nl 1 messag format format pattern string ti set text ti set data pair determin select tree item tree item select ti null member select null object select member select current edit select null select pair item select ti select null select null edit tree set select tree item select add mode edit tree set focu feed input select expand node set expand true addedit feditiontre feditiontre isdispos treeitem feditiontre getitem treeitem lastdai lastdai lastdai itypedel getedit itypedel getitem imodificationd getmodificationd daynumb lastdai daynumb lastdai getdata gettim lastdai treeitem feditiontre fdateimag iconnam getstr fbundl dateicon dai_obj imagedescriptor compareuiplugin getimagedescriptor iconnam fdateimag createimag lastdai setimag fdateimag dateformat getdateinst daynumb currenttimemilli formatkei formatkei todayformat formatkei yesterdayformat formatkei dayformat getstr fbundl formatkei messageformat lastdai settext lastdai setdata treeitem treeitem lastdai setimag geteditionimag getshorteditionlabel fhaserror getstr fbundl parseerrorformat messageformat settext setdata treeitem treeitem fmemberselect fmemberselect fcurrentedit getitem feditiontre setselect treeitem faddmod feditiontre setfocu feedinput lastdai setexpand feed select member viewer edit viewer privat void handl member select widget object data data data instanceof list list edit list data edit current edit current edit edit edit tree remov string pattern util string bundl tree titl format non nl 1 string titl messag format format pattern object item text edit pane set text titl iter iter edit iter iter object item iter item instanceof pair add edit pair item handlememberselect getdata fcurrentedit fcurrentedit feditiontre removeal getstr fbundl treetitleformat messageformat gettext feditionpan settext hasnext addedit privat void set input object input compar input instanceof compar input compar input ci compar input input target input ci left input ci content pane set input input structur compar pane null structur compar pane set input input setinput fcompar icompareinput icompareinput icompareinput ftargetisright getleft getright fcontentpan setinput fstructuredcomparepan fstructuredcomparepan setinput privat void feed input widget object input data boolean isok fals input instanceof pair pair pair pair input select item pair item isok pair error type element edit pair edit string edit label edit label edit select item imag edit imag edit imag edit select item add mode member select null member select put current edit select item set input select item content pane set text edit label content pane set imag edit imag compar configur target compar configur set left label edit label compar configur set left imag edit imag set input diff node select item target pair item compar configur set label edit label compar configur set imag edit imag set input diff node target pair item select item select item null set input null commit button null multi select commit button set enabl isok select item null arrai list size 0 commit button set enabl isok select item null target pair item select item feedinput getdata fselecteditem getitem fhaserror itypedel getedit editionlabel geteditionlabel fselecteditem editionimag geteditionimag fselecteditem faddmod fmemberselect fmemberselect fcurrentedit fselecteditem setinput fselecteditem fcontentpan settext editionlabel fcontentpan setimag editionimag getcompareconfigur ftargetisright fcompareconfigur setleftlabel editionlabel fcompareconfigur setleftimag editionimag setinput diffnod fselecteditem ftargetpair getitem fcompareconfigur setrightlabel editionlabel fcompareconfigur setrightimag editionimag setinput diffnod ftargetpair getitem fselecteditem fselecteditem setinput fcommitbutton fmultiselect fcommitbutton seten fselecteditem farraylist fcommitbutton seten fselecteditem ftargetpair getitem fselecteditem privat void feed input2 select sel sel instanceof structur select structur select ss structur select sel ss size 1 content pane set input ss element feedinput2 iselect istructuredselect istructuredselect istructuredselect fcontentpan setinput getfirstel creat code histori item code object combin code file code code type element code object suitabl input compar viewer code replac edit dialog code param base implement code type element code interfac deleg base code type element code param file code file code streamabl content modif deriv public histori item type element base file file base base file file historyitem ifilest itypedel replacewitheditiondialog itypedel itypedel filest ifilest historyitem itypedel ifilest filest fbase ffilest filest type element public string return base itypedel getnam getnam fbase getnam type element imag public imag imag return base imag itypedel getimag getimag fbase getimag type element type public string type return base type itypedel gettyp gettyp fbase gettyp modif date modif date public modif date return file modif imodificationd getmodificationd getmodificationd ffilest getmodificationtim stream content accessor content public input stream content throw core except return buffer input stream file content istreamcontentaccessor getcont inputstream getcont coreexcept bufferedinputstream ffilest getcont public string charset throw core except string charset file charset charset null path full path file full path resourc resourc resourc plugin workspac root find member full path resourc instanceof encod storag charset encod storag resourc charset return charset getcharset coreexcept ffilest getcharset ipath fullpath ffilest getfullpath iresourc resourcesplugin getworkspac getroot findmemb fullpath iencodedstorag iencodedstorag getcharset start current select code select chang code select reveal previou chang end begin reach method return code true code param code true code chang select previou chang return return code true code end begin reach code fals code selectchang call content sourc chang param sourc sourc content chang add content chang listen notifi effect ident listen regist param listen content chang listen remov content chang listen notifi effect listen regist param listen content chang listen return code true code object modifi return code fals code method api call return code true code object modifi replac current content byte param content content replac content newcont method call parent add remov child copi content child encod argument follow tabl tr td add td td child null td td null td tr tr td remov td td child null td td null td tr tr td copi td td child null td td null td tr tabl return charset encod decod stream accessor content charact return code null code proper encod determin note method check result support charset caller prepar handl code unsupport encod except code charset return charset code null code except core except error happen determin charset refin inform stream content accessor content 3 0 unsupportedencodingexcept coreexcept istreamcontentaccessor getcont return modif object note give user gener idea object return modif millisecond januari 1 1970 00 00 00 gmt public abstract class abstract viewer extend viewer public void set input object input abstractview setinput public object input return null getinput public select select return null iselect getselect public void set select select boolean reveal setselect iselect public void refresh privat static final string bundl org eclips compar intern add histori action non nl 1 public add histori action bundl_name addfromhistoryact addfromhistoryact protect boolean enabl select select return util resourc select length 1 isen iselect getresourc protect void run select select resourc bundl bundl resourc bundl bundl bundl string titl util string bundl titl non nl 1 shell parent shell compareui plugin shell add histori dialog dialog null object util resourc select int 0 length object instanceof contain contain contain contain progress monitor dialog pmdialog progress monitor dialog parent shell progress monitor pm pmdialog progress monitor file state null try state contain find delet member histori resourc depth infinit pm catch core except pm state null state length 0 string msg util string bundl local histori error non nl 1 messag dialog open inform parent shell titl msg return dialog null dialog add histori dialog parent shell bundl dialog set help context id compar context id add histori dialog dialog select contain state add histori dialog histori input select dialog select select null select length 0 try updat workspac bundl parent shell select catch interrupt except oper cancel user catch invoc target except string reason target except messag messag dialog open error parent shell titl util format string bundl replac error reason non nl 1 iselect resourcebundl resourcebundl getbundl bundl_name getstr parentshel compareuiplugin getshel addfromhistorydialog getresourc icontain icontain icontain progressmonitordialog progressmonitordialog parentshel iprogressmonitor getprogressmonitor ifil finddeletedmemberswithhistori iresourc depth_infinit coreexcept getstr nolocalhistoryerror messagedialog openinform parentshel addfromhistorydialog parentshel sethelpcontextid icomparecontextid add_from_histori_dialog addfromhistorydialog historyinput getselect updateworkspac parentshel interruptedexcept invocationtargetexcept gettargetexcept getmessag messagedialog openerror parentshel getformattedstr replaceerror void creat contain resourc resourc throw core except contain contain resourc parent contain instanceof folder folder parent folder contain parent null parent exist creat contain parent parent creat fals true null createcontain iresourc coreexcept icontain getpar ifold ifold ifold createcontain workspac modifi oper oper workspac modifi oper public void execut progress monitor pm throw invoc target except try string task util string bundl task non nl 1 pm begin task task select length int 0 select length i file file select file file file select file creat contain file progress monitor monitor progress monitor pm 1 try file creat file content fals monitor final monitor catch core except throw invoc target except final pm workspacemodifyoper workspacemodifyoper iprogressmonitor invocationtargetexcept tasknam getstr tasknam begintask tasknam ifil ffile ifilest filest ffilest createcontain subprogressmonitor submonitor subprogressmonitor filest getcont submonitor submonitor coreexcept invocationtargetexcept privat void updat workspac final resourc bundl bundl shell shell final add histori dialog histori input select throw invoc target except interrupt except workspac modifi oper oper workspac modifi oper public void execut progress monitor pm throw invoc target except try string task util string bundl task non nl 1 pm begin task task select length int 0 select length i file file select file file file select file creat contain file progress monitor monitor progress monitor pm 1 try file creat file content fals monitor final monitor catch core except throw invoc target except final pm progress monitor dialog pmdialog progress monitor dialog shell pmdialog run fals true oper updateworkspac resourcebundl addfromhistorydialog historyinput invocationtargetexcept interruptedexcept workspacemodifyoper workspacemodifyoper iprogressmonitor invocationtargetexcept tasknam getstr tasknam begintask tasknam ifil ffile ifilest filest ffilest createcontain subprogressmonitor submonitor subprogressmonitor filest getcont submonitor submonitor coreexcept invocationtargetexcept progressmonitordialog progressmonitordialog file file histori input file file file file file file file file ifilest ffilest historyinput ifil ifilest filest ffile ffilest filest file file public input stream content throw core except return buffer input stream file content ffilest filest inputstream getcont coreexcept bufferedinputstream ffilest getcont public string charset string charset null try charset file charset catch core except fall charset null charset util charset file return charset getcharset ffilest getcharset coreexcept getcharset ffile return charset public string return file getnam ffile getnam return file public string type return file file extens ffile getnam gettyp ffile getfileextens return file file extens public imag imag return compareui imag file ffile getfileextens getimag getimag ffile return compareui imag file public modif date return file modif getimag ffile getmodificationd ffilest getmodificationtim privat int select file histori file file file file fselect filehistori ifil ffile file file return file ifil getfil ffile file state state null try state file histori null progress monitor catch core except need return state ifilest getstat fstate fstate ffile gethistori nullprogressmonitor coreexcept needwork fstate file select return state select ifilest getselectedst getstat fselect void set select file state int 0 state length state select return setselect ifilest fstate fstate fselect histori input histori input return histori input file select historyinput gethistoryinput historyinput ffile getselectedst boolean select int index return index select isselect fselect public add histori dialog shell parent resourc bundl bundl super parent bundl string icon util string bundl date icon obj16 obj gif non nl 2 non nl 1 imag descriptor id compareui plugin imag descriptor icon id null date imag id creat imag icon util string bundl icon obj16 resourc obj gif non nl 1 non nl 2 id compareui plugin imag descriptor icon id null imag id creat imag addfromhistorydialog resourcebundl iconnam getstr fbundl dateicon dai_obj imagedescriptor compareuiplugin getimagedescriptor iconnam fdateimag createimag iconnam getstr fbundl timeicon resourc_obj compareuiplugin getimagedescriptor iconnam ftimeimag createimag public boolean select contain root file input file creat creat widget string format util string bundl member pane titl non nl 1 string titl messag format format format object root member pane set imag compareui imag root member pane set text titl sort input file final int count input file length final file file file count int 0 count file input file count 1 intern sort file 0 count 1 string prefix root full path string member tabl null member tabl dispos int 0 file length i file file file string path file full path string path start prefix path path substr prefix length 1 tabl item ti tabl item member tabl swt ti set imag compareui imag file ti set text path ti set data file histori file open return return code ok arrai list size 0 icontain ifil inputfil getstr fbundl memberpanetitl messageformat getnam fmemberpan setimag getimag fmemberpan settext inputfil ifil ifil inputfil internalsort getfullpath tostr fmembert fmembert isdispos ifil getfullpath tostr startswith tableitem tableitem fmembert setimag getimag settext setdata filehistori getreturncod farraylist histori input select histori input select histori input arrai list size iter iter arrai list iter int 0 iter file histori file histori iter select histori input return select historyinput getselect historyinput historyinput farraylist farraylist hasnext filehistori filehistori gethistoryinput dispos listen public void widget dispos dispos event date imag null date imag dispos imag null imag dispos disposelisten widgetdispos disposeev fdateimag fdateimag ftimeimag ftimeimag select adapt public void widget select select event detail swt check item instanceof tabl item tabl item ti tabl item item ti check arrai list add ti data arrai list remov ti data commit button null commit button set enabl arrai list size 0 handl member select item selectionadapt widgetselect selectionev tableitem tableitem tableitem getcheck farraylist getdata farraylist getdata fcommitbutton fcommitbutton seten farraylist handlememberselect edit tree add select listen select adapt public void widget select select event feed content item feditiontre addselectionlisten selectionadapt widgetselect selectionev feedcont appli dialog font parent avoid appli font compar viewer content pane compar viewer switch pane vsplitter swt border swt flat protect viewer viewer viewer viewer object input return compareui find content viewer viewer input compar configur applydialogfont fcontentpan compareviewerswitchingpan getview oldview findcontentview oldview fcompareconfigur protect synchron control creat dialog area composit parent2 composit parent composit super creat dialog area parent2 shell set text util string bundl titl non nl 1 org eclips compar splitter vsplitter org eclips compar splitter parent swt vertic vsplitter set layout data grid data grid data horizont align fill grid data grab horizont grid data vertic align fill grid data grab vertic vsplitter add dispos listen dispos listen public void widget dispos dispos event date imag null date imag dispos imag null imag dispos need pane left element the edit splitter hsplitter splitter vsplitter swt horizont composit composit hsplitter swt grid layout layout grid layout layout margin width 0 layout margin height 2 layout vertic space 2 layout num column 1 set layout layout label l1 label swt l1 set text util string bundl member descript non nl 1 member pane compar viewer pane swt border swt flat grid data gd grid data grid data fill horizont grid data fill vertic member pane set layout data gd member tabl tabl member pane swt check swt scroll swt scroll member tabl add select listen select adapt public void widget select select event detail swt check item instanceof tabl item tabl item ti tabl item item ti check arrai list add ti data arrai list remov ti data commit button null commit button set enabl arrai list size 0 handl member select item member pane set content member tabl composit hsplitter swt layout grid layout layout margin width 0 layout margin height 2 layout vertic space 2 layout num column 1 set layout layout label l2 label swt l2 set text util string bundl edit descript non nl 1 edit pane compar viewer pane swt border swt flat gd grid data grid data fill horizont grid data fill vertic edit pane set layout data gd edit tree tree edit pane swt scroll swt scroll edit tree add select listen select adapt public void widget select select event feed content item edit pane set content edit tree appli dialog font parent avoid appli font compar viewer content pane compar viewer switch pane vsplitter swt border swt flat protect viewer viewer viewer viewer object input return compareui find content viewer viewer input compar configur vsplitter set weight int 30 70 return parent createdialogarea createdialogarea getshel settext getstr fbundl setlayoutdata griddata griddata horizont_align_fill griddata grab_horizont griddata vertic_align_fill griddata grab_vertic adddisposelisten disposelisten widgetdispos disposeev fdateimag fdateimag ftimeimag ftimeimag gridlayout gridlayout marginwidth marginheight verticalspac numcolumn setlayout settext getstr fbundl memberdescript fmemberpan compareviewerpan griddata griddata griddata fill_horizont griddata fill_vertic fmemberpan setlayoutdata fmembert fmemberpan h_scroll v_scroll fmembert addselectionlisten selectionadapt widgetselect selectionev tableitem tableitem tableitem getcheck farraylist getdata farraylist getdata fcommitbutton fcommitbutton seten farraylist handlememberselect fmemberpan setcont fmembert gridlayout marginwidth marginheight verticalspac numcolumn setlayout settext getstr fbundl editiondescript feditionpan compareviewerpan griddata griddata fill_horizont griddata fill_vertic feditionpan setlayoutdata feditiontre feditionpan h_scroll v_scroll feditiontre addselectionlisten selectionadapt widgetselect selectionev feedcont feditionpan setcont feditiontre applydialogfont fcontentpan compareviewerswitchingpan getview oldview findcontentview oldview fcompareconfigur setweight feed select member viewer edit viewer privat void handl member select widget object data null null data data data instanceof file histori file histori file histori data current file histori file file file file state state edit pane set imag compareui imag file string pattern util string bundl tree titl format non nl 1 string titl messag format format pattern object file edit pane set text titl edit tree null edit tree set redraw fals edit tree remov int 0 state length add edit histori input file state select edit tree set redraw true current file histori null handlememberselect getdata filehistori filehistori filehistori fcurrentfilehistori ifil getfil ifilest getstat feditionpan setimag getimag getstr fbundl treetitleformat messageformat getnam feditionpan settext feditiontre feditiontre setredraw feditiontre removeal addedit historyinput isselect feditiontre setredraw fcurrentfilehistori add pair edit tree take care creat tree node date privat void add edit histori input input boolean select edit tree null edit tree dispos return file state input file find tree item dai edit tree item tree item null dai length 0 dai dai length 1 ldate modif dai number ldate date date date ldate null dai number date data tree item edit tree swt set imag date imag string df date format date instanc format date todai number system current milli string format kei todai format kei todai format non nl 1 todai 1 format kei yesterdai format non nl 1 format kei format non nl 1 string pattern util string bundl format kei pattern null df messag format format pattern string df set text df set data date tree item ti tree item swt ti set imag imag ti set text date format instanc format date ti set data input select set expand true edit tree set select tree item ti feed content ti addedit historyinput isselect feditiontre feditiontre isdispos ifilest ffilest treeitem feditiontre getitem treeitem lastdai lastdai getmodificationtim daynumb lastdai daynumb lastdai getdata gettim lastdai treeitem feditiontre lastdai setimag fdateimag dateformat getdateinst daynumb currenttimemilli formatkei formatkei todayformat formatkei yesterdayformat formatkei dayformat getstr fbundl formatkei messageformat lastdai settext lastdai setdata treeitem treeitem lastdai setimag ftimeimag settext dateformat gettimeinst setdata isselect lastdai setexpand feditiontre setselect treeitem feedcont return number jan 1st 1970 date convert gmt daylight save account privat number date int ms 24 60 60 1000 milli second calendar calendar calendar instanc local offset calendar calendar zone offset calendar calendar dst offset return date local offset ms daynumb on_dai_ms getinst localtimeoffset zone_offset dst_offset localtimeoffset on_dai_ms feed tree viewer select contentview privat void feed content widget content pane null content pane dispos object data instanceof histori input histori input select histori input content pane set input select content pane set text edit label select content pane set imag imag current file histori null current file histori set select select file content pane set input null feedcont fcontentpan fcontentpan isdispos getdata historyinput historyinput historyinput fcontentpan setinput fcontentpan settext geteditionlabel fcontentpan setimag ftimeimag fcurrentfilehistori fcurrentfilehistori setselect ffilest fcontentpan setinput protect string edit label histori input input string format util string bundl histori edit label null non nl 1 format null format util string bundl edit label non nl 1 format null format 0 non nl 1 mod date input modif date string date date format date instanc format date mod date return messag format format format object date geteditionlabel historyinput getstr fbundl historyeditionlabel getstr fbundl editionlabel moddat getmodificationd dateformat getdatetimeinst moddat messageformat protect void creat button button bar composit parent string button label util string bundl button label dialog constant ok label non nl 1 cancel add button commit button creat button parent dialog constant ok id button label true commit button set enabl fals creat button parent dialog constant cancel id dialog constant cancel label fals createbuttonsforbuttonbar buttonlabel getstr fbundl buttonlabel idialogconst ok_label fcommitbutton createbutton idialogconst ok_id buttonlabel fcommitbutton seten createbutton idialogconst cancel_id idialogconst cancel_label return true pathnam f1 come f2 privat static boolean greater file f1 file f2 string ss1 f1 full path segment string ss2 f2 full path segment int l1 ss1 length int l2 ss2 length int math max l1 l2 int 0 string s1 l1 ss1 non nl 1 string s2 l2 ss2 non nl 1 int rc s1 compar ignor case s2 rc 0 return rc 0 return fals greaterthan ifil ifil getfullpath getfullpath comparetoignorecas privat static void intern sort file kei int left int int origin left left int origin right file mid kei left 2 greater kei left mid left greater mid kei right left file tmp kei left kei left kei kei tmp left left origin left intern sort kei origin left left origin intern sort kei left origin internalsort ifil origin_left origin_right ifil greaterthan greaterthan ifil origin_left internalsort origin_left origin_right internalsort origin_right org eclips ui action deleg run org eclips jface action action final public void run action action run select iactiondeleg iaction iaction fselect final public void select chang action action select select select select action null action set enabl enabl select selectionchang iaction iselect fselect seten isen fselect protect boolean enabl select select return fals isen iselect abstract protect void run select select iselect public binari compar viewer composit parent compar configur cc workbench help set help parent compar context id binari compar view bundl resourc bundl bundl bundl control label parent swt wrap control set data compareui compar viewer titl util string bundl titl non nl 1 left local util boolean cc left local fals non nl 1 binarycompareview compareconfigur workbenchhelp sethelp icomparecontextid binari_compar_view fbundl resourcebundl getbundl bundl_name fcontrol fcontrol setdata compar_viewer_titl getstr fbundl fleftisloc getboolean left_is_local public control control return control getcontrol fcontrol public void set input object input control null input instanceof compar input input compar input input input stream left null input stream null string messag null try left stream input left stream input left null null int po 0 true int left read int read string format util string bundl diff messag format non nl 1 messag messag format format format string integ string po break eof break po left null null messag util string bundl delet conflict messag non nl 1 left null left local messag util string bundl delet messag non nl 1 messag util string bundl ad messag non nl 1 null left local messag util string bundl ad messag non nl 1 messag util string bundl delet messag non nl 1 catch core except messag util string bundl error messag non nl 1 catch io except messag util string bundl error messag non nl 1 final util close left util close messag null control set text messag setinput fcontrol icompareinput finput icompareinput inputstream inputstream getstream finput getleft getstream finput getright getstr fbundl diffmessageformat messageformat tostr getstr fbundl deleteconflictmessag fleftisloc getstr fbundl deletedmessag getstr fbundl addedmessag fleftisloc getstr fbundl addedmessag getstr fbundl deletedmessag coreexcept getstr fbundl errormessag ioexcept getstr fbundl errormessag fcontrol settext public object input return input getinput finput privat input stream stream type element input throw core except input instanceof stream content accessor return stream content accessor input content return null inputstream getstream itypedel coreexcept istreamcontentaccessor istreamcontentaccessor getcont public class binari compar viewer creator implement viewer creator public viewer creat viewer composit parent compar configur mp return binari compar viewer parent mp binarycompareviewercr iviewercr createview compareconfigur binarycompareview add paint listen paint listen public void paint control paint event event doubl buffer paint event gc addpaintlisten paintlisten paintcontrol paintev doublebufferpaint dispos listen public void widget dispos dispos event buffer null buffer dispos buffer null disposelisten widgetdispos disposeev fbuffer fbuffer fbuffer public buffer canva composit parent int flag super parent flag swt background add paint listen paint listen public void paint control paint event event doubl buffer paint event gc add dispos listen dispos listen public void widget dispos dispos event buffer null buffer dispos buffer null bufferedcanva no_background addpaintlisten paintlisten paintcontrol paintev doublebufferpaint adddisposelisten disposelisten widgetdispos disposeev fbuffer fbuffer fbuffer public void repaint dispos gc gc gc doubl buffer paint gc gc dispos isdispos doublebufferpaint doubl buffer draw void doubl buffer paint gc dest doubl buffer paint dest return point size size size 1 size 1 test 1 x11 control initi size 1 1 return buffer null rectangl buffer bound width size height size buffer dispos buffer null buffer null buffer imag displai size size gc gc gc buffer try gc set background background gc fill rectangl 0 0 size size paint gc final gc dispos dest draw imag buffer 0 0 doublebufferpaint us_doubl_buffer dopaint getsiz fbuffer fbuffer getbound fbuffer fbuffer fbuffer fbuffer getdisplai fbuffer setbackground getbackground fillrectangl dopaint drawimag fbuffer abstract public void paint gc gc dopaint creat code resourc node code resourc param resourc resourc public buffer resourc node resourc resourc super resourc resourcenod bufferedresourcenod iresourc return code true code buffer uncommit public boolean dirti return dirti isdirti fdirti protect structur compar creat child resourc child return buffer resourc node child istructurecompar createchild iresourc bufferedresourcenod public void set content byte content dirti true super set content content setcont fdirti setcont commit buffer content resourc public void commit progress monitor pm throw core except dirti delet file null delet file delet true true pm return resourc resourc resourc resourc instanceof file byte byte content byte arrai input stream byte arrai input stream byte try file file file resourc file exist file set content fals true pm file creat fals pm dirti fals final null try close catch io except silent iprogressmonitor coreexcept fdirti fdeletefil fdeletefil iresourc getresourc ifil getcont bytearrayinputstream bytearrayinputstream ifil ifil setcont fdirti ioexcept public type element replac type element child type element child null add resourc creat node resourc resourc resourc resourc resourc instanceof folder folder folder folder resourc file file folder file child buffer resourc node file null delet resourc resourc resourc resourc resourc instanceof folder folder folder folder resourc file file folder file child file null file exist delet file file dirti true return null instanceof stream content accessor child instanceof edit content edit content dst edit content child try input stream stream content accessor content byte byte util read byte byte null dst set content byte catch core except need return child itypedel itypedel itypedel iresourc getresourc ifold ifold ifold ifil getfil getnam bufferedresourcenod iresourc getresourc ifold ifold ifold ifil getfil getnam fdeletefil fdirti istreamcontentaccessor ieditablecont ieditablecont ieditablecont inputstream istreamcontentaccessor getcont readbyt setcont coreexcept needwork public chang properti action resourc bundl bundl compar configur cc string rkei string pkei properti kei pkei bundl bundl prefix rkei util init action bundl prefix set compar configur cc changepropertyact resourcebundl compareconfigur fpropertykei fbundl fprefix initact fbundl fprefix setcompareconfigur public void run boolean util boolean compar configur properti kei fals set check compar configur null compar configur set properti properti kei boolean getboolean fcompareconfigur fpropertykei setcheck fcompareconfigur fcompareconfigur setproperti fpropertykei public void set check boolean super set check util init toggl action bundl prefix setcheck setcheck inittoggleact fbundl fprefix public void set compar configur compar configur cc compar configur cc set check util boolean compar configur properti kei fals setcompareconfigur compareconfigur fcompareconfigur setcheck getboolean fcompareconfigur fpropertykei public void run select select input null input set select select input initi compar configur compareui open compar editor page input workbench page input null don reus input iselect finput finput setselect finput initializecompareconfigur opencompareeditoronpag finput fworkbenchpag finput protect boolean enabl select select input null compar configur cc compar configur buffer merg mode don ask confirm switch modifi resourc cc set properti compar editor confirm save properti boolean fals uncom line separ outlin view cc set properti compar configur outlin view boolean true input resourc compar input cc return input enabl select isen iselect finput compareconfigur compareconfigur setproperti compareeditor confirm_save_properti setproperti compareconfigur us_outlin_view finput resourcecompareinput finput isen public void set activ part action action workbench part target part workbench page target part site page setactivepart iaction iworkbenchpart targetpart fworkbenchpag targetpart getsit getpag compar dialog shell shell compar editor input input super shell null assert null input compar editor input input compar editor input add properti chang listen set help context id compar context id compar dialog comparedialog compareeditorinput isnotnul fcompareeditorinput fcompareeditorinput addpropertychangelisten sethelpcontextid icomparecontextid compar_dialog public boolean close super close compar editor input null compar editor input add properti chang listen return true return fals fcompareeditorinput fcompareeditorinput addpropertychangelisten protect void creat button button bar composit parent commit button creat button parent dialog constant ok id util string compar dialog commit action label true non nl 1 commit button set enabl fals creat button parent dialog constant cancel id dialog constant cancel label fals createbuttonsforbuttonbar fcommitbutton createbutton idialogconst ok_id getstr comparedialog commitact fcommitbutton seten createbutton idialogconst cancel_id idialogconst cancel_label public void properti chang properti chang event event commit button null compar editor input null commit button set enabl compar editor input save need propertychang propertychangeev fcommitbutton fcompareeditorinput fcommitbutton seten fcompareeditorinput issaveneed protect control creat dialog area composit parent2 composit parent composit super creat dialog area parent2 control compar editor input creat content parent set layout data grid data grid data fill shell shell shell shell set text compar editor input titl shell set imag compar editor input titl imag appli dialog font parent return parent createdialogarea createdialogarea fcompareeditorinput createcont setlayoutdata griddata griddata fill_both getshel settext fcompareeditorinput gettitl setimag fcompareeditorinput gettitleimag applydialogfont workspac modifi oper oper workspac modifi oper public void execut progress monitor pm throw core except compar editor input save pm workspacemodifyoper workspacemodifyoper iprogressmonitor coreexcept fcompareeditorinput savechang public int open int rc super open rc ok compar editor input save need workspac modifi oper oper workspac modifi oper public void execut progress monitor pm throw core except compar editor input save pm shell shell parent shell progress monitor dialog pmd progress monitor dialog shell try oper run pmd progress monitor catch interrupt except need catch oper cancel except need catch invoc target except string titl util string compar dialog save error titl non nl 1 string msg util string compar dialog save error messag non nl 1 messag dialog open error shell titl msg target except messag return rc fcompareeditorinput issaveneed workspacemodifyoper workspacemodifyoper iprogressmonitor coreexcept fcompareeditorinput savechang getparentshel progressmonitordialog progressmonitordialog getprogressmonitor interruptedexcept needwork operationcanceledexcept needwork invocationtargetexcept getstr comparedialog saveerrortitl getstr comparedialog saveerrormessag messagedialog openerror gettargetexcept getmessag properti chang listen properti chang org eclips jface util properti chang event public void properti chang properti chang event event compar editor properti chang event ipropertychangelisten propertychang propertychangeev propertychang propertychangeev compareeditor propertychang privat compar outlin page outlin page enabl outlin public compar editor compareoutlinepag foutlinepag compareeditor non javadoc method declar adapt public object adapt class kei kei equal content outlin page class object object compar configur properti compar configur outlin view object instanceof boolean boolean object boolean editor input input editor input input instanceof compar editor input outlin page compar outlin page compar editor input input return outlin page return super adapt kei iadapt getadapt icontentoutlinepag getcompareconfigur getproperti compareconfigur us_outlin_view booleanvalu ieditorinput geteditorinput compareeditorinput foutlinepag compareoutlinepag compareeditorinput foutlinepag getadapt packag compar configur compar configur editor input input editor input input instanceof compar editor input return compar editor input input compar configur return null compareconfigur getcompareconfigur ieditorinput geteditorinput compareeditorinput compareeditorinput getcompareconfigur public void init editor site site editor input input throw part init except input instanceof compar editor input throw part init except util string compar editor invalid input non nl 1 set site site set input input ieditorsit ieditorinput partinitexcept compareeditorinput partinitexcept getstr compareeditor invalidinput setsit setinput public void set input editor input input try set input input catch core except string titl util string compar editor error setinput titl non nl 1 string msg util string compar editor error setinput messag non nl 1 error dialog open error site shell titl msg statu setinput ieditorinput dosetinput coreexcept getstr compareeditor getstr compareeditor errordialog openerror getsit getshel getstatu public void set input editor input input throw core except input instanceof compar editor input statu statu statu error platformui plugin id statu ok util string compar editor invalid input null non nl 1 throw core except editor input input editor input input instanceof properti chang notifi properti chang notifi input remov properti chang listen properti chang listen super set input input compar editor input cei compar editor input input set titl imag cei titl imag set part cei titl set titl cei titl input instanceof properti chang notifi properti chang notifi input add properti chang listen properti chang listen input null control null control dispos point size control size composit parent control parent control dispos creat part control parent control null control set size size dosetinput ieditorinput coreexcept compareeditorinput istatu istatu plugin_id istatu getstr compareeditor invalidinput coreexcept ieditorinput oldinput geteditorinput oldinput ipropertychangenotifi ipropertychangenotifi removepropertychangelisten fpropertychangelisten setinput compareeditorinput compareeditorinput settitleimag gettitleimag setpartnam gettitl settitl gettitl ipropertychangenotifi ipropertychangenotifi addpropertychangelisten fpropertychangelisten oldinput fcontrol fcontrol isdispos oldsiz fcontrol getsiz fcontrol getpar fcontrol createpartcontrol fcontrol fcontrol setsiz oldsiz public action bar action bar return action bar iactionbar getactionbar factionbar public void set action bar action bar action bar action bar action bar setactionbar iactionbar actionbar factionbar actionbar public void creat part control composit parent parent set data editor input input editor input input instanceof compar editor input control compar editor input input creat content parent workbench help set help control compar context id compar editor createpartcontrol setdata ieditorinput geteditorinput compareeditorinput fcontrol compareeditorinput createcont workbenchhelp sethelp fcontrol icomparecontextid compar_editor public void dispos editor input input editor input input instanceof properti chang notifi properti chang notifi input remov properti chang listen properti chang listen super dispos properti chang listen null ieditorinput geteditorinput ipropertychangenotifi ipropertychangenotifi removepropertychangelisten fpropertychangelisten fpropertychangelisten public void set focu editor input input editor input input instanceof compar editor input compar editor input input set focu setfocu ieditorinput geteditorinput compareeditorinput compareeditorinput setfocu return fals editor doesn support save public boolean save allow return fals issaveasallow public void goto marker marker marker gotomark imark throw assert fail except editor part save public void save assert true fals save support compar editor assertionfailedexcept ieditorpart dosavea dosavea istru compareeditor workspac modifi oper oper workspac modifi oper public void execut progress monitor pm throw core except input instanceof compar editor input compar editor input input save pm workspacemodifyoper workspacemodifyoper iprogressmonitor coreexcept compareeditorinput compareeditorinput savechang public void save progress monitor progress monitor final editor input input editor input workspac modifi oper oper workspac modifi oper public void execut progress monitor pm throw core except input instanceof compar editor input compar editor input input save pm shell shell site shell try oper run progress monitor fire properti chang prop dirti catch interrupt except need catch oper cancel except need catch invoc target except string titl util string compar editor save error titl non nl 1 string reason target except messag messag dialog open error shell titl util format string compar editor save error reason non nl 1 dosav iprogressmonitor progressmonitor ieditorinput geteditorinput workspacemodifyoper workspacemodifyoper iprogressmonitor coreexcept compareeditorinput compareeditorinput savechang getsit getshel progressmonitor firepropertychang prop_dirti interruptedexcept needwork operationcanceledexcept needwork invocationtargetexcept getstr compareeditor saveerror gettargetexcept getmessag messagedialog openerror getformattedstr compareeditor cantsaveerror public boolean dirti editor input input editor input input instanceof compar editor input return compar editor input input save need return fals isdirti ieditorinput geteditorinput compareeditorinput compareeditorinput issaveneed public void properti chang properti chang event event object event object event valu null null equal fire properti chang prop dirti propertychang propertychangeev old_valu getoldvalu new_valu getnewvalu old_valu new_valu old_valu new_valu firepropertychang prop_dirti public compar editor contributor resourc bundl bundl compareui resourc bundl ignor whitespac ignor white space action bundl null workbench help set help ignor whitespac compar context id ignor whitespac action navig action bundl true workbench help set help compar context id global diff action previou navig action bundl fals workbench help set help previou compar context id global previou diff action toolbar navig action bundl true workbench help set help toolbar compar context id diff action toolbar previou navig action bundl fals workbench help set help toolbar previou compar context id previou diff action compareeditorcontributor resourcebundl getresourcebundl fignorewhitespac ignorewhitespaceact workbenchhelp sethelp fignorewhitespac icomparecontextid ignor_whitespac_action fnext navigationact workbenchhelp sethelp fnext icomparecontextid global_next_diff_action fpreviou navigationact workbenchhelp sethelp fpreviou icomparecontextid global_previou_diff_action ftoolbarnext navigationact workbenchhelp sethelp ftoolbarnext icomparecontextid next_diff_action ftoolbarprevi navigationact workbenchhelp sethelp ftoolbarprevi icomparecontextid previou_diff_action public void contribut tool bar tool bar manag tbm tbm add separ tbm add ignor whitespac tbm add toolbar tbm add toolbar previou contributetotoolbar itoolbarmanag fignorewhitespac ftoolbarnext ftoolbarprevi editor action bar contributor contribut menu menu manag public void contribut menu menu manag menu manag editoractionbarcontributor contributetomenu imenumanag contributetomenu imenumanag menumanag public void set activ editor editor part target editor activ editor part target editor return activ editor part target editor activ editor part null editor input input activ editor part editor input input instanceof compar editor input compar editor input compar input compar editor input input set compar editor input compar input previou set compar editor input compar input begin fix http bug eclips org bug show bug cgi id 20105 toolbar set compar editor input compar input toolbar previou set compar editor input compar input end fix http bug eclips org bug show bug cgi id 20105 target editor instanceof compar editor action bar action bar action bar compar editor editor compar editor target editor editor set action bar action bar action bar set global action handler action factori id action bar set global action handler action factori previou id previou compar configur cc editor compar configur ignor whitespac set compar configur cc setactiveeditor ieditorpart targeteditor factiveeditorpart targeteditor factiveeditorpart targeteditor factiveeditorpart ieditorinput factiveeditorpart geteditorinput compareeditorinput compareeditorinput compareinput compareeditorinput fnext setcompareeditorinput compareinput fpreviou setcompareeditorinput compareinput show_bug ftoolbarnext setcompareeditorinput compareinput ftoolbarprevi setcompareeditorinput compareinput show_bug targeteditor compareeditor iactionbar actionbar getactionbar compareeditor compareeditor targeteditor setactionbar actionbar actionbar setglobalactionhandl actionfactori getid fnext actionbar setglobalactionhandl actionfactori getid fpreviou compareconfigur getcompareconfigur fignorewhitespac setcompareconfigur public compar filter comparefilt return true path match filter path filter public boolean filter string path0 boolean folder boolean archiv folder extra resourc file filter null char path0 char arrai int 0 extra resourc file filter length match extra resourc file filter true return true folder extra resourc folder filter null int 0 extra resourc folder filter length extra resourc folder filter 0 equal path0 return true return fals isarch fextraresourcefilefilt tochararrai fextraresourcefilefilt fextraresourcefilefilt fextraresourcefolderfilt fextraresourcefolderfilt fextraresourcefolderfilt public static string valid resourc filter string text workspac workspac resourc plugin workspac string filter token text non nl 1 int 0 filter length string file filter replac int resourc type resourc file int charact file length 1 charact 0 file char charact file file substr 0 charact resourc type resourc folder statu statu workspac valid file resourc type statu match statu error string format util string compar prefer page filter invalidseg error non nl 1 return messag format format format string statu messag return null validateresourcefilt iworkspac resourcesplugin getworkspac gettoken filenam resourcetyp iresourc lastcharact filenam lastcharact filenam charat lastcharact filenam filenam lastcharact resourcetyp iresourc istatu validatenam filenam resourcetyp istatu getstr comparepreferencepag messageformat getmessag public void set filter string filter sequenc char filter filter sequenc null filter sequenc length 0 split trim filter sequenc char arrai null filter null extra resourc file filter null extra resourc folder filter null int file count 0 folder count 0 int 0 filter length char filter length 0 continu f length 1 folder count file count extra resourc file filter char file count extra resourc folder filter string folder count int 0 filter length char filter length 0 continu f length 1 extra resourc folder filter folder count string subarrai 0 length 1 extra resourc file filter file count setfilt filtersequ filtersequ filtersequ splitandtrimon filtersequ tochararrai fextraresourcefilefilt fextraresourcefolderfilt filecount foldercount foldercount filecount fextraresourcefilefilt filecount fextraresourcefolderfilt foldercount fextraresourcefolderfilt foldercount fextraresourcefilefilt filecount privat static string token string text string separ string token tok string token text separ non nl 1 int token tok count token string re string token int 0 re length re tok token trim return re gettoken stringtoken stringtoken ntoken counttoken ntoken nexttoken answer true pattern match fals char pattern match accept wild card case sensit pattern assum lowercas lowercas charact charact compar null answer fals pattern null answer true null br br ol li pre pattern case sensit true result true pre li li pre pattern case sensit true result fals pre li li pre pattern case sensit true result fals pre li ol param pattern pattern param param case sensit flag match case sensit return true pattern match fals privat boolean match char pattern char boolean case sensit null return fals null match pattern null return true null pattern equival return match pattern 0 pattern length 0 length case sensit iscasesensit iscasesensit iscasesensit iscasesensit iscasesensit iscasesensit answer true pattern match subpart fals char pattern match accept wild card match subset pattern end posit non inclus subpattern defin pattern start patttern end posit case sensit pattern assum lowercas lowercas charact charact compar br br ol li pre pattern pattern start 1 pattern end 3 name start 1 end 4 case sensit true result true pre li li pre pattern pattern start 1 pattern end 2 name start 1 end 2 case sensit true result fals pre li ol param pattern pattern param pattern start pattern start param pattern end pattern end param param start start param end end param case sensit flag match case sensit return true pattern match subpart fals privat boolean match char pattern int pattern start int pattern end char int start int end boolean case sensit null return fals null match pattern null return true null pattern equival int pattern pattern start int name start pattern end 0 pattern end pattern length end 0 end length check segment char pattern char 0 pattern pattern end pattern char pattern pattern name end return fals pattern char case sensit name charact lower case name pattern char return fals pattern check sequenc star segment int segment start pattern char segment start pattern skip star segment start 0 forc check int prefix start check segment name end pattern pattern end pattern segment start mismatch restart current segment prefix start continu check segment segment end pattern char pattern pattern segment start pattern skip start segment start pattern end return true prefix start continu check segment check current charact case sensit name charact lower case name pattern char pattern char pattern segment start mismatch restart current segment prefix start continu check segment pattern return segment start pattern end name end pattern pattern end pattern pattern end 1 pattern pattern patternstart pattternend patternstart patternend namestart nameend iscasesensit patternstart patternend namestart nameend iscasesensit patternstart patternend namestart nameend iscasesensit patternstart patternend namestart nameend iscasesensit ipattern patternstart inam namestart patternend patternend nameend nameend patternchar ipattern patternend patternchar ipattern inam nameend patternchar iscasesensit inam tolowercas inam patternchar inam ipattern segmentstart patternchar segmentstart ipattern segmentstart inam prefixstart inam checkseg inam nameend ipattern patternend ipattern segmentstart inam prefixstart checkseg patternchar ipattern segmentstart ipattern segmentstart patternend prefixstart inam checkseg iscasesensit inam tolowercas inam patternchar patternchar ipattern segmentstart inam prefixstart checkseg inam ipattern segmentstart patternend inam nameend ipattern patternend ipattern patternend ipattern return arrai split arrai divid trime subarrai remov whitespac equal br br ol li pre divid arrai b result a pre li li pre divid arrai b result b pre li li pre divid arrai b result a pre li li pre divid arrai b result b pre li ol param divid divid param arrai arrai return arrai split arrai divid trime subarrai remov whitespac equal privat char split trim char divid char arrai int length arrai null 0 arrai length length 0 return char char int word count 1 int 0 length arrai divid word count char split char word count int 0 current word 0 int 0 length arrai divid int start end 1 start arrai start start end start arrai end end split current word char end start 1 system arraycopi arrai start split current word 0 end start 1 1 int start end length 1 start length arrai start start end start arrai end end split current word char end start 1 system arraycopi arrai start split current word 0 end start 1 return split splitandtrimon no_char_char wordcount wordcount wordcount currentword currentword currentword currentword currentword answer arrai copi arrai start start end end start inclus end exclus answer null start greater end start lower 0 end greater length arrai end equal 1 convert arrai length br br ol li pre arrai start 0 end 1 result pre li li pre arrai start 0 end 1 result pre li ol param arrai arrai param start start index param end end index return arrai copi arrai start start end end except null pointer except arrai null privat char subarrai char arrai int start int end end 1 end arrai length start end return null start 0 return null end arrai length return null char result char end start system arraycopi arrai start result 0 end start return result nullpointerexcept privat static resourc bundl fg resourc bundl resourc bundl bundl resourc bundl privat compar messag resourcebundl fgresourcebundl resourcebundl getbundl resourc_bundl comparemessag public static string string string kei try return fg resourc bundl string kei catch miss resourc except return kei non nl 2 non nl 1 getstr fgresourcebundl getstr missingresourceexcept privat boolean true public compar navig compar viewer switch pane pane pane pane fnextfirsttim comparenavig compareviewerswitchingpan fpane public compar viewer switch pane pane return pane compareviewerswitchingpan getpan fpane public boolean select chang boolean direct fix http dev eclips org bug show bug cgi id 20106 next open fals open element find stream compar viewer pane int 0 navigat navig navigat 4 int 0 pane length navig navig pane navig null 0 navig goto differ end navig continu end return fals return true selectchang flastdirect show_bug fnextfirsttim mustopen fnextfirsttim openel compareviewerpan inavigat inavigat fpane getnavig fpane gotodiffer privat static navigat navig compar viewer switch pane pane pane null return null pane empti return null viewer viewer pane viewer viewer null return null control control viewer control control null return null object data control data navigat navig properti data instanceof navigat return navigat data return null inavigat getnavig compareviewerswitchingpan isempti getview getcontrol getdata inavigat navig_properti inavigat inavigat privat static compar navig find navig control null dispos pr 1geuvv2 object data data data instanceof compar editor input compar editor input cei compar editor input data object adapt cei adapt compar navig class adapt instanceof compar navig return compar navig adapt c parent return null comparenavig findnavig isdispos getdata compareeditorinput compareeditorinput compareeditorinput getadapt comparenavig comparenavig comparenavig getpar privat boolean reset direct boolean last direct direct true return resetdirect flastdirect flastdirect public static boolean direct control compar navig nav find navig nav null return nav reset direct return true getdirect comparenavig findnavig resetdirect privat boolean open pane null pane length 0 return fals int 1 pane length compar viewer switch pane pane pane pane null pane input null return fals return true mustopen fpane fpane fpane compareviewerswitchingpan fpane getinput privat void open element pane null pane length 0 return open open open pane 0 open null open open select openel fpane fpane iopen getopen fpane openselect privat static open open compar viewer switch pane pane pane null return null pane empti return null viewer viewer pane viewer viewer null return null control control viewer control control null return null object data control data open open properti data instanceof open return open data return null iopen getopen compareviewerswitchingpan isempti getview getcontrol getdata iopen open_properti iopen iopen privat compar editor input compar editor input compar outlin page compar editor input input compar editor input input compareeditorinput fcompareeditorinput compareoutlinepag compareeditorinput fcompareeditorinput public void creat control composit parent compar editor input null control compar editor input creat outlin content parent swt vertic createcontrol fcompareeditorinput fcontrol fcompareeditorinput createoutlinecont org eclips ui part page dispos public void dispos control null control dispos ipag fcontrol fcontrol org eclips ui part page control public control control return control ipag getcontrol getcontrol fcontrol public void set action bar action bar action bar action bar action bar control null control set data action bar action bar setactionbar iactionbar actionbar factionbar actionbar fcontrol fcontrol setdata actionbar actionbar org eclips ui part page set focu public void set focu control null control set focu ipag setfocu setfocu fcontrol fcontrol setfocu org eclips jface viewer select provid add select chang listen org eclips jface viewer select chang listen public void add select chang listen select chang listen listen listen add listen iselectionprovid addselectionchangedlisten iselectionchangedlisten addselectionchangedlisten iselectionchangedlisten flisten org eclips jface viewer select provid select public select select return select iselectionprovid getselect iselect getselect fselect org eclips jface viewer select provid remov select chang listen org eclips jface viewer select chang listen public void remov select chang listen select chang listen listen listen remov listen iselectionprovid removeselectionchangedlisten iselectionchangedlisten removeselectionchangedlisten iselectionchangedlisten flisten org eclips jface viewer select provid set select org eclips jface viewer select public void set select select select select select iselectionprovid setselect iselect setselect iselect fselect string content fake input string content load preview content file fcontent fakeinput fcontent loadpreviewcontentfromfil content load preview content file public imag imag return null fcontent loadpreviewcontentfromfil getimag return null public string return non nl 1 getnam return non nl 1 public string type return type non nl 1 gettyp return type non nl 1 public input stream content return byte arrai input stream util byte content utf 16 inputstream getcont bytearrayinputstream getbyt fcontent utf_16 return byte arrai input stream util byte content utf 16 public string charset return utf 16 bytearrayinputstream getbyt fcontent utf_16 getcharset utf_16 public static void init default prefer store store store set default open structur compar true store set default synchron scroll true store set default show pseudo conflict fals store set default initi show ancestor pane fals store set default show info fals store set default ignor whitespac fals store set default pref save editor fals store set default spline fals store set default singl line true store set default resolv ui fals store set default path filter non nl 1 store set default abstract text editor prefer color background system default true initdefault ipreferencestor setdefault open_structur_compar setdefault synchron_scroll setdefault show_pseudo_conflict setdefault initi_show_ancestor_pane setdefault show_more_info setdefault ignor_whitespac setdefault pref_save_all_editor setdefault us_spline setdefault us_singl_line setdefault us_resolv_ui setdefault path_filter setdefault abstracttexteditor prefer_color_background_system_default prefer chang listen properti chang listen public void properti chang properti chang event event string kei event properti kei equal initi show ancestor pane boolean overlai store boolean initi show ancestor pane compar configur null compar configur set properti initi show ancestor pane boolean fpreferencechangelisten ipropertychangelisten propertychang propertychangeev getproperti initi_show_ancestor_pane foverlaystor getboolean initi_show_ancestor_pane fcompareconfigur fcompareconfigur setproperti initi_show_ancestor_pane public compar prefer page set descript util string compar prefer page descript non nl 1 set prefer store compareui plugin default prefer store overlai store overlai prefer store prefer store kei prefer chang listen properti chang listen public void properti chang properti chang event event string kei event properti kei equal initi show ancestor pane boolean overlai store boolean initi show ancestor pane compar configur null compar configur set properti initi show ancestor pane boolean overlai store add properti chang listen prefer chang listen comparepreferencepag setdescript getstr comparepreferencepag setpreferencestor compareuiplugin getdefault getpreferencestor foverlaystor overlaypreferencestor getpreferencestor fkei fpreferencechangelisten ipropertychangelisten propertychang propertychangeev getproperti initi_show_ancestor_pane foverlaystor getboolean initi_show_ancestor_pane fcompareconfigur fcompareconfigur setproperti initi_show_ancestor_pane foverlaystor addpropertychangelisten fpreferencechangelisten workbench prefer page init public void init workbench workbench iworkbenchpreferencepag iworkbench prefer page perform ok public boolean perform ok overlai store propag return true preferencepag performok performok foverlaystor protect void perform default overlai store load default initi field super perform default performdefault foverlaystor loaddefault initializefield performdefault public void dispos overlai store null prefer chang listen null overlai store remov properti chang listen prefer chang listen prefer chang listen null overlai store stop overlai store null super dispos foverlaystor fpreferencechangelisten foverlaystor removepropertychangelisten fpreferencechangelisten fpreferencechangelisten foverlaystor foverlaystor static public boolean save editor prefer store store compareui plugin default prefer store return store boolean pref save editor getsavealleditor ipreferencestor compareuiplugin getdefault getpreferencestor getboolean pref_save_all_editor static public void set save editor boolean prefer store store compareui plugin default prefer store store set pref save editor setsavealleditor ipreferencestor compareuiplugin getdefault getpreferencestor setvalu pref_save_all_editor protect control creat content composit parent workbench help set help parent compar context id compar prefer page overlai store load overlai store start tab folder folder tab folder parent swt folder set layout tab folder layout folder set layout data grid data grid data fill tab item item tab item folder swt item set text util string compar prefer page gener tab label non nl 1 item set imag java plugin imag java plugin imag img obj cfile item set control creat gener page folder item tab item folder swt item set text util string compar prefer page text compar tab label non nl 1 item set imag java plugin imag java plugin imag img obj cfile item set control creat text compar page folder initi field dialog appli dialog font folder return folder createcont workbenchhelp sethelp icomparecontextid compar_prefer_page foverlaystor foverlaystor tabfold tabfold setlayout tabfolderlayout setlayoutdata griddata griddata fill_both tabitem tabitem settext getstr comparepreferencepag generaltab setimag javapluginimag javapluginimag img_obj_cfile setcontrol creategeneralpag tabitem settext getstr comparepreferencepag textcomparetab setimag javapluginimag javapluginimag img_obj_cfile setcontrol createtextcomparepag initializefield applydialogfont modifi listen public void modifi text modifi event string filter text string messag compar filter valid resourc filter filter set valid messag null set messag null set error messag messag overlai store set path filter filter modifylisten modifytext modifyev gettext comparefilt validateresourcefilt setvalid setmessag seterrormessag foverlaystor setvalu path_filter privat control creat gener page composit parent composit composit composit parent swt null grid layout layout grid layout layout num column 1 composit set layout layout add check box composit compar prefer page structur compar label open structur compar 0 non nl 1 add check box composit compar prefer page show info label show info 0 non nl 1 add check box composit compar prefer page ignor whitespac label ignor whitespac 0 non nl 1 spacer label composit swt add check box composit compar prefer page save patch label pref save editor 0 non nl 1 spacer label composit swt label label composit swt wrap set text util string compar prefer page filter descript non nl 1 composit c2 composit composit swt c2 set layout data grid data grid data fill horizont layout grid layout 2 fals layout margin width 0 c2 set layout layout label c2 swt set text util string compar prefer page filter label non nl 1 final text text c2 swt border set layout data grid data grid data fill horizont set text overlai store string path filter add modifi listen modifi listen public void modifi text modifi event string filter text string messag compar filter valid resourc filter filter set valid messag null set messag null set error messag messag overlai store set path filter filter return composit creategeneralpag gridlayout gridlayout numcolumn setlayout addcheckbox comparepreferencepag structurecompar open_structur_compar addcheckbox comparepreferencepag showmoreinfo show_more_info addcheckbox comparepreferencepag ignorewhitespac ignor_whitespac addcheckbox comparepreferencepag savebeforepatch pref_save_all_editor settext getstr comparepreferencepag setlayoutdata griddata griddata fill_horizont gridlayout marginwidth setlayout settext getstr comparepreferencepag setlayoutdata griddata griddata fill_horizont settext foverlaystor getstr path_filter addmodifylisten modifylisten modifytext modifyev gettext comparefilt validateresourcefilt setvalid setmessag seterrormessag foverlaystor setvalu path_filter privat control creat text compar page composit parent composit composit composit parent swt null grid layout layout grid layout layout num column 1 composit set layout layout add check box composit compar prefer page synchron scroll label synchron scroll 0 non nl 1 add check box composit compar prefer page initi show ancestor pane label initi show ancestor pane 0 non nl 1 add check box composit compar prefer page show pseudo conflict label show pseudo conflict 0 non nl 1 add check box composit compar prefer page spline label spline 0 non nl 1 add check box composit compar prefer page singl line label singl line 0 non nl 1 add check box composit compar prefer page resolveui label resolv ui 0 non nl 1 spacer label composit swt label preview label label composit swt null preview label set text util string compar prefer page preview label non nl 1 control preview creat preview composit grid data gd grid data grid data fill gd width hint convert width char pixel 60 gd height hint convert height char pixel 13 preview set layout data gd return composit createtextcomparepag gridlayout gridlayout numcolumn setlayout addcheckbox comparepreferencepag synchronizescrol synchron_scroll addcheckbox comparepreferencepag initiallyshowancestorpan initi_show_ancestor_pane addcheckbox comparepreferencepag showpseudoconflict show_pseudo_conflict addcheckbox comparepreferencepag usesplin us_spline addcheckbox comparepreferencepag usesinglelin us_singl_line addcheckbox comparepreferencepag useresolveui us_resolv_ui previewlabel previewlabel settext getstr comparepreferencepag createpreview griddata griddata griddata fill_both widthhint convertwidthincharstopixel heighthint convertheightincharstopixel setlayoutdata control preview viewer control add dispos listen dispos listen public void widget dispos dispos event compar configur null compar configur dispos fpreviewview getcontrol adddisposelisten disposelisten widgetdispos disposeev fcompareconfigur fcompareconfigur privat control creat preview composit parent compar configur compar configur overlai store compar configur set ancestor label util string compar prefer page ancestor label non nl 1 compar configur set left label util string compar prefer page left label non nl 1 compar configur set left edit fals compar configur set label util string compar prefer page label non nl 1 compar configur set edit fals preview viewer text merg viewer parent swt border compar configur preview viewer set input diff node differenc conflict fake input compar prefer page preview ancestor non nl 1 fake input compar prefer page preview left non nl 1 fake input compar prefer page preview non nl 1 control preview viewer control add dispos listen dispos listen public void widget dispos dispos event compar configur null compar configur dispos return createpreview fcompareconfigur compareconfigur foverlaystor fcompareconfigur setancestorlabel getstr comparepreferencepag fcompareconfigur setleftlabel getstr comparepreferencepag fcompareconfigur setleftedit fcompareconfigur setrightlabel getstr comparepreferencepag fcompareconfigur setrightedit fpreviewview textmergeview fcompareconfigur fpreviewview setinput diffnod fakeinput comparepreferencepag previewancestor fakeinput comparepreferencepag previewleft fakeinput comparepreferencepag previewright fpreviewview getcontrol adddisposelisten disposelisten widgetdispos disposeev fcompareconfigur fcompareconfigur privat void initi field iter check box kei set iter button button string kei string check box b set select overlai store boolean kei initializefield fcheckbox keyset hasnext fcheckbox setselect foverlaystor getboolean check box listen null check box listen select adapt public void widget select select event button button button widget overlai store set string check box button button select fcheckboxlisten fcheckboxlisten selectionadapt widgetselect selectionev foverlaystor setvalu fcheckbox getselect privat button add check box composit parent string label kei string kei int indent string label util string label kei button check box button parent swt check check box set text label grid data gd grid data grid data fill horizont gd horizont indent indent gd horizont span 2 check box set layout data gd check box listen null check box listen select adapt public void widget select select event button button button widget overlai store set string check box button button select check box add select listen check box listen check box put check box kei return check box addcheckbox labelkei getstr labelkei checkbox checkbox settext griddata griddata griddata fill_horizont horizontalind horizontalspan checkbox setlayoutdata fcheckboxlisten fcheckboxlisten selectionadapt widgetselect selectionev foverlaystor setvalu fcheckbox getselect checkbox addselectionlisten fcheckboxlisten fcheckbox checkbox checkbox privat string load preview content file string kei string preview util string kei string separ system properti line separ non nl 1 string buffer buffer string buffer int 0 preview length char preview char buffer append separ buffer append return buffer string loadpreviewcontentfromfil getstr getproperti stringbuff stringbuff charat tostr void regist configur element element object data string id element attribut id attribut id null id map null id map hash map id map put id data string type element attribut extens attribut type null extens map null extens map hash map string token token string token type non nl 1 token element string extens token token trim extens map put normal case extens data iconfigurationel getattribut id_attribut fidmap fidmap hashmap fidmap getattribut extens_attribut fextensionmap fextensionmap hashmap stringtoken stringtoken hasmoreel nexttoken fextensionmap normalizecas void creat bind configur element element string id attribut string type element attribut content type id attribut string id element attribut id attribut id null log error messag util format string compareui plugin target id attribut miss id attribut non nl 1 type null id null id map null object id map id null content type ct fg content type manag content type type ct null content type bind null content type bind hash map content type bind put ct log error messag util format string compareui plugin content type found type non nl 1 log error messag util format string compareui plugin target found id non nl 1 createbind iconfigurationel idattributenam getattribut content_type_id_attribut getattribut idattributenam logerrormessag getformattedstr compareuiplugin targetidattributemiss idattributenam fidmap fidmap icontenttyp fgcontenttypemanag getcontenttyp fcontenttypebind fcontenttypebind hashmap fcontenttypebind logerrormessag getformattedstr compareuiplugin contenttypenotfound logerrormessag getformattedstr compareuiplugin targetnotfound object search content type type type null content type bind null object content type bind type null return iter iter content type bind kei set iter iter content type ct content type iter type kind ct return content type bind ct return null icontenttyp fcontenttypebind fcontenttypebind fcontenttypebind keyset hasnext icontenttyp icontenttyp iskindof fcontenttypebind object search string extens extens map null return extens map normal case extens return null fextensionmap fextensionmap normalizecas creat code compareui plugin code object regist structur creator content merg viewer structur merg viewer contribut plug extens point note instanc plug runtim class automat creat platform cours plug activ param descriptor plug descriptor public compareui plugin plugin descriptor descriptor super descriptor assert true fg compar plugin null fg compar plugin resourc bundl descriptor resourc bundl regist extens init prefer store compareuiplugin compareuiplugin iplugindescriptor istru fgcompareplugin fgcompareplugin fresourcebundl getresourcebundl registerextens initpreferencestor abstractui plugin initi default prefer protect void initi default prefer prefer store store super initi default prefer store compar prefer page init default store abstractuiplugin initializedefaultprefer initializedefaultprefer ipreferencestor initializedefaultprefer comparepreferencepag initdefault return singleton instanc plug runtim class return compar plug instanc public static compareui plugin default return fg compar plugin compareuiplugin getdefault fgcompareplugin return plug resourc bundl return plugin resourc bundl public resourc bundl resourc bundl return default resourc bundl resourcebundl getresourcebundl getdefault fresourcebundl return plug uniqu identifi return plugin uniqu identifi public static string plugin id return default descriptor uniqu identifi getpluginid getdefault getdescriptor getuniqueidentifi regist stream merger structur creator content merg viewer structur merg viewer found xml plugin file privat void regist extens plugin registri registri platform plugin registri collect stream merger configur element element registri configur element plugin id stream merger extens point int 0 element length i configur element element element stream merger equal element stream merger regist element stream merger descriptor element int 0 element length i configur element element element content type bind equal element stream merger creat bind element stream merger id attribut collect structur creator element registri configur element plugin id structur creator extens point int 0 element length i configur element element element string element content type bind equal structur creator equal log error messag util format string compareui plugin unexpect tag structur creator non nl 1 structur creator regist element structur creator descriptor element int 0 element length i configur element element element content type bind equal element structur creator creat bind element structur creator id attribut collect viewer defin structur mergeview extens point element registri configur element plugin id structur merg viewer extens point int 0 element length i configur element element element string element content type bind equal viewer tag equal log error messag util format string compareui plugin unexpect tag viewer tag non nl 1 structur merg viewer regist element viewer descriptor element int 0 element length i configur element element element content type bind equal element structur merg viewer creat bind element structur merg viewer id attribut collect viewer defin content mergeview extens point element registri configur element plugin id content merg viewer extens point int 0 element length i configur element element element string element content type bind equal viewer tag equal log error messag util format string compareui plugin unexpect tag viewer tag non nl 1 content merg viewer regist element viewer descriptor element int 0 element length i configur element element element content type bind equal element content merg viewer creat bind element content merg viewer id attribut collect viewer defin content viewer extens point element registri configur element plugin id content viewer extens point int 0 element length i configur element element element string element content type bind equal viewer tag equal log error messag util format string compareui plugin unexpect tag viewer tag non nl 1 content viewer regist element viewer descriptor element int 0 element length i configur element element element content type bind equal element content viewer creat bind element content viewer id attribut registerextens ipluginregistri getpluginregistri istreammerg iconfigurationel getconfigurationelementsfor plugin_id stream_merger_extens_point iconfigurationel stream_merger getnam fstreammerg streammergerdescriptor iconfigurationel content_type_bind getnam fstreammerg createbind stream_merger_id_attribut istructurecr getconfigurationelementsfor plugin_id structur_creator_extens_point iconfigurationel getnam content_type_bind structur_creator logerrormessag getformattedstr compareuiplugin unexpectedtag structur_creator fstructurecr structurecreatordescriptor iconfigurationel content_type_bind getnam fstructurecr createbind structur_creator_id_attribut getconfigurationelementsfor plugin_id structur_merg_viewer_extens_point iconfigurationel getnam content_type_bind viewer_tag logerrormessag getformattedstr compareuiplugin unexpectedtag viewer_tag fstructuremergeview viewerdescriptor iconfigurationel content_type_bind getnam fstructuremergeview createbind structur_merg_viewer_id_attribut getconfigurationelementsfor plugin_id content_merg_viewer_extens_point iconfigurationel getnam content_type_bind viewer_tag logerrormessag getformattedstr compareuiplugin unexpectedtag viewer_tag fcontentmergeview viewerdescriptor iconfigurationel content_type_bind getnam fcontentmergeview createbind content_merg_viewer_id_attribut getconfigurationelementsfor plugin_id content_viewer_extens_point iconfigurationel getnam content_type_bind viewer_tag logerrormessag getformattedstr compareuiplugin unexpectedtag viewer_tag fcontentview viewerdescriptor iconfigurationel content_type_bind getnam fcontentview createbind content_viewer_id_attribut public static workbench activ workbench compareui plugin plugin default plugin null return null return plugin workbench iworkbench getactiveworkbench compareuiplugin getdefault getworkbench public static workbench window activ workbench window workbench workbench activ workbench workbench null return null return workbench activ workbench window iworkbenchwindow getactiveworkbenchwindow iworkbench getactiveworkbench getactiveworkbenchwindow return activ workkbench page code null code activ workkbench page determin return activ workkbench page code null code activ workkbench page determin privat static workbench page activ page workbench window window activ workbench window window null return null return window activ page iworkbenchpag getactivepag iworkbenchwindow getactiveworkbenchwindow getactivepag return swt shell activ workbench window code null code workbench window activ return swt shell activ workbench window code null code workbench window activ public static shell shell workbench window window activ workbench window window null return null return window shell getshel iworkbenchwindow getactiveworkbenchwindow getshel regist imag dispos plug shutdown param imag imag regist dispos public static void dispos shutdown imag imag imag null fg dispos shutdown imag add imag disposeonshutdown fgdisposeonshutdownimag public void shutdown throw core except convert alias singl string store prefer store format kei alia kei alia prefer store ps prefer store ps null string buffer sb string buffer iter iter structur viewer alias kei set iter iter string kei string iter string alia string structur viewer alias kei sb append kei sb append sb append alia sb append ps set structureview alias prefer sb string properti chang listen null ps remov properti chang listen properti chang listen properti chang listen null super shutdown fg dispos shutdown imag null iter fg dispos shutdown imag iter imag img imag img dispos img dispos fg imag null coreexcept ipreferencestor getpreferencestor stringbuff stringbuff fstructurevieweralias keyset hasnext fstructurevieweralias setvalu structureview_alias_prefer_name tostr fpropertychangelisten removepropertychangelisten fpropertychangelisten fpropertychangelisten fgdisposeonshutdownimag fgdisposeonshutdownimag hasnext isdispos fgimag perform comparison input open compar editor result param input input open compar editor param page workbench page creat compar editor param editor null input open editor compar editor input public void open compar editor compar editor input input workbench page page reusabl editor editor compar resultok input editor null reus editor editor set input input return page null page activ page page null open compar editor page try page open editor input compar editor catch part init except messag dialog open error shell util string compareui plugin open editor error messag non nl 1 messag dialog open error shell util string compareui plugin open editor error non nl 1 util string compareui plugin activ workbench page non nl 1 compareeditorinput opencompareeditor compareeditorinput iworkbenchpag ireusableeditor compareresultok setinput getactivepag compareeditor openeditor compar_editor partinitexcept messagedialog openerror getshel getstr compareuiplugin openeditorerror getmessag messagedialog openerror getshel getstr compareuiplugin openeditorerror getstr compareuiplugin noactiveworkbenchpag perform comparison input open compar dialog result param input input open compar editor compar editor input public void open compar dialog final compar editor input input compar resultok input compar dialog dialog compar dialog shell input dialog open compareeditorinput opencomparedialog compareeditorinput compareresultok comparedialog comparedialog getshel return code true code compar result ok show code fals code privat boolean compar resultok compar editor input input final shell shell shell try run oper separ thread canceabl platformui workbench progress servic run true true input string messag input messag messag null messag dialog open error shell util string compareui plugin compar fail messag non nl 1 return fals input compar result null messag dialog open inform shell util string compareui plugin dialog titl util string compareui plugin differ non nl 2 non nl 1 return fals return true catch interrupt except cancel user catch invoc target except messag dialog open error shell util string compareui plugin compar fail target except messag non nl 1 return fals compareresultok compareeditorinput getshel getworkbench getprogressservic getmessag messagedialog openerror getstr compareuiplugin comparefail getcompareresult messagedialog openinform getstr compareuiplugin dialogtitl getstr compareuiplugin nodiffer interruptedexcept invocationtargetexcept messagedialog openerror getstr compareuiplugin comparefail gettargetexcept getmessag regist imag type privat static void regist imag string type imag imag boolean dispos fg imag put normal case type imag imag null dispos fg dispos shutdown imag add imag registerimag fgimag normalizecas fgdisposeonshutdownimag regist imag descriptor type param type type param descriptor imag descriptor public static void regist imag descriptor string type imag descriptor descriptor fg imag descriptor put normal case type descriptor registerimagedescriptor imagedescriptor fgimagedescriptor normalizecas public static imag descriptor imag descriptor string rel path url installurl null fg compar plugin null installurl fg compar plugin descriptor installurl installurl null try url url url installurl util icon path null rel path return imag descriptor creat fromurl url catch malformedurl except assert true fals return null imagedescriptor getimagedescriptor relativepath fgcompareplugin fgcompareplugin getdescriptor getinstallurl geticonpath relativepath imagedescriptor createfromurl malformedurlexcept istru return share imag type gener imag regist type note imag return method automit dispos plug shut caller dispos imag param type type return imag public static imag imag string type type normal case type boolean dispos fals imag imag null type null imag imag fg imag type imag null imag descriptor id imag descriptor fg imag descriptor type id null imag id creat imag dispos true imag null fg compar plugin null type element folder type equal type imag default workbench share imag imag share imag img obj folder imag share imag imag share imag img obj folder imag creat workbench imag type dispos true id imag descriptor fg imag descriptor normal case file non nl 1 imag id creat imag dispos true imag null regist imag type imag dispos return imag getimag normalizecas fgimag imagedescriptor imagedescriptor fgimagedescriptor createimag fgcompareplugin itypedel folder_type getdefault getworkbench getsharedimag getimag isharedimag img_obj_folder sharedimag getimag isharedimag img_obj_folder createworkbenchimag imagedescriptor fgimagedescriptor normalizecas createimag registerimag return share imag adapt conveni method queri adapt code workbench adapt imag descriptor code creat imag note imag return method automit dispos plug shut caller dispos imag param adapt adapt find imag return imag public static imag imag adapt adapt adapt null object adapt adapt workbench adapt class instanceof workbench adapt imag descriptor id workbench adapt imag descriptor adapt id null imag imag imag fg imag2 id imag null imag id creat imag try fg imag2 put id imag catch null pointer except need fg dispos shutdown imag add imag return imag return null iworkbenchadapt getimagedescriptor getimag iadapt getadapt iworkbenchadapt iworkbenchadapt imagedescriptor iworkbenchadapt getimagedescriptor fgimag2 createimag fgimag2 nullpointerexcept needwork fgdisposeonshutdownimag privat static imag creat workbench imag string type editor registri er default workbench editor registri imag descriptor id er imag descriptor foo type non nl 1 return id creat imag createworkbenchimag ieditorregistri getdefault getworkbench geteditorregistri imagedescriptor getimagedescriptor createimag return structur creator descriptor type param type type find descriptor return descriptor type code null code descriptor regist public structur creator descriptor structur creator string type return structur creator descriptor structur creator search type structurecreatordescriptor getstructurecr structurecreatordescriptor fstructurecr return stream merger type param type type find stream merger return stream merger type code null code stream merger regist public stream merger creat stream merger string type stream merger descriptor descriptor stream merger descriptor stream merger search type descriptor null return descriptor creat stream merger return null istreammerg createstreammerg streammergerdescriptor streammergerdescriptor fstreammerg createstreammerg return stream merger content type param type type find stream merger return stream merger type code null code stream merger regist public stream merger creat stream merger content type type stream merger descriptor descriptor stream merger descriptor stream merger search type descriptor null return descriptor creat stream merger return null istreammerg createstreammerg icontenttyp streammergerdescriptor streammergerdescriptor fstreammerg createstreammerg return structur compar viewer base viewer input object viewer suitabl show input viewer return input type find viewer descriptor registri turn creat structur compar viewer parent composit viewer descriptor found code null code return param viewer viewer creat viewer show input param input input object find structur viewer param parent swt parent composit viewer creat param configur configur pass newli creat viewer return compar viewer suitabl input object code null code public viewer find structur viewer viewer viewer compar input input composit parent compar configur configur input left null input null don show structur addit delet return null content type search content type ctype common type content type input ctype null viewer viewer viewer structur merg viewer search ctype viewer parent configur viewer null return viewer style search string type type input string type null homogen type type normal case type 0 viewer descriptor vd viewer descriptor structur merg viewer search type vd null string alia string structur viewer alias type alia null vd viewer descriptor structur merg viewer search alia vd null return vd creat viewer viewer parent configur didn found viewer try find structurecr gener structur diff viewer structur creator descriptor scc null object desc structur creator search ctype search content type desc instanceof structur creator descriptor scc structur creator descriptor desc scc null type null scc structur creator type search style type scheme scc null structur creator sc scc creat structur creator sc null structur diff viewer sdv structur diff viewer parent configur sdv set structur creator sc return sdv return null oldview findstructureview oldview icompareinput compareconfigur getleft getright icontenttyp getcommontyp getcontenttyp getview fstructuremergeview oldview gettyp ishomogen normalizecas iviewerdescriptor iviewerdescriptor fstructuremergeview fstructurevieweralias iviewerdescriptor fstructuremergeview createview oldview structurediffview structurecreatordescriptor fstructurecr structurecreatordescriptor structurecreatordescriptor getstructurecr istructurecr createstructurecr structurediffview structurediffview setstructurecr return content compar viewer base viewer input object viewer suitabl show input viewer return input type find viewer descriptor registri turn creat content compar viewer parent composit viewer descriptor found code null code return param viewer viewer creat viewer show input param input input object find content viewer param parent swt parent composit viewer creat param configur configur pass newli creat viewer return compar viewer suitabl input object code null code public viewer find content viewer viewer viewer object composit parent compar configur cc instanceof stream content accessor string type type element text type instanceof type element type element tin type element content type ct content type tin ct null viewer viewer viewer content viewer search ct viewer parent cc viewer null return viewer string ty tin type ty null type ty viewer viewer viewer content viewer search type viewer parent cc viewer null return viewer fallback return simpl text viewer parent instanceof compar input return null compar input input compar input content type ctype common type content type input ctype null viewer viewer viewer content merg viewer search ctype viewer parent cc viewer null return viewer string type type input string type null homogen type type type 0 type element folder type equal type return null type null int 0 int 0 type length type element unknown type equal type type null type type rememb known type 1 don type type null type null viewer viewer viewer content merg viewer search type viewer parent cc viewer null return viewer fallback string left type guess type input left string type guess type input left type null type null boolean text type null type element text type equal type boolean left text left type null type element text type equal left type left type null text left text type null left text text type type element text type type binari type viewer descriptor vd viewer descriptor content merg viewer search type vd null return vd creat viewer viewer parent cc return null oldview findcontentview oldview compareconfigur istreamcontentaccessor itypedel text_type itypedel itypedel itypedel icontenttyp getcontenttyp getview fcontentview oldview gettyp getview fcontentview oldview simpletextview icompareinput icompareinput icompareinput icontenttyp getcommontyp getcontenttyp getview fcontentmergeview oldview gettyp ishomogen itypedel folder_type itypedel unknown_type getview fcontentmergeview oldview lefttyp guesstyp getleft righttyp guesstyp getright lefttyp righttyp right_text righttyp itypedel text_type righttyp left_text lefttyp itypedel text_type lefttyp lefttyp right_text left_text righttyp left_text right_text itypedel text_type binari_type iviewerdescriptor iviewerdescriptor fcontentmergeview createview oldview privat static viewer viewer object descriptor viewer viewer composit parent compar configur cc descriptor instanceof viewer descriptor return viewer descriptor descriptor creat viewer viewer parent cc return null getview oldview compareconfigur iviewerdescriptor iviewerdescriptor createview oldview privat static string type compar input input type element ancestor input ancestor type element left input left type element input arrai list tmp arrai list ancestor null string type ancestor type type null tmp add normal case type left null string type left type type null tmp add normal case type null string type type type null tmp add normal case type return string tmp arrai string tmp size gettyp icompareinput itypedel getancestor itypedel getleft itypedel getright arraylist arraylist gettyp normalizecas gettyp normalizecas gettyp normalizecas toarrai privat static content type content type compar input input type element ancestor input ancestor type element left input left type element input arrai list tmp arrai list content type type content type ancestor type null tmp add type type content type left type null tmp add type type content type type null tmp add type return content type tmp arrai content type tmp size icontenttyp getcontenttyp icompareinput itypedel getancestor itypedel getleft itypedel getright arraylist arraylist icontenttyp getcontenttyp getcontenttyp getcontenttyp icontenttyp toarrai icontenttyp privat static content type content type type element element element null return null string element content type fg content type manag find content type length 0 return 0 content type ct null element instanceof stream content accessor stream content accessor isa stream content accessor element try input stream isa content null input stream bi buffer input stream try ct fg content type manag find content type catch io except try bi close catch io except e2 silent catch core except e1 return ct icontenttyp getcontenttyp itypedel getnam icontenttyp fgcontenttypemanag findcontenttypesfor icontenttyp istreamcontentaccessor istreamcontentaccessor istreamcontentaccessor inputstream getcont inputstream bufferedinputstream fgcontenttypemanag findcontenttypefor ioexcept ioexcept coreexcept return true type homogen privat static boolean homogen string type switch type length case 1 return true case 2 return type 0 equal type 1 case 3 return type 0 equal type 1 type 1 equal type 2 return fals ishomogen return specif content type common input null privat static content type common type content type type set null arrai list null switch type length case 1 return type 0 case 2 arrai list set type 0 retain set type 1 break case 3 arrai list set type 0 retain set type 1 retain set type 2 break null empti iter iter iter iter content type ct content type iter ct return ct return null icontenttyp getcommontyp icontenttyp arraylist arraylist toset retainal toset arraylist toset retainal toset retainal toset isempti hasnext icontenttyp icontenttyp privat static set set arrai list content type ct set set hash set ct null ct ct base type add ct set add ct return set toset arraylist icontenttyp hashset getbasetyp guess file type input return type element text type 10 line longer 1000 byte return type element unknown type return code null code input isn code stream content accessor code privat static string guess type type element input input instanceof stream content accessor stream content accessor sca stream content accessor input input stream null try sca content null return null int line length 0 int line 0 line 10 int read 1 eof break reset line length line length 0 line line length line length 1000 return type element unknown type return type element text type catch core except silent return unknown type catch io except silent return unknown type final null try close catch io except silent return type element unknown type return null itypedel text_type itypedel unknown_type istreamcontentaccessor guesstyp itypedel istreamcontentaccessor istreamcontentaccessor istreamcontentaccessor inputstream getcont linelength linelength linelength linelength itypedel unknown_type itypedel text_type coreexcept unknown_type ioexcept unknown_type ioexcept itypedel unknown_type privat static string normal case string normal case null return upper case return normalizecas normal_case touppercas filter set filter ps string compar prefer page path filter properti chang listen properti chang listen public void properti chang properti chang event event compar prefer page path filter equal event properti filter set filter ps string compar prefer page path filter ffilter setfilt getstr comparepreferencepag path_filter fpropertychangelisten ipropertychangelisten propertychang propertychangeev comparepreferencepag path_filter getproperti ffilter setfilt getstr comparepreferencepag path_filter privat void init prefer store system println init prefer store final prefer store ps prefer store ps null string alias ps string structureview alias prefer system println alias alias null alias length 0 string token st string token alias non nl 1 st token string pair st token int po pair index po 0 string kei pair substr 0 po string alia pair substr po 1 structur viewer alias put kei alia system println kei alia filter compar filter filter set filter ps string compar prefer page path filter properti chang listen properti chang listen public void properti chang properti chang event event compar prefer page path filter equal event properti filter set filter ps string compar prefer page path filter ps add properti chang listen properti chang listen initpreferencestor initpreferencestor ipreferencestor getpreferencestor getstr structureview_alias_prefer_name stringtoken stringtoken hasmoretoken nexttoken indexof fstructurevieweralias ffilter comparefilt ffilter setfilt getstr comparepreferencepag path_filter fpropertychangelisten ipropertychangelisten propertychang propertychangeev comparepreferencepag path_filter getproperti ffilter setfilt getstr comparepreferencepag path_filter addpropertychangelisten fpropertychangelisten public void add structur viewer alia string type string alia structur viewer alias put normal case alia normal case type addstructurevieweralia fstructurevieweralias normalizecas normalizecas public void remov structur viewer alias string type string normal case type set entri set structur viewer alias entri set iter iter entri set iter iter map entri entri map entri iter entri equal iter remov removeallstructurevieweralias normalizecas entryset fstructurevieweralias entryset entryset hasnext getvalu return arrai editor unsav content ident content present editor editor part part result return arrai dirti editor part public static editor part dirti editor set input hash set list result arrai list 0 workbench workbench default workbench workbench window window workbench workbench window int 0 window length i workbench page page window page int 0 page length editor part editor page dirti editor int 0 editor length editor part ep editor editor input input ep editor input input input input add input result add ep return editor part result arrai editor part result size ieditorpart getdirtyeditor hashset arraylist iworkbench getdefault getworkbench iworkbenchwindow getworkbenchwindow iworkbenchpag getpag ieditorpart getdirtyeditor ieditorpart ieditorinput geteditorinput ieditorpart toarrai ieditorpart public boolean filter string boolean folder boolean archiv filter null return filter filter folder archiv return fals isfold isarch ffilter ffilter isfold isarch public static void log error messag string messag messag null messag non nl 1 log statu statu error plugin id intern error messag null logerrormessag istatu getpluginid intern_error public static void log throwabl log statu statu error plugin id intern error compar messag string compar plugin intern error non nl 1 istatu getpluginid intern_error comparemessag getstr compareplugin intern_error public static void log statu statu default log log statu istatu getdefault getlog public class compar edit action extend edit action public compar edit action super fals org eclips compar intern compar edit action non nl 1 help context id compar context id compar edit dialog comparewitheditionact editionact comparewitheditionact comparewitheditionact fhelpcontextid icomparecontextid compar_with_edit_dialog public diff imag imag base imag descriptor overlai int base imag base overlai imag overlai width diffimag imagedescriptor fbaseimag foverlayimag fwidth public diff imag imag base imag descriptor overlai int boolean left base imag base overlai imag overlai width left left diffimag imagedescriptor onleft fbaseimag foverlayimag fwidth fleft onleft protect point size return point width height getsiz fwidth protect void draw composit imag int width int height left base imag null imag data base base imag imag data base null base default imag data draw imag base width base width 0 overlai imag null imag data overlai overlai imag imag data overlai null overlai default imag data draw imag overlai 0 height overlai height 2 base imag null imag data base base imag imag data base null base default imag data draw imag base 0 0 overlai imag null imag data overlai overlai imag imag data overlai null overlai default imag data draw imag overlai width overlai width height overlai height 2 drawcompositeimag fleft fbaseimag imagedata fbaseimag getimagedata default_imag_data drawimag fwidth foverlayimag imagedata foverlayimag getimagedata default_imag_data drawimag fbaseimag imagedata fbaseimag getimagedata default_imag_data drawimag foverlayimag imagedata foverlayimag getimagedata default_imag_data drawimag fwidth creat code doc line compar code document rang ignor white space control compar line method code rang equal code ignor whitespac param document document line param region non code null code line rang param ignor white space code true code white space compar line public doc line compar document document region region boolean ignor white space document document ignor white space ignor white space line offset 0 region null length region length int start region offset try line offset document line offset start catch bad locat except silent length 0 line count 0 int end line document number line try end line document line offset start length catch bad locat except silent line count end line line offset 1 length document length line count document number line doclinecompar ignorewhitespac rangesequ ignorewhitespac doclinecompar idocu iregion ignorewhitespac fdocument fignorewhitespac ignorewhitespac flineoffset flength getlength getoffset flineoffset fdocument getlineofoffset badlocationexcept flength flinecount endlin fdocument getnumberoflin endlin fdocument getlineofoffset flength badlocationexcept flinecount endlin flineoffset flength getlength flinecount fdocument getnumberoflin return number line document return number line public int rang count return line count getrangecount flinecount public int token start int line try region document line inform line offset line return offset catch bad locat except return document length gettokenstart iregion fdocument getlineinform flineoffset getoffset badlocationexcept fdocument getlength token compar token length public int token length int line return token start line 1 token start line itokencompar gettokenlength gettokenlength gettokenstart gettokenstart return code true code line index match line code rang compar code index param index number line rang compar param rang compar compar param index number line compar return code true code line equal public boolean rang equal int index rang compar other0 int index other0 null other0 class class doc line compar doc line compar other0 ignor white space string s1 extract index string s2 extract index return compar s1 s2 int tlen token length index int olen token length index tlen olen string s1 extract index string s2 extract index return s1 equal s2 return fals irangecompar thisindex otherindex rangesequ thisindex irangecompar otherindex getclass getclass doclinecompar doclinecompar fignorewhitespac thisindex otherindex gettokenlength thisindex gettokenlength otherindex thisindex otherindex abort comparison number token larg return code true code abort token comparison public boolean skip rang comparison int length int max rang compar return fals skiprangecomparison irangecompar extract singl line underli document line separ param line number line extract return content line string privat string extract int line line line count try region document line inform line offset line return document offset length catch bad locat except silent return non nl 1 flinecount iregion fdocument getlineinform flineoffset fdocument getoffset getlength badlocationexcept privat boolean compar string s1 string s2 int l1 s1 length int l2 s2 length int c1 0 c2 0 int i1 0 i2 0 c1 1 c1 1 i1 l1 char s1 char i1 charact whitespac c1 break c2 1 i2 l2 char s2 char i2 charact whitespac c2 break c1 c2 return fals return true charat iswhitespac charat iswhitespac public static document object int 0 fg kei size fg kei return document fg valu return null idocu fgkei fgkei idocu fgvalu public static void put object document document debug system println document manag put document non nl 1 int 0 fg kei size fg kei fg valu set document return fg kei add fg valu add document idocu documentmanag fgkei fgkei fgvalu fgkei fgvalu public static void remov document document document null debug system println document manag remov document non nl 1 int 0 fg valu size fg valu document fg kei remov fg valu remov return debug system println document manag remov found non nl 1 idocu documentmanag fgvalu fgvalu fgkei fgvalu documentmanag public static void dump debug system println document manag manag doc fg valu size non nl 1 documentmanag fgvalu privat file file document buffer node document document file file document document file file ifil ffile documentbuffernod idocu ifil fdocument ffile public string return file getnam ffile getnam public string type return file file extens gettyp ffile getfileextens public imag imag return null getimag public input stream content return byte arrai input stream util byte document utf 16 inputstream getcont bytearrayinputstream getbyt fdocument utf_16 public string charset return utf 16 getcharset utf_16 protect string help context id edit action boolean replac mode string bundl replac mode replac mode bundl bundl fhelpcontextid editionact replacemod bundlenam freplacemod replacemod fbundlenam bundlenam protect boolean enabl select select return util file select length 1 don support multipl select isen iselect getfil protect void run select select file file util file select int 0 file length histori file iselect ifil getfil dofromhistori privat void histori final file file resourc bundl bundl resourc bundl bundl bundl string titl util string bundl titl non nl 1 shell parent shell compareui plugin shell file state null try state file histori null catch core except messag dialog open error parent shell titl messag return state null state length 0 string msg util string bundl local histori error non nl 1 messag dialog open inform parent shell titl msg return type element base resourc node file document document document file type element target base document null target document buffer node document file type element edit type element state length 1 edit 0 base int 0 state length edit 1 histori item base state edit select dialog edit select dialog parent shell bundl set edit titl argument file set edit titl imag compareui plugin imag file set hide ident entri fals help context id null set help context id help context id replac mode type element ti null previou ti select previou edit target edit null ti select edit target edit null ti instanceof stream content accessor stream content accessor sa stream content accessor ti util valid resourc file parent shell titl try document null updat document document sa updat workspac bundl parent shell sa file catch interrupt except oper cancel user catch invoc target except string reason target except messag messag dialog open error parent shell titl util format string bundl replac error reason non nl 1 set compar mode true select edit target edit null dofromhistori ifil resourcebundl resourcebundl getbundl fbundlenam getstr parentshel compareuiplugin getshel ifilest gethistori coreexcept messagedialog openerror parentshel getmessag getstr nolocalhistoryerror messagedialog openinform parentshel itypedel resourcenod idocu getdocu itypedel documentbuffernod itypedel itypedel historyitem editionselectiondialog editionselectiondialog parentshel seteditiontitleargu getnam seteditiontitleimag compareuiplugin getimag sethideidenticalentri fhelpcontextid sethelpcontextid fhelpcontextid freplacemod itypedel fpreviou selectpreviousedit selectedit istreamcontentaccessor istreamcontentaccessor istreamcontentaccessor validateresourc parentshel updatedocu updateworkspac parentshel interruptedexcept invocationtargetexcept gettargetexcept getmessag messagedialog openerror parentshel getformattedstr replaceerror setcomparemod selectedit privat void updat workspac final resourc bundl bundl shell shell final stream content accessor sa final file file throw invoc target except interrupt except workspac modifi oper oper workspac modifi oper public void execut progress monitor pm throw invoc target except try string task util string bundl task non nl 1 pm begin task task progress monitor unknown file set content sa content fals true pm catch core except throw invoc target except final pm progress monitor dialog pmdialog progress monitor dialog shell pmdialog run fals true oper updateworkspac resourcebundl istreamcontentaccessor ifil invocationtargetexcept interruptedexcept workspacemodifyoper workspacemodifyoper iprogressmonitor invocationtargetexcept tasknam getstr tasknam begintask tasknam iprogressmonitor setcont getcont coreexcept invocationtargetexcept progressmonitordialog progressmonitordialog privat void updat document document document stream content accessor sa throw invoc target except try string text util read string sa document replac 0 document length text catch core except throw invoc target except catch bad locat except throw invoc target except updatedocu idocu istreamcontentaccessor invocationtargetexcept readstr getlength coreexcept invocationtargetexcept badlocationexcept invocationtargetexcept privat document document file file workbench wb platformui workbench wb null return null workbench window ws wb workbench window ws null return null file editor input test file editor input file int 0 ws length i workbench window ws i workbench page wp page wp null int 0 wp length workbench page wp wp editor part ep wp find editor test ep instanceof text editor text editor te text editor ep document provid dp te document provid dp null document doc dp document ep doc null return doc return null idocu getdocu ifil iworkbench getworkbench iworkbenchwindow getworkbenchwindow fileeditorinput fileeditorinput iworkbenchwindow iworkbenchpag getpag iworkbenchpag ieditorpart findeditor itexteditor itexteditor itexteditor idocumentprovid getdocumentprovid idocu getdocu log except platform log mechan except log error error code code java statu constant intern error code public static void log throwabl string messag compareui plugin log statu statu error compareui plugin plugin id compareui plugin intern error messag javastatusconst intern_error compareuiplugin istatu compareuiplugin getpluginid compareuiplugin intern_error handl code core except code workbench shell parent dialog window param code core except code handl param titl dialog window window titl param messag messag displai dialog window public static void handl core except string titl string messag handl compareui plugin shell titl messag coreexcept coreexcept coreexcept compareuiplugin getshel handl code core except code param code core except code handl param parent dialog window parent shell param titl dialog window window titl param messag messag displai dialog window public static void handl core except shell parent string titl string messag fg instanc perform parent titl messag coreexcept coreexcept coreexcept fginstanc handl code invoc target except code workbench shell parent dialog window param code invoc target except code handl param titl dialog window window titl param messag messag displai dialog window public static void handl invoc target except string titl string messag handl compareui plugin shell titl messag invocationtargetexcept invocationtargetexcept invocationtargetexcept compareuiplugin getshel handl code invoc target except code param code invoc target except code handl param parent dialog window parent shell param titl dialog window window titl param messag messag displai dialog window public static void handl invoc target except shell parent string titl string messag fg instanc perform parent titl messag invocationtargetexcept invocationtargetexcept invocationtargetexcept fginstanc protect void perform core except shell shell string titl string messag compareui plugin log statu statu statu statu null error dialog open error shell titl messag statu displai messag dialog e messag shell titl messag coreexcept compareuiplugin istatu getstatu errordialog openerror displaymessagedialog getmessag protect void perform invoc target except shell shell string titl string messag throwabl target target except target instanceof core except perform core except target shell titl messag compareui plugin log messag null messag length 0 displai messag dialog e messag shell titl messag displai messag dialog target messag shell titl messag invocationtargetexcept gettargetexcept coreexcept coreexcept compareuiplugin getmessag getmessag displaymessagedialog getmessag displaymessagedialog getmessag privat void displai messag dialog throwabl string except messag shell shell string titl string messag string writer msg string writer messag null msg write messag msg write n non nl 1 except messag null except messag length 0 msg write compar messag string except dialog error log messag non nl 1 msg write except messag messag dialog open error shell titl msg string displaymessagedialog exceptionmessag stringwrit stringwrit exceptionmessag exceptionmessag comparemessag getstr exceptiondialog seeerrorlogmessag exceptionmessag messagedialog openerror tostr public class ignor white space action extend chang properti action public ignor white space action resourc bundl bundl compar configur cc super bundl cc action ignor white space compar configur ignor whitespac non nl 1 ignorewhitespaceact changepropertyact ignorewhitespaceact resourcebundl compareconfigur ignorewhitespac compareconfigur ignor_whitespac sb set increment 20 sb add listen swt select listen public void handl event event repaint setincr addlisten handleev sb set increment 20 sb add listen swt select listen public void handl event event repaint setincr addlisten handleev add listen swt resiz listen public void handl event event updat scrollbar addlisten handleev updatescrollbar add listen swt paint listen public void handl event event event paint event gc addlisten handleev creat imag canva swt stylebit swt scroll swt scroll automt ad public imag canva composit parent int style super parent style swt scroll swt scroll scroll bar sb horizont bar sb set increment 20 sb add listen swt select listen public void handl event event repaint sb vertic bar sb set increment 20 sb add listen swt select listen public void handl event event repaint add listen swt resiz listen public void handl event event updat scrollbar add listen swt paint listen public void handl event event event paint event gc imagecanva h_scroll v_scroll imagecanva h_scroll v_scroll scrollbar gethorizontalbar setincr addlisten handleev getverticalbar setincr addlisten handleev addlisten handleev updatescrollbar addlisten handleev set swt imag imag canva content public void set imag imag img imag img dispos horizont bar set select 0 vertic bar set select 0 updat scrollbar parent layout redraw imagecanva setimag fimag isdispos gethorizontalbar setselect getverticalbar setselect updatescrollbar getpar public void repaint dispos gc gc gc paint gc gc dispos isdispos privat void paint gc gc imag null rectangl bound imag bound rectangl client area client area int bound width client area width client area width bound width 2 horizont bar select int bound height client area height client area height bound height 2 vertic bar select gc draw imag imag fimag fimag getbound clientarea getclientarea clientarea clientarea gethorizontalbar getselect clientarea clientarea getverticalbar getselect drawimag fimag privat void updat scrollbar rectangl bound imag null imag bound rectangl 0 0 0 0 point size size rectangl client area client area scroll bar horizont horizont bar bound width client area width horizont set visibl fals horizont set select 0 horizont set page increment client area width horizont increment int max bound width size client area width horizont set maximum max horizont set thumb size max max size horizont set visibl true scroll bar vertic vertic bar bound height client area height vertic set visibl fals vertic set select 0 vertic set page increment client area height vertic increment int max bound height size client area height vertic set maximum max vertic set thumb size max max size vertic set visibl true updatescrollbar fimag fimag getbound getsiz clientarea getclientarea scrollbar gethorizontalbar clientarea setvis setselect setpageincr clientarea getincr clientarea setmaximum setthumb setvis scrollbar getverticalbar clientarea setvis setselect setpageincr clientarea getincr clientarea setmaximum setthumb setvis public imag merg viewer composit parent int style compar configur mp super style resourc bundl bundl bundl mp workbench help set help parent compar context id imag compar view build control parent string titl util string resourc bundl titl non nl 1 control set data compareui compar viewer titl titl imagemergeview compareconfigur resourcebundl getbundl bundl_name workbenchhelp sethelp icomparecontextid imag_compar_view buildcontrol getstr getresourcebundl getcontrol setdata compar_viewer_titl protect void updat content object ancestor object left object set input ancestor ancestor left imag left set input left left imag set input right updatecont setinput fancestor fleftimag setinput fleft frightimag setinput fright modifi content side return null protect byte content boolean left return null getcont public void creat control composit composit ancestor imag canva composit swt focu left imag canva composit swt focu imag canva composit swt focu createcontrol fancestor imagecanva no_focu fleft imagecanva no_focu fright imagecanva no_focu privat static void set input imag canva canva object input canva null input stream stream null input instanceof stream content accessor stream content accessor sca stream content accessor input sca null try stream sca content catch core except need imag imag null displai displai canva displai stream null try imag imag displai stream catch swt except silent canva set imag imag imag null canva set background displai system color swt color list background canva set background null stream null try stream close catch io except silent setinput imagecanva inputstream istreamcontentaccessor istreamcontentaccessor istreamcontentaccessor getcont coreexcept needwork getdisplai swtexcept setimag setbackground getsystemcolor color_list_background setbackground ioexcept protect void handl resiz ancestor int int int width int height width 0 ancestor set visibl true ancestor set bound width height ancestor set visibl fals handleresizeancestor fancestor setvis fancestor setbound fancestor setvis protect void handl resiz left int int int width1 int center width int width2 int height left set bound width1 height set bound width1 center width width2 height handleresizeleftright centerwidth fleft setbound fright setbound centerwidth protect void copi boolean left left right imag left imag set input right imag set dirti true left imag imag set input left left imag set left dirti true lefttoright lefttoright frightimag fleftimag setinput fright frightimag setrightdirti fleftimag frightimag setinput fleft fleftimag setleftdirti public class imag merg viewer creator implement viewer creator public viewer creat viewer composit parent compar configur mp return imag merg viewer parent swt null mp imagemergeviewercr iviewercr createview compareconfigur imagemergeview static final string navig properti org eclips compar intern navig non nl 1 return true end begin boolean goto differ boolean navig_properti gotodiffer static final string open properti org eclips compar intern open non nl 1 open select element void open select open_properti openselect public interfac savabl void save progress monitor pm throw core except isav iprogressmonitor coreexcept creat viewer descriptor stw parent control current viewer type viewer implement method free return current viewer param current viewer current viewer go replac viewer param parent swt parent control viewer creat param config compar configur viewer interest return viewer current viewer currentview list content public list content provid fcontent listcontentprovid public object element object input content null content input return content arrai return object 0 getel fcontent fcontent fcontent toarrai public void input chang viewer viewer object input object input input instanceof list content list input content null fix set inputchang oldinput newinput newinput fcontent newinput fcontent public void dispos public boolean delet object return content null content isdelet fcontent fcontent privat boolean add cancel button public list dialog shell parent super parent add cancel button fals faddcancelbutton listdialog faddcancelbutton public void set input object input input input setinput finput public void set content provid structur content provid sp content provid sp setcontentprovid istructuredcontentprovid fcontentprovid public void set label provid label provid lp label provid lp setlabelprovid ilabelprovid flabelprovid public void set add cancel button boolean add cancel button add cancel button add cancel button setaddcancelbutton addcancelbutton faddcancelbutton addcancelbutton public tabl viewer tabl viewer return tabl viewer tableview gettableview ftableview public boolean filter return tabl viewer filter null tabl viewer filter length 0 hasfilt ftableview getfilt ftableview getfilt public void creat set shell style swt dialog trim swt resiz super creat setshellstyl dialog_trim protect void creat button button bar composit parent add cancel button creat button parent dialog constant ok id dialog constant ok label true super creat button button bar parent createbuttonsforbuttonbar faddcancelbutton createbutton idialogconst ok_id idialogconst ok_label createbuttonsforbuttonbar protect control creat dialog area composit contain composit parent composit super creat dialog area contain creat messag area parent tabl viewer tabl viewer parent tabl style tabl viewer set content provid content provid tabl tabl tabl viewer tabl tabl viewer set label provid label provid tabl viewer set input input grid data gd grid data grid data fill gd height hint convert height char pixel 15 gd width hint convert width char pixel 55 tabl set layout data gd appli dialog font parent return parent createdialogarea createdialogarea createmessagearea ftableview tableview gettablestyl ftableview setcontentprovid fcontentprovid ftableview gettabl ftableview setlabelprovid flabelprovid ftableview setinput finput griddata griddata griddata fill_both heighthint convertheightincharstopixel widthhint convertwidthincharstopixel setlayoutdata applydialogfont protect int tabl style return swt singl swt scroll swt scroll swt border gettablestyl h_scroll v_scroll public line compar input stream string encod throw unsupport encod except buffer reader br buffer reader input stream reader encod string line arrai list ar arrai list try line br read line null ar add line catch io except try close catch io except e1 line string ar arrai string ar size linecompar inputstream unsupportedencodingexcept bufferedread bufferedread inputstreamread arraylist arraylist readlin ioexcept ioexcept fline toarrai string line int ix return line ix getlin fline org eclips compar rangedifferenc rang compar rang count public int rang count return line length irangecompar getrangecount getrangecount fline public boolean rang equal int index rang compar int index string s1 line index string s2 line compar line index return s1 equal s2 rangesequ thisindex irangecompar otherindex fline thisindex linecompar fline otherindex org eclips compar rangedifferenc rang compar skip rang comparison int int org eclips compar rangedifferenc rang compar public boolean skip rang comparison int length int max length rang compar return fals irangecompar skiprangecomparison irangecompar skiprangecomparison maxlength irangecompar privat static resourc bundl fg resourc bundl resourc bundl bundl resourc bundl privat merg messag resourcebundl fgresourcebundl resourcebundl getbundl resourc_bundl mergemessag public static string string string kei try return fg resourc bundl string kei catch miss resourc except return kei non nl 2 non nl 1 getstr fgresourcebundl getstr missingresourceexcept text oper action int oper code boolean mutabl boolean select boolean content super mutabl select content oper code oper code updat textoperationact operationcod foperationcod operationcod public void run enabl oper oper code isen dooper foperationcod public boolean enabl return oper code 1 oper oper code isen foperationcod candooper foperationcod public void updat set enabl enabl seten isen public merg sourc viewer composit parent resourc bundl bundl super parent null swt scroll swt scroll resourc bundl bundl menu manag menu menu manag menu set remov shown true menu add menu listen style text te text widget te set menu menu creat context menu te mergesourceview resourcebundl h_scroll v_scroll fresourcebundl menumanag menumanag setremoveallwhenshown addmenulisten styledtext gettextwidget setmenu createcontextmenu public void hide save action add save action fals hidesaveact faddsaveact public void set font font font style text te text widget te null te set font font setfont styledtext gettextwidget setfont public void set background color color color style text te text widget te null te set background color setbackgroundcolor styledtext gettextwidget setbackground public void set enabl boolean enabl enabl enabl enabl enabl style text text widget null set enabl enabl displai displai set background enabl system color swt color list background null seten fenabl fenabl styledtext gettextwidget seten getdisplai setbackground getsystemcolor color_list_background public boolean enabl return enabl geten fenabl public void set region posit region region region setregion fregion public posit region return region getregion fregion public boolean control ok style text text widget return null dispos iscontroloktous styledtext gettextwidget isdispos public void set select posit posit posit null set select rang posit offset posit length setselect setselectedrang getoffset getlength public void set line background posit posit color style text text widget null dispos point region point 0 0 line rang posit region region document region offset try set line background region region catch illeg argument except silent setlinebackground styledtext gettextwidget isdispos getlinerang getdocumentregionoffset setlinebackground illegalargumentexcept public void reset line background style text text widget null dispos int line line count set line background 0 line null resetlinebackground styledtext gettextwidget isdispos getlinecount setlinebackground return number line document region public int line count region region visibl region int length region length length 0 return 0 document doc document int start line 0 int end line 0 int start region offset try start line doc line offset start catch bad locat except silent try end line doc line offset start length catch bad locat except silent return end line start line 1 getlinecount iregion getvisibleregion getlength idocu getdocu startlin endlin getoffset startlin getlineofoffset badlocationexcept endlin getlineofoffset badlocationexcept endlin startlin public int viewport line style text te text widget rectangl cl area te client area cl area empti return cl area height te line height return 0 getviewportlin styledtext gettextwidget clarea getclientarea clarea isempti clarea getlineheight public int viewport height style text te text widget rectangl cl area te client area cl area empti return cl area height return 0 getviewportheight styledtext gettextwidget clarea getclientarea clarea isempti clarea return line public int document region offset int start visibl region offset document doc document doc null try return doc line offset start catch bad locat except silent return 0 getdocumentregionoffset getvisibleregion getoffset idocu getdocu getlineofoffset badlocationexcept public int vertic scroll offset style text st text widget int line height st line height return top inset document region offset line height st top pixel getverticalscrolloffset styledtext gettextwidget lineheight getlineheight gettopinset getdocumentregionoffset lineheight gettoppixel return start line number line correspond posit start line number 0 base public point line rang posit point region document doc document null doc null region 0 region 0 return region int start offset int length length int start line 0 try start line doc line offset start catch bad locat except silent int line count 0 length 0 rang length 0 rang start line try start doc line start offset start line line catch bad locat except line int end line 0 try end line doc line offset start length 1 1 catch bad locat except silent line count end line start line 1 region start line region line count return region getlinerang idocu getdocu getoffset getlength startlin startlin getlineofoffset badlocationexcept linecount getlinestartoffset startlin badlocationexcept endlin endlin getlineofoffset badlocationexcept linecount endlin startlin startlin linecount scroll text part line public void vscroll int line int src view size line count int src extent size viewport line src view size src extent size line 0 line 0 int cp top index cp line set top index line document region offset textpart srcviewsiz getlinecount srcextents getviewportlin srcviewsiz srcextents gettopindex settopindex getdocumentregionoffset public void add action string action id merg viewer action action action put action id action addact actionid mergevieweract faction actionid public merg viewer action action string action id merg viewer action action merg viewer action action action id action null action creat action action id action null return null action content depend add text listen action select depend add select chang listen util init action action resourc bundl action action id non nl 1 non nl 2 action put action id action action edit depend edit return null return action mergevieweract getact actionid mergevieweract mergevieweract faction actionid createact actionid iscontentdepend addtextlisten isselectiondepend addselectionchangedlisten initact fresourcebundl actionid faction actionid iseditabledepend isedit protect merg viewer action creat action string action id undo id equal action id return text oper action undo true fals true redo id equal action id return text oper action redo true fals true cut id equal action id return text oper action cut true true fals copi id equal action id return text oper action copi fals true fals past id equal action id return text oper action past true fals fals delet id equal action id return text oper action delet true fals fals select id equal action id return text oper action select fals fals fals return null mergevieweract createact actionid undo_id actionid textoperationact redo_id actionid textoperationact cut_id actionid textoperationact copi_id actionid textoperationact past_id actionid textoperationact delet_id actionid textoperationact select_all_id actionid textoperationact select_all public void select chang select chang event event iter action valu iter merg viewer action action merg viewer action action select depend action updat selectionchang selectionchangedev faction hasnext mergevieweract mergevieweract isselectiondepend public void text chang text event event iter action valu iter merg viewer action action merg viewer action action content depend action updat textchang textev faction hasnext mergevieweract mergevieweract iscontentdepend viewer add menu tool context menu public void menu show menu manag menu menu add separ undo non nl 1 add menu menu undo id add menu menu redo id menu add separ ccp non nl 1 add menu menu cut id add menu menu copi id add menu menu past id add menu menu delet id add menu menu select id menu add separ edit non nl 1 menu add separ find non nl 1 add menu menu find id menu add separ save non nl 1 add save action add menu menu save id menu add separ rest non nl 1 menuabouttoshow imenumanag addmenu undo_id addmenu redo_id addmenu cut_id addmenu copi_id addmenu past_id addmenu delet_id addmenu select_all_id addmenu find_id faddsaveact addmenu save_id privat void add menu menu manag menu string action id action action action action id action null menu add action addmenu imenumanag actionid iaction getact actionid protect void handl dispos remov text listen remov select chang listen super handl dispos handledispos removetextlisten removeselectionchangedlisten handledispos public statu merg output stream output string output encod input stream ancestor string ancestor encod input stream target string target encod input stream string encod progress monitor monitor line compar try line compar ancestor ancestor encod line compar target target encod line compar other encod catch unsupport encod except return statu statu error compareui plugin id 1 merg messag string text auto merg input encod error non nl 1 try char line separ rang differ diff rang differenc find rang monitor int 0 diff length rang differ rd diff switch rd kind case rang differ ancestor pseudo conflict case rang differ nochang case rang differ int rd start rd end string line output write byte output encod output write line separ break case rang differ left int rd left start rd left end string line output write byte output encod output write line separ break case rang differ conflict return statu statu error compareui plugin id conflict merg messag string text auto merg conflict null non nl 1 default break catch unsupport encod except return statu statu error compareui plugin id 1 merg messag string text auto merg output encod error non nl 1 catch io except return statu statu error compareui plugin id 1 merg messag string text auto merg outputio error non nl 1 return statu ok statu istatu outputstream outputencod inputstream ancestorencod inputstream targetencod inputstream otherencod iprogressmonitor linecompar linecompar ancestorencod linecompar targetencod linecompar otherencod unsupportedencodingexcept plugin_id mergemessag getstr textautomerg inputencodingerror linesepar rangediffer rangedifferenc findrang rangediffer rangediffer rangediffer rangediffer rightstart rightend getlin getbyt outputencod linesepar rangediffer leftstart leftend getlin getbyt outputencod linesepar rangediffer plugin_id mergemessag getstr textautomerg unsupportedencodingexcept plugin_id mergemessag getstr textautomerg outputencodingerror ioexcept plugin_id mergemessag getstr textautomerg outputioerror ok_statu public merg viewer action boolean mutabl boolean select boolean content mutabl mutabl select select content content mergevieweract fmutabl fselect fcontent public boolean select depend return select isselectiondepend fselect public boolean content depend return content iscontentdepend fcontent public boolean edit depend return mutabl iseditabledepend fmutabl public void updat privat string error public merg viewer content provid compar configur cc compar configur cc frighterror mergeviewercontentprovid compareconfigur fcompareconfigur privat boolean error return ancestor error null left error null error null haserror fancestorerror flefterror frighterror public void dispos public void input chang viewer object o1 object o2 interest inputchang ancestor public void set ancestor error string error messag ancestor error error messag setancestorerror errormessag fancestorerror errormessag public string ancestor label object element ancestor error null return ancestor error return compar configur ancestor label element getancestorlabel fancestorerror fancestorerror fcompareconfigur getancestorlabel public imag ancestor imag object element ancestor error null return null return compar configur ancestor imag element getancestorimag fancestorerror fcompareconfigur getancestorimag public object ancestor content object element element instanceof compar input return compar input element ancestor return null getancestorcont icompareinput icompareinput getancestor public boolean show ancestor object element element instanceof compar input return true fix 45239 show ancestor incom outgo return compar input element kind differenc direct mask differenc conflict return fals showancestor icompareinput icompareinput getkind direct_mask left public void set left error string error messag left error error messag setlefterror errormessag flefterror errormessag public string left label object element left error null return left error return compar configur left label element getleftlabel flefterror flefterror fcompareconfigur getleftlabel public imag left imag object element left error null return null return compar configur left imag element getleftimag flefterror fcompareconfigur getleftimag public object left content object element element instanceof compar input return compar input element left return null getleftcont icompareinput icompareinput getleft public boolean left edit object element error return fals element instanceof compar input object left compar input element left left null diff element parent diff element element parent parent instanceof compar input left compar input parent left left instanceof edit content return edit content left edit return fals isleftedit haserror icompareinput icompareinput getleft idiffel idiffel getpar icompareinput icompareinput getleft ieditablecont ieditablecont isedit public void save left content object element byte byte element instanceof compar input compar input node compar input element byte null type element left node left 9869 problem left null resourc exist left null node copi fals left node left left instanceof edit content edit content left set content byte node instanceof resourc compar input diff node resourc compar input diff node node fire chang node copi fals saveleftcont icompareinput icompareinput icompareinput itypedel getleft getleft ieditablecont ieditablecont setcont resourcecompareinput mydiffnod resourcecompareinput mydiffnod firechang public void set error string error messag error error messag setrighterror errormessag frighterror errormessag public string label object element error null return error return compar configur label element getrightlabel frighterror frighterror fcompareconfigur getrightlabel public imag imag object element error null return null return compar configur imag element getrightimag frighterror fcompareconfigur getrightimag public object content object element element instanceof compar input return compar input element return null getrightcont icompareinput icompareinput getright public boolean edit object element error return fals element instanceof compar input object compar input element right null diff contain parent diff element element parent parent instanceof compar input compar input parent right instanceof edit content return edit content edit return fals isrightedit haserror icompareinput icompareinput getright idiffcontain idiffel getpar icompareinput icompareinput getright ieditablecont ieditablecont isedit public void save content object element byte byte element instanceof compar input compar input node compar input element byte null type element node 9869 problem null resourc exist null node copi true node right instanceof edit content edit content set content byte node instanceof resourc compar input diff node resourc compar input diff node node fire chang node copi true saverightcont icompareinput icompareinput icompareinput itypedel getright getright ieditablecont ieditablecont setcont resourcecompareinput mydiffnod resourcecompareinput mydiffnod firechang public null viewer composit parent dummi tree parent swt null compar viewer pane clear tool bar parent nullview fdummi compareviewerpan cleartoolbar public control control return dummi getcontrol fdummi public static final class type descriptor privat type descriptor typedescriptor typedescriptor string kei public overlai kei type descriptor descriptor string kei descriptor descriptor kei kei fkei overlaykei typedescriptor fdescriptor fkei public void properti chang properti chang event event overlai kei kei find overlai kei event properti kei null propag properti parent kei store propertychang propertychangeev overlaykei findoverlaykei getproperti propagateproperti fparent fstore public overlai prefer store prefer store parent overlai kei overlai kei parent parent overlai kei overlai kei store prefer store overlaypreferencestor ipreferencestor overlaykei overlaykei fparent foverlaykei overlaykei fstore preferencestor privat overlai kei find overlai kei string kei int 0 overlai kei length overlai kei kei equal kei return overlai kei return null overlaykei findoverlaykei foverlaykei foverlaykei fkei foverlaykei privat boolean cover string kei return find overlai kei kei null findoverlaykei privat void propag properti prefer store orgin overlai kei kei prefer store target orgin default kei kei target default kei kei target set default kei kei return type descriptor kei descriptor boolean boolean origin orgin boolean kei kei boolean target target boolean kei kei target origin target set kei kei origin doubl doubl origin orgin doubl kei kei doubl target target doubl kei kei target origin target set kei kei origin float float origin orgin float kei kei float target target float kei kei target origin target set kei kei origin int int origin orgin int kei kei int target target int kei kei target origin target set kei kei origin long origin orgin kei kei target target kei kei target origin target set kei kei origin string string origin orgin string kei kei string target target string kei kei target null origin null target equal origin target set kei kei origin propagateproperti ipreferencestor overlaykei ipreferencestor isdefault fkei isdefault fkei settodefault fkei typedescriptor fdescriptor originvalu getboolean fkei targetvalu getboolean fkei targetvalu originvalu setvalu fkei originvalu originvalu getdoubl fkei targetvalu getdoubl fkei targetvalu originvalu setvalu fkei originvalu originvalu getfloat fkei targetvalu getfloat fkei targetvalu originvalu setvalu fkei originvalu originvalu getint fkei targetvalu getint fkei targetvalu originvalu setvalu fkei originvalu originvalu getlong fkei targetvalu getlong fkei targetvalu originvalu setvalu fkei originvalu originvalu getstr fkei targetvalu getstr fkei targetvalu originvalu targetvalu originvalu setvalu fkei originvalu public void propag int 0 overlai kei length propag properti store overlai kei parent foverlaykei propagateproperti fstore foverlaykei fparent privat void load properti prefer store orgin overlai kei kei prefer store target boolean forc initi type descriptor kei descriptor boolean forc initi target set kei kei true target set kei kei orgin boolean kei kei target set default kei kei orgin default boolean kei kei doubl forc initi target set kei kei 1 0d target set kei kei orgin doubl kei kei target set default kei kei orgin default doubl kei kei float forc initi target set kei kei 1 0f target set kei kei orgin float kei kei target set default kei kei orgin default float kei kei int forc initi target set kei kei 1 target set kei kei orgin int kei kei target set default kei kei orgin default int kei kei forc initi target set kei kei 1l target set kei kei orgin kei kei target set default kei kei orgin default kei kei string forc initi target set kei kei 1 non nl 1 target set kei kei orgin string kei kei target set default kei kei orgin default string kei kei loadproperti ipreferencestor overlaykei ipreferencestor forceiniti typedescriptor fdescriptor forceiniti setvalu fkei setvalu fkei getboolean fkei setdefault fkei getdefaultboolean fkei forceiniti setvalu fkei setvalu fkei getdoubl fkei setdefault fkei getdefaultdoubl fkei forceiniti setvalu fkei setvalu fkei getfloat fkei setdefault fkei getdefaultfloat fkei forceiniti setvalu fkei setvalu fkei getint fkei setdefault fkei getdefaultint fkei forceiniti setvalu fkei setvalu fkei getlong fkei setdefault fkei getdefaultlong fkei forceiniti setvalu fkei setvalu fkei getstr fkei setdefault fkei getdefaultstr fkei public void load int 0 overlai kei length load properti parent overlai kei store true foverlaykei loadproperti fparent foverlaykei fstore public void load default int 0 overlai kei length set default overlai kei kei loaddefault foverlaykei settodefault foverlaykei fkei public void start properti listen null properti listen properti listen parent add properti chang listen properti listen fpropertylisten fpropertylisten propertylisten fparent addpropertychangelisten fpropertylisten public void stop properti listen null parent remov properti chang listen properti listen properti listen null fpropertylisten fparent removepropertychangelisten fpropertylisten fpropertylisten prefer store add properti chang listen properti chang listen public void add properti chang listen properti chang listen listen store add properti chang listen listen ipreferencestor addpropertychangelisten ipropertychangelisten addpropertychangelisten ipropertychangelisten fstore addpropertychangelisten prefer store remov properti chang listen properti chang listen public void remov properti chang listen properti chang listen listen store remov properti chang listen listen ipreferencestor removepropertychangelisten ipropertychangelisten removepropertychangelisten ipropertychangelisten fstore removepropertychangelisten prefer store fire properti chang event string object object public void fire properti chang event string object object store fire properti chang event valu ipreferencestor firepropertychangeev firepropertychangeev oldvalu newvalu fstore firepropertychangeev oldvalu newvalu prefer store string public boolean string return store ipreferencestor fstore prefer store boolean string public boolean boolean string return store boolean ipreferencestor getboolean getboolean fstore getboolean prefer store default boolean string public boolean default boolean string return store default boolean ipreferencestor getdefaultboolean getdefaultboolean fstore getdefaultboolean prefer store default doubl string public doubl default doubl string return store default doubl ipreferencestor getdefaultdoubl getdefaultdoubl fstore getdefaultdoubl prefer store default float string public float default float string return store default float ipreferencestor getdefaultfloat getdefaultfloat fstore getdefaultfloat prefer store default int string public int default int string return store default int ipreferencestor getdefaultint getdefaultint fstore getdefaultint prefer store default string public default string return store default ipreferencestor getdefaultlong getdefaultlong fstore getdefaultlong prefer store default string string public string default string string return store default string ipreferencestor getdefaultstr getdefaultstr fstore getdefaultstr prefer store doubl string public doubl doubl string return store doubl ipreferencestor getdoubl getdoubl fstore getdoubl prefer store float string public float float string return store float ipreferencestor getfloat getfloat fstore getfloat prefer store int string public int int string return store int ipreferencestor getint getint fstore getint prefer store string public long string return store ipreferencestor getlong getlong fstore getlong prefer store string string public string string string return store string ipreferencestor getstr getstr fstore getstr prefer store default string public boolean default string return store default ipreferencestor isdefault isdefault fstore isdefault prefer store need save public boolean need save return store need save ipreferencestor needssav needssav fstore needssav prefer store put string string public void put string string cover store put valu ipreferencestor putvalu putvalu fstore putvalu prefer store set default string doubl public void set default string doubl cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string float public void set default string float cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string int public void set default string int cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string public void set default string cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string string public void set default string string cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string boolean public void set default string boolean cover store set default ipreferencestor setdefault setdefault fstore setdefault prefer store set default string public void set default string store set default ipreferencestor settodefault settodefault fstore settodefault prefer store set string doubl public void set string doubl cover store set valu ipreferencestor setvalu setvalu fstore setvalu prefer store set string float public void set string float cover store set valu ipreferencestor setvalu setvalu fstore setvalu prefer store set string int public void set string int cover store set valu ipreferencestor setvalu setvalu fstore setvalu prefer store set string public void set string cover store set valu ipreferencestor setvalu setvalu fstore setvalu prefer store set string string public void set string string cover store set valu ipreferencestor setvalu setvalu fstore setvalu prefer store set string boolean public void set string boolean cover store set valu ipreferencestor setvalu setvalu fstore setvalu patch wizard dialog shell parent wizard wizard super parent wizard set shell style shell style swt resiz set minimum page size 700 500 patchwizarddialog iwizard setshellstyl getshellstyl setminimumpages protect boolean enabl select select return util resourc select length 1 isen iselect getresourc protect void run select select patch wizard wizard patch wizard select editor save patch wizard dialog dialog patch wizard dialog compareui plugin shell wizard dialog open iselect patchwizard patchwizard arealleditorssav patchwizarddialog patchwizarddialog compareuiplugin getshel privat boolean editor save compareui plugin dirti editor length 0 return true save dirti editor return fals shell shell compareui plugin shell try save isn cancel workspac workspac resourc plugin workspac workspac descript descript workspac descript boolean auto build descript auto build descript set auto build fals workspac set descript descript try progress monitor dialog shell run fals fals creat runnabl final descript set auto build auto build workspac set descript descript return true catch invoc target except except handler handl shell patch messag string patch action except titl patch messag string except non nl 1 non nl 2 return fals catch core except except handler handl shell patch messag string patch action except titl patch messag string except non nl 1 non nl 2 return fals catch interrupt except assert true fals happen oper isn cancel return fals arealleditorssav compareuiplugin getdirtyeditor savealldirtyeditor compareuiplugin getshel iworkspac resourcesplugin getworkspac iworkspacedescript getdescript autobuild isautobuild setautobuild setdescript progressmonitordialog createrunn setautobuild autobuild setdescript invocationtargetexcept exceptionhandl patchmessag getstr patchact exceptiontitl patchmessag getstr coreexcept exceptionhandl patchmessag getstr patchact exceptiontitl patchmessag getstr interruptedexcept istru return runnabl progress public void run progress monitor pm editor part editor save compareui plugin dirti editor pm begin task patch messag string patch action save dirti editor task editor save length non nl 1 int 0 editor save length editor save save progress monitor pm 1 pm work 1 pm irunnablewithprogress iprogressmonitor ieditorpart editorstosav compareuiplugin getdirtyeditor begintask patchmessag getstr patchact savingdirtyeditorstask editorstosav editorstosav editorstosav dosav subprogressmonitor privat runnabl progress creat runnabl return runnabl progress public void run progress monitor pm editor part editor save compareui plugin dirti editor pm begin task patch messag string patch action save dirti editor task editor save length non nl 1 int 0 editor save length editor save save progress monitor pm 1 pm work 1 pm irunnablewithprogress createrunn irunnablewithprogress iprogressmonitor ieditorpart editorstosav compareuiplugin getdirtyeditor begintask patchmessag getstr patchact savingdirtyeditorstask editorstosav editorstosav editorstosav dosav subprogressmonitor check add select listen select adapt public void widget select select event compar prefer page set save editor check select addselectionlisten selectionadapt widgetselect selectionev comparepreferencepag setsavealleditor getselect list dialog dialog list dialog compareui plugin shell protect control creat dialog area composit parent composit result composit super creat dialog area parent final button check button result swt check check set text patch messag string patch action save question non nl 1 check set select compar prefer page save editor check add select listen select adapt public void widget select select event compar prefer page set save editor check select appli dialog font result return result listdialog listdialog compareuiplugin getshel createdialogarea createdialogarea settext patchmessag getstr patchact alwayssavequest setselect comparepreferencepag getsavealleditor addselectionlisten selectionadapt widgetselect selectionev comparepreferencepag setsavealleditor getselect applydialogfont privat boolean save dirti editor compar prefer page save editor save return true list dialog dialog list dialog compareui plugin shell protect control creat dialog area composit parent composit result composit super creat dialog area parent final button check button result swt check check set text patch messag string patch action save question non nl 1 check set select compar prefer page save editor check add select listen select adapt public void widget select select event compar prefer page set save editor check select appli dialog font result return result dialog set titl patch messag string patch action save question non nl 1 dialog set add cancel button true dialog set label provid creat dialog label provid dialog set messag patch messag string patch action save descript non nl 1 dialog set content provid list content provid dialog set input arrai list compareui plugin dirti editor return dialog open window ok savealldirtyeditor comparepreferencepag getsavealleditor listdialog listdialog compareuiplugin getshel createdialogarea createdialogarea settext patchmessag getstr patchact alwayssavequest setselect comparepreferencepag getsavealleditor addselectionlisten selectionadapt widgetselect selectionev comparepreferencepag setsavealleditor getselect applydialogfont settitl patchmessag getstr patchact saveallquest setaddcancelbutton setlabelprovid createdialoglabelprovid setmessag patchmessag getstr patchact savealldescript setcontentprovid listcontentprovid setinput aslist compareuiplugin getdirtyeditor privat label provid creat dialog label provid return label provid public imag imag object element return editor part element titl imag ilabelprovid createdialoglabelprovid labelprovid getimag ieditorpart gettitleimag return editor part element titl imag public string text object element return editor part element titl ieditorpart gettitleimag gettext ieditorpart gettitl privat label provid creat dialog label provid return label provid public imag imag object element return editor part element titl imag public string text object element return editor part element titl ilabelprovid createdialoglabelprovid labelprovid getimag ieditorpart gettitleimag gettext ieditorpart gettitl packag diff path path date path path date path path date path null 0 date path path date path null 0 date ipath oldpath olddat ipath newpath newdat foldpath oldpath folddat oldpath olddat fnewpath newpath fnewdat newpath newdat boolean enabl return enabl2 isen fisen2 void set enabl boolean enabl2 seten fisen2 void revers path tp path path path path tp date date date date iter iter hunk iter iter hunk hunk hunk iter hunk revers ipath foldpath foldpath fnewpath fnewpath folddat folddat fnewdat fnewdat fhunk hasnext hunk hunk return hunk hunk arrai hunk hunk size gethunk fhunk toarrai fhunk path path path null return path return path ipath getpath foldpath foldpath fnewpath void finish hunk size 1 hunk hunk hunk 0 length 0 date 0 path path fhunk fhunk fnewlength fnewdat fnewpath foldpath packag void add hunk hunk hunk add hunk fhunk packag int type date 0 return differenc addit date 0 return differenc delet return differenc chang gettyp folddat fnewdat packag string descript int strip path path path date 0 path path strip 0 strip path segment count path path remov segment strip return path too string getdescript ipath foldpath folddat fnewpath segmentcount removefirstseg toosstr packag hunk diff parent int rang int rang list line parent parent parent null parent add rang 0 0 start rang 0 1 line number start 0 start 0 length rang 1 rang 0 0 start rang 0 1 line number start 0 start 0 length rang 1 line string line arrai string line size oldrang newrang fparent fparent fparent oldrang foldstart oldrang foldstart foldlength oldrang newrang fnewstart newrang fnewstart fnewlength newrang fline toarrai boolean enabl return enabl isen fisen void set enabl boolean enabl enabl enabl seten fisen void revers int start start start start t length length length length int 0 line length string line line char line char 0 switch case line line substr 1 break case line line substr 1 break default break foldstart foldstart fnewstart fnewstart foldlength foldlength fnewlength fnewlength fline fline charat fline fline return content hunk line start control charact mean follow ul li add line li delet line li chang context line ul string content string buffer sb string buffer int 0 line length string line line sb append line substr 0 patcher length line sb append return sb string getcont stringbuff stringbuff fline fline tostr return descript string hunk form start length start length string descript string buffer sb string buffer sb append integ string start sb append sb append integ string length sb append non nl 1 sb append integ string start sb append sb append integ string length return sb string old_start old_length new_start new_length getdescript stringbuff stringbuff tostr foldstart tostr foldlength tostr fnewstart tostr fnewlength tostr string reject descript string buffer sb string buffer sb append non nl 1 sb append integ string start sb append sb append integ string length sb append non nl 1 sb append integ string start sb append sb append integ string length sb append non nl 1 return sb string getrejecteddescript stringbuff stringbuff tostr foldstart tostr foldlength tostr fnewstart tostr fnewlength tostr input patch page patch wizard pw super input patch page patch messag string input patch page titl null non nl 1 non nl 2 patch wizard pw set messag patch messag string input patch page messag non nl 1 inputpatchpag patchwizard inputpatchpag patchmessag getstr inputpatchpag fpatchwizard setmessag patchmessag getstr inputpatchpag path suppli text widget return org eclips core runtim path protect path path text text text field return path text field text absolut ipath ipath getpathfromtext textfield textfield gettext makeabsolut packag string patch clipboard return patch messag string input patch page clipboard non nl 1 return patch file path getpatchnam getuseclipboard patchmessag getstr inputpatchpag getpatchfilepath public void creat control composit parent composit composit composit parent swt null composit set layout grid layout composit set layout data grid data grid data vertic align fill grid data horizont align fill set control composit label label composit swt set text patch messag string input patch page select input non nl 1 build input group composit label composit swt spacer build patch file group composit restor widget valu updat widget enabl dialog appli dialog font composit workbench help set help composit compar context id patch input wizard page createcontrol setlayout gridlayout setlayoutdata griddata griddata vertic_align_fill griddata horizont_align_fill setcontrol settext patchmessag getstr inputpatchpag selectinput buildinputgroup buildpatchfilegroup restorewidgetvalu updatewidgetenabl applydialogfont workbenchhelp sethelp icomparecontextid patch_input_wizard_page public wizard page page patcher patcher patch wizard wizard patcher string sourc creat reader input reader reader null clipboard control control null clipboard clipboard clipboard displai object clipboard content text transfer instanc clipboard dispos instanceof string reader string reader string sourc patch messag string input patch page clipboard titl non nl 1 string patch file path patch file path patch file path null try reader file reader patch file path catch file found except messag dialog open error null patch messag string input patch page patch error dialog titl non nl 1 patch messag string input patch page patch file found messag non nl 1 sourc patch messag string input patch page patch file titl non nl 1 pars input reader null try patcher pars buffer reader reader catch io except messag dialog open error null patch messag string input patch page patch error dialog titl non nl 1 patch messag string input patch page pars error messag non nl 1 try reader close catch io except silent diff diff patcher diff diff null diff length 0 string format patch messag string input patch page diff found format non nl 1 string messag messag format format format string sourc messag dialog open inform null patch messag string input patch page patch error dialog titl messag non nl 1 return select target file ensur patch file patch singl file resourc target patch wizard target target instanceof file diff length 1 string format patch messag string input patch page singl file error format non nl 1 string messag messag format format format string sourc messag dialog open inform null patch messag string input patch page patch error dialog titl messag non nl 1 return guess prefix count int guess 0 guess prefix diff patcher set strip prefix segment guess return super page iwizardpag getnextpag patchwizard getwizard getpatch getuseclipboard getcontrol getdisplai getcont texttransf getinst stringread patchmessag getstr inputpatchpag patchfilepath getpatchfilepath patchfilepath fileread patchfilepath filenotfoundexcept messagedialog openerror patchmessag getstr inputpatchpag patcherrordialog patchmessag getstr inputpatchpag patchfilenotfound patchmessag getstr inputpatchpag patchfil bufferedread ioexcept messagedialog openerror patchmessag getstr inputpatchpag patcherrordialog patchmessag getstr inputpatchpag parseerror ioexcept getdiff patchmessag getstr inputpatchpag nodiffsfound messageformat messagedialog openinform patchmessag getstr inputpatchpag patcherrordialog iresourc fpatchwizard gettarget ifil patchmessag getstr inputpatchpag singlefileerror messageformat messagedialog openinform patchmessag getstr inputpatchpag patcherrordialog guessprefix setstripprefixseg getnextpag public boolean flip page call page determin flip allow comput page expens sai ye page complet return page complet canfliptonextpag getnextpag ispagecomplet privat void set enabl patch file boolean enabl patch file field set enabl enabl patch file brows button set enabl enabl setenablepatchfil fpatchfilenamefield seten fpatchfilebrowsebutton seten select adapt public void widget select select event show error true set enabl patch file clipboard updat widget enabl selectionadapt widgetselect selectionev fshowerror setenablepatchfil getuseclipboard updatewidgetenabl patch file field add select listen select adapt public void widget select select event set sourc patch file field text updat widget enabl fpatchfilenamefield addselectionlisten selectionadapt widgetselect selectionev setsourcenam fpatchfilenamefield gettext updatewidgetenabl patch file field add modifi listen modifi listen public void modifi text modifi event show error true updat widget enabl fpatchfilenamefield addmodifylisten modifylisten modifytext modifyev fshowerror updatewidgetenabl patch file brows button add select listen select adapt public void widget select select event handl patch file brows button press updat widget enabl fpatchfilebrowsebutton addselectionlisten selectionadapt widgetselect selectionev handlepatchfilebrowsebuttonpress updatewidgetenabl creat group select patch file privat void build patch file group composit parent patch file group group parent swt patch file group set text patch messag string input patch page select patch titl non nl 1 grid layout layout grid layout layout num column 3 patch file group set layout layout patch file group set layout data grid data grid data fill horizont 1st row patch file button button patch file group swt radio patch file button set text patch messag string input patch page file button text non nl 1 patch file field combo patch file group swt border grid data gd grid data grid data fill horizont gd horizont indent 8 gd width hint size text field width patch file field set layout data gd patch file brows button button patch file group swt push patch file brows button set text patch messag string input patch page choos file button text non nl 1 patch file brows button set layout data grid data 2nd row clipboard button button patch file group swt radio clipboard button set text patch messag string input patch page clipboard button text non nl 1 gd grid data grid data horizont align begin gd horizont span 2 clipboard button set layout data gd add listen patch file button add select listen select adapt public void widget select select event show error true set enabl patch file clipboard updat widget enabl patch file field add select listen select adapt public void widget select select event set sourc patch file field text updat widget enabl patch file field add modifi listen modifi listen public void modifi text modifi event show error true updat widget enabl patch file brows button add select listen select adapt public void widget select select event handl patch file brows button press updat widget enabl patch file field set focu buildpatchfilegroup fpatchfilegroup fpatchfilegroup settext patchmessag getstr inputpatchpag selectpatch gridlayout gridlayout numcolumn fpatchfilegroup setlayout fpatchfilegroup setlayoutdata griddata griddata fill_horizont fusepatchfilebutton fpatchfilegroup fusepatchfilebutton settext patchmessag getstr inputpatchpag filebutton fpatchfilenamefield fpatchfilegroup griddata griddata griddata fill_horizont horizontalind widthhint size_text_field_width fpatchfilenamefield setlayoutdata fpatchfilebrowsebutton fpatchfilegroup fpatchfilebrowsebutton settext patchmessag getstr inputpatchpag choosefilebutton fpatchfilebrowsebutton setlayoutdata griddata fuseclipboardbutton fpatchfilegroup fuseclipboardbutton settext patchmessag getstr inputpatchpag useclipboardbutton griddata griddata horizont_align_begin horizontalspan fuseclipboardbutton setlayoutdata fusepatchfilebutton addselectionlisten selectionadapt widgetselect selectionev fshowerror setenablepatchfil getuseclipboard updatewidgetenabl fpatchfilenamefield addselectionlisten selectionadapt widgetselect selectionev setsourcenam fpatchfilenamefield gettext updatewidgetenabl fpatchfilenamefield addmodifylisten modifylisten modifytext modifyev fshowerror updatewidgetenabl fpatchfilebrowsebutton addselectionlisten selectionadapt widgetselect selectionev handlepatchfilebrowsebuttonpress updatewidgetenabl fpatchfilenamefield setfocu patch target add select chang listen select chang listen public void select chang select chang event event patch wizard set target util resourc event select updat widget enabl fpatchtarget addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev fpatchwizard settarget getresourc getselect updatewidgetenabl privat void build input group composit parent patch wizard pw patch wizard wizard resourc target pw target workspac workspac target workspac workspac root root workspac root tree tree tree parent swt border grid data gd grid data grid data fill gd height hint 200 tree set layout data gd patch target checkbox tree viewer tree patch target set label provid workbench label provid patch target set content provid workbench content provid patch target set sorter workbench viewer sorter patch target set input root target null patch target expand level target 0 patch target set select structur select target regist listen patch target add select chang listen select chang listen public void select chang select chang event event patch wizard set target util resourc event select updat widget enabl buildinputgroup patchwizard patchwizard getwizard iresourc gettarget iworkspac getworkspac iworkspaceroot getroot griddata griddata griddata fill_both heighthint setlayoutdata fpatchtarget checkboxtreeview fpatchtarget setlabelprovid workbenchlabelprovid fpatchtarget setcontentprovid workbenchcontentprovid fpatchtarget setsort workbenchviewersort fpatchtarget setinput fpatchtarget expandtolevel fpatchtarget setselect structuredselect fpatchtarget addselectionchangedlisten iselectionchangedlisten selectionchang selectionchangedev fpatchwizard settarget getresourc getselect updatewidgetenabl updat enabl page control privat void updat widget enabl string error null select select patch target select boolean select select null select empti select error patch messag string input patch page select messag non nl 1 boolean patch fals clipboard control control null clipboard clipboard clipboard displai object clipboard content text transfer instanc clipboard dispos instanceof string string string trim length 0 patch true error patch messag string input patch page clipboard empti messag non nl 1 error patch messag string input patch page text clipboard messag non nl 1 error patch messag string input patch page read clipboard messag non nl 1 string path patch file field text path null path length 0 file file file path patch file exist file file file length 0 patch error patch messag string input patch page locat patch messag path non nl 1 error patch messag string input patch page file messag non nl 1 set page complet select patch show error set error messag error updatewidgetenabl iselect fpatchtarget getselect anyselect isempti anyselect patchmessag getstr inputpatchpag nothingselect gotpatch getuseclipboard getcontrol getdisplai getcont texttransf getinst gotpatch patchmessag getstr inputpatchpag clipboardisempti patchmessag getstr inputpatchpag notextinclipboard patchmessag getstr inputpatchpag couldnotreadclipboard fpatchfilenamefield gettext gotpatch isfil gotpatch patchmessag getstr inputpatchpag cannotlocatepatch patchmessag getstr inputpatchpag nofilenam setpagecomplet anyselect gotpatch fshowerror seterrormessag protect void handl patch file brows button press file dialog dialog file dialog shell swt dialog set text patch messag string input patch page select patch file dialog titl non nl 1 string patch file path patch file path patch file path null int segment patch file path index separ segment 0 patch file path patch file path substr 0 segment dialog set filter path patch file path string re dialog open re null return patch file path dialog file path filter path path dialog filter path path path filter path append patch file path absolut patch file path path too string dialog set put iui constant dialogstor lastextjar filter path too string patch file field set text patch file path set sourc patch file path handlepatchfilebrowsebuttonpress filedialog filedialog getshel settext patchmessag getstr inputpatchpag selectpatchfiledialog patchfilepath getpatchfilepath patchfilepath lastseg patchfilepath lastindexof lastseg patchfilepath patchfilepath lastseg setfilterpath patchfilepath patchfilepath getfilenam ipath filterpath getfilterpath ipath filterpath patchfilepath makeabsolut patchfilepath toosstr fdialogset iuiconst dialogstor_lastextjar filterpath toosstr fpatchfilenamefield settext patchfilepath setsourcenam patchfilepath set sourc import suppli path add the path list item sourc combo select param path path ad protect void set sourc string path path length 0 string current item patch file field item int select index 1 int 0 current item length current item equal path select index select index 0 found histori int length current item length string item string length 1 system arraycopi current item 0 item 0 length item length path patch file field set item item select index length patch file field select select index reset select setsourcenam currentitem fpatchfilenamefield getitem selectionindex currentitem currentitem selectionindex selectionindex oldlength currentitem newitem oldlength currentitem newitem oldlength newitem oldlength fpatchfilenamefield setitem newitem selectionindex oldlength fpatchfilenamefield selectionindex resetselect finish button press try requir answer boolean indic success fals return wizard close return boolean public boolean finish ensur sourc valid return fals save widget valu iter resourc enum select resourc iter list file system object arrai list resourc enum file system object add file system element resourc enum file system object file system object size 0 return import resourc file system object messag dialog open inform contain shell data transfer messag string data transfer inform non nl 1 data transfer messag string file import select non nl 1 return fals return true ensuresourceisvalid savewidgetvalu resourcesenum getselectedresourc filesystemobject arraylist resourcesenum hasnext filesystemobject filesystemel resourcesenum getfilesystemobject filesystemobject importresourc filesystemobject messagedialog openinform getcontain getshel datatransfermessag getstr datatransf datatransfermessag getstr fileimport noneselect dialog store restor widget valu valu held wizard complet privat void restor widget valu boolean clipboard fals dialog set set dialog set set null clipboard set boolean store clipboard id set filenam histori string sourc name set arrai store patch file id sourc name null int 0 sourc name length sourc name null sourc name length 0 patch file field add sourc name set patch file path string patch file path set store patch file id patch file path null set sourc patch file path set clipboard radio button set clipboard clipboard restorewidgetvalu useclipboard idialogset getdialogset useclipboard getboolean store_us_clipboard_id sourcenam getarrai store_patch_file_id sourcenam sourcenam sourcenam sourcenam fpatchfilenamefield sourcenam patchfilepath store_patch_file_id patchfilepath setsourcenam patchfilepath setuseclipboard useclipboard finish press write widget valu dialog store persist invoc wizard page void save widget valu dialog set set dialog set set null set put store clipboard id clipboard set put store patch file id patch file path updat sourc name histori string sourc name set arrai store patch file id sourc name null sourc name string 0 sourc name add histori sourc name patch file path set put store patch file id sourc name savewidgetvalu idialogset getdialogset store_us_clipboard_id getuseclipboard store_patch_file_id getpatchfilepath sourcenam getarrai store_patch_file_id sourcenam sourcenam sourcenam addtohistori sourcenam getpatchfilepath store_patch_file_id sourcenam privat void set clipboard boolean clipboard clipboard clipboard button set select true patch file button set select true set enabl patch file clipboard setuseclipboard useclipboard useclipboard fuseclipboardbutton setselect fusepatchfilebutton setselect setenablepatchfil useclipboard privat boolean clipboard clipboard button null return clipboard button select return fals getuseclipboard fuseclipboardbutton fuseclipboardbutton getselect privat string patch file path patch file field null return patch file field text return non nl 1 getpatchfilepath fpatchfilenamefield fpatchfilenamefield gettext add entri histori take care duplic histori item excess histori assumpt histori length code combo histori length code param histori current histori param entri entri add histori protect static string add histori string histori string entri java util arrai list java util arrai list java util arrai list histori remov entri add 0 entri item ad limit item size combo histori length remov combo histori length return string arrai string size combo_histori_length newentri addtohistori newentri arraylist arraylist aslist newentri newentri combo_histori_length combo_histori_length toarrai packag line reader buffer reader reader reader reader assert null reader lineread bufferedread freader isnotnul void ignor singlecr ignor singlecr true ignoresinglecr fignoresinglecr read line text line consid termin line feed carriag return carriag return immedi linefe return string content line includ line termin charact code null code end stream reach except io except error occur packag string read line throw io except string buffer sb null saweof int read char 1 saweof true break sb null sb string buffer sb append char break read char 1 saweof true break eof ignor singlecr sb append char continu char true char sb append char break sb null return sb string return null ioexcept readlin ioexcept stringbuff fsaweof readchar fsaweof stringbuff readchar fsaweof fignoresinglecr fhavechar flastchar tostr packag void close try reader close catch io except silent freader ioexcept packag list read line try list line arrai list string line line read line null line add line return line catch io except need system println error read file file final close return null readlin arraylist readlin ioexcept needwork filenam return number charact string count trail line separ packag int line content length string line line null return 0 int length line length int length 1 0 char line char length break return length linecontentlength charat privat int read char throw io except char char fals return char return reader read readchar ioexcept fhavechar fhavechar flastchar freader patcher option void set string name setnam fname string return getnam fname return arrai diff sucessful call code pars code code pars code hasn call return code null code diff diff return diff getdiff fdiff path path diff diff path path diff path strip prefix segment 0 strip prefix segment path segment count path path remov segment strip prefix segment return path ipath getpath ipath getpath fstripprefixseg fstripprefixseg segmentcount removefirstseg fstripprefixseg return code true code differ boolean set strip prefix segment int strip strip strip prefix segment strip prefix segment strip return true return fals setstripprefixseg fstripprefixseg fstripprefixseg int strip prefix segment return strip prefix segment getstripprefixseg fstripprefixseg return code true code differ boolean set fuzz int fuzz fuzz fuzz fuzz fuzz return true return fals setfuzz ffuzz ffuzz return code true code differ boolean set revers boolean revers revers revers revers revers int 0 diff length diff revers return true return fals setrevers frevers frevers fdiff fdiff return code true code differ boolean set ignor whitespac boolean ignor whitespac ignor whitespac ignor whitespac ignor whitespac ignor whitespac return true return fals setignorewhitespac ignorewhitespac ignorewhitespac fignorewhitespac fignorewhitespac ignorewhitespac packag void pars buffer reader reader throw io except list diff arrai list string line null boolean reread fals string diff arg null string file null line reader lr line reader reader carbon equal swt platform non nl 1 lr ignor singlecr read lead garbag true reread line lr read line reread fals line null break line length 4 continu short rememb info line start index non nl 1 file line substr 7 trim continu line start diff non nl 1 diff arg line substr 4 trim continu line start non nl 1 line read unifi diff diff lr line diff arg file diff arg file null reread true line start non nl 1 line read context diff diff lr line diff arg file diff arg file null reread true lr close diff diff diff arrai diff diff size bufferedread ioexcept arraylist diffarg filenam lineread lineread getplatform ignoresinglecr readlin startswith filenam startswith diffarg startswith readunifieddiff diffarg filenam diffarg filenam startswith readcontextdiff diffarg filenam diffarg filenam fdiff toarrai return line belong diff privat string read unifi diff list diff line reader reader string line string arg string file throw io except string arg split line substr 4 read info file line reader read line line null line start non nl 1 return line string arg split line substr 4 diff diff diff extract path arg 0 file extract date arg 1 extract path arg 0 file extract date arg 1 diff add diff int rang int 2 int rang int 2 list line arrai list try read line hunk true line reader read line line null return null reader line content length line 0 system println warn found empti line hunk line add line continu char line char 0 switch case line start non nl 1 flush hunk line size 0 hunk diff rang rang line line clear format start length start length extract pair line rang extract pair line rang continu break case case case line add line continu case line start newlin end file 2 non nl 1 int index line size index 0 line string line index 1 int end line length 1 char lc line char end lc end end 0 line char end 1 end lc end line line substr 0 end line set index 1 line continu break default debug int a1 a2 0 line length 1 a2 line char 1 system println char a1 a2 non nl 1 non nl 2 break return line final line size 0 hunk diff rang rang line diff finish readunifieddiff lineread filenam ioexcept oldarg readlin startswith newarg extractpath oldarg filenam extractd oldarg extractpath newarg filenam extractd newarg oldrang newrang arraylist readlin linecontentlength charat startswith oldrang newrang oldstart oldlength newstart newlength extractpair oldrang extractpair newrang startswith lastindex lastindex lastindex charat charat lastindex charat oldrang newrang return line belong diff privat string read context diff list diff line reader reader string line string arg string file throw io except string arg split line substr 4 read info file line reader read line line null line start non nl 1 return line string arg split line substr 4 diff diff diff extract path arg 0 file extract date arg 1 extract path arg 0 file extract date arg 1 diff add diff int rang int 2 int rang int 2 list line arrai list list line arrai list list line line try read line hunk true line reader read line line null return line int line length 0 continu 1 switch line char 0 case line start hunk non nl 1 flush hunk line size 0 line size 0 hunk diff rang rang unifi line line line line clear line clear continu line start rang non nl 1 format start end extract pair line rang rang 1 rang 1 rang 0 1 line line continu break case context line case addit case chang line char 1 line add line continu break case line char 1 delet line add line continu line start rang non nl 1 format start end extract pair line rang rang 1 rang 1 rang 0 1 line line continu break default break return line final flush hunk line size 0 line size 0 hunk diff rang rang unifi line line line diff finish readcontextdiff lineread filenam ioexcept oldarg readlin startswith newarg extractpath oldarg filenam extractd oldarg extractpath newarg filenam extractd newarg oldrang newrang oldlin arraylist newlin arraylist oldlin readlin charat startswith oldlin newlin oldrang newrang unifylin oldlin newlin oldlin newlin startswith oldstart oldend extractpair oldrang oldrang oldrang oldrang oldlin charat charat startswith newstart newend extractpair newrang newrang newrang newrang newlin oldlin newlin oldrang newrang unifylin oldlin newlin creat list line unifi format list line classic format privat list unifi line list line list line list result arrai list string ol string line arrai string line size string nl string line arrai string line size int oi 0 ni 0 true char oc 0 string null oi ol length ol oi oc char 0 char nc 0 string null ni nl length nl ni nc char 0 eof oc 0 nc 0 break delet oc result add substr 2 oi oi ol length break ol oi char 0 continu addit nc result add substr 2 ni ni nl length break nl ni char 0 continu differ line side oc nc remov result add substr 2 oi oi ol length break ol oi char 0 add result add substr 2 ni ni nl length break nl ni char 0 continu context line oc nc assert true equal non match context line non nl 1 result add substr 2 oi ni oi ol length ni nl length break ol oi nl ni char 0 char 0 continu oc result add substr 2 oi oi ol length break ol oi char 0 continu nc result add substr 2 ni ni nl length break nl ni char 0 continu assert true fals unexpect char oc nc non nl 1 non nl 2 non nl 3 return result unifylin oldlin newlin arraylist oldlin toarrai oldlin newlin toarrai newlin charat charat charat charat charat charat istru charat charat charat charat istru break string tab separ substr lead trail whitespac remov token privat string split string line list arrai list string token st string token line non nl 1 st element string token st token trim token length 0 add token return string arrai string size arraylist stringtoken stringtoken hasmoreel nexttoken toarrai return pars date millisecond 1 error privat extract date string arg int n arg length string line arg int 0 date format length date format set lenient true try date date date format pars line return date catch pars except silent system err println pars date line return 1 extractd date_format date_format setleni date_format gettim parseexcept return null file dev null privat path extract path string arg int string path2 arg length string path arg dev null equal path return null int po path index po 0 path path substr 0 po path2 null path2 equal path debug system println path mismatch path2 non nl 1 path path2 return path path return null ipath extractpath dev_null lastindexof tri extract integ separ comma pars line start posit occurr charact start end blank end line singl number found assum length rang case start rang set 1 error occur rang 1 1 return privat void extract pair string line char start int pair pair 0 pair 1 1 int start po line index start start po 0 debug system println pars error extract pair couldn find start non nl 1 non nl 2 return line line substr start po 1 int end po line index end po 0 debug system println pars error extract pair couldn find end blank non nl 1 return line line substr 0 end po int comma line index comma 0 pair 0 integ pars int line substr 0 comma pair 1 integ pars int line substr comma 1 pair 0 1 pair 1 integ pars int line substr comma 1 extractpair startpo indexof startpo extractpair startpo endpo indexof endpo extractpair endpo indexof parseint parseint parseint tri patch line diff hunk couldn appli return list fail hunk packag void patch diff diff list line list fail hunk int shift 0 iter iter diff hunk iter iter hunk hunk hunk iter hunk match fals shift patch hunk line shift fail hunk failedhunk failedhunk fhunk hasnext fmatch failedhunk tri appli hunk line hunk appli origin posit method tri fuzz line fail hunk ad list fail hunk privat int patch hunk hunk list line int shift list fail hunk try patch hunk line shift hunk enabl shift patch hunk line shift boolean found fals int shift shift int 1 fuzz try patch hunk line shift adjust shift shift found true break found int 1 fuzz try patch hunk line shift adjust shift shift found true break found debug system println patch hunk offset shift shift non nl 1 shift patch hunk line shift fail hunk null debug system println fail hunk non nl 1 fail hunk add hunk return shift failedhunk trypatch isen dopatch oldshift ffuzz trypatch fadjustshift ffuzz trypatch fadjustshift oldshift dopatch failedhunk failedhunk tri appli hunk line paramet shift ad line number hunk privat boolean try patch hunk hunk list line int shift int po hunk start shift int delet match 0 int 0 hunk line length string hunk line assert true length 0 string line substr 1 char control char char 0 control char context line true po 0 po line size return fals line match line string line po po break return fals control char delet line true po 0 po line size return fals line match line string line po delet match po break delet match 0 return fals po control char ad line don try assert true fals try patch unknown control charact control char non nl 1 return true trypatch foldstart deletematch fline fline istru controlchar charat controlchar linesmatch controlchar linesmatch deletematch deletematch controlchar istru trypatch controlchar privat int patch hunk hunk list line int shift int po hunk start shift int 0 hunk line length string hunk line assert true length 0 string line substr 1 char control char char 0 control char context line true assert true po line size patch inconsist context non nl 1 line match line string line po po break po control char delet line true assert true po line size patch inconsist delet line non nl 1 line match line string line po break po line remov po control char ad line line add po line po assert true fals patch unknown control charact control char non nl 1 hunk match true return hunk length hunk length dopatch foldstart fline fline istru controlchar charat controlchar istru dopatch linesmatch controlchar istru dopatch linesmatch controlchar istru dopatch controlchar fmatch fnewlength foldlength public void appli resourc target progress monitor pm shell shell string titl throw core except final int unit 10 int i file singl file null file patch contain contain null target instanceof contain contain contain target target instanceof file singl file file target contain singl file parent assert true fals file modifi order call valid edit list list arrai list singl file null list add singl file 0 diff length diff diff diff diff enabl switch diff type case differenc chang list add creat path contain path diff break util valid resourc list shell titl return pm null string messag patch messag string patcher task messag non nl 1 pm begin task messag diff length unit 0 diff length int tick unit diff diff diff diff enabl path path path diff pm null pm task path string file file singl file null singl file creat path contain path list fail arrai list list result null int type diff type switch type case differenc addit patch collect reject hunk result appli diff file true fail store creat string result file progress monitor pm tick tick unit break case differenc delet file delet true true progress monitor pm tick tick unit break case differenc chang patch collect reject hunk result appli diff file fals fail store creat string result file progress monitor pm tick tick unit break fail size 0 path pp null path segment count 1 pp path remov segment 1 pp pp append path segment reject file extens pp path path segment reject file extens file creat path contain pp file null store reject fail file pm try marker marker file creat marker marker type marker set attribut marker messag patch messag string patcher marker messag non nl 1 marker set attribut marker prioriti marker prioriti high catch core except need pm null pm cancel break tick 0 pm work tick applyal iresourc iprogressmonitor coreexcept work_unit ifil singlefil icontain icontain icontain ifil singlefil ifil singlefil getpar istru validateedit arraylist singlefil singlefil fdiff fdiff isen gettyp createpath getpath validateresourc patchmessag getstr begintask fdiff work_unit fdiff worktick work_unit fdiff isen ipath getpath subtask tostr ifil singlefil singlefil createpath arraylist gettyp createstr subprogressmonitor worktick worktick work_unit subprogressmonitor worktick worktick work_unit createstr subprogressmonitor worktick worktick work_unit ipath segmentcount removelastseg lastseg reject_file_extens lastseg reject_file_extens createpath getreject imark createmark marker_type setattribut imark patchmessag getstr setattribut imark imark prioriti_high coreexcept needwork iscancel worktick worktick read content file return list line list load file file boolean creat list line null creat file null read current content input stream null try file content reader stream reader null try stream reader input stream reader util charset file catch unsupport encod except default encod stream reader input stream reader buffer reader reader buffer reader stream reader line reader lr line reader reader carbon equal swt platform non nl 1 lr ignor singlecr line lr read line catch core except need final null try close catch io except silent line null line arrai list return line ifil inputstream getcont streamread streamread inputstreamread getcharset unsupportedencodingexcept streamread inputstreamread bufferedread bufferedread streamread lineread lineread getplatform ignoresinglecr readlin coreexcept needwork ioexcept arraylist list appli diff diff file file boolean creat list fail hunk list line load file creat patch diff line fail hunk return line ifil failedhunk failedhunk convert string byte store file privat void store string content file file progress monitor pm throw core except byte byte try byte content byte util charset file catch unsupport encod except default encod byte content byte input stream byte arrai input stream byte try file exist file set content fals true pm file creat fals pm final null try close catch io except silent ifil iprogressmonitor coreexcept getbyt getcharset unsupportedencodingexcept getbyt inputstream bytearrayinputstream setcont ioexcept concaten string found list privat string creat string list line string buffer sb string buffer iter iter line iter preserv line delimit iter sb append string iter string line separ system properti line separ non nl 1 iter string line string iter int length line line length line delimit sb append line substr 0 sb append line separ sb append line return sb string createstr stringbuff stringbuff fpreservelinedelimit hasnext linesepar getproperti hasnext linesepar tostr string reject list fail hunk fail hunk size 0 return null string line separ system properti line separ non nl 1 string buffer sb string buffer iter iter fail hunk iter iter hunk hunk hunk iter sb append hunk reject descript sb append line separ sb append hunk content return sb string getreject failedhunk failedhunk linesepar getproperti stringbuff stringbuff failedhunk hasnext getrejecteddescript linesepar getcont tostr ensur file path exist contain folder creat privat file creat path contain contain path path throw core except path segment count 1 folder contain folder path upto segment 1 exist creat fals true null return creat path path remov segment 1 leaf return contain file path ifil createpath icontain ipath coreexcept segmentcount ifold getfold uptoseg createpath removefirstseg getfil return string whitespac charact remov whitespac defin code charact whitespac code privat static string strip white space string string buffer sb string buffer int length int 0 char char charact whitespac sb append return sb string iswhitespac stripwhitespac stringbuff stringbuff charat iswhitespac tostr compar string ignor whitespac true whitespac privat boolean line match string line1 string line2 ignor whitespac return strip white space line1 equal strip white space line2 ignor line delimit int l1 length line1 int l2 length line2 l1 l2 return fals return line1 region match 0 line2 0 l1 return line1 equal line2 fignorewhitespac linesmatch fignorewhitespac stripwhitespac stripwhitespac fignorelinedelimit regionmatch return length exlud line delimit cr lf cr lf string packag static int length string int length 0 char char 1 return 1 1 char 2 return 2 return 1 return charat charat int calcul fuzz hunk hunk list line int shift progress monitor pm int fuzz hunk match fals try patch hunk line shift shift patch hunk line shift fuzz 0 0 boolean found fals int huge fuzz line size maximum need file fuzz 0 2 found int 1 huge fuzz pm cancel fuzz 0 1 return 0 try patch hunk line shift fuzz 0 adjust shift shift found true break found int 1 huge fuzz pm cancel fuzz 0 1 return 0 try patch hunk line shift fuzz 0 adjust shift shift found true break found shift patch hunk line shift return shift calculatefuzz iprogressmonitor fmatch trypatch dopatch hugefuzz hugefuzz iscancel trypatch fadjustshift hugefuzz iscancel trypatch fadjustshift dopatch public class patch error dialog privat patch error dialog instanc patcherrordialog patcherrordialog privat static resourc bundl fg resourc bundl resourc bundl bundl resourc bundl privat patch messag resourcebundl fgresourcebundl resourcebundl getbundl resourc_bundl patchmessag public static string string string kei try return fg resourc bundl string kei catch miss resourc except return kei non nl 2 non nl 1 getstr fgresourcebundl getstr missingresourceexcept creat wizard appli patch file workspac packag patch wizard select select set default page imag descriptor compareui plugin imag descriptor wizban applypatch wizban gif non nl 1 set window titl patch messag string patch wizard titl non nl 1 set target util resourc select patcher patcher dialog set workbench set compareui plugin default dialog set dialog set section workbench set section dialog set kei non nl 1 section null dialog set true dialog set fals set dialog set section patchwizard iselect setdefaultpageimagedescriptor compareuiplugin getimagedescriptor applypatch_wizban setwindowtitl patchmessag getstr patchwizard settarget getresourc fpatcher idialogset workbenchset compareuiplugin getdefault getdialogset idialogset workbenchset getsect dialog_set_kei fhasnewdialogset fhasnewdialogset setdialogset patcher patcher return patcher getpatch fpatcher resourc target return target iresourc gettarget ftarget void set target resourc target target null target length 0 target target 0 deal singl select settarget iresourc ftarget public void add page super add page add page patch wizard page input patch page add page preview patch page addpag addpag addpag fpatchwizardpag inputpatchpag addpag previewpatchpag method declar wizard public boolean need progress monitor return true iwizard needsprogressmonitor workspac modifi oper op workspac modifi oper target project protect void execut progress monitor monitor throw invoc target except try patcher appli target monitor shell patch messag string patch wizard titl non nl 1 catch core except throw invoc target except workspacemodifyoper workspacemodifyoper ftarget getproject iprogressmonitor invocationtargetexcept fpatcher applyal gettarget getshel patchmessag getstr patchwizard coreexcept invocationtargetexcept public boolean perform finish patcher set patch wizard page patch try workspac modifi oper op workspac modifi oper target project protect void execut progress monitor monitor throw invoc target except try patcher appli target monitor shell patch messag string patch wizard titl non nl 1 catch core except throw invoc target except contain run true fals op catch invoc target except except handler handl patch messag string patch wizard titl non nl 1 patch messag string patch wizard unexpect except messag non nl 1 catch interrupt except happen need assert save dialog set dialog set dialog set workbench set compareui plugin default dialog set dialog set section workbench set section dialog set kei section workbench set add section dialog set kei set dialog set section patch wizard page save widget valu preview patch page save widget valu return true performfinish fpatcher setnam fpatchwizardpag getpatchnam workspacemodifyoper workspacemodifyoper ftarget getproject iprogressmonitor invocationtargetexcept fpatcher applyal gettarget getshel patchmessag getstr patchwizard coreexcept invocationtargetexcept getcontain invocationtargetexcept exceptionhandl patchmessag getstr patchwizard patchmessag getstr patchwizard unexpectedexcept interruptedexcept needwork fhasnewdialogset idialogset workbenchset compareuiplugin getdefault getdialogset idialogset workbenchset getsect dialog_set_kei workbenchset addnewsect dialog_set_kei setdialogset fpatchwizardpag savewidgetvalu fpreviewpatchpag savewidgetvalu string type hunk input string type string type type content ftype hunkinput ftype fcontent content public imag imag return null fcontent getimag return null public string return patch messag string preview patch page text non nl 1 getnam patchmessag getstr previewpatchpag nonam return patch messag string preview patch page text non nl 1 public string type return type patchmessag getstr previewpatchpag nonam gettyp ftype return type public input stream content return byte arrai input stream util byte content utf 16 ftype inputstream getcont bytearrayinputstream getbyt fcontent utf_16 return byte arrai input stream util byte content utf 16 public string charset return utf 16 bytearrayinputstream getbyt fcontent utf_16 getcharset utf_16 packag preview patch page patch wizard pw super preview patch page non nl 1 patch messag string preview patch page titl null non nl 1 set messag patch messag string preview patch page messag non nl 1 patch wizard pw set page complet fals int 16 imag descriptor add id compareui plugin imag descriptor ovr16 add ov gif non nl 1 imag descriptor del id compareui plugin imag descriptor ovr16 del ov gif non nl 1 imag descriptor err id compareui plugin imag descriptor ovr16 error ov gif non nl 1 imag err im err id creat imag imag 0 diff imag null null creat imag imag 1 diff imag null add id creat imag imag 2 diff imag null del id creat imag imag 3 diff imag err im null creat imag imag 4 diff imag err im add id creat imag imag 5 diff imag err im del id creat imag compar configur compar configur compar configur set left edit fals compar configur set left label patch messag string preview patch page left titl non nl 1 compar configur set edit fals compar configur set label patch messag string preview patch page titl non nl 1 previewpatchpag patchwizard previewpatchpag patchmessag getstr previewpatchpag setmessag patchmessag getstr previewpatchpag fpatchwizard setpagecomplet imagedescriptor addid compareuiplugin getimagedescriptor add_ov imagedescriptor delid compareuiplugin getimagedescriptor del_ov imagedescriptor errid compareuiplugin getimagedescriptor error_ov errim errid createimag fimag diffimag createimag fimag diffimag addid createimag fimag diffimag delid createimag fimag diffimag errim createimag fimag diffimag errim addid createimag fimag diffimag errim delid createimag fcompareconfigur compareconfigur fcompareconfigur setleftedit fcompareconfigur setleftlabel patchmessag getstr previewpatchpag fcompareconfigur setrightedit fcompareconfigur setrightlabel patchmessag getstr previewpatchpag public void set visibl boolean visibl visibl build tree super set visibl visibl setvis buildtre setvis imag imag diff diff diff match switch diff type case differenc addit return imag 1 case differenc delet return imag 2 return imag 0 switch diff type case differenc addit return imag 4 case differenc delet return imag 5 return imag 3 getimag fmatch gettyp fimag fimag fimag gettyp fimag fimag fimag imag imag hunk hunk hunk match return imag 0 return imag 3 getimag fmatch fimag fimag bottom pane show hunk compar viewer hunk viewer compar viewer switch pane splitter swt border swt flat protect viewer viewer viewer viewer object input return compareui find content viewer viewer compar input input compar configur fhunkview compareviewerswitchingpan getview oldview findcontentview oldview icompareinput fcompareconfigur select adapt public void widget select select event tree item ti tree item item object data item data detail swt check boolean check ti check data instanceof hunk hunk hunk hunk data check check hunk match hunk set enabl check ti set check check updat grai ti data instanceof diff updat check ti data instanceof hunk preview patch page hunk viewer set input creat input hunk data preview patch page hunk viewer set input null selectionadapt widgetselect selectionev treeitem treeitem getdata getcheck fmatch seten setcheck updategrayedst updatecheckedst previewpatchpag fhunkview setinput createinput previewpatchpag fhunkview setinput tree add dispos listen dispos listen public void widget dispos dispos event imag null int 0 imag length imag null imag dispos imag null ftree adddisposelisten disposelisten widgetdispos disposeev fimag fimag fimag fimag fimag public void creat control composit parent composit composit composit parent swt null composit set layout grid layout composit set layout data grid data grid data vertic align fill grid data horizont align fill workbench help set help composit compar context id patch preview wizard page set control composit build patch option group composit splitter splitter splitter composit swt vertic splitter set layout data grid data grid data horizont align fill grid data grab horizont grid data vertic align fill grid data grab vertic top pane show diff hunk check box tree tree tree splitter swt check swt border swt scroll swt scroll grid data gd grid data gd vertic align grid data fill gd horizont align grid data fill gd grab excess horizont space true gd grab excess vertic space true tree set layout data gd bottom pane show hunk compar viewer hunk viewer compar viewer switch pane splitter swt border swt flat protect viewer viewer viewer viewer object input return compareui find content viewer viewer compar input input compar configur gd grid data gd vertic align grid data fill gd horizont align grid data fill gd grab excess horizont space true gd grab excess vertic space true hunk viewer set layout data gd regist listen tree add select listen select adapt public void widget select select event tree item ti tree item item object data item data detail swt check boolean check ti check data instanceof hunk hunk hunk hunk data check check hunk match hunk set enabl check ti set check check updat grai ti data instanceof diff updat check ti data instanceof hunk preview patch page hunk viewer set input creat input hunk data preview patch page hunk viewer set input null tree add dispos listen dispos listen public void widget dispos dispos event imag null int 0 imag length imag null imag dispos imag null creat tree content build tree dialog appli dialog font composit createcontrol setlayout gridlayout setlayoutdata griddata griddata vertic_align_fill griddata horizont_align_fill workbenchhelp sethelp icomparecontextid patch_preview_wizard_page setcontrol buildpatchoptionsgroup setlayoutdata griddata griddata horizont_align_fill griddata grab_horizont griddata vertic_align_fill griddata grab_vertic ftree h_scroll v_scroll griddata griddata verticalalign griddata horizontalalign griddata grabexcesshorizontalspac grabexcessverticalspac ftree setlayoutdata fhunkview compareviewerswitchingpan getview oldview findcontentview oldview icompareinput fcompareconfigur griddata verticalalign griddata horizontalalign griddata grabexcesshorizontalspac grabexcessverticalspac fhunkview setlayoutdata ftree addselectionlisten selectionadapt widgetselect selectionev treeitem treeitem getdata getcheck fmatch seten setcheck updategrayedst updatecheckedst previewpatchpag fhunkview setinput createinput previewpatchpag fhunkview setinput ftree adddisposelisten disposelisten widgetdispos disposeev fimag fimag fimag fimag fimag buildtre applydialogfont select adapt public void widget select select event int fuzz guess fuzz factor patcher fuzz 0 fuzz field set text integ string fuzz selectionadapt widgetselect selectionev guessfuzzfactor ffuzzfield settext tostr strip prefix segment add select listen select adapt public void widget select select event patcher set strip prefix segment strip prefix segment updat tree fstripprefixseg addselectionlisten selectionadapt widgetselect selectionev setstripprefixseg getstripprefixseg updatetre revers patch button add select listen select adapt public void widget select select event patcher set revers revers patch button select updat tree freversepatchbutton addselectionlisten selectionadapt widgetselect selectionev setrevers freversepatchbutton getselect updatetre ignor whitespac button add select listen select adapt public void widget select select event patcher set ignor whitespac ignor whitespac button select updat tree fignorewhitespacebutton addselectionlisten selectionadapt widgetselect selectionev setignorewhitespac fignorewhitespacebutton getselect updatetre fuzz field add modifi listen modifi listen public void modifi text modifi event patcher set fuzz fuzz factor updat tree ffuzzfield addmodifylisten modifylisten modifytext modifyev setfuzz getfuzzfactor updatetre creat group set patch option privat void build patch option group composit parent grid layout gl grid data gd label final patcher patcher patch wizard patcher group group group parent swt group set text patch messag string preview patch page patch option titl non nl 1 gl grid layout gl num column 4 gl margin height 0 group set layout gl group set layout data grid data grid data horizont align fill grid data grab horizont 1st row composit pair composit group swt gl grid layout gl num column 2 gl margin height gl margin width 0 pair set layout gl gd grid data grid data horizont align fill pair set layout data gd label pair swt set text patch messag string preview patch page ignor segment text non nl 1 gd grid data grid data vertic align center grid data horizont align begin grid data grab horizont set layout data gd strip prefix segment combo pair swt drop swt read swt simpl int prefix cnt patcher strip prefix segment string prefix integ string prefix cnt strip prefix segment add prefix strip prefix segment set text prefix gd grid data grid data vertic align center grid data horizont align end strip prefix segment set layout data gd add spacer group revers patch button button group swt check revers patch button set text patch messag string preview patch page revers patch text non nl 1 add spacer group 2nd row pair composit group swt gl grid layout gl num column 3 gl margin height gl margin width 0 pair set layout gl gd grid data grid data horizont align fill pair set layout data gd label pair swt set text patch messag string preview patch page fuzz factor text non nl 1 set tool tip text patch messag string preview patch page fuzz factor tooltip non nl 1 gd grid data grid data vertic align center grid data horizont align begin grid data grab horizont set layout data gd fuzz field text pair swt border fuzz field set text 2 non nl 1 gd grid data grid data vertic align center grid data horizont align end gd width hint 30 fuzz field set layout data gd button button pair swt push set text patch messag string preview patch page guess fuzz text non nl 1 add select listen select adapt public void widget select select event int fuzz guess fuzz factor patcher fuzz 0 fuzz field set text integ string fuzz gd grid data grid data vertic align center set layout data gd add spacer group ignor whitespac button button group swt check ignor whitespac button set text patch messag string preview patch page ignor whitespac text non nl 1 add spacer group regist listen strip prefix segment null strip prefix segment add select listen select adapt public void widget select select event patcher set strip prefix segment strip prefix segment updat tree revers patch button add select listen select adapt public void widget select select event patcher set revers revers patch button select updat tree ignor whitespac button add select listen select adapt public void widget select select event patcher set ignor whitespac ignor whitespac button select updat tree fuzz field add modifi listen modifi listen public void modifi text modifi event patcher set fuzz fuzz factor updat tree buildpatchoptionsgroup gridlayout griddata fpatchwizard getpatch settext patchmessag getstr previewpatchpag patchopt gridlayout numcolumn marginheight setlayout setlayoutdata griddata griddata horizont_align_fill griddata grab_horizont gridlayout numcolumn marginheight marginwidth setlayout griddata griddata horizont_align_fill setlayoutdata settext patchmessag getstr previewpatchpag ignoreseg griddata griddata vertic_align_center griddata horizont_align_begin griddata grab_horizont setlayoutdata fstripprefixseg drop_down read_onli prefixcnt getstripprefixseg tostr prefixcnt fstripprefixseg fstripprefixseg settext griddata griddata vertic_align_center griddata horizont_align_end fstripprefixseg setlayoutdata addspac freversepatchbutton freversepatchbutton settext patchmessag getstr previewpatchpag reversepatch addspac gridlayout numcolumn marginheight marginwidth setlayout griddata griddata horizont_align_fill setlayoutdata settext patchmessag getstr previewpatchpag fuzzfactor settooltiptext patchmessag getstr previewpatchpag fuzzfactor griddata griddata vertic_align_center griddata horizont_align_begin griddata grab_horizont setlayoutdata ffuzzfield ffuzzfield settext griddata griddata vertic_align_center griddata horizont_align_end widthhint ffuzzfield setlayoutdata settext patchmessag getstr previewpatchpag guessfuzz addselectionlisten selectionadapt widgetselect selectionev guessfuzzfactor ffuzzfield settext tostr griddata griddata vertic_align_center setlayoutdata addspac fignorewhitespacebutton fignorewhitespacebutton settext patchmessag getstr previewpatchpag ignorewhitespac addspac fstripprefixseg fstripprefixseg addselectionlisten selectionadapt widgetselect selectionev setstripprefixseg getstripprefixseg updatetre freversepatchbutton addselectionlisten selectionadapt widgetselect selectionev setrevers freversepatchbutton getselect updatetre fignorewhitespacebutton addselectionlisten selectionadapt widgetselect selectionev setignorewhitespac fignorewhitespacebutton getselect updatetre ffuzzfield addmodifylisten modifylisten modifytext modifyev setfuzz getfuzzfactor updatetre timeout context run true guess timeout control shell runnabl progress public void run progress monitor monitor result 0 guess patcher monitor strip timeoutcontext guess_timeout getcontrol getshel irunnablewithprogress iprogressmonitor privat int guess fuzz factor final patcher patcher final int strip strip prefix segment final int result int 1 try platformui workbench progress servic run true true timeout context run true guess timeout control shell runnabl progress public void run progress monitor monitor result 0 guess patcher monitor strip return result 0 catch invoc target except need catch interrupt except need return 1 guessfuzzfactor getstripprefixseg getworkbench getprogressservic timeoutcontext guess_timeout getcontrol getshel irunnablewithprogress iprogressmonitor invocationtargetexcept needwork interruptedexcept needwork privat int guess patcher patcher progress monitor pm int strip diff diff patcher diff diff null diff length 0 return 1 collect file determin file file file diff length int 0 int 0 diff length diff diff diff diff null continu diff type differenc addit path diff path strip 0 strip segment count p remov segment strip file file exist select file null file file diff hunk size int fuzz ref int 1 string format patch messag string preview patch page guess fuzz progress format non nl 1 pm begin task patch messag string preview patch page guess fuzz progress text non nl 1 try int fuzz 0 int 0 diff length diff diff i file file file null file null list line patcher load file fals string path segment iter iter hunk iter int shift 0 int hcnt 1 iter hcnt pm task messag format format format string integ string hcnt hunk hunk iter shift patcher calcul fuzz line shift pm fuzz ref int fuzz ref 0 1 cancel return 1 fuzz fuzz pm work 1 return fuzz final pm iprogressmonitor getdiff ifil ifil gettyp ipath foldpath segmentcount removefirstseg ifil existsinselect fhunk fuzzref patchmessag getstr previewpatchpag guessfuzzprogress begintask patchmessag getstr previewpatchpag guessfuzzprogress ifil getpath lastseg fhunk hasnext subtask messageformat tostr calculatefuzz fuzzref fuzzref compar input creat input hunk hunk string line hunk line string buffer left string buffer string buffer string buffer int 0 line length string line line string rest line substr 1 switch line char 0 case left append rest append rest break case left append rest break case append rest break diff diff hunk parent path path diff path string type path file extens return diff node hunk input type left string hunk input type string icompareinput createinput fline stringbuff stringbuff stringbuff stringbuff charat fparent ipath getpath getfileextens diffnod hunkinput tostr hunkinput tostr build tree list diff side effect calcul maximum number segment path privat void build tree set page complet true tree null tree dispos tree remov hunk viewer set input null int length 99 diff diff patch wizard patcher diff diff null int 0 diff length diff diff diff tree item tree item tree swt null set data diff set imag imag diff diff path null length math min length diff path segment count diff path null length math min length diff path segment count java util list hunk diff hunk java util iter iter hunk iter iter hunk hunk hunk iter tree item tree item swt null set data hunk set text hunk descript strip prefix segment null length 99 int 1 length strip prefix segment add integ string updat tree buildtre setpagecomplet ftree ftree isdispos ftree removeal fhunkview setinput fpatchwizard getpatch getdiff treeitem treeitem ftree setdata setimag getimag foldpath foldpath segmentcount fnewpath fnewpath segmentcount fhunk hasnext treeitem treeitem setdata settext getdescript fstripprefixseg fstripprefixseg tostr updatetre privat file exist select path path resourc target patch wizard target target instanceof file special case file file file target match file full path path return file target instanceof contain contain contain target exist path return file path return null ifil existsinselect ipath iresourc fpatchwizard gettarget ifil ifil ifil getfullpath icontain icontain icontain getfil return true path complet match end fullpath privat boolean match path fullpath path path path fullpath path segment count segment count p remov segment 1 equal path return true return fals ipath ipath ipath segmentcount segmentcount removefirstseg updat label check tree item privat void updat tree tree null tree dispos return int strip strip prefix segment tree item children tree item int 0 children length tree item item children diff diff diff item data diff match fals string error null boolean creat fals file file null diff type differenc addit path diff path strip 0 strip segment count p remov segment strip file exist select file null diff match true file exist error patch messag string preview patch page file exist error non nl 1 creat true path diff path strip 0 strip segment count p remov segment strip file exist select diff match fals file null file read file readonli error patch messag string preview patch page file read error non nl 1 file null diff match true file doesn exist error patch messag string preview patch page file exist error non nl 1 arrai list fail hunk arrai list patcher patcher patch wizard patcher patcher set fuzz fuzz factor patcher appli diff file creat fail hunk fail hunk size 0 diff reject patch wizard patcher reject fail hunk int check sub 0 count check hunk item tree item hunk item item item int 0 hunk item length hunk hunk hunk hunk item data boolean fail fail hunk hunk string hunk error null fail hunk error patch messag string preview patch page match error non nl 1 boolean check fail hunk item set check check check check sub string hunk label hunk descript hunk error null hunk label hunk error non nl 1 hunk item set text hunk label hunk item set imag imag hunk string label diff descript strip error null label error non nl 1 item set text label item set imag imag diff item set check check sub 0 boolean grai check sub 0 check sub hunk item length item set grai grai item set expand grai set page complet updat model updatetre ftree ftree isdispos getstripprefixseg treeitem ftree getitem treeitem getdata fmatch ifil gettyp ipath fnewpath segmentcount removefirstseg existsinselect fmatch patchmessag getstr previewpatchpag fileexist ipath foldpath segmentcount removefirstseg existsinselect fmatch isreadonli patchmessag getstr previewpatchpag fileisreadonli fmatch patchmessag getstr previewpatchpag filedoesnotexist arraylist failedhunk arraylist fpatchwizard getpatch setfuzz getfuzzfactor failedhunk failedhunk freject fpatchwizard getpatch getreject failedhunk checkedsub treeitem hunkitem getitem hunkitem hunkitem getdata failedhunk hunkerror hunkerror patchmessag getstr previewpatchpag nomatch hunkitem setcheck checkedsub hunklabel getdescript hunkerror hunklabel hunkerror hunkitem settext hunklabel hunkitem setimag getimag getdescript settext setimag getimag setcheck checkedsub checkedsub checkedsub hunkitem setgrai setexpand setpagecomplet updatemodel updat grai diff check children privat void updat check tree item diff item boolean check diff item check check enabl hunk tree item hunk diff item item int check count 0 int 0 hunk length hunk hunk hunk hunk data check hunk match hunk set check true check count hunk set check fals diff item set grai check count 0 check count hunk length diff item set check check count 0 set page complet updat model updatecheckedst treeitem diffitem diffitem getcheck treeitem diffitem getitem checkedcount getdata fmatch setcheck checkedcount setcheck diffitem setgrai checkedcount checkedcount diffitem setcheck checkedcount setpagecomplet updatemodel updat grai item parent privat void updat grai tree item hunk tree item diff hunk parent item tree item hunk diff item int check 0 int 0 hunk length hunk check check diff set check check 0 diff set grai check 0 check hunk length set page complet updat model updategrayedst treeitem treeitem getparentitem treeitem getitem getcheck setcheck setgrai setpagecomplet updatemodel privat void add spacer composit parent label label label parent swt grid data gd grid data grid data fill horizont gd width hint 20 label set layout data gd addspac griddata griddata griddata fill_horizont widthhint setlayoutdata privat int strip prefix segment int strip prefix segment 0 strip prefix segment null string strip prefix segment text try strip prefix segment integ pars int catch number format except silent return strip prefix segment getstripprefixseg stripprefixseg fstripprefixseg fstripprefixseg gettext stripprefixseg parseint numberformatexcept stripprefixseg privat int fuzz factor int fuzz factor 0 fuzz field null string fuzz field text try fuzz factor integ pars int catch number format except silent return fuzz factor getfuzzfactor fuzzfactor ffuzzfield ffuzzfield gettext fuzzfactor parseint numberformatexcept fuzzfactor public boolean updat model boolean enabl fals tree null tree dispos tree item diff item tree item int 0 diff item length tree item diff item diff item object data diff item data data instanceof diff diff diff diff data boolean diff item check diff set enabl tree item hunk item diff item item int 0 hunk item length tree item hunk item hunk item data hunk item data data instanceof hunk hunk hunk hunk data hunk item check hunk set enabl enabl true return enabl updatemodel atleastoneisen ftree ftree isdispos treeitem diffitem ftree getitem diffitem treeitem diffitem diffitem diffitem getdata diffitem getcheck seten treeitem hunkitem diffitem getitem hunkitem treeitem hunkitem hunkitem hunkitem getdata hunkitem getcheck seten atleastoneisen atleastoneisen public class replac edit action extend edit action public replac edit action super true org eclips compar intern replac edit action non nl 1 help context id compar context id replac edit dialog replacewitheditionact editionact replacewitheditionact replacewitheditionact fhelpcontextid icomparecontextid replac_with_edit_dialog public replac previou edit action super true org eclips compar intern replac edit action non nl 1 previou true replacewithpreviouseditionact replacewitheditionact fpreviou public resiz dialog shell parent resourc bundl bundl super parent set shell style shell style swt resiz swt max bundl bundl set compareui plugin default dialog set resizabledialog resourcebundl setshellstyl getshellstyl fbundl fset compareuiplugin getdefault getdialogset public void set help context id string context id context id context id sethelpcontextid contextid fcontextid contextid protect void configur shell shell shell super configur shell shell context id null workbench help set help shell context id configureshel newshel configureshel newshel fcontextid workbenchhelp sethelp newshel fcontextid add control listen control listen public void control move control event arg0 bound bound addcontrollisten controllisten controlmov controlev fnewbound getbound bound bound public void control resiz control event arg0 bound bound fnewbound getbound controlres controlev fnewbound getbound protect point initi size int width 0 int height 0 final shell shell null add control listen control listen public void control move control event arg0 bound bound public void control resiz control event arg0 bound bound dialog set bound set section dialog bound kei non nl 1 bound null bundl null width util integ bundl width 0 height util integ bundl height 0 shell shell parent shell shell null point parent size shell size width 0 width parent size 300 height 0 height parent size 200 shell shell parent shell shell null point parent size shell size width parent size 100 height parent size 100 width 700 width 700 height 500 height 500 try width bound int width catch number format except width 700 try height bound int height catch number format except height 500 return point width height getinitials getshel addcontrollisten controllisten controlmov controlev fnewbound getbound controlres controlev fnewbound getbound idialogset fset getsect dialog_bound_kei fbundl getinteg fbundl getinteg fbundl getparentshel parents getsiz parents parents getparentshel parents getsiz parents parents getint numberformatexcept getint numberformatexcept protect point initi locat point initi size point loc super initi locat initi size dialog set bound set section dialog bound kei bound null try loc bound int catch number format except try loc bound int catch number format except return loc getinitialloc initials getinitialloc initials idialogset fset getsect dialog_bound_kei getint numberformatexcept getint numberformatexcept public boolean close boolean close super close close bound null save bound bound return close fnewbound savebound fnewbound privat void save bound rectangl bound dialog set dialog bound set section dialog bound kei dialog bound null dialog bound dialog set dialog bound kei set add section dialog bound dialog bound put bound dialog bound put bound dialog bound put width bound width dialog bound put height bound height savebound idialogset dialogbound fset getsect dialog_bound_kei dialogbound dialogbound dialogset dialog_bound_kei fset addsect dialogbound dialogbound dialogbound dialogbound dialogbound public diff node diff contain parent int descript type element ancestor type element left type element super parent descript ancestor left mydiffnod idiffcontain itypedel itypedel itypedel public void fire chang super fire chang set dirti true dirti true diff viewer null diff viewer refresh firechang firechang setdirti fdirti fdiffview fdiffview diff viewer refresh void clear dirti dirti fals fdiffview cleardirti fdirti public string name null super dirti return return getnam flastnam flastnam getnam fdirti flastnam flastnam public type element id type element id super id id null return id id id return id itypedel getid itypedel getid flastid flastid static class filter buffer resourc node extend buffer resourc node filter buffer resourc node resourc resourc super resourc filteredbufferedresourcenod bufferedresourcenod filteredbufferedresourcenod iresourc protect structur compar creat child resourc child string child compareui plugin default filter child instanceof contain fals return null return filter buffer resourc node child istructurecompar createchild iresourc getnam compareuiplugin getdefault icontain filteredbufferedresourcenod creat compar editor input select resourc compar input compar configur config super config resourcecompareinput compareconfigur open action null open action action public void run handl open null fopenact fopenact handleopen diff viewer diff tree viewer parent compar configur protect void fill context menu menu manag manag open action null open action action public void run handl open null util init action open action bundl action compar content non nl 1 boolean enabl fals select select select select instanceof structur select structur select ss structur select select ss size 1 object element ss element element instanceof diff node type element te diff node element id te null enabl type element folder type equal te type enabl true open action set enabl enabl manag add open action super fill context menu manag fdiffview difftreeview getcompareconfigur fillcontextmenu imenumanag fopenact fopenact handleopen initact fopenact getbundl comparecont iselect getselect istructuredselect istructuredselect istructuredselect getfirstel mydiffnod itypedel mydiffnod getid itypedel folder_type gettyp fopenact seten fopenact fillcontextmenu public viewer creat diff viewer composit parent diff viewer diff tree viewer parent compar configur protect void fill context menu menu manag manag open action null open action action public void run handl open null util init action open action bundl action compar content non nl 1 boolean enabl fals select select select select instanceof structur select structur select ss structur select select ss size 1 object element ss element element instanceof diff node type element te diff node element id te null enabl type element folder type equal te type enabl true open action set enabl enabl manag add open action super fill context menu manag return diff viewer creatediffview fdiffview difftreeview getcompareconfigur fillcontextmenu imenumanag fopenact fopenact handleopen initact fopenact getbundl comparecont iselect getselect istructuredselect istructuredselect istructuredselect getfirstel mydiffnod itypedel mydiffnod getid itypedel folder_type gettyp fopenact seten fopenact fillcontextmenu fdiffview void set select select resourc select util resourc select length 3 ancestor resourc null left resourc select 0 resourc select 1 left resourc select 1 resourc select 2 ancestor null left structur left resourc structur resourc ancestor resourc select 0 ancestor structur ancestor resourc setselect iselect iresourc getresourc fthreewai fancestorresourc fleftresourc frightresourc fthreewai fleftresourc frightresourc fancestor fleft getstructur fleftresourc fright getstructur frightresourc fthreewai fancestorresourc fancestor getstructur fancestorresourc return true compar execut select public boolean enabl select resourc select util resourc select length 2 select length 3 return fals select length 3 left resourc select 0 resourc select 1 left resourc select 1 resourc select 2 compar left resourc resourc return fals ancestor resourc select 0 compar left resourc resourc return fals return true isen iselect iresourc getresourc fthreewai fleftresourc frightresourc fthreewai fleftresourc frightresourc fleftresourc frightresourc fthreewai fancestorresourc fleftresourc frightresourc initi imag compar configur void initi compar configur compar configur cc compar configur left resourc null cc set left label build label left resourc cc set left imag compareui plugin imag left resourc resourc null cc set label build label resourc cc set imag compareui plugin imag resourc ancestor resourc null cc set ancestor label build label ancestor resourc cc set ancestor imag compareui plugin imag ancestor resourc initializecompareconfigur compareconfigur getcompareconfigur fleftresourc setleftlabel buildlabel fleftresourc setleftimag compareuiplugin getimag fleftresourc frightresourc setrightlabel buildlabel frightresourc setrightimag compareuiplugin getimag frightresourc fthreewai fancestorresourc setancestorlabel buildlabel fancestorresourc setancestorimag compareuiplugin getimag fancestorresourc return true resourc structur unstructur privat boolean compar resourc c1 resourc c2 return structur c1 structur c2 iresourc iresourc hasstructur hasstructur return true argument structur privat boolean structur resourc input input instanceof contain return true input instanceof file file file file input string type file file extens type null type normal case type return jar equal type zip equal type non nl 2 non nl 1 return fals hasstructur iresourc icontain ifil ifil ifil getfileextens normalizecas creat code structur compar code input return code null code code structur compar code found code resourc code privat structur compar structur resourc input input instanceof contain return filter buffer resourc node input input instanceof file structur compar rn filter buffer resourc node input file file file input string type normal case file file extens jar equal type zip equal type non nl 2 non nl 1 return zip file structur creator structur rn return rn return null istructurecompar istructurecompar iresourc istructurecompar getstructur iresourc icontain filteredbufferedresourcenod ifil istructurecompar filteredbufferedresourcenod ifil ifil normalizecas getfileextens zipfilestructurecr getstructur differenc differenc protect object visit object parent int descript object ancestor object left object return diff node diff contain parent descript type element ancestor type element left type element mydiffnod idiffcontain itypedel itypedel itypedel perform wai diff current select public object prepar input progress monitor pm throw invoc target except try fix pr 1gfmlfb itpui win2000 file sync file system empti left resourc refresh local resourc depth infinit pm resourc refresh local resourc depth infinit pm ancestor resourc null ancestor resourc refresh local resourc depth infinit pm end fix pm begin task util string resourc compar task progress monitor unknown non nl 1 string left label left resourc string label resourc string titl string format util string resourc compar titl non nl 1 string ancestor label ancestor resourc titl messag format format format string ancestor label left label label string format util string resourc compar titl non nl 1 titl messag format format format string left label label set titl titl differenc differenc protect object visit object parent int descript object ancestor object left object return diff node diff contain parent descript type element ancestor type element left type element root find differ pm null ancestor left return root catch core except throw invoc target except final pm prepareinput iprogressmonitor invocationtargetexcept fleftresourc refreshloc iresourc depth_infinit frightresourc refreshloc iresourc depth_infinit fthreewai fancestorresourc fancestorresourc refreshloc iresourc depth_infinit begintask getstr resourcecompar tasknam iprogressmonitor leftlabel fleftresourc getnam rightlabel frightresourc getnam fthreewai getstr resourcecompar threewai ancestorlabel fancestorresourc getnam messageformat ancestorlabel leftlabel rightlabel getstr resourcecompar twowai messageformat leftlabel rightlabel settitl mydiffnod idiffcontain itypedel itypedel itypedel froot finddiffer fthreewai fancestor fleft fright froot coreexcept invocationtargetexcept public string tool tip text left resourc null resourc null string left label left resourc full path rel string string label resourc full path rel string string format util string resourc compar tooltip non nl 1 string ancestor label ancestor resourc full path rel string return messag format format format string ancestor label left label label string format util string resourc compar tooltip non nl 1 return messag format format format string left label label fall return super tool tip text gettooltiptext fleftresourc frightresourc leftlabel fleftresourc getfullpath makerel tostr rightlabel frightresourc getfullpath makerel tostr fthreewai getstr resourcecompar threewai ancestorlabel fancestorresourc getfullpath makerel tostr messageformat ancestorlabel leftlabel rightlabel getstr resourcecompar twowai messageformat leftlabel rightlabel gettooltiptext privat string build label resourc string full path string char 0 path separ return substr 1 return buildlabel iresourc getfullpath tostr charat ipath public void save progress monitor pm throw core except super save pm root instanceof diff node try commit pm diff node root final diff viewer null diff viewer refresh set dirti fals savechang iprogressmonitor coreexcept savechang froot diffnod diffnod froot fdiffview fdiffview setdirti privat static void commit progress monitor pm diff node node throw core except node instanceof diff node diff node node clear dirti type element left node left left instanceof buffer resourc node buffer resourc node left commit pm type element node right instanceof buffer resourc node buffer resourc node commit pm diff element children node children children null int 0 children length i diff element element children element instanceof diff node commit pm diff node element iprogressmonitor diffnod coreexcept mydiffnod mydiffnod cleardirti itypedel getleft bufferedresourcenod bufferedresourcenod itypedel getright bufferedresourcenod bufferedresourcenod idiffel getchildren idiffel diffnod diffnod public object adapt class adapt file class equal adapt hash set collector hash set collect dirti resourc root collector return file collector arrai file collector size return super adapt adapt getadapt ifil hashset hashset collectdirtyresourc froot ifil toarrai ifil getadapt privat void collect dirti resourc object set collector instanceof diff node diff node node diff node type element left node left left instanceof buffer resourc node buffer resourc node bn buffer resourc node left bn dirti resourc resourc bn resourc resourc instanceof file collector add resourc type element node right instanceof buffer resourc node buffer resourc node bn buffer resourc node bn dirti resourc resourc bn resourc resourc instanceof file collector add resourc diff element children node children children null int 0 children length i diff element element children element instanceof diff node collect dirti resourc element collector collectdirtyresourc diffnod diffnod diffnod itypedel getleft bufferedresourcenod bufferedresourcenod bufferedresourcenod isdirti iresourc getresourc ifil itypedel getright bufferedresourcenod bufferedresourcenod bufferedresourcenod isdirti iresourc getresourc ifil idiffel getchildren idiffel diffnod collectdirtyresourc privat static string normal case string normal case null return upper case return normalizecas normal_case touppercas public class show pseudo conflict extend chang properti action public show pseudo conflict resourc bundl bundl compar configur cc super bundl cc action show pseudo conflict compar configur show pseudo conflict non nl 1 showpseudoconflict changepropertyact showpseudoconflict resourcebundl compareconfigur showpseudoconflict compareconfigur show_pseudo_conflict simpl text viewer composit parent sourc viewer sourc viewer parent null swt scroll swt scroll sourc viewer set edit fals simpletextview fsourceview sourceview h_scroll v_scroll fsourceview setedit public control control return sourc viewer text widget getcontrol fsourceview gettextwidget public void set input object input input instanceof stream content accessor sourc viewer set document document string input input instanceof compar input input compar input input type element left input left sourc viewer set document document string left setinput istreamcontentaccessor fsourceview setdocu getstr icompareinput finput icompareinput itypedel finput getleft fsourceview setdocu getstr public object input return input getinput finput privat string string object input input instanceof stream content accessor try return util read string stream content accessor input catch core except need return non nl 1 getstr istreamcontentaccessor readstr istreamcontentaccessor coreexcept needwork creat sorter node configur element public stream merger descriptor configur element element element element streammergerdescriptor iconfigurationel felement creat stream merger node public stream merger creat stream merger try return stream merger element creat execut extens class attribut catch core except except handler handl search messag string search error creat sorter titl search messag string search error creat sorter messag non nl 2 non nl 1 return null catch class cast except except handler displai messag dialog search messag string search error creat sorter titl search messag string search error creat sorter messag non nl 2 non nl 1 return null istreammerg createstreammerg istreammerg felement createexecutableextens class_attribut coreexcept exceptionhandl searchmessag getstr createsort searchmessag getstr createsort classcastexcept exceptionhandl displaymessagedialog searchmessag getstr createsort searchmessag getstr createsort creat sorter node configur element public structur creator descriptor configur element element element element structurecreatordescriptor iconfigurationel felement creat sorter node public structur creator creat structur creator try return structur creator element creat execut extens class attribut catch core except compareui plugin log statu except handler handl search messag string search error creat sorter titl search messag string search error creat sorter messag non nl 2 non nl 1 return null catch class cast except except handler displai messag dialog search messag string search error creat sorter titl search messag string search error creat sorter messag non nl 2 non nl 1 return null istructurecr createstructurecr istructurecr felement createexecutableextens class_attribut coreexcept compareuiplugin getstatu exceptionhandl searchmessag getstr createsort searchmessag getstr createsort classcastexcept exceptionhandl displaymessagedialog searchmessag getstr createsort searchmessag getstr createsort return structur creator extens public string extens return element attribut extens attribut getextens felement getattribut extens_attribut protect point comput size composit composit int hint int hint boolean flush cach hint swt default hint swt default return point hint hint control children composit children int count children length int max width 0 max height 0 int 0 count control child children point pt child comput size swt default swt default flush cach max width math max max width pt max height math max max height pt hint swt default max width hint hint swt default max height hint return point max width max height computes whint hhint flushcach whint hhint whint hhint getchildren maxwidth maxheight computes flushcach maxwidth maxwidth maxheight maxheight whint maxwidth whint hhint maxheight hhint maxwidth maxheight protect void layout composit composit boolean flush cach rectangl rect composit client area control children composit children int 0 children length children set bound rect flushcach getclientarea getchildren setbound public class text merg viewer creator implement viewer creator public viewer creat viewer composit parent compar configur mp return text merg viewer parent mp textmergeviewercr iviewercr createview compareconfigur textmergeview public class text viewer creator implement viewer creator public viewer creat viewer composit parent compar configur mp return simpl text viewer parent textviewercr iviewercr createview compareconfigur simpletextview creat code token compar code string param string string split token public token compar string text assert null text text text int length text length start int length pessimist assumpt length int length count 0 char categori 0 0 categori int 0 length char text char char categori unspecifi categori charact whitespac categori white space categori charact digit categori 0 digit charact letter categori letter categori categori start token start count categori categori length count 1 tokencompar tokencompar isnotnul ftext ftext fstart flength fcount lastcategori ftext charat iswhitespac isdigit islett lastcategori fstart fcount lastcategori flength fcount creat code token compar code string param string string split token param escap public token compar string boolean escap escap escap tokencompar shouldescap tokencompar shouldescap fshouldescap shouldescap return number token string return number token string public int rang count return count getrangecount fcount public int token start int index index count return start index return text length gettokenstart fcount fstart ftext public int token length int index index count return length index return 0 gettokenlength fcount flength return code true code token index match token code rang compar code index param index number token rang compar param rang compar compar param index number token compar return code true code token equal public boolean rang equal int index rang compar int index null class class token compar tc token compar int len token length index int len tc token length index len len return text region match fals token start index tc text tc token start index len return fals irangecompar thisindex otherindex rangesequ thisindex irangecompar otherindex getclass getclass tokencompar tokencompar thislen gettokenlength thisindex otherlen gettokenlength otherindex thislen otherlen ftext regionmatch gettokenstart thisindex ftext gettokenstart otherindex thislen abort comparison number token larg return code true code abort token comparison public boolean skip rang comparison int length int max rang compar escap return fals rang count 50 rang count 50 return fals max 100 return fals length 100 return fals max 800 return true length max 4 return fals return true skiprangecomparison irangecompar fshouldescap getrangecount getrangecount public static void regist action kei bind servic kb action string id kb null set action definit id id kb regist action registeract ikeybindingservic iaction setactiondefinitionid registeract public static workbench part site find site control null dispos object data data data instanceof workbench part return workbench part data site c parent return null iworkbenchpartsit findsit isdispos getdata iworkbenchpart iworkbenchpart getsit getpar public static action bar find action bar control null dispos object data data data instanceof compar editor return compar editor data action bar pr 1gdvzv7 itpvcm win98 ctrl java sourc compar data instanceof view part return view part data view site action bar end pr 1gdvzv7 c parent return null iactionbar findactionbar isdispos getdata compareeditor compareeditor getactionbar iviewpart iviewpart getviewsit getactionbar getpar public static void set enabl composit composit composit boolean enabl control children composit children int 0 children length children set enabl enabl setenablecomposit getchildren seten public static boolean boolean compar configur cc string kei boolean dflt cc null object cc properti kei instanceof boolean return boolean boolean return dflt getboolean compareconfigur getproperti booleanvalu public static void fire properti chang listen list ll object sourc string properti object object ll null properti chang event event null object listen ll listen int 0 listen length i properti chang listen properti chang listen listen event null event properti chang event sourc properti properti chang event firepropertychang listenerlist newvalu propertychangeev getlisten ipropertychangelisten ipropertychangelisten propertychangeev newvalu propertychang public static boolean ok widget widget return widget null widget dispos oktous isdispos privat static arrai list intern resourc select select class type arrai list tmp arrai list select instanceof structur select object structur select select arrai int 0 length i resourc resourc null object type instanc resourc resourc o instanceof adapt adapt adapt object adapt adapt resourc class type instanc adapt resourc resourc adapt resourc null resourc access tmp add resourc return tmp arraylist internalgetresourc iselect arraylist arraylist istructuredselect istructuredselect toarrai iresourc isinst iresourc iadapt iadapt iadapt getadapt iresourc isinst iresourc isaccess conveni method extract access code resourc code select return null public static resourc resourc select select arrai list tmp intern resourc select resourc class return resourc tmp arrai resourc tmp size iresourc iresourc getresourc iselect arraylist internalgetresourc iresourc iresourc toarrai iresourc conveni method extract access code file code select return null public static file file select select arrai list tmp intern resourc select file class return file tmp arrai file tmp size ifil ifil getfil iselect arraylist internalgetresourc ifil ifil toarrai ifil public static byte read byte input stream byte arrai output stream bo byte arrai output stream try true int read 1 break bo write catch io except return null final util close try bo close catch io except silent return bo byte arrai readbyt inputstream bytearrayoutputstream bytearrayoutputstream ioexcept ioexcept tobytearrai public static string icon path displai displai return icon full non nl 1 geticonpath initi action resourc bundl public static void init action action resourc bundl bundl string prefix string label kei label non nl 1 string tooltip kei tooltip non nl 1 string imag kei imag non nl 1 string descript kei descript non nl 1 prefix null prefix length 0 label kei prefix label kei tooltip kei prefix tooltip kei imag kei prefix imag kei descript kei prefix descript kei set text string bundl label kei label kei set tool tip text string bundl tooltip kei null set descript string bundl descript kei null string rel path string bundl imag kei null rel path null rel path trim length 0 string path string path rel path index 0 non nl 1 string path rel path substr 1 path path path path path dlcl16 rel path non nl 1 path elcl16 rel path non nl 1 imag descriptor id compareui plugin imag descriptor path set disabl imag pr 1gdde87 id null set disabl imag descriptor id id compareui plugin imag descriptor path id null set imag descriptor id set hover imag descriptor id resourcebundl initact iaction resourcebundl labelkei tooltipkei imagekei descriptionkei labelkei labelkei tooltipkei tooltipkei imagekei imagekei descriptionkei descriptionkei settext getstr labelkei labelkei settooltiptext getstr tooltipkei setdescript getstr descriptionkei relpath getstr imagekei relpath relpath dpath epath relpath indexof relpath dpath epath dpath relpath epath relpath imagedescriptor compareuiplugin getimagedescriptor dpath setdisabledimagedescriptor compareuiplugin getimagedescriptor epath setimagedescriptor sethoverimagedescriptor public static void init toggl action action resourc bundl bundl string prefix boolean check string tooltip null check tooltip string bundl prefix tooltip check null non nl 1 tooltip string bundl prefix tooltip uncheck null non nl 1 tooltip null tooltip string bundl prefix tooltip null non nl 1 tooltip null set tool tip text tooltip string descript null check descript string bundl prefix descript check null non nl 1 descript string bundl prefix descript uncheck null non nl 1 descript null descript string bundl prefix descript null non nl 1 descript null set descript descript inittoggleact iaction resourcebundl getstr getstr getstr settooltiptext getstr getstr getstr setdescript public static string string resourc bundl bundl string kei string dflt bundl null try return bundl string kei catch miss resourc except need return dflt getstr resourcebundl dfltvalu getstr missingresourceexcept needwork dfltvalu public static string format string resourc bundl bundl string kei string arg bundl null try return messag format format bundl string kei string arg catch miss resourc except need return kei non nl 2 non nl 1 getformattedstr resourcebundl messageformat getstr missingresourceexcept needwork public static string string string kei try return compareui resourc bundl string kei catch miss resourc except return kei non nl 2 non nl 1 getstr getresourcebundl getstr missingresourceexcept public static string format string string kei string arg try return messag format format compareui resourc bundl string kei string arg catch miss resourc except return kei non nl 2 non nl 1 getformattedstr messageformat getresourcebundl getstr missingresourceexcept public static string format string string kei string arg0 string arg1 try return messag format format compareui resourc bundl string kei string arg0 arg1 catch miss resourc except return kei non nl 2 non nl 1 getformattedstr messageformat getresourcebundl getstr missingresourceexcept public static string string resourc bundl bundl string kei return string bundl kei kei getstr resourcebundl getstr public static int integ resourc bundl bundl string kei int dflt bundl null try string bundl string kei null return integ pars int catch number format except need catch miss resourc except need return dflt getinteg resourcebundl dfltvalu getstr parseint numberformatexcept needwork missingresourceexcept needwork dfltvalu make resourc committ committ mean resourc writeabl content resourc hasn chang call code valid edit code file tt workspac tt param resourc resourc check param shell shell pass code valid edit code context return return code true code resourc committ code fals code org eclips core resourc workspac valid edit org eclips core resourc file java lang object public static boolean valid resourc resourc resourc shell shell string titl return valid resourc resourc resourc shell titl validateedit iworkspac validateedit iworkspac validateedit ifil validateresourc iresourc validateresourc iresourc make resourc committ committ mean resourc writeabl content resourc hasn chang call code valid edit code file tt workspac tt param resourc resourc check param shell shell pass code valid edit code context return return code true code resourc committ code fals code org eclips core resourc workspac valid edit org eclips core resourc file java lang object public static boolean valid resourc list resourc shell shell string titl resourc resourc resourc arrai resourc resourc size return valid resourc shell titl validateedit iworkspac validateedit iworkspac validateedit ifil validateresourc iresourc iresourc toarrai iresourc validateresourc make resourc committ committ mean resourc writeabl content resourc hasn chang call code valid edit code file tt workspac tt param resourc resourc check param shell shell pass code valid edit code context return return code true code resourc committ code fals code org eclips core resourc workspac valid edit org eclips core resourc file java lang object public static boolean valid resourc resourc resourc shell shell string titl readonli file list read file readonli file resourc read file size 0 return true timestamp readonli file valid edit map stamp creat modif stamp map read file file file file read file arrai file read file size statu statu resourc plugin workspac valid edit file shell statu isok string messag string valid edit error unabl perform non nl 1 error dialog open error shell titl messag statu non nl 1 return fals statu modifi null map stamp creat modif stamp map read file iter iter stamp kei set iter iter file file file iter file read statu entri statu statu error compareui plugin plugin id valid edit problem format string valid edit error readonli file full path string non nl 1 null modifi add statu modifi entri stamp file equal stamp file statu entri statu statu error compareui plugin plugin id valid edit problem format string valid edit error file modifi file full path string non nl 1 null modifi add statu modifi entri modifi null string messag string valid edit error unabl perform non nl 1 error dialog open error shell titl messag modifi return fals return true validateedit iworkspac validateedit iworkspac validateedit ifil validateresourc iresourc readonlyfil getreadonlyfil readonlyfil validateedit oldtimestamp createmodificationstampmap readonlyfil ifil ifil readonlyfil toarrai ifil readonlyfil istatu resourcesplugin getworkspac validateedit getstr validateedit unabl_to_perform errordialog openerror istatu newtimestamp createmodificationstampmap readonlyfil oldtimestamp keyset hasnext ifil ifil isreadonli istatu istatu compareuiplugin getpluginid valid_edit_problem getformattedstr validateedit stillreadonli getfullpath tostr addstatu oldtimestamp newtimestamp istatu istatu compareuiplugin getpluginid valid_edit_problem getformattedstr validateedit filemodifi getfullpath tostr addstatu getstr validateedit unabl_to_perform errordialog openerror privat static list readonli file resourc resourc list read file arrai list int 0 resourc length i resourc resourc resourc resourc type resourc file resourc read read file add resourc return read file getreadonlyfil iresourc readonlyfil arraylist iresourc gettyp iresourc isreadonli readonlyfil readonlyfil privat static map creat modif stamp map list file map map hash map iter iter file iter iter file file file iter map put file file modif stamp return map createmodificationstampmap hashmap hasnext ifil ifil getmodificationstamp privat static statu add statu statu statu statu entri statu null return entri statu multi statu multi statu statu add entri return statu multi statu result multi statu compareui plugin plugin id valid edit problem string valid edit error unabl perform null non nl 1 result add statu result add entri return result istatu addstatu istatu istatu ismultistatu multistatu multistatu multistatu compareuiplugin getpluginid valid_edit_problem getstr validateedit unabl_to_perform return null error occur public static string read string input stream string encod null return null buffer reader reader null try string buffer buffer string buffer char part char 2048 int read 0 reader buffer reader input stream reader encod read reader read part 1 buffer append part 0 read return buffer string catch io except need final reader null try reader close catch io except silent return null readstr inputstream bufferedread stringbuff stringbuff bufferedread inputstreamread tostr ioexcept needwork ioexcept public static string charset resourc resourc resourc instanceof encod storag try return encod storag resourc charset catch core except fall return resourc plugin encod getcharset iresourc iencodedstorag iencodedstorag getcharset coreexcept resourcesplugin getencod public static byte byte string string encod byte byte null null try byte byte encod non nl 1 catch unsupport encod except byte byte return byte getbyt getbyt unsupportedencodingexcept getbyt public static string read string stream content accessor sa throw core except input stream sa content string encod null sa instanceof encod stream content accessor encod encod stream content accessor sa charset encod null encod resourc plugin encod return util read string encod readstr istreamcontentaccessor coreexcept inputstream getcont iencodedstreamcontentaccessor iencodedstreamcontentaccessor getcharset resourcesplugin getencod readstr public static void close input stream is null try close catch io except silent inputstream ioexcept privat class viewer class public viewer descriptor configur element config configur config fviewerclass viewerdescriptor iconfigurationel fconfigur public viewer creat viewer viewer current viewer composit parent compar configur mp current viewer null current viewer class viewer class system println reus viewer current viewer class return current viewer viewer creator null try viewer creator viewer creator configur creat execut extens class attribut catch core except need viewer creator null viewer viewer viewer creator creat viewer parent mp viewer null viewer class viewer class return viewer return null createview currentview compareconfigur currentview currentview getclass fviewerclass currentview getclass getnam currentview fviewercr fviewercr iviewercr fconfigur createexecutableextens class_attribut coreexcept needwork fviewercr fviewercr createview fviewerclass getclass public string extens return configur attribut extens attribut getextens fconfigur getattribut extens_attribut add listen properti notifi effect ident listen regist param listen properti chang listen remov content chang listen notifi effect ident listen regist param listen properti chang listen public interfac stream content accessor return open code input stream code object retriev object content client respons close stream finish return code null code object streamabl content return input stream content object except core except content object access istreamcontentaccessor inputstream coreexcept perform merg oper input stream write merg result output stream success statu code statu ok code return error statu code statu error code merg oper deal conflict code error statu code stream merger conflict code text orient merger encod input output stream honor respons caller close input output stream param output byte stream merg result written merger close stream param output encod encod write output stream param ancestor byte stream common ancestor read param ancestor encod encod ancestor input byte stream param target byte stream target merg param target encod encod target input byte stream param byte stream target merg param encod encod input byte stream param monitor report progress merg oper return return complet statu oper statu merg output stream output string output encod input stream ancestor string ancestor encod input stream target string target encod input stream string encod istatu istatu istreammerg outputencod ancestorencod targetencod otherencod istatu outputstream outputencod inputstream ancestorencod inputstream targetencod inputstream otherencod return object displai object ui return object return imag object imag displai object ui return imag object code null code type input imag return type object object file typic file extens folder constant code folder type code type determin suitabl viewer object return type object folder_type creat viewer swt parent control param parent swt parent control creat viewer swt control param config compar configur newli creat viewer want return viewer creat code navig action code param code true code action goe differ previou differ public navig action boolean compareui resourc bundl navigationact navigationact getresourcebundl creat code navig action code initi attribut code resourc bundl code param bundl initi action param code true code action goe differ previou differ public navig action resourc bundl bundl boolean util init action bundl action action previou non nl 2 non nl 1 next navigationact resourcebundl navigationact resourcebundl initact fnext public void run compar editor input null object adapt compar editor input adapt compar navig class adapt instanceof compar navig boolean end compar navig adapt select chang shell shell compareui plugin shell end shell null displai displai shell displai displai null displai beep string titl string messag titl compar messag string compar navig end titl non nl 1 messag compar messag string compar navig end messag non nl 1 titl compar messag string compar navig begin titl non nl 1 messag compar messag string compar navig begin messag non nl 1 messag dialog open inform shell titl messag fcompareeditorinput fcompareeditorinput getadapt icomparenavig icomparenavig atend icomparenavig selectchang fnext compareuiplugin getshel atend getdisplai fnext comparemessag getstr comparenavig atend comparemessag getstr comparenavig atend comparemessag getstr comparenavig atbegin comparemessag getstr comparenavig atbegin messagedialog openinform set code compar editor input code action oper param input code compar editor input code action oper code null code action public void set compar editor input compar editor input input compar editor input input compareeditorinput compareeditorinput setcompareeditorinput compareeditorinput fcompareeditorinput creat differ iter arrai code rang differ code differ iter rang differ differ rang arrai differ rang index 0 rang arrai list index arrai length differ arrai index differ null rangediffer differencesiter rangediffer differencerang farrai differencerang findex frang arraylist findex farrai fdiffer farrai findex fdiffer return number rang differ int count return rang size rangediffer getcount frang append edit list move code rang differ code void rang add differ differ null index arrai length differ arrai index differ null rangediffer frang fdiffer fdiffer findex farrai fdiffer farrai findex fdiffer differ iter pair method return iter differ iter differ iter differ iter left return left return differencesiter differencesiter differencesiter remov code rang differ code void remov rang clear rangediffer removeal frang return number compar entiti return number compar entiti return compar entiti index match entiti code rang compar code index param index index compar entiti code rang compar code param rang compar compar param index index compar entiti code rang compar code return code true code compar entiti equal irangecompar thisindex irangecompar irangecompar otherindex irangecompar return comparison skip costli lengthi param length number base decis return code true code code fals code param max length number base decis return code true code code fals code param code rang compar code compar return code true code avoid lengthi rang comparison maxlength irangecompar creat link rang differ initi error link rang differ super error null linkedrangediffer linkedrangediffer fnext construct link link rang differ link rang differ link rang differ link rang differ int oper super oper next linkerangediffer linkedrangediffer linkedrangediffer linkedrangediffer fnext follow link link rang differ return linkedrangediffer getnext fnext boolean delet return kind delet isdelet boolean insert return kind insert isinsert set link link rang differ void set link rang differ next linkedrangediffer setnext linkedrangediffer fnext creat rang differ chang kind param chang kind kind chang packag rang differ int chang kind kind chang kind changekind rangediffer changekind fkind changekind creat code rang differ code chang kind left rang param chang kind kind chang param start start index entiti side param length number entiti side param left start start index entiti left side param left length number entiti left side packag rang differ int kind int start int length int left start int left length kind kind start start length length left start left start left length left length rangediffer changekind rightstart rightlength leftstart leftlength rangediffer rightstart rightlength leftstart leftlength fkind frightstart rightstart frightlength rightlength fleftstart leftstart fleftlength leftlength creat code rang differ code chang kind left ancestor rang param chang kind kind chang param start start index entiti side param length number entiti side param left start start index entiti left side param left length number entiti left side param ancestor start start index entiti ancestor side param ancestor length number entiti ancestor side packag rang differ int kind int start int length int left start int left length int ancestor start int ancestor length kind start length left start left length ancestor start ancestor start ancestor length ancestor length rangediffer changekind rightstart rightlength leftstart leftlength ancestorstart ancestorlength rangediffer rightstart rightlength leftstart leftlength ancestorstart ancestorlength rightstart rightlength leftstart leftlength lancestorstart ancestorstart lancestorlength ancestorlength return kind differ return kind differ code nochang code code chang code code left code code code code ancestor code code conflict code code error code public int kind return kind fkind return start index entiti rang ancestor side return start index entiti rang ancestor side public int ancestor start return ancestor start ancestorstart lancestorstart return number entiti ancestor side return number entiti ancestor side public int ancestor length return ancestor length ancestorlength lancestorlength return end index entiti rang ancestor side return end index entiti rang ancestor side public int ancestor end return ancestor start ancestor length ancestorend lancestorstart lancestorlength return start index entiti rang side return start index entiti rang side public int start return start rightstart frightstart return number entiti side return number entiti side public int length return length rightlength frightlength return end index entiti rang side return end index entiti rang side public int end return start length rightend frightstart frightlength return start index entiti rang left side return start index entiti rang left side public int left start return left start leftstart fleftstart return number entiti left side return number entiti left side public int left length return left length leftlength fleftlength return end index entiti rang left side return end index entiti rang left side public int left end return left start left length leftend fleftstart fleftlength return maximum number entiti left ancestor side rang return maximum number entiti left ancestor side rang public int max length return math max length math max left length ancestor length maxlength frightlength fleftlength lancestorlength non instantiati privat rang differenc rangedifferenc find differ code rang compar code differ return arrai code rang differ code differ detect empti arrai return param left left rang compar param rang compar return arrai rang differ empti arrai differ found public static rang differ find differ rang compar left rang compar return find differ progress monitor null left irangecompar rangediffer rangediffer finddiffer irangecompar irangecompar finddiffer iprogressmonitor find differ code rang compar code differ return arrai code rang differ code differ detect empti arrai return param pm code null code report progress param left left rang compar param rang compar return arrai rang differ empti arrai differ found 2 0 public static rang differ find differ progress monitor pm rang compar left rang compar assert rang compar class assert true class equal left class int size rang count int left size left rang count differ matrix diagon store diagon row int diag len 2 math max size left size bound size edit script int max diagon diag len int diagon int diag len 1 row diagon diagon row int origin diag len 2 origin diagon 0 script link rang differ script link rang differ diag len 1 int row col find common prefix row 0 row size row left size rang equal row left row true row diagon origin row script origin null int lower row size origin 1 origin 1 int upper row left size origin 1 origin 1 lower upper return empti result system println find differ max diagon lower upper edit distanc int 1 max diagon d current edit distanc pm null pm work 1 skip rang comparison max diagon left return empti result found relev diagon d 2 2 int lower upper 2 current diagon link rang differ edit pm null pm cancel return empti result origin origin diagon 1 diagon 1 move row diagon 1 1 edit link rang differ script 1 link rang differ delet move row diagon 1 edit link rang differ script 1 link rang differ insert col row origin edit start row edit left start col assert true 0 max diagon script edit slide diagon row size col left size rang equal row left col true row col assert true 0 max diagon unreason diagon index diagon row row size col left size show script script left return creat differ rang script row size lower 2 col left size upper 2 lower upper differ assert true fals return null irangecompar rangediffer rangediffer finddiffer iprogressmonitor irangecompar irangecompar irangecompar istru getclass getclass rightsiz getrangecount leftsiz getrangecount lastdiagon diaglen rightsiz leftsiz maxdiagon diaglen lastdiagon diaglen lastdiagon diaglen linkedrangediffer linkedrangediffer diaglen rightsiz leftsiz rangesequ lastdiagon rightsiz leftsiz empti_result finddiffer maxdiagon maxdiagon skiprangecomparison maxdiagon empti_result linkedrangediffer iscancel empti_result lastdiagon lastdiagon lastdiagon linkedrangediffer linkedrangediffer lastdiagon linkedrangediffer linkedrangediffer frightstart fleftstart istru maxdiagon rightsiz leftsiz rangesequ istru maxdiagon lastdiagon rightsiz leftsiz showscript createdifferencesrang rightsiz leftsiz istru find differ code rang compar code differ return list code rang differ code differ detect empti list return ancestor rang compar code null code comparison perform param ancestor ancestor rang compar code null code param left left rang compar param rang compar return arrai rang differ empti arrai differ found public static rang differ find differ rang compar ancestor rang compar left rang compar return find differ null ancestor left irangecompar rangediffer rangediffer finddiffer irangecompar irangecompar irangecompar finddiffer find differ code rang compar code differ return list code rang differ code differ detect empti list return ancestor rang compar code null code comparison perform param pm code null code report progress param ancestor ancestor rang compar code null code param left left rang compar param rang compar return arrai rang differ empti arrai differ found 2 0 public static rang differ find differ progress monitor pm rang compar ancestor rang compar left rang compar ancestor null return find differ pm left rang differ left ancestor script null rang differ ancestor script find differ pm ancestor right ancestor script null left ancestor script find differ pm ancestor left ancestor script null left ancestor script null return null differ iter iter differ iter ancestor script differ iter iter differ iter left ancestor script list diff3 arrai list diff3 add rang differ rang differ error add sentinel int chang rang start 0 int chang rang end 0 combin two edit script iter differ null iter differ null differ iter start thread iter remov iter remov diff closer start iter differ null start thread iter iter differ null start thread iter end script lowest rang iter differ left start iter differ left start 2 common ancestor chang rang start thread iter start thread iter chang rang start start thread differ left start chang rang end start thread differ left end start thread check overlap thread merg overlap rang differ iter start thread iter iter differ null differ left start chang rang end int max differ left end max chang rang end chang rang end max other iter iter diff3 add creat rang differ3 iter iter diff3 left chang rang start chang rang end remov sentinel diff3 remov 0 return rang differ diff3 arrai empti result irangecompar rangediffer rangediffer finddiffer iprogressmonitor irangecompar irangecompar irangecompar finddiffer rangediffer leftancestorscript rangediffer rightancestorscript finddiffer rightancestorscript leftancestorscript finddiffer rightancestorscript leftancestorscript differencesiter myiter differencesiter rightancestorscript differencesiter yourit differencesiter leftancestorscript arraylist rangediffer rangediffer changerangestart changerangeend myiter fdiffer yourit fdiffer differencesiter startthread myiter removeal yourit removeal myiter fdiffer startthread yourit yourit fdiffer startthread myiter myiter fdiffer fleftstart yourit fdiffer fleftstart startthread myiter startthread yourit changerangestart startthread fdiffer fleftstart changerangeend startthread fdiffer leftend startthread differencesiter startthread myiter yourit fdiffer fdiffer fleftstart changerangeend newmax fdiffer leftend newmax changerangeend changerangeend newmax myiter yourit createrangediffer3 myiter yourit changerangestart changerangeend rangediffer toarrai empti_result find differ code rang compar code contrast code find differ code result code rang differ code element non differ rang param left left rang compar param rang compar return arrai rang differ public static rang differ find rang rang compar left rang compar return find rang progress monitor null left irangecompar finddiffer rangediffer rangediffer findrang irangecompar irangecompar findrang iprogressmonitor find differ code rang compar code contrast code find differ code result code rang differ code element non differ rang param pm code null code report progress param left left rang compar param rang compar return arrai rang differ 2 0 public static rang differ find rang progress monitor pm rang compar left rang compar rang differ find differ pm left list arrai list rang differ rd int mstart 0 int ystart 0 int 0 length rang differ es rd rang differ rang differ nochang mstart es start mstart ystart es left start ystart rd max length 0 add rd add es mstart es end ystart es left end rd rang differ rang differ nochang mstart rang count mstart ystart left rang count ystart rd max length 0 add rd return rang differ arrai empti result irangecompar finddiffer rangediffer rangediffer findrang iprogressmonitor irangecompar irangecompar rangediffer finddiffer arraylist rangediffer rangediffer rangediffer rangediffer rightstart leftstart maxlength rightend leftend rangediffer rangediffer getrangecount getrangecount maxlength rangediffer toarrai empti_result find differ code rang compar code contrast code find differ code result code rang differ code element non differ rang ancestor rang compar code null code comparison perform param ancestor ancestor rang compar code null code param left left rang compar param rang compar return arrai rang differ public static rang differ find rang rang compar ancestor rang compar left rang compar return find rang null ancestor left irangecompar finddiffer rangediffer rangediffer findrang irangecompar irangecompar irangecompar findrang find differ code rang compar code contrast code find differ code result code rang differ code element non differ rang ancestor rang compar code null code comparison perform param pm code null code report progress param ancestor ancestor rang compar code null code param left left rang compar param rang compar return arrai rang differ 2 0 public static rang differ find rang progress monitor pm rang compar ancestor rang compar left rang compar ancestor null return find rang pm left rang differ find differ pm ancestor left list arrai list rang differ rd int mstart 0 int ystart 0 int astart 0 int 0 length rang differ es rd rang differ rang differ nochang mstart es start mstart ystart es left start ystart astart es ancestor start astart rd max length 0 add rd add es mstart es end ystart es left end astart es ancestor end rd rang differ rang differ nochang mstart rang count mstart ystart left rang count ystart astart ancestor rang count astart rd max length 0 add rd return rang differ arrai empti result irangecompar finddiffer rangediffer rangediffer findrang iprogressmonitor irangecompar irangecompar irangecompar findrang rangediffer finddiffer arraylist rangediffer rangediffer rangediffer rangediffer rightstart leftstart ancestorstart maxlength rightend leftend ancestorend rangediffer rangediffer getrangecount getrangecount getrangecount maxlength rangediffer toarrai empti_result creat vector differ rang link rang differ coalesc adjac addit indic chang rang 1 open end rang includ 2 base privat static rang differ creat differ rang link rang differ start link rang differ ep revers differ start arrai list result arrai list rang differ es null ep null es rang differ rang differ chang ep insert es start ep start 1 es left start ep left start rang differ ep ep ep es left length ep null ep insert ep start start es start ep start es left start ep left start rang differ ep delet line ep ep ep es length ep null ep delet ep start start 1 boolean chang ep null ep insert ep start start chang rang differ ep replac line ep ep es left length ep null ep insert ep start start es left length 0 es left start mean rang insert replac script command 1 base subtract base es start es left start result add es return rang differ result arrai empti result differencesrang linkedrangediffer rangediffer createdifferencesrang linkedrangediffer linkedrangediffer reversediffer arraylist arraylist rangediffer rangediffer rangediffer isinsert frightstart frightstart fleftstart fleftstart rangediffer getnext fleftlength isinsert frightstart frightstart frightstart frightstart fleftstart fleftstart rangediffer getnext frightlength isdelet frightstart frightstart isinsert frightstart frightstart rangediffer getnext fleftlength isinsert frightstart frightstart fleftlength fleftstart frightstart fleftstart rangediffer toarrai empti_result creat code rang differ3 code differ iter privat static rang differ creat rang differ3 differ iter iter differ iter iter list diff3 rang compar rang compar left int chang rang start int chang rang end int start end int left start left end int kind rang differ error rang differ rang differ diff3 diff3 size 1 assert true iter count 0 iter count 0 rang arrai non empti find line chang rang start end left iter count 0 left chang start chang rang start ancestor end end end chang rang end ancestor end end kind rang differ left rang differ rang differ iter rang 0 rang differ rang differ iter rang iter rang size 1 start chang rang start f left start f start end chang rang end left end end iter count 0 chang left start chang rang start ancestor end left end left end chang rang end ancestor end left end kind rang differ rang differ rang differ iter rang 0 rang differ rang differ iter rang iter rang size 1 left start chang rang start f left start f start left end chang rang end left end end kind rang differ error overlap chang conflict compar chang rang rang span equal right start end start left left start left end left start kind rang differ ancestor kind rang differ conflict return rang differ kind start end start left start left end left start chang rang start chang rang end chang rang start rangediffer3 differenceiter rangediffer createrangediffer3 differencesiter myiter differencesiter yourit irangecompar irangecompar changerangestart changerangeend rightstart rightend leftstart leftend rangediffer rangediffer rangediffer istru myiter getcount yourit getcount fchangerangestart myiter getcount rightstart changerangestart ancestorend rightend rightend changerangeend ancestorend rightend rangediffer rangediffer rangediffer myiter frang rangediffer rangediffer myiter frang myiter frang rightstart changerangestart fleftstart frightstart rightend changerangeend leftend rightend yourit getcount leftstart changerangestart ancestorend