Search in sources :

Example 1 with YTypedPropertyImpl

use of org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YTypedPropertyImpl in project sts4 by spring-projects.

the class SchemaSupport method addProp.

protected YTypedPropertyImpl addProp(AbstractType superType, AbstractType bean, String name, YType type) {
    YTypedPropertyImpl p = prop(superType, name, type);
    bean.addProperty(p);
    return p;
}
Also used : YTypedPropertyImpl(org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YTypedPropertyImpl)

Example 2 with YTypedPropertyImpl

use of org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YTypedPropertyImpl in project sts4 by spring-projects.

the class SchemaSupport method prop.

protected YTypedPropertyImpl prop(AbstractType beanType, String name, YType type) {
    YTypedPropertyImpl prop = f.yprop(name, type);
    prop.setDescriptionProvider(descriptionFor(beanType, name));
    return prop;
}
Also used : YTypedPropertyImpl(org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YTypedPropertyImpl)

Example 3 with YTypedPropertyImpl

use of org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YTypedPropertyImpl in project sts4 by spring-projects.

the class PipelineYmlSchema method prop.

private YTypedPropertyImpl prop(AbstractType beanType, String name, YType type) {
    YTypedPropertyImpl prop = f.yprop(name, type);
    prop.setDescriptionProvider(descriptionFor(beanType, name));
    return prop;
}
Also used : YTypedPropertyImpl(org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YTypedPropertyImpl)

Example 4 with YTypedPropertyImpl

use of org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YTypedPropertyImpl in project sts4 by spring-projects.

the class PipelineYmlSchema method addProp.

private YTypedPropertyImpl addProp(AbstractType superType, AbstractType bean, String name, YType type) {
    YTypedPropertyImpl p = prop(superType, name, type);
    bean.addProperty(p);
    return p;
}
Also used : YTypedPropertyImpl(org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YTypedPropertyImpl)

Aggregations

YTypedPropertyImpl (org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YTypedPropertyImpl)4