| can I create a structure of a Project? [message #161754] | 
Tue, 25 November 2003 14:51   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
hi  
 
i'd like to know whether the following is posible or not. 
 
I want to make a plug-in for building gt3 applications (globus toolkit 3 
-> grid computing), and i would like to know if there is something similar 
to a structure of a project. Any file where you can tell what kind of 
files are supported by this kind of project, etc... 
 
i have looked the .project file but doesn't seem to apport any interesting 
information for what i want. And looking in the API i have found classes 
like IProject that have information but aren't to be implemented 
 
don't know hot to start. I have been thinking in making a wizard that 
generates automatically those files wanted por this project. is this 
correct? 
 
thank you ;-) 
 
P.D: sorry for my english. I'm not a native speaker
 |  
 |  
  | 
 | 
| Re: can I create a structure of a Project? [message #163102 is a reply to message #162445] | 
Thu, 27 November 2003 16:53    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
thanks for answering. i think I will explain myself much better with an 
example. What i want to know if it's possible is to create the concept of 
a "project" as is used in others IDEs (JBuilder, C++ Builder, Visual 
Studio, Borland Delphi, etc). That's it. for example to create a .dpr and 
configure it as it would be in Borland Delphi. 
 
What you've told me sounds fine and i will look at it better in the 
weekend with more time.  
 
If you understand me now better and know of a better solution please tell 
me. 
 
thank you 
 
bye 
 
> I'm not quite sure what you're trying to do, but project natures sound  
> close to what you're looking for.  You can associate a "nature" with a  
> project to indicate what sort of project it is. The nature is used in  
> determining the icon used in the navigation, and it can be used to  
> filter actions in the UI, among other things.  Natures don't allow you  
> to alter the physical "structure" of the project, but perhaps I'm not  
> understanding what you mean by that.  The following article gives a  
> brief introduction to natures: 
 
>  http://www.eclipse.org/articles/Article-Builders/builders.ht ml 
> -- 
 
 
> Marcos Lopez wrote: 
> > hi  
> >  
> > i'd like to know whether the following is posible or not. 
> >  
> > I want to make a plug-in for building gt3 applications (globus toolkit 3 
> > -> grid computing), and i would like to know if there is something similar 
> > to a structure of a project. Any file where you can tell what kind of 
> > files are supported by this kind of project, etc... 
> >  
> > i have looked the .project file but doesn't seem to apport any interesting 
> > information for what i want. And looking in the API i have found classes 
> > like IProject that have information but aren't to be implemented 
> >  
> > don't know hot to start. I have been thinking in making a wizard that 
> > generates automatically those files wanted por this project. is this 
> > correct? 
> >  
> > thank you ;-) 
> >  
> > P.D: sorry for my english. I'm not a native speaker 
> >
 |  
 |  
  | 
| Re: can I create a structure of a Project? [message #164828 is a reply to message #163102] | 
Tue, 02 December 2003 14:26   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: John_Arthorne.oti.com_ 
 
Projects can be created programatically using the resources plugin API.  
  For more details, look in the platform plugin developer's guide >  
programmer's guide > resources overview.  You want code that looks  
roughly like this: 
 
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); 
IProject p = root.getProject("MyProject"); 
p.create(null); 
p.open(null); 
 
 
Marcos Lopez wrote: 
> thanks for answering. i think I will explain myself much better with an 
> example. What i want to know if it's possible is to create the concept of 
> a "project" as is used in others IDEs (JBuilder, C++ Builder, Visual 
> Studio, Borland Delphi, etc). That's it. for example to create a .dpr and 
> configure it as it would be in Borland Delphi. 
>  
> What you've told me sounds fine and i will look at it better in the 
> weekend with more time.  
>  
> If you understand me now better and know of a better solution please tell 
> me. 
>  
> thank you 
>  
> bye 
>  
>  
>>I'm not quite sure what you're trying to do, but project natures sound  
>>close to what you're looking for.  You can associate a "nature" with a  
>>project to indicate what sort of project it is. The nature is used in  
>>determining the icon used in the navigation, and it can be used to  
>>filter actions in the UI, among other things.  Natures don't allow you  
>>to alter the physical "structure" of the project, but perhaps I'm not  
>>understanding what you mean by that.  The following article gives a  
>>brief introduction to natures: 
>  
>  
>> http://www.eclipse.org/articles/Article-Builders/builders.ht ml 
>>-- 
>  
>  
>  
>>Marcos Lopez wrote: 
>> 
>>>hi  
>>> 
>>>i'd like to know whether the following is posible or not. 
>>> 
>>>I want to make a plug-in for building gt3 applications (globus toolkit 3 
>>>-> grid computing), and i would like to know if there is something similar 
>>>to a structure of a project. Any file where you can tell what kind of 
>>>files are supported by this kind of project, etc... 
>>> 
>>>i have looked the .project file but doesn't seem to apport any interesting 
>>>information for what i want. And looking in the API i have found classes 
>>>like IProject that have information but aren't to be implemented 
>>> 
>>>don't know hot to start. I have been thinking in making a wizard that 
>>>generates automatically those files wanted por this project. is this 
>>>correct? 
>>> 
>>>thank you ;-) 
>>> 
>>>P.D: sorry for my english. I'm not a native speaker 
>>> 
>> 
>  
>
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.05693 seconds