Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] C project type only

Easiest way is to do:

MBSCustomPageManager.getPageProperty(CProjectPlatformPage.PAGE_ID,
CProjectPlatformPage.NATURE).toString()

___________________________________________
 
Chris Recoskie
Software Designer
Texas Instruments, Toronto
http://eclipse.org/cdt
 
 

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On
> Behalf Of Stewart, Richard
> Sent: Wednesday, November 16, 2005 11:31 AM
> To: CDT General developers list.
> Subject: RE: [cdt-dev] C project type only
> 
> Is there some way to figure out the nature of the project wizard that
is
> calling the isSupported method?  It seems that the only thing passed
to
> isSupported(...) is the ToolChain object itself.  The other two
> arguments are set to null by ToolChain.isSupported().
> 
> Thanks.
> 
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Recoskie, Chris
> Sent: Wednesday, November 16, 2005 9:45 AM
> To: CDT General developers list.
> Subject: RE: [cdt-dev] C project type only
> 
> If you make use of the isToolChainSupported attribute in your
toolchain
> definition, you can control how and when the project type is shown.
> 
> Project types are currently only automatically hidden if the
toolchain's
> osList and archList are not satisfied.
> 
> ___________________________________________
> 
> Chris Recoskie
> Software Designer
> Texas Instruments, Toronto
> http://eclipse.org/cdt
> 
> 
> 
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On
> > Behalf Of Stewart, Richard
> > Sent: Wednesday, November 16, 2005 8:32 AM
> > To: CDT General developers list.
> > Subject: [cdt-dev] C project type only
> >
> > Is there any way to make a project type show up in the 'Project
Type'
> > drop down list for only C projects, and not C++ projects?  I have no
> > tools defined for C++ projects but my project type still appears in
> the
> > drop down.  Thanks.
> >
> > Rick
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top