This commit is contained in:
Laurent Fainsin 2021-10-15 17:13:03 +02:00
commit 570e07fbf5
65 changed files with 484 additions and 9958 deletions

View file

@ -4886,3 +4886,203 @@ java.lang.InterruptedException
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:220)
at java.base/java.lang.Thread.run(Thread.java:829)
!SESSION 2021-10-15 12:22:22.416 -----------------------------------------------
eclipse.buildId=4.17.0.I20200902-1800
java.version=11.0.11
java.vendor=Ubuntu
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Framework arguments: -product org.eclipse.epp.package.modeling.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.modeling.product
!ENTRY org.eclipse.emf.cdo.explorer 4 0 2021-10-15 12:29:05.095
!MESSAGE InterruptedException
!STACK 0
java.lang.InterruptedException
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1343)
at java.base/java.util.concurrent.Semaphore.acquire(Semaphore.java:318)
at org.eclipse.net4j.util.lifecycle.Lifecycle.lock(Lifecycle.java:312)
at org.eclipse.net4j.util.lifecycle.Lifecycle.internalDeactivate(Lifecycle.java:118)
at org.eclipse.net4j.util.lifecycle.ShareableLifecycle.internalDeactivate(ShareableLifecycle.java:52)
at org.eclipse.net4j.util.lifecycle.Lifecycle.deactivate(Lifecycle.java:170)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.deactivate(LifecycleUtil.java:235)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.deactivate(LifecycleUtil.java:225)
at org.eclipse.emf.cdo.internal.explorer.bundle.OM.disposeManagers(OM.java:83)
at org.eclipse.emf.cdo.internal.explorer.bundle.OM$Activator.doStop(OM.java:136)
at org.eclipse.net4j.util.om.OSGiActivator.stop(OSGiActivator.java:92)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:871)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:863)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1025)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:370)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1886)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1761)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:202)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:220)
at java.base/java.lang.Thread.run(Thread.java:829)
!SESSION 2021-10-15 12:29:35.508 -----------------------------------------------
eclipse.buildId=4.17.0.I20200902-1800
java.version=11.0.11
java.vendor=Ubuntu
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Framework arguments: -product org.eclipse.epp.package.modeling.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.modeling.product
!ENTRY org.eclipse.emf.cdo.explorer 4 0 2021-10-15 12:33:56.847
!MESSAGE InterruptedException
!STACK 0
java.lang.InterruptedException
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1343)
at java.base/java.util.concurrent.Semaphore.acquire(Semaphore.java:318)
at org.eclipse.net4j.util.lifecycle.Lifecycle.lock(Lifecycle.java:312)
at org.eclipse.net4j.util.lifecycle.Lifecycle.internalDeactivate(Lifecycle.java:118)
at org.eclipse.net4j.util.lifecycle.ShareableLifecycle.internalDeactivate(ShareableLifecycle.java:52)
at org.eclipse.net4j.util.lifecycle.Lifecycle.deactivate(Lifecycle.java:170)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.deactivate(LifecycleUtil.java:235)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.deactivate(LifecycleUtil.java:225)
at org.eclipse.emf.cdo.internal.explorer.bundle.OM.disposeManagers(OM.java:83)
at org.eclipse.emf.cdo.internal.explorer.bundle.OM$Activator.doStop(OM.java:136)
at org.eclipse.net4j.util.om.OSGiActivator.stop(OSGiActivator.java:92)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:871)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:863)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1025)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:370)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1886)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1761)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:202)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:220)
at java.base/java.lang.Thread.run(Thread.java:829)
!SESSION 2021-10-15 12:34:32.211 -----------------------------------------------
eclipse.buildId=4.17.0.I20200902-1800
java.version=11.0.11
java.vendor=Ubuntu
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Framework arguments: -product org.eclipse.epp.package.modeling.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.modeling.product
!ENTRY org.eclipse.emf.cdo.explorer 4 0 2021-10-15 12:56:28.121
!MESSAGE InterruptedException
!STACK 0
java.lang.InterruptedException
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1343)
at java.base/java.util.concurrent.Semaphore.acquire(Semaphore.java:318)
at org.eclipse.net4j.util.lifecycle.Lifecycle.lock(Lifecycle.java:312)
at org.eclipse.net4j.util.lifecycle.Lifecycle.internalDeactivate(Lifecycle.java:118)
at org.eclipse.net4j.util.lifecycle.ShareableLifecycle.internalDeactivate(ShareableLifecycle.java:52)
at org.eclipse.net4j.util.lifecycle.Lifecycle.deactivate(Lifecycle.java:170)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.deactivate(LifecycleUtil.java:235)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.deactivate(LifecycleUtil.java:225)
at org.eclipse.emf.cdo.internal.explorer.bundle.OM.disposeManagers(OM.java:83)
at org.eclipse.emf.cdo.internal.explorer.bundle.OM$Activator.doStop(OM.java:136)
at org.eclipse.net4j.util.om.OSGiActivator.stop(OSGiActivator.java:92)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:871)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:863)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1025)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:370)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1886)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1761)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:202)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:220)
at java.base/java.lang.Thread.run(Thread.java:829)
!SESSION 2021-10-15 16:10:08.764 -----------------------------------------------
eclipse.buildId=4.17.0.I20200902-1800
java.version=11.0.11
java.vendor=Ubuntu
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Framework arguments: -product org.eclipse.epp.package.modeling.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.modeling.product
!ENTRY org.eclipse.emf.cdo.explorer 4 0 2021-10-15 16:31:15.057
!MESSAGE InterruptedException
!STACK 0
java.lang.InterruptedException
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1343)
at java.base/java.util.concurrent.Semaphore.acquire(Semaphore.java:318)
at org.eclipse.net4j.util.lifecycle.Lifecycle.lock(Lifecycle.java:312)
at org.eclipse.net4j.util.lifecycle.Lifecycle.internalDeactivate(Lifecycle.java:118)
at org.eclipse.net4j.util.lifecycle.ShareableLifecycle.internalDeactivate(ShareableLifecycle.java:52)
at org.eclipse.net4j.util.lifecycle.Lifecycle.deactivate(Lifecycle.java:170)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.deactivate(LifecycleUtil.java:235)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.deactivate(LifecycleUtil.java:225)
at org.eclipse.emf.cdo.internal.explorer.bundle.OM.disposeManagers(OM.java:83)
at org.eclipse.emf.cdo.internal.explorer.bundle.OM$Activator.doStop(OM.java:136)
at org.eclipse.net4j.util.om.OSGiActivator.stop(OSGiActivator.java:92)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:871)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:863)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1025)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:370)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1886)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1761)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:202)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:220)
at java.base/java.lang.Thread.run(Thread.java:829)
!SESSION 2021-10-15 16:33:29.641 -----------------------------------------------
eclipse.buildId=4.17.0.I20200902-1800
java.version=11.0.11
java.vendor=Ubuntu
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Framework arguments: -product org.eclipse.epp.package.modeling.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.modeling.product
!ENTRY org.eclipse.emf.cdo.explorer 4 0 2021-10-15 17:11:04.728
!MESSAGE InterruptedException
!STACK 0
java.lang.InterruptedException
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1343)
at java.base/java.util.concurrent.Semaphore.acquire(Semaphore.java:318)
at org.eclipse.net4j.util.lifecycle.Lifecycle.lock(Lifecycle.java:312)
at org.eclipse.net4j.util.lifecycle.Lifecycle.internalDeactivate(Lifecycle.java:118)
at org.eclipse.net4j.util.lifecycle.ShareableLifecycle.internalDeactivate(ShareableLifecycle.java:52)
at org.eclipse.net4j.util.lifecycle.Lifecycle.deactivate(Lifecycle.java:170)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.deactivate(LifecycleUtil.java:235)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.deactivate(LifecycleUtil.java:225)
at org.eclipse.emf.cdo.internal.explorer.bundle.OM.disposeManagers(OM.java:83)
at org.eclipse.emf.cdo.internal.explorer.bundle.OM$Activator.doStop(OM.java:136)
at org.eclipse.net4j.util.om.OSGiActivator.stop(OSGiActivator.java:92)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:871)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:863)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1025)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:370)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1886)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1761)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:202)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:220)
at java.base/java.lang.Thread.run(Thread.java:829)

View file

@ -1,125 +0,0 @@
package simplepdl.manip;
import java.io.IOException;
import java.util.Collections;
import java.util.Map;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl;
import petrinet.PetrinetPackage;
import petrinet.Place;
import petrinet.Transition;
import petrinet.Arc;
import petrinet.Network;
import petrinet.PetrinetFactory;
import simplepdl.Process;
import simplepdl.WorkDefinition;
import simplepdl.WorkSequence;
import simplepdl.WorkSequenceType;
import simplepdl.SimplepdlFactory;
import simplepdl.SimplepdlPackage;
public class simplepdl2petrinet {
public static void main(String[] args) {
// Charger les package SimplePDL et Petrinet afin de les enregistrer dans le registre d'Eclipse.
SimplepdlPackage packageInstance = SimplepdlPackage.eINSTANCE;
PetrinetPackage packageInstance2 = PetrinetPackage.eINSTANCE;
// Enregistrer l'extension ".xmi" comme devant être ouverte à
// l'aide d'un objet "XMIResourceFactoryImpl"
Resource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE;
Map<String, Object> m = reg.getExtensionToFactoryMap();
m.put("xmi", new XMIResourceFactoryImpl());
// Créer un objet resourceSetImpl qui contiendra une ressource EMF (le modèle)
ResourceSet resGet = new ResourceSetImpl();
// Charger la ressource (notre modèle)
URI modelURI = URI.createURI("pdl-sujet.xmi");
Resource resource = resGet.getResource(modelURI, true);
// Récupérer le premier élément du modèle (élément racine)
Process process = (Process) resource.getContents().get(0);
// La fabrique pour fabriquer les éléments de PetriNET
PetrinetFactory myFactory = PetrinetFactory.eINSTANCE;
// Créer un élément Network
Network network = myFactory.createNetwork();
network.setName(process.getName());
// Conversion des WorkDefinition en Node et Transition
for (Object o : process.getProcessElements()) {
if (o instanceof WorkDefinition) {
WorkDefinition wd = (WorkDefinition) o;
String name = wd.getName();
System.out.println(" - " + name);
Place idle = myFactory.createPlace();
idle.setName(name + "_idle");
idle.setTokens(1);
Place running = myFactory.createPlace();
running.setName(name + "_running");
running.setTokens(1);
Place finished = myFactory.createPlace();
finished.setName(name + "_finished");
finished.setTokens(1);
Arc pause2start = myFactory.createArc();
pause2start.setTarget(idle);
pause2start.setOutgoing(false);
pause2start.setWeight(1);
Arc start2running = myFactory.createArc();
start2running.setTarget(running);
start2running.setOutgoing(true);
start2running.setWeight(1);
Transition start = myFactory.createTransition();
start.setName(name + "_start");
start.getArcs().add(pause2start);
start.getArcs().add(start2running);
Arc running2finish = myFactory.createArc();
running2finish.setTarget(running);
running2finish.setOutgoing(false);
running2finish.setWeight(1);
Arc finish2finished = myFactory.createArc();
finish2finished.setTarget(finished);
finish2finished.setOutgoing(true);
finish2finished.setWeight(1);
Transition finish = myFactory.createTransition();
finish.setName(name + "_finish");
finish.getArcs().add(running2finish);
finish.getArcs().add(finish2finished);
System.out.println(" + " + idle.getName());
network.getNodes().add(idle);
network.getNodes().add(start);
network.getNodes().add(running);
network.getNodes().add(finish);
network.getNodes().add(finished);
}
}
// Créer un objet resourceSetImpl qui contiendra une ressource EMF (le modèle)
ResourceSet resSet = new ResourceSetImpl();
// Créer le nouveau xmi (modèle convertit)
URI convURI = URI.createURI("test.xmi");
Resource conv = resSet.createResource(convURI);
// Sauver la ressource
try {
conv.save(Collections.EMPTY_MAP);
} catch (IOException e) {
e.printStackTrace();
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<dirs>
<entry loc="/usr/lib/jvm/java-11-openjdk-amd64" stamp="1626701536013"/>
<entry loc="/usr/lib/jvm/java-11-openjdk-amd64" stamp="1626789585273"/>
</dirs>

View file

@ -2,8 +2,8 @@
<qualifiedTypeNameHistroy>
<fullyQualifiedTypeName name="petrinet.PetrinetPackage"/>
<fullyQualifiedTypeName name="petrinet.Network"/>
<fullyQualifiedTypeName name="petrinet.Place"/>
<fullyQualifiedTypeName name="petrinet.Transition"/>
<fullyQualifiedTypeName name="petrinet.Arc"/>
<fullyQualifiedTypeName name="simplepdl.WorkSequenceType"/>
<fullyQualifiedTypeName name="petrinet.Transition"/>
<fullyQualifiedTypeName name="petrinet.Place"/>
</qualifiedTypeNameHistroy>

View file

@ -1,2 +1,2 @@
#Cached timestamps
#Fri Oct 15 12:07:47 CEST 2021
#Fri Oct 15 17:11:04 CEST 2021

View file

@ -1,5 +1,5 @@
#safe table
#Fri Oct 15 12:07:47 CEST 2021
#Fri Oct 15 17:11:04 CEST 2021
.orphans=0
.mainData=0
.contributors=0
@ -7,4 +7,4 @@
.extraData=0
.contributions=0
.table=0
.crc2352a5f3.v1
.crc74c93996.v1

View file

@ -1,5 +1,5 @@
#safe table
#Fri Oct 15 12:07:47 CEST 2021
#Fri Oct 15 17:11:04 CEST 2021
.orphans=1
.mainData=1
.contributors=1
@ -7,4 +7,4 @@
.extraData=1
.contributions=1
.table=1
.crcec209fc8.v1
.crcbbbb03ad.v1

View file

@ -1,5 +1,5 @@
#Configuration File
#Fri Oct 15 11:16:18 CEST 2021
#Fri Oct 15 16:33:46 CEST 2021
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=file\:/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09/plugins/org.eclipse.platform_4.17.0.v20200902-1800
osgi.install.area=file\:/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09/

View file

@ -1,5 +1,5 @@
#
#Fri Oct 15 11:16:18 CEST 2021
#Fri Oct 15 16:33:46 CEST 2021
fr.n7.simplepdl.edit=bin
fr.n7.simplepdl.txt.pdl.ide=bin
fr.n7.pdl3.ui.tests=test-bin

View file

@ -1,5 +1,5 @@
#safe table
#Fri Oct 15 12:07:40 CEST 2021
#Fri Oct 15 17:11:01 CEST 2021
.orphans=0
.mainData=0
.contributors=0
@ -7,4 +7,4 @@
.extraData=0
.contributions=0
.table=0
.crc046ae770.v1
.crc4a8cfacf.v1

View file

@ -1,5 +1,5 @@
#safe table
#Fri Oct 15 12:07:40 CEST 2021
#Fri Oct 15 17:11:01 CEST 2021
.orphans=1
.mainData=1
.contributors=1
@ -7,4 +7,4 @@
.extraData=1
.contributions=1
.table=1
.crccb18dd4b.v1
.crc85fec0f4.v1

View file

@ -1,4 +1,4 @@
#safe table
#Fri Oct 15 11:16:49 CEST 2021
#Fri Oct 15 16:34:17 CEST 2021
framework.info=1
.crc6f3446af.v1
.crccb037df4.v1

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<config date="1634289382919" transient="false" version="3.0">
<config date="1634308432087" transient="false" version="3.0">
<site enabled="true" policy="USER-EXCLUDE" updateable="true" url="platform:/base/">
<feature id="org.eclipse.help" plugin-identifier="org.eclipse.help.base" url="features/org.eclipse.help_2.3.300.v20200902-1800/" version="2.3.300.v20200902-1800">
</feature>

View file

@ -1,4 +1,4 @@
# List of external plug-in models previously loaded. Timestamp: 1634289352883
# List of external plug-in models previously loaded. Timestamp: 1634308417850
file:/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09/plugins/com.google.guava_27.1.0.v20190517-1946.jar
file:/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09/plugins/com.google.inject_3.0.0.v201605172100.jar
file:/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09/plugins/com.ibm.icu_67.1.0.v20200706-1749.jar

View file

@ -6,8 +6,9 @@
<item key="wholeword" value="false"/>
<item key="incremental" value="false"/>
<item key="isRegEx" value="false"/>
<item key="selection" value="petriNet.ecore"/>
<item key="selection" value="getText"/>
<list key="findhistory">
<item value="getText"/>
<item value="petriNET.ecore"/>
<item value="args"/>
<item value="SimplePDL"/>
@ -20,7 +21,7 @@
</section>
<section name="org.eclipse.ui.texteditor.FindReplaceDialog_dialogBounds">
<item key="DIALOG_X_ORIGIN" value="817"/>
<item key="DIALOG_Y_ORIGIN" value="561"/>
<item key="DIALOG_Y_ORIGIN" value="513"/>
<item key="DIALOG_WIDTH" value="465"/>
<item key="DIALOG_HEIGHT" value="440"/>
<item key="DIALOG_FONT_NAME" value="1|Ubuntu|11.0|0|GTK|1|"/>

View file

@ -1,3 +1,3 @@
#Fri Oct 15 11:15:47 CEST 2021
#Fri Oct 15 16:33:31 CEST 2021
org.eclipse.core.runtime=2
org.eclipse.platform=4.17.0.v20200902-1800

View file

@ -24,6 +24,8 @@ import org.eclipse.emf.edit.provider.ViewerNotification;
import petrinet.Arc;
import petrinet.PetrinetPackage;
import petrinet.Place;
import petrinet.Transition;
/**
* This is the item provider adapter for a {@link petrinet.Arc} object.
@ -153,7 +155,13 @@ public class ArcItemProvider
@Override
public String getText(Object object) {
Arc arc = (Arc)object;
return getString("_UI_Arc_type") + " " + arc.getWeight();
Transition transition = arc.getTransition();
Place place = arc.getPlace();
int weight = arc.getWeight();
boolean outgoing = arc.isOutgoing();
return (outgoing) ?
transition.getName() + " --" + weight + "--> " + place.getName():
place.getName() + " --" + weight + "--> " + transition.getName();
}
@ -162,13 +170,15 @@ public class ArcItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated NOT
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
switch (notification.getFeatureID(Arc.class)) {
case PetrinetPackage.ARC__PLACE:
case PetrinetPackage.ARC__TRANSITION:
case PetrinetPackage.ARC__WEIGHT:
case PetrinetPackage.ARC__OUTGOING:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));

View file

@ -110,14 +110,14 @@ public class PlaceItemProvider extends NodeItemProvider {
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @generated NOT
*/
@Override
public String getText(Object object) {
String label = ((Place)object).getName();
return label == null || label.length() == 0 ?
getString("_UI_Place_type") :
getString("_UI_Place_type") + " " + label;
getString("_UI_Place_type") + " " + label + " (" + ((Place)object).getTokens() +")";
}

View file

@ -203,8 +203,8 @@ public class simplepdl2petrinet {
if (node instanceof Place) {
Place place = (Place) node;
if (place.getName().equals(predecessor.getName() + predecessor_suffix)) {
arc1.setTarget(place);
arc2.setTarget(place);
arc1.setPlace(place);
arc2.setPlace(place);
}
}
if (node instanceof Transition) {

Binary file not shown.

View file

@ -21,7 +21,8 @@
\usepackage{multicol}
\usepackage{svg}
\newminted{bash}{numbersep=6pt}
\newminted{text}{linenos, numbersep=6pt, frame=leftline}
\newminted{html}{linenos, numbersep=6pt, frame=leftline}
\usepackage{contour}
\usepackage{ulem}
@ -138,7 +139,7 @@ Les noms doivent aussi être unique pour les WorkDefinition et les Ressource pou
Nous avons aussi contraint lutilisateur à utiliser les WorkSequence sur des WorkDefinition appartenant au même Process.
Pour éviter des non-sens, les WorkSequence ne peuvent pas non plus avoir le même successeur et prédécesseur.
Nous avons aussi ajouté des contraintes sur les quantités des Resource et Request.
En effet, cela na pas de sens davoir des Resource ou des Request avec des quantités négatives.
En effet, cela na pas de sens dsavoir des Resource ou des Request avec des quantités négatives.
De plus, une Request ne peut pas être plus grande que le nombre initial de ressources.
(Le nombre initial de ressources est le maximum puisquil ny a pas de création.)
@ -156,12 +157,12 @@ Ces plugins seront déployés dans une Eclipse Application séparée de notre Ap
\subsection{plugin simplePDL}
% \begin{figure}[H]
% \centering
% \includegraphics[width=15cm]{simplePDL_emf.png}
% \caption{Éditeur arborecent d'un modèle simplePDL}
% \label{simplePDL_EMF}
% \end{figure}
\begin{figure}[H]
\centering
\includegraphics[width=15cm]{simplePDL_emf.png}
\caption{Éditeur arborecent d'un modèle simplePDL}
\label{simplePDL_EMF}
\end{figure}
\subsection{plugin petriNet}
@ -176,26 +177,127 @@ Ces plugins seront déployés dans une Eclipse Application séparée de notre Ap
\section{Transformation de modèle à texte (avec Acceleo)}
Il nous est possible de transcrire nos modèles vers d'autres formats de fichiers pour nous permettre de les utiliser dans logiciels tierces, et ainsi de les modifier/visualiser plus aisaiment.
\subsection{simplePDL $\rightarrow$ html}
Nous pouvons dans un premier temps de transformer nos modèles simplePDL selon le langage de balisage HTML.
\begin{htmlcode}
<head><title>developpement</title></head>
<body>
<h1>Process "developpement"</h1>
<h2>Work definitions</h2>
<ul>
<li>Conception</li>
<li>
RedactionDoc requires Conception to be finished,
Conception to be started.
</li>
<li>Programmation requires Conception to be finished.</li>
<li>
RedactionTests requires Conception to be started,
Programmation to be finished.
</li>
</ul>
</body>
\end{htmlcode}
\subsection{simplePDL $\rightarrow$ dot}
Nous pouvons de même transformer nos modèles simplePDL selon le langage de description de graphe DOT.
\begin{textcode}
digraph "developpement" {
"Conception" -> "RedactionDoc" [arrowhead=vee label=finishToFinish]
"Conception" -> "RedactionDoc" [arrowhead=vee label=startToStart]
"Conception" -> "Programmation" [arrowhead=vee label=finishToStart]
"Conception" -> "RedactionTests" [arrowhead=vee label=startToStart]
"Programmation" -> "RedactionTests" [arrowhead=vee label=finishToFinish]
}
\end{textcode}
\subsection{petriNet $\rightarrow$ tina}
Enfin, il nous est possible de transformer nos modèles petriNet selon le language de description de réseau de Petri TINA (format .net).
\begin{textcode}
net coolNetwork
pl debut (1)
pl fin (0)
tr debut2fin debut*1 -> fin*1
\end{textcode}
\section{Définition de syntaxes concrètes graphiques (avec Sirius)}
Tout comme lors de la création d'éditeurs arborescent spécifiques à nos métamodèles (cf EMF), il nous est possible de créer des éditeurs graphiques spécifiques à nos métamodèles.
\subsection{Éditeur graphique simplePDL}
\begin{figure}[H]
\centering
\includegraphics[width=15cm]{simplePDL_sirius.png}
\caption{Éditeur graphique d'un modèle simplePDL}
\label{simplePDL_EMF}
\end{figure}
\subsection{Éditeur graphique petriNet}
\begin{figure}[H]
\centering
\includegraphics[width=15cm]{petriNet_sirius.png}
\caption{Éditeur graphique d'un modèle petriNet}
\label{petriNet_EMF}
\end{figure}
\section{Définition de syntaxes concrètes textuelles (avec Xtext)}
Dans la continuité de la création d'outils pour manipuler et visualiser nos modèles, il nous est possible de définir une styntaxe textuelle associée à nos métamodèles.
\subsection{Éditeur textuel simplePDL}
Ainsi, pour simplePDL, la syntaxe textuelle suivante permet de manipuler nos modèles, sans passer par des outils complexes générés automatiquement par Eclipse.
\begin{textcode}
process Developpement {
res Crayon 10
res Papier 20
wd Conception
req Crayon 10
req Papier 5
wd RedactionTest
wd RedactionDoc
wd Programmation
ws f2s from Conception to Programmation
ws s2s from Conception to RedactionTest
ws s2s from Conception to RedactionDoc
ws f2f from Conception to RedactionDoc
ws f2f from Programmation to RedactionTest
}
\end{textcode}
\subsection{Éditeur textuel petriNet}
De même pour petriNet
% \begin{figure}[H]
% \centering
% \includegraphics[width=15cm]{petriNet_xtext.png}
% \caption{Éditeur textuel d'un modèle petriNet}
% \label{petriNet_xtext}
% \end{figure}
\section{Transformation de modèle à modèle (avec ATL)}
Finalement il nous est possible, tout comme lors de la transformation modèle à modèle via l'écriture d'un programme, de transformer un modèle selon un autre métamodèles via l'outil ATL.
\subsection{simplePDL $\rightarrow$ petriNet}
% \begin{figure}[H]
% \centering
% \includegraphics[width=15cm]{simplePDL_ATL_petriNet.png}
% \caption{Transformation d'un modèles simplePDL en modèle petriNet via ATL}
% \label{simplePDL_ATL_petriNet}
% \end{figure}
\end{document}

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
PROBLEMS_FILTERS_MIGRATE=true
TASKS_FILTERS_MIGRATE=true
eclipse.preferences.version=1
platformState=1634289380163
platformState=1634308428180
quickStart=false
tipsAndTricks=true

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<dirs>
<entry loc="/usr/lib/jvm/java-11-openjdk-amd64" stamp="1626701536013"/>
<entry loc="/usr/lib/jvm/java-11-openjdk-amd64" stamp="1626789585273"/>
</dirs>

View file

@ -2,4 +2,6 @@
<section name="Workbench">
<section name="JavaElementSearchActions">
</section>
<section name="quick_assist_proposal_size">
</section>
</section>

View file

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<session version="1.0">&#x0A;<refactoring comment="Delete resource &apos;fr.n7.simplepdl.exemples/src-gen/exemple.html&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.simplepdl.exemples/src-gen/exemple.html&apos;" element1="/fr.n7.simplepdl.exemples/src-gen/exemple.html" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634143995560"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.simplepdl.exemples/src-gen&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.simplepdl.exemples/src-gen&apos;" element1="/fr.n7.simplepdl.exemples/src-gen" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634143998042"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.design&apos;" deleteContents="true" description="Delete resource &apos;fr.n7.petrinet.design&apos;" element1="/fr.n7.petrinet.design" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634222921436"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_simplepdl2petrinet.xmi&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_simplepdl2petrinet.xmi&apos;" element1="/fr.n7.petrinet.exemples/gen/test_simplepdl2petrinet.xmi" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634288116836"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/models&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/models&apos;" element1="/fr.n7.petrinet.exemples/models" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634288651690"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.simplepdl2petrinet.samples&apos;" deleteContents="true" description="Delete resource &apos;fr.n7.simplepdl2petrinet.samples&apos;" element1="/fr.n7.simplepdl2petrinet.samples" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634288821022"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.samples2&apos;" deleteContents="true" description="Delete resource &apos;fr.n7.petrinet.samples2&apos;" element1="/fr.n7.petrinet.samples2" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634289563145"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.samples2&apos;" deleteContents="true" description="Delete resource &apos;fr.n7.petrinet.samples2&apos;" element1="/fr.n7.petrinet.samples2" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634289800117"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.samples2&apos;" deleteContents="true" description="Delete resource &apos;fr.n7.petrinet.samples2&apos;" element1="/fr.n7.petrinet.samples2" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634289851563"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.petrinet&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.petrinet&apos;" element1="/fr.n7.petrinet.exemples/gen/test_acl.petrinet" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634290266191"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.xmi&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.xmi&apos;" element1="/fr.n7.petrinet.exemples/gen/test_acl.xmi" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634290268163"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.petrinet&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.petrinet&apos;" element1="/fr.n7.petrinet.exemples/gen/test_acl.petrinet" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634290521455"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/src-gen/developpement.net&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/src-gen/developpement.net&apos;" element1="/fr.n7.petrinet.exemples/src-gen/developpement.net" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634290556186"/>
<session version="1.0">&#x0A;<refactoring comment="Delete resource &apos;fr.n7.simplepdl.exemples/src-gen/exemple.html&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.simplepdl.exemples/src-gen/exemple.html&apos;" element1="/fr.n7.simplepdl.exemples/src-gen/exemple.html" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634143995560"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.simplepdl.exemples/src-gen&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.simplepdl.exemples/src-gen&apos;" element1="/fr.n7.simplepdl.exemples/src-gen" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634143998042"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.design&apos;" deleteContents="true" description="Delete resource &apos;fr.n7.petrinet.design&apos;" element1="/fr.n7.petrinet.design" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634222921436"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_simplepdl2petrinet.xmi&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_simplepdl2petrinet.xmi&apos;" element1="/fr.n7.petrinet.exemples/gen/test_simplepdl2petrinet.xmi" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634288116836"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/models&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/models&apos;" element1="/fr.n7.petrinet.exemples/models" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634288651690"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.simplepdl2petrinet.samples&apos;" deleteContents="true" description="Delete resource &apos;fr.n7.simplepdl2petrinet.samples&apos;" element1="/fr.n7.simplepdl2petrinet.samples" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634288821022"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.samples2&apos;" deleteContents="true" description="Delete resource &apos;fr.n7.petrinet.samples2&apos;" element1="/fr.n7.petrinet.samples2" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634289563145"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.samples2&apos;" deleteContents="true" description="Delete resource &apos;fr.n7.petrinet.samples2&apos;" element1="/fr.n7.petrinet.samples2" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634289800117"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.samples2&apos;" deleteContents="true" description="Delete resource &apos;fr.n7.petrinet.samples2&apos;" element1="/fr.n7.petrinet.samples2" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634289851563"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.petrinet&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.petrinet&apos;" element1="/fr.n7.petrinet.exemples/gen/test_acl.petrinet" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634290266191"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.xmi&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.xmi&apos;" element1="/fr.n7.petrinet.exemples/gen/test_acl.xmi" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634290268163"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.petrinet&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/gen/test_acl.petrinet&apos;" element1="/fr.n7.petrinet.exemples/gen/test_acl.petrinet" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634290521455"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/src-gen/developpement.net&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/src-gen/developpement.net&apos;" element1="/fr.n7.petrinet.exemples/src-gen/developpement.net" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634290556186"/>&#x0A;<refactoring comment="Delete resource &apos;fr.n7.petrinet.exemples/My.petrinet&apos;" deleteContents="false" description="Delete resource &apos;fr.n7.petrinet.exemples/My.petrinet&apos;" element1="/fr.n7.petrinet.exemples/My.petrinet" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1634294191425"/>
</session>

View file

@ -11,3 +11,4 @@
1634290268163 Delete resource 'fr.n7.petrinet.exemples/gen/test_acl.xmi'
1634290521455 Delete resource 'fr.n7.petrinet.exemples/gen/test_acl.petrinet'
1634290556186 Delete resource 'fr.n7.petrinet.exemples/src-gen/developpement.net'
1634294191425 Delete resource 'fr.n7.petrinet.exemples/My.petrinet'

View file

@ -1,2 +1,2 @@
#Cached timestamps
#Fri Oct 15 12:07:39 CEST 2021
#Fri Oct 15 17:11:00 CEST 2021

View file

@ -1,5 +1,5 @@
#safe table
#Fri Oct 15 12:07:39 CEST 2021
#Fri Oct 15 17:11:00 CEST 2021
.orphans=0
.mainData=0
.contributors=0
@ -7,4 +7,4 @@
.extraData=0
.contributions=0
.table=0
.crc19b4ca2d.v1
.crc46323a22.v1

View file

@ -1,5 +1,5 @@
#safe table
#Fri Oct 15 12:07:40 CEST 2021
#Fri Oct 15 17:11:01 CEST 2021
.orphans=1
.mainData=1
.contributors=1
@ -7,4 +7,4 @@
.extraData=1
.contributions=1
.table=1
.crccb18dd4b.v1
.crc85fec0f4.v1

View file

@ -1,4 +1,4 @@
# List of external plug-in models previously loaded. Timestamp: 1634289388674
# List of external plug-in models previously loaded. Timestamp: 1634308437323
file:/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09/plugins/com.google.guava_27.1.0.v20190517-1946.jar
file:/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09/plugins/com.google.inject_3.0.0.v201605172100.jar
file:/mnt/n7fs/ens/tp_cregut/eclipse-gls-2020-09/plugins/com.ibm.icu_67.1.0.v20200706-1749.jar

View file

@ -1,8 +1,9 @@
#Thu Oct 14 16:51:19 CEST 2021
#Fri Oct 15 17:11:00 CEST 2021
rulergrid.rulerunit=1
print.margin.left=0.5
viewport.x=0
rulergrid.gridlinestyle=6
zoom=1.0
zoom=0.75
print.useMillim=true
print.usePortrait=true
print.page.height=11.6929134

View file

@ -1,3 +1,3 @@
#Fri Oct 15 11:16:23 CEST 2021
#Fri Oct 15 16:33:52 CEST 2021
org.eclipse.core.runtime=2
org.eclipse.platform=4.17.0.v20200902-1800

View file

@ -2,64 +2,64 @@
<petrinet:Network xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:petrinet="http://petrinet" name="Developpement">
<nodes xsi:type="petrinet:Place" name="Conception_idle" tokens="1"/>
<nodes xsi:type="petrinet:Transition" name="Conception_start">
<arcs weight="1" target="//@nodes.0"/>
<arcs weight="1" outgoing="true" target="//@nodes.3"/>
<arcs weight="1" outgoing="true" target="//@nodes.2"/>
<arcs weight="1" place="//@nodes.0"/>
<arcs weight="1" outgoing="true" place="//@nodes.3"/>
<arcs weight="1" outgoing="true" place="//@nodes.2"/>
</nodes>
<nodes xsi:type="petrinet:Place" name="Conception_started"/>
<nodes xsi:type="petrinet:Place" name="Conception_running"/>
<nodes xsi:type="petrinet:Transition" name="Conception_finish">
<arcs weight="1" target="//@nodes.3"/>
<arcs weight="1" outgoing="true" target="//@nodes.5"/>
<arcs weight="1" place="//@nodes.3"/>
<arcs weight="1" outgoing="true" place="//@nodes.5"/>
</nodes>
<nodes xsi:type="petrinet:Place" name="Conception_finished"/>
<nodes xsi:type="petrinet:Place" name="Programmation_idle" tokens="1"/>
<nodes xsi:type="petrinet:Transition" name="Programmation_start">
<arcs weight="1" target="//@nodes.6"/>
<arcs weight="1" outgoing="true" target="//@nodes.9"/>
<arcs weight="1" outgoing="true" target="//@nodes.8"/>
<arcs weight="1" target="//@nodes.5"/>
<arcs weight="1" outgoing="true" target="//@nodes.5"/>
<arcs weight="1" place="//@nodes.6"/>
<arcs weight="1" outgoing="true" place="//@nodes.9"/>
<arcs weight="1" outgoing="true" place="//@nodes.8"/>
<arcs weight="1" place="//@nodes.5"/>
<arcs weight="1" outgoing="true" place="//@nodes.5"/>
</nodes>
<nodes xsi:type="petrinet:Place" name="Programmation_started"/>
<nodes xsi:type="petrinet:Place" name="Programmation_running"/>
<nodes xsi:type="petrinet:Transition" name="Programmation_finish">
<arcs weight="1" target="//@nodes.9"/>
<arcs weight="1" outgoing="true" target="//@nodes.11"/>
<arcs weight="1" place="//@nodes.9"/>
<arcs weight="1" outgoing="true" place="//@nodes.11"/>
</nodes>
<nodes xsi:type="petrinet:Place" name="Programmation_finished"/>
<nodes xsi:type="petrinet:Place" name="RedactionTests_idle" tokens="1"/>
<nodes xsi:type="petrinet:Transition" name="RedactionTests_start">
<arcs weight="1" target="//@nodes.12"/>
<arcs weight="1" outgoing="true" target="//@nodes.15"/>
<arcs weight="1" outgoing="true" target="//@nodes.14"/>
<arcs weight="1" target="//@nodes.2"/>
<arcs weight="1" outgoing="true" target="//@nodes.2"/>
<arcs weight="1" place="//@nodes.12"/>
<arcs weight="1" outgoing="true" place="//@nodes.15"/>
<arcs weight="1" outgoing="true" place="//@nodes.14"/>
<arcs weight="1" place="//@nodes.2"/>
<arcs weight="1" outgoing="true" place="//@nodes.2"/>
</nodes>
<nodes xsi:type="petrinet:Place" name="RedactionTests_started"/>
<nodes xsi:type="petrinet:Place" name="RedactionTests_running"/>
<nodes xsi:type="petrinet:Transition" name="RedactionTests_finish">
<arcs weight="1" target="//@nodes.15"/>
<arcs weight="1" outgoing="true" target="//@nodes.17"/>
<arcs weight="1" target="//@nodes.11"/>
<arcs weight="1" outgoing="true" target="//@nodes.11"/>
<arcs weight="1" place="//@nodes.15"/>
<arcs weight="1" outgoing="true" place="//@nodes.17"/>
<arcs weight="1" place="//@nodes.11"/>
<arcs weight="1" outgoing="true" place="//@nodes.11"/>
</nodes>
<nodes xsi:type="petrinet:Place" name="RedactionTests_finished"/>
<nodes xsi:type="petrinet:Place" name="RedactionDocs_idle" tokens="1"/>
<nodes xsi:type="petrinet:Transition" name="RedactionDocs_start">
<arcs weight="1" target="//@nodes.18"/>
<arcs weight="1" outgoing="true" target="//@nodes.21"/>
<arcs weight="1" outgoing="true" target="//@nodes.20"/>
<arcs weight="1" target="//@nodes.2"/>
<arcs weight="1" outgoing="true" target="//@nodes.2"/>
<arcs weight="1" place="//@nodes.18"/>
<arcs weight="1" outgoing="true" place="//@nodes.21"/>
<arcs weight="1" outgoing="true" place="//@nodes.20"/>
<arcs weight="1" place="//@nodes.2"/>
<arcs weight="1" outgoing="true" place="//@nodes.2"/>
</nodes>
<nodes xsi:type="petrinet:Place" name="RedactionDocs_started"/>
<nodes xsi:type="petrinet:Place" name="RedactionDocs_running"/>
<nodes xsi:type="petrinet:Transition" name="RedactionDocs_finish">
<arcs weight="1" target="//@nodes.21"/>
<arcs weight="1" outgoing="true" target="//@nodes.23"/>
<arcs weight="1" target="//@nodes.5"/>
<arcs weight="1" outgoing="true" target="//@nodes.5"/>
<arcs weight="1" place="//@nodes.21"/>
<arcs weight="1" outgoing="true" place="//@nodes.23"/>
<arcs weight="1" place="//@nodes.5"/>
<arcs weight="1" outgoing="true" place="//@nodes.5"/>
</nodes>
<nodes xsi:type="petrinet:Place" name="RedactionDocs_finished"/>
</petrinet:Network>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<petrinet:Network xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:petrinet="http://petrinet" name="exemple">
<nodes xsi:type="petrinet:Place" name="debut" tokens="1"/>
<nodes xsi:type="petrinet:Place" name="fin"/>
<nodes xsi:type="petrinet:Transition" name="debut2fin">
<arcs weight="1" target="//@nodes.0"/>
<arcs weight="1" outgoing="true" target="//@nodes.1"/>
</nodes>
</petrinet:Network>

View file

@ -14,9 +14,9 @@
<nodes xsi:type="petrinet:Transition"
name="debut2fin">
<arcs weight="1"
target="//@nodes.0"/>
place="//@nodes.0"/>
<arcs weight="1"
outgoing="true"
target="//@nodes.1"/>
place="//@nodes.1"/>
</nodes>
</petrinet:Network>

View file

@ -26,12 +26,38 @@
</style>
</nodeMappings>
<edgeMappings name="WSEdge" sourceMapping="//@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='WDNode']" targetMapping="//@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='WDNode']" targetFinderExpression="feature:successor" sourceFinderExpression="feature:predecessor" domainClass="simplepdl::WorkSequence" useDomainElement="true">
<conditionnalStyles predicateExpression="[self.linkType=simplepdl::WorkSequenceType::startToStart/]">
<style sizeComputationExpression="2">
<strokeColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_yellow']"/>
<centerLabelStyleDescription labelSize="12" showIcon="false" labelExpression="feature:linkType">
<labelColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_yellow']"/>
</centerLabelStyleDescription>
</style>
</conditionnalStyles>
<conditionnalStyles predicateExpression="[self.linkType=simplepdl::WorkSequenceType::startToFinish/]">
<style sizeComputationExpression="2">
<strokeColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_red']"/>
<centerLabelStyleDescription labelSize="12" showIcon="false" labelExpression="feature:linkType">
<labelColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_red']"/>
</centerLabelStyleDescription>
</style>
</conditionnalStyles>
<conditionnalStyles predicateExpression="[self.linkType=simplepdl::WorkSequenceType::finishToStart/]">
<style sizeComputationExpression="2">
<strokeColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
<centerLabelStyleDescription labelSize="12" showIcon="false" labelExpression="feature:linkType">
<labelColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
</centerLabelStyleDescription>
</style>
</conditionnalStyles>
<conditionnalStyles predicateExpression="[self.linkType=simplepdl::WorkSequenceType::finishToFinish/]">
<style sizeComputationExpression="2">
<strokeColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/>
<centerLabelStyleDescription labelSize="12" showIcon="false" labelExpression="feature:linkType">
<labelColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/>
</centerLabelStyleDescription>
</style>
</conditionnalStyles>
</edgeMappings>
<edgeMappings name="GEdge" sourceMapping="//@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='GNode']" targetMapping="//@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='WDNode'] //@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='ResNode'] //@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@edgeMappings[name='WSEdge'] //@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@edgeMappings[name='ReqEdge'] //@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='GNode']" targetFinderExpression="feature:elements">
<style lineStyle="dash" sizeComputationExpression="2">

View file

@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<simplepdl:Process xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:simplepdl="http://simplepdl" name="exemple">
<processElements xsi:type="simplepdl:WorkDefinition" linksToSuccessors="//@processElements.2" name="a1"/>
<processElements xsi:type="simplepdl:WorkDefinition" linksToPredecessors="//@processElements.2" name="a2"/>
<processElements xsi:type="simplepdl:WorkDefinition" linksToSuccessors="//@processElements.3" name="a1"/>
<processElements xsi:type="simplepdl:WorkDefinition" linksToPredecessors="//@processElements.3" linksToSuccessors="//@processElements.4" name="a2"/>
<processElements xsi:type="simplepdl:WorkDefinition" linksToPredecessors="//@processElements.4" name="a3"/>
<processElements xsi:type="simplepdl:WorkSequence" linkType="startToFinish" predecessor="//@processElements.0" successor="//@processElements.1"/>
<processElements xsi:type="simplepdl:WorkSequence" linkType="finishToStart" predecessor="//@processElements.1" successor="//@processElements.2"/>
</simplepdl:Process>