Class GenericItemWizard

    • Field Detail

      • FORCE_CREATE_IN_WIZARD

        public static final java.lang.String FORCE_CREATE_IN_WIZARD
        See Also:
        Constant Field Values
      • FORCE_CREATE_IN_EDITOR

        public static final java.lang.String FORCE_CREATE_IN_EDITOR
        See Also:
        Constant Field Values
      • FORCE_CREATE_IN_POPUP

        public static final java.lang.String FORCE_CREATE_IN_POPUP
        See Also:
        Constant Field Values
      • parent

        protected org.zkoss.zk.ui.Component parent
      • containerBox

        protected org.zkoss.zul.Vbox containerBox
      • showPrefilledValues

        protected boolean showPrefilledValues
      • createMode

        protected boolean createMode
      • parameters

        protected java.util.Map<java.lang.String,​? extends java.lang.Object> parameters
    • Constructor Detail

      • GenericItemWizard

        public GenericItemWizard()
    • Method Detail

      • getCurrentStringType

        public java.lang.String getCurrentStringType()
      • setCurrentStringType

        public void setCurrentStringType​(java.lang.String currentStringType)
      • setWizardConfiguration

        public void setWizardConfiguration​(WizardConfiguration wizardConfiguration)
      • getParameters

        public java.util.Map<java.lang.String,​? extends java.lang.Object> getParameters()
      • setParameters

        public void setParameters​(java.util.Map<java.lang.String,​? extends java.lang.Object> parameters)
      • isCreateMode

        public boolean isCreateMode()
      • setCreateMode

        public void setCreateMode​(boolean createMode)
      • getBrowserModel

        public BrowserModel getBrowserModel()
        Returns:
        the browserModel
      • setBrowserModel

        public void setBrowserModel​(BrowserModel browserModel)
        Parameters:
        browserModel - the browserModel to set
      • isShowPrefilledValues

        public boolean isShowPrefilledValues()
        Returns:
        the showPrefilledValues
      • setShowPrefilledValues

        public void setShowPrefilledValues​(boolean showPrefilledValues)
        Parameters:
        showPrefilledValues - the showPrefilledValues to set
      • getPredefinedValues

        public java.util.Map<java.lang.String,​java.lang.Object> getPredefinedValues()
        Returns:
        the predefinedValues
      • loadDefaultValues

        public void loadDefaultValues()
      • getObjectValueContainer

        public ObjectValueContainer getObjectValueContainer()
        Returns:
        the objectValueContainer
      • getCurrentType

        public ObjectType getCurrentType()
        Returns:
        the currentType
      • getCurrentTypeEmptyModel

        public TypedObject getCurrentTypeEmptyModel()
      • setCurrentType

        public void setCurrentType​(ObjectType currentType)
        Parameters:
        currentType - the currentType to set
      • setParent

        public void setParent​(org.zkoss.zk.ui.Component parent)
      • createFrameComponent

        protected org.zkoss.zul.Window createFrameComponent​(java.lang.String uri)
        Overrides:
        createFrameComponent in class Wizard
      • getLoadLanguages

        public java.util.Set<java.lang.String> getLoadLanguages()
      • initialize

        public void initialize​(ObjectType currentType,
                               java.util.Map<java.lang.String,​java.lang.Object> predefinedValues)
      • initialize

        public void initialize​(java.util.Map<java.lang.String,​java.lang.Object> predefinedValues)
      • addPredefinedValue

        public void addPredefinedValue​(java.lang.String key,
                                       java.lang.Object value)
      • clearPredefinedValues

        public void clearPredefinedValues()
      • setPredefinedValues

        public void setPredefinedValues​(java.util.Map<java.lang.String,​java.lang.Object> predefinedValues)
      • loadAndFilter

        public void loadAndFilter()
      • show

        public void show()
        Description copied from class: Wizard
        Showing current wizard
        Overrides:
        show in class Wizard
      • setValue

        public void setValue​(PropertyDescriptor descriptor,
                             java.lang.Object value)
      • doDone

        public void doDone()
        Overrides:
        doDone in class Wizard
      • evaluateScript

        protected void evaluateScript()
      • addWizardScriptStrategy

        public void addWizardScriptStrategy​(java.lang.String scriptLnaguage,
                                            WizardScriptStrategy wizardScriptStrategy)
      • removeWizardScriptStrategy

        public void removeWizardScriptStrategy​(java.lang.String scriptLnaguage)
      • initializeScripStrategies

        protected void initializeScripStrategies()
      • getContext

        public java.util.Map<java.lang.String,​java.lang.Object> getContext()
      • addContextInformation

        public void addContextInformation​(java.lang.String information,
                                          java.lang.Object value)
      • setAllowCreate

        public void setAllowCreate​(boolean allowCreate)
      • isAllowCreate

        public boolean isAllowCreate()
      • setAllowSelect

        public void setAllowSelect​(boolean allowSelect)
      • isAllowSelect

        public boolean isAllowSelect()