Examples of TagModel


Examples of org.openstreetmap.josm.gui.tagging.TagModel

            pnlTagEditor.getModel().updateTagValue(tag, value);
        }
    }

    protected String getTagEditorValue(String key) {
        TagModel tag = pnlTagEditor.getModel().get(key);
        if (tag == null) return null;
        return tag.getValue();
    }
View Full Code Here

Examples of org.richfaces.cdk.model.TagModel

            // log.error("No short defined for taglib");
        }
        // Verify tags. If we have renderer-specific component, it should have a tag ?
        for (ComponentModel component : library.getComponents()) {
            if (null != component.getRendererType() && component.getTags().isEmpty()) {
                TagModel tag = new TagModel();
                verifyTag(tag, component.getId(), DEFAULT_COMPONENT_HANDLER);
                component.getTags().add(tag);
            }
        }
    }
View Full Code Here

Examples of org.richfaces.cdk.model.TagModel

                if (null == component.getFamily()) {
                    component.setFamily(namingConventions.inferUIComponentFamily(component.getId()));
                }
                // add facelet tag if missing
                if (component.getTags().isEmpty()) {
                    TagModel tag = new TagModel();
                    component.getTags().add(tag);
                    tag.setName(namingConventions.inferTagName(component.getId()));
                    tag.setGenerate(false);
                    tag.setType(TagType.Facelets);
                }
            } catch (RuntimeException e) {
                throw new CdkException("Caught error when verifying component " + component, e);
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.