Search in sources :

Example 1 with XmlBinding

use of org.eclipse.sapphire.modeling.xml.annotations.XmlBinding in project liferay-ide by liferay.

the class CDataValueBindingImpl method init.

@Override
public void init(Property property) {
    super.init(property);
    PropertyDef propertyDef = property.definition();
    XmlBinding bindingAnnotation = propertyDef.getAnnotation(XmlBinding.class);
    _path = new XmlPath(bindingAnnotation.path(), resource().getXmlNamespaceResolver());
}
Also used : XmlPath(org.eclipse.sapphire.modeling.xml.XmlPath) PropertyDef(org.eclipse.sapphire.PropertyDef) XmlBinding(org.eclipse.sapphire.modeling.xml.annotations.XmlBinding)

Example 2 with XmlBinding

use of org.eclipse.sapphire.modeling.xml.annotations.XmlBinding in project liferay-ide by liferay.

the class CDATAValueBinding method init.

@Override
public void init(Property property) {
    super.init(property);
    final XmlBinding bindingAnnotation = property.definition().getAnnotation(XmlBinding.class);
    this.path = new XmlPath(bindingAnnotation.path(), resource().getXmlNamespaceResolver());
}
Also used : XmlPath(org.eclipse.sapphire.modeling.xml.XmlPath) XmlBinding(org.eclipse.sapphire.modeling.xml.annotations.XmlBinding)

Aggregations

XmlPath (org.eclipse.sapphire.modeling.xml.XmlPath)2 XmlBinding (org.eclipse.sapphire.modeling.xml.annotations.XmlBinding)2 PropertyDef (org.eclipse.sapphire.PropertyDef)1