/** * Gets the right expression. * * @return the expression on the right of the comparison. * * @deprecated use {@link #getExpression2()}. */ public final Expression getRightValue() { return (Expression) getExpression2(); }
/** * Gets the right expression. * * @return the expression on the right of the comparison. * * @deprecated use {@link #getExpression2()}. */ public final Expression getRightValue() { return (Expression) getExpression2(); }
parameterList.add(mathExpression.getExpression2());
/** * Sets the math expression. * * @param expression the new math expression */ private void setMathExpression(Expression expression) { MathExpressionImpl mathsExpression = (MathExpressionImpl) expression; String expressionText = Localisation.getString(ExpressionPanelv2.class, "ExpressionPanelv2.expression"); ExpressionNode childNode1 = new ExpressionNode(); childNode1.setType(Number.class); childNode1.setName(expressionText + " 1"); childNode1.setExpression(mathsExpression.getExpression1()); this.insert(childNode1, this.getChildCount()); ExpressionNode childNode2 = new ExpressionNode(); childNode2.setType(Number.class); childNode2.setName(expressionText + " 2"); childNode2.setExpression(mathsExpression.getExpression2()); this.insert(childNode2, this.getChildCount()); }