Skip to content

Commit

Permalink
#1000 | Added custom icon for hybrislicence.jar
Browse files Browse the repository at this point in the history
  • Loading branch information
mlytvyn authored Feb 5, 2024
1 parent ee22a5e commit 475fb58
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Group all non-hybris gradle, ant, eclipse and maven modules in project view panel [#967](https://github.com/epam/sap-commerce-intellij-idea-plugin/pull/967) | [#975](https://github.com/epam/sap-commerce-intellij-idea-plugin/pull/975) | [#980](https://github.com/epam/sap-commerce-intellij-idea-plugin/pull/980)
- Use blue logo for custom module groups in the project view [#973](https://github.com/epam/sap-commerce-intellij-idea-plugin/pull/973)
- Show globe icon for localized attributes in the code completion pane [#999](https://github.com/epam/sap-commerce-intellij-idea-plugin/pull/999)
- Added custom icon for `hybrislicence.jar` [#1000](https://github.com/epam/sap-commerce-intellij-idea-plugin/pull/1000)

### `Remote Connection` enhancements
- Introduced `Project` and `Personal` scope for remote connections [#971](https://github.com/epam/sap-commerce-intellij-idea-plugin/pull/971)
Expand Down
19 changes: 19 additions & 0 deletions resources/icons/hybrisLicenceIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions resources/icons/hybrisLicenceIcon_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ object HybrisConstants {
const val EXTENSION_INFO_XML = "extensioninfo.xml"
const val EXTENSIONS_XML = "extensions.xml"
const val COCKPIT_NG_DEFINITION_XML = "definition.xml"
const val HYBRIS_LICENCE_JAR = "hybrislicence.jar"

const val HYBRIS_DIRECTORY = "hybris"
const val HYBRIS_DATA_DIRECTORY = "data"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ object HybrisIcons {

val DECLARATION = getIcon("/icons/declaration.svg")

val Y_LICENCE = getIcon("/icons/hybrisLicenceIcon.svg")
val Y_LOGO_BLUE = getIcon("/icons/hybrisIcon.svg")
val Y_LOGO_ORANGE = getIcon("/icons/hybrisIconOrange.svg")
val Y_LOGO_GREEN = getIcon("/icons/hybrisIconGreen.svg")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class HybrisProjectIconProvider : IconProvider() {
file.name == HybrisConstants.BUILD_CALLBACKS_XML -> HybrisIcons.BUILD_CALLBACKS
file.name == HybrisConstants.UNMANAGED_DEPENDENCIES_TXT -> HybrisIcons.UNMANAGED_DEPENDENCIES
file.name == HybrisConstants.EXTERNAL_DEPENDENCIES_XML -> HybrisIcons.EXTERNAL_DEPENDENCIES
file.name == HybrisConstants.HYBRIS_LICENCE_JAR -> HybrisIcons.Y_LICENCE
file.name.endsWith(HybrisConstants.IMPORT_OVERRIDE_FILENAME) -> HybrisIcons.PLUGIN_SETTINGS
else -> null
}
Expand Down

0 comments on commit 475fb58

Please sign in to comment.