|Add a new TextContainer [message #528680]
||Wed, 21 April 2010 13:16
Registered: April 2010
I have the following problem. I have a model which is composed by tree sections: the header section(just Text), a text container section(Several text rows) and a box container(contain several objects of my model object).
Now I need to add a new text container section. I added it to the model:
textContainer = new TextContainer(this);
getListeners().firePropertyChange(PROPERTY_ADD, null, textContainer);
boxContainer = new BoxContainer(this);
getListeners().firePropertyChange(PROPERTY_ADD, null, boxContainer);
variantContainer = new TextContainer(this);
getListeners().firePropertyChange(PROPERTY_ADD, null, variantContainer);
But It does not appear in the figure, Why? Should I add something to the modelPart?, what?
Please, I hope someone can help me!
Thank you in advance!
Powered by FUDForum
. Page generated in 0.06318 seconds