Package com.adito.properties

Examples of com.adito.properties.PropertyItemImpl


                            pf.setSelectedTab("category." + def.getId());
                        }
                        // TODO needs to more be efficient
                        for (PropertyDefinition propDef : propertyClass.getDefinitions()) {
                            if (!propDef.isHidden() && propDef.getCategory() == def.getId()) {
                                propertyItemImpls.add(new PropertyItemImpl(request, propDef, Property.getProperty(createKey(
                                    propDef, pf))));
                            }
                        }

                    }
View Full Code Here


            }

            for (PropertyDefinition propertyDefinition : propertyClass.getDefinitions()) {
                if (!propertyDefinition.isHidden() && propertyDefinition.getCategory() == pf.getSelectedCategory()) {
                    if (includePropertyDefinition(propertyDefinition, request)) {
                        propertyItemImpls.add(pf.retrieveItem(propertyDefinition.getName(), new PropertyItemImpl(request,
                                        propertyDefinition, Property.getProperty(createKey(propertyDefinition, pf, sessionInfo)))));
                    }
                }
            }
            pf.setParentCategory(parentCategory);
View Full Code Here

    public int getSelectedCategory() {
        return selectedCategory;
    }

    public PropertyItemImpl retrieveItem(String name, PropertyItemImpl defaultValue) {
        PropertyItemImpl val = (PropertyItemImpl) store.get(name);
        return val == null ? defaultValue : val;
    }
View Full Code Here

TOP

Related Classes of com.adito.properties.PropertyItemImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.