" NumberLabel<" + typeName + "> numberLabel = new NumberLabel<" + typeName + ">();",
" add(numberLabel);",
" }",
"}");
refresh();
NumberLabelInfo numberLabel = getJavaInfoByName("numberLabel");
// has special name and icon
assertEquals("NumberLabel<" + textTypeName + ">", getValueLabelText(numberLabel));
{
Image icon = numberLabel.getPresentation().getIcon();
// "creation" specific icon
if (creationId != null) {
assertSame(numberLabel.getDescription().getCreation(creationId).getIcon(), icon);
assertNotSame(numberLabel.getDescription().getIcon(), icon);
} else {
assertSame(numberLabel.getDescription().getIcon(), icon);
}
}
}