Examples of ViewerNotification


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

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

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

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

    switch (notification.getFeatureID(DirectedBinaryRelationship.class)) {
      case OntoUMLPackage.DIRECTED_BINARY_RELATIONSHIP__NAME:
      case OntoUMLPackage.DIRECTED_BINARY_RELATIONSHIP__ATTRIBUTE:
      case OntoUMLPackage.DIRECTED_BINARY_RELATIONSHIP__IS_ABSTRACT:
      case OntoUMLPackage.DIRECTED_BINARY_RELATIONSHIP__GENERAL:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case OntoUMLPackage.DIRECTED_BINARY_RELATIONSHIP__GENERALIZATION:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

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

        switch (notification.getFeatureID(Element.class)) {
            case ModelPackage.ELEMENT__LOCATION:
            case ModelPackage.ELEMENT__SIZE:
            case ModelPackage.ELEMENT__PAPER_SIZE:
                fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
                return;
        }
        super.notifyChanged(notification);
    }
View Full Code Here

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

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

        switch (notification.getFeatureID(Page.class)) {
            case ModelPackage.PAGE__NAME:
                fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
                return;
            case ModelPackage.PAGE__BOXES:
                fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
                return;
        }
        super.notifyChanged(notification);
    }
View Full Code Here

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

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

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

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

        updateChildren(notification);

        switch (notification.getFeatureID(Box.class)) {
            case ModelPackage.BOX__BOX_PRINTER:
            case ModelPackage.BOX__ID:
                fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
                return;
        }
        super.notifyChanged(notification);
    }
View Full Code Here

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

        case RenderPackage.VIEWPORT_MODEL__PREFERRED_SCALE_DENOMINATORS:
        case RenderPackage.VIEWPORT_MODEL__AVAILABLE_TIMESTEPS:
        case RenderPackage.VIEWPORT_MODEL__CURRENT_TIMESTEP:
        case RenderPackage.VIEWPORT_MODEL__AVAILABLE_ELEVATION:
        case RenderPackage.VIEWPORT_MODEL__CURRENT_ELEVATION:
            fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(),
                    false, true));
            return;
        }
        super.notifyChanged(notification);
    }
View Full Code Here

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

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

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

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

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

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

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

        switch (notification.getFeatureID(BlackboardEntry.class)) {
        case ProjectPackage.BLACKBOARD_ENTRY__KEY:
        case ProjectPackage.BLACKBOARD_ENTRY__MEMENTO:
        case ProjectPackage.BLACKBOARD_ENTRY__OBJECT_CLASS:
        case ProjectPackage.BLACKBOARD_ENTRY__OBJECT:
            fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(),
                    false, true));
            return;
        }
        super.notifyChanged(notification);
    }
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.