Skip to content

Commit

Permalink
feat:IEP-990 Integration of esp-idf BoM (#832)
Browse files Browse the repository at this point in the history
* feat: added support for esp-idf-sbom command

* fix: extracting creating patternMatchListener to increase readability

* fix: fix windows issue with default output path

* fix: fixing exceptions on validation (windows)

* fix: fix validation pass on non-file

* feat: adding automatically project refreshing

* feat: small UI improvments in avoiding default error message

* fix: added new icon for SBOM feature
  • Loading branch information
sigmaaa authored Nov 2, 2023
1 parent 50f0564 commit fc93cb5
Show file tree
Hide file tree
Showing 7 changed files with 532 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bundles/com.espressif.idf.ui/OSGI-INF/l10n/bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,5 @@ command.name.PartitionTableEditor = ESP-IDF: Partition Table Editor
command.label.nsvTableEditor = ESP-IDF: NVS Table Editor
command.name.nvsTableEditor = ESP-IDF: NVS Table Editor
command.tooltip.nvsTableEditor = NVS Editor can help you to easily edit NVS CSV, generate encrypted and non-encrypted partitions through GUI, without interacting directly with the csv files.
build_hints.name = Build Hints
build_hints.name = Build Hints
command.label.SbomCommandLabel = ESP-IDF: SBOM Tool
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions bundles/com.espressif.idf.ui/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,22 @@
</iterate>
</visibleWhen>
</command>
<command
commandId="com.espressif.idf.ui.sbom"
icon="icons/Software_bill_of_materials_(SBOM).png"
label="%command.label.SbomCommandLabel"
style="push">
<visibleWhen
checkEnabled="false">
<iterate
ifEmpty="false"
operator="or">
<instanceof
value="org.eclipse.core.resources.IResource">
</instanceof>
</iterate>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension
Expand Down Expand Up @@ -568,6 +584,10 @@
class="com.espressif.idf.ui.nvs.handlers.NvsEditorHandler"
commandId="com.espressif.idf.ui.nvsEditorCommand">
</handler>
<handler
class="com.espressif.idf.ui.handlers.SbomCommandHandler"
commandId="com.espressif.idf.ui.sbom">
</handler>
</extension>
<extension
point="org.eclipse.ui.commands">
Expand Down
Loading

0 comments on commit fc93cb5

Please sign in to comment.