use of org.eclipse.sapphire.modeling.xml.XmlPath in project liferay-ide by liferay.
the class QNameValueBinding method init.
/**
* (non-Javadoc)
*
* @see org.eclipse.sapphire.modeling.PropertyBinding#init(org.eclipse.sapphire.
* modeling.Element, org.eclipse.sapphire.modeling.Property,
* java.lang.String[])
*/
@Override
public void init(Property property) {
super.init(property);
this.params = property.definition().getAnnotation(CustomXmlValueBinding.class).params();
this.path = new XmlPath(params[0], resource().getXmlNamespaceResolver());
}
use of org.eclipse.sapphire.modeling.xml.XmlPath in project liferay-ide by liferay.
the class QNamespaceValueBinding method init.
/**
* (non-Javadoc)
*
* @see org.eclipse.sapphire.modeling.PropertyBinding#init(org.eclipse.sapphire.
* modeling.Element, org.eclipse.sapphire.modeling.Property,
* java.lang.String[])
*/
@Override
public void init(Property property) {
super.init(property);
this.params = property.definition().getAnnotation(CustomXmlValueBinding.class).params();
this.path = new XmlPath(params[0], resource().getXmlNamespaceResolver());
}
use of org.eclipse.sapphire.modeling.xml.XmlPath 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());
}
use of org.eclipse.sapphire.modeling.xml.XmlPath in project liferay-ide by liferay.
the class ChoiceValueBinding method init.
/**
* (non-Javadoc)
*
* @see org.eclipse.sapphire.modeling.BindingImpl#init(org.eclipse.sapphire.modeling.
* IModelElement, org.eclipse.sapphire.modeling.ModelProperty,
* java.lang.String[])
*/
@Override
public void init(Property property) {
super.init(property);
this.params = property.definition().getAnnotation(CustomXmlValueBinding.class).params();
this.path = new XmlPath(params[0], resource().getXmlNamespaceResolver());
}
use of org.eclipse.sapphire.modeling.xml.XmlPath in project liferay-ide by liferay.
the class NameAndQNameChoiceValueBinding method init.
/**
* (non-Javadoc)
*
* @see org.eclipse.sapphire.modeling.PropertyBinding#init(org.eclipse.sapphire.
* modeling.Element, org.eclipse.sapphire.modeling.Property,
* java.lang.String[])
*/
@Override
public void init(Property property) {
super.init(property);
this.params = property.definition().getAnnotation(CustomXmlValueBinding.class).params();
this.path = new XmlPath(params[0], resource().getXmlNamespaceResolver());
}
Aggregations