/** * This returns the property descriptors for the adapted class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { if (itemPropertyDescriptors == null) { super.getPropertyDescriptors(object); addFinalPropertyDescriptor(object); addTransientPropertyDescriptor(object); addVolatilePropertyDescriptor(object); addJavaFieldPropertyDescriptor(object); addInitializerPropertyDescriptor(object); addTypePropertyDescriptor(object); } return itemPropertyDescriptors; }
/** * 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(JField.class)) { case JavaPackage.JFIELD__FINAL: case JavaPackage.JFIELD__TRANSIENT: case JavaPackage.JFIELD__VOLATILE: case JavaPackage.JFIELD__JAVA_FIELD: case JavaPackage.JFIELD__INITIALIZER: case JavaPackage.JFIELD__TYPE: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); }