/** * 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(DocumentRoot.class)) { case RulesPackage.DOCUMENT_ROOT__ACTION: case RulesPackage.DOCUMENT_ROOT__ACTIONS: case RulesPackage.DOCUMENT_ROOT__CHANNEL: case RulesPackage.DOCUMENT_ROOT__CHANNELS: case RulesPackage.DOCUMENT_ROOT__CONTAINER: case RulesPackage.DOCUMENT_ROOT__GLOBALS: case RulesPackage.DOCUMENT_ROOT__IMPLEMENTATION_RULES: case RulesPackage.DOCUMENT_ROOT__INPUTS: case RulesPackage.DOCUMENT_ROOT__LISTENER: case RulesPackage.DOCUMENT_ROOT__LISTENERS: case RulesPackage.DOCUMENT_ROOT__LOGGER: case RulesPackage.DOCUMENT_ROOT__LOGGERS: case RulesPackage.DOCUMENT_ROOT__MANIFEST: case RulesPackage.DOCUMENT_ROOT__MAPPING: case RulesPackage.DOCUMENT_ROOT__OUTPUTS: case RulesPackage.DOCUMENT_ROOT__PROPERTIES: case RulesPackage.DOCUMENT_ROOT__PROPERTY: case RulesPackage.DOCUMENT_ROOT__RESOURCE: case RulesPackage.DOCUMENT_ROOT__RESOURCES: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } super.notifyChanged(notification); }
@Override public void notifyChanged(Notification notification) { if (notification.getFeatureID(Diagram.class) == NotationPackage.DIAGRAM__NAME && notification.getNotifier() == diagram) { setPartName(diagram.getName()); } }
@Override public void notifyChanged(final Notification msg) { switch (msg.getFeatureID(SdrPackage.class)) { case SdrPackage.SDR_ROOT__LOAD_STATUS: // The value is the changed load status which will go to null during loading // once loading is finished the status will change to reflect that of the SDRROOT. if (msg.getNewValue() != null) { Job refreshExternalSettingProviderJob = new Job("Refresh External Settings Providers") { @Override protected IStatus run(IProgressMonitor monitor) { CoreModel.getDefault() .getProjectDescriptionManager() .updateExternalSettingsProviders( new String[] {ExternalSettingProvider.ID}, monitor); return Status.OK_STATUS; } }; refreshExternalSettingProviderJob.setSystem(true); // hide from progress monitor refreshExternalSettingProviderJob.setUser(false); refreshExternalSettingProviderJob.schedule(1000); } break; default: break; } }
@Override public void notifyChanged(Notification notification) { assert getHost() != null; if (notification.getEventType() != Notification.SET) return; boolean hasChanged = false; switch (notification.getFeatureID(GridLayoutRule.class)) { case SWTStylesPackage.GRID_LAYOUT_RULE__MAKE_COLUMNS_EQUAL_WIDTH: hasChanged = !CompareUtils.areEquals( notification.getOldBooleanValue(), notification.getNewBooleanValue()); break; case SWTStylesPackage.GRID_LAYOUT_RULE__HORIZONTAL_SPACING: case SWTStylesPackage.GRID_LAYOUT_RULE__MARGIN_BOTTOM: case SWTStylesPackage.GRID_LAYOUT_RULE__MARGIN_HEIGHT: case SWTStylesPackage.GRID_LAYOUT_RULE__MARGIN_LEFT: case SWTStylesPackage.GRID_LAYOUT_RULE__MARGIN_RIGHT: case SWTStylesPackage.GRID_LAYOUT_RULE__MARGIN_TOP: case SWTStylesPackage.GRID_LAYOUT_RULE__MARGIN_WIDTH: case SWTStylesPackage.GRID_LAYOUT_RULE__NUM_COLUMNS: case SWTStylesPackage.GRID_LAYOUT_RULE__VERTICAL_SPACING: hasChanged = !CompareUtils.areEquals(notification.getOldIntValue(), notification.getNewIntValue()); break; default: super.notifyChanged(notification); } if (hasChanged && getHost().styleRuleUpdated((StyleRule) notification.getNotifier())) reCreateWidgetView(); }
/** * 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(ListFieldMetaData.class)) { case RfcPackage.LIST_FIELD_META_DATA__NAME: case RfcPackage.LIST_FIELD_META_DATA__TYPE: case RfcPackage.LIST_FIELD_META_DATA__BYTE_LENGTH: case RfcPackage.LIST_FIELD_META_DATA__UNICODE_BYTE_LENGTH: case RfcPackage.LIST_FIELD_META_DATA__DECIMALS: case RfcPackage.LIST_FIELD_META_DATA__DEFAULTS: case RfcPackage.LIST_FIELD_META_DATA__DESCRIPTION: case RfcPackage.LIST_FIELD_META_DATA__IMPORT: case RfcPackage.LIST_FIELD_META_DATA__CHANGING: case RfcPackage.LIST_FIELD_META_DATA__EXPORT: case RfcPackage.LIST_FIELD_META_DATA__EXCEPTION: case RfcPackage.LIST_FIELD_META_DATA__OPTIONAL: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; case RfcPackage.LIST_FIELD_META_DATA__FIELD_META_DATA: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } super.notifyChanged(notification); }
/** * 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(ComparativeRiskAssessmentForm.class)) { case HazardPackage.COMPARATIVE_RISK_ASSESSMENT_FORM__SEC_TRACKING_NUMBER: case HazardPackage.COMPARATIVE_RISK_ASSESSMENT_FORM__CRA_TITLE: case HazardPackage.COMPARATIVE_RISK_ASSESSMENT_FORM__SYSTEM: case HazardPackage.COMPARATIVE_RISK_ASSESSMENT_FORM__SUMMARY: case HazardPackage.COMPARATIVE_RISK_ASSESSMENT_FORM__BASELINE: case HazardPackage.COMPARATIVE_RISK_ASSESSMENT_FORM__PROPOSED_CHANGE: case HazardPackage.COMPARATIVE_RISK_ASSESSMENT_FORM__DESCRIPTION: case HazardPackage.COMPARATIVE_RISK_ASSESSMENT_FORM__ASSESSMENT_SUMMARY: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; case HazardPackage.COMPARATIVE_RISK_ASSESSMENT_FORM__REFERENCES: case HazardPackage.COMPARATIVE_RISK_ASSESSMENT_FORM__RISK_ASSESSMENT: case HazardPackage.COMPARATIVE_RISK_ASSESSMENT_FORM__HAZARD_LIST: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } super.notifyChanged(notification); }
@Override public void notifyChanged(Notification notification) { if (notification.getNotifier() instanceof Resource) { switch (notification.getFeatureID(Resource.class)) { case Resource.RESOURCE__IS_LOADED: case Resource.RESOURCE__ERRORS: case Resource.RESOURCE__WARNINGS: { Resource resource = (Resource) notification.getNotifier(); Diagnostic diagnostic = analyzeResourceProblems(resource, null); if (diagnostic.getSeverity() != Diagnostic.OK) { resourceToDiagnosticMap.put(resource, diagnostic); } else { resourceToDiagnosticMap.remove(resource); } if (updateProblemIndication) { getSite() .getShell() .getDisplay() .asyncExec( new Runnable() { @Override public void run() { updateProblemIndication(); } }); } break; } } } else { super.notifyChanged(notification); } }
/** {@inheritDoc} */ @Override public void notifyChanged(final Notification notification) { updateChildren(notification); switch (notification.getFeatureID(Implementation.class)) { case SpdPackage.IMPLEMENTATION__DESCRIPTION: case SpdPackage.IMPLEMENTATION__PROPERTY_FILE: case SpdPackage.IMPLEMENTATION__CODE: case SpdPackage.IMPLEMENTATION__COMPILER: case SpdPackage.IMPLEMENTATION__PROGRAMMING_LANGUAGE: case SpdPackage.IMPLEMENTATION__HUMAN_LANGUAGE: case SpdPackage.IMPLEMENTATION__RUNTIME: case SpdPackage.IMPLEMENTATION__AEP_COMPLIANCE: case SpdPackage.IMPLEMENTATION__ID: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; case SpdPackage.IMPLEMENTATION__OS: case SpdPackage.IMPLEMENTATION__PROCESSOR: case SpdPackage.IMPLEMENTATION__DEPENDENCY: case SpdPackage.IMPLEMENTATION__USES_DEVICE: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), true, false)); return; default: break; } super.notifyChanged(notification); }
/** * @see * org.eclipse.emf.common.notify.impl.AdapterImpl#notifyChanged(org.eclipse.emf.common.notify.Notification) */ public void notifyChanged(Notification msg) { switch (msg.getFeatureID(Project.class)) { case ProjectPackage.PROJECT__ELEMENTS_INTERNAL: case ProjectPackage.PROJECT__NAME: if (ProjectImpl.this.eResource() != null) ProjectImpl.this.eResource().setModified(true); } }
public void notifyChanged(Notification msg) { if (debug) { DebugTrace.print(this, "notifyChanged", "msg=" + msg); // $NON-NLS-1$ //$NON-NLS-2$ } if (msg.getFeatureID(null) == Resource.RESOURCE__IS_MODIFIED && msg.getEventType() == org.eclipse.emf.common.notify.Notification.SET) { firePropertyChange(msg.getNotifier(), PROP_DIRTY); } }
/** * This handles notification by calling {@link #fireNotifyChanged fireNotifyChanged}. * <!-- * begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void notifyChanged(Notification notification) { switch (notification.getFeatureID(Listener.class)) { case CommonPackage.LISTENER__LISTENER_CLASS: fireNotifyChanged(notification); return; } super.notifyChanged(notification); }
protected void handleNotification(Resource resource, Notification msg) { switch (msg.getFeatureID(Resource.class)) { case Resource.RESOURCE__IS_LOADED: if (msg.getNewBooleanValue()) { handleResourceLoaded(resource); } break; } }
/* * (non-Javadoc) * * @see com.ibm.library.edit.process.BreakdownElementItemProvider#notifyChanged(org.eclipse.emf.common.notify.Notification) */ public void notifyChanged(Notification notification) { updateChildren(notification); switch (notification.getFeatureID(RoleDescriptor.class)) { case UmaPackage.ROLE_DESCRIPTOR__RESPONSIBLE_FOR: refreshChildren(notification); return; } super.notifyChanged(notification); }
/** * 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 */ public void notifyChanged(Notification notification) { updateChildren(notification); switch (notification.getFeatureID(Bean.class)) { case BeansPackage.BEAN__PROPERTIES: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } super.notifyChanged(notification); }
/** * 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 */ public void notifyChanged(Notification notification) { updateChildren(notification); switch (notification.getFeatureID(ReferenceMapping.class)) { case PccsPackage.REFERENCE_MAPPING__QNAME: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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 */ public void notifyChanged(Notification notification) { updateChildren(notification); switch (notification.getFeatureID(ArrayDataType.class)) { case SQLDataTypesPackage.ARRAY_DATA_TYPE__MAX_CARDINALITY: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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 */ public void notifyChanged(Notification notification) { updateChildren(notification); switch (notification.getFeatureID(StringValueMapping.class)) { case PccsPackage.STRING_VALUE_MAPPING__VALUE: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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 */ public void notifyChanged(Notification notification) { updateChildren(notification); switch (notification.getFeatureID(FunctionExpr.class)) { case TefkatPackage.FUNCTION_EXPR__FUNCTION: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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(FeatureAttribute.class)) { case FeaturesPackage.FEATURE_ATTRIBUTE__DATA: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } super.notifyChanged(notification); }
/** * 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(Kleidung.class)) { case Shr5Package.KLEIDUNG__RUESTUNG: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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(UMLDestructionEventChangeRightTarget.class)) { case UML2DiffPackage.UML_DESTRUCTION_EVENT_CHANGE_RIGHT_TARGET__IS_COLLAPSED: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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(Block.class)) { case BlocksPackage.BLOCK__IS_ENCAPSULATED: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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(BooleanLiteral.class)) { case JavaPackage.BOOLEAN_LITERAL__VALUE: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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(StringLiteral.class)) { case CorePackage.STRING_LITERAL__STRING: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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(TagVersionSpec.class)) { case VersioningPackage.TAG_VERSION_SPEC__NAME: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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(RegistryKeyProperty.class)) { case DsPackage.REGISTRY_KEY_PROPERTY__KEY: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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(Event.class)) { case FlowPackage.EVENT__NAME: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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(Delay.class)) { case MindstormsPackage.DELAY__MS: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }
/** * 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(QNameAssertionType.class)) { case _200702Package.QNAME_ASSERTION_TYPE__ANY_ATTRIBUTE: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } super.notifyChanged(notification); }
/** * 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(StaticEEFEditorContribution.class)) { case EditorPackage.STATIC_EEF_EDITOR_CONTRIBUTION__INPUT: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } super.notifyChanged(notification); }