Examples of ViewerNotification


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

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

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

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

        switch (notification.getFeatureID(Folder.class)) {
        case ProjectPackage.FOLDER__NAME:
        case ProjectPackage.FOLDER__SHOWN:
        case ProjectPackage.FOLDER__ICON:
            fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(),
                    false, true));
            return;
        case ProjectPackage.FOLDER__ITEMS:
            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(StyleBlackboard.class)) {
        case ProjectPackage.STYLE_BLACKBOARD__CONTENT:
            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(LegendItem.class)) {
        case ProjectPackage.LEGEND_ITEM__NAME:
        case ProjectPackage.LEGEND_ITEM__SHOWN:
        case ProjectPackage.LEGEND_ITEM__ICON:
            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(EditManager.class)) {
        case ProjectPackage.EDIT_MANAGER__EDIT_FEATURE:
        case ProjectPackage.EDIT_MANAGER__TRANSACTION_TYPE:
        case ProjectPackage.EDIT_MANAGER__EDIT_LAYER_LOCKED:
            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(Map.Entry.class)) {
        case ProjectPackage.INTERACTION_TO_EBOOLEAN_OBJECT_MAP_ENTRY__KEY:
        case ProjectPackage.INTERACTION_TO_EBOOLEAN_OBJECT_MAP_ENTRY__VALUE:
            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 ProjectPackage.MAP__ABSTRACT:
            //        case ProjectPackage.MAP__NAV_COMMAND_STACK:
            //        case ProjectPackage.MAP__COMMAND_STACK:
        case ProjectPackage.MAP__COLOR_PALETTE:
        case ProjectPackage.MAP__COLOUR_SCHEME:
            fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(),
                    false, true));
            return;
        case ProjectPackage.MAP__CONTEXT_MODEL:
        case ProjectPackage.MAP__LAYER_FACTORY:
        case ProjectPackage.MAP__VIEWPORT_MODEL_INTERNAL:
        case ProjectPackage.MAP__EDIT_MANAGER_INTERNAL:
            fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(),
                    true, false));
            return;
        }
        super.notifyChanged(notification);
    }
View Full Code Here

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

        updateChildren(notification);

        switch (notification.getFeatureID(Renderer.class)) {
        case RenderPackage.RENDERER__STATE:
        case RenderPackage.RENDERER__NAME:
            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(ProjectElementAdapter.class)) {
        case ElementPackage.PROJECT_ELEMENT_ADAPTER__NAME:
        case ElementPackage.PROJECT_ELEMENT_ADAPTER__BACKING_OBJECT:
            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 ProjectPackage.MAP__ABSTRACT:
            //        case ProjectPackage.MAP__NAV_COMMAND_STACK:
            //        case ProjectPackage.MAP__COMMAND_STACK:
        case ProjectPackage.MAP__COLOR_PALETTE:
        case ProjectPackage.MAP__COLOUR_SCHEME:
            fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(),
                    false, true));
            return;
        case ProjectPackage.MAP__CONTEXT_MODEL:
        case ProjectPackage.MAP__LAYER_FACTORY:
        case ProjectPackage.MAP__VIEWPORT_MODEL_INTERNAL:
        case ProjectPackage.MAP__EDIT_MANAGER_INTERNAL:
            fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(),
                    true, false));
            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.