Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » adding property page to C project
adding property page to C project [message #85102] Tue, 04 November 2003 18:51
Eclipse UserFriend
Originally posted by: bharatkhatri2000.yahoo.com

Hello,

I have a property page specifically for C projects (using cnature) that I
define. I get the usual pages (Info, C/C++ make project, Project
References etc.) in the project's properties page and also the page that I
added. In my page, the user can specify some properties for the project.
These need to be validated when the user presses OK, and if they are
invalid, the performOK() of my property page returns false and forces the
user to enter valid properties. Now the problem I have is this:

If the info page is selected and the user presses OK, then also my
performOK() is being called, and I am getting the error message, since
entries in my property page are invalid by default. I want the error
message to be displayed only if the property page that I created is on top
(the user is editing it) and the user presses OK. If the user is making
changes to the c/c++ make property page or some other page, I dont want to
validate entries in my property page. Is this possible ?

Thanks

Bharat
Previous Topic:Debugging
Next Topic:How to get IDs of Views
Goto Forum:
  


Current Time: Sun Oct 06 11:56:10 GMT 2024

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

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

Back to the top