Completion Proposals support in Eclipse Tapestry5 Plugin

2013-12-09 Thread Dmitry Gusev
Eclipse Tapestry5 Plugin now supports Completion Proposals in WTP Editors.

This is an experimental feature and lots of enhancements need to be done,
but you can try basic functionality today.

Version 2.1.0 includes completion proposals for component parameters and
properties, including original Javadoc tooltip for each proposal.

This feature will be available in XML, JSP, or HTML editors of Eclipse WTP.


-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com


Re: Completion Proposals support in Eclipse Tapestry5 Plugin

2013-12-09 Thread Lance Java
Very cool. How are you getting all this info. Are you able to use tapestry
services? Or are you rolling your own solution?

I know gradle has a tooling api so that external tools can query the gradle
model. Perhaps Tapestry needs a similar concept?
 On 9 Dec 2013 10:36, Dmitry Gusev dmitry.gu...@gmail.com wrote:

 Eclipse Tapestry5 Plugin now supports Completion Proposals in WTP Editors.

 This is an experimental feature and lots of enhancements need to be done,
 but you can try basic functionality today.

 Version 2.1.0 includes completion proposals for component parameters and
 properties, including original Javadoc tooltip for each proposal.

 This feature will be available in XML, JSP, or HTML editors of Eclipse WTP.


 --
 Dmitry Gusev

 AnjLab Team
 http://anjlab.com



Re: Completion Proposals support in Eclipse Tapestry5 Plugin

2013-12-09 Thread Dmitry Gusev
Some screenshots:

https://github.com/anjlab/eclipse-tapestry5-plugin/blob/master/README.md#completion-proposals


On Mon, Dec 9, 2013 at 2:35 PM, Dmitry Gusev dmitry.gu...@gmail.com wrote:

 Eclipse Tapestry5 Plugin now supports Completion Proposals in WTP Editors.

 This is an experimental feature and lots of enhancements need to be done,
 but you can try basic functionality today.

 Version 2.1.0 includes completion proposals for component parameters and
 properties, including original Javadoc tooltip for each proposal.

 This feature will be available in XML, JSP, or HTML editors of Eclipse WTP.


 --
 Dmitry Gusev

 AnjLab Team
 http://anjlab.com




-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com


Re: Completion Proposals support in Eclipse Tapestry5 Plugin

2013-12-09 Thread Dmitry Gusev
Eclipse provides its own API to access Java source code model.

Using this API I can search for classes by name, enum source folders,
getting and modifying AST of Java sources, working with Java class files in
JARs and looking up their's Javadocs, etc.

In the other words all you see and able to do in Eclipse is exposed via its
API.

What I did is built my own API around Eclipse API, it's all here:

https://github.com/anjlab/eclipse-tapestry5-plugin/tree/master/com.anjlab.eclipse.tapestry5/src/com/anjlab/eclipse/tapestry5



On Mon, Dec 9, 2013 at 2:45 PM, Lance Java lance.j...@googlemail.comwrote:

 Very cool. How are you getting all this info. Are you able to use tapestry
 services? Or are you rolling your own solution?

 I know gradle has a tooling api so that external tools can query the gradle
 model. Perhaps Tapestry needs a similar concept?
  On 9 Dec 2013 10:36, Dmitry Gusev dmitry.gu...@gmail.com wrote:

  Eclipse Tapestry5 Plugin now supports Completion Proposals in WTP
 Editors.
 
  This is an experimental feature and lots of enhancements need to be done,
  but you can try basic functionality today.
 
  Version 2.1.0 includes completion proposals for component parameters and
  properties, including original Javadoc tooltip for each proposal.
 
  This feature will be available in XML, JSP, or HTML editors of Eclipse
 WTP.
 
 
  --
  Dmitry Gusev
 
  AnjLab Team
  http://anjlab.com
 




-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com


Re: IndieGogo campaign: a month of Apache Tapestry 5

2013-12-09 Thread Thiago H de Paula Figueiredo

Status update:

With 14 hours until the deadline, we raised 3040 dollars out of 4500 goal.  
Thank you very much for everybody who contributed or helped spread the  
word. :)


--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
Help me spend a whole month working on Tapestry bug fixes and  
improvements: http://igg.me/at/t5month


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: IndieGogo campaign: a month of Apache Tapestry 5

2013-12-09 Thread Muhammad Gelbana
I'm so happy you're approaching your goal ! Gonna see a more powerful
Tapestry soon I hope :)

*-*
*Muhammad Gelbana*
http://www.linkedin.com/in/mgelbana


On Mon, Dec 9, 2013 at 7:47 PM, Thiago H de Paula Figueiredo 
thiag...@gmail.com wrote:

 Status update:

 With 14 hours until the deadline, we raised 3040 dollars out of 4500 goal.
 Thank you very much for everybody who contributed or helped spread the
 word. :)


 --
 Thiago H. de Paula Figueiredo
 Tapestry, Java and Hibernate consultant and developer
 http://machina.com.br
 Help me spend a whole month working on Tapestry bug fixes and
 improvements: http://igg.me/at/t5month

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: IndieGogo campaign: a month of Apache Tapestry 5

2013-12-09 Thread Joachim Van der Auwera

Great initiative, twelve hours and 740$ to go. Let's make it happen!

May I remind you that Thiago will not receive any money (donations are 
refunded) when the target is not met, so if you want Thiago to spend a 
month full-time on Tapestry, then now is the time to do your part and 
contribute to the campaign.


Kind regards,
Joachim

On 12/09/2013 09:07 PM, Muhammad Gelbana wrote:

I'm so happy you're approaching your goal ! Gonna see a more powerful
Tapestry soon I hope :)

*-*
*Muhammad Gelbana*
http://www.linkedin.com/in/mgelbana


On Mon, Dec 9, 2013 at 7:47 PM, Thiago H de Paula Figueiredo 
thiag...@gmail.com wrote:


Status update:

With 14 hours until the deadline, we raised 3040 dollars out of 4500 goal.
Thank you very much for everybody who contributed or helped spread the
word. :)


--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
Help me spend a whole month working on Tapestry bug fixes and
improvements: http://igg.me/at/t5month

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: IndieGogo campaign: a month of Apache Tapestry 5

2013-12-09 Thread Chris Mylonas
$3880 / $4500

$620 to go


On Tue, Dec 10, 2013 at 7:21 AM, Joachim Van der Auwera li...@progs.bewrote:

 Great initiative, twelve hours and 740$ to go. Let's make it happen!

 May I remind you that Thiago will not receive any money (donations are
 refunded) when the target is not met, so if you want Thiago to spend a
 month full-time on Tapestry, then now is the time to do your part and
 contribute to the campaign.

 Kind regards,
 Joachim


 On 12/09/2013 09:07 PM, Muhammad Gelbana wrote:

 I'm so happy you're approaching your goal ! Gonna see a more powerful
 Tapestry soon I hope :)

 *-*
 *Muhammad Gelbana*
 http://www.linkedin.com/in/mgelbana


 On Mon, Dec 9, 2013 at 7:47 PM, Thiago H de Paula Figueiredo 
 thiag...@gmail.com wrote:

  Status update:

 With 14 hours until the deadline, we raised 3040 dollars out of 4500
 goal.
 Thank you very much for everybody who contributed or helped spread the
 word. :)


 --
 Thiago H. de Paula Figueiredo
 Tapestry, Java and Hibernate consultant and developer
 http://machina.com.br
 Help me spend a whole month working on Tapestry bug fixes and
 improvements: http://igg.me/at/t5month

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: Contributing an object that itself can take contributions?

2013-12-09 Thread John Prestel
Thanks very much for the help, guys! I successfully employed the approach
detailed by Thiago, with a little extra finessing from the man himself, and
it's working exactly the way I want.


John


On Sat, Dec 7, 2013 at 8:22 AM, Thiago H de Paula Figueiredo 
thiag...@gmail.com wrote:

 On Fri, 06 Dec 2013 22:57:14 -0200, John Prestel 
 jpres...@safaribooksonline.com wrote:

  I'm building a service MasterFooProvider that takes contributions of type
 FooProvider. I'd really love for one my FooProvider implementations,
 ConfigurableFooProvider, to be able to take contributions of its own (of
 type String), so its behavior can be customized.


 Hello, John!

 That's what I'd do, not tested:

 * ConfigurableFooProvider is declared as a service.
 * Contribute ConfigurableFooProvider to MasterFooProvider normally, but
 not using addInstance(), because addInstance() doesn't make
 ConfigurableFooProvider a service, so it cannot receive contributions.

 public static void bind(ServiceBinder binder) {
 binder.bind(ConfigurableFooProvider.class)
 .withMarker(Primary.class);
 binder.bind(SubclassConfigurableFooProvider.class).withId(
 SubclassConfigurableFooProvider);
 }

 public static void contributeMasterFooProvider(
 OrderedConfigurationFooProvider config,
 @Primary ConfigurableFooProvider configurableFooProvider,
 @InjectService(SubclassConfigurableFooProvider)
 SubclassConfigurableFooProvider) {
 config.add(ConfigurableFoo, configurableFooProvider);
 }

 public static void 
 contributeConfigurableFooProvider(OrderedConfigurationString
 config) {
 ...

 }

  To make matters more complicated, I have the need to sub-class
 ConfigurableFooProvider, and I don't want the derived classes to share
 configuration. In other words, I want to be able to configure/contribute
 to each sub-class separately.


 That's not a problem at all. Just make sure you're contributing to the
 right service by the right method name

 public static void 
 contributeConfigurableFooProvider(OrderedConfigurationString
 config) {

 }

 public static void 
 contributeSubclassConfigurableFooProvider(OrderedConfigurationString
 config) {

 }

 To avoid ambiguity, which Tapestry-IoC considers as a showstopper, use a
 marker annotation or a service id when declaring and injecting
 ConfigurableFooProvider and declare the subclass as another service. My
 example above uses the Tapestry-provided @Primary annotation for the
 superclass and id for the subclass as examples.

 --
 Thiago H. de Paula Figueiredo
 Tapestry, Java and Hibernate consultant and developer
 http://machina.com.br
 Help me spend a whole month working on Tapestry bug fixes and
 improvements: http://igg.me/at/t5month

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




-- 
*John Prestel*
Software Engineer
Safari Books Online, LLC | http://www.safaribooksonline.com
33 Farnsworth Street
Boston, MA 02210
617.235.5806

*Please update your address book with my new address*:
jpres...@safaribooksonline.com


Re: IndieGogo campaign: a month of Apache Tapestry 5

2013-12-09 Thread Jens Breitenstein

done!


Am 09.12.13 23:53, schrieb Chris Mylonas:

$3880 / $4500

$620 to go


On Tue, Dec 10, 2013 at 7:21 AM, Joachim Van der Auwera li...@progs.bewrote:


Great initiative, twelve hours and 740$ to go. Let's make it happen!

May I remind you that Thiago will not receive any money (donations are
refunded) when the target is not met, so if you want Thiago to spend a
month full-time on Tapestry, then now is the time to do your part and
contribute to the campaign.

Kind regards,
Joachim


On 12/09/2013 09:07 PM, Muhammad Gelbana wrote:


I'm so happy you're approaching your goal ! Gonna see a more powerful
Tapestry soon I hope :)

*-*
*Muhammad Gelbana*
http://www.linkedin.com/in/mgelbana


On Mon, Dec 9, 2013 at 7:47 PM, Thiago H de Paula Figueiredo 
thiag...@gmail.com wrote:

  Status update:

With 14 hours until the deadline, we raised 3040 dollars out of 4500
goal.
Thank you very much for everybody who contributed or helped spread the
word. :)


--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
Help me spend a whole month working on Tapestry bug fixes and
improvements: http://igg.me/at/t5month

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: IndieGogo campaign: a month of Apache Tapestry 5

2013-12-09 Thread John Prestel
Congratulations, Thiago!


On Mon, Dec 9, 2013 at 6:43 PM, Jens Breitenstein mailingl...@j-b-s.dewrote:

 done!


 Am 09.12.13 23:53, schrieb Chris Mylonas:

  $3880 / $4500

 $620 to go


 On Tue, Dec 10, 2013 at 7:21 AM, Joachim Van der Auwera li...@progs.be
 wrote:

  Great initiative, twelve hours and 740$ to go. Let's make it happen!

 May I remind you that Thiago will not receive any money (donations are
 refunded) when the target is not met, so if you want Thiago to spend a
 month full-time on Tapestry, then now is the time to do your part and
 contribute to the campaign.

 Kind regards,
 Joachim


 On 12/09/2013 09:07 PM, Muhammad Gelbana wrote:

  I'm so happy you're approaching your goal ! Gonna see a more powerful
 Tapestry soon I hope :)

 *-*
 *Muhammad Gelbana*
 http://www.linkedin.com/in/mgelbana


 On Mon, Dec 9, 2013 at 7:47 PM, Thiago H de Paula Figueiredo 
 thiag...@gmail.com wrote:

   Status update:

 With 14 hours until the deadline, we raised 3040 dollars out of 4500
 goal.
 Thank you very much for everybody who contributed or helped spread the
 word. :)


 --
 Thiago H. de Paula Figueiredo
 Tapestry, Java and Hibernate consultant and developer
 http://machina.com.br
 Help me spend a whole month working on Tapestry bug fixes and
 improvements: http://igg.me/at/t5month

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org



  -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




-- 
*John Prestel*
Software Engineer
Safari Books Online, LLC | http://www.safaribooksonline.com
33 Farnsworth Street
Boston, MA 02210
617.235.5806

*Please update your address book with my new address*:
jpres...@safaribooksonline.com


Re: IndieGogo campaign: a month of Apache Tapestry 5

2013-12-09 Thread Thiago H de Paula Figueiredo
On Mon, 09 Dec 2013 21:43:16 -0200, Jens Breitenstein  
mailingl...@j-b-s.de wrote:



done!


Hi, everyone!

I'm speechless. I'm lost for words. I really don't know how to describe  
how happy and grateful to all of you for allowing me to spend a whole  
month working on Apache Tapestry, something I'm so passionate about. Thank  
you! And I'll thank you even more by working very hard to make Tapestry  
even better.


I'll blog my whole progress at http://machina.com.br (which is built on  
Tapestry, of course!) and I hope you participate by commenting and  
providing feedback. I'll probably start next week.


Cheers! And thank you again! :D

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org