Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Custom validation on top of org.eclipse.cdt.managedbuilder.core.buildDefinitions
Custom validation on top of org.eclipse.cdt.managedbuilder.core.buildDefinitions [message #1816527] Wed, 30 October 2019 14:42
Anton Krug is currently offline Anton KrugFriend
Messages: 9
Registered: August 2017
Junior Member
When making custom plugin sitting on top of CDT, there are definitions inside the plugin.xml as described in the:

https://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.cdt.doc.isv%2Freference%2Fextension-points%2Forg_eclipse_cdt_managedbuilder_core_buildDefinitions.html

However, is there a way to have more freedom over the XML? For example there would be a need to add static label/text with an applicability-calculator attached to it which could be used to validate the existing settings and show a warning if an incompatible combination of settings was used.

Making own popup behind the XML is not practical as then it will be shown at any time even before the dialog with the options is rendered. At the moment option with a valueType=string is used to display the text, but it's not an elegant solution. If label/text field which could be shown/hidden on demand is not possible. Is there some other mechanism to add java validation of the form? Because the form is fairly complex and can have many possible states (a lot of enumerated options which depend on each other) and only some combinations of these states are not valid, therefore approach with regular expressions is not practical (value A could be valid or invalid depending on values of B, C, D, E and F)
Previous Topic:Compiler Failing on non-errors
Next Topic:Struggling with includes
Goto Forum:
  


Current Time: Fri Apr 26 04:03:04 GMT 2024

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

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

Back to the top