Package org.eclipse.emf.edit.provider

Examples of org.eclipse.emf.edit.provider.ViewerNotification


  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(Hypertext.class)) {
      case EMFfitModelPackage.HYPERTEXT__CONTENT:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here


    updateChildren(notification);

    switch (notification.getFeatureID(FTEntry.class)) {
      case EMFfitModelPackage.FT_ENTRY__NUMBERING:
      case EMFfitModelPackage.FT_ENTRY__NAME:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case EMFfitModelPackage.FT_ENTRY__CHILDREN:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(Factor.class)) {
      case EMFfitModelPackage.FACTOR__PRIORITY:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case EMFfitModelPackage.FACTOR__DESCRIPTION:
      case EMFfitModelPackage.FACTOR__FLEXIBILITY:
      case EMFfitModelPackage.FACTOR__CHANGEABILITY:
      case EMFfitModelPackage.FACTOR__INFLUENCE:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

        {
            case PomPackage.RELOCATION__GROUP_ID:
            case PomPackage.RELOCATION__ARTIFACT_ID:
            case PomPackage.RELOCATION__VERSION:
            case PomPackage.RELOCATION__MESSAGE:
                fireNotifyChanged( new ViewerNotification( notification, notification.getNotifier(), false, true ) );
                return;
        }
        super.notifyChanged( notification );
    }
View Full Code Here

  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(SetPen.class)) {
      case TurtlePackage.SET_PEN__STATE:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(ColoredTurtle.class)) {
      case TurtlePackage.COLORED_TURTLE__COLOR:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(Choreography.class)) {
      case TurtlePackage.CHOREOGRAPHY__NAME:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case TurtlePackage.CHOREOGRAPHY__MOVEMENTS:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(Rotate.class)) {
      case TurtlePackage.ROTATE__ANGLE:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

    updateChildren(notification);

    switch (notification.getFeatureID(Stage.class)) {
      case TurtlePackage.STAGE__WIDTH:
      case TurtlePackage.STAGE__HEIGHT:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case TurtlePackage.STAGE__CHOREOGRAPHIES:
      case TurtlePackage.STAGE__FARMS:
      case TurtlePackage.STAGE__BACKGROUND:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(Farm.class)) {
      case TurtlePackage.FARM__NAME:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case TurtlePackage.FARM__TURTLES:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.emf.edit.provider.ViewerNotification

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.