|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentDesignerExtension
A meta data object that is generated based on the contents of xsp-config.xml. The information contained in this object is used by Domino Designer to build tooling around the XPages component that this object describes.
DesignerExtensionUtil
Method Summary | |
---|---|
java.lang.String |
getCategoryId()
Internally designer would use this to place the component in the proper category (by using this value as an id of a pre-existing category). |
java.lang.String |
getRenderMarkup()
Some markup used by design to render the control instead of the regular rendering. |
java.lang.String |
getSelectedEvent()
The name of this component's event FacesProperty that is selected by default in designer. |
boolean |
isDeprecated()
To display a warning in the Problems view when this deprecated control is used in an XPage. |
boolean |
isGenerateId()
Some controls should not automatically generate an id. |
boolean |
isInPalette()
Whether the component or composite-component should appear in the component palette. |
boolean |
isVisible()
Whether the component should appear nested within it's container in designer. |
Methods inherited from interface com.ibm.designer.domino.xsp.registry.DesignerExtension |
---|
getDescription, getDisplayName, getIcon |
Method Detail |
---|
java.lang.String getCategoryId()
This is an unlocalizable string that may be null.
java.lang.String getSelectedEvent()
PropertyDesignerExtension
where PropertyDesignerExtension.isEvent()
returns true
.
boolean isVisible()
boolean isInPalette()
true
if not set.
boolean isGenerateId()
isGenerateId()
is false, the id is
not normally required and adding it just leads to clutter in the Source
view of the .xsp file.
java.lang.String getRenderMarkup()
The value is expected to correspond a chunk of xsp that will be used by
designer to render the control at design time. Any valid XSP tag can be
used, including references to images.
Moreover, the markup can contain JavaScript snippets, wrapped within <%
and %> pseudo tag. These snippets will be executed before the markup is
rendered and can generate any markup. For example, the javaScript code
can evaluate property values, or loop against component properties. The
JavaScript context gives access to the components design time properties
through the 'this' keywords.
No validation is performed on the string to verify that it is xsp, nor that the JavaScript is valid.
boolean isDeprecated()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |