当前位置: 首页>>代码示例>>Java>>正文


Java Notification.getFeatureID方法代码示例

本文整理汇总了Java中org.eclipse.emf.common.notify.Notification.getFeatureID方法的典型用法代码示例。如果您正苦于以下问题:Java Notification.getFeatureID方法的具体用法?Java Notification.getFeatureID怎么用?Java Notification.getFeatureID使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.eclipse.emf.common.notify.Notification的用法示例。


在下文中一共展示了Notification.getFeatureID方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( CommonDeploymentMechanism.class ) )
    {
        case DeploymentPackage.COMMON_DEPLOYMENT_MECHANISM__ADDITIONAL_DEPENDENCIES:
        case DeploymentPackage.COMMON_DEPLOYMENT_MECHANISM__STARTUP_MECHANISM:
        case DeploymentPackage.COMMON_DEPLOYMENT_MECHANISM__MULTI_USER_SCREEN:
        case DeploymentPackage.COMMON_DEPLOYMENT_MECHANISM__AUTOMATIC_CREATE:
        case DeploymentPackage.COMMON_DEPLOYMENT_MECHANISM__RECREATE_BACKUPS:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
        case DeploymentPackage.COMMON_DEPLOYMENT_MECHANISM__CHANGES:
        case DeploymentPackage.COMMON_DEPLOYMENT_MECHANISM__ADDITIONAL_SETUP_MODULES:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:29,代码来源:CommonDeploymentMechanismItemProvider.java

示例2: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( EquinoxApplication.class ) )
    {
        case InfrastructurePackage.EQUINOX_APPLICATION__NAME:
        case InfrastructurePackage.EQUINOX_APPLICATION__INSTANCE_NUMBER:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
        case InfrastructurePackage.EQUINOX_APPLICATION__USER_SERVICE:
        case InfrastructurePackage.EQUINOX_APPLICATION__MODULES:
        case InfrastructurePackage.EQUINOX_APPLICATION__CONFIGURATIONS:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:27,代码来源:EquinoxApplicationItemProvider.java

示例3: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( HandlerPriorityRule.class ) )
    {
        case WorldPackage.HANDLER_PRIORITY_RULE__ORDER:
        case WorldPackage.HANDLER_PRIORITY_RULE__FACTORY_ID:
        case WorldPackage.HANDLER_PRIORITY_RULE__CONFIGURATION_FILTER:
        case WorldPackage.HANDLER_PRIORITY_RULE__PRIORITY:
        case WorldPackage.HANDLER_PRIORITY_RULE__DESCRIPTION:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:HandlerPriorityRuleItemProvider.java

示例4: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( MarkerGroup.class ) )
    {
        case OsgiPackage.MARKER_GROUP__NAME:
        case OsgiPackage.MARKER_GROUP__MARKERS:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
        case OsgiPackage.MARKER_GROUP__ITEMS:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:MarkerGroupItemProvider.java

示例5: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( BoolLEDComponent.class ) )
    {
        case DetailViewPackage.BOOL_LED_COMPONENT__FORMAT:
        case DetailViewPackage.BOOL_LED_COMPONENT__DESCRIPTOR:
        case DetailViewPackage.BOOL_LED_COMPONENT__ALARM:
        case DetailViewPackage.BOOL_LED_COMPONENT__ATTRIBUTE:
        case DetailViewPackage.BOOL_LED_COMPONENT__EXPECTED_VALUE:
        case DetailViewPackage.BOOL_LED_COMPONENT__ON_OFF:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:26,代码来源:BoolLEDComponentItemProvider.java

示例6: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( AbstractEventStorageJdbc.class ) )
    {
        case OsgiPackage.ABSTRACT_EVENT_STORAGE_JDBC__SCHEMA:
        case OsgiPackage.ABSTRACT_EVENT_STORAGE_JDBC__INSTANCE_NAME:
        case OsgiPackage.ABSTRACT_EVENT_STORAGE_JDBC__ENABLE_REPLICATION:
        case OsgiPackage.ABSTRACT_EVENT_STORAGE_JDBC__ARCHIVE_DAYS:
        case OsgiPackage.ABSTRACT_EVENT_STORAGE_JDBC__CLEANUP_PERIOD_SECONDS:
        case OsgiPackage.ABSTRACT_EVENT_STORAGE_JDBC__REPLICATION_DATA_FORMAT:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:26,代码来源:AbstractEventStorageJdbcItemProvider.java

示例7: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( TimerAction.class ) )
    {
        case CommonPackage.TIMER_ACTION__PERIOD:
        case CommonPackage.TIMER_ACTION__VALUE:
        case CommonPackage.TIMER_ACTION__NAME:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
        case CommonPackage.TIMER_ACTION__TARGET_ITEM:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:26,代码来源:TimerActionItemProvider.java

示例8: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( Options.class ) )
    {
        case InfrastructurePackage.OPTIONS__BASE_DA_NGP_PORT:
        case InfrastructurePackage.OPTIONS__BASE_AE_NGP_PORT:
        case InfrastructurePackage.OPTIONS__BASE_CA_NGP_PORT:
        case InfrastructurePackage.OPTIONS__BASE_HD_NGP_PORT:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
        case InfrastructurePackage.OPTIONS__MONITOR_POOLS:
        case InfrastructurePackage.OPTIONS__EVENT_POOLS:
        case InfrastructurePackage.OPTIONS__DEFAULT_USER_SERVICE:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:29,代码来源:OptionsItemProvider.java

示例9: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged(Notification notification) {
	updateChildren(notification);

	switch (notification.getFeatureID(UsageTypedAmount.class)) {
		case GrmPackage.USAGE_TYPED_AMOUNT__EXEC_TIME:
		case GrmPackage.USAGE_TYPED_AMOUNT__MSG_SIZE:
		case GrmPackage.USAGE_TYPED_AMOUNT__ALLOCATEDMEMORY:
		case GrmPackage.USAGE_TYPED_AMOUNT__USED_MEMORY:
		case GrmPackage.USAGE_TYPED_AMOUNT__POWER_PEAK:
		case GrmPackage.USAGE_TYPED_AMOUNT__ENERGY:
			fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
			return;
	}
	super.notifyChanged(notification);
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:24,代码来源:UsageTypedAmountItemProvider.java

示例10: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( MsiDeploymentMechanism.class ) )
    {
        case DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__VERSION:
        case DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__UPGRADE_CODE:
        case DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__MANUFACTURER:
        case DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__ARCHITECTURE:
        case DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__ENABLE_FIREWALL:
        case DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__ENABLE_USER_INTERFACE:
        case DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__LICENSE_FILE:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
        case DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__LOCAL_PLATFORM:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:30,代码来源:MsiDeploymentMechanismItemProvider.java

示例11: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged(Notification notification) {
	updateChildren(notification);

	switch (notification.getFeatureID(Tosca_nodes_somenode2.class)) {
		case ExtendedtoscaPackage.TOSCA_NODES_SOMENODE2__DISK_SIZE:
			fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
			return;
	}
	super.notifyChanged(notification);
}
 
开发者ID:occiware,项目名称:TOSCA-Studio,代码行数:19,代码来源:Tosca_nodes_somenode2ItemProvider.java

示例12: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( Authorative.class ) )
    {
        case GlobalizePackage.AUTHORATIVE__HIERARCHY:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:21,代码来源:AuthorativeItemProvider.java

示例13: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( DataAccessExporter.class ) )
    {
        case OsgiPackage.DATA_ACCESS_EXPORTER__EXPORTS:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:21,代码来源:DataAccessExporterItemProvider.java

示例14: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged(Notification notification) {
	updateChildren(notification);

	switch (notification.getFeatureID(Tosca_nodes_compute.class)) {
		case ToscaPackage.TOSCA_NODES_COMPUTE__MIN_INSTANCES:
		case ToscaPackage.TOSCA_NODES_COMPUTE__MAX_INSTANCES:
		case ToscaPackage.TOSCA_NODES_COMPUTE__DEFAULT_INSTANCES:
		case ToscaPackage.TOSCA_NODES_COMPUTE__PORT_NAME:
		case ToscaPackage.TOSCA_NODES_COMPUTE__PROTOCOL:
		case ToscaPackage.TOSCA_NODES_COMPUTE__PORT:
		case ToscaPackage.TOSCA_NODES_COMPUTE__INITIATOR:
		case ToscaPackage.TOSCA_NODES_COMPUTE__NETWORK_NAME:
		case ToscaPackage.TOSCA_NODES_COMPUTE__SECURE:
		case ToscaPackage.TOSCA_NODES_COMPUTE__PORTS:
		case ToscaPackage.TOSCA_NODES_COMPUTE__URL_PATH:
		case ToscaPackage.TOSCA_NODES_COMPUTE__TYPE:
		case ToscaPackage.TOSCA_NODES_COMPUTE__DISTRIBUTION:
		case ToscaPackage.TOSCA_NODES_COMPUTE__VERSION:
		case ToscaPackage.TOSCA_NODES_COMPUTE__DISK_SIZE:
		case ToscaPackage.TOSCA_NODES_COMPUTE__PRIVATE_ADDRESS:
		case ToscaPackage.TOSCA_NODES_COMPUTE__PUBLIC_ADDRESS:
		case ToscaPackage.TOSCA_NODES_COMPUTE__NETWORKS:
			fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
			return;
	}
	super.notifyChanged(notification);
}
 
开发者ID:occiware,项目名称:TOSCA-Studio,代码行数:36,代码来源:Tosca_nodes_computeItemProvider.java

示例15: notifyChanged

import org.eclipse.emf.common.notify.Notification; //导入方法依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged ( Notification notification )
{
    updateChildren ( notification );

    switch ( notification.getFeatureID ( NumericGroupField.class ) )
    {
        case ParserPackage.NUMERIC_GROUP_FIELD__GROUP_NUMBER:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:21,代码来源:NumericGroupFieldItemProvider.java


注:本文中的org.eclipse.emf.common.notify.Notification.getFeatureID方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。