org.eclipse.emf.edit.provider.ViewerNotification Java Examples
The following examples show how to use
org.eclipse.emf.edit.provider.ViewerNotification.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ExternalValueItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( ExternalValue.class ) ) { case ComponentPackage.EXTERNAL_VALUE__SOURCE_NAME: case ComponentPackage.EXTERNAL_VALUE__READABLE: case ComponentPackage.EXTERNAL_VALUE__WRITABLE: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; } super.notifyChanged ( notification ); }
Example #2
Source File: EventInjectorJdbcItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( EventInjectorJdbc.class ) ) { case OsgiPackage.EVENT_INJECTOR_JDBC__SELECT_SQL: case OsgiPackage.EVENT_INJECTOR_JDBC__DELETE_SQL: case OsgiPackage.EVENT_INJECTOR_JDBC__EXISTS_SQL: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; } super.notifyChanged ( notification ); }
Example #3
Source File: SinglePatternItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( SinglePattern.class ) ) { case ParserPackage.SINGLE_PATTERN__PREFIX: case ParserPackage.SINGLE_PATTERN__PATTERN: case ParserPackage.SINGLE_PATTERN__FULL_MATCH: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case ParserPackage.SINGLE_PATTERN__VALUE: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #4
Source File: EndpointItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( Endpoint.class ) ) { case WorldPackage.ENDPOINT__SHORT_DESCRIPTION: case WorldPackage.ENDPOINT__NAME: case WorldPackage.ENDPOINT__PORT_NUMBER: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case WorldPackage.ENDPOINT__BOUND_SERVICE: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #5
Source File: SubProfileItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( SubProfile.class ) ) { case ProfilePackage.SUB_PROFILE__NAME: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case ProfilePackage.SUB_PROFILE__PROPERTY: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #6
Source File: ComponentItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( Component.class ) ) { case ComponentPackage.COMPONENT__SHORT_DESCRIPTION: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case ComponentPackage.COMPONENT__PROPERTIES: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #7
Source File: CommandTypeItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( CommandType.class ) ) { case ConfigurationPackage.COMMAND_TYPE__ID: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case ConfigurationPackage.COMMAND_TYPE__PROCESS: case ConfigurationPackage.COMMAND_TYPE__EXTRACTOR: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #8
Source File: CurrentTimeControllerItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( CurrentTimeController.class ) ) { case ChartPackage.CURRENT_TIME_CONTROLLER__DIFF: case ChartPackage.CURRENT_TIME_CONTROLLER__ALIGN_DATE_FORMAT: case ChartPackage.CURRENT_TIME_CONTROLLER__TIMESPAN: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; } super.notifyChanged ( notification ); }
Example #9
Source File: AbstractEquinoxDriverItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( AbstractEquinoxDriver.class ) ) { case InfrastructurePackage.ABSTRACT_EQUINOX_DRIVER__INSTANCE_NUMBER: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case InfrastructurePackage.ABSTRACT_EQUINOX_DRIVER__USER_SERVICE: case InfrastructurePackage.ABSTRACT_EQUINOX_DRIVER__MODULES: case InfrastructurePackage.ABSTRACT_EQUINOX_DRIVER__CONFIGURATIONS: case InfrastructurePackage.ABSTRACT_EQUINOX_DRIVER__ACCESS_CREDENTIALS: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #10
Source File: AbstractGenericDatabaseSettingsItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( AbstractGenericDatabaseSettings.class ) ) { case WorldPackage.ABSTRACT_GENERIC_DATABASE_SETTINGS__ID: case WorldPackage.ABSTRACT_GENERIC_DATABASE_SETTINGS__USERNAME: case WorldPackage.ABSTRACT_GENERIC_DATABASE_SETTINGS__PASSWORD: case WorldPackage.ABSTRACT_GENERIC_DATABASE_SETTINGS__LOGIN_TIMEOUT: case WorldPackage.ABSTRACT_GENERIC_DATABASE_SETTINGS__DATABASE_NAME: case WorldPackage.ABSTRACT_GENERIC_DATABASE_SETTINGS__SERVER_NAME: case WorldPackage.ABSTRACT_GENERIC_DATABASE_SETTINGS__PORT_NUMBER: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case WorldPackage.ABSTRACT_GENERIC_DATABASE_SETTINGS__ADDITIONAL_PROPERTIES: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #11
Source File: TypeSystemItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( TypeSystem.class ) ) { case MemoryPackage.TYPE_SYSTEM__NAME: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case MemoryPackage.TYPE_SYSTEM__TYPES: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #12
Source File: ReadableComponentItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( ReadableComponent.class ) ) { case DetailViewPackage.READABLE_COMPONENT__FORMAT: case DetailViewPackage.READABLE_COMPONENT__DECIMAL: case DetailViewPackage.READABLE_COMPONENT__ATTRIBUTE: case DetailViewPackage.READABLE_COMPONENT__HD_CONNECTION_ID: case DetailViewPackage.READABLE_COMPONENT__HD_ITEM_ID: case DetailViewPackage.READABLE_COMPONENT__HD_QUERY_STRING: case DetailViewPackage.READABLE_COMPONENT__IS_TEXT: case DetailViewPackage.READABLE_COMPONENT__NULL_REPLACEMENT_VALUE: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; } super.notifyChanged ( notification ); }
Example #13
Source File: AlarmsEventsModuleItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ); }
Example #14
Source File: PlainTextItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( PlainText.class ) ) { case ParserPackage.PLAIN_TEXT__PREFIX: case ParserPackage.PLAIN_TEXT__TRIM: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case ParserPackage.PLAIN_TEXT__VALUE_CONVERTER: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #15
Source File: DaveRequestBlockItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( DaveRequestBlock.class ) ) { case DavePackage.DAVE_REQUEST_BLOCK__ID: case DavePackage.DAVE_REQUEST_BLOCK__NAME: case DavePackage.DAVE_REQUEST_BLOCK__AREA: case DavePackage.DAVE_REQUEST_BLOCK__BLOCK: case DavePackage.DAVE_REQUEST_BLOCK__OFFSET: case DavePackage.DAVE_REQUEST_BLOCK__LENGTH: case DavePackage.DAVE_REQUEST_BLOCK__PERIOD: case DavePackage.DAVE_REQUEST_BLOCK__ENABLE_STATISTICS: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; } super.notifyChanged ( notification ); }
Example #16
Source File: AttributeStructureItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( AttributeStructure.class ) ) { case ProtocolPackage.ATTRIBUTE_STRUCTURE__NAME: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case ProtocolPackage.ATTRIBUTE_STRUCTURE__ATTRIBUTES: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #17
Source File: SystemPropertyItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( SystemProperty.class ) ) { case ProfilePackage.SYSTEM_PROPERTY__KEY: case ProfilePackage.SYSTEM_PROPERTY__VALUE: case ProfilePackage.SYSTEM_PROPERTY__EVAL: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; } super.notifyChanged ( notification ); }
Example #18
Source File: ModbusSlaveItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( ModbusSlave.class ) ) { case ModbusPackage.MODBUS_SLAVE__UNIT_ADDRESS: case ModbusPackage.MODBUS_SLAVE__ID: case ModbusPackage.MODBUS_SLAVE__DATA_ORDER: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case ModbusPackage.MODBUS_SLAVE__BLOCKS: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #19
Source File: UrlInputItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( UrlInput.class ) ) { case ParserPackage.URL_INPUT__URL: case ParserPackage.URL_INPUT__PROBE_CHARACTER_SET: case ParserPackage.URL_INPUT__CHARSET: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; } super.notifyChanged ( notification ); }
Example #20
Source File: PullEventsItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( PullEvents.class ) ) { case OsgiPackage.PULL_EVENTS__SHORT_DESCRIPTION: case OsgiPackage.PULL_EVENTS__NAME: case OsgiPackage.PULL_EVENTS__JOB_INTERVAL: case OsgiPackage.PULL_EVENTS__CUSTOM_SELECT_SQL: case OsgiPackage.PULL_EVENTS__CUSTOM_DELETE_SQL: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; } super.notifyChanged ( notification ); }
Example #21
Source File: WorkflowItemProvider.java From scava with Eclipse Public License 2.0 | 6 votes |
/** * 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(Workflow.class)) { case CrossflowPackage.WORKFLOW__NAME: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; case CrossflowPackage.WORKFLOW__STREAMS: case CrossflowPackage.WORKFLOW__TASKS: case CrossflowPackage.WORKFLOW__TYPES: case CrossflowPackage.WORKFLOW__PARAMETERS: case CrossflowPackage.WORKFLOW__LANGUAGES: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } super.notifyChanged(notification); }
Example #22
Source File: CustomExtractorTypeItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( CustomExtractorType.class ) ) { case ConfigurationPackage.CUSTOM_EXTRACTOR_TYPE__CLASS: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case ConfigurationPackage.CUSTOM_EXTRACTOR_TYPE__ANY: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #23
Source File: JdbcDataMapperItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( JdbcDataMapper.class ) ) { case OsgiPackage.JDBC_DATA_MAPPER__JDBC_DRIVER: case OsgiPackage.JDBC_DATA_MAPPER__SQL: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case OsgiPackage.JDBC_DATA_MAPPER__PROPERTIES: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #24
Source File: TabularQueryTypeItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( TabularQueryType.class ) ) { case ConfigurationPackage.TABULAR_QUERY_TYPE__DEFAULT_UPDATE_SQL: case ConfigurationPackage.TABULAR_QUERY_TYPE__DEFAULT_UPDATE_SQL1: case ConfigurationPackage.TABULAR_QUERY_TYPE__ID_COLUMN: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case ConfigurationPackage.TABULAR_QUERY_TYPE__UPDATE_COLUMNS: case ConfigurationPackage.TABULAR_QUERY_TYPE__COMMANDS: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #25
Source File: ModbusDriverItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( ModbusDriver.class ) ) { case ModbusPackage.MODBUS_DRIVER__SHORT_DESCRIPTION: case ModbusPackage.MODBUS_DRIVER__NAME: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case ModbusPackage.MODBUS_DRIVER__CONNECTIONS: case ModbusPackage.MODBUS_DRIVER__EXPORTER: case ModbusPackage.MODBUS_DRIVER__CUSTOMIZATION_PROFILE: case ModbusPackage.MODBUS_DRIVER__MODULES: case ModbusPackage.MODBUS_DRIVER__MASTERS: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #26
Source File: DaveDriverItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( DaveDriver.class ) ) { case DavePackage.DAVE_DRIVER__SHORT_DESCRIPTION: case DavePackage.DAVE_DRIVER__NAME: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case DavePackage.DAVE_DRIVER__CONNECTIONS: case DavePackage.DAVE_DRIVER__EXPORTER: case DavePackage.DAVE_DRIVER__CUSTOMIZATION_PROFILE: case DavePackage.DAVE_DRIVER__MODULES: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #27
Source File: ScriptItemItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( ScriptItem.class ) ) { case OsgiPackage.SCRIPT_ITEM__INIT_SCRIPT: case OsgiPackage.SCRIPT_ITEM__UPDATE_SCRIPT: case OsgiPackage.SCRIPT_ITEM__SCRIPT_ENGINE: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case OsgiPackage.SCRIPT_ITEM__INPUTS: case OsgiPackage.SCRIPT_ITEM__TIMER: case OsgiPackage.SCRIPT_ITEM__COMMANDS: case OsgiPackage.SCRIPT_ITEM__WRITE_COMMAND_SCRIPT: case OsgiPackage.SCRIPT_ITEM__INIT_PROPERTIES: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #28
Source File: MappingsItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( Mappings.class ) ) { case DeploymentPackage.MAPPINGS__FALLBACK_MODE: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case DeploymentPackage.MAPPINGS__ENTRIES: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }
Example #29
Source File: UserEntryItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( UserEntry.class ) ) { case InfrastructurePackage.USER_ENTRY__NAME: case InfrastructurePackage.USER_ENTRY__PASSWORD: case InfrastructurePackage.USER_ENTRY__ROLES: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; } super.notifyChanged ( notification ); }
Example #30
Source File: ButtonComponentItemProvider.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * 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 ( ButtonComponent.class ) ) { case DetailViewPackage.BUTTON_COMPONENT__FORMAT: case DetailViewPackage.BUTTON_COMPONENT__VALUE: case DetailViewPackage.BUTTON_COMPONENT__READ_DESCRIPTOR: case DetailViewPackage.BUTTON_COMPONENT__WRITE_DESCRIPTOR: case DetailViewPackage.BUTTON_COMPONENT__ATTRIBUTE: case DetailViewPackage.BUTTON_COMPONENT__TEXT_HEIGHT: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; case DetailViewPackage.BUTTON_COMPONENT__ACTIVE: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), true, false ) ); return; } super.notifyChanged ( notification ); }