|
| 1 | +/******************************************************************************* |
| 2 | + * Copyright (c) 2025 Broadcom, Inc. |
| 3 | + * All rights reserved. This program and the accompanying materials |
| 4 | + * are made available under the terms of the Eclipse Public License v1.0 |
| 5 | + * which accompanies this distribution, and is available at |
| 6 | + * https://www.eclipse.org/legal/epl-v10.html |
| 7 | + * |
| 8 | + * Contributors: |
| 9 | + * Broadcom, Inc. - initial API and implementation |
| 10 | + *******************************************************************************/ |
| 11 | +package org.springframework.ide.vscode.boot.java.commands; |
| 12 | + |
| 13 | +import java.util.Map; |
| 14 | + |
| 15 | +public class StereotypeIcons { |
| 16 | + |
| 17 | + public static final Map<String, String> ICONS = Map.ofEntries( |
| 18 | + Map.entry("architecture.hexagonal", "debug-breakpoint-data-unverified"), |
| 19 | + Map.entry("architecture.hexagonal.Port", "symbol-interface"), |
| 20 | + Map.entry("architecture.hexagonal.Adapter", "debug-disconnect"), |
| 21 | + Map.entry("architecture.hexagonal.Application", "circuit-board"), |
| 22 | + Map.entry("architecture.layered", "layers"), |
| 23 | + Map.entry("architecture.onion", "target"), |
| 24 | + Map.entry("architecture.onion.Application", "circuit-board"), |
| 25 | + Map.entry("architecture.onion.Domain", "?"), // TODO |
| 26 | + Map.entry("architecture.onion.Infrastructure", "debug-disconnect"), |
| 27 | + Map.entry("ddd.AggregateRoot", "symbol-class"), |
| 28 | + Map.entry("ddd.Association", "link"), |
| 29 | + Map.entry("ddd.Entity", "symbol-field"), |
| 30 | + Map.entry("ddd.Identifier", "lightbulb"), |
| 31 | + Map.entry("ddd.Repository", "database"), |
| 32 | + Map.entry("ddd.Service", "?"), // TODO |
| 33 | + Map.entry("ddd.ValueObject", "symbol-value"), |
| 34 | + Map.entry("event.DomainEvent", "bell"), |
| 35 | + Map.entry("event.DomainEventHandler", "callhierarchy-incoming"), |
| 36 | + |
| 37 | + Map.entry("org.jmolecules.architecture.hexagonal", "debug-breakpoint-data-unverified"), |
| 38 | + Map.entry("org.jmolecules.architecture.hexagonal.Port", "symbol-interface"), |
| 39 | + Map.entry("org.jmolecules.architecture.hexagonal.Adapter", "debug-disconnect"), |
| 40 | + Map.entry("org.jmolecules.architecture.hexagonal.Application", "circuit-board"), |
| 41 | + Map.entry("org.jmolecules.architecture.layered", "layers"), |
| 42 | + Map.entry("org.jmolecules.architecture.onion", "target"), |
| 43 | + Map.entry("org.jmolecules.architecture.onion.Application", "circuit-board"), |
| 44 | + Map.entry("org.jmolecules.architecture.onion.Domain", "?"), // TODO |
| 45 | + Map.entry("org.jmolecules.architecture.onion.Infrastructure", "debug-disconnect"), |
| 46 | + Map.entry("org.jmolecules.ddd.AggregateRoot", "symbol-class"), |
| 47 | + Map.entry("org.jmolecules.ddd.Association", "link"), |
| 48 | + Map.entry("org.jmolecules.ddd.Entity", "symbol-field"), |
| 49 | + Map.entry("org.jmolecules.ddd.Identifier", "lightbulb"), |
| 50 | + Map.entry("org.jmolecules.ddd.Repository", "database"), |
| 51 | + Map.entry("org.jmolecules.ddd.Service", "?"), // TODO |
| 52 | + Map.entry("org.jmolecules.ddd.ValueObject", "symbol-value"), |
| 53 | + Map.entry("org.jmolecules.event.DomainEvent", "bell"), |
| 54 | + Map.entry("org.jmolecules.event.DomainEventHandler", "callhierarchy-incoming"), |
| 55 | + |
| 56 | + Map.entry("jackson", "bracket"), |
| 57 | + Map.entry("java.Exception", "zap"), |
| 58 | + Map.entry("jpa", "database"), |
| 59 | + Map.entry("spring.Configuration", "gear"), |
| 60 | + Map.entry("spring.MessageListener", "callhierarchy-incoming"), |
| 61 | + Map.entry("spring.boot", "coffee"), |
| 62 | + Map.entry("spring.boot.ConfigurationProperties", "symbol-property"), |
| 63 | + Map.entry("spring.data", "database"), |
| 64 | + Map.entry("spring.data.rest", "bracket"), |
| 65 | + Map.entry("spring.data.rest.Projection", "search"), |
| 66 | + Map.entry("spring.EventListener", "callhierarchy-incoming"), |
| 67 | + Map.entry("spring.web", "globe"), |
| 68 | + Map.entry("spring.web.rest.hypermedia", "link"), |
| 69 | + Map.entry("Application", "project"), |
| 70 | + Map.entry("Module", "library"), |
| 71 | + Map.entry("Packages", "package"), |
| 72 | + Map.entry("Method", "symbol-method"), |
| 73 | + Map.entry("Type", "symbol-class"), |
| 74 | + Map.entry("Stereotype", "record") |
| 75 | + ); |
| 76 | + |
| 77 | + |
| 78 | +} |
0 commit comments