示例#1
0
 /**
  * ************************************************************************* * * Get the sign
  * relationship of the source (e.g. SAME_SIGN, OPPOSITE_SIGN)
  */
 public PertDictionary.PertLinkRelation getSign(SourceSrc ss) {
   PertDictionary pDict = ss.getPertDictionary();
   PertProperties pprops = getExpType(pDict);
   if (isAProxy()) {
     return (pprops.getRelationWithProxy(getProxySign()));
   } else {
     return (pprops.getLinkSignRelationship());
   }
 }
示例#2
0
 /** ************************************************************************* * * Get the value */
 public String getDisplayValue(SourceSrc ss) {
   StringBuffer buf = new StringBuffer();
   PertDictionary pd = ss.getPertDictionary();
   PertProperties pp = pd.getPerturbProps(typeKey_);
   String name = ss.getSourceName(srcNameKey_);
   buf.append(name);
   String useMe = pp.getAbbrev();
   if (useMe == null) {
     buf.append(" ");
     buf.append(pp.getType());
   } else {
     buf.append(useMe);
   }
   return (buf.toString());
 }