本文整理汇总了Java中com.esri.ges.core.property.PropertyDefinition.setDependsOn方法的典型用法代码示例。如果您正苦于以下问题:Java PropertyDefinition.setDependsOn方法的具体用法?Java PropertyDefinition.setDependsOn怎么用?Java PropertyDefinition.setDependsOn使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.esri.ges.core.property.PropertyDefinition
的用法示例。
在下文中一共展示了PropertyDefinition.setDependsOn方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setManager
import com.esri.ges.core.property.PropertyDefinition; //导入方法依赖的package包/类
public void setManager(GeoEventDefinitionManager m) throws PropertyException {
this.manager = m;
PropertyDefinition procSymbolIdSource = new PropertyDefinition("symbolIdSource",
PropertyType.String, "", "SymbolId Source", "Source of SymbolId Value", true, false);
procSymbolIdSource.addAllowedValue("Event");
propertyDefinitions.put(procSymbolIdSource.getPropertyName(), procSymbolIdSource);
PropertyDefinition procSymbolIdEvent = new PropertyDefinition("symbolIdEvent",
PropertyType.String, "", "SymbolId Event Field", "Geoevent field containing SymbolId data", true, false);
procSymbolIdEvent.setDependsOn("symbolIdSource=Event");
SetGeoEventAllowedFields(procSymbolIdEvent);
propertyDefinitions.put(procSymbolIdEvent.getPropertyName(), procSymbolIdEvent);
PropertyDefinition procSymbolNameSource = new PropertyDefinition("symbolNameSource",
PropertyType.String, "", "SymbolName Source", "Source of SymbolName Value", true, false);
procSymbolNameSource.addAllowedValue("Event");
propertyDefinitions.put(procSymbolNameSource.getPropertyName(), procSymbolNameSource);
PropertyDefinition procSymbolNameEvent = new PropertyDefinition("symbolNameEvent",
PropertyType.String, "", "SymbolName Event Field", "Geoevent field containing SymbolName data", true, false);
procSymbolNameEvent.setDependsOn("symbolNameSource=Event");
SetGeoEventAllowedFields(procSymbolNameEvent);
propertyDefinitions.put(procSymbolNameEvent.getPropertyName(), procSymbolNameEvent);
}
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:27,代码来源:SymbolIdToNameProcessorDefinition.java
示例2: setManager
import com.esri.ges.core.property.PropertyDefinition; //导入方法依赖的package包/类
public void setManager(GeoEventDefinitionManager m) throws PropertyException {
this.manager = m;
PropertyDefinition procSymbolNameSource = new PropertyDefinition("symbolNameSource",
PropertyType.String, "", "SymbolName Source", "Source of SymbolName Value", true, false);
procSymbolNameSource.addAllowedValue("Event");
propertyDefinitions.put(procSymbolNameSource.getPropertyName(), procSymbolNameSource);
PropertyDefinition procSymbolNameEvent = new PropertyDefinition("symbolNameEvent",
PropertyType.String, "", "SymbolName Event Field", "Geoevent field containing SymbolName data", true, false);
procSymbolNameEvent.setDependsOn("symbolNameSource=Event");
SetGeoEventAllowedFields(procSymbolNameEvent);
propertyDefinitions.put(procSymbolNameEvent.getPropertyName(), procSymbolNameEvent);
PropertyDefinition procSymbolIdSource = new PropertyDefinition("symbolIdSource",
PropertyType.String, "", "SymbolId Source", "Source of SymbolId Value", true, false);
procSymbolIdSource.addAllowedValue("Event");
propertyDefinitions.put(procSymbolIdSource.getPropertyName(), procSymbolIdSource);
PropertyDefinition procSymbolIdEvent = new PropertyDefinition("symbolIdEvent",
PropertyType.String, "", "SymbolId Event Field", "Geoevent field containing SymbolId data", true, false);
procSymbolIdEvent.setDependsOn("symbolIdSource=Event");
SetGeoEventAllowedFields(procSymbolIdEvent);
propertyDefinitions.put(procSymbolIdEvent.getPropertyName(), procSymbolIdEvent);
}
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:27,代码来源:SymbolNameToIdProcessorDefinition.java
示例3: EVCProcessorDefinition
import com.esri.ges.core.property.PropertyDefinition; //导入方法依赖的package包/类
public EVCProcessorDefinition()
{
try {
PropertyDefinition pdInterval = new PropertyDefinition("interval", PropertyType.Long, 10000, "Interval (miliseconds)", "Amount of time between which new messages with the same track id will be dropped", true, false);
propertyDefinitions.put(pdInterval.getPropertyName(), pdInterval);
List<LabeledValue> allowedVals = new ArrayList<LabeledValue>();
allowedVals.add(new LabeledValue(allowedValInterval,"byInterval" ));
allowedVals.add(new LabeledValue(allowedValMaxPerInterval, "maxPerInterval"));
PropertyDefinition pdFilterType = new PropertyDefinition("filterType", PropertyType.String, allowedValInterval, lblFilterType, descFilterType, true, false, allowedVals);
propertyDefinitions.put(pdFilterType.getPropertyName(), pdFilterType);
PropertyDefinition pdEPI = new PropertyDefinition("epi", PropertyType.Long, 100, lblMaxPerInterval, descMaxPerInterval, true, false);
pdEPI.setDependsOn("filterType=maxPerInterval");
propertyDefinitions.put(pdEPI.getPropertyName(), pdEPI);
} catch (PropertyException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
示例4: IncrementalPointProcessorDefinition
import com.esri.ges.core.property.PropertyDefinition; //导入方法依赖的package包/类
public IncrementalPointProcessorDefinition() throws PropertyException {
List<LabeledValue> allowedIn = new ArrayList<LabeledValue>();
allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.SEGMENTATION_TYPE_DISTANCE_LBL}","distance"));
allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.SEGMENTATION_TYPE_TIME_LBL}","time"));
allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.SEGMENTATION_TYPE_VERTEX_LBL}","vertex"));
PropertyDefinition pdInterval= new PropertyDefinition("intervalType", PropertyType.String, "", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_INTERVAL_TYPE}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_INTERVAL_TYPE}",true, false, allowedIn);
propertyDefinitions.put(pdInterval.getPropertyName(), pdInterval);
PropertyDefinition pdTimeInterval = new PropertyDefinition("timeinterval", PropertyType.Long, 600000, "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_TIME_INTERVAL}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_TIME_INTERVAL}", false, false);
pdTimeInterval.setDependsOn("intervalType=time");
propertyDefinitions.put(pdTimeInterval.getPropertyName(),pdTimeInterval);
PropertyDefinition pdDistInterval = new PropertyDefinition("distanceinterval", PropertyType.Double, 0.0, "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_DISTANCE_INTERVAL}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_DISTANCE_INTERVAL}", false, false);
pdDistInterval.setDependsOn("intervalType=distance");
propertyDefinitions.put(pdDistInterval.getPropertyName(),pdDistInterval);
PropertyDefinition pdwkid = new PropertyDefinition("wkid", PropertyType.Integer, "", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_PROCESS_WKID}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_PROCESS_WKID}",true, false);
propertyDefinitions.put(pdwkid.getPropertyName(), pdwkid);
PropertyDefinition pdOutDef = new PropertyDefinition("outdefname", PropertyType.String, "", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_OUTDEFNAME}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_OUTDEFNAME}", true, false);
propertyDefinitions.put(pdOutDef.getPropertyName(), pdOutDef);
}
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:22,代码来源:IncrementalPointProcessorDefinition.java
示例5: BearingProcessorDefinition
import com.esri.ges.core.property.PropertyDefinition; //导入方法依赖的package包/类
public BearingProcessorDefinition() throws PropertyException {
List<LabeledValue> oSrcValues = new ArrayList<LabeledValue>();
oSrcValues.add(new LabeledValue(srcGeoLbl, "geo"));
oSrcValues.add(new LabeledValue(srcCoordLbl, "coord"));
List<LabeledValue> dSrcValues = new ArrayList<LabeledValue>();
dSrcValues.add(new LabeledValue(srcGeoLbl, "geo"));
dSrcValues.add(new LabeledValue(srcCoordLbl, "coord"));
PropertyDefinition pdOriginSource = new PropertyDefinition("osrc", PropertyType.String, srcGeoLbl, lblOSrc, descOSrc, true, false, oSrcValues);
propertyDefinitions.put(pdOriginSource.getPropertyName(), pdOriginSource);
PropertyDefinition pdOGeoFld = new PropertyDefinition("oGeoFld", PropertyType.String, "ORIGIN_GEOMETRY_FIELD", lblOFld, descOFld, false, false);
pdOGeoFld.setDependsOn("osrc=geo");
propertyDefinitions.put(pdOGeoFld.getPropertyName(), pdOGeoFld);
PropertyDefinition pdOXField = new PropertyDefinition("oxFld", PropertyType.String, "ORIGIN_X_FIELD", lblOX, descOX, false, false);
pdOXField.setDependsOn("osrc=coord");
propertyDefinitions.put(pdOXField.getPropertyName(), pdOXField);
PropertyDefinition pdOYField = new PropertyDefinition("oyFld", PropertyType.String, "ORIGIN_Y_FIELD", lblOY, descOY, false, false);
pdOYField.setDependsOn("osrc=coord");
propertyDefinitions.put(pdOYField.getPropertyName(),pdOYField);
PropertyDefinition pdDestinationSource = new PropertyDefinition("dsrc", PropertyType.String, defaultSrc, lblDSrc, "", true, false, dSrcValues);
propertyDefinitions.put(pdDestinationSource.getPropertyName(),pdDestinationSource);
PropertyDefinition pdDGeoFld = new PropertyDefinition("dGeoFld", PropertyType.String, "DESTINATION_GEOMETRY_FIELD", lblDFld, descDFld, false, false);
pdDGeoFld.setDependsOn("dsrc=geo");
propertyDefinitions.put(pdDGeoFld.getPropertyName(),pdDGeoFld);
PropertyDefinition pdDXField = new PropertyDefinition("dxFld", PropertyType.String, "DESTINATION_X_FIELD", lblDX, descDX, false, false);
pdDXField.setDependsOn("dsrc=coord");
propertyDefinitions.put(pdDXField.getPropertyName(),pdDXField);
PropertyDefinition pdDYField = new PropertyDefinition("dyFld", PropertyType.String, "DESTINATION_Y_FIELD", lblDY, descDY, false, false);
pdDYField.setDependsOn("dsrc=coord");
propertyDefinitions.put(pdDYField.getPropertyName(),pdDYField);
PropertyDefinition pdBearingField = new PropertyDefinition("newfld", PropertyType.String, "bearing", lblNewFld, descNewFld, true, false);
propertyDefinitions.put(pdBearingField.getPropertyName(), pdBearingField);
PropertyDefinition pdGenerateGeometry = new PropertyDefinition("generateGeo", PropertyType.Boolean, true, lblGenerateGeo, descGenerateGeo, true, false);
propertyDefinitions.put(pdGenerateGeometry.getPropertyName(), pdGenerateGeometry);
PropertyDefinition pdOutWkid = new PropertyDefinition("wkidout", PropertyType.Integer, 4326, lblWkidOut, descWkidOut, "generateGeo=true", false, false);
propertyDefinitions.put(pdOutWkid.getPropertyName(), pdOutWkid);
PropertyDefinition pdNewGeoDef = new PropertyDefinition("newdef", PropertyType.String, "calculate_bearing", lblEventDefName, descEventDefName, true, false);
propertyDefinitions.put(pdNewGeoDef.getPropertyName(), pdNewGeoDef);
}