Search in sources :

Example 6 with RootFiles

use of org.eclipse.mylyn.docs.epub.ocf.RootFiles in project mylyn.docs by eclipse.

the class ContainerImpl method basicSetRootfiles.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetRootfiles(RootFiles newRootfiles, NotificationChain msgs) {
    RootFiles oldRootfiles = rootfiles;
    rootfiles = newRootfiles;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OCFPackage.CONTAINER__ROOTFILES, oldRootfiles, newRootfiles);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) RootFiles(org.eclipse.mylyn.docs.epub.ocf.RootFiles)

Aggregations

RootFiles (org.eclipse.mylyn.docs.epub.ocf.RootFiles)6 RootFile (org.eclipse.mylyn.docs.epub.ocf.RootFile)5 EPUB (org.eclipse.mylyn.docs.epub.core.EPUB)3 Container (org.eclipse.mylyn.docs.epub.ocf.Container)3 Test (org.junit.Test)3 File (java.io.File)2 IOException (java.io.IOException)1 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1 OPSPublication (org.eclipse.mylyn.docs.epub.core.OPSPublication)1 Publication (org.eclipse.mylyn.docs.epub.core.Publication)1