Databases Reference
In-Depth Information
Condition
The Condition section is different than standard Condition sections for APEX objects. It determines the
dependency for the current attribute with respect to other attributes for the plug-in. For example,
suppose you had a plug-in that drew shapes and had the following attributes:
Shape(square, circle)
Length
Width
Radius
You would not want the Radius attribute to be displayed when the shape is a square. Instead you
would conditionally display the Length, Width, and Radius attributes depending on the type of shape.
Figure 2-23shows the Condition section for the Radius attribute.
Figure 2-23. Custom attribute: Condition
Depending on : This is the element that the current attribute is dependent on. In
the example, it was Shape.
Condition Type : The condition determines how to evaluate against the
“Depending on” value.
Expression : The value to compare against. If “in list” or “not in list” is selected,
the expression must be a comma-separated list. The expression value is case-
sensitive.
Help Text (for the Custom Attribute)
The Help Text section for a custom attribute allows you to provide some additional information for
developers that are leveraging the plug-in. This text will never be displayed to end users, just developers.
Like all other APEX help text, developers need to click the attribute label to see the help text. HTML code
is allowed in the help text.
Files
The Files section allows you to include third-party files with your plug-in, as shown in Figure 2-24. If files
are stored in the Files section, #PLUGIN_PREFIX# should be used as the File Prefix, as shown in Figure 2-7.
 
Search WWH ::




Custom Search