2c2 < * @(#)TextAreaFigure.java --- > * @(#)TextHolderContentProducer.java 32c32 < * @version 1.0 --- > * @version <$CURRENT_VERSION$> 34d33 < 37d35 < TextHolder fFigure; 38a37 > private TextHolder myTextHolder; 40c39,41 < /**Constructor for the TextAreaFigureContentProducer object */ --- > /** > * Constructor for the TextAreaFigureContentProducer object > */ 43d43 < 50c50 < fFigure = figure; --- > setTextHolder(figure); 53d52 < 65c64 < TextHolder figure = (fFigure != null) ? fFigure : (TextHolder)ctxAttrValue; --- > TextHolder figure = (getTextHolder() != null) ? getTextHolder() : (TextHolder)ctxAttrValue; 70d68 < 78c76 < dw.writeStorable((Figure)fFigure); --- > dw.writeStorable(getTextHolder().getRepresentingFigure()); 81d78 < 88,89c85 < public void read(StorableInput dr) < throws IOException { --- > public void read(StorableInput dr) throws IOException { 91c87,95 < fFigure = (TextHolder)dr.readStorable(); --- > setTextHolder((TextHolder)dr.readStorable()); > } > > protected TextHolder getTextHolder() { > return myTextHolder; > } > > public void setTextHolder(TextHolder newFigure) { > myTextHolder = newFigure;