1 package fr.ove.openmath.jome.ctrlview.bidim;
2
3 import fr.ove.openmath.jome.ctrlview.bidim.*;
4 import fr.ove.openmath.jome.model.*;
5
6 /***
7 * A layout manager for a binary infix operator which symbol can be rendered a simple string
8 *
9 * @author © 1999 DIRAT Laurent
10 * @version 2.0 14/12/1999
11 */
12 public class StringBinaryInfixOperatorLayout extends BinaryInfixOperatorLayout {
13 /***
14 * Returns the display of the operator
15 */
16 public Display createOperatorDisplay() {
17 Operator fts = (Operator) displayToLay.getListener();
18
19 StringDisplay stringDisplay = new StringDisplay(displayToLay.getGraphicContext(), fts.getTheOperator(), true);
20
21 return stringDisplay;
22 }
23 }