[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- From: "Alexander Deyto" <albrenbdeyto@xxxxxxxxxxx>
- Date: Tue, 15 Apr 2003 02:36:10 +0000
- Delivered-to: gef-dev@eclipse.org
Hi,
Please answer the following questions.
1. It seems to be able to make model class right, I have to declare all
possible properties of AWT component in its corresponding model class. Is
this the right thing to do?
2. How can I save and restore these property settings in/from XML file?
3. Can I replace Figure with AWT component? Pls see the sample EditPart's
sample code.
protected IFigure createFigure() {
Frame frame = new Frame();
//do some settings.
return (Figure)frame; //can I do this? Is this right?
}
Thanks for your fast response.
Sincerely,
Albren
_________________________________________________________________