Thanks for you job, Igor. Can't wait for it :-)

2012/5/12 Igor Drobiazko <igor.drobia...@gmail.com>:
> Great job, Gavin. I'm going to update on monday, test it and provide my
> feedback immediately.
>
> On Sat, May 12, 2012 at 2:34 PM, Gavin Lei <gavingui2...@gmail.com> wrote:
>
>> Hi all,
>>
>> I have improved TapestryTools'  attributes/methods support in content
>> assist of TML editor, and add message support messages support.
>>
>> When type ${message: and then cmd + space, all the available messages
>> for the page will be suggested in the content assist list.
>>
>> Fix three issues:
>> [1] http://code.google.com/p/tapestrytools/issues/detail?id=26&can=1
>> [2] http://code.google.com/p/tapestrytools/issues/detail?id=27&can=1
>> [2] http://code.google.com/p/tapestrytools/issues/detail?id=29&can=1
>>
>> Update center is synchronized already, find details here :
>>
>> http://code.google.com/p/tapestrytools/wiki/Install_Guide_Lightweight_TapestryTools
>>
>> 2012/5/1 Gavin Lei <gavingui2...@gmail.com>:
>> > Hi all,
>> >
>> > I have finished Tapestry class attributes/methods support in content
>> > assist of TML editor, It means:
>> >
>> > If there is a parameter bound using the @Component annotation inside the
>> class:
>> >
>> > @Property
>> > private String name;
>> > Or such a method in Test.java:
>> >
>> > public String getName(){
>> >  return "Gavin Lei";
>> > }
>> > Then, in Test.tml, once you typed ${ , you can get "name" and
>> > "getName" in content assist list.
>> >
>> > You can find the details in install guide here[1], and once more,
>> > lightweight TapestryTools' update center is
>> > http://tapestrytools.googlecode.com/svn/TapestryTools/.
>> >
>> > [1]
>> http://code.google.com/p/tapestrytools/wiki/Install_Guide_Lightweight_TapestryTools
>> >
>> > 2012/4/14 Gavin Lei <gavingui2...@gmail.com>:
>> >> This problem is fixed already, now TapestryTools will search for
>> >> partner file like this:
>> >>
>> >> 1. same package
>> >> 2. same root directory
>> >> 3. other places in the project
>> >>
>> >> In Maven case, now it will always find corresponding file in src folder.
>> >>
>> >> 在 2012年4月14日 上午9:39,Gavin Lei <gavingui2...@gmail.com> 写道:
>> >>> Hi Giulio,
>> >>>
>> >>> Use isDerived can judge one file is generated by Maven or not, this
>> >>> will real work in this situation. But tml file in source code and java
>> >>> file in source code are in the same root directory, my search
>> >>> algorithm should find tml file in source code file first, then return.
>> >>> Currently, it found tml in target file first, i will also correct this
>> >>> issue.
>> >>>
>> >>> 2012/4/14 Giulio Micali <giulio.mic...@gmail.com>:
>> >>>> Hi Gavin,
>> >>>> I gave a look at the code compared to my old patch, looks like 2
>> lines of
>> >>>> code are missing (the dirty ones in my patch):
>> >>>>
>> >>>> ### Eclipse Workspace Patch 1.0
>> >>>> #P org.apache.tapestrytools.ui
>> >>>> Index:
>> >>>>
>> src/org/eclipse/wst/xml/ui/internal/actions/FindCorrespondingFileAction.java
>> >>>> ===================================================================
>> >>>> ---
>> >>>>
>> src/org/eclipse/wst/xml/ui/internal/actions/FindCorrespondingFileAction.java
>> >>>> (revision 301)
>> >>>> +++
>> >>>>
>> src/org/eclipse/wst/xml/ui/internal/actions/FindCorrespondingFileAction.java
>> >>>> (working copy)
>> >>>> @@ -114,6 +114,9 @@
>> >>>>     private void travelAllFolder(IResource[] fileList, String
>> fileName)
>> >>>> throws CoreException{
>> >>>>         for(int i=0; i<fileList.length; i++){
>> >>>>             IResource eachFile = fileList[i];
>> >>>> +            boolean isTargetFolder = eachFile.isDerived();
>> >>>> +            if (isTargetFolder) continue; // we should skip
>> non-source
>> >>>> paths
>> >>>> +
>> >>>>             if(eachFile.getType() == IResource.FILE &&
>> >>>> eachFile.getName().equals(fileName)){
>> >>>>                 this.partenerFile = eachFile.getFullPath().toString();
>> >>>>                 return ;
>> >>>>
>> >>>>
>> >>>> I'm not sure if "isDerived()" is the right method or if the condition
>> must
>> >>>> be more complicated, but it seems to work for me now.
>> >>>>
>> >>>>
>> >>>> Cheers,
>> >>>> Giulio
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> ---------------------------------
>> >>> Best Regards
>> >>> Gavin Lei (雷银)
>> >>> Email: gavingui2...@gmail.com
>> >>
>> >>
>> >>
>> >> --
>> >> ---------------------------------
>> >> Best Regards
>> >> Gavin Lei (雷银)
>> >> Email: gavingui2...@gmail.com
>> >
>> >
>> >
>> > --
>> > ---------------------------------
>> > Best Regards
>> > Gavin Lei (雷银)
>> > Email: gavingui2...@gmail.com
>>
>>
>>
>> --
>> ---------------------------------
>> Best Regards
>> Gavin Lei (雷银)
>> Email: gavingui2...@gmail.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
>
> --
> Best regards,
>
> Igor Drobiazko
> http://tapestry5.de
> http://twitter.com/drobiazko



-- 
---------------------------------
Best Regards
Gavin Lei (雷银)
Email: gavingui2...@gmail.com

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

Reply via email to