Package fr.tm.elibel.smartqvt.qvt.emof

Examples of fr.tm.elibel.smartqvt.qvt.emof.Operation


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setOperation(Operation newOperation) {
    Operation oldOperation = operation;
    operation = newOperation;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TracePackage.TRACE__OPERATION, oldOperation, operation));
  }
View Full Code Here


        }
      }
      modelObj = ope.getReferredOperation();
    }
    if (modelObj instanceof Operation) {
      Operation op = (Operation) modelObj;
      res = op.getClass().getSimpleName() + "<br>";

      String context = QVTEditorUtilities.stringOfContext(op);
      if (context != null)
        res += context + "::";
      res += QVTEditorUtilities.stringOfOperation(op, type);
View Full Code Here

      offsetPart++;
      objectPart = strategy.getObjectAtPosition(offsetPart);
    }
    if (objectPart != null) {
      EObject var = (EObject) objectPart;
      Operation res = QVTEditorUtilities.getOperationOf(var);

      if (res != null) {
        objects.addAll(getProposalsForOperation(res));
      }
    }
View Full Code Here

    String description = "";
    String pattern = "";
    Image image_id = null;
    try {
      if (obj instanceof Operation) {
        Operation op = (Operation) obj;
        image_id = UiPlugin.getImage(UiPlugin.IMAGE_OPERATION);
        name = QVTEditorUtilities.stringOfOperation(op);
        pattern = QVTEditorUtilities.patternOfOperation(op);
        description = QVTEditorUtilities.stringOfContext(op);
      } else
View Full Code Here

  /***
   *
   */
 
  public static Operation getOperationOf(EObject var){
    Operation op = null;
   
    while ((var.eContainer() != null) && (op == null)) {
      var = var.eContainer();
      if (var instanceof Operation)
        op = (Operation)var;
View Full Code Here

      Type type = (Type) types.next();
      signature.append("|");
      signature.append(type.toString());
    }
    signature.append(")");
    Operation result = (Operation) getOperationHM.get(signature.toString());
    if (result == null) {
      result = super.getOperation(self, op, t, cVariables,
          currentPackage, availablePackages, mainTrace);
      getOperationHM.put(signature.toString(), result);
      getOperationNoteHM.put(signature.toString(),
View Full Code Here

  private String getContainer(Object obj) {
    String res = null;

    if (obj != null) {
      EObject var = (EObject) obj;
      Operation op = QVTEditorUtilities.getOperationOf(var);
      if (op != null)
        res = QVTEditorUtilities.stringOfOperation(op);
      String context = QVTEditorUtilities.stringOfContext(op);
      if (context != null)
        res += " - " + context;
View Full Code Here

TOP

Related Classes of fr.tm.elibel.smartqvt.qvt.emof.Operation

Copyright © 2018 www.massapicom. 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.