Package org.oddjob.designer
This package contains classes for the GUI
Oddjob configuration tool.
See:
Description
|
Class Summary |
| Looks |
Provide some components and dimensions with a standard look and feel. |
Package org.oddjob.designer Description
This package contains classes for the GUI
Oddjob configuration tool.
To write a configuration for a component:
- Subclass DesignComponent or one of it's
subclasses.
- Add a getter and setter for each property.
The type of the property should be a subclass of
DesignElement.
- Implement the form() method.
To write a configuration for a component that
supports children.
- Subclass StrcturalDC.
- Ensure there is either an addComponentElement()
or addComponent() as per the job class.
- Ensure the availableActions() method returns
an appropriate action for adding or setting
a child.
- Supply either an elementElement() method
or an elements() method.
To write a configuration for a property of
a component subclass one of thse subclasses of
org.oddjob.designer.model.DesignElement
- SimpleAttribute if the property can only
ever be set using an attriute.
- DesignElementType if type an be created
using a factory.
- DesignElementAttribute if the type can be
created using a factory but can also provide the
configuration of a component. i.e. it represents a
property proxy
To write a configuration for a component or an element
that supports inline elements other than inline
properties (i.e. the corresponding class has
addConfiguredElement() or addElement() methods.
- Override the supportedTypes() method.
- Override the createType() method.
- Supply an elements() method which uses elementWrappers()
method to return the child elements.