Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] How to add a listener to the Combo-Box in project's settings (as "Debug Level" combo)?

Hello!
I've developed my plugin and defined my own toolchain with new compiler's option:

      <tool
            ...
         <optionCategory
               id="test.c.compiler.testcategory"
               name="Test Settings"
               owner="test.c.compiler">
         </optionCategory>
         <option
               category="test.c.compiler.testcategory"
               id="test.c.compiler.testoption"
               name="Test Option"
               valueType="enumerated">
            <enumeratedOptionValue
                  id="test.c.compiler.testoption.default"
                  isDefault="true"
                  name="Default">
            </enumeratedOptionValue>
            <enumeratedOptionValue
                  command="--test"
                  id="test.c.compiler.testoption.test"
                  name="test">
            </enumeratedOptionValue>
         </option>
      </tool>

How can I add a new listener of changing user's choice to the corresponding combo-box in project's settings?


Back to the top