Oh, I missed the subject of the thread.  It looks like you've already found
the ID of the GWT nature.  Try adding that to your array of Strings which is
being passed to setNatureIds.

jason

On Mon, Mar 22, 2010 at 10:15 AM, Jason Parekh <jasonpar...@gmail.com>wrote:

> Hi Jim,
>
> Sorry, the Google Plugin for Eclipse's source code is not available.  You
> might be able to achieve what you want by looking at a sample GWT project's
> .project file, which will contain the GWT project nature ID.  You should be
> able to add this to your project description.
>
> I'm curious, what is it that you're adding this into?
>
> jason
>
> On Mon, Mar 22, 2010 at 12:00 AM, Jim <jim.p...@gmail.com> wrote:
>
>> I want to create a Google Application Project from Java Code instead
>> of IDE. How can I do it? Is Google Eclipse Plugin for GWT open source?
>> I know how to create a Java project through Java code like:
>>
>>                                final IProjectDescription description
>> = project.getDescription();
>>                                description.setNatureIds(new String[]
>> {JavaCore.NATURE_ID,
>> ProjectNature.NATURE_ID});
>>                                description.setLocation(null);  //default
>> location
>>
>>
>> I do appreciate it if you can show me how to download the source code
>> if it is open source and how to use Google Eclipse Plugin in java
>> code.
>>
>>
>> Jim
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to