1 package fr.ove.openmath.jome.ctrlview.bidim;
2
3 import java.io.Serializable;
4 import fr.ove.openmath.jome.ctrlview.bidim.*;
5 import fr.ove.openmath.jome.model.FormulaTreeStructure;
6
7 /***
8 * This class instanciates the right display according to the specified formula
9 * tree sturcture.
10 * This is an abstract class. It must be inherited to be specialized.
11 *
12 * @author © 1999 DIRAT Laurent
13 * @version 2.0 01/07/1999
14 */
15
16 public abstract class DisplayAllocator implements Serializable {
17 /***
18 * Instanciates and creates the right display according to the specified
19 * formula tree structure.
20 * @param fts the formula tree structure which need a display.
21 */
22 public abstract Display allocateDisplay(GraphicContext graphicContext, FormulaTreeStructure fts);
23 }