Project Notes
Project: Open Tools: Designers
Author: JBuilder Team
Company: borland.com
Description:
Examples for writing Designers in JBuilder. These samples complement the online
documentation for writing Designers.
Notes:
- Compile this project and exit JBuilder.
- Update the classpath include the outpath to this project (e.g., samples/OpenTools/designer/classes)
- Verify that a (outpath dirName).opentools file exists that lists the opentools that the directory contains.
This file needs to be located in the parent directory of the outpath. For instance,
if you use this projects default settings, the outpath of designer/classes implies that
there should be a classes.opentools file in the designer directory.
- Restart JBuilder, edit a java file, and select the design tab. You should see the Output Log come up.
Overview of Files
- DesignerModel - sample model for the sample designers' tree.
- DesignerModelNode - sample node for the sample designers' tree.
- DesignerStep1 - shows the basics of how the annotate() method a Designer
works, and, for your edification, displays all calls into the designer
in an OutputLog window.
- DesignerStep2 - introduces the concept of a custom container type (SampleDesignerContainer).
- DesignerStep3 - introduces the concept of a known component type(s).
- SampleDesignerComponent - sample class for a designable (non-UI) component.
- SampleDesignerContainer - sample base class for a designable (non-UI) container.
- SampleDesignerContainer1 - sample of your under-design subclass of the container.