File Save
- This dialog enables you to save the library element in the
current FBEditor tab in any of the following formats:
- XML: Saves the current
library element in an IEC 61499 XML encoded file.
- Java: Saves the current
library element as a *.java file and compiles it to a *.class
file in the same directory. Following compilation, a dialog box will
open displaying the results of the compilation and the *.java
source file with correspondingly numbered lines.
- HTML: Saves the current
library element as an HTML file containing skeleton documentation for
the element, including an applet for viewing an XML file containing
the library element. The size of the applet frame will be the same as
the current size of the FBEditor frame.
- PNG: Saves the contents of
the Worksheet as a *.png file in Portable Network Graphics
(PNG) format. The size of the PNG image is trimmed to that required to
display all of the graphic elements in the Worksheet, which may be
larger or smaller than the size of the Viewport.
- The directory in which the files are saved is determined by
the package name. For instance, if the FBDK is located in the C:\fbdk
directory:
- the XML file of the element shown above would be stored as C:\fbdk\src\mach\LOAD_CTL.fbt;
- the HTML file would be stored as C:\fbdk\src\mach\LOAD_CTL.htm;
- the Java™ file would be stored as C:\fbdk\lib\fb\rt\mach\LOAD_CTL.java;
- the class file would be stored as C:\fbdk\lib\fb\rt\mach\LOAD_CTL.class;
and
- the Worksheet contents would be saved as C:\fbdk\images\fb\rt\mach\LOAD_CTL.png.
- If a file is already saved with the given library element
name, e.g., myFBType.java, it is copied into a backup file,
e.g., myFBType.baknn, where nn is the lowest
available number in the sequence {00..99}. If all the backup numbers in the sequence 00..99
are occupied, no backup will be made, so it is a good idea to purge
backed up files from time to time.
Last updated: 2008-10-02.
©2006, 2008 Holobloc
Inc
All rights reserved.
Java and JDK are trademarks or
registered trademarks of Sun Microsystems, Inc. in the United States and
other countries.