Search in sources :

Example 1 with DBindingEditorDescription

use of org.obeonetwork.dsl.environment.bindingdialect.description.DBindingEditorDescription in project InformationSystem by ObeoNetwork.

the class BindingDialectUIServices method provideNewChildDescriptors.

/**
 * {@inheritDoc}
 *
 * @see org.eclipse.sirius.ui.business.api.dialect.DialectUIServices#provideNewChildDescriptors()
 */
@Override
public Collection<CommandParameter> provideNewChildDescriptors() {
    final Collection<CommandParameter> newChilds = new ArrayList<CommandParameter>();
    final DBindingEditorDescription description = DescriptionFactory.eINSTANCE.createDBindingEditorDescription();
    newChilds.add(new CommandParameter(null, DescriptionPackage.Literals.VIEWPOINT__OWNED_REPRESENTATIONS, description));
    return newChilds;
}
Also used : CommandParameter(org.eclipse.emf.edit.command.CommandParameter) DBindingEditorDescription(org.obeonetwork.dsl.environment.bindingdialect.description.DBindingEditorDescription) ArrayList(java.util.ArrayList)

Example 2 with DBindingEditorDescription

use of org.obeonetwork.dsl.environment.bindingdialect.description.DBindingEditorDescription in project InformationSystem by ObeoNetwork.

the class DBindingEditorCreationDescriptionImpl method setDescription.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setDescription(DBindingEditorDescription newDescription) {
    DBindingEditorDescription oldDescription = description;
    description = newDescription;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, DescriptionPackage.DBINDING_EDITOR_CREATION_DESCRIPTION__DESCRIPTION, oldDescription, description));
}
Also used : DBindingEditorDescription(org.obeonetwork.dsl.environment.bindingdialect.description.DBindingEditorDescription) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 3 with DBindingEditorDescription

use of org.obeonetwork.dsl.environment.bindingdialect.description.DBindingEditorDescription in project InformationSystem by ObeoNetwork.

the class DBindingEditorImpl method setDescription.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setDescription(DBindingEditorDescription newDescription) {
    DBindingEditorDescription oldDescription = description;
    description = newDescription;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, BindingdialectPackage.DBINDING_EDITOR__DESCRIPTION, oldDescription, description));
}
Also used : DBindingEditorDescription(org.obeonetwork.dsl.environment.bindingdialect.description.DBindingEditorDescription) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

DBindingEditorDescription (org.obeonetwork.dsl.environment.bindingdialect.description.DBindingEditorDescription)3 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)2 ArrayList (java.util.ArrayList)1 CommandParameter (org.eclipse.emf.edit.command.CommandParameter)1