/** * Compute the label of the given element. * * @param element the {@link Element} for which to retrieve a label. * @return the computed label. */ public String computeUmlLabel(Element element) { return LabelServices.INSTANCE.computeUmlLabel(element); }
/** * Compute default name. * * @param element New element * @return Name for the new element, he name will looks like 'ElementType'+total of existing * elements of the same type. */ public String computeDefaultName(final EObject element) { return LabelServices.INSTANCE.computeDefaultName(element); }