Exemplo n.º 1
0
 StyledString text(ImportExpression ele) {
   // StyledString label = new StyledString("import declaration" + (ele.getValues().size() >1 ? "s"
   // : ""));
   List<EObject> names = Lists.newArrayList();
   names.addAll(ele.getValues());
   StyledString label = new StyledString("import ");
   appendStyled(label, literalNames(names), EXPR_STYLER);
   return label;
 }
Exemplo n.º 2
0
 public Object image(ImportExpression element) {
   if (element.getValues().size() <= 1) return IMPORT;
   return IMPORTS;
 }