Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CoreModel.create() unusable?
CoreModel.create() unusable? [message #50699] Tue, 19 November 2002 18:43 Go to next message
Eclipse UserFriend
Originally posted by: crvich.us.ibm.com

Why aren't the CoreModel create() functions static, as the create()
functions are in JavaCore? How can I actually use those functions? The
CoreModel constructor is private, so I can't create an instance myself, and
all I have to work with is an IProject object (obtained from
PropertyPage.getElement()), which presumably will have C/C++ nature
IDs...but I need to get the ICProject interface for that case. How?

--
Ernest M. Crvich
IBM ODE Team
http://w3.ode.raleigh.ibm.com/
Have footbag, will shred
Re: CoreModel.create() unusable? [message #50728 is a reply to message #50699] Tue, 19 November 2002 20:38 Go to previous message
Eclipse UserFriend
Originally posted by: crvich.us.ibm.com

Ernest Crvich <crvich@us.ibm.com> wrote in
news:are0ov$5qt$1@rogue.oti.com:

> Why aren't the CoreModel create() functions static, as the create()
> functions are in JavaCore? How can I actually use those functions?

Looks like CoreModel.getDefault().create() should work...first question
remains, though.

--
Ernest M. Crvich
IBM ODE Team
http://w3.ode.raleigh.ibm.com/
Have footbag, will shred
Previous Topic:Is there a patch for 24648?
Next Topic:C++ unit test tool
Goto Forum:
  


Current Time: Sat Aug 10 10:18:42 GMT 2024

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

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

Back to the top