public class NewItemsWizardPage extends AbstractNewItemWizardPage
| Modifier and Type | Field and Description |
|---|---|
protected static String |
WIZARD_GROUP_CONTAINER |
protected static String |
WIZARD_GROUP_EDITOR_CONTAINER |
protected static String |
WIZARD_GROUP_ROW_LABEL |
ERROR_SCLASS_ELEMENT_BOX_EDITOR, ERROR_SCLASS_WIZARD_CNT, errorContainer, pageContainer, pageContent, SCLASS_ELEMENT_BOX_EDITOR, WIZARD_ERROR_CNT_SCLASS, WIZARD_PAGE_CNT_SCLASS, WIZARD_PAGE_CONTENT_CNT_SCLASSheight, title, width, wizard| Constructor and Description |
|---|
NewItemsWizardPage() |
| Modifier and Type | Method and Description |
|---|---|
Component |
createContent(WizardPage page,
WizardPageController controller)
This is an general method responsible for creating UI representation of given page
Note:
Here we should create graphical representation of particular page |
protected Component |
createGroupRow(Component parent,
PropertyDescriptor descriptor,
String editorCode,
boolean error,
Map<String,Object> params)
Creates one single row for group on that page.
|
protected void |
createGroupSectionContent(HtmlBasedComponent group,
Collection<String> alreadyDisplayedProperties,
Collection<String> displayedDescriptors,
WizardConfiguration wizardConfiguration)
Creates a group content accordingly to given parameters
|
protected List<String> |
extractPropertyQualifiers(List<PropertyDescriptor> propertyDescriptors) |
WizardPageController |
getController() |
protected String |
getDescriptorLabel(PropertyDescriptor descriptor,
Map<String,Object> params) |
List<String> |
getDisplayedAttributes() |
List<PropertyDescriptor> |
getRequiredPropertyDescriptors() |
protected UIConfigurationService |
getUIConfigurationService() |
AbstractNewItemsWizard |
getWizard() |
protected WizardConfiguration |
getWizardConfiguration() |
protected String |
getWizardConfigurationCode() |
protected String |
getWizardConfigurationType() |
boolean |
isDisableAutoPersist() |
protected boolean |
isRequiredProperty(PropertyDescriptor descriptor,
WizardConfiguration wizardConfig) |
protected void |
loadInitConfigValues(PropertyDescriptor descriptor,
WizardConfiguration wizardConfig)
Method loads initial values that can be defined within
WizardConfiguration
|
protected void |
render(HtmlBasedComponent parent)
Main method that is used for render whole page's content (i.e.
|
void |
setDisableAutoPersist(boolean disableAutoPersist) |
void |
setWizardConfigurationCode(String wizardConfigurationCode) |
void |
setWizardConfigurationType(String wizardConfigurationType) |
clearPageComponents, getCockpitTypeService, getErrorContainer, getModelService, getNextPageWizardId, getPageContainer, getPageContent, getSystemService, handleMessages, isCauseError, setCockpitTypeService, setDisplayedAttributes, setModelService, setNextPageWizardId, setSystemServicegetAttributes, getComponentURI, getCurrentController, getHeight, getId, getPageComponent, getTitle, getWidth, initView, renderView, setComponentURI, setController, setId, setPageComponent, setTitle, setWizardprotected static final String WIZARD_GROUP_CONTAINER
protected static final String WIZARD_GROUP_EDITOR_CONTAINER
protected static final String WIZARD_GROUP_ROW_LABEL
protected String getWizardConfigurationType()
public void setWizardConfigurationType(String wizardConfigurationType)
protected String getWizardConfigurationCode()
public void setWizardConfigurationCode(String wizardConfigurationCode)
public boolean isDisableAutoPersist()
public void setDisableAutoPersist(boolean disableAutoPersist)
public AbstractNewItemsWizard getWizard()
getWizard in class DefaultPagepublic WizardPageController getController()
getController in interface WizardPagegetController in class DefaultPagepublic Component createContent(WizardPage page, WizardPageController controller)
AbstractNewItemWizardPagecreateContent in class AbstractNewItemWizardPageprotected void render(HtmlBasedComponent parent)
WizardConfiguration)
parent - component org.zkoss.zk.ui.HtmlBasedComponentprotected void createGroupSectionContent(HtmlBasedComponent group,
Collection<String> alreadyDisplayedProperties,
Collection<String> displayedDescriptors,
WizardConfiguration wizardConfiguration)
group - parent @{link org.zkoss.zk.ui.HtmlBasedComponentalreadyDisplayedProperties - properties already displayeddisplayedDescriptors - properties that should be displayed for that groupwizardConfiguration - wizard configurationprotected void loadInitConfigValues(PropertyDescriptor descriptor, WizardConfiguration wizardConfig)
WizardConfiguration
descriptor - property descriptorwizardConfig - current wizard configurationprotected Component createGroupRow(Component parent,
PropertyDescriptor descriptor,
String editorCode,
boolean error,
Map<String,Object> params)
parent - parent component org.zkoss.zk.ui.HtmlBasedComponentdescriptor - property descriptor for which editor should be displayededitorCode - editor code that should be used for displaying given propertieserror - is this property causing errorparams - configuration parametersprotected String getDescriptorLabel(PropertyDescriptor descriptor, Map<String,Object> params)
protected List<String> extractPropertyQualifiers(List<PropertyDescriptor> propertyDescriptors)
public List<String> getDisplayedAttributes()
getDisplayedAttributes in class AbstractNewItemWizardPageprotected UIConfigurationService getUIConfigurationService()
protected WizardConfiguration getWizardConfiguration()
public List<PropertyDescriptor> getRequiredPropertyDescriptors()
protected boolean isRequiredProperty(PropertyDescriptor descriptor, WizardConfiguration wizardConfig)
Copyright © 2017 SAP SE. All Rights Reserved.