コード例 #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public Color getTimeColor() {
   if (timeColor != null && timeColor.eIsProxy()) {
     InternalEObject oldTimeColor = (InternalEObject) timeColor;
     timeColor = (Color) eResolveProxy(oldTimeColor);
     if (timeColor != oldTimeColor) {
       if (eNotificationRequired())
         eNotify(
             new ENotificationImpl(
                 this,
                 Notification.RESOLVE,
                 TabletUIDSLPackage.SIMPLE_CLOCK__TIME_COLOR,
                 oldTimeColor,
                 timeColor));
     }
   }
   return timeColor;
 }
コード例 #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public Color getDateColor() {
   if (dateColor != null && dateColor.eIsProxy()) {
     InternalEObject oldDateColor = (InternalEObject) dateColor;
     dateColor = (Color) eResolveProxy(oldDateColor);
     if (dateColor != oldDateColor) {
       if (eNotificationRequired())
         eNotify(
             new ENotificationImpl(
                 this,
                 Notification.RESOLVE,
                 TabletUIDSLPackage.SIMPLE_CLOCK__DATE_COLOR,
                 oldDateColor,
                 dateColor));
     }
   }
   return dateColor;
 }