public class TemplateParameterDefinitionHandle extends ReportElementHandle implements org.eclipse.birt.report.model.elements.interfaces.ITemplateParameterDefinitionModel
element
module
ALLOWED_TYPE_PROP, DEFAULT_SLOT, DESCRIPTION_ID_PROP, DESCRIPTION_PROP, NAME_PROP, SLOT_COUNT
COMMENTS_PROP, CUSTOM_XML_PROP, DISPLAY_NAME_ID_PROP, DISPLAY_NAME_PROP, EVENT_HANDLER_CLASS_PROP, EXTENDS_PROP, FULL_LABEL, ID_SUFFIX, NAME_PROP, NEW_HANDLER_ON_EACH_EVENT_PROP, NO_SLOT, PROPERTY_MASKS_PROP, REF_TEMPLATE_PARAMETER_PROP, SHORT_LABEL, USER_LABEL, USER_PROPERTIES_PROP, VIEW_ACTION_PROP
Constructor and Description |
---|
TemplateParameterDefinitionHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Constructs a handle for the given design and design element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAllowedType()
Gets allowed type of the template parameter definition.
|
DesignElementHandle |
getDefaultElement()
Gets the default element of this template parameter definition.
|
java.lang.String |
getDescription()
Returns the static description for the template parameter definition.
|
java.lang.String |
getDescriptionKey()
Returns the resource key of the static description of the template
parameter definition.
|
java.lang.String |
getDisplayDescription()
Returns the localized description for the template parameter definition.
|
void |
setAllowedType(java.lang.String type)
Sets the allowed type of the template parameter definition.
|
void |
setDescription(java.lang.String description)
Sets the description of the template parameter definition.
|
void |
setDescriptionKey(java.lang.String resourceKey)
Sets the resource key of the static description of the template parameter
definition.
|
getComments, getCustomXml, getDisplayName, getDisplayNameKey, getElement, getPropertyMask, isValidLayoutForCompoundElement, isValidReferenceForCompoundElement, propertyMaskIterator, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setPropertyMask
add, add, addElement, addElement, addListener, addUserPropertyDefn, cachePropertyHandles, canContain, canContain, canContain, canContain, canDrop, canEdit, canTransformToTemplate, clearAllProperties, clearContents, clearProperty, clientsIterator, copy, copyPropertyTo, createTemplateElement, derivedIterator, doSort, drop, drop, drop, dropAndClear, dropAndClear, dropAndClear, dropUserPropertyDefn, findContentSlot, getBooleanProperty, getChoices, getColorProperty, getContainer, getContainerPropertyHandle, getContainerSlotHandle, getContent, getContentCount, getContents, getDefn, getDesign, getDesignHandle, getDimensionProperty, getDisplayLabel, getDisplayLabel, getDisplayProperty, getEffectiveModule, getElementFactory, getElementProperty, getEventHandlerClass, getExpressionProperty, getExtends, getExternalizedValue, getExternalizedValue, getFactoryElementHandle, getFactoryPropertyHandle, getFloatProperty, getFontProperty, getFullName, getHostViewHandle, getID, getIndex, getIntProperty, getListProperty, getListProperty, getMethods, getModule, getModuleHandle, getName, getNumberProperty, getPrivateStyle, getProperty, getPropertyBinding, getPropertyBindingExpression, getPropertyBindings, getPropertyDefn, getPropertyHandle, getPropertyIterator, getQualifiedName, getRoot, getSemanticErrors, getSlot, getStringProperty, getStyle, getUserProperties, getUserPropertyDefnHandle, getXPath, hasLocalProperties, hasSemanticError, initializeSlotHandles, isDirectionRTL, isInTemplateParameter, isTemplateParameterValue, isValid, localize, move, move, moveTo, moveTo, moveTo, moveTo, newHandlerOnEachEvent, paste, paste, paste, paste, removeListener, revertToReportItem, revertToTemplate, semanticCheck, setBooleanProperty, setEncryption, setEventHandlerClass, setExpressionProperty, setExtends, setExtendsElement, setExtendsName, setFloatProperty, setIntProperty, setName, setNewHandlerOnEachEvent, setNumberProperty, setProperties, setProperty, setPropertyBinding, setPropertyBinding, setStringProperty, setStyle, setStyleElement, setStyleName, setValid, shift, showError, slotsIterator
public TemplateParameterDefinitionHandle(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
module
- the moduleelement
- the model representation of the elementpublic java.lang.String getAllowedType()
public void setAllowedType(java.lang.String type) throws SemanticException
type
- the type to setSemanticException
- if the property is lockedpublic java.lang.String getDescription()
public java.lang.String getDisplayDescription()
public void setDescription(java.lang.String description) throws SemanticException
description
- the new description for the template parameter definitionSemanticException
- if the property is locked.public java.lang.String getDescriptionKey()
public void setDescriptionKey(java.lang.String resourceKey) throws SemanticException
resourceKey
- the resource key of the static descriptionSemanticException
- if the property is locked.public DesignElementHandle getDefaultElement()
Copyright © 2014 OpenText Corp. All rights reserved.