Package org.eclipse.emf.edit.provider

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


        updateChildren( notification );

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


        switch ( notification.getFeatureID( Exclusion.class ) )
        {
            case PomPackage.EXCLUSION__ARTIFACT_ID:
            case PomPackage.EXCLUSION__GROUP_ID:
                fireNotifyChanged( new ViewerNotification( notification, notification.getNotifier(), false, true ) );
                return;
        }
        super.notifyChanged( notification );
    }
View Full Code Here

            case PomPackage.DEPENDENCY__TYPE:
            case PomPackage.DEPENDENCY__CLASSIFIER:
            case PomPackage.DEPENDENCY__SCOPE:
            case PomPackage.DEPENDENCY__SYSTEM_PATH:
            case PomPackage.DEPENDENCY__OPTIONAL:
                fireNotifyChanged( new ViewerNotification( notification, notification.getNotifier(), false, true ) );
                return;
            case PomPackage.DEPENDENCY__EXCLUSIONS:
                fireNotifyChanged( new ViewerNotification( notification, notification.getNotifier(), true, false ) );
                return;
        }
        super.notifyChanged( notification );
    }
View Full Code Here

        switch ( notification.getFeatureID( Resource.class ) )
        {
            case PomPackage.RESOURCE__TARGET_PATH:
            case PomPackage.RESOURCE__FILTERING:
            case PomPackage.RESOURCE__DIRECTORY:
                fireNotifyChanged( new ViewerNotification( notification, notification.getNotifier(), false, true ) );
                return;
            case PomPackage.RESOURCE__INCLUDES:
            case PomPackage.RESOURCE__EXCLUDES:
                fireNotifyChanged( new ViewerNotification( notification, notification.getNotifier(), true, false ) );
                return;
        }
        super.notifyChanged( notification );
    }
View Full Code Here

        updateChildren( notification );

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

        {
            case PomPackage.SCM__CONNECTION:
            case PomPackage.SCM__DEVELOPER_CONNECTION:
            case PomPackage.SCM__TAG:
            case PomPackage.SCM__URL:
                fireNotifyChanged( new ViewerNotification( notification, notification.getNotifier(), false, true ) );
                return;
        }
        super.notifyChanged( notification );
    }
View Full Code Here

        updateChildren( notification );

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

        switch ( notification.getFeatureID( Site.class ) )
        {
            case PomPackage.SITE__ID:
            case PomPackage.SITE__NAME:
            case PomPackage.SITE__URL:
                fireNotifyChanged( new ViewerNotification( notification, notification.getNotifier(), false, true ) );
                return;
        }
        super.notifyChanged( notification );
    }
View Full Code Here

        {
            case PomPackage.REPOSITORY__ID:
            case PomPackage.REPOSITORY__NAME:
            case PomPackage.REPOSITORY__URL:
            case PomPackage.REPOSITORY__LAYOUT:
                fireNotifyChanged( new ViewerNotification( notification, notification.getNotifier(), false, true ) );
                return;
            case PomPackage.REPOSITORY__RELEASES:
            case PomPackage.REPOSITORY__SNAPSHOTS:
                fireNotifyChanged( new ViewerNotification( notification, notification.getNotifier(), true, false ) );
                return;
        }
        super.notifyChanged( notification );
    }
View Full Code Here

        switch ( notification.getFeatureID( PluginExecution.class ) )
        {
            case PomPackage.PLUGIN_EXECUTION__ID:
            case PomPackage.PLUGIN_EXECUTION__PHASE:
            case PomPackage.PLUGIN_EXECUTION__INHERITED:
                fireNotifyChanged( new ViewerNotification( notification, notification.getNotifier(), false, true ) );
                return;
            case PomPackage.PLUGIN_EXECUTION__GOALS:
                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.