Re: Stop Electric
Steven Rubin <[email protected]> Thu, 17 Feb 2005 19:27:58 -0800
| Newsgroups | gmane.comp.cad.electric.general |
|---|---|
| Message-ID | <[email protected]> |
At 01:17 AM 2/17/2005, you wrote:
>Hello,
> How stop Electric, what class or method shoud be
>called to quit electric?
Look in the code that implements the "Quit" command. It is in
"FileMenu.java" (because the "Quit" command is under the "File" menu). You
will see that the code checks for unsaved libraries before exiting the
application.
>What the method that permit to manopulate the draw window
>(the frame or the canvas)?
>How manipulate the cell window?
This is a much larger question, and one that simply cannot be addressed in
EMail. The class that draws windows is EditWindow, and the class that
actually fills the window from the circuitry is PixelDrawing. In general,
the best way to learn the code of Electric is to generate the JavaDoc from
the sources. Good luck!
-Steven Rubin