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


Java ViewerNotification类代码示例

本文整理汇总了Java中org.eclipse.emf.edit.provider.ViewerNotification的典型用法代码示例。如果您正苦于以下问题:Java ViewerNotification类的具体用法?Java ViewerNotification怎么用?Java ViewerNotification使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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 ( UpdateCommand.class ) )
    {
        case JdbcPackage.UPDATE_COMMAND__SQL:
        case JdbcPackage.UPDATE_COMMAND__QUERY_TIMEOUT:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
        case JdbcPackage.UPDATE_COMMAND__MAPPINGS:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:UpdateCommandItemProvider.java

示例2: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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 ( RestExporter.class ) )
    {
        case OsgiPackage.REST_EXPORTER__CONTEXT_ID:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
        case OsgiPackage.REST_EXPORTER__HIVE_PROPERTIES:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:24,代码来源:RestExporterItemProvider.java

示例3: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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

示例4: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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 ( URLImageComponent.class ) )
    {
        case DetailViewPackage.URL_IMAGE_COMPONENT__DESCRIPTOR:
        case DetailViewPackage.URL_IMAGE_COMPONENT__IMAGE_URL:
        case DetailViewPackage.URL_IMAGE_COMPONENT__FALLBACK_IMAGE_URL:
        case DetailViewPackage.URL_IMAGE_COMPONENT__WIDTH:
        case DetailViewPackage.URL_IMAGE_COMPONENT__HEIGHT:
        case DetailViewPackage.URL_IMAGE_COMPONENT__RELOAD_TIMER:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:26,代码来源:URLImageComponentItemProvider.java

示例5: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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

示例6: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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 ( ColumnMapping.class ) )
    {
        case JdbcPackage.COLUMN_MAPPING__COLUMN_NUMBER:
        case JdbcPackage.COLUMN_MAPPING__NAME:
        case JdbcPackage.COLUMN_MAPPING__CUSTOMIZATION_TAGS:
        case JdbcPackage.COLUMN_MAPPING__DATA_TYPE:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:24,代码来源:ColumnMappingItemProvider.java

示例7: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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(OrderOnStockThreshold.class)) {
		case MetamodelPackage.ORDER_ON_STOCK_THRESHOLD__PERIOD:
		case MetamodelPackage.ORDER_ON_STOCK_THRESHOLD__THRESHOLD:
		case MetamodelPackage.ORDER_ON_STOCK_THRESHOLD__NAME:
		case MetamodelPackage.ORDER_ON_STOCK_THRESHOLD__ORDER_QUANTITY:
		case MetamodelPackage.ORDER_ON_STOCK_THRESHOLD__ORDER_TYPE:
			fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
			return;
	}
	super.notifyChanged(notification);
}
 
开发者ID:cetic,项目名称:SimQRI,代码行数:23,代码来源:OrderOnStockThresholdItemProvider.java

示例8: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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 ( ScriptTimer.class ) )
    {
        case OsgiPackage.SCRIPT_TIMER__PERIOD:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
        case OsgiPackage.SCRIPT_TIMER__SCRIPT:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:24,代码来源:ScriptTimerItemProvider.java

示例9: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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(BehaviorScenario.class)) {
		case GqamPackage.BEHAVIOR_SCENARIO__RESP_TIME:
		case GqamPackage.BEHAVIOR_SCENARIO__BEST_CET:
		case GqamPackage.BEHAVIOR_SCENARIO__WORST_CET:
			fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
			return;
		case GqamPackage.BEHAVIOR_SCENARIO__STEPS:
		case GqamPackage.BEHAVIOR_SCENARIO__CONNECTORS:
			fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
			return;
	}
	super.notifyChanged(notification);
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:25,代码来源:BehaviorScenarioItemProvider.java

示例10: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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 ( AlarmsEventsModule.class ) )
    {
        case OsgiPackage.ALARMS_EVENTS_MODULE__MONITOR_POOL_PROXIES:
        case OsgiPackage.ALARMS_EVENTS_MODULE__EVENT_POOL_PROXIES:
        case OsgiPackage.ALARMS_EVENTS_MODULE__AKN_PROXIES:
        case OsgiPackage.ALARMS_EVENTS_MODULE__PULL_EVENTS:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:24,代码来源:AlarmsEventsModuleItemProvider.java

示例11: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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 ( OutputDefinition.class ) )
    {
        case ComponentPackage.OUTPUT_DEFINITION__NAME:
        case ComponentPackage.OUTPUT_DEFINITION__LOCAL_TAG:
        case ComponentPackage.OUTPUT_DEFINITION__CUSTOMIZATION_TAGS:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:23,代码来源:OutputDefinitionItemProvider.java

示例12: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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(Duration.class)) {
		case NfpPackage.DURATION__VALUE:
		case NfpPackage.DURATION__UNIT:
		case NfpPackage.DURATION__BEST:
		case NfpPackage.DURATION__WORST:
		case NfpPackage.DURATION__CLOCK:
		case NfpPackage.DURATION__PRECISION:
			fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
			return;
	}
	super.notifyChanged(notification);
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:24,代码来源:DurationItemProvider.java

示例13: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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 ( CurrentTimeComponent.class ) )
    {
        case CommonPackage.CURRENT_TIME_COMPONENT__NAME:
        case CommonPackage.CURRENT_TIME_COMPONENT__UPDATE_PERIOD:
        case CommonPackage.CURRENT_TIME_COMPONENT__DATE_FORMAT:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:23,代码来源:CurrentTimeComponentItemProvider.java

示例14: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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_softwarecomponent_logstash.class)) {
		case ExtendedtoscaPackage.TOSCA_NODES_SOFTWARECOMPONENT_LOGSTASH__PORT_NAME:
		case ExtendedtoscaPackage.TOSCA_NODES_SOFTWARECOMPONENT_LOGSTASH__PROTOCOL:
		case ExtendedtoscaPackage.TOSCA_NODES_SOFTWARECOMPONENT_LOGSTASH__PORT:
		case ExtendedtoscaPackage.TOSCA_NODES_SOFTWARECOMPONENT_LOGSTASH__INITIATOR:
		case ExtendedtoscaPackage.TOSCA_NODES_SOFTWARECOMPONENT_LOGSTASH__NETWORK_NAME:
		case ExtendedtoscaPackage.TOSCA_NODES_SOFTWARECOMPONENT_LOGSTASH__SECURE:
		case ExtendedtoscaPackage.TOSCA_NODES_SOFTWARECOMPONENT_LOGSTASH__PORTS:
		case ExtendedtoscaPackage.TOSCA_NODES_SOFTWARECOMPONENT_LOGSTASH__URL_PATH:
			fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
			return;
	}
	super.notifyChanged(notification);
}
 
开发者ID:occiware,项目名称:TOSCA-Studio,代码行数:26,代码来源:Tosca_nodes_softwarecomponent_logstashItemProvider.java

示例15: notifyChanged

import org.eclipse.emf.edit.provider.ViewerNotification; //导入依赖的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 ( org.eclipse.scada.protocol.ngp.model.Protocol.Enum.class ) )
    {
        case ProtocolPackage.ENUM__NAME:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) );
            return;
        case ProtocolPackage.ENUM__LITERALS:
            fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) );
            return;
    }
    super.notifyChanged ( notification );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:24,代码来源:EnumItemProvider.java


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