Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 28291 invoked from network); 20 Apr 2010 17:47:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Apr 2010 17:47:47 -0000 Received: (qmail 49439 invoked by uid 500); 20 Apr 2010 17:47:47 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 49365 invoked by uid 500); 20 Apr 2010 17:47:46 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 49350 invoked by uid 99); 20 Apr 2010 17:47:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 17:47:46 +0000 X-ASF-Spam-Status: No, hits=-1.7 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gkbrown@mac.com designates 17.148.16.105 as permitted sender) Received: from [17.148.16.105] (HELO asmtpout030.mac.com) (17.148.16.105) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 17:47:38 +0000 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Received: from [192.168.1.10] (pool-173-76-183-203.bstnma.fios.verizon.net [173.76.183.203]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L16008R4S2LST50@asmtp030.mac.com>; Tue, 20 Apr 2010 10:47:12 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1004200171 Subject: Re: WTKXSerializer -> BeanSerializer From: Greg Brown In-reply-to: <99B514C2-F920-4E22-BFCD-8E7EB05CBD5D@mac.com> Date: Tue, 20 Apr 2010 13:47:09 -0400 Content-transfer-encoding: quoted-printable Message-id: <0FD6EB85-55AC-49D7-A72A-232FEAD878F3@mac.com> References: <77BBA80F-72B6-40DC-88A1-154691128DB7@mac.com> <62C37545-B7B6-4975-B31B-198523F087AF@mac.com> <20100420175603.164278cdtuwpsas4@www.premium-webmail.de> <627E14A8-B1EC-4A54-AE9D-4491C35D712F@mac.com> <20100420183027.18886gusijoknt0k@www.premium-webmail.de> <99B514C2-F920-4E22-BFCD-8E7EB05CBD5D@mac.com> To: user@pivot.apache.org, dev@pivot.apache.org X-Mailer: Apple Mail (2.1078) FYI, I just prototyped this. It wouldn't be terribly difficult to = support backwards compatibility with WTKXSerializer for 1.x, but it will = be a much more straightforward change for 2.0 if we don't need to do = that. So I will move this ticket to 2.0. On Apr 20, 2010, at 12:39 PM, Greg Brown wrote: > I personally prefer the simpler "Resources" to "ResourceMap", so I = don't think I would advocate renaming that class. I also don't think it = is a huge priority for Pivot to support JSR-250 - to me, it doesn't seem = like it would be a common use case. >=20 > @BXML (like @WTKX) means that the member refers to an object declared = in a BXML (or WTKX) file. >=20 > I am currently thinking that this change could be made for Pivot 1.5, = but in a backwards compatible way. Then, in Pivot 2.0, we'd drop the = backwards compatibility. >=20 > On Apr 20, 2010, at 12:30 PM, Dirk M=F6bius wrote: >=20 >> Greg Brown wrote: >>> However, I think the "Resources" name clash would cause confusion, = so I think it would be preferable to stick with the existing terminology = and not attempt to support JSR-250 (the end result is the same either = way). >>=20 >> The (now dead) Swing Application Framework (SAF) called it = "ResourceMap" to avoid the confusion. >>=20 >> This is for Pivot 2.0, isn't it? +1 for renaming Resources to = ResourceMap and to support those parts of JSR-250. This makes it easier = for newbies: if a new user sees the the @Resource annotation in Pivot = code the first time, he knows immediately what this means. The @BXML = annotation doesn't say anything. >>=20 >> Dirk. >>=20 >>=20 >>=20 >=20