Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Saving configuration specific options in own PropertyTab

Own data, thats the problem... Chaning artifact extension or something like that would be more easy....

 What are you saving, is it your own data or updated project model?

Andrew

On Tue, Aug 18, 2009 at 9:32 AM, <patrick.schmitt@xxxxxxx> wrote:
I know to ovveride these functions, but the right code to fill that functions is not so easy to get :)
Will take a look into...


 

Hi Patrick,

You would need to override performApply(), performOK(), performDefaults() and insert there your specific code. Not sure if it is a good example but I was looking recently at ErrorParsTab class in detail.

Thanks,
Andrew

On Tue, Aug 18, 2009 at 8:40 AM, <patrick.schmitt@xxxxxxx> wrote:
Hello guys,
I am extending the build properties by adding a new seperate tabpage.
This tabpage class is extending AbstractCBuildPropertyTab.
First of all I added a combo box with 2 entries.
Now i want that user can save the current entry by hitting the Apply button for his current project configuration (also restoring default values and the usual settings behaviour).
Is there any code snippet or something how to do it? I take a look in  the cdt sources, but its not very clear to me how to handle this properly.

Maybe anybody has a hint for me,

kind regards
Patrick






--


-------------------------
-------------------------
patrick.schmitt@xxxxxxx
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev





--
Mit freundlichem Gruß
Patrick Schmitt

-------------------------
-------------------------
patrick.schmitt@xxxxxxx


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev






--
Mit freundlichem Gruß
Patrick Schmitt

-------------------------
-------------------------
patrick.schmitt@xxxxxxx


Back to the top