Пример #1
0
 /**
  * This returns the label text for the adapted class.
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public String getText(Object object) {
   TypeExp<?> typeExp = (TypeExp<?>) object;
   return getString("_UI_TypeExp_type")
       + " "
       + typeExp.getStartPosition(); // $NON-NLS-1$ //$NON-NLS-2$
 }
Пример #2
0
 @Override
 public EPackage visitTypeExp(TypeExp<EClassifier> t) {
   EClassifier newType = handle(t.getType());
   if (newType != null) {
     orgToCopy.put(t.getType(), newType);
     t.setType(newType);
   }
   return super.visitTypeExp(t);
 }