use of org.yakindu.base.expressions.expressions.NumericalAddSubtractExpression in project statecharts by Yakindu.
the class NumericalAddSubtractExpressionItemProvider method getText.
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getText(Object object) {
AdditiveOperator labelValue = ((NumericalAddSubtractExpression) object).getOperator();
String label = labelValue == null ? null : labelValue.toString();
return label == null || label.length() == 0 ? getString("_UI_NumericalAddSubtractExpression_type") : getString("_UI_NumericalAddSubtractExpression_type") + " " + label;
}
Aggregations