Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to know project type programatically?
How to know project type programatically? [message #144082] Wed, 27 April 2005 10:39 Go to next message
Eclipse UserFriend
I'm devoloping a plugin.

But I need to know what type of CDT project the user choosed when He created
the project.

I've seen a class named TypeHierarchy I think it has something to do what
i'm looking for but i don't what function I must call to know it.

Thanks.
Re: How to know project type programatically? [message #144432 is a reply to message #144082] Mon, 02 May 2005 09:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefe.ca.ibm.com

"Xavier Rodr
Re: How to know project type programatically? [message #144494 is a reply to message #144432] Mon, 02 May 2005 18:11 Go to previous messageGo to next message
Eclipse UserFriend
Thanks soo much!!!

But the natur would be a C project.... and I wanna know what is the project
type.

Do you know what I mean???

In the wizard for creating a C project (managed) it asks the Project type,
and this is extensible.

Thanks in advance

"Doug Schaefer" <dschaefe@ca.ibm.com> ha escrit en el missatge dels grups de
discussi
Re: How to know project type programatically? [message #144659 is a reply to message #144494] Thu, 05 May 2005 12:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefe.ca.ibm.com

"Xavier Rodr
Re: How to know project type programatically? [message #144778 is a reply to message #144659] Fri, 06 May 2005 10:35 Go to previous message
Eclipse UserFriend
Thanks doug!!

I finaly did it:

IFile f=this.getSelectedFile();
IManagedBuildInfo ibi= ManagedBuildManager.getBuildInfo(f);
ibi.getManagedProject().getId();


"Doug Schaefer" <dschaefe@ca.ibm.com> ha escrit en el missatge dels grups de
discussi
Previous Topic:Debugger confusion
Next Topic:C++ refactoring
Goto Forum:
  


Current Time: Thu May 08 01:28:30 EDT 2025

Powered by FUDForum. Page generated in 0.04409 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top