Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] Form verification for INI files via templating

Okay. We'll talk about that tomorrow.

Jay

On Apr 14, 2015 12:02 PM, "Bennett, Andrew R." <bennettar@xxxxxxxx> wrote:
The INI Template file is set in the item like at https://github.com/eclipse/ice/blob/andrew/proteus/src/org.eclipse.ice.proteus/src/org/eclipse/ice/proteus/PROTEUSModel.java#L274 .

Andrew
________________________________________
From: ice-dev-bounces@xxxxxxxxxxx [ice-dev-bounces@xxxxxxxxxxx] on behalf of Jay Jay Billings [jayjaybillings@xxxxxxxxx]
Sent: Tuesday, April 14, 2015 5:46 AM
To: ice developer discussions
Subject: Re: [ice-dev] Form verification for INI files via templating

Andrew can you point to some sample code for how the Item identifies the template for the INI reader? I would like to review it and make sure it doesn't violate encapsulation.

Jay

On Apr 13, 2015 8:33 PM, "Bennett, Andrew R." <bennettar@xxxxxxxx<mailto:bennettar@xxxxxxxx>> wrote:
Hey everyone,

I've gotten the templating system in the INIReader to a functional point and figured I'd ask for some opinions.  The images attached show the difference between the templated INI file and the default version (what is loaded if the template file is not found).  To use templating the item will have to tell the INI reader what file to use as the template.  I've also attached an example INI template so that you can see how to implement your own versions if interested.  Let me know how this sort of thing looks.

There's also the issue of how to distribute template files for export controlled codes.  I have a complete PROTEUS template written up and ready to go for whenever we figure this part out.

Andrew
_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx<mailto:ice-dev@xxxxxxxxxxx>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev
_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev

Back to the top