use of org.whole.lang.math.ui.figures.InfixExpressionFigure in project whole by wholeplatform.
the class RemainderPart method refreshPrecedence.
protected void refreshPrecedence(IEntity exp, IEntity exp1, IEntity exp2) {
InfixExpressionFigure fig = (InfixExpressionFigure) getFigure();
fig.showLeftParen(OperatorGroupEnum.hasPrecedence(exp, exp1));
fig.showRightParen(OperatorGroupEnum.hasPrecedence(exp, exp2));
}
use of org.whole.lang.math.ui.figures.InfixExpressionFigure in project whole by wholeplatform.
the class SubtractionPart method refreshPrecedence.
protected void refreshPrecedence(IEntity exp, IEntity exp1, IEntity exp2) {
InfixExpressionFigure fig = (InfixExpressionFigure) getFigure();
fig.showLeftParen(OperatorGroupEnum.hasPrecedence(exp, exp1));
fig.showRightParen(OperatorGroupEnum.hasPrecedence(exp, exp2));
}
use of org.whole.lang.math.ui.figures.InfixExpressionFigure in project whole by wholeplatform.
the class OrderedPairPart method createFigure.
protected IFigure createFigure() {
InfixExpressionFigure f = new InfixExpressionFigure(",");
f.setBorder(new RoundBracketsBorder());
return f;
}
Aggregations