Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F01B0F0EC for ; Mon, 8 Apr 2013 16:04:15 +0000 (UTC) Received: (qmail 52499 invoked by uid 500); 8 Apr 2013 16:04:15 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 52333 invoked by uid 500); 8 Apr 2013 16:04:15 -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 52323 invoked by uid 99); 8 Apr 2013 16:04:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 16:04:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of teyckmans@gmail.com designates 209.85.128.178 as permitted sender) Received: from [209.85.128.178] (HELO mail-ve0-f178.google.com) (209.85.128.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 16:04:08 +0000 Received: by mail-ve0-f178.google.com with SMTP id db10so5559863veb.9 for ; Mon, 08 Apr 2013 09:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=jtNvruphtgu404oRxD+4QOwI4iQY/r1FrHqQvxXrWS0=; b=Oqdv9yWwEcbCVeBQlPb05BteRo5WEGfOMhNjFnYECx2ZE/W/KIc/S93mT9U7QKmMpU kDToFDih6PlPe0jqCH8SDMkZ8EnPTccqpnJE6zglTt8LM/AVcZEzsYcrCA7Lyva+DQ6n P6c+EIHmbeKK0qYITh7pnl68gcgUzBZwggjx8qb6b3P6LSkxGi6IEvXVOz1M9zfVJ610 gyywz/lxgY6U2jrSz52L0d2p1++DsKGUMyhqyGkSG6H7+n2Ky3gmLeEU/Rdx+LX0L80g uaa4+h55e7khnipP+uEKd8EoZ0N6VWzvcEyXhQPDBgVf7byrVbJMhgkENagxSxd9xHam YG0g== MIME-Version: 1.0 X-Received: by 10.52.173.199 with SMTP id bm7mr3457514vdc.12.1365437026498; Mon, 08 Apr 2013 09:03:46 -0700 (PDT) Received: by 10.58.43.133 with HTTP; Mon, 8 Apr 2013 09:03:46 -0700 (PDT) Date: Mon, 8 Apr 2013 18:03:46 +0200 Message-ID: Subject: Guice integration for apache-pivot From: Tom Eyckmans To: user@pivot.apache.org Content-Type: multipart/alternative; boundary=bcaec51b1d9fedadf104d9db94d3 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51b1d9fedadf104d9db94d3 Content-Type: text/plain; charset=ISO-8859-1 Hi, Just wanted to let you known I've created a Guice extension/integration for apache-pivot (if you can call it that it's just one class :P). I didn't find it so thought I'd share it with you. You can find it here: https://bitbucket.org/teyckmans/guicy-apache-pivot/ overview I've created a GuicyBXMLSerializer that extends the BXMLSerializer class. It overrides the newTypedObject method to have Guice create new classes and the newIncludeSerializer method to make sure that included BXML files also use the GuicyBXMLSerializer. So to use it you only have to use the GuicyBXMLSerializer instead of the normal BXMLSerializer to have Guice wire your GUI classes up. Kind regards, Tom Eyckmans --bcaec51b1d9fedadf104d9db94d3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
Just wanted to let you know= n I've created a Guice extension/integration for apache-pivot (if you c= an call it that it's just one class :P). I didn't find it so though= t I'd share it with you.
I've created a GuicyBXMLSerializer that extends the BX= MLSerializer class. It overrides the newTypedObject method to have Guice cr= eate new classes and the newIncludeSerializer method to make sure that incl= uded BXML files also use the GuicyBXMLSerializer.
So to use it you only have to use the GuicyBXMLSerializer = instead of the normal BXMLSerializer to have Guice wire your GUI classes up= .
Kind regards,
=A0
Tom Eyckmans<= /div>
--bcaec51b1d9fedadf104d9db94d3--