當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。