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