@Test public void testGetIcon() { final ImageDataUriGlyph expectedIcon = DMNSVGGlyphFactory.DECISION_PALETTE; final ImageDataUriGlyph actualIcon = component.getIcon(); assertEquals(expectedIcon, actualIcon); }
public ImageDataUriGlyph getIcon() { return PALETTE_MAP.get(drgElement.getClass()); }
DecisionComponent { public ImageDataUriGlyph getIcon() { return PALETTE_MAP.get(drgElement.getClass()); } }
DecisionComponent { public ImageDataUriGlyph getIcon() { return PALETTE_MAP.get(drgElement.getClass()); } DecisionComponent(final String fileName,
                             final DRGElement drgElement,
                             final boolean imported); }
DecisionComponent { public ImageDataUriGlyph getIcon() { return PALETTE_MAP.get(drgElement.getClass()); } DecisionComponent(final String fileName,
                             final DRGElement drgElement,
                             final boolean imported); boolean isImported(); String getFileName(); DRGElement getDrgElement(); String getName(); ImageDataUriGlyph getIcon(); }
DecisionComponent { public ImageDataUriGlyph getIcon() { return PALETTE_MAP.get(drgElement.getClass()); } DecisionComponent(final String fileName,
                             final DRGElement drgElement,
                             final boolean imported); boolean isImported(); String getFileName(); DRGElement getDrgElement(); String getName(); ImageDataUriGlyph getIcon();  }