/** * This returns the property descriptors for the adapted class. */ @Override public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { if (itemPropertyDescriptors == null) { super.getPropertyDescriptors(object); } return itemPropertyDescriptors; }
/** * This handles notification by calling {@link #fireNotifyChanged fireNotifyChanged}. <!-- * begin-user-doc --> <!-- end-user-doc --> * * @generated */ public void notifyChanged(Notification notification) { super.notifyChanged(notification); }
/** * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children * that can be created under this object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected void collectNewChildDescriptors ( Collection<Object> newChildDescriptors, Object object ) { super.collectNewChildDescriptors ( newChildDescriptors, object ); }
/** * This is a temporary way to get the structural features that contribute children. It first calls the new * {link #getChildrenFeatues getChildrenFeatures} method and then, if the result is empty, tries the deprecated * {@link #getChildrenReferences getChildrenReferences} method. It is used, instead of just the new method, * throughout this class. */ private Collection<? extends EStructuralFeature> getAnyChildrenFeatures(Object object) { Collection<? extends EStructuralFeature> result = getChildrenFeatures(object); return result.isEmpty() ? getChildrenReferences(object) : result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EStructuralFeature getChildFeature ( Object object, Object child ) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildFeature ( object, child ); }
/** * This specifies how to implement {@link #getChildren(Object)} and is used to deduce an appropriate feature for an * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand(Object, org.eclipse.emf.edit.domain.EditingDomain, Class, org.eclipse.emf.edit.command.CommandParameter)}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Collection getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); childrenFeatures.add(FacesConfigPackage.Literals.MAP_ENTRIES_TYPE__MAP_ENTRY); } return childrenFeatures; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EStructuralFeature getChildFeature ( Object object, Object child ) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildFeature ( object, child ); }
/** * This specifies how to implement {@link #getChildren(Object)} and is used to deduce an appropriate feature for an * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand(Object, org.eclipse.emf.edit.domain.EditingDomain, Class, org.eclipse.emf.edit.command.CommandParameter)}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Collection getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__MIXED); } return childrenFeatures; }
/** * This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ public List getPropertyDescriptors(Object object) { if (itemPropertyDescriptors == null) { super.getPropertyDescriptors(object); } return itemPropertyDescriptors; }
/** * This handles notification by calling {@link #fireNotifyChanged fireNotifyChanged}. <!-- * begin-user-doc --> <!-- end-user-doc --> * * @generated */ public void notifyChanged(Notification notification) { super.notifyChanged(notification); }
/** * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children * that can be created under this object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected void collectNewChildDescriptors ( Collection<Object> newChildDescriptors, Object object ) { super.collectNewChildDescriptors ( newChildDescriptors, object ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EStructuralFeature getChildFeature ( Object object, Object child ) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildFeature ( object, child ); }
/** * This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ public List getPropertyDescriptors(Object object) { if (itemPropertyDescriptors == null) { super.getPropertyDescriptors(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 ); super.notifyChanged ( notification ); }
/** * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children * that can be created under this object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected void collectNewChildDescriptors ( Collection<Object> newChildDescriptors, Object object ) { super.collectNewChildDescriptors ( newChildDescriptors, object ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EStructuralFeature getChildFeature ( Object object, Object child ) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildFeature ( object, child ); }
/** * This returns the property descriptors for the adapted class. */ @Override public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { return super.getPropertyDescriptors(object); }
/** * 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 ); super.notifyChanged ( notification ); }
/** * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children * that can be created under this object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected void collectNewChildDescriptors ( Collection<Object> newChildDescriptors, Object object ) { super.collectNewChildDescriptors ( newChildDescriptors, object ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EStructuralFeature getChildFeature ( Object object, Object child ) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildFeature ( object, child ); }