Package org.emftrace.metamodel.QUARCModel.GSS

Examples of org.emftrace.metamodel.QUARCModel.GSS.Element.eClass()


    String label = "\"" + (sourceName == null || sourceName.isEmpty() && source != null ? source.eClass().getName() : sourceName) + "\" ";

    Object weight = ((Rating)object).getWeight();
    label += "-(" + (weight == null ? "" : weight.toString()) + ")";
   
    label += "-> \""+ (targetName == null || targetName.isEmpty() && target != null ? target.eClass().getName() : targetName) + "\"";
    return getString("_UI_Rating_type"+label;
  }


}
View Full Code Here


    String weight = ((PrioritizedDecomposition)object).getWeight();
    if (weight!= null)
      label+= " ("+weight+")";
   
    label += "-> \""+ (targetName == null || targetName.isEmpty() && target != null ? target.eClass().getName() : targetName) + "\"";
    }
    return
      getString("_UI_PrioritizedDecomposition_type") + " " + label;
  }
}
View Full Code Here

    } else
    if (relation instanceof Offset) {
      Object offset = ((Offset)relation).getValue();
      label += "-(" + (offset == null ? "" : offset.toString()) + ")";
    }
    label += "-> \""+ (targetName == null || targetName.isEmpty() && target != null ? target.eClass().getName() : targetName) + "\"";
    return label;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.