adding property page to C project [message #85102] |
Tue, 04 November 2003 18:51 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04473 seconds