From c5ef471e8451e45b4ccf7945d18424e2e2122cba Mon Sep 17 00:00:00 2001 From: David Craine Date: Fri, 13 Sep 2002 12:59:12 +0000 Subject: [PATCH] Updated to work with JBuilder 4 (and hopefully 5 & 6) git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@939 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd-jbuilder/copyfile.bat | 4 ++-- pmd-jbuilder/lib/PMDOpenTool.jar | Bin 125002 -> 125020 bytes pmd-jbuilder/src/images/Thumbs.db | 1 + .../sourceforge/pmd/jbuilder/PMDOpenTool.java | 12 ++++++++---- 4 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 pmd-jbuilder/src/images/Thumbs.db diff --git a/pmd-jbuilder/copyfile.bat b/pmd-jbuilder/copyfile.bat index abca7c2028..26fe1bc171 100755 --- a/pmd-jbuilder/copyfile.bat +++ b/pmd-jbuilder/copyfile.bat @@ -1,2 +1,2 @@ -copy lib\PMDOpenTool.jar %1 -rem copy lib\pmd-dev.jar %1 \ No newline at end of file +copy lib\PMDOpenTool.jar c:\Jbuilder7\lib\ext +copy lib\PMDOpenTool.jar c:\Jbuilder4\lib\ext \ No newline at end of file diff --git a/pmd-jbuilder/lib/PMDOpenTool.jar b/pmd-jbuilder/lib/PMDOpenTool.jar index 14b7bdcfabb7aeaf660daac9ced77e948d8950c6..3f7d8e121a1d0c4dc97aa0f58f1228e9231388fb 100644 GIT binary patch delta 3036 zcmaJ@d05p|8h+n%x$GA~1O;WOM8#xtNkc_cP|;KjMNJR|O+nnZH1axAZiws6PUTGI zQdU-?OkS-_Y96!3aj6m1#67njou($oaYk*v-?^8W$A1Q%bIyCd^X>OL=llKXxL?C@ zKS%B$n@=FDzwJm`=U8mBmbDwL#g)vDthMGUkJEsCw!bR_cKY728Srl4HV?=R`P{?P zEHu?a=^sAd&+vR6UE`t5k1g>~&L(6uH%GBO(>+IHGW!QR#8%RsM?W}{Zv*mO<8w1~ za(jl>?97c}P4tj-kLi)QA9_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>opA#%ZB{&z3mHP+VlVUikrU$KL}Vwnh-6<SJChha1y(ZfIFrubrUsYF~V6_?6zpNs^K6w#4L;p5U2M~i3) z`f;2q{UdH*^+W`6l9;KK209t{a|+V8bP4$>j2HT3&cu_Pg_*3v zY(6XDRAU~W!$LlfMVy1>oQw6GC!x&87B0X?TqxPC!A-s(C0NTa)-ZxEGM;mo$R$h- z;xcyNQg&n=2XdLN*v_x{n(p!m2eYkS^a*ohIrIrrWZ|dQ;!69JMeNj0>Ml-7r9JMG z{|9kDauAQ9Qe)-ViOJX_<$OqrsR2819>3xz`GD>8_Rm;i9`t*5FvV`WEnQ{c7yLQM zqUoN8nPtG-!^}0{z+nzBAo>V14JbR}Iofc zBO2Gh#|)@x;0OaQH?Y(&TJ2rupK|9xzk7<4%z4yzoM6DB?>Nzb-@jv(0W(hX83TSf z?eTTw8IM(~5$hdiSY*y4&U!>^&UzSsJ?qh0{=Ekr`rZ>u_j4W{R!7w<&T)uw&uV4* z`Z*Svoz<;$VWVefT2kf8klgH6v(b~Ac2+OZ` 1) { //accelerators don't seem to work in OpenTools 4.1 + if (AcceleratorPropertyGroup.PROP_KEYS_ENABLED.getBoolean()) { + registerShortCuts(); + } } PropertyManager.registerPropertyGroup(apropGrp); PropertyManager.registerPropertyGroup(cpropGrp); PropertyManager.registerPropertyGroup(ipropGrp); - PropertyManager.registerPropertyGroup(accpropGrp); + if (minorVersion > 1) { //accelerators don't seem to work in OpenTools 4.1 + PropertyManager.registerPropertyGroup(accpropGrp); + } PropertyManager.registerPropertyGroup(cpdPropGrp); }