use of com.sldeditor.common.vendoroption.minversion.VendorOptionPresent in project sldeditor by robward-scisys.
the class VOGeoServerFTSComposite method getMinimumVersion.
/*
* (non-Javadoc)
*
* @see com.sldeditor.ui.iface.PopulateDetailsInterface#getMinimumVersion(java.lang.Object,
* java.util.List)
*/
@Override
public void getMinimumVersion(Object parentObj, Object sldObj, List<VendorOptionPresent> vendorOptionsPresentList) {
if (sldObj instanceof FeatureTypeStyle) {
FeatureTypeStyle fts = (FeatureTypeStyle) sldObj;
Map<String, String> options = fts.getOptions();
if (options.containsKey(FeatureTypeStyle.COMPOSITE)) {
VendorOptionPresent voPresent = new VendorOptionPresent(sldObj, getVendorOptionInfo());
vendorOptionsPresentList.add(voPresent);
}
}
}
use of com.sldeditor.common.vendoroption.minversion.VendorOptionPresent in project sldeditor by robward-scisys.
the class VOGeoServerFTSCompositeBase method getMinimumVersion.
/*
* (non-Javadoc)
*
* @see com.sldeditor.ui.iface.PopulateDetailsInterface#getMinimumVersion(java.lang.Object,
* java.util.List)
*/
@Override
public void getMinimumVersion(Object parentObj, Object sldObj, List<VendorOptionPresent> vendorOptionsPresentList) {
if (sldObj instanceof FeatureTypeStyle) {
FeatureTypeStyle fts = (FeatureTypeStyle) sldObj;
Map<String, String> options = fts.getOptions();
if (options.containsKey(FeatureTypeStyle.COMPOSITE_BASE)) {
VendorOptionPresent voPresent = new VendorOptionPresent(sldObj, getVendorOptionInfo());
vendorOptionsPresentList.add(voPresent);
}
}
}
use of com.sldeditor.common.vendoroption.minversion.VendorOptionPresent in project sldeditor by robward-scisys.
the class VOGeoServerRandomFill method getMinimumVersion.
/*
* (non-Javadoc)
*
* @see com.sldeditor.ui.iface.PopulateDetailsInterface#getMinimumVersion(java.lang.Object,
* java.util.List)
*/
@Override
public void getMinimumVersion(Object parentObj, Object sldObj, List<VendorOptionPresent> vendorOptionsPresentList) {
if (parentObj instanceof PolygonSymbolizer) {
PolygonSymbolizer polygon = (PolygonSymbolizer) parentObj;
Map<String, String> options = polygon.getOptions();
for (FieldIdEnum key : fieldMap.keySet()) {
String vendorOptionAttributeKey = fieldMap.get(key);
if (options.containsKey(vendorOptionAttributeKey)) {
VendorOptionPresent voPresent = new VendorOptionPresent(sldObj, getVendorOptionInfo());
vendorOptionsPresentList.add(voPresent);
}
}
}
}
use of com.sldeditor.common.vendoroption.minversion.VendorOptionPresent in project sldeditor by robward-scisys.
the class FieldConfigArrow method getMinimumVersion.
/*
* (non-Javadoc)
*
* @see com.sldeditor.ui.detail.config.symboltype.FieldState#getMinimumVersion(java.lang.Object, java.util.List)
*/
@Override
public void getMinimumVersion(Object parentObj, Object sldObj, List<VendorOptionPresent> vendorOptionsPresentList) {
VendorOptionPresent voPresent = new VendorOptionPresent(sldObj, getVendorOptionInfo());
vendorOptionsPresentList.add(voPresent);
}
use of com.sldeditor.common.vendoroption.minversion.VendorOptionPresent in project sldeditor by robward-scisys.
the class FieldConfigMarkerExtShape method getMinimumVersion.
/*
* (non-Javadoc)
*
* @see com.sldeditor.ui.detail.config.symboltype.FieldState#getMinimumVersion(java.lang.Object, java.util.List)
*/
@Override
public void getMinimumVersion(Object parentObj, Object sldObj, List<VendorOptionPresent> vendorOptionsPresentList) {
VendorOptionPresent voPresent = new VendorOptionPresent(sldObj, getVendorOptionInfo());
vendorOptionsPresentList.add(voPresent);
}
Aggregations