本文整理汇总了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 );
}
示例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 );
}
示例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 );
}
示例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 );
}
示例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 );
}
示例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 );
}
示例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 );
}
示例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 );
}
示例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);
}
示例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 );
}
示例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);
}
示例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 );
}
示例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 );
}
示例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);
}
示例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 );
}