|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.validators.AbstractSemanticValidator
org.eclipse.birt.report.model.validators.AbstractElementValidator
org.eclipse.birt.report.model.api.validators.MasterPageContextContainmentValidator
public class MasterPageContextContainmentValidator
Validates the table/list is not allowed to appear in header/footer/contents slot of master page in any level.
MasterPage currently.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.birt.report.model.validators.AbstractSemanticValidator |
|---|
modules, name |
| Constructor Summary | |
|---|---|
MasterPageContextContainmentValidator()
|
|
| Method Summary | |
|---|---|
static MasterPageContextContainmentValidator |
getInstance()
Returns the singleton validator instance. |
java.util.List |
validate(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Validates whether the given element can recursively resides in the specific slot of specific container type. |
java.util.List |
validateForAdding(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.ContainerContext containerInfo,
org.eclipse.birt.report.model.core.DesignElement toAdd)
Validates whether the given element can recursively resides in the specific slot of specific container type when trying to add an element. |
java.util.List |
validateForAdding(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element,
IElementDefn toAdd)
Validates whether the given element can recursively resides in the specific slot of specific container type when trying to add an element. |
java.util.List |
validateForAdding(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element,
int slotId,
org.eclipse.birt.report.model.core.DesignElement toAdd)
Deprecated. since birt2.2, replaced by validateForAdding(Module, ContainerContext, DesignElement) |
| Methods inherited from class org.eclipse.birt.report.model.validators.AbstractSemanticValidator |
|---|
canApplyToDesign, canApplyToLibrary, getName, isInTemplateParameterDefinitionSlot, setModules, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MasterPageContextContainmentValidator()
| Method Detail |
|---|
public static MasterPageContextContainmentValidator getInstance()
public java.util.List validate(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
validate in class org.eclipse.birt.report.model.validators.AbstractElementValidatormodule - the moduleelement - the element to validate
SemanticException.
public java.util.List validateForAdding(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.ContainerContext containerInfo,
org.eclipse.birt.report.model.core.DesignElement toAdd)
module - the modulecontainerInfo - the container informationtoAdd - the element to add
SemanticException.
public java.util.List validateForAdding(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element,
int slotId,
org.eclipse.birt.report.model.core.DesignElement toAdd)
validateForAdding(Module, ContainerContext, DesignElement)
module - the moduleelement - the container elementslotId - the slot where the new element to inserttoAdd - the element to add
SemanticException.
public java.util.List validateForAdding(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element,
IElementDefn toAdd)
module - the root module of the element to validateelement - the container elementtoAdd - the element definition to add
SemanticException.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||