Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] (no subject)

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


_________________________________________________________________




Back to the top