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