X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.25a (ClamAV 0.103.11/27275) X-Junk-Score: 0 [] X-KAS-Score: 0 [] Return-Path: Received: from mout.gmx.net ([212.227.17.22] verified) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.18) with ESMTPS id 32497714 for webobjects-dev@wocommunity.org; Tue, 14 May 2024 14:41:30 +0200 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=212.227.17.22; envelope-from=rasc@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1715690480; x=1716295280; i=rasc@gmx.de; bh=NBRjYL/+3c3pwAAL9F1LHLiiHij6xf/hEumb7zWbZT0=; h=X-UI-Sender-Class:From:To:Subject:Date:Message-ID:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=TuONO2GWk3ygpJjmI2DtvyIzB3ry2fP4JThhKZVyPDophV2M+zTb99FkOre52QTE QJ0OGzuZr2I21TByZbNnrOHjFOlcH9k8sMH+VnmleuQ9AD+RliCqAcVm0liMTqd3+ LSgrzeqfX3205R7CUXvpMw72HiY9mYmpLA4+aPKhcgaaizs7LNyY+EbASuB6QylS1 Bp1M9gimZF4MeoB1tougkrJVgXA7zJWSVeSTjFoPbj25pcJ4SGsuvGUeagAwXlWAC mNaCTq4R8t801eUVg7L8KyI/fDxIajxvkeHRkEjEDAaGzqU8k6szwOvyzyz0aSOC+ hPEq9jvtjlyyT34kIQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.42.66] ([193.142.190.210]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MfYPY-1smlnE1C1o-00fw4O for ; Tue, 14 May 2024 14:41:20 +0200 From: Ralf Schuchardt To: "\"WebObjects & WOnder Development\"" Subject: Re: [WO-DEV] How can I access EOEntity userInfo documentation with EOGenerator? Date: Tue, 14 May 2024 14:41:19 +0200 X-Mailer: MailMate (1.14r6016) Message-ID: <56AAF02A-BA36-418C-9102-085C0ED74656@gmx.de> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:WOZ6YGQJvktVIh82PDxHpRY08DSshQV+heXvabnazwBhwNFdfM8 cgRd2Tcyh307K+35BlVOP2f0/77Jp/VsZ0tFqoBEy3Ut9cb1MjJpVWlk3r3Rcn0HpBKNa0F pPTmzqC7NptSvmdxIoRD1G9i/kJfmxZGKusU+19HnmjpI57VIF198Z3+TjDgC2oUBvx7n0F KoiXN/1SPW5eRxPewv6bw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:AyQyan2hQ1I=;SDIQ1v4B+bnDs5I45pf6Gl8xfEN sfl99SoXIbyIl3vz7iXiK5UyLMP/u5brSWcKaK6i+rycRxZ5MoCvllSv0BGNpbPJBhksnW9CV ua+hP8ZP/ZtExAtFRmvFRZUcAHv3G4/9P5RnXnc3M35NysHlyYESMQ+LIna7OfsqwWwQGcCdR fpLVCSO+t/P3cHfJppyx1R5BrBXnktHAUHlaFPNwB+4uxozuanAqRskB5IQx8KASuZwO/GvbX 66y64UL1y4ttrNzXrHIqVU++DN+7A2hZK7WXnwlIQiAtt95+cR7c1XnYE37tGFiPS9Vn1qAgq T5XESHgoGKc7RzdtS9cyt4HoW3/AeK4Ebyt/UHeGxnxDfY0k4NYuUNF7kv9sCrt+GZpCdaI5q 0Kc/o1E866oKzxS+aWIPmQarSOTuZzVJlWxiQoLTNx145BabET2J9VMzrcNn43016MH6SOpUx gQEVTY8MwJ7kjcmX6e6ZO48qj+GQoNSiz3OymBEIuXAN+lcGNMrKs/dYmmcc6qhfD25/LdUhu gvS07SMc5Jp7sffFt5mGvWu8lM9svCbPqPnfuPYO8vq47FqUxirgFEYjqsRDhtiDjXquIpXee pQCwNrhUK1wbKhWeATNYwY1/QjktGxi7u5u9j1Kg2699dGVY0WtarpCPlflfqI+nL9BRpBjHV wiJUPeh3fpX2JbLKvw8+p1hKxiLntEuJApakvGZMn2RqQj2ZsXlGfcYM9M1g/uvpY/VEIZzkh hsaaWdkvvAC2rBmMWDa0S7M8CoOf25ZknUmhaFIljiNrNHZ8iv7Rs0nJZUFJVbSqTjxf0sAS3 7XTJDugK9MfJ82HKXUe13CN1fRvMKfgA+/F/DmPDeitNo= On 12 May 2024, at 8:59, Markus Ruggiero (rucotec) wrote: > I can put the comments into _MyClass.java and MyClass.java. Once EOGen = has run there will not be any updates to MyClass.java anymore. What if I = update the documentation? The updated doc goes into the regenerated _MyCl= ass.java but is NOT reflected in MyClass.java. The javadoc {@inheritDoc} = only works for stuff _inside_ the class definition but not for the class = documentation itself. > > Do you know of any way to make hovering over MyClass in Eclipse show th= e combined javadoc from _MyClass and MyClass? > > The conceptual documentation of an entity clearly goes into _MyClass an= d additional implementation specific documentation should go into MyClass= =2E But often I need to see the conceptual documentation of MyClass. Of c= ourse I can command-click MyClass to open MyClass.java where I can hover = over the super class and see the doc but this =E2=80=9Cmesses up my menta= l editing context=E2=80=9D and I lose track where I was and where to go b= ack to. > > Any idea? I would open the conceptual documentation either as javadoc generated API= page in a browser, or in the javadoc view in Eclipse. For example, open = the javadoc for _MyClass with F2, then click on the @-Symbol to open the = javadoc view (and disable the automatic linking between selection and jav= adoc view). Ralf > > ---markus--- >> Markus Ruggiero (rucotec) schrieb am 11. May 2024, um 14:54 Uhr: >> >> When creating documentation for an entity in the Documentation tab in = EntityModeler the resulting doc is put into the userInfo dictionary. How = can I access this with EOGenerator? >> >> userInfo =3D { >> "_EntityModeler" =3D { >> documentation =3D "doc for EMRTreatmentStep\n
    \n\t
  • a list entry<= /li>\n
"; >> }; >> }; >> >> Tried different KV-paths in the template file but failed whenever I ex= plicitly used the key =E2=80=9C_EntityModeler=E2=80=9D with/out =E2=80=9C= _=E2=80=9D, with/out capital =E2=80=9CE=E2=80=9D. Using =E2=80=9C_=E2=80=9D= results in a syntax error during generation. >> >> Accessing the user info dict itself works >> >> Using >> ${entity.userInfo} >> >> results in >> {_EntityModeler=3D{documentation=3Ddoc for EMRTreatmentStep >>
    >>
  • a list entry
  • >>
}} >> >> Which is great so far but two key too high in the key path. >> However going deeper only dumps the given path itself into the result >> ${entity.userInfo.entityModeler} >> >> results in >> ${entity.userInfo.entityModeler} >> >> I expect this to result in something like >> {documentation=3Ddoc for EMRTreatmentStep >>
    >>
  • a list entry
  • >>
} >> >> Seems like EOGenerator explicitly ignores the key =E2=80=9C_EntityMode= ler=E2=80=9D >> >> I can put my own javaDoc key into the user info dict, this works, but = the text input field in WOLips EntityModeler is way too small in the user= Info editor. >> What is the documentation good for if I cannot access it? >> >> Any ideas? >>